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

Side by Side Diff: Source/core/dom/Element.h

Issue 239983004: Textarea resize-able only to larger; min-height and min-width properly set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addresses the changes asked in patch set 3 Created 6 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) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e 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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&); 395 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&);
396 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&); 396 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&);
397 397
398 String textFromChildren(); 398 String textFromChildren();
399 399
400 virtual String title() const { return String(); } 400 virtual String title() const { return String(); }
401 401
402 virtual const AtomicString& shadowPseudoId() const; 402 virtual const AtomicString& shadowPseudoId() const;
403 void setShadowPseudoId(const AtomicString&); 403 void setShadowPseudoId(const AtomicString&);
404 404
405 LayoutSize minimumSizeForResizing() const;
406 void setMinimumSizeForResizing(const LayoutSize&);
407
408 virtual void didBecomeFullscreenElement() { } 405 virtual void didBecomeFullscreenElement() { }
409 virtual void willStopBeingFullscreenElement() { } 406 virtual void willStopBeingFullscreenElement() { }
410 407
411 // Called by the parser when this element's close tag is reached, 408 // Called by the parser when this element's close tag is reached,
412 // signaling that all child tags have been parsed and added. 409 // signaling that all child tags have been parsed and added.
413 // This is needed for <applet> and <object> elements, which can't lay themse lves out 410 // This is needed for <applet> and <object> elements, which can't lay themse lves out
414 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. 411 // until they know all of their nested <param>s. [Radar 3603191, 4040848].
415 // Also used for script elements and some SVG elements for similar purposes, 412 // Also used for script elements and some SVG elements for similar purposes,
416 // but making parsing a special case in this respect should be avoided if po ssible. 413 // but making parsing a special case in this respect should be avoided if po ssible.
417 virtual void finishParsingChildren(); 414 virtual void finishParsingChildren();
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 template <> inline bool isElementOfType<const thisType>(const Element& eleme nt) { return element.predicate; } \ 872 template <> inline bool isElementOfType<const thisType>(const Element& eleme nt) { return element.predicate; } \
876 DEFINE_NODE_TYPE_CASTS(thisType, predicate) 873 DEFINE_NODE_TYPE_CASTS(thisType, predicate)
877 874
878 #define DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \ 875 #define DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \
879 template <> inline bool isElementOfType<const thisType>(const Element& eleme nt) { return is##thisType(element); } \ 876 template <> inline bool isElementOfType<const thisType>(const Element& eleme nt) { return is##thisType(element); } \
880 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) 877 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType)
881 878
882 } // namespace 879 } // namespace
883 880
884 #endif 881 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698