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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 gfx::NativeViewId GetNativeViewId() const override; | 119 gfx::NativeViewId GetNativeViewId() const override; |
120 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 120 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
121 ui::TextInputClient* GetTextInputClient() override; | 121 ui::TextInputClient* GetTextInputClient() override; |
122 bool HasFocus() const override; | 122 bool HasFocus() const override; |
123 bool IsSurfaceAvailableForCopy() const override; | 123 bool IsSurfaceAvailableForCopy() const override; |
124 void Show() override; | 124 void Show() override; |
125 void Hide() override; | 125 void Hide() override; |
126 bool IsShowing() override; | 126 bool IsShowing() override; |
127 gfx::Rect GetViewBounds() const override; | 127 gfx::Rect GetViewBounds() const override; |
128 void SetBackgroundColor(SkColor color) override; | 128 void SetBackgroundColor(SkColor color) override; |
| 129 void SetBackgroundOpaque(bool opaque) override; |
129 gfx::Size GetVisibleViewportSize() const override; | 130 gfx::Size GetVisibleViewportSize() const override; |
130 void SetInsets(const gfx::Insets& insets) override; | 131 void SetInsets(const gfx::Insets& insets) override; |
131 | 132 |
132 // Overridden from RenderWidgetHostViewBase: | 133 // Overridden from RenderWidgetHostViewBase: |
133 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 134 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
134 const gfx::Rect& pos) override; | 135 const gfx::Rect& pos) override; |
135 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 136 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
136 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 137 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
137 void Focus() override; | 138 void Focus() override; |
138 void UpdateCursor(const WebCursor& cursor) override; | 139 void UpdateCursor(const WebCursor& cursor) override; |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 float device_scale_factor_; | 705 float device_scale_factor_; |
705 | 706 |
706 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 707 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
707 | 708 |
708 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 709 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
709 }; | 710 }; |
710 | 711 |
711 } // namespace content | 712 } // namespace content |
712 | 713 |
713 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 714 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |