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

Side by Side Diff: Source/bindings/core/v8/WindowProxy.h

Issue 1110433002: Make Isolate as the first argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix Compile error Created 5 years, 8 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
« no previous file with comments | « Source/bindings/core/v8/V8ValueCache.h ('k') | Source/bindings/core/v8/WindowProxy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 namespace blink { 45 namespace blink {
46 46
47 class Frame; 47 class Frame;
48 class HTMLDocument; 48 class HTMLDocument;
49 class SecurityOrigin; 49 class SecurityOrigin;
50 50
51 // WindowProxy represents all the per-global object state for a Frame that 51 // WindowProxy represents all the per-global object state for a Frame that
52 // persist between navigations. 52 // persist between navigations.
53 class WindowProxy final : public NoBaseWillBeGarbageCollectedFinalized<WindowPro xy> { 53 class WindowProxy final : public NoBaseWillBeGarbageCollectedFinalized<WindowPro xy> {
54 public: 54 public:
55 static PassOwnPtrWillBeRawPtr<WindowProxy> create(Frame*, DOMWrapperWorld&, v8::Isolate*); 55 static PassOwnPtrWillBeRawPtr<WindowProxy> create(v8::Isolate*, Frame*, DOMW rapperWorld&);
56 56
57 ~WindowProxy(); 57 ~WindowProxy();
58 DECLARE_TRACE(); 58 DECLARE_TRACE();
59 59
60 v8::Local<v8::Context> context() const { return m_scriptState ? m_scriptStat e->context() : v8::Local<v8::Context>(); } 60 v8::Local<v8::Context> context() const { return m_scriptState ? m_scriptStat e->context() : v8::Local<v8::Context>(); }
61 ScriptState* scriptState() const { return m_scriptState.get(); } 61 ScriptState* scriptState() const { return m_scriptState.get(); }
62 62
63 // Update document object of the frame. 63 // Update document object of the frame.
64 void updateDocument(); 64 void updateDocument();
65 65
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // There is a suspicion that installDOMWindow() is called while running 115 // There is a suspicion that installDOMWindow() is called while running
116 // installDOMWindow, i.e. installDOMWindow is not running atomically. 116 // installDOMWindow, i.e. installDOMWindow is not running atomically.
117 // This flag is used for an attempt to detect such a case. 117 // This flag is used for an attempt to detect such a case.
118 // TODO(yukishiino): Remove this experiment. 118 // TODO(yukishiino): Remove this experiment.
119 bool m_installingDOMWindow; 119 bool m_installingDOMWindow;
120 }; 120 };
121 121
122 } // namespace blink 122 } // namespace blink
123 123
124 #endif // WindowProxy_h 124 #endif // WindowProxy_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8ValueCache.h ('k') | Source/bindings/core/v8/WindowProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698