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

Unified Diff: ui/base/clipboard/clipboard.h

Issue 11792002: Whenever we set plain text on the standard clipboard, also set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/base/clipboard/clipboard_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/clipboard.h
diff --git a/ui/base/clipboard/clipboard.h b/ui/base/clipboard/clipboard.h
index 16e0275001fdfbdc041bbbced340a0984fd68f2c..94d78712f26c6c6e629b33513e43ffd1831224d1 100644
--- a/ui/base/clipboard/clipboard.h
+++ b/ui/base/clipboard/clipboard.h
@@ -213,16 +213,6 @@ class UI_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) {
// kept until the system clipboard is set again.
void WriteObjects(Buffer buffer, const ObjectMap& objects);
- // On Linux/BSD, we need to know when the clipboard is set to a URL. Most
- // platforms don't care.
-#if defined(OS_WIN) || defined(OS_MACOSX) \
- || (defined(USE_AURA) && defined(OS_CHROMEOS)) \
- || defined(OS_ANDROID)
- void DidWriteURL(const std::string& utf8_text) {}
-#else
- void DidWriteURL(const std::string& utf8_text);
-#endif
-
// Returns a sequence number which uniquely identifies clipboard state.
// This can be used to version the data on the clipboard and determine
// whether it has changed.
« no previous file with comments | « no previous file | ui/base/clipboard/clipboard_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698