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

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: 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/root_window.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index f3e8528cf76cc09aa8be7dddbe085cee4038d522..796142cbcf7f493c63b6376b956bba6e373c2b85 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698