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

Side by Side Diff: webkit/glue/webkit_glue.h

Issue 27370: Update clipboard classes to use string16 and FilePath instead of wstring.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webclipboard_impl.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBKIT_GLUE_H_ 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 // Glue to access the clipboard. 181 // Glue to access the clipboard.
182 182
183 // Get a clipboard that can be used to construct a ScopedClipboardWriterGlue. 183 // Get a clipboard that can be used to construct a ScopedClipboardWriterGlue.
184 Clipboard* ClipboardGetClipboard(); 184 Clipboard* ClipboardGetClipboard();
185 185
186 // Tests whether the clipboard contains a certain format 186 // Tests whether the clipboard contains a certain format
187 bool ClipboardIsFormatAvailable(Clipboard::FormatType format); 187 bool ClipboardIsFormatAvailable(Clipboard::FormatType format);
188 188
189 // Reads UNICODE text from the clipboard, if available. 189 // Reads UNICODE text from the clipboard, if available.
190 void ClipboardReadText(std::wstring* result); 190 void ClipboardReadText(string16* result);
191 191
192 // Reads ASCII text from the clipboard, if available. 192 // Reads ASCII text from the clipboard, if available.
193 void ClipboardReadAsciiText(std::string* result); 193 void ClipboardReadAsciiText(std::string* result);
194 194
195 // Reads HTML from the clipboard, if available. 195 // Reads HTML from the clipboard, if available.
196 void ClipboardReadHTML(std::wstring* markup, GURL* url); 196 void ClipboardReadHTML(string16* markup, GURL* url);
197 197
198 // Gets the directory where the application data and libraries exist. This 198 // Gets the directory where the application data and libraries exist. This
199 // may be a versioned subdirectory, or it may be the same directory as the 199 // may be a versioned subdirectory, or it may be the same directory as the
200 // GetExeDirectory(), depending on the embedder's implementation. 200 // GetExeDirectory(), depending on the embedder's implementation.
201 // Path is an output parameter to receive the path. 201 // Path is an output parameter to receive the path.
202 // Returns true if successful, false otherwise. 202 // Returns true if successful, false otherwise.
203 bool GetApplicationDirectory(std::wstring* path); 203 bool GetApplicationDirectory(std::wstring* path);
204 204
205 // Gets the URL where the inspector's HTML file resides. It must use the 205 // Gets the URL where the inspector's HTML file resides. It must use the
206 // protocol returned by GetUIResourceProtocol. 206 // protocol returned by GetUIResourceProtocol.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // Returns whether the given link hash is in the user's history. The hash must 256 // Returns whether the given link hash is in the user's history. The hash must
257 // have been generated by calling VisitedLinkHash(). 257 // have been generated by calling VisitedLinkHash().
258 bool IsLinkVisited(uint64 link_hash); 258 bool IsLinkVisited(uint64 link_hash);
259 259
260 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- 260 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER ---------------------------------
261 261
262 262
263 } // namespace webkit_glue 263 } // namespace webkit_glue
264 264
265 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 265 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webclipboard_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698