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 <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 const WebKit::WebString& message) OVERRIDE; | 721 const WebKit::WebString& message) OVERRIDE; |
722 virtual void LoadURLExternally( | 722 virtual void LoadURLExternally( |
723 WebKit::WebFrame* frame, | 723 WebKit::WebFrame* frame, |
724 const WebKit::WebURLRequest& request, | 724 const WebKit::WebURLRequest& request, |
725 WebKit::WebNavigationPolicy policy) OVERRIDE; | 725 WebKit::WebNavigationPolicy policy) OVERRIDE; |
726 virtual void Repaint(const gfx::Size& size) OVERRIDE; | 726 virtual void Repaint(const gfx::Size& size) OVERRIDE; |
727 virtual void SetEditCommandForNextKeyEvent(const std::string& name, | 727 virtual void SetEditCommandForNextKeyEvent(const std::string& name, |
728 const std::string& value) OVERRIDE; | 728 const std::string& value) OVERRIDE; |
729 virtual void ClearEditCommands() OVERRIDE; | 729 virtual void ClearEditCommands() OVERRIDE; |
730 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; | 730 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; |
| 731 #if defined(OS_ANDROID) |
| 732 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; |
| 733 #endif |
731 | 734 |
732 // webkit_glue::WebPluginPageDelegate implementation ------------------------- | 735 // webkit_glue::WebPluginPageDelegate implementation ------------------------- |
733 | 736 |
734 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 737 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
735 const FilePath& file_path, | 738 const FilePath& file_path, |
736 const std::string& mime_type) OVERRIDE; | 739 const std::string& mime_type) OVERRIDE; |
737 virtual WebKit::WebPlugin* CreatePluginReplacement( | 740 virtual WebKit::WebPlugin* CreatePluginReplacement( |
738 const FilePath& file_path) OVERRIDE; | 741 const FilePath& file_path) OVERRIDE; |
739 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 742 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
740 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 743 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 int selection_start, | 798 int selection_start, |
796 int selection_end) OVERRIDE; | 799 int selection_end) OVERRIDE; |
797 virtual void OnImeConfirmComposition( | 800 virtual void OnImeConfirmComposition( |
798 const string16& text, const ui::Range& replacement_range) OVERRIDE; | 801 const string16& text, const ui::Range& replacement_range) OVERRIDE; |
799 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; | 802 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
800 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 803 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
801 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 804 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
802 virtual void GetCompositionCharacterBounds( | 805 virtual void GetCompositionCharacterBounds( |
803 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 806 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
804 virtual bool CanComposeInline() OVERRIDE; | 807 virtual bool CanComposeInline() OVERRIDE; |
| 808 virtual void DidCommitCompositorFrame() OVERRIDE; |
805 | 809 |
806 protected: | 810 protected: |
807 explicit RenderViewImpl(RenderViewImplParams* params); | 811 explicit RenderViewImpl(RenderViewImplParams* params); |
808 | 812 |
809 // Do not delete directly. This class is reference counted. | 813 // Do not delete directly. This class is reference counted. |
810 virtual ~RenderViewImpl(); | 814 virtual ~RenderViewImpl(); |
811 | 815 |
812 private: | 816 private: |
813 // For unit tests. | 817 // For unit tests. |
814 friend class ExternalPopupMenuTest; | 818 friend class ExternalPopupMenuTest; |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 // use the Observer interface to filter IPC messages and receive frame change | 1594 // use the Observer interface to filter IPC messages and receive frame change |
1591 // notifications. | 1595 // notifications. |
1592 // --------------------------------------------------------------------------- | 1596 // --------------------------------------------------------------------------- |
1593 | 1597 |
1594 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1598 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1595 }; | 1599 }; |
1596 | 1600 |
1597 } // namespace content | 1601 } // namespace content |
1598 | 1602 |
1599 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1603 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |