Fix BaseBubbleController default behavior.
Since BaseBubbleController does not have a designated initializer, all initializers must set |shouldCloseOnResignKey_| to YES. BUG=317459 R=rsesek@chromium.org Review URL: https://codereview.chromium.org/68733003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234688 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
parentWindow_ = parentWindow;
|
||||
anchor_ = anchoredAt;
|
||||
shouldOpenAsKeyWindow_ = YES;
|
||||
shouldCloseOnResignKey_ = YES;
|
||||
|
||||
// Watch to see if the parent window closes, and if so, close this one.
|
||||
NSNotificationCenter* center = [NSNotificationCenter defaultCenter];
|
||||
|
Reference in New Issue
Block a user