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

Side by Side Diff: cc/blimp/layer_tree_host_remote.h

Issue 2390923002: Fix blurry content after disabling dev tools emulation (Closed)
Patch Set: Add function for LayerTreeHostRemote Created 4 years, 2 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
« no previous file with comments | « no previous file | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ 5 #ifndef CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_
6 #define CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ 6 #define CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 SwapPromiseManager* GetSwapPromiseManager() override; 55 SwapPromiseManager* GetSwapPromiseManager() override;
56 void SetHasGpuRasterizationTrigger(bool has_trigger) override; 56 void SetHasGpuRasterizationTrigger(bool has_trigger) override;
57 void SetVisible(bool visible) override; 57 void SetVisible(bool visible) override;
58 bool IsVisible() const override; 58 bool IsVisible() const override;
59 void SetCompositorFrameSink( 59 void SetCompositorFrameSink(
60 std::unique_ptr<CompositorFrameSink> compositor_frame_sink) override; 60 std::unique_ptr<CompositorFrameSink> compositor_frame_sink) override;
61 std::unique_ptr<CompositorFrameSink> ReleaseCompositorFrameSink() override; 61 std::unique_ptr<CompositorFrameSink> ReleaseCompositorFrameSink() override;
62 void SetNeedsAnimate() override; 62 void SetNeedsAnimate() override;
63 void SetNeedsUpdateLayers() override; 63 void SetNeedsUpdateLayers() override;
64 void SetNeedsCommit() override; 64 void SetNeedsCommit() override;
65 void SetNeedsRecalculateRasterScales() override;
65 bool BeginMainFrameRequested() const override; 66 bool BeginMainFrameRequested() const override;
66 bool CommitRequested() const override; 67 bool CommitRequested() const override;
67 void SetDeferCommits(bool defer_commits) override; 68 void SetDeferCommits(bool defer_commits) override;
68 void LayoutAndUpdateLayers() override; 69 void LayoutAndUpdateLayers() override;
69 void Composite(base::TimeTicks frame_begin_time) override; 70 void Composite(base::TimeTicks frame_begin_time) override;
70 void SetNeedsRedraw() override; 71 void SetNeedsRedraw() override;
71 void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override; 72 void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override;
72 void SetNextCommitForcesRedraw() override; 73 void SetNextCommitForcesRedraw() override;
73 void NotifyInputThrottledUntilCommit() override; 74 void NotifyInputThrottledUntilCommit() override;
74 void UpdateTopControlsState(TopControlsState constraints, 75 void UpdateTopControlsState(TopControlsState constraints,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 SurfaceSequenceGenerator surface_sequence_generator_; 143 SurfaceSequenceGenerator surface_sequence_generator_;
143 144
144 base::WeakPtr<InputHandler> input_handler_weak_ptr_; 145 base::WeakPtr<InputHandler> input_handler_weak_ptr_;
145 146
146 base::WeakPtrFactory<LayerTreeHostRemote> weak_factory_; 147 base::WeakPtrFactory<LayerTreeHostRemote> weak_factory_;
147 }; 148 };
148 149
149 } // namespace cc 150 } // namespace cc
150 151
151 #endif // CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_ 152 #endif // CC_BLIMP_LAYER_TREE_HOST_REMOTE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698