| OLD | NEW |
| 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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 virtual void ShowContextMenu(WebKit::WebFrame* frame, | 630 virtual void ShowContextMenu(WebKit::WebFrame* frame, |
| 631 const WebKit::WebContextMenuData& data) OVERRIDE; | 631 const WebKit::WebContextMenuData& data) OVERRIDE; |
| 632 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE; | 632 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE; |
| 633 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, | 633 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, |
| 634 const WebKit::WebString& message) OVERRIDE; | 634 const WebKit::WebString& message) OVERRIDE; |
| 635 virtual void LoadURLExternally( | 635 virtual void LoadURLExternally( |
| 636 WebKit::WebFrame* frame, | 636 WebKit::WebFrame* frame, |
| 637 const WebKit::WebURLRequest& request, | 637 const WebKit::WebURLRequest& request, |
| 638 WebKit::WebNavigationPolicy policy) OVERRIDE; | 638 WebKit::WebNavigationPolicy policy) OVERRIDE; |
| 639 | 639 |
| 640 virtual void CreatePepperHostDispatcher( |
| 641 const FilePath& plugin_path, |
| 642 int plugin_child_id, |
| 643 base::ProcessHandle plugin_process_handle, |
| 644 const IPC::ChannelHandle& channel_handle) OVERRIDE; |
| 645 |
| 640 // webkit_glue::WebPluginPageDelegate implementation ------------------------- | 646 // webkit_glue::WebPluginPageDelegate implementation ------------------------- |
| 641 | 647 |
| 642 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 648 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
| 643 const FilePath& file_path, | 649 const FilePath& file_path, |
| 644 const std::string& mime_type) OVERRIDE; | 650 const std::string& mime_type) OVERRIDE; |
| 645 virtual WebKit::WebPlugin* CreatePluginReplacement( | 651 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 646 const FilePath& file_path) OVERRIDE; | 652 const FilePath& file_path) OVERRIDE; |
| 647 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 653 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
| 648 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 654 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
| 649 virtual void DidMovePlugin( | 655 virtual void DidMovePlugin( |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1343 // bunch of stuff, you should probably create a helper class and put your | 1349 // 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 | 1350 // 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 | 1351 // use the Observer interface to filter IPC messages and receive frame change |
| 1346 // notifications. | 1352 // notifications. |
| 1347 // --------------------------------------------------------------------------- | 1353 // --------------------------------------------------------------------------- |
| 1348 | 1354 |
| 1349 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1355 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1350 }; | 1356 }; |
| 1351 | 1357 |
| 1352 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1358 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |