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

Side by Side Diff: Source/WebCore/html/HTMLFormControlElement.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/html/HTMLCanvasElement.h ('k') | Source/WebCore/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) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 bool HTMLFormControlElement::isKeyboardFocusable(KeyboardEvent* event) const 326 bool HTMLFormControlElement::isKeyboardFocusable(KeyboardEvent* event) const
327 { 327 {
328 if (isFocusable()) 328 if (isFocusable())
329 if (document()->frame()) 329 if (document()->frame())
330 return document()->frame()->eventHandler()->tabsToAllFormControls(ev ent); 330 return document()->frame()->eventHandler()->tabsToAllFormControls(ev ent);
331 return false; 331 return false;
332 } 332 }
333 333
334 bool HTMLFormControlElement::isMouseFocusable() const 334 bool HTMLFormControlElement::isMouseFocusable() const
335 { 335 {
336 #if PLATFORM(GTK) || PLATFORM(QT)
337 return HTMLElement::isMouseFocusable();
338 #else
339 return false; 336 return false;
340 #endif
341 } 337 }
342 338
343 short HTMLFormControlElement::tabIndex() const 339 short HTMLFormControlElement::tabIndex() const
344 { 340 {
345 // Skip the supportsFocus check in HTMLElement. 341 // Skip the supportsFocus check in HTMLElement.
346 return Element::tabIndex(); 342 return Element::tabIndex();
347 } 343 }
348 344
349 bool HTMLFormControlElement::recalcWillValidate() const 345 bool HTMLFormControlElement::recalcWillValidate() const
350 { 346 {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 } 483 }
488 484
489 void HTMLFormControlElement::reportMemoryUsage(MemoryObjectInfo* memoryObjectInf o) const 485 void HTMLFormControlElement::reportMemoryUsage(MemoryObjectInfo* memoryObjectInf o) const
490 { 486 {
491 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM); 487 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::DOM);
492 LabelableElement::reportMemoryUsage(memoryObjectInfo); 488 LabelableElement::reportMemoryUsage(memoryObjectInfo);
493 info.addMember(m_validationMessage, "validationMessage"); 489 info.addMember(m_validationMessage, "validationMessage");
494 } 490 }
495 491
496 } // namespace Webcore 492 } // namespace Webcore
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLCanvasElement.h ('k') | Source/WebCore/html/HTMLObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698