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

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

Issue 1160293005: 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 chooseFile(const String& path);
98 void chooseFiles(const Vector<String>& paths); 97 void chooseFiles(const Vector<String>& paths);
99 98
100 // FIXME: We should probably just pass file paths that could be virtual path s with proper display names rather than passing structs. 99 // FIXME: We should probably just pass file paths that could be virtual path s with proper display names rather than passing structs.
101 void chooseFiles(const Vector<FileChooserFileInfo>& files); 100 void chooseFiles(const Vector<FileChooserFileInfo>& files);
102 101
103 const FileChooserSettings& settings() const { return m_settings; } 102 const FileChooserSettings& settings() const { return m_settings; }
104 103
105 private: 104 private:
106 FileChooser(FileChooserClient*, const FileChooserSettings&); 105 FileChooser(FileChooserClient*, const FileChooserSettings&);
107 106
108 FileChooserClient* m_client; 107 FileChooserClient* m_client;
109 FileChooserSettings m_settings; 108 FileChooserSettings m_settings;
110 }; 109 };
111 110
112 } // namespace blink 111 } // namespace blink
113 112
114 #endif // FileChooser_h 113 #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