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

Side by Side Diff: chrome/browser/ui/views/website_settings/website_settings_popup_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual void ButtonPressed(views::Button* button, 74 virtual void ButtonPressed(views::Button* button,
75 const ui::Event& event) OVERRIDE; 75 const ui::Event& event) OVERRIDE;
76 76
77 // views::LinkListener implementation. 77 // views::LinkListener implementation.
78 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 78 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
79 79
80 // views::TabbedPaneListener implementations. 80 // views::TabbedPaneListener implementations.
81 virtual void TabSelectedAt(int index) OVERRIDE; 81 virtual void TabSelectedAt(int index) OVERRIDE;
82 82
83 // views::View implementation. 83 // views::View implementation.
84 virtual gfx::Size GetPreferredSize() OVERRIDE; 84 virtual gfx::Size GetPreferredSize() const OVERRIDE;
85 85
86 // WebsiteSettingsUI implementations. 86 // WebsiteSettingsUI implementations.
87 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE; 87 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE;
88 virtual void SetPermissionInfo( 88 virtual void SetPermissionInfo(
89 const PermissionInfoList& permission_info_list) OVERRIDE; 89 const PermissionInfoList& permission_info_list) OVERRIDE;
90 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; 90 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE;
91 virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE; 91 virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE;
92 virtual void SetSelectedTab(TabId tab_id) OVERRIDE; 92 virtual void SetSelectedTab(TabId tab_id) OVERRIDE;
93 93
94 // Creates the contents of the "Permissions" tab. The ownership of the 94 // Creates the contents of the "Permissions" tab. The ownership of the
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 views::View* connection_info_content_; 175 views::View* connection_info_content_;
176 views::View* page_info_content_; 176 views::View* page_info_content_;
177 177
178 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_; 178 base::WeakPtrFactory<WebsiteSettingsPopupView> weak_factory_;
179 179
180 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView); 180 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsPopupView);
181 }; 181 };
182 182
183 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_ 183 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698