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

Unified Diff: chrome/browser/ui/webui/options/search_engine_manager_handler.h

Issue 7104121: Add (uneditable) display of extension keywords to the search engine manager. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Catch up with base namespace for values. Created 9 years, 5 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
Index: chrome/browser/ui/webui/options/search_engine_manager_handler.h
diff --git a/chrome/browser/ui/webui/options/search_engine_manager_handler.h b/chrome/browser/ui/webui/options/search_engine_manager_handler.h
index 0e760656db6569d78c228722703683c303c7d575..ab6c6b9b7bf0569a65cd7dae55638739e0dadbd1 100644
--- a/chrome/browser/ui/webui/options/search_engine_manager_handler.h
+++ b/chrome/browser/ui/webui/options/search_engine_manager_handler.h
@@ -9,6 +9,7 @@
#include "chrome/browser/ui/webui/options/options_ui.h"
#include "ui/base/models/table_model_observer.h"
+class Extension;
class KeywordEditorController;
class SearchEngineManagerHandler : public OptionsPageUIHandler,
@@ -67,6 +68,10 @@ class SearchEngineManagerHandler : public OptionsPageUIHandler,
// Returns a dictionary to pass to WebUI representing the given search engine.
base::DictionaryValue* CreateDictionaryForEngine(int index, bool is_default);
+ // Returns a dictionary to pass to WebUI representing the extension.
+ base::DictionaryValue* CreateDictionaryForExtension(
+ const Extension& extension);
+
DISALLOW_COPY_AND_ASSIGN(SearchEngineManagerHandler);
};

Powered by Google App Engine
This is Rietveld 408576698