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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 virtual float GetFilteredTimePerFrame() const OVERRIDE; | 704 virtual float GetFilteredTimePerFrame() const OVERRIDE; |
705 virtual void ShowContextMenu(WebKit::WebFrame* frame, | 705 virtual void ShowContextMenu(WebKit::WebFrame* frame, |
706 const WebKit::WebContextMenuData& data) OVERRIDE; | 706 const WebKit::WebContextMenuData& data) OVERRIDE; |
707 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE; | 707 virtual WebKit::WebPageVisibilityState GetVisibilityState() const OVERRIDE; |
708 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, | 708 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, |
709 const WebKit::WebString& message) OVERRIDE; | 709 const WebKit::WebString& message) OVERRIDE; |
710 virtual void LoadURLExternally( | 710 virtual void LoadURLExternally( |
711 WebKit::WebFrame* frame, | 711 WebKit::WebFrame* frame, |
712 const WebKit::WebURLRequest& request, | 712 const WebKit::WebURLRequest& request, |
713 WebKit::WebNavigationPolicy policy) OVERRIDE; | 713 WebKit::WebNavigationPolicy policy) OVERRIDE; |
| 714 virtual void Repaint(const gfx::Size& size) OVERRIDE; |
714 | 715 |
715 // webkit_glue::WebPluginPageDelegate implementation ------------------------- | 716 // webkit_glue::WebPluginPageDelegate implementation ------------------------- |
716 | 717 |
717 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 718 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
718 const FilePath& file_path, | 719 const FilePath& file_path, |
719 const std::string& mime_type) OVERRIDE; | 720 const std::string& mime_type) OVERRIDE; |
720 virtual WebKit::WebPlugin* CreatePluginReplacement( | 721 virtual WebKit::WebPlugin* CreatePluginReplacement( |
721 const FilePath& file_path) OVERRIDE; | 722 const FilePath& file_path) OVERRIDE; |
722 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 723 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
723 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 724 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1447 // bunch of stuff, you should probably create a helper class and put your | 1448 // bunch of stuff, you should probably create a helper class and put your |
1448 // data and methods on that to avoid bloating RenderView more. You can | 1449 // data and methods on that to avoid bloating RenderView more. You can |
1449 // use the Observer interface to filter IPC messages and receive frame change | 1450 // use the Observer interface to filter IPC messages and receive frame change |
1450 // notifications. | 1451 // notifications. |
1451 // --------------------------------------------------------------------------- | 1452 // --------------------------------------------------------------------------- |
1452 | 1453 |
1453 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1454 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1454 }; | 1455 }; |
1455 | 1456 |
1456 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1457 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |