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

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

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge and compilation fixes Created 7 years, 10 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 | « 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 576922bdf2c80ea515ed0cc8b67617326d34de3e..04f09d35378c0429d7eb7994888afb89b36b33e6 100644
--- a/ui/base/clipboard/scoped_clipboard_writer.h
+++ b/ui/base/clipboard/scoped_clipboard_writer.h
@@ -30,6 +30,10 @@ class UI_EXPORT ScopedClipboardWriter {
// Create an instance that is a simple wrapper around clipboard.
ScopedClipboardWriter(Clipboard* clipboard, Clipboard::Buffer buffer);
+ ScopedClipboardWriter(Clipboard* clipboard,
+ Clipboard::Buffer buffer,
+ Clipboard::SourceTag source_tag);
+
~ScopedClipboardWriter();
// Converts |text| to UTF-8 and adds it to the clipboard.
@@ -78,6 +82,7 @@ class UI_EXPORT ScopedClipboardWriter {
Clipboard::ObjectMap objects_;
Clipboard* clipboard_;
Clipboard::Buffer buffer_;
+ Clipboard::SourceTag source_tag_;
// We keep around the UTF-8 text of the URL in order to pass it to
// Clipboard::DidWriteURL().
« 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