OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" | 10 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void CloseDialog() OVERRIDE; | 59 virtual void CloseDialog() OVERRIDE; |
60 | 60 |
61 // views::LinkListener: | 61 // views::LinkListener: |
62 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; | 62 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; |
63 | 63 |
64 scoped_ptr<TabModalConfirmDialogDelegate> delegate_; | 64 scoped_ptr<TabModalConfirmDialogDelegate> delegate_; |
65 | 65 |
66 // The message box view whose commands we handle. | 66 // The message box view whose commands we handle. |
67 views::MessageBoxView* message_box_view_; | 67 views::MessageBoxView* message_box_view_; |
68 | 68 |
69 views::Widget* dialog_; | |
70 | |
71 DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogViews); | 69 DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogViews); |
72 }; | 70 }; |
73 | 71 |
74 #endif // CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ | 72 #endif // CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ |
OLD | NEW |