OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 void SetBackgroundColor(SkColor color) override; | 89 void SetBackgroundColor(SkColor color) override; |
90 gfx::Size GetPhysicalBackingSize() const override; | 90 gfx::Size GetPhysicalBackingSize() const override; |
91 bool IsMouseLocked() override; | 91 bool IsMouseLocked() override; |
92 | 92 |
93 // RenderWidgetHostViewBase implementation. | 93 // RenderWidgetHostViewBase implementation. |
94 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 94 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
95 const gfx::Rect& bounds) override; | 95 const gfx::Rect& bounds) override; |
96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 96 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
97 void UpdateCursor(const WebCursor& cursor) override; | 97 void UpdateCursor(const WebCursor& cursor) override; |
98 void SetIsLoading(bool is_loading) override; | 98 void SetIsLoading(bool is_loading) override; |
99 void ImeCancelComposition() override; | |
100 void ImeCompositionRangeChanged( | 99 void ImeCompositionRangeChanged( |
101 const gfx::Range& range, | 100 const gfx::Range& range, |
102 const std::vector<gfx::Rect>& character_bounds) override; | 101 const std::vector<gfx::Rect>& character_bounds) override; |
103 void RenderProcessGone(base::TerminationStatus status, | 102 void RenderProcessGone(base::TerminationStatus status, |
104 int error_code) override; | 103 int error_code) override; |
105 void Destroy() override; | 104 void Destroy() override; |
106 void SetTooltipText(const base::string16& tooltip_text) override; | 105 void SetTooltipText(const base::string16& tooltip_text) override; |
107 void SelectionChanged(const base::string16& text, | 106 void SelectionChanged(const base::string16& text, |
108 size_t offset, | 107 size_t offset, |
109 const gfx::Range& range) override; | 108 const gfx::Range& range) override; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. | 244 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. |
246 uint32_t parent_surface_id_namespace_; | 245 uint32_t parent_surface_id_namespace_; |
247 | 246 |
248 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 247 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
249 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 248 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
250 }; | 249 }; |
251 | 250 |
252 } // namespace content | 251 } // namespace content |
253 | 252 |
254 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 253 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |