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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
77 void SetBackgroundColor(SkColor color) override; | 77 void SetBackgroundColor(SkColor color) override; |
78 gfx::Size GetPhysicalBackingSize() const override; | 78 gfx::Size GetPhysicalBackingSize() const override; |
79 | 79 |
80 // RenderWidgetHostViewBase implementation. | 80 // RenderWidgetHostViewBase implementation. |
81 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 81 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
82 const gfx::Rect& bounds) override; | 82 const gfx::Rect& bounds) override; |
83 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; | 83 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override; |
84 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; | 84 void MovePluginWindows(const std::vector<WebPluginGeometry>& moves) override; |
85 void UpdateCursor(const WebCursor& cursor) override; | 85 void UpdateCursor(const WebCursor& cursor) override; |
86 void SetIsLoading(bool is_loading) override; | 86 void SetIsLoading(bool is_loading) override; |
87 void TextInputStateChanged( | 87 void NotifyTextInputStateChanged() override; |
88 const ViewHostMsg_TextInputState_Params& params) override; | 88 bool ShouldObtainTextInputStateFromSubFrameViews() const override; |
kenrb
2016/02/01 20:12:43
nit: SubFrame should be ChildFrame, to keep termin
EhsanK
2016/02/12 15:46:59
Done.
| |
89 void ImeCancelComposition() override; | 89 void ImeCancelComposition() override; |
90 void ImeCompositionRangeChanged( | 90 void ImeCompositionRangeChanged( |
91 const gfx::Range& range, | 91 const gfx::Range& range, |
92 const std::vector<gfx::Rect>& character_bounds) override; | 92 const std::vector<gfx::Rect>& character_bounds) override; |
93 void RenderProcessGone(base::TerminationStatus status, | 93 void RenderProcessGone(base::TerminationStatus status, |
94 int error_code) override; | 94 int error_code) override; |
95 void Destroy() override; | 95 void Destroy() override; |
96 void SetTooltipText(const base::string16& tooltip_text) override; | 96 void SetTooltipText(const base::string16& tooltip_text) override; |
97 void SelectionChanged(const base::string16& text, | 97 void SelectionChanged(const base::string16& text, |
98 size_t offset, | 98 size_t offset, |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
205 } | 205 } |
206 | 206 |
207 private: | 207 private: |
208 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 208 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
209 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 209 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
210 }; | 210 }; |
211 | 211 |
212 } // namespace content | 212 } // namespace content |
213 | 213 |
214 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 214 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |