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

Side by Side Diff: WebCore/loader/EmptyClients.h

Issue 3453022: Merge 68061 - 2010-09-22 Matt Perry <mpcomplete@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « WebCore/bindings/v8/V8Proxy.cpp ('k') | WebCore/loader/FrameLoaderClient.h » ('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 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) { } 351 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) { }
352 virtual void documentElementAvailable() { } 352 virtual void documentElementAvailable() { }
353 virtual void didPerformFirstNavigation() const { } 353 virtual void didPerformFirstNavigation() const { }
354 354
355 virtual void registerForIconNotification(bool) { } 355 virtual void registerForIconNotification(bool) { }
356 356
357 #if USE(V8) 357 #if USE(V8)
358 virtual void didCreateScriptContextForFrame() { } 358 virtual void didCreateScriptContextForFrame() { }
359 virtual void didDestroyScriptContextForFrame() { } 359 virtual void didDestroyScriptContextForFrame() { }
360 virtual void didCreateIsolatedScriptContext() { } 360 virtual void didCreateIsolatedScriptContext() { }
361 virtual bool allowScriptExtension(const String& extensionName, int extension Group) { return false; }
361 #endif 362 #endif
362 363
363 #if PLATFORM(MAC) 364 #if PLATFORM(MAC)
364 virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned lon g, NSCachedURLResponse* response) const { return response; } 365 virtual NSCachedURLResponse* willCacheResponse(DocumentLoader*, unsigned lon g, NSCachedURLResponse* response) const { return response; }
365 #endif 366 #endif
366 #if USE(CFNETWORK) 367 #if USE(CFNETWORK)
367 virtual bool shouldCacheResponse(DocumentLoader*, unsigned long, const Resou rceResponse&, const unsigned char*, unsigned long long) { return true; } 368 virtual bool shouldCacheResponse(DocumentLoader*, unsigned long, const Resou rceResponse&, const unsigned char*, unsigned long long) { return true; }
368 #endif 369 #endif
369 370
370 virtual PassRefPtr<FrameNetworkingContext> createNetworkingContext() { retur n PassRefPtr<FrameNetworkingContext>(); } 371 virtual PassRefPtr<FrameNetworkingContext> createNetworkingContext() { retur n PassRefPtr<FrameNetworkingContext>(); }
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 public: 545 public:
545 virtual void setController(DeviceOrientationController*) { } 546 virtual void setController(DeviceOrientationController*) { }
546 virtual void startUpdating() { } 547 virtual void startUpdating() { }
547 virtual void stopUpdating() { } 548 virtual void stopUpdating() { }
548 virtual DeviceOrientation* lastOrientation() const { return 0; } 549 virtual DeviceOrientation* lastOrientation() const { return 0; }
549 }; 550 };
550 551
551 } 552 }
552 553
553 #endif // EmptyClients_h 554 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « WebCore/bindings/v8/V8Proxy.cpp ('k') | WebCore/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698