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

Side by Side Diff: components/web_view/frame_tree_delegate.h

Issue 1414663002: Mandoline webview: View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More renaming Created 5 years, 2 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
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | components/web_view/pending_web_view_load.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WEB_VIEW_FRAME_TREE_DELEGATE_H_ 5 #ifndef COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_
6 #define COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ 6 #define COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual void DidCommitProvisionalLoad(Frame* frame) = 0; 72 virtual void DidCommitProvisionalLoad(Frame* frame) = 0;
73 73
74 // Invoked when the frame has changed its own URL. 74 // Invoked when the frame has changed its own URL.
75 virtual void DidNavigateLocally(Frame* source, const GURL& url) = 0; 75 virtual void DidNavigateLocally(Frame* source, const GURL& url) = 0;
76 76
77 // Notification of various frame state changes. Generally only useful for 77 // Notification of various frame state changes. Generally only useful for
78 // tests. 78 // tests.
79 virtual void DidCreateFrame(Frame* frame); 79 virtual void DidCreateFrame(Frame* frame);
80 virtual void DidDestroyFrame(Frame* frame); 80 virtual void DidDestroyFrame(Frame* frame);
81 81
82 // Invoked when the View embedded in a Frame premuturely stops rendering 82 // Invoked when the Window embedded in a Frame premuturely stops rendering
83 // to |frame|'s View. This could mean any of the following: 83 // to |frame|'s Window. This could mean any of the following:
84 // . The app crashed. 84 // . The app crashed.
85 // . There is no app that renders the url. 85 // . There is no app that renders the url.
86 // . The app is still alive, but is shutting down. 86 // . The app is still alive, but is shutting down.
87 // Frame does nothing in response to this, but the delegate may wish to take 87 // Frame does nothing in response to this, but the delegate may wish to take
88 // action. 88 // action.
89 virtual void OnWindowEmbeddedInFrameDisconnected(Frame* frame); 89 virtual void OnWindowEmbeddedInFrameDisconnected(Frame* frame);
90 90
91 // Reports the current find state back to our owner. 91 // Reports the current find state back to our owner.
92 virtual void OnFindInFrameCountUpdated(int32_t request_id, 92 virtual void OnFindInFrameCountUpdated(int32_t request_id,
93 Frame* frame, 93 Frame* frame,
94 int32_t count, 94 int32_t count,
95 bool final_update); 95 bool final_update);
96 virtual void OnFindInPageSelectionUpdated(int32_t request_id, 96 virtual void OnFindInPageSelectionUpdated(int32_t request_id,
97 Frame* frame, 97 Frame* frame,
98 int32_t active_match_ordinal); 98 int32_t active_match_ordinal);
99 99
100 protected: 100 protected:
101 virtual ~FrameTreeDelegate() {} 101 virtual ~FrameTreeDelegate() {}
102 }; 102 };
103 103
104 } // namespace web_view 104 } // namespace web_view
105 105
106 #endif // COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_ 106 #endif // COMPONENTS_WEB_VIEW_FRAME_TREE_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/web_view/frame_tree.cc ('k') | components/web_view/pending_web_view_load.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698