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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 void SetActive(bool active) override; | 150 void SetActive(bool active) override; |
151 void ShowDefinitionForSelection() override; | 151 void ShowDefinitionForSelection() override; |
152 bool SupportsSpeech() const override; | 152 bool SupportsSpeech() const override; |
153 void SpeakSelection() override; | 153 void SpeakSelection() override; |
154 bool IsSpeaking() const override; | 154 bool IsSpeaking() const override; |
155 void StopSpeaking() override; | 155 void StopSpeaking() override; |
156 #endif // defined(OS_MACOSX) | 156 #endif // defined(OS_MACOSX) |
157 | 157 |
158 InputEventAckState FilterInputEvent( | 158 InputEventAckState FilterInputEvent( |
159 const blink::WebInputEvent& input_event) override; | 159 const blink::WebInputEvent& input_event) override; |
| 160 void OnSetNeedsFlushInput() override; |
160 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 161 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
161 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 162 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
162 | 163 |
163 // cc::CompositorFrameSinkSupportClient implementation. | 164 // cc::CompositorFrameSinkSupportClient implementation. |
164 void DidReceiveCompositorFrameAck( | 165 void DidReceiveCompositorFrameAck( |
165 const cc::ReturnedResourceArray& resources) override; | 166 const cc::ReturnedResourceArray& resources) override; |
166 void OnBeginFrame(const cc::BeginFrameArgs& args) override; | 167 void OnBeginFrame(const cc::BeginFrameArgs& args) override; |
167 void ReclaimResources(const cc::ReturnedResourceArray& resources) override; | 168 void ReclaimResources(const cc::ReturnedResourceArray& resources) override; |
168 void WillDrawSurface(const cc::LocalSurfaceId& id, | 169 void WillDrawSurface(const cc::LocalSurfaceId& id, |
169 const gfx::Rect& damage_rect) override {} | 170 const gfx::Rect& damage_rect) override {} |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // The background color of the widget. | 267 // The background color of the widget. |
267 SkColor background_color_; | 268 SkColor background_color_; |
268 | 269 |
269 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 270 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 271 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
271 }; | 272 }; |
272 | 273 |
273 } // namespace content | 274 } // namespace content |
274 | 275 |
275 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 276 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |