ui: Remove unused DialogModel::GetDialogLabel().

BUG=none
R=kelvinp@chromium.org

Review URL: https://codereview.chromium.org/694363002

Cr-Commit-Position: refs/heads/master@{#302514}
parent 4947ca3e
......@@ -12,15 +12,12 @@
namespace ui {
// A model representing a dialog window. The model provides the content to show
// to the user (i.e. label, title), and the ways the user can interact with it
// to the user (i.e. title), and the ways the user can interact with it
// (i.e. the buttons).
class UI_BASE_EXPORT DialogModel {
public:
virtual ~DialogModel();
// Returns the text of show in the dialog.
virtual base::string16 GetDialogLabel() const = 0;
// Returns the title of the dialog.
virtual base::string16 GetDialogTitle() const = 0;
......
......@@ -106,10 +106,6 @@ bool DialogDelegate::Close() {
return Accept(true);
}
base::string16 DialogDelegate::GetDialogLabel() const {
return base::string16();
}
base::string16 DialogDelegate::GetDialogTitle() const {
return GetWindowTitle();
}
......
......@@ -83,7 +83,6 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
virtual bool Close();
// Overridden from ui::DialogModel:
base::string16 GetDialogLabel() const override;
base::string16 GetDialogTitle() const override;
int GetDialogButtons() const override;
int GetDefaultDialogButton() const override;
......
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