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

Issue 10836349: CSS Media Query now reports touch-support accurately for Windows. (Closed)

Created:
8 years, 4 months ago by girard
Modified:
8 years, 3 months ago
Reviewers:
sky, Rick Byers
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

CSS Media Query now reports touch-support accurately for Windows. BUG=143792 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155484

Patch Set 1 : Code cleaned up for review. #

Total comments: 7

Patch Set 2 : Refactored functions into base::win, addressed nit. #

Patch Set 3 : Refactored code into base::win #

Patch Set 4 : Moved IsTouchDevicePresent to ui::base #

Total comments: 6

Patch Set 5 : Patched namespace reference. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -4 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
A ui/base/touch/touch_device_win.h View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A ui/base/touch/touch_device_win.cc View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M ui/base/touch/touch_factory.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
girard
Quick patch to correct the implementation of Query("pointer"). https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc#newcode537 content/browser/web_contents/web_contents_impl.cc:537: // ...
8 years, 4 months ago (2012-08-20 21:15:17 UTC) #1
sky
https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc#newcode537 content/browser/web_contents/web_contents_impl.cc:537: // Docs: http://msdn.microsoft.com/en-us/library/dd371581(VS.85).aspx On 2012/08/20 21:15:18, girard wrote: > ...
8 years, 4 months ago (2012-08-20 22:53:48 UTC) #2
Rick Byers
lgtm with nit https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc#newcode530 content/browser/web_contents/web_contents_impl.cc:530: ui::GetDisplayLayout() == ui::LAYOUT_TOUCH; You might as ...
8 years, 4 months ago (2012-08-21 11:26:16 UTC) #3
girard
Moved function to base::win. https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/10836349/diff/2001/content/browser/web_contents/web_contents_impl.cc#newcode530 content/browser/web_contents/web_contents_impl.cc:530: ui::GetDisplayLayout() == ui::LAYOUT_TOUCH; On 2012/08/21 ...
8 years, 4 months ago (2012-08-23 15:57:23 UTC) #4
sky
You want these in ui/base, not base.
8 years, 4 months ago (2012-08-23 16:45:35 UTC) #5
girard
On 2012/08/23 16:45:35, sky wrote: > You want these in ui/base, not base. Thanks. Done.
8 years, 4 months ago (2012-08-23 22:18:25 UTC) #6
sky
https://chromiumcodereview.appspot.com/10836349/diff/14001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/10836349/diff/14001/content/browser/web_contents/web_contents_impl.cc#newcode18 content/browser/web_contents/web_contents_impl.cc:18: #include "base/win/win_util.h" Remove this. https://chromiumcodereview.appspot.com/10836349/diff/14001/ui/base/touch/touch_device.cc File ui/base/touch/touch_device.cc (right): https://chromiumcodereview.appspot.com/10836349/diff/14001/ui/base/touch/touch_device.cc#newcode6 ...
8 years, 4 months ago (2012-08-23 22:54:34 UTC) #7
girard
Files renamed, and other nits have been cleaned up. Thanks for the feedback. https://chromiumcodereview.appspot.com/10836349/diff/14001/content/browser/web_contents/web_contents_impl.cc File ...
8 years, 4 months ago (2012-08-24 14:30:12 UTC) #8
sky
LGTM
8 years, 4 months ago (2012-08-24 18:09:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10836349/18001
8 years, 4 months ago (2012-08-24 18:18:18 UTC) #10
commit-bot: I haz the power
Try job failure for 10836349-18001 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-24 18:51:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10836349/18001
8 years, 3 months ago (2012-09-07 02:10:51 UTC) #12
commit-bot: I haz the power
Try job failure for 10836349-18001 (previous was lost) (retry) on linux_chromeos for step "compile" (clobber ...
8 years, 3 months ago (2012-09-07 06:38:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10836349/29001
8 years, 3 months ago (2012-09-07 16:19:56 UTC) #14
commit-bot: I haz the power
Try job failure for 10836349-29001 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 3 months ago (2012-09-07 17:44:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10836349/29001
8 years, 3 months ago (2012-09-07 18:52:32 UTC) #16
commit-bot: I haz the power
8 years, 3 months ago (2012-09-07 21:22:05 UTC) #17
Change committed as 155484

Powered by Google App Engine
This is Rietveld 408576698