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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 gfx::Rect GetViewBounds() const override; | 50 gfx::Rect GetViewBounds() const override; |
51 gfx::Vector2dF GetLastScrollOffset() const override; | 51 gfx::Vector2dF GetLastScrollOffset() const override; |
52 gfx::NativeView GetNativeView() const override; | 52 gfx::NativeView GetNativeView() const override; |
53 gfx::NativeViewId GetNativeViewId() const override; | 53 gfx::NativeViewId GetNativeViewId() const override; |
54 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 54 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
55 void SetBackgroundColor(SkColor color) override; | 55 void SetBackgroundColor(SkColor color) override; |
56 gfx::Size GetPhysicalBackingSize() const override; | 56 gfx::Size GetPhysicalBackingSize() const override; |
57 | 57 |
58 // RenderWidgetHostViewBase implementation. | 58 // RenderWidgetHostViewBase implementation. |
59 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 59 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
60 const gfx::Rect& pos) override; | 60 const gfx::Rect& bounds) override; |
61 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 61 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
62 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 62 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
63 void Blur() override; | 63 void Blur() override; |
64 void UpdateCursor(const WebCursor& cursor) override; | 64 void UpdateCursor(const WebCursor& cursor) override; |
65 void SetIsLoading(bool is_loading) override; | 65 void SetIsLoading(bool is_loading) override; |
66 void TextInputTypeChanged(ui::TextInputType type, | 66 void TextInputTypeChanged(ui::TextInputType type, |
67 ui::TextInputMode input_mode, | 67 ui::TextInputMode input_mode, |
68 bool can_compose_inline, | 68 bool can_compose_inline, |
69 int flags) override; | 69 int flags) override; |
70 void ImeCancelComposition() override; | 70 void ImeCancelComposition() override; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 // sent through it are routed to the embedding renderer process. | 148 // sent through it are routed to the embedding renderer process. |
149 CrossProcessFrameConnector* frame_connector_; | 149 CrossProcessFrameConnector* frame_connector_; |
150 | 150 |
151 private: | 151 private: |
152 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 152 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
153 }; | 153 }; |
154 | 154 |
155 } // namespace content | 155 } // namespace content |
156 | 156 |
157 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 157 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |