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

Issue 208313009: Fix the HTML5 drag and drop demos on Linux and CrOS (Closed)

Created:
6 years, 9 months ago by pkotwicz
Modified:
6 years, 5 months ago
Reviewers:
Peter Kasting, sky, dcheng
CC:
chromium-reviews
Visibility:
Public.

Description

Fix the HTML5 drag and drop demos at http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_draganddrop and http://html5demos.com/drag on Linux and CrOS This CL makes the behavior of OSExchangeData::Provider::SetString() match that of Windows on Linux and CrOS This CL also changes the string which is dragged out of the omnibox on Linux and CrOS to match the string which is dragged out from the omnibox on Windows. On Linux and CrOS, with this CL, the dragged out string for URLs no longer includes 'http://' if 'http://' is not visible in the omnibox. For instance, if the user has navigated to 'www.random.org', the dragged out string is 'http://www.random.org' without this CL and 'www.random.org' with this CL. BUG=355390 TEST=OSExchangeDataTest.URLAndString Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282529

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aura.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_aurax11.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_unittest.cc View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
pkotwicz
Scott, PTAL
6 years, 9 months ago (2014-03-23 21:18:03 UTC) #1
dcheng
Is there anyone that depends on the current behavior? When I previously fixed this for ...
6 years, 9 months ago (2014-03-24 20:28:34 UTC) #2
pkotwicz
I do not know if anyone depends on the current behavior. The behavior on Windows ...
6 years, 9 months ago (2014-03-24 23:15:32 UTC) #3
pkotwicz
There might be a dependence in OmniboxViewViews::OnWriteDragData() I need to learn more about autocomplete in ...
6 years, 9 months ago (2014-03-25 01:55:20 UTC) #4
sky
LGTM
6 years, 9 months ago (2014-03-25 16:37:25 UTC) #5
pkotwicz
pkasting@, can you please take a look at the change in OmniboxViewViews::OnWriteDragData(). I think that ...
6 years, 6 months ago (2014-06-20 04:20:06 UTC) #6
Peter Kasting
Your CL description seems to not match your comment to me (is Windows' behavior changed ...
6 years, 6 months ago (2014-06-20 20:45:37 UTC) #7
pkotwicz
pkasting@ can you please take another look? Sorry about the confusing CL description. This CL ...
6 years, 6 months ago (2014-06-20 22:12:01 UTC) #8
pkotwicz
https://codereview.chromium.org/208313009/diff/70001/content/browser/web_contents/web_contents_view_aura.cc File content/browser/web_contents/web_contents_view_aura.cc (right): https://codereview.chromium.org/208313009/diff/70001/content/browser/web_contents/web_contents_view_aura.cc#newcode372 content/browser/web_contents/web_contents_view_aura.cc:372: // a shortcut so we add it first. I ...
6 years, 6 months ago (2014-06-20 22:17:25 UTC) #9
Peter Kasting
On 2014/06/20 22:12:01, pkotwicz wrote: > pkasting@ can you please take another look? > > ...
6 years, 6 months ago (2014-06-20 22:26:22 UTC) #10
pkotwicz
> > This CL fixes the HTML5 drag demos on Linux and CrOS (Those demos ...
6 years, 6 months ago (2014-06-20 23:20:31 UTC) #11
Peter Kasting
On 2014/06/20 23:20:31, pkotwicz wrote: > > > This CL fixes the HTML5 drag demos ...
6 years, 6 months ago (2014-06-20 23:27:46 UTC) #12
pkotwicz
dcheng@, can you please take another look? Sorry for dragging out this CL for so ...
6 years, 6 months ago (2014-06-23 15:18:39 UTC) #13
pkotwicz
dcheng@, ping?
6 years, 5 months ago (2014-07-08 23:23:11 UTC) #14
dcheng
On 2014/07/08 at 23:23:11, pkotwicz wrote: > dcheng@, ping? Sorry for missing this. LGTM.
6 years, 5 months ago (2014-07-09 00:11:11 UTC) #15
pkotwicz
Scott, can you please take another look? I have modified ui/views/controls/textfield/textfield.cc and chrome/browser/ui/views/omnibox/omnibox_view_views.cc since you ...
6 years, 5 months ago (2014-07-09 00:13:30 UTC) #16
sky
https://codereview.chromium.org/208313009/diff/70001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/208313009/diff/70001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode949 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:949: data->SetString(selected_text); Why don't we always want to set the ...
6 years, 5 months ago (2014-07-09 20:39:08 UTC) #17
pkotwicz
https://codereview.chromium.org/208313009/diff/70001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/208313009/diff/70001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode949 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:949: data->SetString(selected_text); The string content is set by the first ...
6 years, 5 months ago (2014-07-09 23:00:18 UTC) #18
sky
https://codereview.chromium.org/208313009/diff/70001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc File chrome/browser/ui/views/omnibox/omnibox_view_views.cc (right): https://codereview.chromium.org/208313009/diff/70001/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode949 chrome/browser/ui/views/omnibox/omnibox_view_views.cc:949: data->SetString(selected_text); On 2014/07/09 23:00:18, pkotwicz wrote: > The string ...
6 years, 5 months ago (2014-07-10 16:13:04 UTC) #19
pkotwicz
It looks like this was always the case. SetURL() was setting the string data back ...
6 years, 5 months ago (2014-07-10 16:36:15 UTC) #20
sky
On 2014/07/10 16:36:15, pkotwicz wrote: > It looks like this was always the case. SetURL() ...
6 years, 5 months ago (2014-07-10 16:37:58 UTC) #21
pkotwicz
I do not think that the change in OmniboxViewViews::OnWriteDragData() has an impact but I am ...
6 years, 5 months ago (2014-07-10 16:45:18 UTC) #22
sky
I tend to think we want www.random.org here. pkasting likely has an opinion here. -Scott ...
6 years, 5 months ago (2014-07-10 19:15:44 UTC) #23
Peter Kasting
On 2014/07/10 19:15:44, sky wrote: > I tend to think we want http://www.random.org here. pkasting ...
6 years, 5 months ago (2014-07-10 20:20:15 UTC) #24
sky
I like fixing the demos you site, but I don't really like including http in ...
6 years, 5 months ago (2014-07-10 22:13:58 UTC) #25
dcheng
On 2014/07/10 at 22:13:58, sky wrote: > I like fixing the demos you site, but ...
6 years, 5 months ago (2014-07-10 22:48:23 UTC) #26
pkotwicz
Scott, can you please take another look? I have reverted the changes to omnibox_view_views.cc and ...
6 years, 5 months ago (2014-07-10 23:19:43 UTC) #27
sky
LGTM
6 years, 5 months ago (2014-07-11 00:07:56 UTC) #28
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-11 00:19:19 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/208313009/110001
6 years, 5 months ago (2014-07-11 00:20:52 UTC) #30
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 03:40:32 UTC) #31
Message was sent while issue was closed.
Change committed as 282529

Powered by Google App Engine
This is Rietveld 408576698