| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" | 10 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // TabModalConfirmDialog: | 53 // TabModalConfirmDialog: |
| 54 void AcceptTabModalDialog() override; | 54 void AcceptTabModalDialog() override; |
| 55 void CancelTabModalDialog() override; | 55 void CancelTabModalDialog() override; |
| 56 | 56 |
| 57 // TabModalConfirmDialogCloseDelegate: | 57 // TabModalConfirmDialogCloseDelegate: |
| 58 void CloseDialog() override; | 58 void CloseDialog() override; |
| 59 | 59 |
| 60 // views::LinkListener: | 60 // views::LinkListener: |
| 61 void LinkClicked(views::Link* source, int event_flags) override; | 61 void LinkClicked(views::Link* source, int event_flags) override; |
| 62 | 62 |
| 63 scoped_ptr<TabModalConfirmDialogDelegate> delegate_; | 63 std::unique_ptr<TabModalConfirmDialogDelegate> delegate_; |
| 64 | 64 |
| 65 // The message box view whose commands we handle. | 65 // The message box view whose commands we handle. |
| 66 views::MessageBoxView* message_box_view_; | 66 views::MessageBoxView* message_box_view_; |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogViews); | 68 DISALLOW_COPY_AND_ASSIGN(TabModalConfirmDialogViews); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 #endif // CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ | 71 #endif // CHROME_BROWSER_UI_VIEWS_TAB_MODAL_CONFIRM_DIALOG_VIEWS_H_ |
| OLD | NEW |