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

Side by Side Diff: third_party/WebKit/Source/core/dom/StyleChangeReason.cpp

Issue 2916563003: Compute effective touch action in StyleAdjuster. (Closed)
Patch Set: Rebase Created 3 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #include "core/dom/StyleChangeReason.h" 5 #include "core/dom/StyleChangeReason.h"
6 6
7 #include "platform/instrumentation/tracing/TraceEvent.h" 7 #include "platform/instrumentation/tracing/TraceEvent.h"
8 #include "platform/wtf/StaticConstructors.h" 8 #include "platform/wtf/StaticConstructors.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 namespace StyleChangeReason { 12 namespace StyleChangeReason {
13 const char kActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate"; 13 const char kActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate";
14 const char kAnimation[] = "Animation"; 14 const char kAnimation[] = "Animation";
15 const char kAttribute[] = "Attribute"; 15 const char kAttribute[] = "Attribute";
16 const char kCleanupPlaceholderStyles[] = "CleanupPlaceholderStyles"; 16 const char kCleanupPlaceholderStyles[] = "CleanupPlaceholderStyles";
17 const char kControlValue[] = "ControlValue"; 17 const char kControlValue[] = "ControlValue";
18 const char kControl[] = "Control"; 18 const char kControl[] = "Control";
19 const char kDeclarativeContent[] = "Extension declarativeContent.css"; 19 const char kDeclarativeContent[] = "Extension declarativeContent.css";
20 const char kDesignMode[] = "DesignMode"; 20 const char kDesignMode[] = "DesignMode";
21 const char kFontSizeChange[] = "FontSizeChange"; 21 const char kFontSizeChange[] = "FontSizeChange";
22 const char kFonts[] = "Fonts"; 22 const char kFonts[] = "Fonts";
23 const char kFullScreen[] = "FullScreen"; 23 const char kFullScreen[] = "FullScreen";
24 const char kInheritedStyleChangeFromParentFrame[] =
25 "InheritedStyleChangeFromParentFrame";
24 const char kInline[] = "Inline"; 26 const char kInline[] = "Inline";
25 const char kInlineCSSStyleMutated[] = 27 const char kInlineCSSStyleMutated[] =
26 "Inline CSS style declaration was mutated"; 28 "Inline CSS style declaration was mutated";
27 const char kInspector[] = "Inspector"; 29 const char kInspector[] = "Inspector";
28 const char kLanguage[] = "Language"; 30 const char kLanguage[] = "Language";
29 const char kLinkColorChange[] = "LinkColorChange"; 31 const char kLinkColorChange[] = "LinkColorChange";
30 const char kPlatformColorChange[] = "PlatformColorChange"; 32 const char kPlatformColorChange[] = "PlatformColorChange";
31 const char kPropagateInheritChangeToDistributedNodes[] = 33 const char kPropagateInheritChangeToDistributedNodes[] =
32 "PropagateInheritChangeToDistributedNodes"; 34 "PropagateInheritChangeToDistributedNodes";
33 const char kPropertyRegistration[] = "PropertyRegistration"; 35 const char kPropertyRegistration[] = "PropertyRegistration";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 new (NotNull, (void*)&g_focus) AtomicString(":focus"); 67 new (NotNull, (void*)&g_focus) AtomicString(":focus");
66 new (NotNull, (void*)&g_focus_within) AtomicString(":focus-within"); 68 new (NotNull, (void*)&g_focus_within) AtomicString(":focus-within");
67 new (NotNull, (void*)&g_hover) AtomicString(":hover"); 69 new (NotNull, (void*)&g_hover) AtomicString(":hover");
68 new (NotNull, (void*)&g_past) AtomicString(":past"); 70 new (NotNull, (void*)&g_past) AtomicString(":past");
69 new (NotNull, (void*)&g_unresolved) AtomicString(":unresolved"); 71 new (NotNull, (void*)&g_unresolved) AtomicString(":unresolved");
70 } 72 }
71 73
72 } // namespace StyleChangeExtraData 74 } // namespace StyleChangeExtraData
73 75
74 } // namespace blink 76 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleChangeReason.h ('k') | third_party/WebKit/Source/core/input/TouchActionUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698