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

Side by Side Diff: content/browser/compositor/reflector_impl.cc

Issue 1427593002: content: Fix the include path to raster_worker_pool.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | content/renderer/raster_worker_pool.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/compositor/reflector_impl.h" 5 #include "content/browser/compositor/reflector_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "content/browser/compositor/browser_compositor_output_surface.h" 9 #include "content/browser/compositor/browser_compositor_output_surface.h"
10 #include "content/browser/compositor/owned_mailbox.h" 10 #include "content/browser/compositor/owned_mailbox.h"
11 //#include "content/common/gpu/client/gl_helper.h"
12 #include "ui/compositor/layer.h" 11 #include "ui/compositor/layer.h"
13 12
14 namespace content { 13 namespace content {
15 14
16 struct ReflectorImpl::LayerData { 15 struct ReflectorImpl::LayerData {
17 LayerData(ui::Layer* layer) : layer(layer) {} 16 LayerData(ui::Layer* layer) : layer(layer) {}
18 17
19 ui::Layer* layer; 18 ui::Layer* layer;
20 bool needs_set_mailbox = false; 19 bool needs_set_mailbox = false;
21 }; 20 };
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 layer_data->needs_set_mailbox = false; 193 layer_data->needs_set_mailbox = false;
195 } else { 194 } else {
196 layer_data->layer->SetTextureSize(source_size); 195 layer_data->layer->SetTextureSize(source_size);
197 } 196 }
198 layer_data->layer->SetBounds(gfx::Rect(source_size)); 197 layer_data->layer->SetBounds(gfx::Rect(source_size));
199 layer_data->layer->SetTextureFlipped(flip_texture_); 198 layer_data->layer->SetTextureFlipped(flip_texture_);
200 layer_data->layer->SchedulePaint(redraw_rect); 199 layer_data->layer->SchedulePaint(redraw_rect);
201 } 200 }
202 201
203 } // namespace content 202 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/renderer/raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698