Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2467)

Unified Diff: ash/wm/system_gesture_event_filter_unittest.cc

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix new addition Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/shelf_layout_manager_unittest.cc ('k') | ash/wm/system_modal_container_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_gesture_event_filter_unittest.cc
diff --git a/ash/wm/system_gesture_event_filter_unittest.cc b/ash/wm/system_gesture_event_filter_unittest.cc
index 86893c997aa9ef0a044c572f4708391591a9ea40..7c795b20eaa28150db38c200e8896d28eaf70400 100644
--- a/ash/wm/system_gesture_event_filter_unittest.cc
+++ b/ash/wm/system_gesture_event_filter_unittest.cc
@@ -272,7 +272,7 @@ void MoveToDeviceControlBezelStartPosition(
TEST_F(SystemGestureEventFilterTest, DeviceControl) {
aura::RootWindow* root_window = Shell::GetPrimaryRootWindow();
- gfx::Rect screen = gfx::Screen::GetPrimaryDisplay().bounds();
+ gfx::Rect screen = Shell::GetScreen()->GetPrimaryDisplay().bounds();
int ypos_half = screen.height() / 2;
ash::AcceleratorController* accelerator =
@@ -376,7 +376,7 @@ TEST_F(SystemGestureEventFilterTest, DeviceControl) {
TEST_F(SystemGestureEventFilterTest, ApplicationControl) {
aura::RootWindow* root_window = Shell::GetPrimaryRootWindow();
- gfx::Rect screen = gfx::Screen::GetPrimaryDisplay().bounds();
+ gfx::Rect screen = Shell::GetScreen()->GetPrimaryDisplay().bounds();
int ypos_half = screen.height() / 2;
aura::test::TestWindowDelegate delegate;
« no previous file with comments | « ash/wm/shelf_layout_manager_unittest.cc ('k') | ash/wm/system_modal_container_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698