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

Side by Side Diff: ui/gl/ca_renderer_layer_params.h

Issue 2117813002: Add a few missing &s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | ui/gl/ca_renderer_layer_params.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 UI_GL_CA_RENDERER_LAYER_PARAMS_H_ 5 #ifndef UI_GL_CA_RENDERER_LAYER_PARAMS_H_
6 #define UI_GL_CA_RENDERER_LAYER_PARAMS_H_ 6 #define UI_GL_CA_RENDERER_LAYER_PARAMS_H_
7 7
8 #include "ui/gfx/geometry/rect.h" 8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/geometry/rect_f.h" 9 #include "ui/gfx/geometry/rect_f.h"
10 #include "ui/gfx/transform.h" 10 #include "ui/gfx/transform.h"
11 #include "ui/gl/gl_export.h" 11 #include "ui/gl/gl_export.h"
12 12
13 namespace gl { 13 namespace gl {
14 class GLImage; 14 class GLImage;
15 } 15 }
16 16
17 namespace ui { 17 namespace ui {
18 18
19 struct GL_EXPORT CARendererLayerParams { 19 struct GL_EXPORT CARendererLayerParams {
20 CARendererLayerParams(bool is_clipped, 20 CARendererLayerParams(bool is_clipped,
21 const gfx::Rect clip_rect, 21 const gfx::Rect clip_rect,
22 unsigned sorting_context_id, 22 unsigned sorting_context_id,
23 const gfx::Transform transform, 23 const gfx::Transform& transform,
24 gl::GLImage* image, 24 gl::GLImage* image,
25 const gfx::RectF contents_rect, 25 const gfx::RectF& contents_rect,
26 const gfx::Rect rect, 26 const gfx::Rect& rect,
27 unsigned background_color, 27 unsigned background_color,
28 unsigned edge_aa_mask, 28 unsigned edge_aa_mask,
29 float opacity, 29 float opacity,
30 unsigned filter); 30 unsigned filter);
31 CARendererLayerParams(const CARendererLayerParams& other); 31 CARendererLayerParams(const CARendererLayerParams& other);
32 ~CARendererLayerParams(); 32 ~CARendererLayerParams();
33 33
34 bool is_clipped; 34 bool is_clipped;
35 const gfx::Rect clip_rect; 35 const gfx::Rect clip_rect;
36 unsigned sorting_context_id; 36 unsigned sorting_context_id;
37 const gfx::Transform transform; 37 const gfx::Transform transform;
38 gl::GLImage* image; 38 gl::GLImage* image;
39 const gfx::RectF contents_rect; 39 const gfx::RectF contents_rect;
40 const gfx::Rect rect; 40 const gfx::Rect rect;
41 unsigned background_color; 41 unsigned background_color;
42 unsigned edge_aa_mask; 42 unsigned edge_aa_mask;
43 float opacity; 43 float opacity;
44 unsigned filter; 44 unsigned filter;
45 }; 45 };
46 46
47 } // namespace ui 47 } // namespace ui
48 48
49 #endif // UI_GL_CA_RENDERER_LAYER_PARAMS_H_ 49 #endif // UI_GL_CA_RENDERER_LAYER_PARAMS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/gl/ca_renderer_layer_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698