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

Issue 196533020: Remove dead code for dragging MediaControlPanelElement (Closed)

Created:
6 years, 9 months ago by philipj_slow
Modified:
6 years, 9 months ago
CC:
blink-reviews, nessy, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, vcarbune.chromium
Visibility:
Public.

Description

Remove dead code for dragging MediaControlPanelElement Because setCanBeDragged(true) is never called, all the rest of the dragging code becomes unreachable. The feature as such looks useful, but it would require fixing and above all testing to interact well with text track rendering. BUG=341813 TEST=LayoutTests/media/ still passes, i.e. there were none! Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169606

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -125 lines) Patch
M Source/core/html/shadow/MediaControlElements.h View 1 chunk +0 lines, -16 lines 0 comments Download
M Source/core/html/shadow/MediaControlElements.cpp View 4 chunks +0 lines, -109 lines 2 comments Download

Messages

Total messages: 12 (0 generated)
philipj_slow
6 years, 9 months ago (2014-03-14 15:44:08 UTC) #1
adamk
https://codereview.chromium.org/196533020/diff/20001/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (left): https://codereview.chromium.org/196533020/diff/20001/Source/core/html/shadow/MediaControlElements.cpp#oldcode213 Source/core/html/shadow/MediaControlElements.cpp:213: void MediaControlPanelElement::defaultEventHandler(Event* event) It's strange that we'd actually run ...
6 years, 9 months ago (2014-03-14 23:42:55 UTC) #2
philipj_slow
https://codereview.chromium.org/196533020/diff/20001/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (left): https://codereview.chromium.org/196533020/diff/20001/Source/core/html/shadow/MediaControlElements.cpp#oldcode213 Source/core/html/shadow/MediaControlElements.cpp:213: void MediaControlPanelElement::defaultEventHandler(Event* event) The defaultEventHandler implementations in this file ...
6 years, 9 months ago (2014-03-15 03:02:36 UTC) #3
adamk
+tkent, who's always been able to answer my questions about handling of input events in ...
6 years, 9 months ago (2014-03-17 16:00:52 UTC) #4
tkent
I think ancestors of MediaControlPanelElement don't have default event handling for mouse events. So removing ...
6 years, 9 months ago (2014-03-17 22:39:41 UTC) #5
philipj_slow
On 2014/03/17 22:39:41, tkent wrote: > I think ancestors of MediaControlPanelElement don't have default event ...
6 years, 9 months ago (2014-03-18 04:27:24 UTC) #6
tkent
On 2014/03/18 04:27:24, philipj wrote: > On 2014/03/17 22:39:41, tkent wrote: > > I think ...
6 years, 9 months ago (2014-03-18 06:56:37 UTC) #7
philipj_slow
acolwell, can you PTAL? The setDefaultHandled() cleanup wouldn't be part of this patch, so I'll ...
6 years, 9 months ago (2014-03-19 17:30:37 UTC) #8
acolwell GONE FROM CHROMIUM
lgtm
6 years, 9 months ago (2014-03-19 19:51:57 UTC) #9
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 9 months ago (2014-03-20 00:34:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/196533020/20001
6 years, 9 months ago (2014-03-20 00:34:34 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 03:55:31 UTC) #12
Message was sent while issue was closed.
Change committed as 169606

Powered by Google App Engine
This is Rietveld 408576698