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

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: AddEventListener sketched out. Created 3 years, 10 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 "platform/heap/Handle.h"
9 #include "web/api/frame.h"
10
11 namespace web {
12
13 class Agent : public blink::GarbageCollectedFinalized<Agent> {
14 public:
15 explicit Agent(Frame* frame) : frame_(frame) {}
16
17 DEFINE_INLINE_TRACE() { visitor->trace(frame_); }
18
19 protected:
20 Frame* GetFrame() const { return frame_; }
21
22 private:
23 blink::Member<Frame> frame_;
24 };
25
26 } // namespace web
27
28 #endif // WEB_AGENT_AGENT_H
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/agent/sample/sample_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698