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

Side by Side Diff: third_party/WebKit/Source/core/frame/DOMWindow.h

Issue 1373773003: Implement 'window.isSecureContext'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: document. Created 5 years, 2 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DOMWindow_h 5 #ifndef DOMWindow_h
6 #define DOMWindow_h 6 #define DOMWindow_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/events/EventTarget.h" 9 #include "core/events/EventTarget.h"
10 #include "core/frame/DOMWindowBase64.h" 10 #include "core/frame/DOMWindowBase64.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 190
191 // FIXME: When this DOMWindow is no longer the active DOMWindow (i.e., 191 // FIXME: When this DOMWindow is no longer the active DOMWindow (i.e.,
192 // when its document is no longer the document that is displayed in its 192 // when its document is no longer the document that is displayed in its
193 // frame), we would like to zero out m_frame to avoid being confused 193 // frame), we would like to zero out m_frame to avoid being confused
194 // by the document that is currently active in m_frame. 194 // by the document that is currently active in m_frame.
195 // See https://bugs.webkit.org/show_bug.cgi?id=62054 195 // See https://bugs.webkit.org/show_bug.cgi?id=62054
196 bool isCurrentlyDisplayedInFrame() const; 196 bool isCurrentlyDisplayedInFrame() const;
197 197
198 void resetLocation(); 198 void resetLocation();
199 199
200 bool isSecureContext() const;
201
200 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationend); 202 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationend);
201 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationiteration); 203 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationiteration);
202 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationstart); 204 DEFINE_ATTRIBUTE_EVENT_LISTENER(animationstart);
203 DEFINE_ATTRIBUTE_EVENT_LISTENER(search); 205 DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
204 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend); 206 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend);
205 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); 207 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
206 208
207 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnimation Start); 209 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnimation Start);
208 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitAnima tionIteration); 210 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitAnima tionIteration);
209 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimationEn d); 211 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimationEn d);
(...skipping 15 matching lines...) Expand all
225 // implementation details to scripts. 227 // implementation details to scripts.
226 bool m_windowIsClosing; 228 bool m_windowIsClosing;
227 229
228 private: 230 private:
229 mutable RefPtrWillBeMember<Location> m_location; 231 mutable RefPtrWillBeMember<Location> m_location;
230 }; 232 };
231 233
232 } // namespace blink 234 } // namespace blink
233 235
234 #endif // DOMWindow_h 236 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698