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

Side by Side Diff: third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp

Issue 2568443002: INPUT element: Do not use identical ID name for SearchFieldCancelButtonElement and ClearButtonEleme… (Closed)
Patch Set: step_func_done 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const AtomicString& pickerIndicator() { 77 const AtomicString& pickerIndicator() {
78 DEFINE_STATIC_LOCAL(AtomicString, name, ("picker")); 78 DEFINE_STATIC_LOCAL(AtomicString, name, ("picker"));
79 return name; 79 return name;
80 } 80 }
81 81
82 const AtomicString& placeholder() { 82 const AtomicString& placeholder() {
83 DEFINE_STATIC_LOCAL(AtomicString, name, ("placeholder")); 83 DEFINE_STATIC_LOCAL(AtomicString, name, ("placeholder"));
84 return name; 84 return name;
85 } 85 }
86 86
87 const AtomicString& searchClearButton() {
88 DEFINE_STATIC_LOCAL(AtomicString, name, ("search-clear"));
89 return name;
90 }
91
87 const AtomicString& searchDecoration() { 92 const AtomicString& searchDecoration() {
88 DEFINE_STATIC_LOCAL(AtomicString, name, ("decoration")); 93 DEFINE_STATIC_LOCAL(AtomicString, name, ("decoration"));
89 return name; 94 return name;
90 } 95 }
91 96
92 const AtomicString& sliderThumb() { 97 const AtomicString& sliderThumb() {
93 DEFINE_STATIC_LOCAL(AtomicString, name, ("thumb")); 98 DEFINE_STATIC_LOCAL(AtomicString, name, ("thumb"));
94 return name; 99 return name;
95 } 100 }
96 101
97 const AtomicString& sliderTrack() { 102 const AtomicString& sliderTrack() {
98 DEFINE_STATIC_LOCAL(AtomicString, name, ("track")); 103 DEFINE_STATIC_LOCAL(AtomicString, name, ("track"));
99 return name; 104 return name;
100 } 105 }
101 106
102 const AtomicString& textFieldContainer() { 107 const AtomicString& textFieldContainer() {
103 DEFINE_STATIC_LOCAL(AtomicString, name, ("text-field-container")); 108 DEFINE_STATIC_LOCAL(AtomicString, name, ("text-field-container"));
104 return name; 109 return name;
105 } 110 }
106 111
107 const AtomicString& optGroupLabel() { 112 const AtomicString& optGroupLabel() {
108 DEFINE_STATIC_LOCAL(AtomicString, name, ("optgroup-label")); 113 DEFINE_STATIC_LOCAL(AtomicString, name, ("optgroup-label"));
109 return name; 114 return name;
110 } 115 }
111 116
112 } // namespace ShadowElementNames 117 } // namespace ShadowElementNames
113 118
114 } // namespace blink 119 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698