| 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, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } | 241 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } |
| 242 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } | 242 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } |
| 243 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) override { return false; } | 243 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) override { return false; } |
| 244 | 244 |
| 245 virtual blink::WebCookieJar* cookieJar() const override { return 0; } | 245 virtual blink::WebCookieJar* cookieJar() const override { return 0; } |
| 246 | 246 |
| 247 virtual void didRequestAutocomplete(HTMLFormElement*) override; | 247 virtual void didRequestAutocomplete(HTMLFormElement*) override; |
| 248 | 248 |
| 249 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der() override; | 249 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der() override; |
| 250 virtual bool isControlledByServiceWorker(DocumentLoader&) override { return
false; } | 250 virtual bool isControlledByServiceWorker(DocumentLoader&) override { return
false; } |
| 251 virtual int64_t serviceWorkerID(DocumentLoader&) override { return -1; } |
| 251 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCacheHos
t(blink::WebApplicationCacheHostClient*) override; | 252 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCacheHos
t(blink::WebApplicationCacheHostClient*) override; |
| 252 }; | 253 }; |
| 253 | 254 |
| 254 class EmptyTextCheckerClient : public TextCheckerClient { | 255 class EmptyTextCheckerClient : public TextCheckerClient { |
| 255 public: | 256 public: |
| 256 ~EmptyTextCheckerClient() { } | 257 ~EmptyTextCheckerClient() { } |
| 257 | 258 |
| 258 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } | 259 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } |
| 259 virtual void checkSpellingOfString(const String&, int*, int*) override { } | 260 virtual void checkSpellingOfString(const String&, int*, int*) override { } |
| 260 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } | 261 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 public: | 337 public: |
| 337 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid
e; | 338 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid
e; |
| 338 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret
urn false; } | 339 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret
urn false; } |
| 339 }; | 340 }; |
| 340 | 341 |
| 341 void fillWithEmptyClients(Page::PageClients&); | 342 void fillWithEmptyClients(Page::PageClients&); |
| 342 | 343 |
| 343 } | 344 } |
| 344 | 345 |
| 345 #endif // EmptyClients_h | 346 #endif // EmptyClients_h |
| OLD | NEW |