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

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

Issue 9565008: Better fullscreen handling for Chrome OS Video Player (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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_string_value_serializer.h" 9 #include "base/json/json_string_value_serializer.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 RegisterFunction<AddFileWatchBrowserFunction>(); 403 RegisterFunction<AddFileWatchBrowserFunction>();
404 RegisterFunction<RemoveFileWatchBrowserFunction>(); 404 RegisterFunction<RemoveFileWatchBrowserFunction>();
405 RegisterFunction<SelectFileFunction>(); 405 RegisterFunction<SelectFileFunction>();
406 RegisterFunction<SelectFilesFunction>(); 406 RegisterFunction<SelectFilesFunction>();
407 RegisterFunction<AddMountFunction>(); 407 RegisterFunction<AddMountFunction>();
408 RegisterFunction<RemoveMountFunction>(); 408 RegisterFunction<RemoveMountFunction>();
409 RegisterFunction<GetMountPointsFunction>(); 409 RegisterFunction<GetMountPointsFunction>();
410 RegisterFunction<GetSizeStatsFunction>(); 410 RegisterFunction<GetSizeStatsFunction>();
411 RegisterFunction<FormatDeviceFunction>(); 411 RegisterFunction<FormatDeviceFunction>();
412 RegisterFunction<ViewFilesFunction>(); 412 RegisterFunction<ViewFilesFunction>();
413 RegisterFunction<ToggleFullscreenFunction>();
414 RegisterFunction<IsFullscreenFunction>();
413 415
414 // Mediaplayer 416 // Mediaplayer
415 RegisterFunction<PlayMediaplayerFunction>(); 417 RegisterFunction<PlayMediaplayerFunction>();
416 RegisterFunction<GetPlaylistMediaplayerFunction>(); 418 RegisterFunction<GetPlaylistMediaplayerFunction>();
417 RegisterFunction<SetWindowHeightMediaplayerFunction>(); 419 RegisterFunction<SetWindowHeightMediaplayerFunction>();
418 RegisterFunction<CloseWindowMediaplayerFunction>(); 420 RegisterFunction<CloseWindowMediaplayerFunction>();
419 421
420 // InputMethod 422 // InputMethod
421 RegisterFunction<GetInputMethodFunction>(); 423 RegisterFunction<GetInputMethodFunction>();
422 424
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 return function; 789 return function;
788 } 790 }
789 791
790 // static 792 // static
791 void ExtensionFunctionDispatcher::SendAccessDenied( 793 void ExtensionFunctionDispatcher::SendAccessDenied(
792 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 794 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
793 ipc_sender->Send(new ExtensionMsg_Response( 795 ipc_sender->Send(new ExtensionMsg_Response(
794 routing_id, request_id, false, std::string(), 796 routing_id, request_id, false, std::string(),
795 "Access to extension API denied.")); 797 "Access to extension API denied."));
796 } 798 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698