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

Issue 134683004: Disabled pinch zooming in non-browser Aura windows. (Closed)

Created:
6 years, 11 months ago by bokan
Modified:
6 years, 10 months ago
CC:
chromium-reviews, tfarina, ben+views_chromium.org, ben+aura_chromium.org, kalyank
Visibility:
Public.

Description

Disabled pinch zooming in non-browser Aura windows. Pinch zoom should not affect native-looking UI. This patch disabled zoom in all cases except for the browser view. BUG=232098 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247843

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -2 lines) Patch
M apps/shell_window.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M apps/shell_window.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/first_run/first_run_view.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/first_run/first_run_view.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_view.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_view.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_window.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_window.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_controller_proxy.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M ui/web_dialogs/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/web_dialogs/web_dialog_web_contents_delegate.h View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M ui/web_dialogs/web_dialog_web_contents_delegate.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
bokan
Sadrul, could you have a look? I really haven't done anything outside Blink so this ...
6 years, 11 months ago (2014-01-10 20:24:30 UTC) #1
sadrul
On 2014/01/10 20:24:30, bokan wrote: > Sadrul, could you have a look? I really haven't ...
6 years, 11 months ago (2014-01-11 20:30:20 UTC) #2
bokan
Thanks Sadrul, that's what I was looking for. PTAL? Is it ok to use the ...
6 years, 11 months ago (2014-01-13 20:34:18 UTC) #3
sadrul
On 2014/01/13 20:34:18, bokan wrote: > Thanks Sadrul, that's what I was looking for. PTAL? ...
6 years, 11 months ago (2014-01-13 21:55:19 UTC) #4
bokan
https://codereview.chromium.org/134683004/diff/100001/content/public/browser/web_contents_delegate.cc File content/public/browser/web_contents_delegate.cc (right): https://codereview.chromium.org/134683004/diff/100001/content/public/browser/web_contents_delegate.cc#newcode117 content/public/browser/web_contents_delegate.cc:117: // By default, swallow pinch events On 2014/01/13 21:55:19, ...
6 years, 11 months ago (2014-01-13 22:45:08 UTC) #5
bokan
+jam@ for OWNER
6 years, 11 months ago (2014-01-13 22:48:38 UTC) #6
jam
https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc File content/public/browser/web_contents_delegate.cc (right): https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc#newcode118 content/public/browser/web_contents_delegate.cc:118: // On Desktop, swallow pinch events by default why ...
6 years, 11 months ago (2014-01-14 17:02:44 UTC) #7
bokan
https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc File content/public/browser/web_contents_delegate.cc (right): https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc#newcode118 content/public/browser/web_contents_delegate.cc:118: // On Desktop, swallow pinch events by default On ...
6 years, 11 months ago (2014-01-14 18:49:04 UTC) #8
jam
https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc File content/public/browser/web_contents_delegate.cc (right): https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc#newcode118 content/public/browser/web_contents_delegate.cc:118: // On Desktop, swallow pinch events by default On ...
6 years, 11 months ago (2014-01-16 16:42:44 UTC) #9
bokan
https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc File content/public/browser/web_contents_delegate.cc (right): https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc#newcode118 content/public/browser/web_contents_delegate.cc:118: // On Desktop, swallow pinch events by default On ...
6 years, 11 months ago (2014-01-16 16:49:19 UTC) #10
jam
https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc File content/public/browser/web_contents_delegate.cc (right): https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc#newcode118 content/public/browser/web_contents_delegate.cc:118: // On Desktop, swallow pinch events by default On ...
6 years, 11 months ago (2014-01-17 05:49:51 UTC) #11
bokan
On 2014/01/17 05:49:51, jam wrote: > https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc > File content/public/browser/web_contents_delegate.cc (right): > > https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc#newcode118 > ...
6 years, 11 months ago (2014-01-20 19:05:11 UTC) #12
bokan
On 2014/01/17 05:49:51, jam wrote: > https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc > File content/public/browser/web_contents_delegate.cc (right): > > https://codereview.chromium.org/134683004/diff/230001/content/public/browser/web_contents_delegate.cc#newcode118 > ...
6 years, 11 months ago (2014-01-22 20:07:09 UTC) #13
jam
lgtm https://codereview.chromium.org/134683004/diff/400001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/134683004/diff/400001/chrome/browser/ui/browser.cc#newcode187 chrome/browser/ui/browser.cc:187: #include "third_party/WebKit/public/web/WebInputEvent.h" this isn't needed? https://codereview.chromium.org/134683004/diff/400001/content/public/browser/web_contents_delegate.h File content/public/browser/web_contents_delegate.h ...
6 years, 11 months ago (2014-01-23 01:34:47 UTC) #14
bokan
+scheib@ for src/apps +sky@ for src/ui/web_dialogs
6 years, 11 months ago (2014-01-24 16:16:23 UTC) #15
bokan
+scheib@ for src/apps +sky@ for src/ui/web_dialogs
6 years, 11 months ago (2014-01-24 16:17:02 UTC) #16
scheib
I'm not aware of if we pass gestures through to web content, or if they ...
6 years, 11 months ago (2014-01-24 17:48:58 UTC) #17
sky
ui/web_dialogs LGTM
6 years, 11 months ago (2014-01-24 18:29:40 UTC) #18
bokan
On 2014/01/24 17:48:58, scheib wrote: > I'm not aware of if we pass gestures through ...
6 years, 11 months ago (2014-01-24 19:20:51 UTC) #19
scheib
lgtm, with some comments added from bokan to address confused people like me. Posterity: we ...
6 years, 11 months ago (2014-01-24 20:44:16 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/134683004/610001
6 years, 11 months ago (2014-01-27 15:41:26 UTC) #21
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=46579
6 years, 11 months ago (2014-01-27 16:06:20 UTC) #22
bokan
+abarth OWNERE needed for new added dependency on Blink's WebInputEvent in DEPS files
6 years, 11 months ago (2014-01-27 16:12:55 UTC) #23
abarth-chromium
jamesr is a better person to review Chromium dependencies on Blink.
6 years, 11 months ago (2014-01-27 18:12:55 UTC) #24
jamesr
https://codereview.chromium.org/134683004/diff/610001/ui/keyboard/DEPS File ui/keyboard/DEPS (right): https://codereview.chromium.org/134683004/diff/610001/ui/keyboard/DEPS#newcode5 ui/keyboard/DEPS:5: "+third_party/WebKit/public/web/WebInputEvent.h", no, ui/ should not be depending on blink ...
6 years, 11 months ago (2014-01-27 19:18:12 UTC) #25
jamesr
Hmm, although content/public/browser/native_web_keyboard_event.h #includes the WebInputEvent.h header, and these files are already depending on that. ...
6 years, 11 months ago (2014-01-27 19:24:41 UTC) #26
sadrul
https://codereview.chromium.org/134683004/diff/610001/ui/views/DEPS File ui/views/DEPS (right): https://codereview.chromium.org/134683004/diff/610001/ui/views/DEPS#newcode7 ui/views/DEPS:7: "+third_party/WebKit/public/web/WebInputEvent.h", This should be in ui/views/controls/webview/DEPS instead
6 years, 11 months ago (2014-01-27 19:25:59 UTC) #27
jamesr
Why can't the ui code handle the gesture event before it's passed in to content/ ...
6 years, 11 months ago (2014-01-27 19:27:18 UTC) #28
bokan
On 2014/01/27 19:24:41, jamesr wrote: > Hmm, although content/public/browser/native_web_keyboard_event.h #includes the > WebInputEvent.h header, and ...
6 years, 10 months ago (2014-01-28 22:55:14 UTC) #29
jamesr
The DEPS entry in ui/web_dialogs/ lgtm - if you depend on the public content API ...
6 years, 10 months ago (2014-01-28 22:56:21 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/134683004/760001
6 years, 10 months ago (2014-01-28 23:57:48 UTC) #31
commit-bot: I haz the power
Retried try job too often on linux_chromeos_clang for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos_clang&number=69178
6 years, 10 months ago (2014-01-29 04:20:45 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/134683004/780001
6 years, 10 months ago (2014-01-29 15:54:16 UTC) #33
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=217937
6 years, 10 months ago (2014-01-29 16:43:54 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/134683004/780001
6 years, 10 months ago (2014-01-29 22:42:32 UTC) #35
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 05:34:57 UTC) #36
Message was sent while issue was closed.
Change committed as 247843

Powered by Google App Engine
This is Rietveld 408576698