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

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

Issue 988763002: Start separating the text track container from the media controls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 9 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/core/core.gypi ('k') | Source/core/html/HTMLMediaElement.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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 CustomElementState customElementState() const 251 CustomElementState customElementState() const
252 { 252 {
253 return isCustomElement() 253 return isCustomElement()
254 ? (getFlag(CustomElementUpgradedFlag) ? Upgraded : WaitingForUpgrade ) 254 ? (getFlag(CustomElementUpgradedFlag) ? Upgraded : WaitingForUpgrade )
255 : NotCustomElement; 255 : NotCustomElement;
256 } 256 }
257 void setCustomElementState(CustomElementState newState); 257 void setCustomElementState(CustomElementState newState);
258 258
259 virtual bool isMediaControlElement() const { return false; } 259 virtual bool isMediaControlElement() const { return false; }
260 virtual bool isMediaControls() const { return false; } 260 virtual bool isMediaControls() const { return false; }
261 virtual bool isTextTrackContainer() const { return false; }
261 virtual bool isVTTElement() const { return false; } 262 virtual bool isVTTElement() const { return false; }
262 virtual bool isAttributeNode() const { return false; } 263 virtual bool isAttributeNode() const { return false; }
263 virtual bool isCharacterDataNode() const { return false; } 264 virtual bool isCharacterDataNode() const { return false; }
264 virtual bool isFrameOwnerElement() const { return false; } 265 virtual bool isFrameOwnerElement() const { return false; }
265 266
266 // StyledElements allow inline style (style="border: 1px"), presentational a ttributes (ex. color), 267 // StyledElements allow inline style (style="border: 1px"), presentational a ttributes (ex. color),
267 // class names (ex. class="foo bar") and other non-basic styling features. T hey and also control 268 // class names (ex. class="foo bar") and other non-basic styling features. T hey and also control
268 // if this element can participate in style sharing. 269 // if this element can participate in style sharing.
269 // 270 //
270 // FIXME: The only things that ever go through StyleResolver that aren't Sty ledElements are 271 // FIXME: The only things that ever go through StyleResolver that aren't Sty ledElements are
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 } // namespace blink 902 } // namespace blink
902 903
903 #ifndef NDEBUG 904 #ifndef NDEBUG
904 // Outside the WebCore namespace for ease of invocation from gdb. 905 // Outside the WebCore namespace for ease of invocation from gdb.
905 void showNode(const blink::Node*); 906 void showNode(const blink::Node*);
906 void showTree(const blink::Node*); 907 void showTree(const blink::Node*);
907 void showNodePath(const blink::Node*); 908 void showNodePath(const blink::Node*);
908 #endif 909 #endif
909 910
910 #endif // Node_h 911 #endif // Node_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698