| Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h
|
| diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h b/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..57ba754af0e04215a799bda96a89013492e9b1b6
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_WEB_DIALOG_SHEET_H_
|
| +#define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_WEB_DIALOG_SHEET_H_
|
| +
|
| +#import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h"
|
| +
|
| +namespace ui {
|
| +class WebDialogDelegate;
|
| +}
|
| +
|
| +// Represents a custom sheet for web dialog.
|
| +@interface WebDialogConstrainedWindowSheet : CustomConstrainedWindowSheet {
|
| + @private
|
| + ui::WebDialogDelegate* web_dialog_delegate_; // Weak.
|
| +}
|
| +
|
| +- (id)initWithCustomWindow:(NSWindow*)customWindow
|
| + webDialogDelegate:(ui::WebDialogDelegate*)delegate;
|
| +
|
| +@end
|
| +
|
| +#endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_WEB_DIALOG_SHEET_H_
|
|
|