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

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: fix 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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 // The documentation for these functions should be in 882 // The documentation for these functions should be in
883 // render_messages_internal.h for the message that the function is handling. 883 // render_messages_internal.h for the message that the function is handling.
884 884
885 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags); 885 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags);
886 void OnAllowScriptToClose(bool script_can_close); 886 void OnAllowScriptToClose(bool script_can_close);
887 void OnAsyncFileOpened(base::PlatformFileError error_code, 887 void OnAsyncFileOpened(base::PlatformFileError error_code,
888 IPC::PlatformFileForTransit file_for_transit, 888 IPC::PlatformFileForTransit file_for_transit,
889 int message_id); 889 int message_id);
890 void OnPpapiBrokerChannelCreated(int request_id, 890 void OnPpapiBrokerChannelCreated(int request_id,
891 const IPC::ChannelHandle& handle); 891 const IPC::ChannelHandle& handle);
892 void OnPpapiBrokerPermissionResult(int request_id, bool result);
892 void OnCancelDownload(int32 download_id); 893 void OnCancelDownload(int32 download_id);
893 void OnClearFocusedNode(); 894 void OnClearFocusedNode();
894 void OnClosePage(); 895 void OnClosePage();
895 void OnContextMenuClosed( 896 void OnContextMenuClosed(
896 const content::CustomContextMenuContext& custom_context); 897 const content::CustomContextMenuContext& custom_context);
897 void OnCopy(); 898 void OnCopy();
898 void OnCopyImageAt(int x, int y); 899 void OnCopyImageAt(int x, int y);
899 #if defined(OS_MACOSX) 900 #if defined(OS_MACOSX)
900 void OnCopyToFindPboard(); 901 void OnCopyToFindPboard();
901 #endif 902 #endif
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 // bunch of stuff, you should probably create a helper class and put your 1446 // bunch of stuff, you should probably create a helper class and put your
1446 // data and methods on that to avoid bloating RenderView more. You can 1447 // data and methods on that to avoid bloating RenderView more. You can
1447 // use the Observer interface to filter IPC messages and receive frame change 1448 // use the Observer interface to filter IPC messages and receive frame change
1448 // notifications. 1449 // notifications.
1449 // --------------------------------------------------------------------------- 1450 // ---------------------------------------------------------------------------
1450 1451
1451 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1452 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1452 }; 1453 };
1453 1454
1454 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1455 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698