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

Side by Side Diff: Source/core/html/HTMLInputElement.h

Issue 15871005: Avoid N^2 walk placing renderers when building the render tree (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merging ToT Created 7 years, 6 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 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 enum AutoCompleteSetting { Uninitialized, On, Off }; 303 enum AutoCompleteSetting { Uninitialized, On, Off };
304 304
305 // FIXME: Author shadows should be allowed 305 // FIXME: Author shadows should be allowed
306 // https://bugs.webkit.org/show_bug.cgi?id=92608 306 // https://bugs.webkit.org/show_bug.cgi?id=92608
307 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } 307 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; }
308 308
309 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; 309 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE;
310 310
311 virtual void willChangeForm() OVERRIDE; 311 virtual void willChangeForm() OVERRIDE;
312 virtual void didChangeForm() OVERRIDE; 312 virtual void didChangeForm() OVERRIDE;
313 static void addToRadioButtonGroupCallback(Node*);
313 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 314 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
314 virtual void removedFrom(ContainerNode*) OVERRIDE; 315 virtual void removedFrom(ContainerNode*) OVERRIDE;
315 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; 316 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE;
316 317
317 virtual bool hasCustomFocusLogic() const OVERRIDE; 318 virtual bool hasCustomFocusLogic() const OVERRIDE;
318 virtual bool isKeyboardFocusable(KeyboardEvent*) const; 319 virtual bool isKeyboardFocusable(KeyboardEvent*) const;
319 virtual bool isMouseFocusable() const; 320 virtual bool isMouseFocusable() const;
320 virtual bool isEnumeratable() const; 321 virtual bool isEnumeratable() const;
321 virtual bool supportLabels() const OVERRIDE; 322 virtual bool supportLabels() const OVERRIDE;
322 virtual void updateFocusAppearance(bool restorePreviousSelection); 323 virtual void updateFocusAppearance(bool restorePreviousSelection);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT ag)); 434 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT ag));
434 return static_cast<const HTMLInputElement*>(node); 435 return static_cast<const HTMLInputElement*>(node);
435 } 436 }
436 437
437 // This will catch anyone doing an unnecessary cast. 438 // This will catch anyone doing an unnecessary cast.
438 void toHTMLElement(const HTMLElement*); 439 void toHTMLElement(const HTMLElement*);
439 440
440 441
441 } //namespace 442 } //namespace
442 #endif 443 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698