Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / constrained_window / constrained_window_web_dialog_sheet.h
blob57ba754af0e04215a799bda96a89013492e9b1b6
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_WEB_DIALOG_SHEET_H_
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_WEB_DIALOG_SHEET_H_
8 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h"
10 namespace ui {
11 class WebDialogDelegate;
14 // Represents a custom sheet for web dialog.
15 @interface WebDialogConstrainedWindowSheet : CustomConstrainedWindowSheet {
16 @private
17 ui::WebDialogDelegate* web_dialog_delegate_; // Weak.
20 - (id)initWithCustomWindow:(NSWindow*)customWindow
21 webDialogDelegate:(ui::WebDialogDelegate*)delegate;
23 @end
25 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_WEB_DIALOG_SHEET_H_