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

Issue 570014: Adding drag-drop support in and out of the Browser Action overflow menu.... (Closed)

Created:
10 years, 10 months ago by Finnur
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Adding drag-drop support in and out of the Browser Action overflow menu. BUG=26990 TEST=Drag icons into and out of (and within) both the Browser Action container and its overflow menu. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38135

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -33 lines) Patch
M chrome/browser/views/bookmark_bar_view.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/views/browser_actions_container.h View 1 9 chunks +38 lines, -6 lines 1 comment Download
M chrome/browser/views/browser_actions_container.cc View 1 9 chunks +64 lines, -10 lines 0 comments Download
M chrome/browser/views/extensions/browser_action_overflow_menu_controller.h View 1 4 chunks +48 lines, -2 lines 0 comments Download
M chrome/browser/views/extensions/browser_action_overflow_menu_controller.cc View 1 5 chunks +115 lines, -3 lines 0 comments Download
M views/view.h View 2 chunks +9 lines, -1 line 1 comment Download
M views/view.cc View 2 chunks +4 lines, -1 line 0 comments Download
M views/view_gtk.cc View 2 chunks +5 lines, -1 line 0 comments Download
M views/view_win.cc View 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Finnur
10 years, 10 months ago (2010-02-03 23:45:11 UTC) #1
sky
http://codereview.chromium.org/570014/diff/1/3 File chrome/browser/views/browser_actions_container.cc (right): http://codereview.chromium.org/570014/diff/1/3#newcode404 chrome/browser/views/browser_actions_container.cc:404: DCHECK(!show_folder_drop_menu_task_); Could you move this code some where common, ...
10 years, 10 months ago (2010-02-04 00:11:55 UTC) #2
Finnur
All addressed and added a few files (see files without a delta above).
10 years, 10 months ago (2010-02-04 20:53:16 UTC) #3
sky
10 years, 10 months ago (2010-02-04 20:58:49 UTC) #4
LGTM

http://codereview.chromium.org/570014/diff/5002/4004
File chrome/browser/views/browser_actions_container.h (right):

http://codereview.chromium.org/570014/diff/5002/4004#newcode368
chrome/browser/views/browser_actions_container.h:368: void SetDropIndicator(int
x_pos);
x_pos is mildly confusing here as it isn't the x-coordinate you're passing in,
which x_pos sounds like. I think position would be clearer. But if you disagree,
leave what you have.

http://codereview.chromium.org/570014/diff/5002/4008
File views/view.h (right):

http://codereview.chromium.org/570014/diff/5002/4008#newcode142
views/view.h:142: static const int kShowFolderDropMenuDelay;
Does this really need to be public? Also, it should be after after the methods.

Powered by Google App Engine
This is Rietveld 408576698