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

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

Issue 6905053: Add 2 Extension APIs for handwriting: experimental.input.sendHandritingStroke and cancelHandWriting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <map> 7 #include <map>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 RegisterFunction<HideSidebarFunction>(); 270 RegisterFunction<HideSidebarFunction>();
271 RegisterFunction<NavigateSidebarFunction>(); 271 RegisterFunction<NavigateSidebarFunction>();
272 RegisterFunction<SetBadgeTextSidebarFunction>(); 272 RegisterFunction<SetBadgeTextSidebarFunction>();
273 RegisterFunction<SetIconSidebarFunction>(); 273 RegisterFunction<SetIconSidebarFunction>();
274 RegisterFunction<SetTitleSidebarFunction>(); 274 RegisterFunction<SetTitleSidebarFunction>();
275 RegisterFunction<ShowSidebarFunction>(); 275 RegisterFunction<ShowSidebarFunction>();
276 276
277 #if defined(TOOLKIT_VIEWS) 277 #if defined(TOOLKIT_VIEWS)
278 // Input. 278 // Input.
279 RegisterFunction<SendKeyboardEventInputFunction>(); 279 RegisterFunction<SendKeyboardEventInputFunction>();
280 RegisterFunction<SendHandwritingStrokesFunction>();
Mihai Parparita -not on Chrome 2011/04/27 23:34:51 Shouldn't this be in the "ChromeOS-specific part o
Yusuke Sato 2011/04/28 10:57:07 Done.
281 RegisterFunction<CancelHandwritingFunction>();
280 #endif 282 #endif
281 283
282 // Management. 284 // Management.
283 RegisterFunction<GetAllExtensionsFunction>(); 285 RegisterFunction<GetAllExtensionsFunction>();
284 RegisterFunction<GetExtensionByIdFunction>(); 286 RegisterFunction<GetExtensionByIdFunction>();
285 RegisterFunction<LaunchAppFunction>(); 287 RegisterFunction<LaunchAppFunction>();
286 RegisterFunction<SetEnabledFunction>(); 288 RegisterFunction<SetEnabledFunction>();
287 RegisterFunction<UninstallFunction>(); 289 RegisterFunction<UninstallFunction>();
288 290
289 // Extension module. 291 // Extension module.
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 NOTREACHED(); 533 NOTREACHED();
532 UserMetrics::RecordAction(UserMetricsAction("BadMessageTerminate_EFD")); 534 UserMetrics::RecordAction(UserMetricsAction("BadMessageTerminate_EFD"));
533 base::KillProcess(render_view_host_->process()->GetHandle(), 535 base::KillProcess(render_view_host_->process()->GetHandle(),
534 ResultCodes::KILLED_BAD_MESSAGE, false); 536 ResultCodes::KILLED_BAD_MESSAGE, false);
535 } 537 }
536 } 538 }
537 539
538 Profile* ExtensionFunctionDispatcher::profile() { 540 Profile* ExtensionFunctionDispatcher::profile() {
539 return profile_; 541 return profile_;
540 } 542 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_input_api.h » ('j') | chrome/browser/extensions/extension_input_api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698