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

Side by Side Diff: chrome/browser/views/clear_browsing_data.h

Issue 201080: [Windows] Clear Browsing Data dialog should not have any button as default action. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/views/clear_browsing_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "app/combobox_model.h" 8 #include "app/combobox_model.h"
9 #include "chrome/browser/browsing_data_remover.h" 9 #include "chrome/browser/browsing_data_remover.h"
10 #include "views/controls/button/button.h" 10 #include "views/controls/button/button.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void Init(); 44 void Init();
45 45
46 // Overridden from views::View: 46 // Overridden from views::View:
47 virtual gfx::Size GetPreferredSize(); 47 virtual gfx::Size GetPreferredSize();
48 virtual void Layout(); 48 virtual void Layout();
49 void ViewHierarchyChanged(bool is_add, 49 void ViewHierarchyChanged(bool is_add,
50 views::View* parent, 50 views::View* parent,
51 views::View* child); 51 views::View* child);
52 52
53 // Overridden from views::DialogDelegate: 53 // Overridden from views::DialogDelegate:
54 virtual int GetDefaultDialogButton() const;
54 virtual std::wstring GetDialogButtonLabel( 55 virtual std::wstring GetDialogButtonLabel(
55 MessageBoxFlags::DialogButton button) const; 56 MessageBoxFlags::DialogButton button) const;
56 virtual bool IsDialogButtonEnabled( 57 virtual bool IsDialogButtonEnabled(
57 MessageBoxFlags::DialogButton button) const; 58 MessageBoxFlags::DialogButton button) const;
58 virtual bool CanResize() const; 59 virtual bool CanResize() const;
59 virtual bool CanMaximize() const; 60 virtual bool CanMaximize() const;
60 virtual bool IsAlwaysOnTop() const; 61 virtual bool IsAlwaysOnTop() const;
61 virtual bool HasAlwaysOnTopMenu() const; 62 virtual bool HasAlwaysOnTopMenu() const;
62 virtual bool IsModal() const; 63 virtual bool IsModal() const;
63 virtual std::wstring GetWindowTitle() const; 64 virtual std::wstring GetWindowTitle() const;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 Profile* profile_; 111 Profile* profile_;
111 112
112 // If non-null it means removal is in progress. BrowsingDataRemover takes care 113 // If non-null it means removal is in progress. BrowsingDataRemover takes care
113 // of deleting itself when done. 114 // of deleting itself when done.
114 BrowsingDataRemover* remover_; 115 BrowsingDataRemover* remover_;
115 116
116 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView); 117 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataView);
117 }; 118 };
118 119
119 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_ 120 #endif // CHROME_BROWSER_VIEWS_CLEAR_BROWSING_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/views/clear_browsing_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698