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

Unified Diff: ui/aura/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/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index c8e46a640f505d7a1d04fc1ddd3ba2464fe2d8de..e3bb2714d1f27a29fdbe457086a5fb8d750817a7 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -112,8 +112,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
WindowDelegate* delegate() { return delegate_; }
- // TODO(oshima): Rename this to GetBounds().
- gfx::Rect bounds() const;
+ const gfx::Rect& bounds() const;
Window* parent() { return parent_; }
const Window* parent() const { return parent_; }
@@ -144,9 +143,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// support.
gfx::Rect GetBoundsInRootWindow() const;
- // Returns the bounds in pixel coordinates.
- const gfx::Rect& GetBoundsInPixel() const;
-
virtual void SetTransform(const ui::Transform& transform);
// Assigns a LayoutManager to size and place child windows.
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/window.cc » ('j') | ui/gfx/compositor/compositor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698