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

Side by Side Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.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) 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // LocalFrameClient ---------------------------------------------- 58 // LocalFrameClient ----------------------------------------------
59 59
60 void didCreateNewDocument() override; 60 void didCreateNewDocument() override;
61 // Notifies the WebView delegate that the JS window object has been cleared, 61 // Notifies the WebView delegate that the JS window object has been cleared,
62 // giving it a chance to bind native objects to the window before script 62 // giving it a chance to bind native objects to the window before script
63 // parsing begins. 63 // parsing begins.
64 void dispatchDidClearWindowObjectInMainWorld() override; 64 void dispatchDidClearWindowObjectInMainWorld() override;
65 void documentElementAvailable() override; 65 void documentElementAvailable() override;
66 void runScriptsAtDocumentElementAvailable() override; 66 void runScriptsAtDocumentElementAvailable() override;
67 void runScriptsAtDocumentReady(bool documentIsEmpty) override; 67 void runScriptsAtDocumentReady(bool documentIsEmpty) override;
68 void runScriptsAtDocumentIdle() override;
68 69
69 void didCreateScriptContext(v8::Local<v8::Context>, int worldId) override; 70 void didCreateScriptContext(v8::Local<v8::Context>, int worldId) override;
70 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override; 71 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override;
71 72
72 // Returns true if we should allow register V8 extensions to be added. 73 // Returns true if we should allow register V8 extensions to be added.
73 bool allowScriptExtensions() override; 74 bool allowScriptExtensions() override;
74 75
75 bool hasWebView() const override; 76 bool hasWebView() const override;
76 bool inShadowTree() const override; 77 bool inShadowTree() const override;
77 Frame* opener() const override; 78 Frame* opener() const override;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 239
239 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 240 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
240 LocalFrameClient, 241 LocalFrameClient,
241 client, 242 client,
242 client->isLocalFrameClientImpl(), 243 client->isLocalFrameClientImpl(),
243 client.isLocalFrameClientImpl()); 244 client.isLocalFrameClientImpl());
244 245
245 } // namespace blink 246 } // namespace blink
246 247
247 #endif 248 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698