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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.h

Issue 1417683004: Media controls refer to less magic state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added sliders and whitespace. Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/shadow/MediaControls.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
index 2d4fb96875b8e773536c81c5916645cb1ce3a38f..c7da0354fb9ec22fe026d6c2b618df095ad09271 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -82,9 +82,14 @@ public:
// Notify us that our controls enclosure has changed width.
void notifyPanelWidthChanged(const LayoutUnit& newWidth);
+ // Notify us that the media element's network state has changed.
+ void networkStateChanged();
+
DECLARE_VIRTUAL_TRACE();
private:
+ void repaint(Element*);
+
class BatchedControlUpdate;
explicit MediaControls(HTMLMediaElement&);

Powered by Google App Engine
This is Rietveld 408576698