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

Side by Side Diff: chrome/browser/views/clear_browsing_data.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_CLEAR_BROWSING_DATA_H__ 5 #ifndef CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H__
6 #define CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H__ 6 #define CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H__
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "chrome/browser/browsing_data_remover.h" 9 #include "chrome/browser/browsing_data_remover.h"
10 #include "chrome/views/combo_box.h" 10 #include "chrome/views/combo_box.h"
(...skipping 25 matching lines...) Expand all
36 public ChromeViews::NativeButton::Listener, 36 public ChromeViews::NativeButton::Listener,
37 public BrowsingDataRemover::Observer { 37 public BrowsingDataRemover::Observer {
38 public: 38 public:
39 explicit ClearBrowsingDataView(Profile* profile); 39 explicit ClearBrowsingDataView(Profile* profile);
40 virtual ~ClearBrowsingDataView(void); 40 virtual ~ClearBrowsingDataView(void);
41 41
42 // Initialize the controls on the dialog. 42 // Initialize the controls on the dialog.
43 void Init(); 43 void Init();
44 44
45 // Overridden from ChromeViews::View: 45 // Overridden from ChromeViews::View:
46 virtual void GetPreferredSize(CSize *out); 46 virtual gfx::Size GetPreferredSize();
47 virtual void Layout(); 47 virtual void Layout();
48 void ViewHierarchyChanged(bool is_add, 48 void ViewHierarchyChanged(bool is_add,
49 ChromeViews::View* parent, 49 ChromeViews::View* parent,
50 ChromeViews::View* child); 50 ChromeViews::View* child);
51 51
52 // Overridden from ChromeViews::DialogDelegate: 52 // Overridden from ChromeViews::DialogDelegate:
53 virtual std::wstring GetDialogButtonLabel(DialogButton button) const; 53 virtual std::wstring GetDialogButtonLabel(DialogButton button) const;
54 virtual bool IsDialogButtonEnabled(DialogButton button) const; 54 virtual bool IsDialogButtonEnabled(DialogButton button) const;
55 virtual bool CanResize() const; 55 virtual bool CanResize() const;
56 virtual bool CanMaximize() const; 56 virtual bool CanMaximize() const;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 Profile* profile_; 102 Profile* profile_;
103 103
104 // If non-null it means removal is in progress. BrowsingDataRemover takes care 104 // If non-null it means removal is in progress. BrowsingDataRemover takes care
105 // of deleting itself when done. 105 // of deleting itself when done.
106 BrowsingDataRemover* remover_; 106 BrowsingDataRemover* remover_;
107 107
108 DISALLOW_EVIL_CONSTRUCTORS(ClearBrowsingDataView); 108 DISALLOW_EVIL_CONSTRUCTORS(ClearBrowsingDataView);
109 }; 109 };
110 110
111 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H__ 111 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698