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

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

Issue 8801038: Make Clipboard::FormatType an opaque handle type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years 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 | « ui/base/clipboard/clipboard_win.cc ('k') | ui/base/clipboard/scoped_clipboard_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/scoped_clipboard_writer.h
diff --git a/ui/base/clipboard/scoped_clipboard_writer.h b/ui/base/clipboard/scoped_clipboard_writer.h
index 3e224a2465a7ee2712f5ab5fd5e0699518f6aed9..08aaa3a21b9625fabeb5d4b2b24d71e31bbab200 100644
--- a/ui/base/clipboard/scoped_clipboard_writer.h
+++ b/ui/base/clipboard/scoped_clipboard_writer.h
@@ -60,7 +60,8 @@ class UI_EXPORT ScopedClipboardWriter {
void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size);
// Adds arbitrary data to clipboard.
- void WritePickledData(const Pickle& pickle, Clipboard::FormatType format);
+ void WritePickledData(const Pickle& pickle,
+ const Clipboard::FormatType& format);
protected:
// Converts |text| to UTF-8 and adds it to the clipboard. If it's a URL, we
« no previous file with comments | « ui/base/clipboard/clipboard_win.cc ('k') | ui/base/clipboard/scoped_clipboard_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698