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

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

Issue 215323003: Let the overlay playback button fall back to the activation behavior (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « no previous file | Source/core/html/shadow/MediaControlElements.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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 class MediaControlOverlayPlayButtonElement FINAL : public MediaControlInputEleme nt { 120 class MediaControlOverlayPlayButtonElement FINAL : public MediaControlInputEleme nt {
121 public: 121 public:
122 static PassRefPtr<MediaControlOverlayPlayButtonElement> create(MediaControls &); 122 static PassRefPtr<MediaControlOverlayPlayButtonElement> create(MediaControls &);
123 123
124 virtual void updateDisplayType() OVERRIDE; 124 virtual void updateDisplayType() OVERRIDE;
125 125
126 private: 126 private:
127 explicit MediaControlOverlayPlayButtonElement(MediaControls&); 127 explicit MediaControlOverlayPlayButtonElement(MediaControls&);
128 128
129 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 129 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
130 virtual void defaultEventHandler(Event*) OVERRIDE;
131 }; 130 };
132 131
133 // ---------------------------- 132 // ----------------------------
134 133
135 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI nputElement { 134 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI nputElement {
136 public: 135 public:
137 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Medi aControls&); 136 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Medi aControls&);
138 137
139 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } 138 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; }
140 139
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 239 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
241 240
242 IntRect m_videoDisplaySize; 241 IntRect m_videoDisplaySize;
243 float m_fontSize; 242 float m_fontSize;
244 }; 243 };
245 244
246 245
247 } // namespace WebCore 246 } // namespace WebCore
248 247
249 #endif // MediaControlElements_h 248 #endif // MediaControlElements_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698