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

Side by Side Diff: cc/quads/draw_quad.h

Issue 882673002: Move tracing namespace from base::debug to base::trace_event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part1
Patch Set: Created 5 years, 11 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_QUADS_DRAW_QUAD_H_ 5 #ifndef CC_QUADS_DRAW_QUAD_H_
6 #define CC_QUADS_DRAW_QUAD_H_ 6 #define CC_QUADS_DRAW_QUAD_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/quads/shared_quad_state.h" 10 #include "cc/quads/shared_quad_state.h"
11 #include "cc/resources/resource_provider.h" 11 #include "cc/resources/resource_provider.h"
12 12
13 namespace base { 13 namespace base {
14 namespace trace_event {
15 class TracedValue;
16 }
14 namespace debug { 17 namespace debug {
Primiano Tucci (use gerrit) 2015/01/27 14:34:11 Nit: add a blankline here
15 class TracedValue; 18 using ::base::trace_event::TracedValue;
16 } 19 }
17 class Value; 20 class Value;
18 class DictionaryValue; 21 class DictionaryValue;
19 } 22 }
20 23
21 namespace cc { 24 namespace cc {
22 25
23 // DrawQuad is a bag of data used for drawing a quad. Because different 26 // DrawQuad is a bag of data used for drawing a quad. Because different
24 // materials need different bits of per-quad data to render, classes that derive 27 // materials need different bits of per-quad data to render, classes that derive
25 // from DrawQuad store additional data in their derived instance. The Material 28 // from DrawQuad store additional data in their derived instance. The Material
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 const gfx::Rect& rect, 139 const gfx::Rect& rect,
137 const gfx::Rect& opaque_rect, 140 const gfx::Rect& opaque_rect,
138 const gfx::Rect& visible_rect, 141 const gfx::Rect& visible_rect,
139 bool needs_blending); 142 bool needs_blending);
140 virtual void ExtendValue(base::debug::TracedValue* value) const = 0; 143 virtual void ExtendValue(base::debug::TracedValue* value) const = 0;
141 }; 144 };
142 145
143 } // namespace cc 146 } // namespace cc
144 147
145 #endif // CC_QUADS_DRAW_QUAD_H_ 148 #endif // CC_QUADS_DRAW_QUAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698