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

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

Issue 10214007: Add an IPC channel between the NaCl loader process and the renderer. (Closed) Base URL: svn://svn.chromium.org/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 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 virtual void ShowContextMenu(WebKit::WebFrame* frame, 628 virtual void ShowContextMenu(WebKit::WebFrame* frame,
629 const WebKit::WebContextMenuData& data) OVERRIDE; 629 const WebKit::WebContextMenuData& data) OVERRIDE;
630 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE; 630 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE;
631 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, 631 virtual void RunModalAlertDialog(WebKit::WebFrame* frame,
632 const WebKit::WebString& message) OVERRIDE; 632 const WebKit::WebString& message) OVERRIDE;
633 virtual void LoadURLExternally( 633 virtual void LoadURLExternally(
634 WebKit::WebFrame* frame, 634 WebKit::WebFrame* frame,
635 const WebKit::WebURLRequest& request, 635 const WebKit::WebURLRequest& request,
636 WebKit::WebNavigationPolicy policy) OVERRIDE; 636 WebKit::WebNavigationPolicy policy) OVERRIDE;
637 637
638 virtual void CreatePepperHostDispatcher(
639 const FilePath& plugin_path,
640 int plugin_child_id,
641 base::ProcessHandle plugin_process_handle,
642 const IPC::ChannelHandle& channel_handle) OVERRIDE;
643
638 // webkit_glue::WebPluginPageDelegate implementation ------------------------- 644 // webkit_glue::WebPluginPageDelegate implementation -------------------------
639 645
640 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 646 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
641 const FilePath& file_path, 647 const FilePath& file_path,
642 const std::string& mime_type) OVERRIDE; 648 const std::string& mime_type) OVERRIDE;
643 virtual WebKit::WebPlugin* CreatePluginReplacement( 649 virtual WebKit::WebPlugin* CreatePluginReplacement(
644 const FilePath& file_path) OVERRIDE; 650 const FilePath& file_path) OVERRIDE;
645 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 651 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
646 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 652 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
647 virtual void DidMovePlugin( 653 virtual void DidMovePlugin(
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 // 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
1337 // 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
1338 // 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
1339 // notifications. 1345 // notifications.
1340 // --------------------------------------------------------------------------- 1346 // ---------------------------------------------------------------------------
1341 1347
1342 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1348 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1343 }; 1349 };
1344 1350
1345 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1351 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698