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

Side by Side Diff: webkit/glue/webframeloaderclient_impl.h

Issue 9746: Change old code from "unloadListnerChanged" model to new WebKit EnableSuddenT... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/glue/webframeloaderclient_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ 5 #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__
6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ 6 #define WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const WTF::Vector<WebCore::String>& paramV alues); 180 const WTF::Vector<WebCore::String>& paramV alues);
181 181
182 virtual WebCore::ObjectContentType objectContentType(const WebCore::KURL& url, 182 virtual WebCore::ObjectContentType objectContentType(const WebCore::KURL& url,
183 const WebCore::String& mimeType); 183 const WebCore::String& mimeType);
184 virtual WebCore::String overrideMediaType() const; 184 virtual WebCore::String overrideMediaType() const;
185 185
186 virtual void didPerformFirstNavigation() const; 186 virtual void didPerformFirstNavigation() const;
187 187
188 virtual void registerForIconNotification(bool listen = true); 188 virtual void registerForIconNotification(bool listen = true);
189 189
190 virtual void unloadListenerChanged();
191
192 // Callback function for download of alternate 404 pages. If the server is 190 // Callback function for download of alternate 404 pages. If the server is
193 // down or we take more than 1s to download the page, html will be an empty 191 // down or we take more than 1s to download the page, html will be an empty
194 // string. 192 // string.
195 void Alt404PageFinished(WebCore::DocumentLoader* loader, 193 void Alt404PageFinished(WebCore::DocumentLoader* loader,
196 const std::string& html); 194 const std::string& html);
197 195
198 private: 196 private:
199 void makeDocumentView(); 197 void makeDocumentView();
200 198
201 // Given a NavigationAction, determine the associated window opening 199 // Given a NavigationAction, determine the associated window opening
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // Indicates if we need to send over the initial notification to the plugin 243 // Indicates if we need to send over the initial notification to the plugin
246 // which specifies that the plugin should be ready to accept data. 244 // which specifies that the plugin should be ready to accept data.
247 bool sent_initial_response_to_plugin_; 245 bool sent_initial_response_to_plugin_;
248 246
249 // The disposition to use for the next call to dispatchCreatePage. 247 // The disposition to use for the next call to dispatchCreatePage.
250 WindowOpenDisposition next_window_open_disposition_; 248 WindowOpenDisposition next_window_open_disposition_;
251 }; 249 };
252 250
253 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__ 251 #endif // #ifndef WEBKIT_GLUE_WEBFRAMELOADERCLIENT_IMPL_H__
254 252
OLDNEW
« no previous file with comments | « webkit/glue/webframe_impl.cc ('k') | webkit/glue/webframeloaderclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698