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

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

Issue 2916563003: Compute effective touch action in StyleAdjuster. (Closed)
Patch Set: Add rendering test that tests iframe style change Created 3 years, 6 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 kCompositorProxy[] = "CompositorProxy"; 17 const char kCompositorProxy[] = "CompositorProxy";
18 const char kControlValue[] = "ControlValue"; 18 const char kControlValue[] = "ControlValue";
19 const char kControl[] = "Control"; 19 const char kControl[] = "Control";
20 const char kDeclarativeContent[] = "Extension declarativeContent.css"; 20 const char kDeclarativeContent[] = "Extension declarativeContent.css";
21 const char kDesignMode[] = "DesignMode"; 21 const char kDesignMode[] = "DesignMode";
22 const char kFontSizeChange[] = "FontSizeChange"; 22 const char kFontSizeChange[] = "FontSizeChange";
23 const char kFonts[] = "Fonts"; 23 const char kFonts[] = "Fonts";
24 const char kFullScreen[] = "FullScreen"; 24 const char kFullScreen[] = "FullScreen";
25 const char kInheritedStyleChangeFromParentFrame[] =
26 "InheritedStyleChangeFromParentFrame";
25 const char kInline[] = "Inline"; 27 const char kInline[] = "Inline";
26 const char kInlineCSSStyleMutated[] = 28 const char kInlineCSSStyleMutated[] =
27 "Inline CSS style declaration was mutated"; 29 "Inline CSS style declaration was mutated";
28 const char kInspector[] = "Inspector"; 30 const char kInspector[] = "Inspector";
29 const char kLanguage[] = "Language"; 31 const char kLanguage[] = "Language";
30 const char kLinkColorChange[] = "LinkColorChange"; 32 const char kLinkColorChange[] = "LinkColorChange";
31 const char kPlatformColorChange[] = "PlatformColorChange"; 33 const char kPlatformColorChange[] = "PlatformColorChange";
32 const char kPropagateInheritChangeToDistributedNodes[] = 34 const char kPropagateInheritChangeToDistributedNodes[] =
33 "PropagateInheritChangeToDistributedNodes"; 35 "PropagateInheritChangeToDistributedNodes";
34 const char kPropertyRegistration[] = "PropertyRegistration"; 36 const char kPropertyRegistration[] = "PropertyRegistration";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 new (NotNull, (void*)&g_focus) AtomicString(":focus"); 68 new (NotNull, (void*)&g_focus) AtomicString(":focus");
67 new (NotNull, (void*)&g_focus_within) AtomicString(":focus-within"); 69 new (NotNull, (void*)&g_focus_within) AtomicString(":focus-within");
68 new (NotNull, (void*)&g_hover) AtomicString(":hover"); 70 new (NotNull, (void*)&g_hover) AtomicString(":hover");
69 new (NotNull, (void*)&g_past) AtomicString(":past"); 71 new (NotNull, (void*)&g_past) AtomicString(":past");
70 new (NotNull, (void*)&g_unresolved) AtomicString(":unresolved"); 72 new (NotNull, (void*)&g_unresolved) AtomicString(":unresolved");
71 } 73 }
72 74
73 } // namespace StyleChangeExtraData 75 } // namespace StyleChangeExtraData
74 76
75 } // namespace blink 77 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698