| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; | 138 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; |
| 139 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; | 139 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 140 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 140 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
| 141 const ui::LatencyInfo& latency) override; | 141 const ui::LatencyInfo& latency) override; |
| 142 void ProcessGestureEvent(const blink::WebGestureEvent& event, | 142 void ProcessGestureEvent(const blink::WebGestureEvent& event, |
| 143 const ui::LatencyInfo& latency) override; | 143 const ui::LatencyInfo& latency) override; |
| 144 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; | 144 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; |
| 145 | 145 |
| 146 #if defined(OS_MACOSX) | 146 #if defined(OS_MACOSX) |
| 147 // RenderWidgetHostView implementation. | 147 // RenderWidgetHostView implementation. |
| 148 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 148 void SetActive(bool active) override; | 149 void SetActive(bool active) override; |
| 149 void ShowDefinitionForSelection() override; | 150 void ShowDefinitionForSelection() override; |
| 150 bool SupportsSpeech() const override; | 151 bool SupportsSpeech() const override; |
| 151 void SpeakSelection() override; | 152 void SpeakSelection() override; |
| 152 bool IsSpeaking() const override; | 153 bool IsSpeaking() const override; |
| 153 void StopSpeaking() override; | 154 void StopSpeaking() override; |
| 154 #endif // defined(OS_MACOSX) | 155 #endif // defined(OS_MACOSX) |
| 155 | 156 |
| 156 // RenderWidgetHostViewBase implementation. | 157 // RenderWidgetHostViewBase implementation. |
| 157 void LockCompositingSurface() override; | 158 void LockCompositingSurface() override; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 // it convenient to swap() when processing the list. | 227 // it convenient to swap() when processing the list. |
| 227 FrameSwappedCallbackList frame_swapped_callbacks_; | 228 FrameSwappedCallbackList frame_swapped_callbacks_; |
| 228 | 229 |
| 229 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 230 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 230 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 231 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 } // namespace content | 234 } // namespace content |
| 234 | 235 |
| 235 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 236 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |