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

Side by Side Diff: third_party/WebKit/WebCore/loader/EmptyClients.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 virtual ObjectContentType objectContentType(const KURL& url, const String& m imeType) { return ObjectContentType(); } 261 virtual ObjectContentType objectContentType(const KURL& url, const String& m imeType) { return ObjectContentType(); }
262 virtual String overrideMediaType() const { return String(); } 262 virtual String overrideMediaType() const { return String(); }
263 263
264 virtual void redirectDataToPlugin(Widget*) {} 264 virtual void redirectDataToPlugin(Widget*) {}
265 virtual void windowObjectCleared() {} 265 virtual void windowObjectCleared() {}
266 virtual void didPerformFirstNavigation() const {} 266 virtual void didPerformFirstNavigation() const {}
267 267
268 virtual void registerForIconNotification(bool listen) {} 268 virtual void registerForIconNotification(bool listen) {}
269 269
270 virtual void unloadListenerChanged() {}
271
272 #if PLATFORM(MAC) 270 #if PLATFORM(MAC)
273 virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned lon g identifier, NSCachedURLResponse* response) const { return response; } 271 virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned lon g identifier, NSCachedURLResponse* response) const { return response; }
274 #endif 272 #endif
275 273
276 }; 274 };
277 275
278 class EmptyEditorClient : public EditorClient { 276 class EmptyEditorClient : public EditorClient {
279 public: 277 public:
280 virtual ~EmptyEditorClient() { } 278 virtual ~EmptyEditorClient() { }
281 virtual void pageDestroyed() { } 279 virtual void pageDestroyed() { }
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 virtual void inspectedURLChanged(const String& newURL) { } 409 virtual void inspectedURLChanged(const String& newURL) { }
412 410
413 virtual void populateSetting(const String& key, InspectorController::Setting &) { } 411 virtual void populateSetting(const String& key, InspectorController::Setting &) { }
414 virtual void storeSetting(const String& key, const InspectorController::Sett ing&) { } 412 virtual void storeSetting(const String& key, const InspectorController::Sett ing&) { }
415 virtual void removeSetting(const String& key) { } 413 virtual void removeSetting(const String& key) { }
416 }; 414 };
417 415
418 } 416 }
419 417
420 #endif // EmptyClients_h 418 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/dom/Document.cpp ('k') | third_party/WebKit/WebCore/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698