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

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 319573008: Navigation transitions: Initiate navigation transition and send serialized markup to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@transitions_editing
Patch Set: Rebase Created 6 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
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual void dispatchWillRequestAfterPreconnect(WebCore::ResourceRequest&) O VERRIDE; 78 virtual void dispatchWillRequestAfterPreconnect(WebCore::ResourceRequest&) O VERRIDE;
79 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec tResponse) OVERRIDE; 79 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec tResponse) OVERRIDE;
80 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l ong identifier, const WebCore::ResourceResponse&) OVERRIDE; 80 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l ong identifier, const WebCore::ResourceResponse&) OVERRIDE;
81 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web Core::ResourceLoadPriority, int intraPriorityValue) OVERRIDE; 81 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web Core::ResourceLoadPriority, int intraPriorityValue) OVERRIDE;
82 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon g identifier) OVERRIDE; 82 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon g identifier) OVERRIDE;
83 virtual void dispatchDidLoadResourceFromMemoryCache(const WebCore::ResourceR equest&, const WebCore::ResourceResponse&) OVERRIDE; 83 virtual void dispatchDidLoadResourceFromMemoryCache(const WebCore::ResourceR equest&, const WebCore::ResourceResponse&) OVERRIDE;
84 virtual void dispatchDidHandleOnloadEvents() OVERRIDE; 84 virtual void dispatchDidHandleOnloadEvents() OVERRIDE;
85 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE; 85 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE;
86 virtual void dispatchDidNavigateWithinPage(WebCore::HistoryItem*, WebCore::H istoryCommitType) OVERRIDE; 86 virtual void dispatchDidNavigateWithinPage(WebCore::HistoryItem*, WebCore::H istoryCommitType) OVERRIDE;
87 virtual void dispatchWillClose() OVERRIDE; 87 virtual void dispatchWillClose() OVERRIDE;
88 virtual void dispatchDidStartProvisionalLoad() OVERRIDE; 88 virtual void dispatchDidStartProvisionalLoad(bool isTransitionNavigation) OV ERRIDE;
89 virtual void dispatchDidReceiveTitle(const String&) OVERRIDE; 89 virtual void dispatchDidReceiveTitle(const String&) OVERRIDE;
90 virtual void dispatchDidChangeIcons(WebCore::IconType) OVERRIDE; 90 virtual void dispatchDidChangeIcons(WebCore::IconType) OVERRIDE;
91 virtual void dispatchDidCommitLoad(WebCore::LocalFrame*, WebCore::HistoryIte m*, WebCore::HistoryCommitType) OVERRIDE; 91 virtual void dispatchDidCommitLoad(WebCore::LocalFrame*, WebCore::HistoryIte m*, WebCore::HistoryCommitType) OVERRIDE;
92 virtual void dispatchDidFailProvisionalLoad(const WebCore::ResourceError&) O VERRIDE; 92 virtual void dispatchDidFailProvisionalLoad(const WebCore::ResourceError&) O VERRIDE;
93 virtual void dispatchDidFailLoad(const WebCore::ResourceError&) OVERRIDE; 93 virtual void dispatchDidFailLoad(const WebCore::ResourceError&) OVERRIDE;
94 virtual void dispatchDidFinishDocumentLoad() OVERRIDE; 94 virtual void dispatchDidFinishDocumentLoad() OVERRIDE;
95 virtual void dispatchDidFinishLoad() OVERRIDE; 95 virtual void dispatchDidFinishLoad() OVERRIDE;
96 virtual void dispatchDidFirstVisuallyNonEmptyLayout() OVERRIDE; 96 virtual void dispatchDidFirstVisuallyNonEmptyLayout() OVERRIDE;
97
97 virtual void dispatchDidChangeThemeColor() OVERRIDE; 98 virtual void dispatchDidChangeThemeColor() OVERRIDE;
98 virtual WebCore::NavigationPolicy decidePolicyForNavigation(const WebCore::R esourceRequest&, WebCore::DocumentLoader*, WebCore::NavigationPolicy) OVERRIDE; 99 virtual WebCore::NavigationPolicy decidePolicyForNavigation(const WebCore::R esourceRequest&, WebCore::DocumentLoader*, WebCore::NavigationPolicy, bool isTra nsitionNavigation) OVERRIDE;
100 virtual void dispatchAddNavigationTransitionData(const String& allowedDestin ationOrigin, const String& selector, const String& markup) OVERRIDE;
99 virtual void dispatchWillRequestResource(WebCore::FetchRequest*) OVERRIDE; 101 virtual void dispatchWillRequestResource(WebCore::FetchRequest*) OVERRIDE;
100 virtual void dispatchWillSendSubmitEvent(WebCore::HTMLFormElement*) OVERRIDE ; 102 virtual void dispatchWillSendSubmitEvent(WebCore::HTMLFormElement*) OVERRIDE ;
101 virtual void dispatchWillSubmitForm(WebCore::HTMLFormElement*) OVERRIDE; 103 virtual void dispatchWillSubmitForm(WebCore::HTMLFormElement*) OVERRIDE;
102 virtual void didStartLoading(WebCore::LoadStartType) OVERRIDE; 104 virtual void didStartLoading(WebCore::LoadStartType) OVERRIDE;
103 virtual void didStopLoading() OVERRIDE; 105 virtual void didStopLoading() OVERRIDE;
104 virtual void progressEstimateChanged(double progressEstimate) OVERRIDE; 106 virtual void progressEstimateChanged(double progressEstimate) OVERRIDE;
105 virtual void loadURLExternally(const WebCore::ResourceRequest&, WebCore::Nav igationPolicy, const String& suggestedName = String()) OVERRIDE; 107 virtual void loadURLExternally(const WebCore::ResourceRequest&, WebCore::Nav igationPolicy, const String& suggestedName = String()) OVERRIDE;
106 virtual bool navigateBackForward(int offset) const OVERRIDE; 108 virtual bool navigateBackForward(int offset) const OVERRIDE;
107 virtual void didAccessInitialDocument() OVERRIDE; 109 virtual void didAccessInitialDocument() OVERRIDE;
108 virtual void didDisplayInsecureContent() OVERRIDE; 110 virtual void didDisplayInsecureContent() OVERRIDE;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // The WebFrame that owns this object and manages its lifetime. Therefore, 174 // The WebFrame that owns this object and manages its lifetime. Therefore,
173 // the web frame object is guaranteed to exist. 175 // the web frame object is guaranteed to exist.
174 WebLocalFrameImpl* m_webFrame; 176 WebLocalFrameImpl* m_webFrame;
175 }; 177 };
176 178
177 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 179 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl());
178 180
179 } // namespace blink 181 } // namespace blink
180 182
181 #endif 183 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698