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

Issue 2322253004: Drag and dropping text, parsable as url (Closed)

Created:
4 years, 3 months ago by dyaroshev
Modified:
3 years, 9 months ago
CC:
chromium-reviews, tfarina, James Su, darin-cc_chromium.org, dcheng, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

View version of mac specific fix: https://codereview.chromium.org/2014733003/ Some implementations of OSExchangeData::Provider implicitly attempted to parse dropping text as url using GURL parser. For some cases this is a correct behaviour, for others autocomplete ought to be used to determine destination URL. This requests adds a parametr to the getters of OSExchangeData whether using GURL parser is a desirable behaviour. BUG=610620

Patch Set 1 : initial patch for windows #

Total comments: 2

Patch Set 2 : Moving url logic out of os_exchange_data #

Total comments: 13
Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -80 lines) Patch
A chrome/browser/ui/views/frame/browser_root_view_unittest.cc View 1 chunk +92 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 3 chunks +15 lines, -13 lines 2 comments Download
M chrome/browser/ui/views/toolbar/home_button.cc View 1 3 chunks +9 lines, -6 lines 2 comments Download
M chrome/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/interactive_test_utils.h View 1 chunk +6 lines, -1 line 1 comment Download
M components/bookmarks/browser/bookmark_node_data_views.cc View 1 2 chunks +5 lines, -5 lines 2 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M ui/base/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
M ui/base/DEPS View 1 1 chunk +1 line, -0 lines 3 comments Download
A ui/base/dragdrop/drag_and_drop_url_utils.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A ui/base/dragdrop/drag_and_drop_url_utils.cc View 1 1 chunk +52 lines, -0 lines 1 comment Download
M ui/base/dragdrop/os_exchange_data_provider_win.h View 1 chunk +0 lines, -7 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 1 3 chunks +4 lines, -41 lines 2 comments Download

Messages

Total messages: 44 (8 generated)
dyaroshev
Created an patch. Unfortunatly some changes had to have been uploaded uncompiled - I wanted ...
4 years, 3 months ago (2016-09-09 17:09:10 UTC) #3
dyaroshev
https://codereview.chromium.org/2322253004/diff/1/chrome/test/base/interactive_test_utils.h File chrome/test/base/interactive_test_utils.h (right): https://codereview.chromium.org/2322253004/diff/1/chrome/test/base/interactive_test_utils.h#newcode140 chrome/test/base/interactive_test_utils.h:140: bool DragAnDrop(const gfx::Point& start, const gfx::Point& end); I forgot ...
4 years, 3 months ago (2016-09-09 17:14:28 UTC) #4
sky
+dcheng for ui/base/dragdrop If you can get him happy I'll look at the rest
4 years, 3 months ago (2016-09-09 21:08:03 UTC) #6
Peter Kasting
Does this represent a behavior change? If so what is the change, in detail? "Views ...
4 years, 3 months ago (2016-09-09 21:45:30 UTC) #8
dyaroshev
On 2016/09/09 21:45:30, Peter Kasting wrote: > Does this represent a behavior change? If so ...
4 years, 3 months ago (2016-09-09 23:22:29 UTC) #12
Peter Kasting
On 2016/09/09 23:22:29, dyaroshev wrote: > On 2016/09/09 21:45:30, Peter Kasting wrote: > > Does ...
4 years, 3 months ago (2016-09-09 23:33:08 UTC) #13
dyaroshev
On 2016/09/09 23:33:08, Peter Kasting wrote: > How do we know we ever want to ...
4 years, 3 months ago (2016-09-09 23:51:59 UTC) #14
Peter Kasting
On 2016/09/09 23:51:59, dyaroshev wrote: > On 2016/09/09 23:33:08, Peter Kasting wrote: > > How ...
4 years, 3 months ago (2016-09-10 00:11:30 UTC) #15
dyaroshev
On 2016/09/10 00:11:30, Peter Kasting wrote: > A case like a bookmark or a home ...
4 years, 3 months ago (2016-09-10 00:36:56 UTC) #16
Peter Kasting
On 2016/09/10 00:36:56, dyaroshev wrote: > On 2016/09/10 00:11:30, Peter Kasting wrote: > > A ...
4 years, 3 months ago (2016-09-10 00:44:39 UTC) #17
dyaroshev
On 2016/09/10 00:44:39, Peter Kasting wrote: > You mean, how one calls fixup? You're looking ...
4 years, 3 months ago (2016-09-10 07:12:37 UTC) #18
Peter Kasting
On 2016/09/10 07:12:37, dyaroshev wrote: > On 2016/09/10 00:44:39, Peter Kasting wrote: > > You ...
4 years, 3 months ago (2016-09-13 05:50:05 UTC) #19
dyaroshev
Invalid XSRF token. However, this was the data posted to the server: xsrf_token: 220e024e0f4ddef7e238d9ff6988cba5 add_as_reviewer: ...
4 years, 3 months ago (2016-09-13 14:15:04 UTC) #20
Peter Kasting
On 2016/09/13 14:15:04, dyaroshev wrote: > >What do you mean by "all the tests"? This ...
4 years, 3 months ago (2016-09-13 19:33:55 UTC) #21
dcheng
I'm not against moving this logic into OSExchangeData (after all, we already have a similar ...
4 years, 3 months ago (2016-09-13 19:53:26 UTC) #22
Peter Kasting
On 2016/09/13 19:53:26, dcheng wrote: > I'm not against moving this logic into OSExchangeData (after ...
4 years, 3 months ago (2016-09-13 19:59:57 UTC) #23
dyaroshev
Once again - only win patch that requires some clean up. I have a few ...
4 years, 3 months ago (2016-09-14 17:12:06 UTC) #24
Peter Kasting
https://codereview.chromium.org/2322253004/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): https://codereview.chromium.org/2322253004/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc#newcode1614 chrome/browser/ui/views/tabs/tab_strip.cc:1614: if (auto url_and_title = ui::TryToInterpretAsURL( On 2016/09/14 17:12:05, dyaroshev ...
4 years, 3 months ago (2016-09-15 21:26:53 UTC) #25
sky
https://codereview.chromium.org/2322253004/diff/20001/ui/base/DEPS File ui/base/DEPS (right): https://codereview.chromium.org/2322253004/diff/20001/ui/base/DEPS#newcode15 ui/base/DEPS:15: "+components/url_formatter/url_fixer.h", On 2016/09/14 17:12:05, dyaroshev wrote: > Where is ...
4 years, 3 months ago (2016-09-15 21:32:50 UTC) #26
dyaroshev
On 2016/09/15 21:26:53, Peter Kasting wrote: > https://codereview.chromium.org/2322253004/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc > File chrome/browser/ui/views/tabs/tab_strip.cc (right): > > https://codereview.chromium.org/2322253004/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc#newcode1614 ...
4 years, 3 months ago (2016-09-15 22:07:04 UTC) #27
dyaroshev
On 2016/09/15 21:32:50, sky wrote: > https://codereview.chromium.org/2322253004/diff/20001/ui/base/DEPS > File ui/base/DEPS (right): > > https://codereview.chromium.org/2322253004/diff/20001/ui/base/DEPS#newcode15 > ...
4 years, 3 months ago (2016-09-15 22:14:48 UTC) #28
Peter Kasting
If possible, try to reply by going back to where you left the question originally, ...
4 years, 3 months ago (2016-09-15 22:27:17 UTC) #29
Peter Kasting
On 2016/09/15 22:07:04, dyaroshev wrote: > On 2016/09/15 21:26:53, Peter Kasting wrote: > > > ...
4 years, 3 months ago (2016-09-15 22:41:52 UTC) #30
Peter Kasting
On 2016/09/15 22:14:48, dyaroshev wrote: > On 2016/09/15 21:32:50, sky wrote: > > https://codereview.chromium.org/2322253004/diff/20001/ui/base/DEPS > ...
4 years, 3 months ago (2016-09-15 22:48:52 UTC) #31
dyaroshev
On 2016/09/15 22:48:52, Peter Kasting wrote: > On 2016/09/15 22:14:48, dyaroshev wrote: > I would ...
4 years, 3 months ago (2016-09-15 23:15:33 UTC) #32
Peter Kasting
On 2016/09/15 23:15:33, dyaroshev wrote: > On 2016/09/15 22:48:52, Peter Kasting wrote: > > On ...
4 years, 3 months ago (2016-09-15 23:16:29 UTC) #33
dyaroshev
On 2016/09/15 22:41:52, Peter Kasting wrote: > Right, I'm suggesting that if something about this ...
4 years, 3 months ago (2016-09-15 23:26:08 UTC) #34
Peter Kasting
On 2016/09/15 23:26:08, dyaroshev wrote: > On 2016/09/15 22:41:52, Peter Kasting wrote: > > Right, ...
4 years, 3 months ago (2016-09-15 23:29:37 UTC) #35
dyaroshev
On 2016/09/15 23:29:37, Peter Kasting wrote: > I'm still not really clear on what you're ...
4 years, 3 months ago (2016-09-15 23:44:25 UTC) #36
Peter Kasting
On 2016/09/15 23:44:25, dyaroshev wrote: > On 2016/09/15 23:29:37, Peter Kasting wrote: > > I'm ...
4 years, 3 months ago (2016-09-15 23:47:07 UTC) #37
sadrul
dcheng@ and sky@'s review of ui/base/ would be sufficient here. Removing myself from the reviewer ...
4 years, 3 months ago (2016-09-16 18:55:20 UTC) #39
Peter Kasting
What's the status of this CL? Who is it waiting on?
3 years, 10 months ago (2017-02-11 01:59:38 UTC) #40
dyaroshev
On 2017/02/11 01:59:38, Peter Kasting wrote: > What's the status of this CL? Who is ...
3 years, 10 months ago (2017-02-24 23:58:47 UTC) #41
Peter Kasting
On 2017/02/24 23:58:47, dyaroshev wrote: > On 2017/02/11 01:59:38, Peter Kasting wrote: > > What's ...
3 years, 10 months ago (2017-02-25 01:21:16 UTC) #42
dyaroshev
On 2017/02/25 01:21:16, Peter Kasting wrote: > On 2017/02/24 23:58:47, dyaroshev wrote: > > On ...
3 years, 9 months ago (2017-02-26 19:59:24 UTC) #43
Peter Kasting
3 years, 9 months ago (2017-02-26 20:19:40 UTC) #44
On 2017/02/26 19:59:24, dyaroshev wrote:
> On 2017/02/25 01:21:16, Peter Kasting wrote:
> > On 2017/02/24 23:58:47, dyaroshev wrote:
> > > On 2017/02/11 01:59:38, Peter Kasting wrote:
> > > > What's the status of this CL?  Who is it waiting on?
> > > 
> > > Well - the bug is very minor and the fix requires a big refactoring. So
this
> > > problem doesn't get scheduled.
> > 
> > Are you saying, you think the bug is valid and the patch should remain open
> and
> > sitting on your plate, and you'll get to it later, or are you saying this CL
> > should be closed because you're not going to come back to this?
> 
> I'm willing to close the CL, if I am (or anybody else) will come to fix it in
> some future, they can create a new one.
> I'm curious - will it be recoverable? It has tests in it that seem to be good,
> if all possible I'd keep them stashed somewhere just in case.

Closed CLs aren't deleted, they act just like landed CLs and remain visible in
the review tool indefinitely.

Powered by Google App Engine
This is Rietveld 408576698