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

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

Issue 118333005: Refactor RenderTreeBuilder and expose special <dialog> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 11 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 | « no previous file | Source/core/dom/NodeRenderingTraversal.h » ('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 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 472
473 // FIXME: Only HTMLInputElement uses these, they don't need to be virtual. 473 // FIXME: Only HTMLInputElement uses these, they don't need to be virtual.
474 virtual bool wasChangedSinceLastFormControlChangeEvent() const { return fals e; } 474 virtual bool wasChangedSinceLastFormControlChangeEvent() const { return fals e; }
475 virtual void setChangedSinceLastFormControlChangeEvent(bool) { } 475 virtual void setChangedSinceLastFormControlChangeEvent(bool) { }
476 virtual void dispatchFormControlChangeEvent() { } 476 virtual void dispatchFormControlChangeEvent() { }
477 477
478 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched 478 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched
479 // to event listeners, and prevents DOMActivate events from being sent at al l. 479 // to event listeners, and prevents DOMActivate events from being sent at al l.
480 virtual bool isDisabledFormControl() const { return false; } 480 virtual bool isDisabledFormControl() const { return false; }
481 481
482 virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { r eturn isInTopLayer(); }
483
484 bool hasPendingResources() const; 482 bool hasPendingResources() const;
485 void setHasPendingResources(); 483 void setHasPendingResources();
486 void clearHasPendingResources(); 484 void clearHasPendingResources();
487 virtual void buildPendingResource() { }; 485 virtual void buildPendingResource() { };
488 486
489 enum { 487 enum {
490 ALLOW_KEYBOARD_INPUT = 1 << 0, 488 ALLOW_KEYBOARD_INPUT = 1 << 0,
491 LEGACY_MOZILLA_REQUEST = 1 << 1, 489 LEGACY_MOZILLA_REQUEST = 1 << 1,
492 }; 490 };
493 491
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 } 895 }
898 896
899 inline bool isShadowHost(const Element* element) 897 inline bool isShadowHost(const Element* element)
900 { 898 {
901 return element && element->shadow(); 899 return element && element->shadow();
902 } 900 }
903 901
904 } // namespace 902 } // namespace
905 903
906 #endif 904 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/NodeRenderingTraversal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698