Roll src/third_party/WebKit c63b89c:29324ab (svn 202546:202547)
[chromium-blink-merge.git] / components / html_viewer / html_frame_tree_manager_observer.h
blobd4633657468faa2ad84ec0245ac2bd3ad398d3eb
1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_OBSERVER_H_
6 #define COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_OBSERVER_H_
8 namespace html_viewer {
10 // Used to inform observers of interesting events to HTMLFrameTreeManager.
11 class HTMLFrameTreeManagerObserver {
12 public:
13 // The change_id of the HTMLFrameTreeManager has advanced. In other words,
14 // a structure change was done.
15 virtual void OnHTMLFrameTreeManagerChangeIdAdvanced() = 0;
17 // The HTMLFrameTreeManager was destroyed.
18 virtual void OnHTMLFrameTreeManagerDestroyed() = 0;
20 protected:
21 virtual ~HTMLFrameTreeManagerObserver() {}
24 } // namespace html_viewer
26 #endif // COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_OBSERVER_H_