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

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

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments Created 4 years, 2 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, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
7 * reserved.
7 * 8 *
8 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 11 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version. 12 * version 2 of the License, or (at your option) any later version.
12 * 13 *
13 * This library is distributed in the hope that it will be useful, 14 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details. 17 * Library General Public License for more details.
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 244
244 bool HTMLBodyElement::hasLegalLinkAttribute(const QualifiedName& name) const { 245 bool HTMLBodyElement::hasLegalLinkAttribute(const QualifiedName& name) const {
245 return name == backgroundAttr || HTMLElement::hasLegalLinkAttribute(name); 246 return name == backgroundAttr || HTMLElement::hasLegalLinkAttribute(name);
246 } 247 }
247 248
248 const QualifiedName& HTMLBodyElement::subResourceAttributeName() const { 249 const QualifiedName& HTMLBodyElement::subResourceAttributeName() const {
249 return backgroundAttr; 250 return backgroundAttr;
250 } 251 }
251 252
252 bool HTMLBodyElement::supportsFocus() const { 253 bool HTMLBodyElement::supportsFocus() const {
253 // This override is needed because the inherited method bails if the parent is editable. 254 // This override is needed because the inherited method bails if the parent is
254 // The <body> should be focusable even if <html> is editable. 255 // editable. The <body> should be focusable even if <html> is editable.
255 return hasEditableStyle(*this) || HTMLElement::supportsFocus(); 256 return hasEditableStyle(*this) || HTMLElement::supportsFocus();
256 } 257 }
257 258
258 } // namespace blink 259 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLBaseElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLButtonElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698