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