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

Unified Diff: chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 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
Index: chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h
diff --git a/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h b/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h
index 313c2c60907463c66bbcfc2971900d3559104ffd..3e8fd1e896bdf1c86e21f78555d68a8e4a4564a4 100644
--- a/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h
+++ b/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h
@@ -60,7 +60,7 @@ class AvatarMenuBubbleView : public views::BubbleDelegateView,
virtual ~AvatarMenuBubbleView();
// views::View implementation.
- virtual gfx::Size GetPreferredSize() OVERRIDE;
+ virtual gfx::Size GetPreferredSize() const OVERRIDE;
virtual void Layout() OVERRIDE;
virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
@@ -72,7 +72,7 @@ class AvatarMenuBubbleView : public views::BubbleDelegateView,
virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
// BubbleDelegate implementation.
- virtual gfx::Rect GetAnchorRect() OVERRIDE;
+ virtual gfx::Rect GetAnchorRect() const OVERRIDE;
virtual void Init() OVERRIDE;
virtual void WindowClosing() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698