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

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

Issue 1319433003: Don't change the media controls visibility in MediaControls::reset() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/core.gypi ('k') | Source/core/html/shadow/MediaControls.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) 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2011, 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 #define MediaControls_h 28 #define MediaControls_h
29 29
30 #include "core/html/HTMLDivElement.h" 30 #include "core/html/HTMLDivElement.h"
31 #include "core/html/shadow/MediaControlElements.h" 31 #include "core/html/shadow/MediaControlElements.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class Event; 35 class Event;
36 class TextTrackContainer; 36 class TextTrackContainer;
37 37
38 class MediaControls final : public HTMLDivElement { 38 class CORE_EXPORT MediaControls final : public HTMLDivElement {
39 public: 39 public:
40 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&); 40 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&);
41 41
42 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } 42 HTMLMediaElement& mediaElement() const { return *m_mediaElement; }
43 43
44 void reset(); 44 void reset();
45 45
46 void show(); 46 void show();
47 void hide(); 47 void hide();
48 48
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 int m_panelWidth; 152 int m_panelWidth;
153 153
154 bool m_allowHiddenVolumeControls : 1; 154 bool m_allowHiddenVolumeControls : 1;
155 }; 155 };
156 156
157 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 157 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
158 158
159 } 159 }
160 160
161 #endif 161 #endif
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698