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

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

Issue 9121035: [hterm:crosh] Add support for terminal window resizing to terminal API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 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) 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_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/json/json_value_serializer.h" 9 #include "base/json/json_value_serializer.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 RegisterFunction<TogglePlaylistPanelMediaplayerFunction>(); 416 RegisterFunction<TogglePlaylistPanelMediaplayerFunction>();
417 RegisterFunction<ToggleFullscreenMediaplayerFunction>(); 417 RegisterFunction<ToggleFullscreenMediaplayerFunction>();
418 418
419 // InputMethod 419 // InputMethod
420 RegisterFunction<GetInputMethodFunction>(); 420 RegisterFunction<GetInputMethodFunction>();
421 421
422 // Terminal 422 // Terminal
423 RegisterFunction<OpenTerminalProcessFunction>(); 423 RegisterFunction<OpenTerminalProcessFunction>();
424 RegisterFunction<SendInputToTerminalProcessFunction>(); 424 RegisterFunction<SendInputToTerminalProcessFunction>();
425 RegisterFunction<CloseTerminalProcessFunction>(); 425 RegisterFunction<CloseTerminalProcessFunction>();
426 RegisterFunction<OnTerminalResizeFunction>();
426 427
427 #if defined(USE_VIRTUAL_KEYBOARD) 428 #if defined(USE_VIRTUAL_KEYBOARD)
428 // Input 429 // Input
429 RegisterFunction<SendHandwritingStrokeFunction>(); 430 RegisterFunction<SendHandwritingStrokeFunction>();
430 RegisterFunction<CancelHandwritingStrokesFunction>(); 431 RegisterFunction<CancelHandwritingStrokesFunction>();
431 #endif 432 #endif
432 #endif 433 #endif
433 434
434 // Websocket to TCP proxy. Currently noop on anything other than ChromeOS. 435 // Websocket to TCP proxy. Currently noop on anything other than ChromeOS.
435 RegisterFunction<WebSocketProxyPrivateGetPassportForTCPFunction>(); 436 RegisterFunction<WebSocketProxyPrivateGetPassportForTCPFunction>();
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 return function; 767 return function;
767 } 768 }
768 769
769 // static 770 // static
770 void ExtensionFunctionDispatcher::SendAccessDenied( 771 void ExtensionFunctionDispatcher::SendAccessDenied(
771 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 772 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
772 ipc_sender->Send(new ExtensionMsg_Response( 773 ipc_sender->Send(new ExtensionMsg_Response(
773 routing_id, request_id, false, std::string(), 774 routing_id, request_id, false, std::string(),
774 "Access to extension API denied.")); 775 "Access to extension API denied."));
775 } 776 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/terminal/terminal_private_api.cc ('k') | chrome/common/extensions/api/terminalPrivate.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698