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

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

Issue 2873503002: NOT YET READY: Improve granularity of window namespaces in Blink.
Patch Set: Rebasing... Created 3 years, 6 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 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 ContentSettingsClient& GetContentSettingsClient() override; 364 ContentSettingsClient& GetContentSettingsClient() override;
365 std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost( 365 std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost(
366 WebApplicationCacheHostClient*) override; 366 WebApplicationCacheHostClient*) override;
367 367
368 TextCheckerClient& GetTextCheckerClient() const override; 368 TextCheckerClient& GetTextCheckerClient() const override;
369
369 std::unique_ptr<WebURLLoader> CreateURLLoader() override { 370 std::unique_ptr<WebURLLoader> CreateURLLoader() override {
370 // TODO(yhirano): Stop using Platform::CreateURLLoader() here. 371 // TODO(yhirano): Stop using Platform::CreateURLLoader() here.
371 return Platform::Current()->CreateURLLoader(); 372 return Platform::Current()->CreateURLLoader();
372 } 373 }
373 374
375 Frame* FindFrame(const AtomicString& name) const override;
376
374 protected: 377 protected:
375 EmptyLocalFrameClient() {} 378 EmptyLocalFrameClient() {}
376 379
377 ContentSettingsClient content_settings_client_; 380 ContentSettingsClient content_settings_client_;
378 }; 381 };
379 382
380 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { 383 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient {
381 WTF_MAKE_NONCOPYABLE(EmptyTextCheckerClient); 384 WTF_MAKE_NONCOPYABLE(EmptyTextCheckerClient);
382 USING_FAST_MALLOC(EmptyTextCheckerClient); 385 USING_FAST_MALLOC(EmptyTextCheckerClient);
383 386
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 Frame* NextSibling() const override { return nullptr; } 471 Frame* NextSibling() const override { return nullptr; }
469 Frame* FirstChild() const override { return nullptr; } 472 Frame* FirstChild() const override { return nullptr; }
470 void FrameFocused() const override {} 473 void FrameFocused() const override {}
471 }; 474 };
472 475
473 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 476 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
474 477
475 } // namespace blink 478 } // namespace blink
476 479
477 #endif // EmptyClients_h 480 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrameClient.h ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698