Add GN isolate support for a bunch of unittests.
[chromium-blink-merge.git] / components / html_viewer / html_frame_tree_manager_delegate.h
blob6032bbb6cab4ddaa64f6fdf9c9b3dd20548b869d
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_DELEGATE_H_
6 #define COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_DELEGATE_H_
8 namespace html_viewer {
10 class HTMLFrame;
12 class HTMLFrameTreeManagerDelegate {
13 public:
14 // TODO(yzshen): Remove this check once the browser is able to navigate an
15 // existing html_viewer instance and about:blank page support is ready.
16 virtual bool ShouldNavigateLocallyInMainFrame() = 0;
18 virtual void OnFrameDidFinishLoad(HTMLFrame* frame) = 0;
20 protected:
21 virtual ~HTMLFrameTreeManagerDelegate() {}
24 } // namespace html_viewer
26 #endif // COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_DELEGATE_H_