diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 22:00:33 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 22:00:33 +0000 |
commit | ef0ade76289773e53ab334df01b02a1bb1fdaeb2 (patch) | |
tree | df6fafecbab2db2a5f61ead2be88f09534b2236d /ash/display | |
parent | af212e31f166001f83c6e4d269bb3c87f1aaaa78 (diff) | |
download | chromium_src-ef0ade76289773e53ab334df01b02a1bb1fdaeb2.zip chromium_src-ef0ade76289773e53ab334df01b02a1bb1fdaeb2.tar.gz chromium_src-ef0ade76289773e53ab334df01b02a1bb1fdaeb2.tar.bz2 |
Revert 155246 - Get Views examples to paint in win-aura (outside ash).
. Requires --win-aura command line flag to views_examples_with_content_exe.exe
. Allow RootWindows to take a custom RootWindowHost through their ctor.
. Duct tapes together a bunch of the objects I set up in an earlier CL, providing minimal pathways for painting and frame resizing.
http://crbug.com/146077
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10913090
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10916156
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/display')
-rw-r--r-- | ash/display/multi_display_manager.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ash/display/multi_display_manager.cc b/ash/display/multi_display_manager.cc index af87585..fa39ace 100644 --- a/ash/display/multi_display_manager.cc +++ b/ash/display/multi_display_manager.cc @@ -129,8 +129,7 @@ void MultiDisplayManager::OnNativeDisplaysChanged( RootWindow* MultiDisplayManager::CreateRootWindowForDisplay( const gfx::Display& display) { - RootWindow* root_window = - new RootWindow(RootWindow::CreateParams(display.bounds_in_pixel())); + RootWindow* root_window = new RootWindow(display.bounds_in_pixel()); // No need to remove RootWindowObserver because // the DisplayManager object outlives RootWindow objects. root_window->AddRootWindowObserver(this); |