summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/keyword_editor_view.cc4
-rw-r--r--chrome/browser/views/keyword_editor_view.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/views/keyword_editor_view.cc b/chrome/browser/views/keyword_editor_view.cc
index 587dce6..580afa1 100644
--- a/chrome/browser/views/keyword_editor_view.cc
+++ b/chrome/browser/views/keyword_editor_view.cc
@@ -112,6 +112,10 @@ std::wstring KeywordEditorView::GetWindowTitle() const {
return l10n_util::GetString(IDS_SEARCH_ENGINES_EDITOR_WINDOW_TITLE);
}
+std::wstring KeywordEditorView::GetWindowName() const {
+ return prefs::kKeywordEditorWindowPlacement;
+}
+
int KeywordEditorView::GetDialogButtons() const {
return MessageBoxFlags::DIALOGBUTTON_CANCEL;
}
diff --git a/chrome/browser/views/keyword_editor_view.h b/chrome/browser/views/keyword_editor_view.h
index 361cc59..69ba388 100644
--- a/chrome/browser/views/keyword_editor_view.h
+++ b/chrome/browser/views/keyword_editor_view.h
@@ -56,9 +56,10 @@ class KeywordEditorView : public views::View,
// Overriden to invoke Layout.
virtual gfx::Size GetPreferredSize();
- // DialogDelegate methods:
+ // views::DialogDelegate methods:
virtual bool CanResize() const;
virtual std::wstring GetWindowTitle() const;
+ virtual std::wstring GetWindowName() const;
virtual int GetDialogButtons() const;
virtual bool Accept();
virtual bool Cancel();