1 // Copyright (c) 2013 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.
5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_ITERATOR_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_ITERATOR_H_
10 class RenderWidgetHost
;
12 // RenderWidgetHostIterator is used to safely iterate over a list of
14 class RenderWidgetHostIterator
{
16 virtual ~RenderWidgetHostIterator() {}
18 // Returns the next RenderWidgetHost in the list. Returns nullptr if none is
20 virtual RenderWidgetHost
* GetNextHost() = 0;
23 } // namespace content
25 #endif // CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_ITERATOR_H_