Commit 9314a40e authored by tfarina@chromium.org's avatar tfarina@chromium.org

views: Return the appropriate value for GetDialogButtons() in AboutIPCDialog.

R=pkasting@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10178027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134546 0039d316-1c4b-4281-b951-d872f2087c98
parent e5a5bac6
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -262,8 +262,7 @@ views::View* AboutIPCDialog::GetContentsView() { ...@@ -262,8 +262,7 @@ views::View* AboutIPCDialog::GetContentsView() {
} }
int AboutIPCDialog::GetDialogButtons() const { int AboutIPCDialog::GetDialogButtons() const {
// Don't want OK or Cancel. return ui::DIALOG_BUTTON_NONE;
return 0;
} }
string16 AboutIPCDialog::GetWindowTitle() const { string16 AboutIPCDialog::GetWindowTitle() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment