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

Side by Side Diff: third_party/WebKit/Source/web/agent/agent.h

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: Needle threaded all the way. Created 3 years, 12 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
(Empty)
1 // Copyright 2017 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 WEB_AGENT_AGENT_H
6 #define WEB_AGENT_AGENT_H
7
8 #include "web/api/Frame.h"
9 #include "platform/heap/Handle.h"
10
11 namespace web {
12 namespace agent {
13
14 class Agent : public blink::GarbageCollectedFinalized<Agent> {
15 public:
16 explicit Agent(api::Frame* frame) : frame_(frame) {}
17
18 using Visitor = blink::Visitor;
19 using InlinedGlobalMarkingVisitor = blink::InlinedGlobalMarkingVisitor;
20 DEFINE_INLINE_TRACE() { visitor->trace(frame_); }
21
22 protected:
23 api::Frame* GetFrame() const { return frame_; }
24
25 private:
26 blink::Member<api::Frame> frame_;
27 };
28
29 } // namespace agent
30 } // namespace web
31
32 #endif // WEB_AGENT_AGENT_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698