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

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

Issue 2872883002: Rename EvictFrame, EvictSurface to EvictCurrentSurface (Closed)
Patch Set: Rebase 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 578
579 const cc::CompositorFrameMetadata& last_frame_metadata() { 579 const cc::CompositorFrameMetadata& last_frame_metadata() {
580 return last_frame_metadata_; 580 return last_frame_metadata_;
581 } 581 }
582 582
583 // cc::mojom::MojoCompositorFrameSink implementation. 583 // cc::mojom::MojoCompositorFrameSink implementation.
584 void SetNeedsBeginFrame(bool needs_begin_frame) override; 584 void SetNeedsBeginFrame(bool needs_begin_frame) override;
585 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, 585 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id,
586 cc::CompositorFrame frame) override; 586 cc::CompositorFrame frame) override;
587 void BeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; 587 void BeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override;
588 void EvictFrame() override {} 588 void EvictCurrentSurface() override {}
589 589
590 protected: 590 protected:
591 // --------------------------------------------------------------------------- 591 // ---------------------------------------------------------------------------
592 // The following method is overridden by RenderViewHost to send upwards to 592 // The following method is overridden by RenderViewHost to send upwards to
593 // its delegate. 593 // its delegate.
594 594
595 // Callback for notification that we failed to receive any rendered graphics 595 // Callback for notification that we failed to receive any rendered graphics
596 // from a newly loaded page. Used for testing. 596 // from a newly loaded page. Used for testing.
597 virtual void NotifyNewContentRenderingTimeoutForTesting() {} 597 virtual void NotifyNewContentRenderingTimeoutForTesting() {}
598 598
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; 981 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_;
982 982
983 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 983 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
984 984
985 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 985 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
986 }; 986 };
987 987
988 } // namespace content 988 } // namespace content
989 989
990 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 990 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | ui/android/delegated_frame_host_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698