summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view_visitor.h
blob: 4793ed26469aa6d05ef0f0db5f1560e80c4fae61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 CHROME_RENDERER_RENDER_VIEW_VISITOR_H_
#define CHROME_RENDERER_RENDER_VIEW_VISITOR_H_

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

 protected:
  ~RenderViewVisitor() {}
};

#endif  // CHROME_RENDERER_RENDER_VIEW_VISITOR_H_