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

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

Issue 1389383003: WIP: Introduce CompressibleString Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix Created 5 years 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend); 206 DEFINE_ATTRIBUTE_EVENT_LISTENER(transitionend);
207 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); 207 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
208 208
209 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnimation Start); 209 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnimation Start);
210 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitAnima tionIteration); 210 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitAnima tionIteration);
211 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimationEn d); 211 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimationEn d);
212 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransition End); 212 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransition End);
213 213
214 DEFINE_ATTRIBUTE_EVENT_LISTENER(orientationchange); 214 DEFINE_ATTRIBUTE_EVENT_LISTENER(orientationchange);
215 215
216 void purgeMemory(ExceptionState&);
217
216 protected: 218 protected:
217 DOMWindow(); 219 DOMWindow();
218 220
219 // Set to true when close() has been called. Needed for 221 // Set to true when close() has been called. Needed for
220 // |window.closed| determinism; having it return 'true' 222 // |window.closed| determinism; having it return 'true'
221 // only after the layout widget's deferred window close 223 // only after the layout widget's deferred window close
222 // operation has been performed, exposes (confusing) 224 // operation has been performed, exposes (confusing)
223 // implementation details to scripts. 225 // implementation details to scripts.
224 bool m_windowIsClosing; 226 bool m_windowIsClosing;
225 227
226 private: 228 private:
227 mutable RefPtrWillBeMember<Location> m_location; 229 mutable RefPtrWillBeMember<Location> m_location;
228 }; 230 };
229 231
230 } // namespace blink 232 } // namespace blink
231 233
232 #endif // DOMWindow_h 234 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698