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

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

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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 /* 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 Simon Hausmann (hausmann@kde.org) 4 * (C) 2000 Simon Hausmann (hausmann@kde.org)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2006, 2008, 2009 Apple 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 frame_name_ = value; 142 frame_name_ = value;
143 } else if (name == nameAttr) { 143 } else if (name == nameAttr) {
144 frame_name_ = value; 144 frame_name_ = value;
145 } else if (name == marginwidthAttr) { 145 } else if (name == marginwidthAttr) {
146 SetMarginWidth(value.ToInt()); 146 SetMarginWidth(value.ToInt());
147 } else if (name == marginheightAttr) { 147 } else if (name == marginheightAttr) {
148 SetMarginHeight(value.ToInt()); 148 SetMarginHeight(value.ToInt());
149 } else if (name == scrollingAttr) { 149 } else if (name == scrollingAttr) {
150 // Auto and yes both simply mean "allow scrolling." No means "don't allow 150 // Auto and yes both simply mean "allow scrolling." No means "don't allow
151 // scrolling." 151 // scrolling."
152 if (EqualIgnoringCase(value, "auto") || EqualIgnoringCase(value, "yes")) 152 if (DeprecatedEqualIgnoringCase(value, "auto") ||
153 DeprecatedEqualIgnoringCase(value, "yes"))
153 SetScrollingMode(kScrollbarAuto); 154 SetScrollingMode(kScrollbarAuto);
154 else if (EqualIgnoringCase(value, "no")) 155 else if (DeprecatedEqualIgnoringCase(value, "no"))
155 SetScrollingMode(kScrollbarAlwaysOff); 156 SetScrollingMode(kScrollbarAlwaysOff);
156 } else if (name == onbeforeunloadAttr) { 157 } else if (name == onbeforeunloadAttr) {
157 // FIXME: should <frame> elements have beforeunload handlers? 158 // FIXME: should <frame> elements have beforeunload handlers?
158 SetAttributeEventListener( 159 SetAttributeEventListener(
159 EventTypeNames::beforeunload, 160 EventTypeNames::beforeunload,
160 CreateAttributeEventListener(this, name, value, EventParameterName())); 161 CreateAttributeEventListener(this, name, value, EventParameterName()));
161 } else { 162 } else {
162 HTMLFrameOwnerElement::ParseAttribute(params); 163 HTMLFrameOwnerElement::ParseAttribute(params);
163 } 164 }
164 } 165 }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 272
272 if (contentDocument()) { 273 if (contentDocument()) {
273 contentDocument()->WillChangeFrameOwnerProperties( 274 contentDocument()->WillChangeFrameOwnerProperties(
274 margin_width_, margin_height, scrolling_mode_, IsDisplayNone()); 275 margin_width_, margin_height, scrolling_mode_, IsDisplayNone());
275 } 276 }
276 margin_height_ = margin_height; 277 margin_height_ = margin_height;
277 FrameOwnerPropertiesChanged(); 278 FrameOwnerPropertiesChanged();
278 } 279 }
279 280
280 } // namespace blink 281 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFormElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLFrameSetElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698