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

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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 virtual void ShowContextMenu(WebKit::WebFrame* frame, 625 virtual void ShowContextMenu(WebKit::WebFrame* frame,
626 const WebKit::WebContextMenuData& data) OVERRIDE; 626 const WebKit::WebContextMenuData& data) OVERRIDE;
627 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE; 627 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE;
628 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, 628 virtual void RunModalAlertDialog(WebKit::WebFrame* frame,
629 const WebKit::WebString& message) OVERRIDE; 629 const WebKit::WebString& message) OVERRIDE;
630 virtual void LoadURLExternally( 630 virtual void LoadURLExternally(
631 WebKit::WebFrame* frame, 631 WebKit::WebFrame* frame,
632 const WebKit::WebURLRequest& request, 632 const WebKit::WebURLRequest& request,
633 WebKit::WebNavigationPolicy policy) OVERRIDE; 633 WebKit::WebNavigationPolicy policy) OVERRIDE;
634 634
635 virtual void CreateHostDispatcher(
636 const FilePath& plugin_path,
637 int plugin_child_id,
638 base::ProcessHandle plugin_process_handle,
639 const std::string& channel_handle_name) OVERRIDE;
640
635 // webkit_glue::WebPluginPageDelegate implementation ------------------------- 641 // webkit_glue::WebPluginPageDelegate implementation -------------------------
636 642
637 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( 643 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate(
638 const FilePath& file_path, 644 const FilePath& file_path,
639 const std::string& mime_type) OVERRIDE; 645 const std::string& mime_type) OVERRIDE;
640 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 646 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
641 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; 647 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE;
642 virtual void DidMovePlugin( 648 virtual void DidMovePlugin(
643 const webkit::npapi::WebPluginGeometry& move) OVERRIDE; 649 const webkit::npapi::WebPluginGeometry& move) OVERRIDE;
644 virtual void DidStartLoadingForPlugin() OVERRIDE; 650 virtual void DidStartLoadingForPlugin() OVERRIDE;
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 // bunch of stuff, you should probably create a helper class and put your 1337 // bunch of stuff, you should probably create a helper class and put your
1332 // data and methods on that to avoid bloating RenderView more. You can 1338 // data and methods on that to avoid bloating RenderView more. You can
1333 // use the Observer interface to filter IPC messages and receive frame change 1339 // use the Observer interface to filter IPC messages and receive frame change
1334 // notifications. 1340 // notifications.
1335 // --------------------------------------------------------------------------- 1341 // ---------------------------------------------------------------------------
1336 1342
1337 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1343 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1338 }; 1344 };
1339 1345
1340 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1346 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698