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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 gfx::Rect GetViewBounds() const override; | 58 gfx::Rect GetViewBounds() const override; |
59 gfx::Vector2dF GetLastScrollOffset() const override; | 59 gfx::Vector2dF GetLastScrollOffset() const override; |
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 MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | |
69 void UpdateCursor(const WebCursor& cursor) override; | 68 void UpdateCursor(const WebCursor& cursor) override; |
70 void SetIsLoading(bool is_loading) override; | 69 void SetIsLoading(bool is_loading) override; |
71 void TextInputStateChanged( | 70 void TextInputStateChanged( |
72 const ViewHostMsg_TextInputState_Params& params) override; | 71 const ViewHostMsg_TextInputState_Params& params) override; |
73 void ImeCancelComposition() override; | 72 void ImeCancelComposition() override; |
74 #if defined(OS_MACOSX) || defined(USE_AURA) | 73 #if defined(OS_MACOSX) || defined(USE_AURA) |
75 void ImeCompositionRangeChanged( | 74 void ImeCompositionRangeChanged( |
76 const gfx::Range& range, | 75 const gfx::Range& range, |
77 const std::vector<gfx::Rect>& character_bounds) override; | 76 const std::vector<gfx::Rect>& character_bounds) override; |
78 #endif | 77 #endif |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 aura::Window* aura_window_; | 132 aura::Window* aura_window_; |
134 | 133 |
135 scoped_ptr<mus::ScopedWindowPtr> mus_window_; | 134 scoped_ptr<mus::ScopedWindowPtr> mus_window_; |
136 | 135 |
137 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 136 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
138 }; | 137 }; |
139 | 138 |
140 } // namespace content | 139 } // namespace content |
141 | 140 |
142 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 141 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
OLD | NEW |