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

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

Issue 1202153003: Removing unused functions from FileChooser class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | Source/platform/FileChooser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 RefPtr<FileChooser> m_chooser; 87 RefPtr<FileChooser> m_chooser;
88 }; 88 };
89 89
90 class PLATFORM_EXPORT FileChooser : public RefCounted<FileChooser> { 90 class PLATFORM_EXPORT FileChooser : public RefCounted<FileChooser> {
91 public: 91 public:
92 static PassRefPtr<FileChooser> create(FileChooserClient*, const FileChooserS ettings&); 92 static PassRefPtr<FileChooser> create(FileChooserClient*, const FileChooserS ettings&);
93 ~FileChooser(); 93 ~FileChooser();
94 94
95 void disconnectClient() { m_client = 0; } 95 void disconnectClient() { m_client = 0; }
96 96
97 void chooseFiles(const Vector<String>& paths);
98
99 // FIXME: We should probably just pass file paths that could be virtual path s with proper display names rather than passing structs. 97 // FIXME: We should probably just pass file paths that could be virtual path s with proper display names rather than passing structs.
100 void chooseFiles(const Vector<FileChooserFileInfo>& files); 98 void chooseFiles(const Vector<FileChooserFileInfo>& files);
101 99
102 const FileChooserSettings& settings() const { return m_settings; } 100 const FileChooserSettings& settings() const { return m_settings; }
103 101
104 private: 102 private:
105 FileChooser(FileChooserClient*, const FileChooserSettings&); 103 FileChooser(FileChooserClient*, const FileChooserSettings&);
106 104
107 FileChooserClient* m_client; 105 FileChooserClient* m_client;
108 FileChooserSettings m_settings; 106 FileChooserSettings m_settings;
109 }; 107 };
110 108
111 } // namespace blink 109 } // namespace blink
112 110
113 #endif // FileChooser_h 111 #endif // FileChooser_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/FileChooser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698