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

Side by Side Diff: content/renderer/frame_blame_context.h

Issue 1864403003: Trace LayoutObject src attributes and parent frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 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 CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ 5 #ifndef CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_
6 #define CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ 6 #define CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_
7 7
8 #include "base/trace_event/blame_context.h" 8 #include "base/trace_event/blame_context.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class RenderFrameImpl; 12 class RenderFrameImpl;
13 class RenderThreadBlameContext; 13 class RenderThreadBlameContext;
14 14
15 // A blame context which represents a single render frame. 15 // A blame context which represents a single render frame.
16 class FrameBlameContext : public base::trace_event::BlameContext { 16 class FrameBlameContext : public base::trace_event::BlameContext {
17 public: 17 public:
18 FrameBlameContext(RenderFrameImpl* frame, RenderFrameImpl* parent_frame); 18 FrameBlameContext(RenderFrameImpl* frame, RenderFrameImpl* parent_frame);
19 ~FrameBlameContext() override; 19 ~FrameBlameContext() override;
20 20
21 protected:
22 void AsValueInto(base::trace_event::TracedValue* value) override;
23
24 private:
25 RenderFrameImpl* frame_;
26
21 DISALLOW_COPY_AND_ASSIGN(FrameBlameContext); 27 DISALLOW_COPY_AND_ASSIGN(FrameBlameContext);
22 }; 28 };
23 29
24 } // namespace content 30 } // namespace content
25 31
26 #endif // CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_ 32 #endif // CONTENT_RENDERER_FRAME_BLAME_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/frame_blame_context.cc » ('j') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698