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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositorMutation.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 CompositorMutation_h 5 #ifndef CompositorMutation_h
6 #define CompositorMutation_h 6 #define CompositorMutation_h
7 7
8 #include <memory>
8 #include "platform/graphics/CompositorMutableProperties.h" 9 #include "platform/graphics/CompositorMutableProperties.h"
9 #include "third_party/skia/include/core/SkMatrix44.h" 10 #include "third_party/skia/include/core/SkMatrix44.h"
10 #include "wtf/HashMap.h" 11 #include "wtf/HashMap.h"
11 #include <memory>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class CompositorMutation { 15 class CompositorMutation {
16 public: 16 public:
17 void setOpacity(float opacity) { 17 void setOpacity(float opacity) {
18 m_mutatedFlags |= CompositorMutableProperty::kOpacity; 18 m_mutatedFlags |= CompositorMutableProperty::kOpacity;
19 m_opacity = opacity; 19 m_opacity = opacity;
20 } 20 }
21 void setScrollLeft(float scrollLeft) { 21 void setScrollLeft(float scrollLeft) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 SkMatrix44 m_transform; 57 SkMatrix44 m_transform;
58 }; 58 };
59 59
60 struct CompositorMutations { 60 struct CompositorMutations {
61 HashMap<uint64_t, std::unique_ptr<CompositorMutation>> map; 61 HashMap<uint64_t, std::unique_ptr<CompositorMutation>> map;
62 }; 62 };
63 63
64 } // namespace blink 64 } // namespace blink
65 65
66 #endif // CompositorMutation_h 66 #endif // CompositorMutation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698