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

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

Issue 1140153006: Remove Navigation Transitions from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed layout tests. Created 5 years, 7 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
« no previous file with comments | « public/web/WebFrameClient.h ('k') | public/web/WebRuntimeFeatures.h » ('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 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 9
10 namespace blink { 10 namespace blink {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Returns true if any resource load is currently in progress. Exposed 71 // Returns true if any resource load is currently in progress. Exposed
72 // primarily for use in layout tests. You probably want isLoading() 72 // primarily for use in layout tests. You probably want isLoading()
73 // instead. 73 // instead.
74 virtual bool isResourceLoadInProgress() const = 0; 74 virtual bool isResourceLoadInProgress() const = 0;
75 75
76 // Override the normal rules for whether a load has successfully committed 76 // Override the normal rules for whether a load has successfully committed
77 // in this frame. Used to propagate state when this frame has navigated 77 // in this frame. Used to propagate state when this frame has navigated
78 // cross process. 78 // cross process.
79 virtual void setCommittedFirstRealLoad() = 0; 79 virtual void setCommittedFirstRealLoad() = 0;
80 80
81
82 // Navigation Transitions -------------------------------------------------
83 virtual void addStyleSheetByURL(const WebString& url) = 0;
84 virtual void navigateToSandboxedMarkup(const WebData& markup) = 0;
85
86
87 // Orientation Changes ---------------------------------------------------- 81 // Orientation Changes ----------------------------------------------------
88 82
89 // Notify the frame that the screen orientation has changed. 83 // Notify the frame that the screen orientation has changed.
90 virtual void sendOrientationChangeEvent() = 0; 84 virtual void sendOrientationChangeEvent() = 0;
91 85
92 86
93 // Printing ------------------------------------------------------------ 87 // Printing ------------------------------------------------------------
94 88
95 // Returns true on success and sets the out parameter to the print preset op tions for the document. 89 // Returns true on success and sets the out parameter to the print preset op tions for the document.
96 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOp tions*) = 0; 90 virtual bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOp tions*) = 0;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual void reloadImage(const WebNode&) = 0; 141 virtual void reloadImage(const WebNode&) = 0;
148 142
149 protected: 143 protected:
150 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 144 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
151 }; 145 };
152 146
153 } // namespace blink 147 } // namespace blink
154 148
155 #endif // WebLocalFrame_h 149 #endif // WebLocalFrame_h
156 150
OLDNEW
« no previous file with comments | « public/web/WebFrameClient.h ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698