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

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

Issue 8051010: Separate Virtual Keyboard related conditionals from TouchUI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased on ToT, fix along with review comments Created 9 years, 2 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) 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Speech input. 301 // Speech input.
302 RegisterFunction<StartSpeechInputFunction>(); 302 RegisterFunction<StartSpeechInputFunction>();
303 RegisterFunction<StopSpeechInputFunction>(); 303 RegisterFunction<StopSpeechInputFunction>();
304 RegisterFunction<IsRecordingSpeechInputFunction>(); 304 RegisterFunction<IsRecordingSpeechInputFunction>();
305 305
306 #if defined(TOOLKIT_VIEWS) 306 #if defined(TOOLKIT_VIEWS)
307 // Input. 307 // Input.
308 RegisterFunction<SendKeyboardEventInputFunction>(); 308 RegisterFunction<SendKeyboardEventInputFunction>();
309 #endif 309 #endif
310 310
311 #if defined(TOUCH_UI) 311 #if defined(USE_VIRTUAL_KEYBOARD)
312 RegisterFunction<HideKeyboardFunction>(); 312 RegisterFunction<HideKeyboardFunction>();
313 RegisterFunction<SetKeyboardHeightFunction>(); 313 RegisterFunction<SetKeyboardHeightFunction>();
314 #endif 314 #endif
315 315
316 #if defined(OS_CHROMEOS) 316 #if defined(OS_CHROMEOS)
317 // IME 317 // IME
318 RegisterFunction<SetCompositionFunction>(); 318 RegisterFunction<SetCompositionFunction>();
319 RegisterFunction<ClearCompositionFunction>(); 319 RegisterFunction<ClearCompositionFunction>();
320 RegisterFunction<CommitTextFunction>(); 320 RegisterFunction<CommitTextFunction>();
321 RegisterFunction<SetCandidateWindowPropertiesFunction>(); 321 RegisterFunction<SetCandidateWindowPropertiesFunction>();
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 return function; 674 return function;
675 } 675 }
676 676
677 // static 677 // static
678 void ExtensionFunctionDispatcher::SendAccessDenied( 678 void ExtensionFunctionDispatcher::SendAccessDenied(
679 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 679 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
680 ipc_sender->Send(new ExtensionMsg_Response( 680 ipc_sender->Send(new ExtensionMsg_Response(
681 routing_id, request_id, false, std::string(), 681 routing_id, request_id, false, std::string(),
682 "Access to extension API denied.")); 682 "Access to extension API denied."));
683 } 683 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/extensions/extension_input_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698