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

Side by Side Diff: win8/metro_driver/file_picker_ash.h

Issue 1513043002: clang/win: Let remaining chromium_code targets build with -Wextra. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years 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/gfx/screen_win_unittest.cc ('k') | no next file » | 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 #ifndef CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_ASH_H_ 4 #ifndef CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_ASH_H_
5 #define CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_ASH_H_ 5 #define CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_ASH_H_
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const base::string16& title, 76 const base::string16& title,
77 const base::string16& filter, 77 const base::string16& filter,
78 const base::FilePath& default_path, 78 const base::FilePath& default_path,
79 bool allow_multi_select); 79 bool allow_multi_select);
80 ~OpenFilePickerSession() override; 80 ~OpenFilePickerSession() override;
81 81
82 const std::vector<base::FilePath>& filenames() const { 82 const std::vector<base::FilePath>& filenames() const {
83 return filenames_; 83 return filenames_;
84 } 84 }
85 85
86 const bool allow_multi_select() const { 86 bool allow_multi_select() const { return allow_multi_select_; }
87 return allow_multi_select_;
88 }
89 87
90 private: 88 private:
91 HRESULT StartFilePicker() override; 89 HRESULT StartFilePicker() override;
92 90
93 typedef winfoundtn::IAsyncOperation<winstorage::StorageFile*> 91 typedef winfoundtn::IAsyncOperation<winstorage::StorageFile*>
94 SingleFileAsyncOp; 92 SingleFileAsyncOp;
95 typedef winfoundtn::Collections::IVectorView< 93 typedef winfoundtn::Collections::IVectorView<
96 winstorage::StorageFile*> StorageFileVectorCollection; 94 winstorage::StorageFile*> StorageFileVectorCollection;
97 typedef winfoundtn::IAsyncOperation<StorageFileVectorCollection*> 95 typedef winfoundtn::IAsyncOperation<StorageFileVectorCollection*>
98 MultiFileAsyncOp; 96 MultiFileAsyncOp;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 FolderPickerAsyncOp; 148 FolderPickerAsyncOp;
151 149
152 // Called asynchronously when the folder picker is done. 150 // Called asynchronously when the folder picker is done.
153 HRESULT FolderPickerDone(FolderPickerAsyncOp* async, AsyncStatus status); 151 HRESULT FolderPickerDone(FolderPickerAsyncOp* async, AsyncStatus status);
154 152
155 DISALLOW_COPY_AND_ASSIGN(FolderPickerSession); 153 DISALLOW_COPY_AND_ASSIGN(FolderPickerSession);
156 }; 154 };
157 155
158 #endif // CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_ASH_H_ 156 #endif // CHROME_BROWSER_UI_METRO_DRIVER_FILE_PICKER_ASH_H_
159 157
OLDNEW
« no previous file with comments | « ui/gfx/screen_win_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698