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

Side by Side Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.h

Issue 2781723007: Plumb initiator out of Blink. (Closed)
Patch Set: Created 3 years, 8 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
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void dispatchDidChangeIcons(IconType) override; 99 void dispatchDidChangeIcons(IconType) override;
100 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override; 100 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override;
101 void dispatchDidFailProvisionalLoad(const ResourceError&, 101 void dispatchDidFailProvisionalLoad(const ResourceError&,
102 HistoryCommitType) override; 102 HistoryCommitType) override;
103 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override; 103 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override;
104 void dispatchDidFinishDocumentLoad() override; 104 void dispatchDidFinishDocumentLoad() override;
105 void dispatchDidFinishLoad() override; 105 void dispatchDidFinishLoad() override;
106 106
107 void dispatchDidChangeThemeColor() override; 107 void dispatchDidChangeThemeColor() override;
108 NavigationPolicy decidePolicyForNavigation( 108 NavigationPolicy decidePolicyForNavigation(
109 Document* originDocument,
109 const ResourceRequest&, 110 const ResourceRequest&,
110 DocumentLoader*, 111 DocumentLoader*,
111 NavigationType, 112 NavigationType,
112 NavigationPolicy, 113 NavigationPolicy,
113 bool shouldReplaceCurrentEntry, 114 bool shouldReplaceCurrentEntry,
114 bool isClientRedirect, 115 bool isClientRedirect,
115 HTMLFormElement*, 116 HTMLFormElement*,
116 ContentSecurityPolicyDisposition shouldBypassMainWorldCSP) override; 117 ContentSecurityPolicyDisposition shouldBypassMainWorldCSP) override;
117 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 118 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
118 void dispatchWillSubmitForm(HTMLFormElement*) override; 119 void dispatchWillSubmitForm(HTMLFormElement*) override;
(...skipping 14 matching lines...) Expand all
133 void didDispatchPingLoader(const KURL&) override; 134 void didDispatchPingLoader(const KURL&) override;
134 void didDisplayContentWithCertificateErrors(const KURL&) override; 135 void didDisplayContentWithCertificateErrors(const KURL&) override;
135 void didRunContentWithCertificateErrors(const KURL&) override; 136 void didRunContentWithCertificateErrors(const KURL&) override;
136 void didChangePerformanceTiming() override; 137 void didChangePerformanceTiming() override;
137 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override; 138 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override;
138 void selectorMatchChanged(const Vector<String>& addedSelectors, 139 void selectorMatchChanged(const Vector<String>& addedSelectors,
139 const Vector<String>& removedSelectors) override; 140 const Vector<String>& removedSelectors) override;
140 DocumentLoader* createDocumentLoader(LocalFrame*, 141 DocumentLoader* createDocumentLoader(LocalFrame*,
141 const ResourceRequest&, 142 const ResourceRequest&,
142 const SubstituteData&, 143 const SubstituteData&,
143 ClientRedirectPolicy) override; 144 ClientRedirectPolicy,
145 Document* originDocument) override;
144 WTF::String userAgent() override; 146 WTF::String userAgent() override;
145 WTF::String doNotTrackValue() override; 147 WTF::String doNotTrackValue() override;
146 void transitionToCommittedForNewPage() override; 148 void transitionToCommittedForNewPage() override;
147 LocalFrame* createFrame(const FrameLoadRequest&, 149 LocalFrame* createFrame(const FrameLoadRequest&,
148 const WTF::AtomicString& name, 150 const WTF::AtomicString& name,
149 HTMLFrameOwnerElement*) override; 151 HTMLFrameOwnerElement*) override;
150 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
151 PluginView* createPlugin(HTMLPlugInElement*, 153 PluginView* createPlugin(HTMLPlugInElement*,
152 const KURL&, 154 const KURL&,
153 const Vector<WTF::String>&, 155 const Vector<WTF::String>&,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 242
241 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 243 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
242 LocalFrameClient, 244 LocalFrameClient,
243 client, 245 client,
244 client->isLocalFrameClientImpl(), 246 client->isLocalFrameClientImpl(),
245 client.isLocalFrameClientImpl()); 247 client.isLocalFrameClientImpl());
246 248
247 } // namespace blink 249 } // namespace blink
248 250
249 #endif 251 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/web/LocalFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698