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 TextInputStateChanged( | 70 void UpdateInputMethodIfNecessary(bool text_input_state_changed) override; |
71 const ViewHostMsg_TextInputState_Params& params) override; | |
72 void ImeCancelComposition() override; | 71 void ImeCancelComposition() override; |
73 #if defined(OS_MACOSX) || defined(USE_AURA) | 72 #if defined(OS_MACOSX) || defined(USE_AURA) |
74 void ImeCompositionRangeChanged( | 73 void ImeCompositionRangeChanged( |
75 const gfx::Range& range, | 74 const gfx::Range& range, |
76 const std::vector<gfx::Rect>& character_bounds) override; | 75 const std::vector<gfx::Rect>& character_bounds) override; |
77 #endif | 76 #endif |
78 void RenderProcessGone(base::TerminationStatus status, | 77 void RenderProcessGone(base::TerminationStatus status, |
79 int error_code) override; | 78 int error_code) override; |
80 void Destroy() override; | 79 void Destroy() override; |
81 void SetTooltipText(const base::string16& tooltip_text) override; | 80 void SetTooltipText(const base::string16& tooltip_text) override; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 aura::Window* aura_window_; | 119 aura::Window* aura_window_; |
121 | 120 |
122 scoped_ptr<mus::ScopedWindowPtr> mus_window_; | 121 scoped_ptr<mus::ScopedWindowPtr> mus_window_; |
123 | 122 |
124 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 123 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
125 }; | 124 }; |
126 | 125 |
127 } // namespace content | 126 } // namespace content |
128 | 127 |
129 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 128 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
OLD | NEW |