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

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

Issue 1124523003: Revert of Enable BeginFrame scheduling on aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurfaceAPI.h> 9 #include <IOSurface/IOSurfaceAPI.h>
10 #include <list> 10 #include <list>
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 scoped_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( 484 scoped_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock(
485 bool defer_compositor_lock) override; 485 bool defer_compositor_lock) override;
486 void DelegatedFrameHostResizeLockWasReleased() override; 486 void DelegatedFrameHostResizeLockWasReleased() override;
487 void DelegatedFrameHostSendCompositorSwapAck( 487 void DelegatedFrameHostSendCompositorSwapAck(
488 int output_surface_id, 488 int output_surface_id,
489 const cc::CompositorFrameAck& ack) override; 489 const cc::CompositorFrameAck& ack) override;
490 void DelegatedFrameHostSendReclaimCompositorResources( 490 void DelegatedFrameHostSendReclaimCompositorResources(
491 int output_surface_id, 491 int output_surface_id,
492 const cc::CompositorFrameAck& ack) override; 492 const cc::CompositorFrameAck& ack) override;
493 void DelegatedFrameHostOnLostCompositorResources() override; 493 void DelegatedFrameHostOnLostCompositorResources() override;
494 void DelegatedFrameHostUpdateVSyncParameters(
495 const base::TimeTicks& timebase,
496 const base::TimeDelta& interval) override;
494 497
495 // AcceleratedWidgetMacNSView implementation. 498 // AcceleratedWidgetMacNSView implementation.
496 NSView* AcceleratedWidgetGetNSView() const override; 499 NSView* AcceleratedWidgetGetNSView() const override;
497 bool AcceleratedWidgetShouldIgnoreBackpressure() const override; 500 bool AcceleratedWidgetShouldIgnoreBackpressure() const override;
498 void AcceleratedWidgetSwapCompleted( 501 void AcceleratedWidgetSwapCompleted(
499 const std::vector<ui::LatencyInfo>& latency_info) override; 502 const std::vector<ui::LatencyInfo>& latency_info) override;
500 void AcceleratedWidgetHitError() override; 503 void AcceleratedWidgetHitError() override;
501 504
502 // Transition from being in the Suspended state to being in the Destroyed 505 // Transition from being in the Suspended state to being in the Destroyed
503 // state, if appropriate (see BrowserCompositorViewState for details). 506 // state, if appropriate (see BrowserCompositorViewState for details).
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 587
585 // Factory used to safely scope delayed calls to ShutdownHost(). 588 // Factory used to safely scope delayed calls to ShutdownHost().
586 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 589 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
587 590
588 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 591 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
589 }; 592 };
590 593
591 } // namespace content 594 } // namespace content
592 595
593 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 596 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698