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

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

Issue 189413008: Move DeviceOrientation / DeviceMotion event handlers to device_orientation module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/Window.idl » ('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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart); 260 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnima tionStart);
261 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration); 261 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitA nimationIteration);
262 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd); 262 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimati onEnd);
263 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd); 263 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransi tionEnd);
264 264
265 void captureEvents() { } 265 void captureEvents() { }
266 void releaseEvents() { } 266 void releaseEvents() { }
267 267
268 void finishedLoading(); 268 void finishedLoading();
269 269
270 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion);
271 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
272
273 // HTML 5 key/value storage 270 // HTML 5 key/value storage
274 Storage* sessionStorage(ExceptionState&) const; 271 Storage* sessionStorage(ExceptionState&) const;
275 Storage* localStorage(ExceptionState&) const; 272 Storage* localStorage(ExceptionState&) const;
276 Storage* optionalSessionStorage() const { return m_sessionStorage.get(); } 273 Storage* optionalSessionStorage() const { return m_sessionStorage.get(); }
277 Storage* optionalLocalStorage() const { return m_localStorage.get(); } 274 Storage* optionalLocalStorage() const { return m_localStorage.get(); }
278 275
279 ApplicationCache* applicationCache() const; 276 ApplicationCache* applicationCache() const;
280 ApplicationCache* optionalApplicationCache() const { return m_applicatio nCache.get(); } 277 ApplicationCache* optionalApplicationCache() const { return m_applicatio nCache.get(); }
281 278
282 // This is the interface orientation in degrees. Some examples are: 279 // This is the interface orientation in degrees. Some examples are:
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 } 370 }
374 371
375 inline String DOMWindow::defaultStatus() const 372 inline String DOMWindow::defaultStatus() const
376 { 373 {
377 return m_defaultStatus; 374 return m_defaultStatus;
378 } 375 }
379 376
380 } // namespace WebCore 377 } // namespace WebCore
381 378
382 #endif // DOMWindow_h 379 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698