| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2009 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 CONTENT_RENDERER_RENDER_VIEW_VISITOR_H_ | |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_VISITOR_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 class RenderView; | |
| 10 | |
| 11 class RenderViewVisitor { | |
| 12 public: | |
| 13 // Return true to continue visiting RenderViews or false to stop. | |
| 14 virtual bool Visit(RenderView* render_view) = 0; | |
| 15 | |
| 16 protected: | |
| 17 virtual ~RenderViewVisitor() {} | |
| 18 }; | |
| 19 | |
| 20 #endif // CONTENT_RENDERER_RENDER_VIEW_VISITOR_H_ | |
| OLD | NEW |