| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 RenderWidgetHostViewBase* target_view, | 143 RenderWidgetHostViewBase* target_view, |
| 144 gfx::Point* transformed_point) override; | 144 gfx::Point* transformed_point) override; |
| 145 | 145 |
| 146 bool IsRenderWidgetHostViewChildFrame() override; | 146 bool IsRenderWidgetHostViewChildFrame() override; |
| 147 | 147 |
| 148 #if defined(OS_MACOSX) | 148 #if defined(OS_MACOSX) |
| 149 // RenderWidgetHostView implementation. | 149 // RenderWidgetHostView implementation. |
| 150 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; | 150 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; |
| 151 void SetActive(bool active) override; | 151 void SetActive(bool active) override; |
| 152 void ShowDefinitionForSelection() override; | 152 void ShowDefinitionForSelection() override; |
| 153 bool SupportsSpeech() const override; |
| 153 void SpeakSelection() override; | 154 void SpeakSelection() override; |
| 155 bool IsSpeaking() const override; |
| 156 void StopSpeaking() override; |
| 154 #endif // defined(OS_MACOSX) | 157 #endif // defined(OS_MACOSX) |
| 155 | 158 |
| 156 InputEventAckState FilterInputEvent( | 159 InputEventAckState FilterInputEvent( |
| 157 const blink::WebInputEvent& input_event) override; | 160 const blink::WebInputEvent& input_event) override; |
| 158 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 161 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 159 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 162 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
| 160 | 163 |
| 161 // cc::SurfaceFactoryClient implementation. | 164 // cc::SurfaceFactoryClient implementation. |
| 162 void ReturnResources(const cc::ReturnedResourceArray& resources) override; | 165 void ReturnResources(const cc::ReturnedResourceArray& resources) override; |
| 163 void SetBeginFrameSource(cc::BeginFrameSource* source) override; | 166 void SetBeginFrameSource(cc::BeginFrameSource* source) override; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 // The surface client ID of the parent RenderWidgetHostView. 0 if none. | 266 // The surface client ID of the parent RenderWidgetHostView. 0 if none. |
| 264 cc::FrameSinkId parent_frame_sink_id_; | 267 cc::FrameSinkId parent_frame_sink_id_; |
| 265 | 268 |
| 266 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 269 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 267 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 268 }; | 271 }; |
| 269 | 272 |
| 270 } // namespace content | 273 } // namespace content |
| 271 | 274 |
| 272 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 275 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |