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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLLinkElement.cpp ('k') | 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 void setControllerInternal(PassRefPtrWillBeRawPtr<MediaController>); 303 void setControllerInternal(PassRefPtrWillBeRawPtr<MediaController>);
304 304
305 private: 305 private:
306 void createMediaPlayer(); 306 void createMediaPlayer();
307 307
308 virtual bool alwaysCreateClosedShadowRoot() const override final { return tr ue; } 308 virtual bool alwaysCreateClosedShadowRoot() const override final { return tr ue; }
309 virtual bool areAuthorShadowsAllowed() const override final { return false; } 309 virtual bool areAuthorShadowsAllowed() const override final { return false; }
310 310
311 virtual bool supportsFocus() const override final; 311 virtual bool supportsFocus() const override final;
312 virtual bool isMouseFocusable() const override final; 312 virtual bool isMouseFocusable() const override final;
313 virtual bool layoutObjectIsNeeded(const LayoutStyle&) override; 313 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override;
314 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; 314 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
315 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f inal; 315 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override f inal;
316 virtual void didNotifySubtreeInsertionsToDocument() override; 316 virtual void didNotifySubtreeInsertionsToDocument() override;
317 virtual void removedFrom(ContainerNode*) override final; 317 virtual void removedFrom(ContainerNode*) override final;
318 virtual void didRecalcStyle(StyleRecalcChange) override final; 318 virtual void didRecalcStyle(StyleRecalcChange) override final;
319 319
320 virtual void didBecomeFullscreenElement() override final; 320 virtual void didBecomeFullscreenElement() override final;
321 virtual void willStopBeingFullscreenElement() override final; 321 virtual void willStopBeingFullscreenElement() override final;
322 virtual bool isInteractiveContent() const override final; 322 virtual bool isInteractiveContent() const override final;
323 virtual void defaultEventHandler(Event*) override final; 323 virtual void defaultEventHandler(Event*) override final;
324 324
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 inline bool isHTMLMediaElement(const HTMLElement& element) 585 inline bool isHTMLMediaElement(const HTMLElement& element)
586 { 586 {
587 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 587 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
588 } 588 }
589 589
590 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 590 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
591 591
592 } // namespace blink 592 } // namespace blink
593 593
594 #endif // HTMLMediaElement_h 594 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLinkElement.cpp ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698