Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: address nits, rename to DidNotProduceFrame. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 162 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
163 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 163 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
164 void SetMainFrameAXTreeID(ui::AXTreeIDRegistry::AXTreeID id) override; 164 void SetMainFrameAXTreeID(ui::AXTreeIDRegistry::AXTreeID id) override;
165 bool LockMouse() override; 165 bool LockMouse() override;
166 void UnlockMouse() override; 166 void UnlockMouse() override;
167 void DidCreateNewRendererCompositorFrameSink( 167 void DidCreateNewRendererCompositorFrameSink(
168 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) 168 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink)
169 override; 169 override;
170 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, 170 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id,
171 cc::CompositorFrame frame) override; 171 cc::CompositorFrame frame) override;
172 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; 172 void OnDidNotProduceFrame(const cc::BeginFrameAck& ack) override;
173 void ClearCompositorFrame() override; 173 void ClearCompositorFrame() override;
174 void DidStopFlinging() override; 174 void DidStopFlinging() override;
175 void OnDidNavigateMainFrameToNewPage() override; 175 void OnDidNavigateMainFrameToNewPage() override;
176 cc::FrameSinkId GetFrameSinkId() override; 176 cc::FrameSinkId GetFrameSinkId() override;
177 cc::LocalSurfaceId GetLocalSurfaceId() const override; 177 cc::LocalSurfaceId GetLocalSurfaceId() const override;
178 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate, 178 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate,
179 const gfx::Point& point, 179 const gfx::Point& point,
180 gfx::Point* transformed_point) override; 180 gfx::Point* transformed_point) override;
181 void ProcessMouseEvent(const blink::WebMouseEvent& event, 181 void ProcessMouseEvent(const blink::WebMouseEvent& event,
182 const ui::LatencyInfo& latency) override; 182 const ui::LatencyInfo& latency) override;
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 cc::LocalSurfaceId local_surface_id_; 598 cc::LocalSurfaceId local_surface_id_;
599 599
600 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 600 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
601 601
602 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 602 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
603 }; 603 };
604 604
605 } // namespace content 605 } // namespace content
606 606
607 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 607 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698