summaryrefslogtreecommitdiffstats
path: root/content/public/renderer/render_view_visitor.h
blob: d7933c697e9346e8cb775d5b7dd80c16c158a8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_VISITOR_H_
#define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_VISITOR_H_
#pragma once

class RenderView;

namespace content {

class RenderViewVisitor {
 public:
  // Return true to continue visiting RenderViews or false to stop.
  virtual bool Visit(RenderView* render_view) = 0;

 protected:
  virtual ~RenderViewVisitor() {}
};

}  // namespace content

#endif  // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_VISITOR_H_