| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 bool TransformPointToLocalCoordSpace(const gfx::Point& point, | 144 bool TransformPointToLocalCoordSpace(const gfx::Point& point, |
| 145 const cc::SurfaceId& original_surface, | 145 const cc::SurfaceId& original_surface, |
| 146 gfx::Point* transformed_point) override; | 146 gfx::Point* transformed_point) override; |
| 147 bool TransformPointToCoordSpaceForView( | 147 bool TransformPointToCoordSpaceForView( |
| 148 const gfx::Point& point, | 148 const gfx::Point& point, |
| 149 RenderWidgetHostViewBase* target_view, | 149 RenderWidgetHostViewBase* target_view, |
| 150 gfx::Point* transformed_point) override; | 150 gfx::Point* transformed_point) override; |
| 151 | 151 |
| 152 bool IsRenderWidgetHostViewChildFrame() override; | 152 bool IsRenderWidgetHostViewChildFrame() override; |
| 153 | 153 |
| 154 void WillSendScreenRects() override; |
| 155 |
| 154 #if defined(OS_MACOSX) | 156 #if defined(OS_MACOSX) |
| 155 // RenderWidgetHostView implementation. | 157 // RenderWidgetHostView implementation. |
| 156 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 158 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 157 void SetActive(bool active) override; | 159 void SetActive(bool active) override; |
| 158 void ShowDefinitionForSelection() override; | 160 void ShowDefinitionForSelection() override; |
| 159 bool SupportsSpeech() const override; | 161 bool SupportsSpeech() const override; |
| 160 void SpeakSelection() override; | 162 void SpeakSelection() override; |
| 161 bool IsSpeaking() const override; | 163 bool IsSpeaking() const override; |
| 162 void StopSpeaking() override; | 164 void StopSpeaking() override; |
| 163 #endif // defined(OS_MACOSX) | 165 #endif // defined(OS_MACOSX) |
| (...skipping 120 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 |