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

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

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: comments addressed Created 3 years, 9 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 const String&, 345 const String&,
346 bool) override { 346 bool) override {
347 return ObjectContentType(); 347 return ObjectContentType();
348 } 348 }
349 349
350 void didCreateNewDocument() override {} 350 void didCreateNewDocument() override {}
351 void dispatchDidClearWindowObjectInMainWorld() override {} 351 void dispatchDidClearWindowObjectInMainWorld() override {}
352 void documentElementAvailable() override {} 352 void documentElementAvailable() override {}
353 void runScriptsAtDocumentElementAvailable() override {} 353 void runScriptsAtDocumentElementAvailable() override {}
354 void runScriptsAtDocumentReady(bool) override {} 354 void runScriptsAtDocumentReady(bool) override {}
355 void runScriptsAtDocumentIdle() override {}
355 356
356 void didCreateScriptContext(v8::Local<v8::Context>, 357 void didCreateScriptContext(v8::Local<v8::Context>,
357 int worldId) override {} 358 int worldId) override {}
358 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 359 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
359 bool allowScriptExtensions() override { return false; } 360 bool allowScriptExtensions() override { return false; }
360 361
361 WebCookieJar* cookieJar() const override { return 0; } 362 WebCookieJar* cookieJar() const override { return 0; }
362 363
363 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() 364 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
364 override; 365 override;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 Frame* nextSibling() const override { return nullptr; } 467 Frame* nextSibling() const override { return nullptr; }
467 Frame* firstChild() const override { return nullptr; } 468 Frame* firstChild() const override { return nullptr; }
468 void frameFocused() const override {} 469 void frameFocused() const override {}
469 }; 470 };
470 471
471 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 472 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
472 473
473 } // namespace blink 474 } // namespace blink
474 475
475 #endif // EmptyClients_h 476 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrameClient.h ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698