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

Unified Diff: chrome/browser/ui/views/translate/translate_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/translate/translate_bubble_view.h
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.h b/chrome/browser/ui/views/translate/translate_bubble_view.h
index 91b38a379b15616a3ae86c1809a9db5400eb30e9..a3457cc457e5f475c961f16d7fd09f1aeef188bd 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view.h
+++ b/chrome/browser/ui/views/translate/translate_bubble_view.h
@@ -61,7 +61,7 @@ class TranslateBubbleView : public views::BubbleDelegateView,
// views::View methods.
virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
- virtual gfx::Size GetPreferredSize() OVERRIDE;
+ virtual gfx::Size GetPreferredSize() const OVERRIDE;
// views::CombboxListener methods.
virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
@@ -120,7 +120,7 @@ class TranslateBubbleView : public views::BubbleDelegateView,
content::WebContents* web_contents);
// Returns the current child view.
- views::View* GetCurrentView();
+ views::View* GetCurrentView() const;
// Handles the event when the user presses a button.
void HandleButtonPressed(ButtonID sender_id);
« no previous file with comments | « chrome/browser/ui/views/toolbar/wrench_menu.cc ('k') | chrome/browser/ui/views/translate/translate_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698