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

Side by Side Diff: Source/modules/device_orientation/DeviceMotionController.h

Issue 256593010: Gracefully support Navigator Gamepad methods in a detached state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have document supplements keep a reference to their document Created 6 years, 7 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 2010 Apple Inc. All rights reserved. 2 * Copyright 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 3 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
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 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above copyright 10 * * Redistributions in binary form must reproduce the above copyright
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void unregisterWithDispatcher() OVERRIDE; 55 virtual void unregisterWithDispatcher() OVERRIDE;
56 56
57 // Inherited from DOMWindowLifecycleObserver. 57 // Inherited from DOMWindowLifecycleObserver.
58 virtual void didAddEventListener(DOMWindow*, const AtomicString&) OVERRIDE; 58 virtual void didAddEventListener(DOMWindow*, const AtomicString&) OVERRIDE;
59 virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRID E; 59 virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRID E;
60 virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE; 60 virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE;
61 61
62 virtual bool hasLastData() OVERRIDE; 62 virtual bool hasLastData() OVERRIDE;
63 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE; 63 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE;
64 virtual bool isNullEvent(Event*) OVERRIDE; 64 virtual bool isNullEvent(Event*) OVERRIDE;
65 virtual Document* document() OVERRIDE;
66
67 Document& m_document;
65 }; 68 };
66 69
67 } // namespace WebCore 70 } // namespace WebCore
68 71
69 #endif // DeviceMotionController_h 72 #endif // DeviceMotionController_h
OLDNEW
« no previous file with comments | « Source/modules/battery/BatteryManager.cpp ('k') | Source/modules/device_orientation/DeviceMotionController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698