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

Side by Side Diff: chrome/browser/views/options/cookies_view.h

Issue 7344: Convert GetPreferredSize from:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_OPTIONS_COOKIES_VIEW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H__
6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H__ 6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H__
7 7
8 #include "chrome/views/dialog_delegate.h" 8 #include "chrome/views/dialog_delegate.h"
9 #include "chrome/views/native_button.h" 9 #include "chrome/views/native_button.h"
10 #include "chrome/views/table_view.h" 10 #include "chrome/views/table_view.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual ChromeViews::View* GetInitiallyFocusedView() const { 53 virtual ChromeViews::View* GetInitiallyFocusedView() const {
54 return search_field_; 54 return search_field_;
55 } 55 }
56 virtual bool CanResize() const { return true; } 56 virtual bool CanResize() const { return true; }
57 virtual std::wstring GetWindowTitle() const; 57 virtual std::wstring GetWindowTitle() const;
58 virtual void WindowClosing(); 58 virtual void WindowClosing();
59 virtual ChromeViews::View* GetContentsView(); 59 virtual ChromeViews::View* GetContentsView();
60 60
61 // ChromeViews::View overrides: 61 // ChromeViews::View overrides:
62 virtual void Layout(); 62 virtual void Layout();
63 virtual void GetPreferredSize(CSize* out); 63 virtual gfx::Size GetPreferredSize();
64 64
65 protected: 65 protected:
66 // ChromeViews::View overrides: 66 // ChromeViews::View overrides:
67 virtual void ViewHierarchyChanged(bool is_add, 67 virtual void ViewHierarchyChanged(bool is_add,
68 ChromeViews::View* parent, 68 ChromeViews::View* parent,
69 ChromeViews::View* child); 69 ChromeViews::View* child);
70 70
71 private: 71 private:
72 // Use the static factory method to show. 72 // Use the static factory method to show.
73 explicit CookiesView(Profile* profile); 73 explicit CookiesView(Profile* profile);
(...skipping 30 matching lines...) Expand all
104 104
105 // Our containing window. If this is non-NULL there is a visible Cookies 105 // Our containing window. If this is non-NULL there is a visible Cookies
106 // window somewhere. 106 // window somewhere.
107 static ChromeViews::Window* instance_; 107 static ChromeViews::Window* instance_;
108 108
109 DISALLOW_EVIL_CONSTRUCTORS(CookiesView); 109 DISALLOW_EVIL_CONSTRUCTORS(CookiesView);
110 }; 110 };
111 111
112 #endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H__ 112 #endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H__
113 113
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698