OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 9 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 bool HasFocus() const override; | 44 bool HasFocus() const override; |
45 bool IsSurfaceAvailableForCopy() const override; | 45 bool IsSurfaceAvailableForCopy() const override; |
46 void Show() override; | 46 void Show() override; |
47 void Hide() override; | 47 void Hide() override; |
48 bool IsShowing() override; | 48 bool IsShowing() override; |
49 gfx::Rect GetViewBounds() const override; | 49 gfx::Rect GetViewBounds() const override; |
50 gfx::Vector2dF GetLastScrollOffset() const override; | 50 gfx::Vector2dF GetLastScrollOffset() const override; |
51 gfx::NativeView GetNativeView() const override; | 51 gfx::NativeView GetNativeView() const override; |
52 gfx::NativeViewId GetNativeViewId() const override; | 52 gfx::NativeViewId GetNativeViewId() const override; |
53 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 53 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
54 void SetBackgroundOpaque(bool opaque) override; | 54 void SetBackgroundColor(SkColor color) override; |
55 gfx::Size GetPhysicalBackingSize() const override; | 55 gfx::Size GetPhysicalBackingSize() const override; |
56 | 56 |
57 // RenderWidgetHostViewBase implementation. | 57 // RenderWidgetHostViewBase implementation. |
58 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 58 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
59 const gfx::Rect& pos) override; | 59 const gfx::Rect& pos) override; |
60 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 60 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
61 void WasShown() override; | 61 void WasShown() override; |
62 void WasHidden() override; | 62 void WasHidden() override; |
63 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 63 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
64 void Blur() override; | 64 void Blur() override; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // sent through it are routed to the embedding renderer process. | 154 // sent through it are routed to the embedding renderer process. |
155 CrossProcessFrameConnector* frame_connector_; | 155 CrossProcessFrameConnector* frame_connector_; |
156 | 156 |
157 private: | 157 private: |
158 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 158 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
159 }; | 159 }; |
160 | 160 |
161 } // namespace content | 161 } // namespace content |
162 | 162 |
163 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 163 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |