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

Side by Side Diff: cc/blink/blink_layer_debug_info.h

Issue 474783002: HUD: Show first paint invalidation in red (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update only when needed Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « cc/blink/BUILD.gn ('k') | cc/blink/blink_layer_debug_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_BLINK_BLINK_LAYER_DEBUG_INFO_H_
6 #define CC_BLINK_BLINK_LAYER_DEBUG_INFO_H_
7
8 #include <string>
9
10 #include "base/memory/scoped_ptr.h"
11 #include "base/threading/thread_checker.h"
12 #include "cc/layers/layer_client.h"
13
14 namespace blink {
15 class WebGraphicsLayerDebugInfo;
16 }
17
18 namespace cc_blink {
19
20 class BlinkLayerDebugInfo : public cc::LayerDebugInfo {
chrishtr 2014/08/26 18:53:06 Why do you need this interface?
21 public:
22 // This object takes ownership of the debug_info object.
23 explicit BlinkLayerDebugInfo(blink::WebGraphicsLayerDebugInfo* debug_info);
24
25 virtual void AppendAsTraceFormat(std::string* out) const OVERRIDE;
26 virtual bool IncludesFirstPaintInvalidation() const OVERRIDE;
27
28 private:
29 virtual ~BlinkLayerDebugInfo();
30
31 scoped_ptr<blink::WebGraphicsLayerDebugInfo> debug_info_;
32 base::ThreadChecker thread_checker_;
33 };
34
35 } // namespace cc_blink
36
37 #endif // CC_BLINK_BLINK_LAYER_DEBUG_INFO_H_
OLDNEW
« no previous file with comments | « cc/blink/BUILD.gn ('k') | cc/blink/blink_layer_debug_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698