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

Side by Side Diff: Source/modules/screen_orientation/PartialScreenOrientation.h

Issue 374623002: [screen-orientation] Update implementation to match recent spec changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix move Created 6 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PartialScreenOrientation_h
6 #define PartialScreenOrientation_h
7
8 #include "core/frame/DOMWindowProperty.h"
9 #include "platform/Supplementable.h"
10
11 namespace WebCore {
12
13 class ScreenOrientation;
14 class Screen;
15 class ScriptState;
16
17 class PartialScreenOrientation FINAL : public NoBaseWillBeGarbageCollectedFinali zed<PartialScreenOrientation>, public WillBeHeapSupplement<Screen>, DOMWindowPro perty {
abarth-chromium 2014/07/07 17:29:33 PartialScreenOrientation -> ScreenScreenOrientatio
mlamouri (slow - plz ping) 2014/07/08 14:07:59 Done.
18 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PartialScreenOrientation);
19 public:
20 static PartialScreenOrientation& from(Screen&);
21 virtual ~PartialScreenOrientation();
22
23 static ScreenOrientation* orientation(ScriptState*, Screen&);
24
25 virtual void trace(Visitor*) OVERRIDE;
26
27 private:
28 explicit PartialScreenOrientation(Screen&);
29
30 static const char* supplementName();
31
32 PersistentWillBeMember<ScreenOrientation> m_orientation;
33 };
34
35 } // namespace WebCore
36
37 #endif // PartialScreenOrientation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698