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

Side by Side Diff: public/web/WebLocalFrame.h

Issue 1309883003: Add hooks for capturing meaningful text info, gently. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oopsie fixed. Created 5 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebFrame.h" 8 #include "WebFrame.h"
9 #include "WebFrameLoadType.h" 9 #include "WebFrameLoadType.h"
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Navigation State ------------------------------------------------------- 84 // Navigation State -------------------------------------------------------
85 85
86 // Returns true if the current frame's load event has not completed. 86 // Returns true if the current frame's load event has not completed.
87 virtual bool isLoading() const = 0; 87 virtual bool isLoading() const = 0;
88 88
89 // Returns true if any resource load is currently in progress. Exposed 89 // Returns true if any resource load is currently in progress. Exposed
90 // primarily for use in layout tests. You probably want isLoading() 90 // primarily for use in layout tests. You probably want isLoading()
91 // instead. 91 // instead.
92 virtual bool isResourceLoadInProgress() const = 0; 92 virtual bool isResourceLoadInProgress() const = 0;
93 93
94 // Returns true if there is a pending redirect or location change.
95 // This could be caused by:
96 // * an HTTP Refresh header
97 // * an X-Frame-Options header
98 // * the respective http-equiv meta tags
99 // * window.location value being mutated
100 // * CSP policy block
101 // * reload
102 // * form submission
103 virtual bool isNavigationScheduled() const = 0;
esprehn 2015/08/22 15:14:54 Your description needs updating, it mentions the o
104
94 // Override the normal rules for whether a load has successfully committed 105 // Override the normal rules for whether a load has successfully committed
95 // in this frame. Used to propagate state when this frame has navigated 106 // in this frame. Used to propagate state when this frame has navigated
96 // cross process. 107 // cross process.
97 virtual void setCommittedFirstRealLoad() = 0; 108 virtual void setCommittedFirstRealLoad() = 0;
98 109
99 // Orientation Changes ---------------------------------------------------- 110 // Orientation Changes ----------------------------------------------------
100 111
101 // Notify the frame that the screen orientation has changed. 112 // Notify the frame that the screen orientation has changed.
102 virtual void sendOrientationChangeEvent() = 0; 113 virtual void sendOrientationChangeEvent() = 0;
103 114
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // Returns the effective sandbox flags which are inherited from their parent frame. 175 // Returns the effective sandbox flags which are inherited from their parent frame.
165 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; 176 virtual WebSandboxFlags effectiveSandboxFlags() const = 0;
166 177
167 protected: 178 protected:
168 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 179 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
169 }; 180 };
170 181
171 } // namespace blink 182 } // namespace blink
172 183
173 #endif // WebLocalFrame_h 184 #endif // WebLocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698