Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: components/html_viewer/html_frame_tree_manager_delegate.h

Issue 1246053003: Renames html_viewer frame classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_HTML_VIEWER_FRAME_TREE_MANAGER_DELEGATE_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_DELEGATE_H_
6 #define COMPONENTS_HTML_VIEWER_FRAME_TREE_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_DELEGATE_H_
7 7
8 namespace html_viewer { 8 namespace html_viewer {
9 9
10 class Frame; 10 class HTMLFrame;
11 11
12 class FrameTreeManagerDelegate { 12 class HTMLFrameTreeManagerDelegate {
13 public: 13 public:
14 // TODO(yzshen): Remove this check once the browser is able to navigate an 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. 15 // existing html_viewer instance and about:blank page support is ready.
16 virtual bool ShouldNavigateLocallyInMainFrame() = 0; 16 virtual bool ShouldNavigateLocallyInMainFrame() = 0;
17 17
18 virtual void OnFrameDidFinishLoad(Frame* frame) = 0; 18 virtual void OnFrameDidFinishLoad(HTMLFrame* frame) = 0;
19 19
20 protected: 20 protected:
21 virtual ~FrameTreeManagerDelegate() {} 21 virtual ~HTMLFrameTreeManagerDelegate() {}
22 }; 22 };
23 23
24 } // namespace html_viewer 24 } // namespace html_viewer
25 25
26 #endif // COMPONENTS_HTML_VIEWER_FRAME_TREE_MANAGER_DELEGATE_H_ 26 #endif // COMPONENTS_HTML_VIEWER_HTML_FRAME_TREE_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/html_viewer/html_frame_tree_manager.cc ('k') | components/html_viewer/web_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698