Chromium Code Reviews| Index: chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.mm |
| diff --git a/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.mm b/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.mm |
| index af95fb66c9aa762e8b59b7b932596f54212ad9aa..3cafc659ca59469e1e99243fe0c1f86537c1e5bd 100644 |
| --- a/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.mm |
| +++ b/chrome/browser/ui/cocoa/intents/web_intent_picker_view_controller.mm |
| @@ -146,7 +146,7 @@ |
| NSRect bounds = NSInsetRect(innerFrame, |
| -ConstrainedWindow::kHorizontalPadding, |
| - -ConstrainedWindow::kVerticalPadding); |
| + -ConstrainedWindow::kClientBottomPadding); |
|
sail
2012/10/11 18:15:23
this will not work
this insets the entire rect (to
please use gerrit instead
2012/10/11 18:41:27
Done.
|
| [[viewController view] setFrame:bounds]; |
| [viewController layoutSubviewsWithinFrame:innerFrame]; |
| @@ -166,7 +166,7 @@ |
| WebIntentPicker::kWindowMinHeight); |
| return NSInsetRect(bounds, |
| ConstrainedWindow::kHorizontalPadding, |
| - ConstrainedWindow::kVerticalPadding); |
| + ConstrainedWindow::kClientBottomPadding); |
|
sail
2012/10/11 18:15:23
same as above
please use gerrit instead
2012/10/11 18:41:27
Done.
|
| } |
| - (NSViewController<WebIntentViewController>*)currentViewController { |