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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 virtual void documentElementAvailable() OVERRIDE { } | 234 virtual void documentElementAvailable() OVERRIDE { } |
235 | 235 |
236 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) OVERRIDE { } | 236 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) OVERRIDE { } |
237 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
OVERRIDE { } | 237 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
OVERRIDE { } |
238 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) OVERRIDE { return false; } | 238 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) OVERRIDE { return false; } |
239 | 239 |
240 virtual blink::WebCookieJar* cookieJar() const OVERRIDE { return 0; } | 240 virtual blink::WebCookieJar* cookieJar() const OVERRIDE { return 0; } |
241 | 241 |
242 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE; | 242 virtual void didRequestAutocomplete(PassRefPtr<FormState>) OVERRIDE; |
243 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der(PassOwnPtr<blink::WebServiceWorkerProviderClient>) OVERRIDE; | 243 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerProvi
der(PassOwnPtr<blink::WebServiceWorkerProviderClient>) OVERRIDE; |
| 244 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCacheHos
t(blink::WebApplicationCacheHostClient*) OVERRIDE; |
244 }; | 245 }; |
245 | 246 |
246 class EmptyTextCheckerClient FINAL : public TextCheckerClient { | 247 class EmptyTextCheckerClient FINAL : public TextCheckerClient { |
247 public: | 248 public: |
248 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
OVERRIDE { return true; } | 249 virtual bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const
OVERRIDE { return true; } |
249 virtual void checkSpellingOfString(const String&, int*, int*) OVERRIDE { } | 250 virtual void checkSpellingOfString(const String&, int*, int*) OVERRIDE { } |
250 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER
RIDE { return String(); } | 251 virtual String getAutoCorrectSuggestionForMisspelledWord(const String&) OVER
RIDE { return String(); } |
251 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) OVERRIDE { } | 252 virtual void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int
*, int*) OVERRIDE { } |
252 virtual void requestCheckingOfString(PassRefPtr<TextCheckingRequest>) OVERRI
DE; | 253 virtual void requestCheckingOfString(PassRefPtr<TextCheckingRequest>) OVERRI
DE; |
253 }; | 254 }; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 public: | 328 public: |
328 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID
E; | 329 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID
E; |
329 virtual bool canAccessStorage(Frame*, StorageType) const OVERRIDE { return f
alse; } | 330 virtual bool canAccessStorage(Frame*, StorageType) const OVERRIDE { return f
alse; } |
330 }; | 331 }; |
331 | 332 |
332 void fillWithEmptyClients(Page::PageClients&); | 333 void fillWithEmptyClients(Page::PageClients&); |
333 | 334 |
334 } | 335 } |
335 | 336 |
336 #endif // EmptyClients_h | 337 #endif // EmptyClients_h |
OLD | NEW |