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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } | 240 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override { } |
241 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } | 241 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override { } |
242 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) override { return false; } | 242 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) override { return false; } |
243 | 243 |
244 virtual blink::WebCookieJar* cookieJar() const override { return 0; } | 244 virtual blink::WebCookieJar* cookieJar() const override { return 0; } |
245 | 245 |
246 virtual void didRequestAutocomplete(HTMLFormElement*) override; | 246 virtual void didRequestAutocomplete(HTMLFormElement*) override; |
247 | 247 |
248 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der() override; | 248 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der() override; |
249 virtual bool isControlledByServiceWorker() override { return false; } | 249 virtual bool isControlledByServiceWorker(DocumentLoader&) override { return
false; } |
250 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCacheHos
t(blink::WebApplicationCacheHostClient*) override; | 250 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCacheHos
t(blink::WebApplicationCacheHostClient*) override; |
251 }; | 251 }; |
252 | 252 |
253 class EmptyTextCheckerClient : public TextCheckerClient { | 253 class EmptyTextCheckerClient : public TextCheckerClient { |
254 public: | 254 public: |
255 ~EmptyTextCheckerClient() { } | 255 ~EmptyTextCheckerClient() { } |
256 | 256 |
257 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } | 257 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
override { return true; } |
258 virtual void checkSpellingOfString(const String&, int*, int*) override { } | 258 virtual void checkSpellingOfString(const String&, int*, int*) override { } |
259 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } | 259 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) over
ride { return String(); } |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 public: | 335 public: |
336 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid
e; | 336 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid
e; |
337 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret
urn false; } | 337 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret
urn false; } |
338 }; | 338 }; |
339 | 339 |
340 void fillWithEmptyClients(Page::PageClients&); | 340 void fillWithEmptyClients(Page::PageClients&); |
341 | 341 |
342 } | 342 } |
343 | 343 |
344 #endif // EmptyClients_h | 344 #endif // EmptyClients_h |
OLD | NEW |