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

Unified Diff: Source/core/html/shadow/MediaControlElements.h

Issue 196533020: Remove dead code for dragging MediaControlPanelElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 9 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: Source/core/html/shadow/MediaControlElements.h
diff --git a/Source/core/html/shadow/MediaControlElements.h b/Source/core/html/shadow/MediaControlElements.h
index 4b1a3fdaaefca4495640f62a5bf151e87771ca8d..9194097e6a716d555c4094a8a0dde4415d9285b4 100644
--- a/Source/core/html/shadow/MediaControlElements.h
+++ b/Source/core/html/shadow/MediaControlElements.h
@@ -40,38 +40,22 @@ class MediaControlPanelElement FINAL : public MediaControlDivElement {
public:
static PassRefPtr<MediaControlPanelElement> create(MediaControls&);
- void setCanBeDragged(bool);
void setIsDisplayed(bool);
- void resetPosition();
void makeOpaque();
void makeTransparent();
- virtual bool willRespondToMouseMoveEvents() OVERRIDE { return true; }
- virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; }
-
private:
explicit MediaControlPanelElement(MediaControls&);
virtual const AtomicString& shadowPseudoId() const OVERRIDE;
- virtual void defaultEventHandler(Event*) OVERRIDE;
-
- void startDrag(const LayoutPoint& eventLocation);
- void continueDrag(const LayoutPoint& eventLocation);
- void endDrag();
void startTimer();
void stopTimer();
void transitionTimerFired(Timer<MediaControlPanelElement>*);
- void setPosition(const LayoutPoint&);
-
- bool m_canBeDragged;
- bool m_isBeingDragged;
bool m_isDisplayed;
bool m_opaque;
- LayoutPoint m_lastDragEventLocation;
- LayoutPoint m_cumulativeDragOffset;
Timer<MediaControlPanelElement> m_transitionTimer;
};
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControlElements.cpp » ('j') | Source/core/html/shadow/MediaControlElements.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698