OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |