diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 04:08:59 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 04:08:59 +0000 |
commit | 60c42a8c7b44171abc3f8a58d0f69a923ead2bbd (patch) | |
tree | 692a0162b6843c3ce0c95448274fdc8e50667766 /chrome/renderer/render_view_visitor.h | |
parent | e7634aa3ea26c84026b8eb0abfc0bdee3e753f6a (diff) | |
download | chromium_src-60c42a8c7b44171abc3f8a58d0f69a923ead2bbd.zip chromium_src-60c42a8c7b44171abc3f8a58d0f69a923ead2bbd.tar.gz chromium_src-60c42a8c7b44171abc3f8a58d0f69a923ead2bbd.tar.bz2 |
Eliminate WebView::GetDelegate and replace RenderViewSet with a map from
WebView to RenderView.
R=mpcomplete
BUG=10033
TEST=none
Review URL: http://codereview.chromium.org/265044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view_visitor.h')
-rw-r--r-- | chrome/renderer/render_view_visitor.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/renderer/render_view_visitor.h b/chrome/renderer/render_view_visitor.h new file mode 100644 index 0000000..4793ed2 --- /dev/null +++ b/chrome/renderer/render_view_visitor.h @@ -0,0 +1,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_ |