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

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

Issue 7706028: This is UI side unreadable device support. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: style + enum + action on hitting enter key Created 9 years, 4 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 RegisterFunction<GetVolumeMetadataFunction>(); 364 RegisterFunction<GetVolumeMetadataFunction>();
365 RegisterFunction<RequestLocalFileSystemFunction>(); 365 RegisterFunction<RequestLocalFileSystemFunction>();
366 RegisterFunction<AddFileWatchBrowserFunction>(); 366 RegisterFunction<AddFileWatchBrowserFunction>();
367 RegisterFunction<RemoveFileWatchBrowserFunction>(); 367 RegisterFunction<RemoveFileWatchBrowserFunction>();
368 RegisterFunction<SelectFileFunction>(); 368 RegisterFunction<SelectFileFunction>();
369 RegisterFunction<SelectFilesFunction>(); 369 RegisterFunction<SelectFilesFunction>();
370 RegisterFunction<AddMountFunction>(); 370 RegisterFunction<AddMountFunction>();
371 RegisterFunction<RemoveMountFunction>(); 371 RegisterFunction<RemoveMountFunction>();
372 RegisterFunction<GetMountPointsFunction>(); 372 RegisterFunction<GetMountPointsFunction>();
373 RegisterFunction<FormatDeviceFunction>(); 373 RegisterFunction<FormatDeviceFunction>();
374 RegisterFunction<FormatUnmountedDeviceFunction>();
374 RegisterFunction<ViewFilesFunction>(); 375 RegisterFunction<ViewFilesFunction>();
375 376
376 // Mediaplayer 377 // Mediaplayer
377 RegisterFunction<PlayAtMediaplayerFunction>(); 378 RegisterFunction<PlayAtMediaplayerFunction>();
378 RegisterFunction<SetPlaybackErrorMediaplayerFunction>(); 379 RegisterFunction<SetPlaybackErrorMediaplayerFunction>();
379 RegisterFunction<GetPlaylistMediaplayerFunction>(); 380 RegisterFunction<GetPlaylistMediaplayerFunction>();
380 RegisterFunction<TogglePlaylistPanelMediaplayerFunction>(); 381 RegisterFunction<TogglePlaylistPanelMediaplayerFunction>();
381 RegisterFunction<ToggleFullscreenMediaplayerFunction>(); 382 RegisterFunction<ToggleFullscreenMediaplayerFunction>();
382 383
383 // InputMethod 384 // InputMethod
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 return function; 648 return function;
648 } 649 }
649 650
650 // static 651 // static
651 void ExtensionFunctionDispatcher::SendAccessDenied( 652 void ExtensionFunctionDispatcher::SendAccessDenied(
652 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 653 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
653 ipc_sender->Send(new ExtensionMsg_Response( 654 ipc_sender->Send(new ExtensionMsg_Response(
654 routing_id, request_id, false, std::string(), 655 routing_id, request_id, false, std::string(),
655 "Access to extension API denied.")); 656 "Access to extension API denied."));
656 } 657 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698