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

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

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: . Created 4 years 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/tracing/TraceEvent.h" 7 #include "platform/tracing/TraceEvent.h"
8 #include "wtf/StaticConstructors.h" 8 #include "wtf/StaticConstructors.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 namespace StyleChangeReason { 12 namespace StyleChangeReason {
13 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate"; 13 const char ActiveStylesheetsUpdate[] = "ActiveStylesheetsUpdate";
14 const char Animation[] = "Animation"; 14 const char Animation[] = "Animation";
15 const char Attribute[] = "Attribute"; 15 const char Attribute[] = "Attribute";
16 const char CleanupPlaceholderStyles[] = "CleanupPlaceholderStyles"; 16 const char CleanupPlaceholderStyles[] = "CleanupPlaceholderStyles";
17 const char CompositorProxy[] = "CompositorProxy"; 17 const char CompositorProxy[] = "CompositorProxy";
18 const char ControlValue[] = "ControlValue"; 18 const char ControlValue[] = "ControlValue";
19 const char Control[] = "Control"; 19 const char Control[] = "Control";
20 const char DeclarativeContent[] = "Extension declarativeContent.css"; 20 const char DeclarativeContent[] = "Extension declarativeContent.css";
21 const char DesignMode[] = "DesignMode"; 21 const char DesignMode[] = "DesignMode";
22 const char FontSizeChange[] = "FontSizeChange"; 22 const char FontSizeChange[] = "FontSizeChange";
23 const char Fonts[] = "Fonts"; 23 const char Fonts[] = "Fonts";
24 const char FullScreen[] = "FullScreen"; 24 const char FullScreen[] = "FullScreen";
25 const char IFrameDisplayChanged[] = "IFrameDisplayChanged";
25 const char Inline[] = "Inline"; 26 const char Inline[] = "Inline";
26 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated"; 27 const char InlineCSSStyleMutated[] = "Inline CSS style declaration was mutated";
27 const char Inspector[] = "Inspector"; 28 const char Inspector[] = "Inspector";
28 const char Language[] = "Language"; 29 const char Language[] = "Language";
29 const char LinkColorChange[] = "LinkColorChange"; 30 const char LinkColorChange[] = "LinkColorChange";
30 const char PlatformColorChange[] = "PlatformColorChange"; 31 const char PlatformColorChange[] = "PlatformColorChange";
31 const char PropagateInheritChangeToDistributedNodes[] = 32 const char PropagateInheritChangeToDistributedNodes[] =
32 "PropagateInheritChangeToDistributedNodes"; 33 "PropagateInheritChangeToDistributedNodes";
33 const char PropertyRegistration[] = "PropertyRegistration"; 34 const char PropertyRegistration[] = "PropertyRegistration";
34 const char PropertyUnregistration[] = "PropertyUnregistration"; 35 const char PropertyUnregistration[] = "PropertyUnregistration";
(...skipping 28 matching lines...) Expand all
63 new (NotNull, (void*)&Drag) AtomicString(":-webkit-drag"); 64 new (NotNull, (void*)&Drag) AtomicString(":-webkit-drag");
64 new (NotNull, (void*)&Focus) AtomicString(":focus"); 65 new (NotNull, (void*)&Focus) AtomicString(":focus");
65 new (NotNull, (void*)&Hover) AtomicString(":hover"); 66 new (NotNull, (void*)&Hover) AtomicString(":hover");
66 new (NotNull, (void*)&Past) AtomicString(":past"); 67 new (NotNull, (void*)&Past) AtomicString(":past");
67 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved"); 68 new (NotNull, (void*)&Unresolved) AtomicString(":unresolved");
68 } 69 }
69 70
70 } // namespace StyleChangeExtraData 71 } // namespace StyleChangeExtraData
71 72
72 } // namespace blink 73 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698