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

Issue 2603783002: [Clean Skeleton] Fix menu dismiss and positions. (Closed)

Created:
3 years, 11 months ago by marq (ping after 24h)
Modified:
3 years, 11 months ago
Reviewers:
edchin, lpromero
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Clean Skeleton] Fix menu dismiss and positions. This CL cleans up the menu implementation. First, it removes the burden of dismissing the menu when non-menu screen areas are tapped from the menu view controller. The menu presentation controller does this, having been handed a ToolbarCommands object to use for this. Second, TabContainerViewController implements ZoomTransitionDelegate, passing the call into the toolbar view controller if it can. It also uses that information to implement MenuPresentationDelegate such that the menu is positioned with one corner over the zoom location used for the menu. BUG= Review-Url: https://codereview.chromium.org/2603783002 Cr-Commit-Position: refs/heads/master@{#443561} Committed: https://chromium.googlesource.com/chromium/src/+/e244e9ad13ddb05af872f74ec1044f5f1af42d54

Patch Set 1 #

Patch Set 2 : Changed menu sizing. #

Total comments: 10

Patch Set 3 : Fix comments. #

Patch Set 4 : Fix BUILD.gn. #

Patch Set 5 : Fix strip include. #

Messages

Total messages: 30 (14 generated)
marq (ping after 24h)
3 years, 11 months ago (2016-12-28 11:36:43 UTC) #2
lpromero
https://codereview.chromium.org/2603783002/diff/20001/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h File ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h (right): https://codereview.chromium.org/2603783002/diff/20001/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h#newcode22 ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h:22: // If the presenting view controller confroms to the ...
3 years, 11 months ago (2017-01-05 14:27:05 UTC) #4
marq (ping after 24h)
https://codereview.chromium.org/2603783002/diff/20001/ios/clean/chrome/browser/ui/tools/menu_view_controller.mm File ios/clean/chrome/browser/ui/tools/menu_view_controller.mm (right): https://codereview.chromium.org/2603783002/diff/20001/ios/clean/chrome/browser/ui/tools/menu_view_controller.mm#newcode66 ios/clean/chrome/browser/ui/tools/menu_view_controller.mm:66: self.view = [[UIView alloc] initWithFrame:frame]; On 2017/01/05 14:27:04, lpromero ...
3 years, 11 months ago (2017-01-09 12:22:33 UTC) #5
lpromero
lgtm
3 years, 11 months ago (2017-01-09 12:52:38 UTC) #6
marq (ping after 24h)
https://codereview.chromium.org/2603783002/diff/20001/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h File ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h (right): https://codereview.chromium.org/2603783002/diff/20001/ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h#newcode22 ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.h:22: // If the presenting view controller confroms to the ...
3 years, 11 months ago (2017-01-09 18:05:00 UTC) #7
marq (ping after 24h)
3 years, 11 months ago (2017-01-09 18:05:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603783002/40001
3 years, 11 months ago (2017-01-13 09:23:37 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/135433)
3 years, 11 months ago (2017-01-13 09:29:09 UTC) #13
marq (ping after 24h)
Fix BUILD.gn.
3 years, 11 months ago (2017-01-13 11:33:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603783002/60001
3 years, 11 months ago (2017-01-13 11:33:23 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/136808)
3 years, 11 months ago (2017-01-13 11:40:59 UTC) #19
marq (ping after 24h)
Fix strip include.
3 years, 11 months ago (2017-01-13 11:53:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603783002/80001
3 years, 11 months ago (2017-01-13 11:53:47 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/363644)
3 years, 11 months ago (2017-01-13 13:46:44 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2603783002/80001
3 years, 11 months ago (2017-01-13 14:03:04 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 15:20:13 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e244e9ad13ddb05af872f74ec104...

Powered by Google App Engine
This is Rietveld 408576698