Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Side by Side Diff: chrome/browser/ui/views/tab_modal_confirm_dialog_views.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tab_icon_view.cc ('k') | chrome/browser/ui/views/tabs/alert_indicator_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698