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

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

Issue 292173006: Rudimentary keyboard navigation support for <video>/<audio> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/html/HTMLMediaElement.cpp » ('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) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 bool ignoreTrackDisplayUpdateRequests() const { return m_ignoreTrackDisplayU pdate > 0; } 294 bool ignoreTrackDisplayUpdateRequests() const { return m_ignoreTrackDisplayU pdate > 0; }
295 void beginIgnoringTrackDisplayUpdateRequests(); 295 void beginIgnoringTrackDisplayUpdateRequests();
296 void endIgnoringTrackDisplayUpdateRequests(); 296 void endIgnoringTrackDisplayUpdateRequests();
297 297
298 private: 298 private:
299 void createMediaPlayer(); 299 void createMediaPlayer();
300 300
301 virtual bool alwaysCreateUserAgentShadowRoot() const OVERRIDE FINAL { return true; } 301 virtual bool alwaysCreateUserAgentShadowRoot() const OVERRIDE FINAL { return true; }
302 virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false; } 302 virtual bool areAuthorShadowsAllowed() const OVERRIDE FINAL { return false; }
303 303
304 virtual bool hasCustomFocusLogic() const OVERRIDE FINAL;
305 virtual bool supportsFocus() const OVERRIDE FINAL; 304 virtual bool supportsFocus() const OVERRIDE FINAL;
306 virtual bool isMouseFocusable() const OVERRIDE FINAL; 305 virtual bool isMouseFocusable() const OVERRIDE FINAL;
307 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 306 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
308 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 307 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
309 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE F INAL; 308 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE F INAL;
310 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE; 309 virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
311 virtual void removedFrom(ContainerNode*) OVERRIDE FINAL; 310 virtual void removedFrom(ContainerNode*) OVERRIDE FINAL;
312 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL; 311 virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL;
313 312
314 virtual void didBecomeFullscreenElement() OVERRIDE FINAL; 313 virtual void didBecomeFullscreenElement() OVERRIDE FINAL;
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 inline bool isHTMLMediaElement(const HTMLElement& element) 552 inline bool isHTMLMediaElement(const HTMLElement& element)
554 { 553 {
555 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 554 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
556 } 555 }
557 556
558 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 557 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
559 558
560 } //namespace 559 } //namespace
561 560
562 #endif 561 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698