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

Unified Diff: ui/aura/root_window.h

Issue 10221028: Move DIP translation from ui/aura to ui/compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable tests that doesn't run on bots Created 8 years, 7 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 | « ui/aura/dip_util.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 9298bb45f40a3c81661519860957c3f44b78433f..708fa6cefbfee9b5889dec3e30397806b0f97e5f 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -12,7 +12,6 @@
#include "base/memory/weak_ptr.h"
#include "base/message_loop.h"
#include "ui/aura/aura_export.h"
-#include "ui/aura/dip_util.h"
#include "ui/aura/focus_manager.h"
#include "ui/aura/window.h"
#include "ui/base/cursor/cursor.h"
@@ -105,11 +104,11 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
void ShowRootWindow();
// Sets the size of the root window.
- void SetHostSize(const gfx::Size& size);
+ void SetHostSize(const gfx::Size& size_in_pixel);
gfx::Size GetHostSize() const;
// Sets the bounds of the host window.
- void SetHostBounds(const gfx::Rect& size);
+ void SetHostBounds(const gfx::Rect& size_in_pixel);
// Returns where the RootWindow is on screen.
gfx::Point GetHostOrigin() const;
@@ -155,7 +154,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
bool DispatchGestureEvent(GestureEvent* event);
// Called when the host changes size.
- void OnHostResized(const gfx::Size& size);
+ void OnHostResized(const gfx::Size& size_in_pixel);
// Invoked when |window| is being destroyed.
void OnWindowDestroying(Window* window);
« no previous file with comments | « ui/aura/dip_util.cc ('k') | ui/aura/root_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698