Update the screen info if the display related property has changed when resized.
commit5acbae9c9f7c0003f3e521a0bf93351f9e606880
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 23 Jul 2013 23:01:33 +0000 (23 23:01 +0000)
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 23 Jul 2013 23:01:33 +0000 (23 23:01 +0000)
tree10ce5e540761cc1422ebe5dfa0b7db664376aa8f
parent82cd1f308a156a1751652cd2d12f12fcf4c5bcde
Update the screen info if the display related property has changed when resized.
 This has to be done in RWHVA::SetBounds because this is called before other observers (aura::WindowObserver, gfx::DisplayObserver) get called.

 Also updated TestScreen to update the display when UI scale is set.

Removed screen_info_out_of_date_ as this doesn't seem to be used properly.

BUG=253917
TEST=covered by test. see bug for repro step.

Review URL: https://chromiumcodereview.appspot.com/19293002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213252 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/renderer_host/render_widget_host_impl.cc
content/browser/renderer_host/render_widget_host_impl.h
content/browser/renderer_host/render_widget_host_unittest.cc
content/browser/renderer_host/render_widget_host_view_aura.cc
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
content/browser/renderer_host/render_widget_host_view_base.cc
content/browser/renderer_host/render_widget_host_view_base.h
ui/aura/test/test_screen.cc