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

Side by Side Diff: third_party/WebKit/Source/platform/ScopedOrientationChangeIndicator.h

Issue 2810413002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of platform/. (Closed)
Patch Set: Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ScopedOrientationChangeIndicator_h 5 #ifndef ScopedOrientationChangeIndicator_h
6 #define ScopedOrientationChangeIndicator_h 6 #define ScopedOrientationChangeIndicator_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 9 #include "platform/wtf/Allocator.h"
10 #include "wtf/Noncopyable.h" 10 #include "platform/wtf/Noncopyable.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class PLATFORM_EXPORT ScopedOrientationChangeIndicator final { 14 class PLATFORM_EXPORT ScopedOrientationChangeIndicator final {
15 STACK_ALLOCATED(); 15 STACK_ALLOCATED();
16 WTF_MAKE_NONCOPYABLE(ScopedOrientationChangeIndicator); 16 WTF_MAKE_NONCOPYABLE(ScopedOrientationChangeIndicator);
17 17
18 public: 18 public:
19 static bool ProcessingOrientationChange(); 19 static bool ProcessingOrientationChange();
20 20
21 explicit ScopedOrientationChangeIndicator(); 21 explicit ScopedOrientationChangeIndicator();
22 ~ScopedOrientationChangeIndicator(); 22 ~ScopedOrientationChangeIndicator();
23 23
24 private: 24 private:
25 enum class State { 25 enum class State {
26 kProcessing, 26 kProcessing,
27 kNotProcessing, 27 kNotProcessing,
28 }; 28 };
29 29
30 static State state_; 30 static State state_;
31 31
32 State previous_state_ = State::kNotProcessing; 32 State previous_state_ = State::kNotProcessing;
33 }; 33 };
34 34
35 } // namespace blink 35 } // namespace blink
36 36
37 #endif 37 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698