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

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

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: DeviceLight API working fine (make the flag back to status=experimental) 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
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(devicelight);
270 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion); 271 DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion);
271 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation); 272 DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
272 273
273 // HTML 5 key/value storage 274 // HTML 5 key/value storage
274 Storage* sessionStorage(ExceptionState&) const; 275 Storage* sessionStorage(ExceptionState&) const;
275 Storage* localStorage(ExceptionState&) const; 276 Storage* localStorage(ExceptionState&) const;
276 Storage* optionalSessionStorage() const { return m_sessionStorage.get(); } 277 Storage* optionalSessionStorage() const { return m_sessionStorage.get(); }
277 Storage* optionalLocalStorage() const { return m_localStorage.get(); } 278 Storage* optionalLocalStorage() const { return m_localStorage.get(); }
278 279
279 ApplicationCache* applicationCache() const; 280 ApplicationCache* applicationCache() const;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 } 374 }
374 375
375 inline String DOMWindow::defaultStatus() const 376 inline String DOMWindow::defaultStatus() const
376 { 377 {
377 return m_defaultStatus; 378 return m_defaultStatus;
378 } 379 }
379 380
380 } // namespace WebCore 381 } // namespace WebCore
381 382
382 #endif // DOMWindow_h 383 #endif // DOMWindow_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698