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

Side by Side Diff: Source/core/html/HTMLLinkElement.cpp

Issue 560273004: Use AtomicString API directly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more Created 6 years, 3 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
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLObjectElement.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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } else if (name == hrefAttr) { 167 } else if (name == hrefAttr) {
168 process(); 168 process();
169 } else if (name == typeAttr) { 169 } else if (name == typeAttr) {
170 m_type = value; 170 m_type = value;
171 process(); 171 process();
172 } else if (name == sizesAttr) { 172 } else if (name == sizesAttr) {
173 m_sizes->setValue(value); 173 m_sizes->setValue(value);
174 parseSizesAttribute(value, m_iconSizes); 174 parseSizesAttribute(value, m_iconSizes);
175 process(); 175 process();
176 } else if (name == mediaAttr) { 176 } else if (name == mediaAttr) {
177 m_media = value.string().lower(); 177 m_media = value.lower();
178 process(); 178 process();
179 } else if (name == disabledAttr) { 179 } else if (name == disabledAttr) {
180 if (LinkStyle* link = linkStyle()) 180 if (LinkStyle* link = linkStyle())
181 link->setDisabledState(!value.isNull()); 181 link->setDisabledState(!value.isNull());
182 } else { 182 } else {
183 if (name == titleAttr) { 183 if (name == titleAttr) {
184 if (LinkStyle* link = linkStyle()) 184 if (LinkStyle* link = linkStyle())
185 link->setSheetTitle(value); 185 link->setSheetTitle(value);
186 } 186 }
187 187
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 removePendingSheet(); 738 removePendingSheet();
739 } 739 }
740 740
741 void LinkStyle::trace(Visitor* visitor) 741 void LinkStyle::trace(Visitor* visitor)
742 { 742 {
743 visitor->trace(m_sheet); 743 visitor->trace(m_sheet);
744 LinkResource::trace(visitor); 744 LinkResource::trace(visitor);
745 } 745 }
746 746
747 } // namespace blink 747 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698