Chromium Code Reviews| 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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 727 const WebKit::WebString& message) OVERRIDE; | 727 const WebKit::WebString& message) OVERRIDE; |
| 728 virtual void LoadURLExternally( | 728 virtual void LoadURLExternally( |
| 729 WebKit::WebFrame* frame, | 729 WebKit::WebFrame* frame, |
| 730 const WebKit::WebURLRequest& request, | 730 const WebKit::WebURLRequest& request, |
| 731 WebKit::WebNavigationPolicy policy) OVERRIDE; | 731 WebKit::WebNavigationPolicy policy) OVERRIDE; |
| 732 virtual void Repaint(const gfx::Size& size) OVERRIDE; | 732 virtual void Repaint(const gfx::Size& size) OVERRIDE; |
| 733 virtual void SetEditCommandForNextKeyEvent(const std::string& name, | 733 virtual void SetEditCommandForNextKeyEvent(const std::string& name, |
| 734 const std::string& value) OVERRIDE; | 734 const std::string& value) OVERRIDE; |
| 735 virtual void ClearEditCommands() OVERRIDE; | 735 virtual void ClearEditCommands() OVERRIDE; |
| 736 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; | 736 virtual SSLStatus GetSSLStatusOfFrame(WebKit::WebFrame* frame) const OVERRIDE; |
| 737 #if defined(OS_ANDROID) | |
| 738 virtual skia::RefPtr<SkPicture> CapturePicture() OVERRIDE; | |
| 739 #endif | |
| 737 | 740 |
| 738 // webkit_glue::WebPluginPageDelegate implementation ------------------------- | 741 // webkit_glue::WebPluginPageDelegate implementation ------------------------- |
| 739 | 742 |
| 740 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( | 743 virtual webkit::npapi::WebPluginDelegate* CreatePluginDelegate( |
| 741 const FilePath& file_path, | 744 const FilePath& file_path, |
| 742 const std::string& mime_type) OVERRIDE; | 745 const std::string& mime_type) OVERRIDE; |
| 743 virtual WebKit::WebPlugin* CreatePluginReplacement( | 746 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 744 const FilePath& file_path) OVERRIDE; | 747 const FilePath& file_path) OVERRIDE; |
| 745 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 748 virtual void CreatedPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
| 746 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; | 749 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle) OVERRIDE; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 801 int selection_start, | 804 int selection_start, |
| 802 int selection_end) OVERRIDE; | 805 int selection_end) OVERRIDE; |
| 803 virtual void OnImeConfirmComposition( | 806 virtual void OnImeConfirmComposition( |
| 804 const string16& text, const ui::Range& replacement_range) OVERRIDE; | 807 const string16& text, const ui::Range& replacement_range) OVERRIDE; |
| 805 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; | 808 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
| 806 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 809 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
| 807 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 810 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
| 808 virtual void GetCompositionCharacterBounds( | 811 virtual void GetCompositionCharacterBounds( |
| 809 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 812 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
| 810 virtual bool CanComposeInline() OVERRIDE; | 813 virtual bool CanComposeInline() OVERRIDE; |
| 814 virtual void didCommitCompositorFrame() OVERRIDE; | |
|
jamesr
2013/02/12 20:00:35
this is in a comment block indicating that it's a
Leandro Graciá Gil
2013/02/12 21:08:56
Done.
| |
| 811 | 815 |
| 812 protected: | 816 protected: |
| 813 RenderViewImpl(RenderViewImplParams* params); | 817 RenderViewImpl(RenderViewImplParams* params); |
| 814 | 818 |
| 815 // Do not delete directly. This class is reference counted. | 819 // Do not delete directly. This class is reference counted. |
| 816 virtual ~RenderViewImpl(); | 820 virtual ~RenderViewImpl(); |
| 817 | 821 |
| 818 private: | 822 private: |
| 819 // For unit tests. | 823 // For unit tests. |
| 820 friend class ExternalPopupMenuTest; | 824 friend class ExternalPopupMenuTest; |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1598 // use the Observer interface to filter IPC messages and receive frame change | 1602 // use the Observer interface to filter IPC messages and receive frame change |
| 1599 // notifications. | 1603 // notifications. |
| 1600 // --------------------------------------------------------------------------- | 1604 // --------------------------------------------------------------------------- |
| 1601 | 1605 |
| 1602 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1606 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1603 }; | 1607 }; |
| 1604 | 1608 |
| 1605 } // namespace content | 1609 } // namespace content |
| 1606 | 1610 |
| 1607 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1611 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |