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

Side by Side Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 329001: Remove pageAction badge functions (Closed)
Patch Set: pre commit Created 11 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_page_actions_module.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/browser/extensions/extension_function_dispatcher.h" 5 #include "chrome/browser/extensions/extension_function_dispatcher.h"
6 6
7 #include "base/process_util.h" 7 #include "base/process_util.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/extensions/execute_code_in_tab_function.h" 10 #include "chrome/browser/extensions/execute_code_in_tab_function.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 RegisterFunction<TabsExecuteScriptFunction>(); 98 RegisterFunction<TabsExecuteScriptFunction>();
99 RegisterFunction<TabsInsertCSSFunction>(); 99 RegisterFunction<TabsInsertCSSFunction>();
100 100
101 // Page Actions. 101 // Page Actions.
102 RegisterFunction<EnablePageActionFunction>(); 102 RegisterFunction<EnablePageActionFunction>();
103 RegisterFunction<DisablePageActionFunction>(); 103 RegisterFunction<DisablePageActionFunction>();
104 RegisterFunction<PageActionShowFunction>(); 104 RegisterFunction<PageActionShowFunction>();
105 RegisterFunction<PageActionHideFunction>(); 105 RegisterFunction<PageActionHideFunction>();
106 RegisterFunction<PageActionSetIconFunction>(); 106 RegisterFunction<PageActionSetIconFunction>();
107 RegisterFunction<PageActionSetTitleFunction>(); 107 RegisterFunction<PageActionSetTitleFunction>();
108 RegisterFunction<PageActionSetBadgeBackgroundColorFunction>();
109 RegisterFunction<PageActionSetBadgeTextColorFunction>();
110 RegisterFunction<PageActionSetBadgeTextFunction>();
111 108
112 // Browser Actions. 109 // Browser Actions.
113 RegisterFunction<BrowserActionSetIconFunction>(); 110 RegisterFunction<BrowserActionSetIconFunction>();
114 RegisterFunction<BrowserActionSetTitleFunction>(); 111 RegisterFunction<BrowserActionSetTitleFunction>();
115 RegisterFunction<BrowserActionSetBadgeTextFunction>(); 112 RegisterFunction<BrowserActionSetBadgeTextFunction>();
116 RegisterFunction<BrowserActionSetBadgeBackgroundColorFunction>(); 113 RegisterFunction<BrowserActionSetBadgeBackgroundColorFunction>();
117 114
118 // Bookmarks. 115 // Bookmarks.
119 RegisterFunction<GetBookmarksFunction>(); 116 RegisterFunction<GetBookmarksFunction>();
120 RegisterFunction<GetBookmarkChildrenFunction>(); 117 RegisterFunction<GetBookmarkChildrenFunction>();
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 } else { 269 } else {
273 NOTREACHED(); 270 NOTREACHED();
274 base::KillProcess(render_view_host_->process()->process().handle(), 271 base::KillProcess(render_view_host_->process()->process().handle(),
275 ResultCodes::KILLED_BAD_MESSAGE, false); 272 ResultCodes::KILLED_BAD_MESSAGE, false);
276 } 273 }
277 } 274 }
278 275
279 Profile* ExtensionFunctionDispatcher::profile() { 276 Profile* ExtensionFunctionDispatcher::profile() {
280 return render_view_host_->process()->profile(); 277 return render_view_host_->process()->profile();
281 } 278 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_page_actions_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698