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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 void Show() override; | 82 void Show() override; |
83 void Hide() override; | 83 void Hide() override; |
84 bool IsShowing() override; | 84 bool IsShowing() override; |
85 gfx::Rect GetViewBounds() const override; | 85 gfx::Rect GetViewBounds() const override; |
86 gfx::Size GetVisibleViewportSize() const override; | 86 gfx::Size GetVisibleViewportSize() const override; |
87 gfx::Vector2dF GetLastScrollOffset() const override; | 87 gfx::Vector2dF GetLastScrollOffset() const override; |
88 gfx::NativeView GetNativeView() const override; | 88 gfx::NativeView GetNativeView() const override; |
89 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 89 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
90 void SetBackgroundColor(SkColor color) override; | 90 void SetBackgroundColor(SkColor color) override; |
91 gfx::Size GetPhysicalBackingSize() const override; | 91 gfx::Size GetPhysicalBackingSize() const override; |
| 92 bool IsMouseLocked() override; |
92 | 93 |
93 // RenderWidgetHostViewBase implementation. | 94 // RenderWidgetHostViewBase implementation. |
94 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 95 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
95 const gfx::Rect& bounds) override; | 96 const gfx::Rect& bounds) override; |
96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 97 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
97 void UpdateCursor(const WebCursor& cursor) override; | 98 void UpdateCursor(const WebCursor& cursor) override; |
98 void SetIsLoading(bool is_loading) override; | 99 void SetIsLoading(bool is_loading) override; |
99 void TextInputStateChanged(const TextInputState& params) override; | 100 void TextInputStateChanged(const TextInputState& params) override; |
100 void ImeCancelComposition() override; | 101 void ImeCancelComposition() override; |
101 void ImeCompositionRangeChanged( | 102 void ImeCompositionRangeChanged( |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. | 247 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. |
247 uint32_t parent_surface_id_namespace_; | 248 uint32_t parent_surface_id_namespace_; |
248 | 249 |
249 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 250 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
250 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 251 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
251 }; | 252 }; |
252 | 253 |
253 } // namespace content | 254 } // namespace content |
254 | 255 |
255 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 256 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |