| OLD | NEW |
| 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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 6 * Copyright (C) 2012 Samsung Electronics. 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } | 253 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } |
| 254 | 254 |
| 255 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } | 255 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } |
| 256 | 256 |
| 257 // For test purposes. | 257 // For test purposes. |
| 258 void selectColorInColorChooser(const Color&); | 258 void selectColorInColorChooser(const Color&); |
| 259 | 259 |
| 260 String defaultToolTip() const; | 260 String defaultToolTip() const; |
| 261 | 261 |
| 262 #if ENABLE(MEDIA_CAPTURE) | 262 #if ENABLE(MEDIA_CAPTURE) |
| 263 String capture() const; | 263 bool capture() const; |
| 264 void setCapture(const String& value); | |
| 265 #endif | 264 #endif |
| 266 | 265 |
| 267 static const int maximumLength; | 266 static const int maximumLength; |
| 268 | 267 |
| 269 unsigned height() const; | 268 unsigned height() const; |
| 270 unsigned width() const; | 269 unsigned width() const; |
| 271 void setHeight(unsigned); | 270 void setHeight(unsigned); |
| 272 void setWidth(unsigned); | 271 void setWidth(unsigned); |
| 273 | 272 |
| 274 virtual void blur() OVERRIDE; | 273 virtual void blur() OVERRIDE; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); | 431 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); |
| 433 return static_cast<const HTMLInputElement*>(node); | 432 return static_cast<const HTMLInputElement*>(node); |
| 434 } | 433 } |
| 435 | 434 |
| 436 // This will catch anyone doing an unnecessary cast. | 435 // This will catch anyone doing an unnecessary cast. |
| 437 void toHTMLElement(const HTMLElement*); | 436 void toHTMLElement(const HTMLElement*); |
| 438 | 437 |
| 439 | 438 |
| 440 } //namespace | 439 } //namespace |
| 441 #endif | 440 #endif |
| OLD | NEW |