Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(978)

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 359
360 void didCreateScriptContext(v8::Local<v8::Context>, 360 void didCreateScriptContext(v8::Local<v8::Context>,
361 int worldId) override {} 361 int worldId) override {}
362 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 362 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
363 bool allowScriptExtensions() override { return false; } 363 bool allowScriptExtensions() override { return false; }
364 364
365 WebCookieJar* cookieJar() const override { return 0; } 365 WebCookieJar* cookieJar() const override { return 0; }
366 366
367 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() 367 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
368 override; 368 override;
369 ContentSettingsClient* contentSettingsClient() override;
369 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost( 370 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost(
370 WebApplicationCacheHostClient*) override; 371 WebApplicationCacheHostClient*) override;
371 372
372 protected: 373 protected:
373 EmptyLocalFrameClient() {} 374 EmptyLocalFrameClient() {}
374 }; 375 };
375 376
376 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { 377 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {
377 DISALLOW_NEW(); 378 DISALLOW_NEW();
378 379
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 Frame* nextSibling() const override { return nullptr; } 470 Frame* nextSibling() const override { return nullptr; }
470 Frame* firstChild() const override { return nullptr; } 471 Frame* firstChild() const override { return nullptr; }
471 void frameFocused() const override {} 472 void frameFocused() const override {}
472 }; 473 };
473 474
474 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 475 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
475 476
476 } // namespace blink 477 } // namespace blink
477 478
478 #endif // EmptyClients_h 479 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698