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

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

Issue 892963003: Ensure media control goes to transparent(hide) after seek by touch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
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 24 matching lines...) Expand all
35 namespace blink { 35 namespace blink {
36 36
37 // ---------------------------- 37 // ----------------------------
38 38
39 class MediaControlPanelElement final : public MediaControlDivElement { 39 class MediaControlPanelElement final : public MediaControlDivElement {
40 public: 40 public:
41 static PassRefPtrWillBeRawPtr<MediaControlPanelElement> create(MediaControls &); 41 static PassRefPtrWillBeRawPtr<MediaControlPanelElement> create(MediaControls &);
42 42
43 void setIsDisplayed(bool); 43 void setIsDisplayed(bool);
44 44
45 bool isOpaque();
45 void makeOpaque(); 46 void makeOpaque();
46 void makeTransparent(); 47 void makeTransparent();
47 48
48 private: 49 private:
49 explicit MediaControlPanelElement(MediaControls&); 50 explicit MediaControlPanelElement(MediaControls&);
50 51
51 virtual void defaultEventHandler(Event*) override; 52 virtual void defaultEventHandler(Event*) override;
52 53
53 void startTimer(); 54 void startTimer();
54 void stopTimer(); 55 void stopTimer();
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 virtual RenderObject* createRenderer(RenderStyle*) override; 252 virtual RenderObject* createRenderer(RenderStyle*) override;
252 253
253 IntRect m_videoDisplaySize; 254 IntRect m_videoDisplaySize;
254 float m_fontSize; 255 float m_fontSize;
255 }; 256 };
256 257
257 258
258 } // namespace blink 259 } // namespace blink
259 260
260 #endif // MediaControlElements_h 261 #endif // MediaControlElements_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControlElements.cpp » ('j') | Source/core/html/shadow/MediaControls.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698