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

Side by Side Diff: third_party/WebKit/Source/platform/FileChooser.h

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 years, 2 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 }; 87 };
88 88
89 class PLATFORM_EXPORT FileChooser : public RefCounted<FileChooser> { 89 class PLATFORM_EXPORT FileChooser : public RefCounted<FileChooser> {
90 public: 90 public:
91 static PassRefPtr<FileChooser> create(FileChooserClient*, 91 static PassRefPtr<FileChooser> create(FileChooserClient*,
92 const FileChooserSettings&); 92 const FileChooserSettings&);
93 ~FileChooser(); 93 ~FileChooser();
94 94
95 void disconnectClient() { m_client = 0; } 95 void disconnectClient() { m_client = 0; }
96 96
97 // FIXME: We should probably just pass file paths that could be virtual paths with proper display names rather than passing structs. 97 // FIXME: We should probably just pass file paths that could be virtual paths
98 // with proper display names rather than passing structs.
98 void chooseFiles(const Vector<FileChooserFileInfo>& files); 99 void chooseFiles(const Vector<FileChooserFileInfo>& files);
99 100
100 const FileChooserSettings& settings() const { return m_settings; } 101 const FileChooserSettings& settings() const { return m_settings; }
101 102
102 private: 103 private:
103 FileChooser(FileChooserClient*, const FileChooserSettings&); 104 FileChooser(FileChooserClient*, const FileChooserSettings&);
104 105
105 FileChooserClient* m_client; 106 FileChooserClient* m_client;
106 FileChooserSettings m_settings; 107 FileChooserSettings m_settings;
107 }; 108 };
108 109
109 } // namespace blink 110 } // namespace blink
110 111
111 #endif // FileChooser_h 112 #endif // FileChooser_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/DragImageTest.cpp ('k') | third_party/WebKit/Source/platform/Histogram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698