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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 10854040: Add hooks to content to request permission to connect to the PPAPI broker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 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) 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 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 // The documentation for these functions should be in 888 // The documentation for these functions should be in
889 // render_messages_internal.h for the message that the function is handling. 889 // render_messages_internal.h for the message that the function is handling.
890 890
891 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags); 891 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags);
892 void OnAllowScriptToClose(bool script_can_close); 892 void OnAllowScriptToClose(bool script_can_close);
893 void OnAsyncFileOpened(base::PlatformFileError error_code, 893 void OnAsyncFileOpened(base::PlatformFileError error_code,
894 IPC::PlatformFileForTransit file_for_transit, 894 IPC::PlatformFileForTransit file_for_transit,
895 int message_id); 895 int message_id);
896 void OnPpapiBrokerChannelCreated(int request_id, 896 void OnPpapiBrokerChannelCreated(int request_id,
897 const IPC::ChannelHandle& handle); 897 const IPC::ChannelHandle& handle);
898 void OnPpapiBrokerPermissionResult(int request_id, bool result);
898 void OnCancelDownload(int32 download_id); 899 void OnCancelDownload(int32 download_id);
899 void OnClearFocusedNode(); 900 void OnClearFocusedNode();
900 void OnClosePage(); 901 void OnClosePage();
901 void OnContextMenuClosed( 902 void OnContextMenuClosed(
902 const content::CustomContextMenuContext& custom_context); 903 const content::CustomContextMenuContext& custom_context);
903 void OnCopy(); 904 void OnCopy();
904 void OnCopyImageAt(int x, int y); 905 void OnCopyImageAt(int x, int y);
905 #if defined(OS_MACOSX) 906 #if defined(OS_MACOSX)
906 void OnCopyToFindPboard(); 907 void OnCopyToFindPboard();
907 #endif 908 #endif
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 // bunch of stuff, you should probably create a helper class and put your 1449 // bunch of stuff, you should probably create a helper class and put your
1449 // data and methods on that to avoid bloating RenderView more. You can 1450 // data and methods on that to avoid bloating RenderView more. You can
1450 // use the Observer interface to filter IPC messages and receive frame change 1451 // use the Observer interface to filter IPC messages and receive frame change
1451 // notifications. 1452 // notifications.
1452 // --------------------------------------------------------------------------- 1453 // ---------------------------------------------------------------------------
1453 1454
1454 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1455 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1455 }; 1456 };
1456 1457
1457 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1458 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698