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

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

Issue 10696208: Move ExtensionEventRouter and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed bug + latest master Created 8 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 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 #include "chrome/browser/extensions/extension_input_ime_api.h" 5 #include "chrome/browser/extensions/extension_input_ime_api.h"
6 6
7 #include "base/json/json_writer.h" 7 #include "base/json/json_writer.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/chromeos/input_method/input_method_engine.h" 11 #include "chrome/browser/chromeos/input_method/input_method_engine.h"
12 #include "chrome/browser/extensions/extension_event_router.h" 12 #include "chrome/browser/extensions/event_router.h"
13 #include "chrome/browser/extensions/extension_input_module_constants.h" 13 #include "chrome/browser/extensions/extension_input_module_constants.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 15
16 namespace keys = extension_input_module_constants; 16 namespace keys = extension_input_module_constants;
17 17
18 namespace { 18 namespace {
19 19
20 const char kStyleNone[] = "none"; 20 const char kStyleNone[] = "none";
21 const char kStyleCheck[] = "check"; 21 const char kStyleCheck[] = "check";
22 const char kStyleRadio[] = "radio"; 22 const char kStyleRadio[] = "radio";
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 828
829 bool handled = false; 829 bool handled = false;
830 EXTENSION_FUNCTION_VALIDATE(args_->GetBoolean(1, &handled)); 830 EXTENSION_FUNCTION_VALIDATE(args_->GetBoolean(1, &handled));
831 831
832 ExtensionInputImeEventRouter::GetInstance()->OnEventHandled( 832 ExtensionInputImeEventRouter::GetInstance()->OnEventHandled(
833 extension_id(), request_id_str, handled); 833 extension_id(), request_id_str, handled);
834 834
835 return true; 835 return true;
836 } 836 }
837 #endif 837 #endif
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_idle_api.cc ('k') | chrome/browser/extensions/extension_management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698