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

Unified Diff: ash/touch/touch_observer_hud.cc

Issue 10540091: Rename gfx::Monitor to gfx::Display (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
Index: ash/touch/touch_observer_hud.cc
diff --git a/ash/touch/touch_observer_hud.cc b/ash/touch/touch_observer_hud.cc
index 2b976d2c8ed20ed641af160158dc2d2620106957..c9372aa6fe4bfb66604cad7e6939021d9e9b2bfd 100644
--- a/ash/touch/touch_observer_hud.cc
+++ b/ash/touch/touch_observer_hud.cc
@@ -11,7 +11,7 @@
#include "third_party/skia/include/core/SkXfermode.h"
#include "ui/aura/event.h"
#include "ui/gfx/canvas.h"
-#include "ui/gfx/monitor.h"
+#include "ui/gfx/display.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/screen.h"
#include "ui/gfx/size.h"
@@ -42,8 +42,8 @@ class TouchHudCanvas : public views::View {
: owner_(owner),
path_index_(0),
color_index_(0) {
- gfx::Monitor monitor = gfx::Screen::GetPrimaryMonitor();
- gfx::Rect bounds = monitor.bounds();
+ gfx::Display display = gfx::Screen::GetPrimaryMonitor();
+ gfx::Rect bounds = display.bounds();
size_.set_width(bounds.width() / kScale);
size_.set_height(bounds.height() / kScale);
}

Powered by Google App Engine
This is Rietveld 408576698