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

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

Issue 7058046: Adjust virtual keyboard size base on input method candidates. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase on trunk Created 9 years, 6 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/extensions/extension_input_api.h » ('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) 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 RegisterFunction<SetTitleSidebarFunction>(); 272 RegisterFunction<SetTitleSidebarFunction>();
273 RegisterFunction<ShowSidebarFunction>(); 273 RegisterFunction<ShowSidebarFunction>();
274 274
275 #if defined(TOOLKIT_VIEWS) 275 #if defined(TOOLKIT_VIEWS)
276 // Input. 276 // Input.
277 RegisterFunction<SendKeyboardEventInputFunction>(); 277 RegisterFunction<SendKeyboardEventInputFunction>();
278 #endif 278 #endif
279 279
280 #if defined(TOUCH_UI) 280 #if defined(TOUCH_UI)
281 RegisterFunction<HideKeyboardFunction>(); 281 RegisterFunction<HideKeyboardFunction>();
282 RegisterFunction<SetKeyboardHeightFunction>();
282 #endif 283 #endif
283 284
284 #if defined(OS_CHROMEOS) && defined(TOUCH_UI) 285 #if defined(OS_CHROMEOS) && defined(TOUCH_UI)
285 // IME 286 // IME
286 RegisterFunction<CandidateClickedInputUiFunction>(); 287 RegisterFunction<CandidateClickedInputUiFunction>();
287 RegisterFunction<CursorUpInputUiFunction>(); 288 RegisterFunction<CursorUpInputUiFunction>();
288 RegisterFunction<CursorDownInputUiFunction>(); 289 RegisterFunction<CursorDownInputUiFunction>();
289 RegisterFunction<PageUpInputUiFunction>(); 290 RegisterFunction<PageUpInputUiFunction>();
290 RegisterFunction<PageDownInputUiFunction>(); 291 RegisterFunction<PageDownInputUiFunction>();
291 RegisterFunction<RegisterInputUiFunction>(); 292 RegisterFunction<RegisterInputUiFunction>();
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 std::string(), QuotaLimitHeuristic::kGenericOverQuotaError)); 528 std::string(), QuotaLimitHeuristic::kGenericOverQuotaError));
528 } 529 }
529 } 530 }
530 531
531 void ExtensionFunctionDispatcher::SendAccessDenied( 532 void ExtensionFunctionDispatcher::SendAccessDenied(
532 RenderViewHost* render_view_host, int request_id) { 533 RenderViewHost* render_view_host, int request_id) {
533 render_view_host->Send(new ExtensionMsg_Response( 534 render_view_host->Send(new ExtensionMsg_Response(
534 render_view_host->routing_id(), request_id, false, std::string(), 535 render_view_host->routing_id(), request_id, false, std::string(),
535 "Access to extension API denied.")); 536 "Access to extension API denied."));
536 } 537 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_input_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698