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

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: Rebase onto crrev.com/1564773002 Created 4 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
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 // TODO(hajimehoshi): This is an experimental API to force purging memory. R emove this.
217 void purgeMemory(ExceptionState&);
218
216 protected: 219 protected:
217 DOMWindow(); 220 DOMWindow();
218 221
219 // Set to true when close() has been called. Needed for 222 // Set to true when close() has been called. Needed for
220 // |window.closed| determinism; having it return 'true' 223 // |window.closed| determinism; having it return 'true'
221 // only after the layout widget's deferred window close 224 // only after the layout widget's deferred window close
222 // operation has been performed, exposes (confusing) 225 // operation has been performed, exposes (confusing)
223 // implementation details to scripts. 226 // implementation details to scripts.
224 bool m_windowIsClosing; 227 bool m_windowIsClosing;
225 228
226 private: 229 private:
227 mutable RefPtrWillBeMember<Location> m_location; 230 mutable RefPtrWillBeMember<Location> m_location;
228 }; 231 };
229 232
230 } // namespace blink 233 } // namespace blink
231 234
232 #endif // DOMWindow_h 235 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ScriptResource.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