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

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 654953002: Navigation transitions (web to native app): Get names and rects of transition elements (Step 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fix Created 6 years, 1 month 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 | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/testing/Internals.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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 12 matching lines...) Expand all
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef FrameLoaderClient_h 30 #ifndef FrameLoaderClient_h
31 #define FrameLoaderClient_h 31 #define FrameLoaderClient_h
32 32
33 #include "core/dom/Document.h"
33 #include "core/dom/IconURL.h" 34 #include "core/dom/IconURL.h"
34 #include "core/frame/FrameClient.h" 35 #include "core/frame/FrameClient.h"
35 #include "core/loader/FrameLoaderTypes.h" 36 #include "core/loader/FrameLoaderTypes.h"
36 #include "core/loader/NavigationPolicy.h" 37 #include "core/loader/NavigationPolicy.h"
37 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
38 #include "platform/network/ResourceLoadPriority.h" 39 #include "platform/network/ResourceLoadPriority.h"
39 #include "platform/weborigin/Referrer.h" 40 #include "platform/weborigin/Referrer.h"
40 #include "wtf/Forward.h" 41 #include "wtf/Forward.h"
41 #include "wtf/Vector.h" 42 #include "wtf/Vector.h"
42 #include <v8.h> 43 #include <v8.h>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void dispatchDidCommitLoad(LocalFrame*, HistoryItem*, HistoryCom mitType) = 0; 93 virtual void dispatchDidCommitLoad(LocalFrame*, HistoryItem*, HistoryCom mitType) = 0;
93 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0; 94 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0;
94 virtual void dispatchDidFailLoad(const ResourceError&) = 0; 95 virtual void dispatchDidFailLoad(const ResourceError&) = 0;
95 virtual void dispatchDidFinishDocumentLoad() = 0; 96 virtual void dispatchDidFinishDocumentLoad() = 0;
96 virtual void dispatchDidFinishLoad() = 0; 97 virtual void dispatchDidFinishLoad() = 0;
97 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0; 98 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0;
98 virtual void dispatchDidChangeThemeColor() = 0; 99 virtual void dispatchDidChangeThemeColor() = 0;
99 100
100 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest &, DocumentLoader*, NavigationPolicy, bool isTransitionNavigation) = 0; 101 virtual NavigationPolicy decidePolicyForNavigation(const ResourceRequest &, DocumentLoader*, NavigationPolicy, bool isTransitionNavigation) = 0;
101 102
102 virtual void dispatchAddNavigationTransitionData(const String& origin, c onst String& selector, const String& markup) { } 103 virtual void dispatchAddNavigationTransitionData(const Document::Transit ionElementData&) { }
103 virtual void dispatchWillRequestResource(FetchRequest*) { } 104 virtual void dispatchWillRequestResource(FetchRequest*) { }
104 105
105 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; 106 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0;
106 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; 107 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0;
107 108
108 virtual void didStartLoading(LoadStartType) = 0; 109 virtual void didStartLoading(LoadStartType) = 0;
109 virtual void progressEstimateChanged(double progressEstimate) = 0; 110 virtual void progressEstimateChanged(double progressEstimate) = 0;
110 virtual void didStopLoading() = 0; 111 virtual void didStopLoading() = 0;
111 112
112 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0; 113 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, const String& suggestedName = String()) = 0;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 virtual void dispatchDidChangeManifest() { } 223 virtual void dispatchDidChangeManifest() { }
223 224
224 virtual unsigned backForwardLength() { return 0; } 225 virtual unsigned backForwardLength() { return 0; }
225 226
226 virtual bool isFrameLoaderClientImpl() const { return false; } 227 virtual bool isFrameLoaderClientImpl() const { return false; }
227 }; 228 };
228 229
229 } // namespace blink 230 } // namespace blink
230 231
231 #endif // FrameLoaderClient_h 232 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698