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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 | 354 |
355 void didCreateScriptContext(v8::Local<v8::Context>, | 355 void didCreateScriptContext(v8::Local<v8::Context>, |
356 int worldId) override {} | 356 int worldId) override {} |
357 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} | 357 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} |
358 bool allowScriptExtensions() override { return false; } | 358 bool allowScriptExtensions() override { return false; } |
359 | 359 |
360 WebCookieJar* cookieJar() const override { return 0; } | 360 WebCookieJar* cookieJar() const override { return 0; } |
361 | 361 |
362 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() | 362 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() |
363 override; | 363 override; |
364 bool isControlledByServiceWorker(DocumentLoader&) override { return false; } | |
365 int64_t serviceWorkerID(DocumentLoader&) override { return -1; } | |
366 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost( | 364 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost( |
367 WebApplicationCacheHostClient*) override; | 365 WebApplicationCacheHostClient*) override; |
368 | 366 |
369 protected: | 367 protected: |
370 EmptyLocalFrameClient() {} | 368 EmptyLocalFrameClient() {} |
371 }; | 369 }; |
372 | 370 |
373 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { | 371 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { |
374 DISALLOW_NEW(); | 372 DISALLOW_NEW(); |
375 | 373 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 Frame* nextSibling() const override { return nullptr; } | 465 Frame* nextSibling() const override { return nullptr; } |
468 Frame* firstChild() const override { return nullptr; } | 466 Frame* firstChild() const override { return nullptr; } |
469 void frameFocused() const override {} | 467 void frameFocused() const override {} |
470 }; | 468 }; |
471 | 469 |
472 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 470 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
473 | 471 |
474 } // namespace blink | 472 } // namespace blink |
475 | 473 |
476 #endif // EmptyClients_h | 474 #endif // EmptyClients_h |
OLD | NEW |