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

Side by Side Diff: chrome/browser/dom_ui/options/search_engine_manager_handler.h

Issue 6248015: DOMUI Prefs: Split search engines into two lists (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/search_engine_manager_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOM_UI_OPTIONS_SEARCH_ENGINE_MANAGER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_SEARCH_ENGINE_MANAGER_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_SEARCH_ENGINE_MANAGER_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_SEARCH_ENGINE_MANAGER_HANDLER_H_
7 7
8 #include "chrome/browser/dom_ui/options/options_ui.h" 8 #include "chrome/browser/dom_ui/options/options_ui.h"
9 #include "chrome/browser/search_engines/edit_search_engine_controller.h" 9 #include "chrome/browser/search_engines/edit_search_engine_controller.h"
10 #include "ui/base/models/table_model_observer.h" 10 #include "ui/base/models/table_model_observer.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void CheckSearchEngineInfoValidity(const ListValue* args); 57 void CheckSearchEngineInfoValidity(const ListValue* args);
58 58
59 // Called when an edit is cancelled. 59 // Called when an edit is cancelled.
60 // Called from DOMUI. 60 // Called from DOMUI.
61 void EditCancelled(const ListValue* args); 61 void EditCancelled(const ListValue* args);
62 62
63 // Called when an edit is finished and should be saved. 63 // Called when an edit is finished and should be saved.
64 // Called from DOMUI. 64 // Called from DOMUI.
65 void EditCompleted(const ListValue* args); 65 void EditCompleted(const ListValue* args);
66 66
67 // Returns a dictionary to pass to DOMUI representing the given group heading.
68 DictionaryValue* CreateDictionaryForHeading(int group_index);
69 // Returns a dictionary to pass to DOMUI representing the given search engine. 67 // Returns a dictionary to pass to DOMUI representing the given search engine.
70 DictionaryValue* CreateDictionaryForEngine(int index, bool is_default); 68 DictionaryValue* CreateDictionaryForEngine(int index, bool is_default);
71 69
72 DISALLOW_COPY_AND_ASSIGN(SearchEngineManagerHandler); 70 DISALLOW_COPY_AND_ASSIGN(SearchEngineManagerHandler);
73 }; 71 };
74 72
75 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_SEARCH_ENGINE_MANAGER_HANDLER_H_ 73 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_SEARCH_ENGINE_MANAGER_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/search_engine_manager_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698