| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 bool IsSpeaking() const override; | 151 bool IsSpeaking() const override; |
| 152 void StopSpeaking() override; | 152 void StopSpeaking() override; |
| 153 #endif // defined(OS_MACOSX) | 153 #endif // defined(OS_MACOSX) |
| 154 | 154 |
| 155 InputEventAckState FilterInputEvent( | 155 InputEventAckState FilterInputEvent( |
| 156 const blink::WebInputEvent& input_event) override; | 156 const blink::WebInputEvent& input_event) override; |
| 157 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 157 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 158 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 158 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
| 159 | 159 |
| 160 // cc::CompositorFrameSinkSupportClient implementation. | 160 // cc::CompositorFrameSinkSupportClient implementation. |
| 161 void DidReceiveCompositorFrameAck() override; | 161 void DidReceiveCompositorFrameAck( |
| 162 const cc::ReturnedResourceArray& resources) override; |
| 162 void OnBeginFrame(const cc::BeginFrameArgs& args) override; | 163 void OnBeginFrame(const cc::BeginFrameArgs& args) override; |
| 163 void ReclaimResources(const cc::ReturnedResourceArray& resources) override; | 164 void ReclaimResources(const cc::ReturnedResourceArray& resources) override; |
| 164 void WillDrawSurface(const cc::LocalSurfaceId& id, | 165 void WillDrawSurface(const cc::LocalSurfaceId& id, |
| 165 const gfx::Rect& damage_rect) override {} | 166 const gfx::Rect& damage_rect) override {} |
| 166 | 167 |
| 167 // Exposed for tests. | 168 // Exposed for tests. |
| 168 bool IsChildFrameForTesting() const override; | 169 bool IsChildFrameForTesting() const override; |
| 169 cc::SurfaceId SurfaceIdForTesting() const override; | 170 cc::SurfaceId SurfaceIdForTesting() const override; |
| 170 CrossProcessFrameConnector* FrameConnectorForTesting() const { | 171 CrossProcessFrameConnector* FrameConnectorForTesting() const { |
| 171 return frame_connector_; | 172 return frame_connector_; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 // The background color of the widget. | 261 // The background color of the widget. |
| 261 SkColor background_color_; | 262 SkColor background_color_; |
| 262 | 263 |
| 263 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 264 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
| 264 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 265 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
| 265 }; | 266 }; |
| 266 | 267 |
| 267 } // namespace content | 268 } // namespace content |
| 268 | 269 |
| 269 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 270 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |