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

Unified Diff: ash/wm/system_gesture_event_filter_unittest.cc

Issue 10540123: Rename gfx::Screen::GetMonitorXXXX to gfx::Screen::GetDisplayXXX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/system_gesture_event_filter.cc ('k') | ash/wm/toplevel_window_event_filter_unittest.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 5070b144b20a35bb22a2a620fde07f23409f212d..2ca46bf5021b8701b6faf8fa4d5f25efa4830847 100644
--- a/ash/wm/system_gesture_event_filter_unittest.cc
+++ b/ash/wm/system_gesture_event_filter_unittest.cc
@@ -14,10 +14,10 @@
#include "ash/volume_control_delegate.h"
#include "ash/wm/window_util.h"
#include "base/time.h"
-#include "ui/gfx/screen.h"
#include "ui/aura/event.h"
#include "ui/aura/root_window.h"
#include "ui/aura/test/test_windows.h"
+#include "ui/gfx/screen.h"
namespace ash {
namespace test {
@@ -134,7 +134,7 @@ TEST_F(SystemGestureEventFilterTest, TapOutsideRootWindow) {
TEST_F(SystemGestureEventFilterTest, DeviceControl) {
aura::RootWindow* root_window = Shell::GetPrimaryRootWindow();
- gfx::Rect screen = gfx::Screen::GetPrimaryMonitor().bounds();
+ gfx::Rect screen = gfx::Screen::GetPrimaryDisplay().bounds();
int ypos_half = screen.height() / 2;
ash::AcceleratorController* accelerator =
@@ -244,7 +244,7 @@ TEST_F(SystemGestureEventFilterTest, DeviceControl) {
TEST_F(SystemGestureEventFilterTest, ApplicationControl) {
aura::RootWindow* root_window = Shell::GetPrimaryRootWindow();
- gfx::Rect screen = gfx::Screen::GetPrimaryMonitor().bounds();
+ gfx::Rect screen = gfx::Screen::GetPrimaryDisplay().bounds();
int ypos_half = screen.height() / 2;
aura::test::TestWindowDelegate delegate;
« no previous file with comments | « ash/wm/system_gesture_event_filter.cc ('k') | ash/wm/toplevel_window_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698