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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_TAB_MODAL_CONFIRM_DIALOG_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_TAB_MODAL_CONFIRM_DIALOG_BROWSERTEST_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/tab_modal_confirm_dialog.h"
11 #include "chrome/test/base/in_process_browser_test.h"
13 class MockTabModalConfirmDialogDelegate
;
15 class TabModalConfirmDialogTest
: public InProcessBrowserTest
{
17 TabModalConfirmDialogTest();
19 virtual void SetUpOnMainThread() OVERRIDE
;
20 virtual void CleanUpOnMainThread() OVERRIDE
;
23 // Owned by |dialog_|.
24 MockTabModalConfirmDialogDelegate
* delegate_
;
27 TabModalConfirmDialog
* dialog_
;
30 DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogTest
);
33 #endif // CHROME_BROWSER_UI_TAB_MODAL_CONFIRM_DIALOG_BROWSERTEST_H_