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

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

Issue 10378057: Broker out PPAPI handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 // 802 //
803 // The documentation for these functions should be in 803 // The documentation for these functions should be in
804 // render_messages_internal.h for the message that the function is handling. 804 // render_messages_internal.h for the message that the function is handling.
805 805
806 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags); 806 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags);
807 void OnAllowScriptToClose(bool script_can_close); 807 void OnAllowScriptToClose(bool script_can_close);
808 void OnAsyncFileOpened(base::PlatformFileError error_code, 808 void OnAsyncFileOpened(base::PlatformFileError error_code,
809 IPC::PlatformFileForTransit file_for_transit, 809 IPC::PlatformFileForTransit file_for_transit,
810 int message_id); 810 int message_id);
811 void OnPpapiBrokerChannelCreated(int request_id, 811 void OnPpapiBrokerChannelCreated(int request_id,
812 base::ProcessHandle broker_process_handle,
813 const IPC::ChannelHandle& handle); 812 const IPC::ChannelHandle& handle);
814 void OnCancelDownload(int32 download_id); 813 void OnCancelDownload(int32 download_id);
815 void OnClearFocusedNode(); 814 void OnClearFocusedNode();
816 void OnClosePage(); 815 void OnClosePage();
817 void OnContextMenuClosed( 816 void OnContextMenuClosed(
818 const content::CustomContextMenuContext& custom_context); 817 const content::CustomContextMenuContext& custom_context);
819 void OnCopy(); 818 void OnCopy();
820 void OnCopyImageAt(int x, int y); 819 void OnCopyImageAt(int x, int y);
821 #if defined(OS_MACOSX) 820 #if defined(OS_MACOSX)
822 void OnCopyToFindPboard(); 821 void OnCopyToFindPboard();
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // bunch of stuff, you should probably create a helper class and put your 1342 // bunch of stuff, you should probably create a helper class and put your
1344 // data and methods on that to avoid bloating RenderView more. You can 1343 // data and methods on that to avoid bloating RenderView more. You can
1345 // use the Observer interface to filter IPC messages and receive frame change 1344 // use the Observer interface to filter IPC messages and receive frame change
1346 // notifications. 1345 // notifications.
1347 // --------------------------------------------------------------------------- 1346 // ---------------------------------------------------------------------------
1348 1347
1349 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1348 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1350 }; 1349 };
1351 1350
1352 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1351 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_proxy_channel_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