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

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

Issue 2612953003: Remove the declaration of WindowProxy::updateDocumentWrapper (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Update the security origin of a document 71 // Update the security origin of a document
72 // (e.g., after setting docoument.domain). 72 // (e.g., after setting docoument.domain).
73 void updateSecurityOrigin(SecurityOrigin*); 73 void updateSecurityOrigin(SecurityOrigin*);
74 74
75 bool isContextInitialized() { 75 bool isContextInitialized() {
76 return m_scriptState && !!m_scriptState->perContextData(); 76 return m_scriptState && !!m_scriptState->perContextData();
77 } 77 }
78 bool isGlobalInitialized() { return !m_globalProxy.isEmpty(); } 78 bool isGlobalInitialized() { return !m_globalProxy.isEmpty(); }
79 79
80 void initializeIfNeeded(); 80 void initializeIfNeeded();
81 void updateDocumentWrapper(v8::Local<v8::Object> wrapper);
82 81
83 void clearForNavigation(); 82 void clearForNavigation();
84 void clearForClose(); 83 void clearForClose();
85 84
86 v8::Local<v8::Object> globalIfNotDetached(); 85 v8::Local<v8::Object> globalIfNotDetached();
87 v8::Local<v8::Object> releaseGlobal(); 86 v8::Local<v8::Object> releaseGlobal();
88 void setGlobal(v8::Local<v8::Object>); 87 void setGlobal(v8::Local<v8::Object>);
89 88
90 DOMWrapperWorld& world() { return *m_world; } 89 DOMWrapperWorld& world() { return *m_world; }
91 90
(...skipping 27 matching lines...) Expand all
119 Member<Frame> m_frame; 118 Member<Frame> m_frame;
120 v8::Isolate* m_isolate; 119 v8::Isolate* m_isolate;
121 RefPtr<ScriptState> m_scriptState; 120 RefPtr<ScriptState> m_scriptState;
122 RefPtr<DOMWrapperWorld> m_world; 121 RefPtr<DOMWrapperWorld> m_world;
123 ScopedPersistent<v8::Object> m_globalProxy; 122 ScopedPersistent<v8::Object> m_globalProxy;
124 }; 123 };
125 124
126 } // namespace blink 125 } // namespace blink
127 126
128 #endif // WindowProxy_h 127 #endif // WindowProxy_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698