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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.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, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 const String& mimeType, 211 const String& mimeType,
212 bool shouldPreferPlugInsForImages) = 0; 212 bool shouldPreferPlugInsForImages) = 0;
213 213
214 virtual void didCreateNewDocument() = 0; 214 virtual void didCreateNewDocument() = 0;
215 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; 215 virtual void dispatchDidClearWindowObjectInMainWorld() = 0;
216 virtual void documentElementAvailable() = 0; 216 virtual void documentElementAvailable() = 0;
217 virtual void runScriptsAtDocumentElementAvailable() = 0; 217 virtual void runScriptsAtDocumentElementAvailable() = 0;
218 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0; 218 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0;
219 219
220 virtual void didCreateScriptContext(v8::Local<v8::Context>, 220 virtual void didCreateScriptContext(v8::Local<v8::Context>,
221 int extensionGroup,
222 int worldId) = 0; 221 int worldId) = 0;
223 virtual void willReleaseScriptContext(v8::Local<v8::Context>, 222 virtual void willReleaseScriptContext(v8::Local<v8::Context>,
224 int worldId) = 0; 223 int worldId) = 0;
225 virtual bool allowScriptExtension(const String& extensionName, 224 virtual bool allowScriptExtensions() = 0;
226 int extensionGroup,
227 int worldId) = 0;
228 225
229 virtual void didChangeScrollOffset() {} 226 virtual void didChangeScrollOffset() {}
230 virtual void didUpdateCurrentHistoryItem() {} 227 virtual void didUpdateCurrentHistoryItem() {}
231 228
232 virtual bool allowScript(bool enabledPerSettings) { 229 virtual bool allowScript(bool enabledPerSettings) {
233 return enabledPerSettings; 230 return enabledPerSettings;
234 } 231 }
235 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { 232 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) {
236 return enabledPerSettings; 233 return enabledPerSettings;
237 } 234 }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 336 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
340 // returned if the URL is not overriden. 337 // returned if the URL is not overriden.
341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
342 339
343 virtual BlameContext* frameBlameContext() { return nullptr; } 340 virtual BlameContext* frameBlameContext() { return nullptr; }
344 }; 341 };
345 342
346 } // namespace blink 343 } // namespace blink
347 344
348 #endif // FrameLoaderClient_h 345 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698