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

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: remove dip from gyp Created 8 years, 8 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: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 94ec02f6c46fc6375f52e8770ba2f998f5194646..e4fdc1c0f305f7e5265187b3a0fc5da0e97d82fb 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') | ui/gfx/compositor/compositor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698