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

Issue 2125813002: Add custom UIPresentationController for picker selector (Closed)

Created:
4 years, 5 months ago by Jackie Quinn
Modified:
4 years, 5 months ago
CC:
chromium-reviews, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add custom UIPresentationController for picker selector Add custom UIPresentationController subclass for presenting the picker selector. The presentation controller sets the frame of the picker selector to be at the bottom of the screen, and adds a dimming view behind it. BUG=622244 Committed: https://crrev.com/3920fa079d497a524eeca5ff3eb6ef0a8981d3e7 Cr-Commit-Position: refs/heads/master@{#403902}

Patch Set 1 #

Patch Set 2 : Gyp changes #

Total comments: 4

Patch Set 3 : name shortening #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -7 lines) Patch
M ios/chrome/browser/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/elements/selector_coordinator.mm View 1 2 3 chunks +18 lines, -4 lines 0 comments Download
A ios/chrome/browser/ui/elements/selector_picker_presentation_controller.h View 1 chunk +16 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/elements/selector_picker_view_controller.mm View 2 chunks +2 lines, -3 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Jackie Quinn
4 years, 5 months ago (2016-07-06 10:44:20 UTC) #2
marq (ping after 24h)
LGTM, with two nits. https://codereview.chromium.org/2125813002/diff/20001/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm File ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm (right): https://codereview.chromium.org/2125813002/diff/20001/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm#newcode21 ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm:21: initWithPresentedViewController:(UIViewController*)presentedViewController nit: You can make ...
4 years, 5 months ago (2016-07-06 12:42:14 UTC) #3
Jackie Quinn
Thanks for the quick review! https://codereview.chromium.org/2125813002/diff/20001/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm File ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm (right): https://codereview.chromium.org/2125813002/diff/20001/ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm#newcode21 ios/chrome/browser/ui/elements/selector_picker_presentation_controller.mm:21: initWithPresentedViewController:(UIViewController*)presentedViewController On 2016/07/06 12:42:14, ...
4 years, 5 months ago (2016-07-06 13:03:23 UTC) #4
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/2125813002/40001
4 years, 5 months ago (2016-07-06 13:05:23 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-06 14:00:54 UTC) #8
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 14:02:07 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3920fa079d497a524eeca5ff3eb6ef0a8981d3e7
Cr-Commit-Position: refs/heads/master@{#403902}

Powered by Google App Engine
This is Rietveld 408576698