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

Unified Diff: chrome/browser/ui/views/about_ipc_dialog.cc

Issue 10178027: views: Return the appropriate value for GetDialogButtons() in AboutIPCDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/about_ipc_dialog.cc
diff --git a/chrome/browser/ui/views/about_ipc_dialog.cc b/chrome/browser/ui/views/about_ipc_dialog.cc
index 7e6976830a6cbb7878cff567fe3b99d120db5d32..cbab37f7f613b3de5828f8dfa81884dc1ec74b93 100644
--- a/chrome/browser/ui/views/about_ipc_dialog.cc
+++ b/chrome/browser/ui/views/about_ipc_dialog.cc
@@ -262,8 +262,7 @@ views::View* AboutIPCDialog::GetContentsView() {
}
int AboutIPCDialog::GetDialogButtons() const {
- // Don't want OK or Cancel.
- return 0;
+ return ui::DIALOG_BUTTON_NONE;
}
string16 AboutIPCDialog::GetWindowTitle() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698