OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUS_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 bool IsSurfaceAvailableForCopy() const override; | 55 bool IsSurfaceAvailableForCopy() const override; |
56 void Show() override; | 56 void Show() override; |
57 void Hide() override; | 57 void Hide() override; |
58 bool IsShowing() override; | 58 bool IsShowing() override; |
59 gfx::NativeView GetNativeView() const override; | 59 gfx::NativeView GetNativeView() const override; |
60 gfx::NativeViewAccessible GetNativeViewAccessible() override; | 60 gfx::NativeViewAccessible GetNativeViewAccessible() override; |
61 gfx::Rect GetViewBounds() const override; | 61 gfx::Rect GetViewBounds() const override; |
62 gfx::Vector2dF GetLastScrollOffset() const override; | 62 gfx::Vector2dF GetLastScrollOffset() const override; |
63 void SetBackgroundColor(SkColor color) override; | 63 void SetBackgroundColor(SkColor color) override; |
64 gfx::Size GetPhysicalBackingSize() const override; | 64 gfx::Size GetPhysicalBackingSize() const override; |
65 base::string16 GetSelectedText() const override; | 65 base::string16 GetSelectedText() override; |
66 | 66 |
67 // RenderWidgetHostViewBase implementation. | 67 // RenderWidgetHostViewBase implementation. |
68 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 68 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
69 const gfx::Rect& bounds) override; | 69 const gfx::Rect& bounds) override; |
70 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 70 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
71 void UpdateCursor(const WebCursor& cursor) override; | 71 void UpdateCursor(const WebCursor& cursor) override; |
72 void SetIsLoading(bool is_loading) override; | 72 void SetIsLoading(bool is_loading) override; |
73 void TextInputStateChanged(const TextInputState& params) override; | 73 void TextInputStateChanged(const TextInputState& params) override; |
74 void ImeCancelComposition() override; | 74 void ImeCancelComposition() override; |
75 #if defined(OS_MACOSX) || defined(USE_AURA) | 75 #if defined(OS_MACOSX) || defined(USE_AURA) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 aura::Window* aura_window_; | 129 aura::Window* aura_window_; |
130 | 130 |
131 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; | 131 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; |
132 | 132 |
133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
134 }; | 134 }; |
135 | 135 |
136 } // namespace content | 136 } // namespace content |
137 | 137 |
138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
OLD | NEW |