Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 560e5e82b4b7ffb78343d97704546b270394bbd4..92b423a9057c534aac7fc523f066f8f3d3e2bc16 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -193,7 +193,7 @@ Shell::Shell(ShellDelegate* delegate) |
panel_layout_manager_(NULL), |
status_area_widget_(NULL), |
browser_context_(NULL) { |
- gfx::Screen::SetInstance(screen_); |
+ gfx::Screen::SetInstance(gfx::SCREEN_TYPE_ALTERNATE, screen_); |
ui_controls::InstallUIControlsAura(internal::CreateUIControls()); |
#if defined(OS_CHROMEOS) |
output_configurator_->AddObserver(output_configurator_animation_.get()); |
@@ -335,6 +335,11 @@ aura::RootWindow* Shell::GetActiveRootWindow() { |
} |
// static |
+gfx::NativeView Shell::GetRootNativeView() { |
+ return static_cast<gfx::NativeView>(GetActiveRootWindow()); |
+} |
+ |
+// static |
Shell::RootWindowList Shell::GetAllRootWindows() { |
return Shell::GetInstance()->display_controller()-> |
GetAllRootWindows(); |