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

Side by Side Diff: loader/FrameLoaderClient.h

Issue 340032: Upstream changes for http://codereview.chromium.org/339064 (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: Created 11 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 | « loader/EmptyClients.h ('k') | page/FrameView.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) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 virtual void dispatchWillClose() = 0; 119 virtual void dispatchWillClose() = 0;
120 virtual void dispatchDidReceiveIcon() = 0; 120 virtual void dispatchDidReceiveIcon() = 0;
121 virtual void dispatchDidStartProvisionalLoad() = 0; 121 virtual void dispatchDidStartProvisionalLoad() = 0;
122 virtual void dispatchDidReceiveTitle(const String& title) = 0; 122 virtual void dispatchDidReceiveTitle(const String& title) = 0;
123 virtual void dispatchDidCommitLoad() = 0; 123 virtual void dispatchDidCommitLoad() = 0;
124 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0; 124 virtual void dispatchDidFailProvisionalLoad(const ResourceError&) = 0;
125 virtual void dispatchDidFailLoad(const ResourceError&) = 0; 125 virtual void dispatchDidFailLoad(const ResourceError&) = 0;
126 virtual void dispatchDidFinishDocumentLoad() = 0; 126 virtual void dispatchDidFinishDocumentLoad() = 0;
127 virtual void dispatchDidFinishLoad() = 0; 127 virtual void dispatchDidFinishLoad() = 0;
128 virtual void dispatchDidFirstLayout() = 0; 128 virtual void dispatchDidFirstLayout() = 0;
129 virtual void dispatchDidLayout() = 0;
129 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0; 130 virtual void dispatchDidFirstVisuallyNonEmptyLayout() = 0;
130 131
131 virtual Frame* dispatchCreatePage() = 0; 132 virtual Frame* dispatchCreatePage() = 0;
132 virtual void dispatchShow() = 0; 133 virtual void dispatchShow() = 0;
133 134
134 virtual void dispatchDecidePolicyForMIMEType(FramePolicyFunction, const String& MIMEType, const ResourceRequest&) = 0; 135 virtual void dispatchDecidePolicyForMIMEType(FramePolicyFunction, const String& MIMEType, const ResourceRequest&) = 0;
135 virtual void dispatchDecidePolicyForNewWindowAction(FramePolicyFunction, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState>, const S tring& frameName) = 0; 136 virtual void dispatchDecidePolicyForNewWindowAction(FramePolicyFunction, const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState>, const S tring& frameName) = 0;
136 virtual void dispatchDecidePolicyForNavigationAction(FramePolicyFunction , const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState>) = 0; 137 virtual void dispatchDecidePolicyForNavigationAction(FramePolicyFunction , const NavigationAction&, const ResourceRequest&, PassRefPtr<FormState>) = 0;
137 virtual void cancelPolicyCheck() = 0; 138 virtual void cancelPolicyCheck() = 0;
138 139
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 virtual bool shouldCacheResponse(DocumentLoader*, unsigned long identifi er, const ResourceResponse&, const unsigned char* data, unsigned long long lengt h) = 0; 245 virtual bool shouldCacheResponse(DocumentLoader*, unsigned long identifi er, const ResourceResponse&, const unsigned char* data, unsigned long long lengt h) = 0;
245 #endif 246 #endif
246 247
247 virtual bool shouldUsePluginDocument(const String& /*mimeType*/) const { return false; } 248 virtual bool shouldUsePluginDocument(const String& /*mimeType*/) const { return false; }
248 virtual bool shouldLoadMediaElementURL(const KURL&) const { return true; } 249 virtual bool shouldLoadMediaElementURL(const KURL&) const { return true; }
249 }; 250 };
250 251
251 } // namespace WebCore 252 } // namespace WebCore
252 253
253 #endif // FrameLoaderClient_h 254 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « loader/EmptyClients.h ('k') | page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698