Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Issue 2042017: Add smarter popup position code to DOM UI Shared Resources.... (Closed)

Created:
10 years, 7 months ago by arv (Not doing code reviews)
Modified:
9 years, 3 months ago
Reviewers:
feldstein
CC:
chromium-reviews, arv (Not doing code reviews), ben+cc_chromium.org
Visibility:
Public.

Description

Add smarter popup position code to DOM UI Shared Resources. BUG=None TEST=js unit tests as well as manually ensuring the menu button in the bookmarks manager flips side when the window gets small. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=47198

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+507 lines, -46 lines) Patch
M chrome/browser/resources/bookmark_manager/main.html View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/context_menu_handler.js View 2 chunks +3 lines, -31 lines 0 comments Download
M chrome/browser/resources/shared/js/cr/ui/menu_button.js View 1 2 5 chunks +16 lines, -14 lines 0 comments Download
A chrome/browser/resources/shared/js/cr/ui/position_util.js View 1 2 3 4 1 chunk +203 lines, -0 lines 0 comments Download
A chrome/browser/resources/shared/js/cr/ui/position_util_test.html View 1 2 1 chunk +282 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
arv (Not doing code reviews)
I thought of making this even more flexible by masks or corners that should be ...
10 years, 7 months ago (2010-05-13 00:08:54 UTC) #1
feldstein
Code LGTM, and I don't think I would make this too much more complicated if ...
10 years, 7 months ago (2010-05-13 08:46:51 UTC) #2
arv (Not doing code reviews)
I realized that I could replace the logic in context menu handler to use this ...
10 years, 7 months ago (2010-05-13 18:27:48 UTC) #3
feldstein
On 2010/05/13 18:27:48, arv wrote: > I realized that I could replace the logic in ...
10 years, 7 months ago (2010-05-13 19:28:54 UTC) #4
arv (Not doing code reviews)
Sorry about that. Uploaded. http://codereview.chromium.org/2042017/diff/10001/11001 File chrome/browser/resources/bookmark_manager/main.html (right): http://codereview.chromium.org/2042017/diff/10001/11001#newcode51 chrome/browser/resources/bookmark_manager/main.html:51: console.error('Bookmarks extension API is not ...
10 years, 7 months ago (2010-05-13 21:18:17 UTC) #5
feldstein
10 years, 7 months ago (2010-05-13 21:54:44 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698