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

Side by Side Diff: content/public/renderer/render_frame_visitor.h

Issue 2797383002: Introduce RenderFrameVisitor (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.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 (c) 2012 The Chromium Authors. All rights reserved.
Charlie Reis 2017/04/11 21:26:33 nit: 2017, no (c)
Xiaocheng 2017/04/11 21:42:14 Just copied everything from render_view_visitor.h
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 CONTENT_PUBLIC_RENDERER_RENDER_FRAME_VISITOR_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_VISITOR_H_
7
8 namespace content {
9
10 class RenderFrame;
11
12 class RenderFrameVisitor {
13 public:
14 // Return true to continue visiting RenderFrames or false to stop.
15 virtual bool Visit(RenderFrame* render_frame) = 0;
16
17 protected:
18 virtual ~RenderFrameVisitor() {}
19 };
20
21 } // namespace content
22
23 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_VISITOR_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698