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

Issue 11348353: Simplify pinch flags. (Closed)

Created:
8 years ago by wjmaclean
Modified:
8 years ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, cc-bugs_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Simplify pinch flags. At present, we have two flags to enable two different pinch models: enable-pinch => enables Android style zoom enable-pinch + enable-pinch-in-compositor => enables chrome linux/win accelerated zoom This CL rationalizes the flags so that enable-css-transform-pinch => enables Android style zoom enable-pinch => enables chrome linux/win accelerated zoom and the latter can be controlled via about:flags. BUG= NOTRY=TRUE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171309

Patch Set 1 #

Total comments: 1

Patch Set 2 : Revise as per aelias comments, disable enable-pinch for Android in about:flags. #

Patch Set 3 : Add early out if not compositing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -27 lines) Patch
M cc/switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/content_startup_flags.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 1 chunk +11 lines, -17 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
wjmaclean
Alexandre - before I mark this for review by other OWNERS, can you verify I've ...
8 years ago (2012-12-03 16:03:47 UTC) #1
aelias_OOO_until_Jul13
https://codereview.chromium.org/11348353/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/11348353/diff/1/content/renderer/render_view_impl.cc#newcode3180 content/renderer/render_view_impl.cc:3180: bool enable_pinch = enable_viewport || This logic is broken ...
8 years ago (2012-12-03 18:34:35 UTC) #2
wjmaclean
Thanks Alexandre, I wasn't sure about the enable_viewport interaction. Will upload a new patch momentarily. ...
8 years ago (2012-12-04 18:21:15 UTC) #3
wjmaclean
Updated, please take a look?
8 years ago (2012-12-04 19:31:34 UTC) #4
aelias_OOO_until_Jul13
lgtm except I'm thinking we should also add "if (!webview()->isAcceleratedCompositingActive()) return;" to the render_view_impl function, ...
8 years ago (2012-12-04 20:30:38 UTC) #5
wjmaclean
On 2012/12/04 20:30:38, aelias wrote: > lgtm except I'm thinking we should also add "if ...
8 years ago (2012-12-04 21:02:27 UTC) #6
aelias_OOO_until_Jul13
lgtm
8 years ago (2012-12-04 21:32:23 UTC) #7
wjmaclean
On 2012/12/04 21:32:23, aelias wrote: > lgtm +enne as cc OWNER
8 years ago (2012-12-04 22:15:56 UTC) #8
enne (OOO)
lgtm
8 years ago (2012-12-05 17:19:11 UTC) #9
darin (slow to review)
LGTM
8 years ago (2012-12-05 17:50:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/11348353/5002
8 years ago (2012-12-05 17:54:04 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) content_unittests
8 years ago (2012-12-05 20:41:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/11348353/5002
8 years ago (2012-12-05 20:46:25 UTC) #13
commit-bot: I haz the power
8 years ago (2012-12-05 21:06:07 UTC) #14
Message was sent while issue was closed.
Change committed as 171309

Powered by Google App Engine
This is Rietveld 408576698