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

Side by Side Diff: components/exo/compositor_frame_sink_holder.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 | « components/exo/compositor_frame_sink.cc ('k') | components/filesystem/directory_impl.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 #include "components/exo/compositor_frame_sink_holder.h" 5 #include "components/exo/compositor_frame_sink_holder.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "cc/resources/returned_resource.h" 8 #include "cc/resources/returned_resource.h"
8 #include "components/exo/surface.h" 9 #include "components/exo/surface.h"
9 10
10 namespace exo { 11 namespace exo {
11 12
12 //////////////////////////////////////////////////////////////////////////////// 13 ////////////////////////////////////////////////////////////////////////////////
13 // CompositorFrameSinkHolder, public: 14 // CompositorFrameSinkHolder, public:
14 15
15 CompositorFrameSinkHolder::CompositorFrameSinkHolder( 16 CompositorFrameSinkHolder::CompositorFrameSinkHolder(
16 Surface* surface, 17 Surface* surface,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 134
134 bool needs_begin_frame = !active_frame_callbacks_.empty(); 135 bool needs_begin_frame = !active_frame_callbacks_.empty();
135 if (needs_begin_frame == needs_begin_frame_) 136 if (needs_begin_frame == needs_begin_frame_)
136 return; 137 return;
137 138
138 needs_begin_frame_ = needs_begin_frame; 139 needs_begin_frame_ = needs_begin_frame;
139 OnNeedsBeginFrames(needs_begin_frame_); 140 OnNeedsBeginFrames(needs_begin_frame_);
140 } 141 }
141 142
142 } // namespace exo 143 } // namespace exo
OLDNEW
« no previous file with comments | « components/exo/compositor_frame_sink.cc ('k') | components/filesystem/directory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698