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

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: Update 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
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<SetTitleSidebarFunction>(); 270 RegisterFunction<SetTitleSidebarFunction>();
271 RegisterFunction<ShowSidebarFunction>(); 271 RegisterFunction<ShowSidebarFunction>();
272 272
273 #if defined(TOOLKIT_VIEWS) 273 #if defined(TOOLKIT_VIEWS)
274 // Input. 274 // Input.
275 RegisterFunction<SendKeyboardEventInputFunction>(); 275 RegisterFunction<SendKeyboardEventInputFunction>();
276 #endif 276 #endif
277 277
278 #if defined(TOUCH_UI) 278 #if defined(TOUCH_UI)
279 RegisterFunction<HideKeyboardFunction>(); 279 RegisterFunction<HideKeyboardFunction>();
280 RegisterFunction<SetKeyboardHeightFunction>();
280 #endif 281 #endif
281 282
282 #if defined(OS_CHROMEOS) && defined(TOUCH_UI) 283 #if defined(OS_CHROMEOS) && defined(TOUCH_UI)
283 // IME 284 // IME
284 RegisterFunction<CandidateClickedInputUiFunction>(); 285 RegisterFunction<CandidateClickedInputUiFunction>();
285 RegisterFunction<CursorUpInputUiFunction>(); 286 RegisterFunction<CursorUpInputUiFunction>();
286 RegisterFunction<CursorDownInputUiFunction>(); 287 RegisterFunction<CursorDownInputUiFunction>();
287 RegisterFunction<PageUpInputUiFunction>(); 288 RegisterFunction<PageUpInputUiFunction>();
288 RegisterFunction<PageDownInputUiFunction>(); 289 RegisterFunction<PageDownInputUiFunction>();
289 RegisterFunction<RegisterInputUiFunction>(); 290 RegisterFunction<RegisterInputUiFunction>();
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 std::string(), QuotaLimitHeuristic::kGenericOverQuotaError)); 521 std::string(), QuotaLimitHeuristic::kGenericOverQuotaError));
521 } 522 }
522 } 523 }
523 524
524 void ExtensionFunctionDispatcher::SendAccessDenied( 525 void ExtensionFunctionDispatcher::SendAccessDenied(
525 RenderViewHost* render_view_host, int request_id) { 526 RenderViewHost* render_view_host, int request_id) {
526 render_view_host->Send(new ExtensionMsg_Response( 527 render_view_host->Send(new ExtensionMsg_Response(
527 render_view_host->routing_id(), request_id, false, std::string(), 528 render_view_host->routing_id(), request_id, false, std::string(),
528 "Access to extension API denied.")); 529 "Access to extension API denied."));
529 } 530 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_input_api.h » ('j') | chrome/browser/resources/keyboard/main.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698