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

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

Issue 1288323006: Remove willRequestResource callback, it is unused outside of tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove some experiments I accidentally included 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
« 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void dispatchDidChangeIcons(IconType) override; 92 void dispatchDidChangeIcons(IconType) override;
93 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override; 93 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override;
94 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override; 94 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override;
95 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override; 95 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override;
96 void dispatchDidFinishDocumentLoad(bool documentIsEmpty) override; 96 void dispatchDidFinishDocumentLoad(bool documentIsEmpty) override;
97 void dispatchDidFinishLoad() override; 97 void dispatchDidFinishLoad() override;
98 void dispatchDidFirstVisuallyNonEmptyLayout() override; 98 void dispatchDidFirstVisuallyNonEmptyLayout() override;
99 99
100 void dispatchDidChangeThemeColor() override; 100 void dispatchDidChangeThemeColor() override;
101 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationPolicy) override; 101 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationPolicy) override;
102 void dispatchWillRequestResource(FetchRequest*) override;
103 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 102 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
104 void dispatchWillSubmitForm(HTMLFormElement*) override; 103 void dispatchWillSubmitForm(HTMLFormElement*) override;
105 void didStartLoading(LoadStartType) override; 104 void didStartLoading(LoadStartType) override;
106 void didStopLoading() override; 105 void didStopLoading() override;
107 void progressEstimateChanged(double progressEstimate) override; 106 void progressEstimateChanged(double progressEstimate) override;
108 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& suggestedName = String()) override; 107 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& suggestedName = String()) override;
109 bool navigateBackForward(int offset) const override; 108 bool navigateBackForward(int offset) const override;
110 void didAccessInitialDocument() override; 109 void didAccessInitialDocument() override;
111 void didDisplayInsecureContent() override; 110 void didDisplayInsecureContent() override;
112 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) overrid e; 111 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) overrid e;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // The WebFrame that owns this object and manages its lifetime. Therefore, 188 // The WebFrame that owns this object and manages its lifetime. Therefore,
190 // the web frame object is guaranteed to exist. 189 // the web frame object is guaranteed to exist.
191 WebLocalFrameImpl* m_webFrame; 190 WebLocalFrameImpl* m_webFrame;
192 }; 191 };
193 192
194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 193 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
195 194
196 } // namespace blink 195 } // namespace blink
197 196
198 #endif 197 #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