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

Unified Diff: chrome/browser/ui/views/collected_cookies_views.cc

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/collected_cookies_views.cc
diff --git a/chrome/browser/ui/views/collected_cookies_views.cc b/chrome/browser/ui/views/collected_cookies_views.cc
index 465fa474600bf353411b241c3e2caba82d9a8963..b03674ee2ac0a29b8f0540b457289236786660ab 100644
--- a/chrome/browser/ui/views/collected_cookies_views.cc
+++ b/chrome/browser/ui/views/collected_cookies_views.cc
@@ -155,7 +155,7 @@ class InfobarView : public views::View {
}
// views::View overrides.
- virtual gfx::Size GetPreferredSize() OVERRIDE {
+ virtual gfx::Size GetPreferredSize() const OVERRIDE {
if (!visible())
return gfx::Size();
@@ -292,7 +292,7 @@ void CollectedCookiesViews::OnTreeViewSelectionChanged(
///////////////////////////////////////////////////////////////////////////////
// CollectedCookiesViews, views::View overrides:
-gfx::Size CollectedCookiesViews::GetMinimumSize() {
+gfx::Size CollectedCookiesViews::GetMinimumSize() const {
// Allow UpdateWebContentsModalDialogPosition to clamp the dialog width.
return gfx::Size(0, View::GetMinimumSize().height());
}
« no previous file with comments | « chrome/browser/ui/views/collected_cookies_views.h ('k') | chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698