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

Issue 856253002: Bug fix for the pointer lock string problem (Closed)

Created:
5 years, 11 months ago by Jialiu Lin
Modified:
5 years, 10 months ago
CC:
chromium-reviews, felt
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bug fix for the pointer lock string problem, including: (1) make the tile of the denyButton adaptive, such that "Deny" will show on a mouse lock request instead of "Exit full screen." (2) add unittest to verify its behavior. XIB changes: * Remove the default deny button title IDS_FULLSCREEN_EXIT_FULLSCREEN. BUG=139944 Committed: https://crrev.com/70091e75f4af58bff364d591269bc3b465e9b4d8 Cr-Commit-Position: refs/heads/master@{#313638}

Patch Set 1 #

Total comments: 2

Patch Set 2 : adding NSlog to print out bubble type #

Patch Set 3 : add conditional check #

Patch Set 4 : Remove debugging printouts #

Total comments: 2

Patch Set 5 : Revert the xib file (switch back "Allow" and "Deny" button position), and fix one style problem #

Total comments: 8

Patch Set 6 : Addressing Mark's comments #

Patch Set 7 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -6 lines) Patch
M chrome/app/nibs/ExclusiveAccessBubble.xib View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm View 1 2 3 4 5 6 5 chunks +16 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller_unittest.mm View 1 2 3 4 5 5 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (8 generated)
Jialiu Lin
Bug fix for the pointer lock string problem, including: (1) switch positions of Allow and ...
5 years, 11 months ago (2015-01-21 18:21:32 UTC) #2
chromium-reviews
Hi Adrienne, I tried my patch locally, it works fine with http://scheib.github.com/HTMLMisc/PointerLockAndFullscreen.html. After uploading this ...
5 years, 11 months ago (2015-01-22 01:08:00 UTC) #3
felt
On 2015/01/22 01:08:00, chromium-reviews wrote: > Hi Adrienne, > I tried my patch locally, it ...
5 years, 11 months ago (2015-01-22 23:41:28 UTC) #4
felt
https://codereview.chromium.org/856253002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm (right): https://codereview.chromium.org/856253002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode265 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:265: exclusive_access_bubble::GetDenyButtonTextForType(bubbleType_)); It looks like this is providing a bubbleType_ ...
5 years, 11 months ago (2015-01-22 23:46:52 UTC) #5
Jialiu Lin
On 2015/01/22 23:46:52, felt wrote: > https://codereview.chromium.org/856253002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm > File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm > (right): > > https://codereview.chromium.org/856253002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode265 ...
5 years, 11 months ago (2015-01-23 18:35:31 UTC) #6
Jialiu Lin
https://codereview.chromium.org/856253002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm (right): https://codereview.chromium.org/856253002/diff/1/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode265 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:265: exclusive_access_bubble::GetDenyButtonTextForType(bubbleType_)); On 2015/01/22 23:46:52, felt wrote: > It looks ...
5 years, 11 months ago (2015-01-23 22:55:47 UTC) #7
felt
I'm not qualified to review mac code, but it's looking good -- please go ahead ...
5 years, 11 months ago (2015-01-24 08:28:52 UTC) #8
Jialiu Lin
Hi Mark, Could you take a look at this CL? Thanks, Jialiu
5 years, 11 months ago (2015-01-25 07:36:53 UTC) #10
Jialiu Lin
On 2015/01/25 07:36:53, JialiuLin wrote: > Hi Mark, > Could you take a look at ...
5 years, 10 months ago (2015-01-27 18:54:29 UTC) #11
Mark Mentovai
On Mac, buttons for “confirm” or “proceed” actions are laid out to the right of ...
5 years, 10 months ago (2015-01-27 19:24:40 UTC) #12
Avi (use Gerrit)
random drive-by https://codereview.chromium.org/856253002/diff/60001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm (right): https://codereview.chromium.org/856253002/diff/60001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode270 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:270: [denyButton_ setTitle: denyButtonText]; no space after :
5 years, 10 months ago (2015-01-27 19:27:12 UTC) #13
Jialiu Lin
On 2015/01/27 19:24:40, Mark Mentovai wrote: > On Mac, buttons for “confirm” or “proceed” actions are ...
5 years, 10 months ago (2015-01-27 19:48:06 UTC) #14
Jialiu Lin
Thanks, Mark and Avi. The style problem is fixed. https://codereview.chromium.org/856253002/diff/60001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm (right): https://codereview.chromium.org/856253002/diff/60001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode270 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:270: ...
5 years, 10 months ago (2015-01-27 19:51:09 UTC) #16
Mark Mentovai
Update the CL description to, then.
5 years, 10 months ago (2015-01-27 20:15:13 UTC) #17
Jialiu Lin
On 2015/01/27 20:15:13, Mark Mentovai wrote: > Update the CL description to, then. Oops, my ...
5 years, 10 months ago (2015-01-27 20:39:03 UTC) #18
Mark Mentovai
https://codereview.chromium.org/856253002/diff/80001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm (right): https://codereview.chromium.org/856253002/diff/80001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode47 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:47: // sets |exitLabelPlaceholder_| to nil. Revise comment. https://codereview.chromium.org/856253002/diff/80001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode263 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:263: ...
5 years, 10 months ago (2015-01-27 21:32:16 UTC) #19
Jialiu Lin
Thanks, Mark. Your comments have been addressed. https://codereview.chromium.org/856253002/diff/80001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm File chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm (right): https://codereview.chromium.org/856253002/diff/80001/chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm#newcode47 chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.mm:47: // sets ...
5 years, 10 months ago (2015-01-28 02:47:09 UTC) #20
Mark Mentovai
LGTM. Update the description to say how you’ve changed the nib. (It’s obvious this time, ...
5 years, 10 months ago (2015-01-28 03:47:41 UTC) #21
Jialiu Lin
On 2015/01/28 03:47:41, Mark Mentovai wrote: > LGTM. Update the description to say how you’ve ...
5 years, 10 months ago (2015-01-28 20:41:11 UTC) #22
Mark Mentovai
LGTM
5 years, 10 months ago (2015-01-28 20:47:02 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/856253002/120001
5 years, 10 months ago (2015-01-29 00:20:03 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-01-29 00:31:01 UTC) #30
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 00:32:01 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/70091e75f4af58bff364d591269bc3b465e9b4d8
Cr-Commit-Position: refs/heads/master@{#313638}

Powered by Google App Engine
This is Rietveld 408576698