Chromium Code Reviews| Index: chrome/browser/search_engines/keyword_editor_controller.cc |
| diff --git a/chrome/browser/search_engines/keyword_editor_controller.cc b/chrome/browser/search_engines/keyword_editor_controller.cc |
| index 022af5601f6e79a41ad2b18e0a4c13f7970ce6b8..cbba59f4f8930ab6e488922be51976594cd1531d 100644 |
| --- a/chrome/browser/search_engines/keyword_editor_controller.cc |
| +++ b/chrome/browser/search_engines/keyword_editor_controller.cc |
| @@ -9,6 +9,8 @@ |
| #include "chrome/browser/search_engines/template_url.h" |
| #include "chrome/browser/search_engines/template_url_model.h" |
| #include "chrome/browser/search_engines/template_url_table_model.h" |
| +#include "chrome/common/pref_names.h" |
| +#include "chrome/common/pref_service.h" |
| KeywordEditorController::KeywordEditorController(Profile* profile) |
| : profile_(profile) { |
| @@ -18,6 +20,12 @@ KeywordEditorController::KeywordEditorController(Profile* profile) |
| KeywordEditorController::~KeywordEditorController() { |
| } |
| +// static |
| +// TODO(22269): Other platforms besides Mac should remember window placement. |
|
pink (ping after 24hrs)
2009/09/18 19:12:50
usually the format for this is:
// TODO(yourNameHe
|
| +void KeywordEditorController::RegisterPrefs(PrefService* prefs) { |
| + prefs->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement); |
| +} |
| + |
| int KeywordEditorController::AddTemplateURL(const std::wstring& title, |
| const std::wstring& keyword, |
| const std::wstring& url) { |