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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 const ui::LatencyInfo& latency) override; | 147 const ui::LatencyInfo& latency) override; |
148 void ProcessGestureEvent(const blink::WebGestureEvent& event, | 148 void ProcessGestureEvent(const blink::WebGestureEvent& event, |
149 const ui::LatencyInfo& latency) override; | 149 const ui::LatencyInfo& latency) override; |
150 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; | 150 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; |
151 | 151 |
152 #if defined(OS_MACOSX) | 152 #if defined(OS_MACOSX) |
153 // RenderWidgetHostView implementation. | 153 // RenderWidgetHostView implementation. |
154 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 154 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
155 void SetActive(bool active) override; | 155 void SetActive(bool active) override; |
156 void ShowDefinitionForSelection() override; | 156 void ShowDefinitionForSelection() override; |
157 bool SupportsSpeech() const override; | |
158 void SpeakSelection() override; | 157 void SpeakSelection() override; |
159 bool IsSpeaking() const override; | |
160 void StopSpeaking() override; | |
161 #endif // defined(OS_MACOSX) | 158 #endif // defined(OS_MACOSX) |
162 | 159 |
163 // RenderWidgetHostViewBase implementation. | 160 // RenderWidgetHostViewBase implementation. |
164 void LockCompositingSurface() override; | 161 void LockCompositingSurface() override; |
165 void UnlockCompositingSurface() override; | 162 void UnlockCompositingSurface() override; |
166 | 163 |
167 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 164 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
168 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 165 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
169 | 166 |
170 // cc::SurfaceFactoryClient implementation. | 167 // cc::SurfaceFactoryClient implementation. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. | 244 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. |
248 uint32_t parent_surface_id_namespace_; | 245 uint32_t parent_surface_id_namespace_; |
249 | 246 |
250 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 247 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
251 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 248 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
252 }; | 249 }; |
253 | 250 |
254 } // namespace content | 251 } // namespace content |
255 | 252 |
256 #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 |