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

Side by Side Diff: chrome/browser/ui/webui/options2/search_engine_manager_handler2.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_SEARCH_ENGINE_MANAGER_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_SEARCH_ENGINE_MANAGER_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_SEARCH_ENGINE_MANAGER_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_SEARCH_ENGINE_MANAGER_HANDLER2_H_
7 7
8 #include "chrome/browser/ui/search_engines/edit_search_engine_controller.h" 8 #include "chrome/browser/ui/search_engines/edit_search_engine_controller.h"
9 #include "chrome/browser/ui/webui/options2/options_ui2.h" 9 #include "chrome/browser/ui/webui/options2/options_ui2.h"
10 #include "ui/base/models/table_model_observer.h" 10 #include "ui/base/models/table_model_observer.h"
11 11
12 class KeywordEditorController;
13
14 namespace extensions {
12 class Extension; 15 class Extension;
13 class KeywordEditorController; 16 }
14 17
15 namespace options2 { 18 namespace options2 {
16 19
17 class SearchEngineManagerHandler : public OptionsPageUIHandler, 20 class SearchEngineManagerHandler : public OptionsPageUIHandler,
18 public ui::TableModelObserver, 21 public ui::TableModelObserver,
19 public EditSearchEngineControllerDelegate { 22 public EditSearchEngineControllerDelegate {
20 public: 23 public:
21 SearchEngineManagerHandler(); 24 SearchEngineManagerHandler();
22 virtual ~SearchEngineManagerHandler(); 25 virtual ~SearchEngineManagerHandler();
23 26
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 69
67 // Called when an edit is finished and should be saved. 70 // Called when an edit is finished and should be saved.
68 // Called from WebUI. 71 // Called from WebUI.
69 void EditCompleted(const base::ListValue* args); 72 void EditCompleted(const base::ListValue* args);
70 73
71 // Returns a dictionary to pass to WebUI representing the given search engine. 74 // Returns a dictionary to pass to WebUI representing the given search engine.
72 base::DictionaryValue* CreateDictionaryForEngine(int index, bool is_default); 75 base::DictionaryValue* CreateDictionaryForEngine(int index, bool is_default);
73 76
74 // Returns a dictionary to pass to WebUI representing the extension. 77 // Returns a dictionary to pass to WebUI representing the extension.
75 base::DictionaryValue* CreateDictionaryForExtension( 78 base::DictionaryValue* CreateDictionaryForExtension(
76 const Extension& extension); 79 const extensions::Extension& extension);
77 80
78 DISALLOW_COPY_AND_ASSIGN(SearchEngineManagerHandler); 81 DISALLOW_COPY_AND_ASSIGN(SearchEngineManagerHandler);
79 }; 82 };
80 83
81 } // namespace options2 84 } // namespace options2
82 85
83 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_SEARCH_ENGINE_MANAGER_HANDLER2_H_ 86 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_SEARCH_ENGINE_MANAGER_HANDLER2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698