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

Issue 8072011: Only allow to lock the mouse when the tab is in fullscreen mode. (Closed)

Created:
9 years, 2 months ago by yzshen1
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Avi (use Gerrit), dpranke+watch-content_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Only allow to lock the mouse when the tab is in fullscreen mode. BUG=41781 TEST=Manual test in ppapi/examples/mouse_lock. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103612

Patch Set 1 #

Total comments: 11

Patch Set 2 : Make changes in response to review comments & sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -45 lines) Patch
M chrome/browser/ui/browser.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 1 chunk +30 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_view_host.h View 1 3 chunks +20 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.cc View 1 5 chunks +13 lines, -9 lines 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/examples/mouse_lock/mouse_lock.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/examples/mouse_lock/mouse_lock.html View 1 1 chunk +60 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
yzshen1
Hi, Scott, James, Vincent. Would you please review this change? Thanks! Scott: Everything in chrome/ ...
9 years, 2 months ago (2011-09-28 21:55:03 UTC) #1
scheib
LGTM http://codereview.chromium.org/8072011/diff/1/ppapi/examples/mouse_lock/mouse_lock.html File ppapi/examples/mouse_lock/mouse_lock.html (right): http://codereview.chromium.org/8072011/diff/1/ppapi/examples/mouse_lock/mouse_lock.html#newcode56 ppapi/examples/mouse_lock/mouse_lock.html:56: <li>right click; or</li> Consider for this change, or ...
9 years, 2 months ago (2011-09-28 22:48:31 UTC) #2
sky
http://codereview.chromium.org/8072011/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/8072011/diff/1/chrome/browser/ui/browser.cc#newcode3810 chrome/browser/ui/browser.cc:3810: tab_caused_fullscreen_ = true; Does this need to be reset ...
9 years, 2 months ago (2011-09-28 22:58:04 UTC) #3
koz (OOO until 15th September)
browser.h/cc changes LGTM http://codereview.chromium.org/8072011/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/8072011/diff/1/chrome/browser/ui/browser.cc#newcode3810 chrome/browser/ui/browser.cc:3810: tab_caused_fullscreen_ = true; On 2011/09/28 22:58:04, ...
9 years, 2 months ago (2011-09-29 04:13:07 UTC) #4
yzshen1
Thanks! Please take another look. http://codereview.chromium.org/8072011/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/8072011/diff/1/chrome/browser/ui/browser.cc#newcode3810 chrome/browser/ui/browser.cc:3810: tab_caused_fullscreen_ = true; On ...
9 years, 2 months ago (2011-09-29 20:41:04 UTC) #5
sky
LGTM
9 years, 2 months ago (2011-09-29 21:17:34 UTC) #6
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/8072011/7001
9 years, 2 months ago (2011-09-30 17:05:21 UTC) #7
commit-bot: I haz the power
Presubmit check for 8072011-7001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 2 months ago (2011-09-30 17:05:27 UTC) #8
yzshen1
On 2011/09/30 17:05:27, I haz the power (commit-bot) wrote: > Presubmit check for 8072011-7001 failed ...
9 years, 2 months ago (2011-09-30 17:08:37 UTC) #9
brettw
PPAPI owners rubberstamp LGTM
9 years, 2 months ago (2011-09-30 23:32:22 UTC) #10
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/8072011/7001
9 years, 2 months ago (2011-09-30 23:34:57 UTC) #11
commit-bot: I haz the power
9 years, 2 months ago (2011-10-01 01:38:14 UTC) #12
Change committed as 103612

Powered by Google App Engine
This is Rietveld 408576698