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

Issue 10699045: Fix PPB_MouseLock.LockMouse crash and add tests. (Closed)

Created:
8 years, 5 months ago by yzshen1
Modified:
8 years, 5 months ago
CC:
chromium-reviews, scheib+watch_chromium.org, darin-cc_chromium.org, native-client-reviews_googlegroups.com, apatrick_chromium
Visibility:
Public.

Description

Fix PPB_MouseLock.LockMouse crash and add tests. Because mouse lock tests require focus, the new tests are put in interactive_ui_tests. In this CL, ppapi_uitest is split into three parts: 1) ppapi_test: contains PPAPITestBase and its subclasses. 2) ppapi_browsertest: used by browser_tests. 3) ppapi_interactive_browsertest: used by interactive_ui_tests. Besides, they are moved into a new folder, chrome/test/ppapi. (1) and (2) are less interesting since they are mostly copied from ppapi_uitest. BUG=135206 TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=145708

Patch Set 1 #

Total comments: 2

Patch Set 2 : changes in response to Vincent's suggestions & fix compilation failure. #

Total comments: 16

Patch Set 3 : change in response to Dave's suggestions. #

Total comments: 3

Patch Set 4 : Fix mouse lock. #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -2550 lines) Patch
M chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 chunks +8 lines, -22 lines 0 comments Download
M chrome/test/gpu/test_support_gpu.gypi View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
A chrome/test/ppapi/OWNERS View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A + chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 1 chunk +1 line, -377 lines 0 comments Download
A chrome/test/ppapi/ppapi_interactive_browsertest.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A + chrome/test/ppapi/ppapi_test.h View 1 2 3 3 chunks +40 lines, -3 lines 0 comments Download
A + chrome/test/ppapi/ppapi_test.cc View 1 2 3 4 chunks +48 lines, -850 lines 0 comments Download
D chrome/test/ui/ppapi_uitest.h View 1 2 3 4 5 1 chunk +0 lines, -99 lines 0 comments Download
D chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 5 1 chunk +0 lines, -1182 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 2 chunks +4 lines, -10 lines 0 comments Download
A ppapi/tests/test_mouse_lock.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A ppapi/tests/test_mouse_lock.cc View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
M ppapi/thunk/enter.cc View 1 2 3 4 5 2 chunks +14 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
yzshen1
Hi, Dave. Would you please take a look? Thanks! (And sorry for taking so long ...
8 years, 5 months ago (2012-06-30 02:58:17 UTC) #1
scheib
https://chromiumcodereview.appspot.com/10699045/diff/1/ppapi/tests/test_mouse_lock.cc File ppapi/tests/test_mouse_lock.cc (right): https://chromiumcodereview.appspot.com/10699045/diff/1/ppapi/tests/test_mouse_lock.cc#newcode59 ppapi/tests/test_mouse_lock.cc:59: if (rv == PP_OK_COMPLETIONPENDING) How does this test differ ...
8 years, 5 months ago (2012-06-30 03:18:58 UTC) #2
yzshen1
https://chromiumcodereview.appspot.com/10699045/diff/1/ppapi/tests/test_mouse_lock.cc File ppapi/tests/test_mouse_lock.cc (right): https://chromiumcodereview.appspot.com/10699045/diff/1/ppapi/tests/test_mouse_lock.cc#newcode59 ppapi/tests/test_mouse_lock.cc:59: if (rv == PP_OK_COMPLETIONPENDING) On 2012/06/30 03:18:58, scheib wrote: ...
8 years, 5 months ago (2012-06-30 21:39:14 UTC) #3
dmichael (off chromium)
http://codereview.chromium.org/10699045/diff/10001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/10699045/diff/10001/chrome/chrome_tests.gypi#newcode517 chrome/chrome_tests.gypi:517: 'test/ppapi/ppapi_interactive_browsertest.cc', Is it appropriate to put this here? We ...
8 years, 5 months ago (2012-07-02 17:34:16 UTC) #4
jam
which parts do you need me to review?
8 years, 5 months ago (2012-07-02 17:58:02 UTC) #5
yzshen1
On 2012/07/02 17:58:02, John Abd-El-Malek wrote: > which parts do you need me to review? ...
8 years, 5 months ago (2012-07-02 18:00:16 UTC) #6
yzshen1
http://codereview.chromium.org/10699045/diff/10001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/10699045/diff/10001/chrome/chrome_tests.gypi#newcode517 chrome/chrome_tests.gypi:517: 'test/ppapi/ppapi_interactive_browsertest.cc', On 2012/07/02 17:34:16, dmichael wrote: > Is it ...
8 years, 5 months ago (2012-07-02 19:20:20 UTC) #7
dmichael (off chromium)
One more thing... we probably should add a new OWNERS file in chrome/test/ppapi so we ...
8 years, 5 months ago (2012-07-02 19:46:32 UTC) #8
jam
it's very unfortunate to lose svn history for this file. Can you do this without ...
8 years, 5 months ago (2012-07-03 00:56:12 UTC) #9
yzshen1
Fix mouse lock.
8 years, 5 months ago (2012-07-03 21:32:10 UTC) #10
yzshen1
Hi, Dave and John. Thanks! I have switched to svn to preserve the history. It ...
8 years, 5 months ago (2012-07-03 21:39:16 UTC) #11
jam
lgtm, thanks for preserving the history http://codereview.chromium.org/10699045/diff/5003/ppapi/tests/test_mouse_lock.h File ppapi/tests/test_mouse_lock.h (right): http://codereview.chromium.org/10699045/diff/5003/ppapi/tests/test_mouse_lock.h#newcode1 ppapi/tests/test_mouse_lock.h:1: // Copyright (c) ...
8 years, 5 months ago (2012-07-04 04:43:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/10699045/5006
8 years, 5 months ago (2012-07-05 02:53:03 UTC) #13
commit-bot: I haz the power
Failed to apply patch for chrome/test/ppapi/ppapi_browsertest.cc: While running patch -p0 --forward --force; patching file chrome/test/ppapi/ppapi_browsertest.cc ...
8 years, 5 months ago (2012-07-05 02:53:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/10699045/16001
8 years, 5 months ago (2012-07-09 17:10:08 UTC) #15
commit-bot: I haz the power
Failed to apply patch for chrome/test/ppapi/ppapi_browsertest.cc: While running patch -p0 --forward --force; patching file chrome/test/ppapi/ppapi_browsertest.cc ...
8 years, 5 months ago (2012-07-09 17:10:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/10699045/16001
8 years, 5 months ago (2012-07-09 17:11:11 UTC) #17
commit-bot: I haz the power
8 years, 5 months ago (2012-07-09 17:11:23 UTC) #18
Failed to apply patch for chrome/test/ppapi/ppapi_browsertest.cc:
While running patch -p0 --forward --force;
patching file chrome/test/ppapi/ppapi_browsertest.cc
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file
chrome/test/ppapi/ppapi_browsertest.cc.rej

Powered by Google App Engine
This is Rietveld 408576698