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

Unified Diff: ui/views/widget/widget.h

Issue 15922004: Rename Widget::CalculateOffsetToAncestorWithLayer() to Widget::GetLayer() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/views/widget/root_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 51a5de14a973d64e8bb8dfb294937d2c9e2e9275..d6bd9cf3606f74ee0e3dacc525fc8bb38e3fb3f0 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -570,12 +570,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
const ui::Compositor* GetCompositor() const;
ui::Compositor* GetCompositor();
- // Invokes method of same name on the NativeWidget.
- gfx::Vector2d CalculateOffsetToAncestorWithLayer(
- ui::Layer** layer_parent);
-
- // Invokes method of same name on the NativeWidget.
- void ReorderLayers();
+ // Returns the widget's layer, if any.
+ ui::Layer* GetLayer();
// Schedules an update to the root layers. The actual processing occurs when
// GetRootLayers() is invoked.
« no previous file with comments | « ui/views/widget/root_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698