blob: 3d1c82a5f060959d80c056c3246a1f177b48b2c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/app_modal_dialog.h"
#import <Cocoa/Cocoa.h>
AppModalDialog::~AppModalDialog() {
}
void AppModalDialog::CreateAndShowDialog() {
NOTIMPLEMENTED();
}
void AppModalDialog::ActivateModalDialog() {
NOTIMPLEMENTED();
}
void AppModalDialog::CloseModalDialog() {
NSAlert* alert = dialog_;
DCHECK([alert isKindOfClass:[NSAlert class]]);
[NSApp endSheet:[alert window]];
dialog_ = nil;
}
|