summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/clear_browsing_data.cc4
-rw-r--r--chrome/browser/views/clear_browsing_data.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/clear_browsing_data.cc b/chrome/browser/views/clear_browsing_data.cc
index e5716e5..619592f 100644
--- a/chrome/browser/views/clear_browsing_data.cc
+++ b/chrome/browser/views/clear_browsing_data.cc
@@ -256,6 +256,10 @@ void ClearBrowsingDataView::ViewHierarchyChanged(bool is_add,
////////////////////////////////////////////////////////////////////////////////
// ClearBrowsingDataView, views::DialogDelegate implementation:
+int ClearBrowsingDataView::GetDefaultDialogButton() const {
+ return MessageBoxFlags::DIALOGBUTTON_NONE;
+}
+
std::wstring ClearBrowsingDataView::GetDialogButtonLabel(
MessageBoxFlags::DialogButton button) const {
if (button == MessageBoxFlags::DIALOGBUTTON_OK) {
diff --git a/chrome/browser/views/clear_browsing_data.h b/chrome/browser/views/clear_browsing_data.h
index c045038..61375d2 100644
--- a/chrome/browser/views/clear_browsing_data.h
+++ b/chrome/browser/views/clear_browsing_data.h
@@ -51,6 +51,7 @@ class ClearBrowsingDataView : public views::View,
views::View* child);
// Overridden from views::DialogDelegate:
+ virtual int GetDefaultDialogButton() const;
virtual std::wstring GetDialogButtonLabel(
MessageBoxFlags::DialogButton button) const;
virtual bool IsDialogButtonEnabled(