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

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

Issue 2709393004: Media Controls: Fix time updates when dragging from track not scrubber (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
diff --git a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
index 8082e82e4cc522f373f63851593ebac08e96420e..07bfd797acc1bf128bf563586b87c6957580a80a 100644
--- a/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
+++ b/third_party/WebKit/Source/core/html/shadow/SliderThumbElement.h
@@ -48,6 +48,7 @@ class SliderThumbElement final : public HTMLDivElement {
void setPositionFromValue();
+ bool inDragMode() const { return m_inDragMode; }
void dragFrom(const LayoutPoint&);
void defaultEventHandler(Event*) override;
bool willRespondToMouseMoveEvents() override;

Powered by Google App Engine
This is Rietveld 408576698