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

Side by Side Diff: Source/core/html/shadow/MediaControlElements.cpp

Issue 34273002: Remove UnusedParam.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/html/track/InbandTextTrack.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) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 const AtomicString& MediaControlOverlayPlayButtonElement::pseudo() const 411 const AtomicString& MediaControlOverlayPlayButtonElement::pseudo() const
412 { 412 {
413 DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-overlay-play- button", AtomicString::ConstructFromLiteral)); 413 DEFINE_STATIC_LOCAL(AtomicString, id, ("-webkit-media-controls-overlay-play- button", AtomicString::ConstructFromLiteral));
414 return id; 414 return id;
415 } 415 }
416 416
417 417
418 // ---------------------------- 418 // ----------------------------
419 419
420 MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsB uttonElement(Document& document, MediaControls* controls) 420 MediaControlToggleClosedCaptionsButtonElement::MediaControlToggleClosedCaptionsB uttonElement(Document& document, MediaControls*)
421 : MediaControlInputElement(document, MediaShowClosedCaptionsButton) 421 : MediaControlInputElement(document, MediaShowClosedCaptionsButton)
422 { 422 {
423 UNUSED_PARAM(controls);
424 } 423 }
425 424
426 PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> MediaControlToggleClos edCaptionsButtonElement::create(Document& document, MediaControls* controls) 425 PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> MediaControlToggleClos edCaptionsButtonElement::create(Document& document, MediaControls* controls)
427 { 426 {
428 ASSERT(controls); 427 ASSERT(controls);
429 428
430 RefPtr<MediaControlToggleClosedCaptionsButtonElement> button = adoptRef(new MediaControlToggleClosedCaptionsButtonElement(document, controls)); 429 RefPtr<MediaControlToggleClosedCaptionsButtonElement> button = adoptRef(new MediaControlToggleClosedCaptionsButtonElement(document, controls));
431 button->ensureUserAgentShadowRoot(); 430 button->ensureUserAgentShadowRoot();
432 button->setType("button"); 431 button->setType("button");
433 button->hide(); 432 button->hide();
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 float fontSize = smallestDimension * 0.05f; 768 float fontSize = smallestDimension * 0.05f;
770 if (fontSize != m_fontSize) { 769 if (fontSize != m_fontSize) {
771 m_fontSize = fontSize; 770 m_fontSize = fontSize;
772 setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue: :CSS_PX); 771 setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue: :CSS_PX);
773 } 772 }
774 } 773 }
775 774
776 // ---------------------------- 775 // ----------------------------
777 776
778 } // namespace WebCore 777 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/html/track/InbandTextTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698