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

Side by Side Diff: ui/shell_dialogs/select_file_dialog_mac.h

Issue 1871743003: ui: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ui/ozone/public/surface_ozone_egl.cc ('k') | ui/shell_dialogs/select_file_dialog_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_ 5 #ifndef UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_
6 #define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_ 6 #define UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 gfx::NativeWindow owning_window, 56 gfx::NativeWindow owning_window,
57 void* params) override; 57 void* params) override;
58 58
59 private: 59 private:
60 friend class test::SelectFileDialogMacTest; 60 friend class test::SelectFileDialogMacTest;
61 61
62 // Struct to store data associated with a file dialog while it is showing. 62 // Struct to store data associated with a file dialog while it is showing.
63 struct DialogData { 63 struct DialogData {
64 DialogData(void* params_, 64 DialogData(void* params_,
65 base::scoped_nsobject<ExtensionDropdownHandler> handler); 65 base::scoped_nsobject<ExtensionDropdownHandler> handler);
66 DialogData(const DialogData& other);
66 67
67 // |params| user data associated with this file dialog. 68 // |params| user data associated with this file dialog.
68 void* params; 69 void* params;
69 70
70 // Extension dropdown handler corresponding to this file dialog. 71 // Extension dropdown handler corresponding to this file dialog.
71 base::scoped_nsobject<ExtensionDropdownHandler> extension_dropdown_handler; 72 base::scoped_nsobject<ExtensionDropdownHandler> extension_dropdown_handler;
72 73
73 ~DialogData(); 74 ~DialogData();
74 }; 75 };
75 76
(...skipping 20 matching lines...) Expand all
96 97
97 bool hasMultipleFileTypeChoices_; 98 bool hasMultipleFileTypeChoices_;
98 99
99 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl); 100 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl);
100 }; 101 };
101 102
102 } // namespace ui 103 } // namespace ui
103 104
104 #endif // UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_ 105 #endif // UI_SHELL_DIALOGS_SELECT_FILE_DIALOG_MAC_H_
105 106
OLDNEW
« no previous file with comments | « ui/ozone/public/surface_ozone_egl.cc ('k') | ui/shell_dialogs/select_file_dialog_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698