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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 void SetBackgroundColor(SkColor color) override; | 60 void SetBackgroundColor(SkColor color) override; |
61 gfx::Size GetPhysicalBackingSize() const override; | 61 gfx::Size GetPhysicalBackingSize() const override; |
62 base::string16 GetSelectedText() const override; | 62 base::string16 GetSelectedText() const override; |
63 | 63 |
64 // RenderWidgetHostViewBase implementation. | 64 // RenderWidgetHostViewBase implementation. |
65 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 65 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
66 const gfx::Rect& bounds) override; | 66 const gfx::Rect& bounds) override; |
67 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 67 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
68 void UpdateCursor(const WebCursor& cursor) override; | 68 void UpdateCursor(const WebCursor& cursor) override; |
69 void SetIsLoading(bool is_loading) override; | 69 void SetIsLoading(bool is_loading) override; |
70 void UpdateInputMethodIfNecessary(bool text_input_state_changed) override; | 70 void TextInputStateChanged( |
| 71 const ViewHostMsg_TextInputState_Params& params) override; |
71 void ImeCancelComposition() override; | 72 void ImeCancelComposition() override; |
72 #if defined(OS_MACOSX) || defined(USE_AURA) | 73 #if defined(OS_MACOSX) || defined(USE_AURA) |
73 void ImeCompositionRangeChanged( | 74 void ImeCompositionRangeChanged( |
74 const gfx::Range& range, | 75 const gfx::Range& range, |
75 const std::vector<gfx::Rect>& character_bounds) override; | 76 const std::vector<gfx::Rect>& character_bounds) override; |
76 #endif | 77 #endif |
77 void RenderProcessGone(base::TerminationStatus status, | 78 void RenderProcessGone(base::TerminationStatus status, |
78 int error_code) override; | 79 int error_code) override; |
79 void Destroy() override; | 80 void Destroy() override; |
80 void SetTooltipText(const base::string16& tooltip_text) override; | 81 void SetTooltipText(const base::string16& tooltip_text) override; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 aura::Window* aura_window_; | 120 aura::Window* aura_window_; |
120 | 121 |
121 std::unique_ptr<mus::ScopedWindowPtr> mus_window_; | 122 std::unique_ptr<mus::ScopedWindowPtr> mus_window_; |
122 | 123 |
123 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 124 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
124 }; | 125 }; |
125 | 126 |
126 } // namespace content | 127 } // namespace content |
127 | 128 |
128 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 129 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
OLD | NEW |