| 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; | |
| 66 | 65 |
| 67 // RenderWidgetHostViewBase implementation. | 66 // RenderWidgetHostViewBase implementation. |
| 68 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 67 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 69 const gfx::Rect& bounds) override; | 68 const gfx::Rect& bounds) override; |
| 70 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 69 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
| 71 void UpdateCursor(const WebCursor& cursor) override; | 70 void UpdateCursor(const WebCursor& cursor) override; |
| 72 void SetIsLoading(bool is_loading) override; | 71 void SetIsLoading(bool is_loading) override; |
| 73 void TextInputStateChanged(const TextInputState& params) override; | 72 void TextInputStateChanged(const TextInputState& params) override; |
| 74 void ImeCancelComposition() override; | 73 void ImeCancelComposition() override; |
| 75 #if defined(OS_MACOSX) || defined(USE_AURA) | 74 #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_; | 128 aura::Window* aura_window_; |
| 130 | 129 |
| 131 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; | 130 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; |
| 132 | 131 |
| 133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 132 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
| 134 }; | 133 }; |
| 135 | 134 |
| 136 } // namespace content | 135 } // namespace content |
| 137 | 136 |
| 138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 137 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
| OLD | NEW |