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

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

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: Fix GCCallbackTest Created 3 years, 11 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 return ObjectContentType(); 335 return ObjectContentType();
336 } 336 }
337 337
338 void didCreateNewDocument() override {} 338 void didCreateNewDocument() override {}
339 void dispatchDidClearWindowObjectInMainWorld() override {} 339 void dispatchDidClearWindowObjectInMainWorld() override {}
340 void documentElementAvailable() override {} 340 void documentElementAvailable() override {}
341 void runScriptsAtDocumentElementAvailable() override {} 341 void runScriptsAtDocumentElementAvailable() override {}
342 void runScriptsAtDocumentReady(bool) override {} 342 void runScriptsAtDocumentReady(bool) override {}
343 343
344 void didCreateScriptContext(v8::Local<v8::Context>, 344 void didCreateScriptContext(v8::Local<v8::Context>,
345 int extensionGroup,
346 int worldId) override {} 345 int worldId) override {}
347 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 346 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
348 bool allowScriptExtension(const String& extensionName, 347 bool allowScriptExtensions() override { return false; }
349 int extensionGroup,
350 int worldId) override {
351 return false;
352 }
353 348
354 WebCookieJar* cookieJar() const override { return 0; } 349 WebCookieJar* cookieJar() const override { return 0; }
355 350
356 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() 351 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
357 override; 352 override;
358 bool isControlledByServiceWorker(DocumentLoader&) override { return false; } 353 bool isControlledByServiceWorker(DocumentLoader&) override { return false; }
359 int64_t serviceWorkerID(DocumentLoader&) override { return -1; } 354 int64_t serviceWorkerID(DocumentLoader&) override { return -1; }
360 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost( 355 std::unique_ptr<WebApplicationCacheHost> createApplicationCacheHost(
361 WebApplicationCacheHostClient*) override; 356 WebApplicationCacheHostClient*) override;
362 357
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 ~EmptyContextMenuClient() override {} 421 ~EmptyContextMenuClient() override {}
427 bool showContextMenu(const ContextMenu*, bool) override { return false; } 422 bool showContextMenu(const ContextMenu*, bool) override { return false; }
428 void clearContextMenu() override {} 423 void clearContextMenu() override {}
429 }; 424 };
430 425
431 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 426 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
432 427
433 } // namespace blink 428 } // namespace blink
434 429
435 #endif // EmptyClients_h 430 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698