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

Side by Side Diff: chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm

Issue 866263008: MacViews: Unify web contents modal dialog types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ValidationMessageBubble
Patch Set: Fix for rsesek Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h" 5 #import "chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h"
6 6
7 #import <SecurityInterface/SFChooseIdentityPanel.h> 7 #import <SecurityInterface/SFChooseIdentityPanel.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/mac/foundation_util.h" 10 #include "base/mac/foundation_util.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 } 220 }
221 221
222 - (void)makeSheetKeyAndOrderFront { 222 - (void)makeSheetKeyAndOrderFront {
223 [[overlayWindow_ attachedSheet] makeKeyAndOrderFront:nil]; 223 [[overlayWindow_ attachedSheet] makeKeyAndOrderFront:nil];
224 } 224 }
225 225
226 - (void)updateSheetPosition { 226 - (void)updateSheetPosition {
227 // NOOP 227 // NOOP
228 } 228 }
229 229
230 - (NSWindow*)sheetWindow {
231 return panel_;
232 }
233
230 - (void)onConstrainedWindowClosed { 234 - (void)onConstrainedWindowClosed {
231 observer_->StopObserving(); 235 observer_->StopObserving();
232 panel_.reset(); 236 panel_.reset();
233 constrainedWindow_.reset(); 237 constrainedWindow_.reset();
234 [self release]; 238 [self release];
235 } 239 }
236 240
237 @end 241 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698