| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 // Returns the view into which this view is directly embedded. This can | 189 // Returns the view into which this view is directly embedded. This can |
| 190 // return nullptr when this view's associated child frame is not connected | 190 // return nullptr when this view's associated child frame is not connected |
| 191 // to the frame tree. | 191 // to the frame tree. |
| 192 RenderWidgetHostViewBase* GetParentView(); | 192 RenderWidgetHostViewBase* GetParentView(); |
| 193 | 193 |
| 194 void RegisterFrameSinkId(); | 194 void RegisterFrameSinkId(); |
| 195 void UnregisterFrameSinkId(); | 195 void UnregisterFrameSinkId(); |
| 196 | 196 |
| 197 void UpdateViewportIntersection(const gfx::Rect& viewport_intersection); | 197 void UpdateViewportIntersection(const gfx::Rect& viewport_intersection); |
| 198 | 198 |
| 199 void SetIsInert(bool); |
| 200 |
| 199 bool has_frame() { return has_frame_; } | 201 bool has_frame() { return has_frame_; } |
| 200 | 202 |
| 201 ui::TextInputType GetTextInputType() const; | 203 ui::TextInputType GetTextInputType() const; |
| 202 bool GetSelectionRange(gfx::Range* range) const; | 204 bool GetSelectionRange(gfx::Range* range) const; |
| 203 // This returns the origin of this views's bounding rect in the coordinates | 205 // This returns the origin of this views's bounding rect in the coordinates |
| 204 // of the root RenderWidgetHostView. | 206 // of the root RenderWidgetHostView. |
| 205 gfx::Point GetViewOriginInRoot() const; | 207 gfx::Point GetViewOriginInRoot() const; |
| 206 | 208 |
| 207 protected: | 209 protected: |
| 208 friend class RenderWidgetHostView; | 210 friend class RenderWidgetHostView; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 std::unique_ptr<TouchSelectionControllerClientChildFrame> | 286 std::unique_ptr<TouchSelectionControllerClientChildFrame> |
| 285 selection_controller_client_; | 287 selection_controller_client_; |
| 286 | 288 |
| 287 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 289 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 288 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 290 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 289 }; | 291 }; |
| 290 | 292 |
| 291 } // namespace content | 293 } // namespace content |
| 292 | 294 |
| 293 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 295 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |