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

Side by Side Diff: Source/core/html/HTMLOptionElement.h

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLOptGroupElement.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) 2010 Google Inc. All rights reserved. 6 * Copyright (C) 2010 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void didNotifySubtreeInsertionsToDocument() override; 83 virtual void didNotifySubtreeInsertionsToDocument() override;
84 virtual void removedFrom(ContainerNode*) override; 84 virtual void removedFrom(ContainerNode*) override;
85 virtual void accessKeyAction(bool) override; 85 virtual void accessKeyAction(bool) override;
86 virtual void childrenChanged(const ChildrenChange&) override; 86 virtual void childrenChanged(const ChildrenChange&) override;
87 87
88 // <option> never has a renderer so we manually manage a cached style. 88 // <option> never has a renderer so we manually manage a cached style.
89 void updateNonLayoutStyle(); 89 void updateNonLayoutStyle();
90 virtual LayoutStyle* nonRendererStyle() const override; 90 virtual LayoutStyle* nonRendererStyle() const override;
91 virtual PassRefPtr<LayoutStyle> customStyleForRenderer() override; 91 virtual PassRefPtr<LayoutStyle> customStyleForRenderer() override;
92 virtual void didRecalcStyle(StyleRecalcChange) override; 92 virtual void didRecalcStyle(StyleRecalcChange) override;
93 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; 93 virtual void didAddClosedShadowRoot(ShadowRoot&) override;
94 94
95 String collectOptionInnerText() const; 95 String collectOptionInnerText() const;
96 96
97 void updateLabel(); 97 void updateLabel();
98 98
99 bool m_disabled; 99 bool m_disabled;
100 bool m_isSelected; 100 bool m_isSelected;
101 RefPtr<LayoutStyle> m_style; 101 RefPtr<LayoutStyle> m_style;
102 }; 102 };
103 103
104 } // namespace blink 104 } // namespace blink
105 105
106 #endif // HTMLOptionElement_h 106 #endif // HTMLOptionElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLOptGroupElement.cpp ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698