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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void didCreateNewDocument() override; 59 void didCreateNewDocument() override;
60 // Notifies the WebView delegate that the JS window object has been cleared, 60 // Notifies the WebView delegate that the JS window object has been cleared,
61 // giving it a chance to bind native objects to the window before script 61 // giving it a chance to bind native objects to the window before script
62 // parsing begins. 62 // parsing begins.
63 void dispatchDidClearWindowObjectInMainWorld() override; 63 void dispatchDidClearWindowObjectInMainWorld() override;
64 void documentElementAvailable() override; 64 void documentElementAvailable() override;
65 void runScriptsAtDocumentElementAvailable() override; 65 void runScriptsAtDocumentElementAvailable() override;
66 void runScriptsAtDocumentReady(bool documentIsEmpty) override; 66 void runScriptsAtDocumentReady(bool documentIsEmpty) override;
67 67
68 void didCreateScriptContext(v8::Local<v8::Context>, 68 void didCreateScriptContext(v8::Local<v8::Context>,
69 int extensionGroup,
70 int worldId) override; 69 int worldId) override;
71 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override; 70 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override;
72 71
73 // Returns true if we should allow the given V8 extension to be added to 72 // Returns true if we should allow register V8 extensions to be added.
74 // the script context at the currently loading page and given extension group. 73 bool allowScriptExtensions() override;
75 bool allowScriptExtension(const String& extensionName,
76 int extensionGroup,
77 int worldId) override;
78 74
79 bool hasWebView() const override; 75 bool hasWebView() const override;
80 bool inShadowTree() const override; 76 bool inShadowTree() const override;
81 Frame* opener() const override; 77 Frame* opener() const override;
82 void setOpener(Frame*) override; 78 void setOpener(Frame*) override;
83 Frame* parent() const override; 79 Frame* parent() const override;
84 Frame* top() const override; 80 Frame* top() const override;
85 Frame* nextSibling() const override; 81 Frame* nextSibling() const override;
86 Frame* firstChild() const override; 82 Frame* firstChild() const override;
87 void willBeDetached() override; 83 void willBeDetached() override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 234
239 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 235 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
240 FrameLoaderClient, 236 FrameLoaderClient,
241 client, 237 client,
242 client->isFrameLoaderClientImpl(), 238 client->isFrameLoaderClientImpl(),
243 client.isFrameLoaderClientImpl()); 239 client.isFrameLoaderClientImpl());
244 240
245 } // namespace blink 241 } // namespace blink
246 242
247 #endif 243 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698