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 ba7f1a504e15491b9a4e0bcd1ddef71778a0d6fb..ab799bd65cee9d33baed728ffd86df58dedc3ce1 100644 |
--- a/ui/base/clipboard/scoped_clipboard_writer.h |
+++ b/ui/base/clipboard/scoped_clipboard_writer.h |
@@ -14,7 +14,6 @@ |
#include <string> |
#include "base/strings/string16.h" |
-#include "third_party/skia/include/core/SkBitmap.h" |
#include "ui/base/clipboard/clipboard.h" |
#include "ui/base/ui_base_export.h" |
@@ -62,12 +61,10 @@ |
void WritePickledData(const Pickle& pickle, |
const Clipboard::FormatType& format); |
- void WriteImage(const SkBitmap& bitmap); |
- |
// Removes all objects that would be written to the clipboard. |
void Reset(); |
- private: |
+ protected: |
// Converts |text| to UTF-8 and adds it to the clipboard. If it's a URL, we |
// also notify the clipboard of that fact. |
void WriteTextOrURL(const base::string16& text, bool is_url); |
@@ -77,12 +74,11 @@ |
Clipboard::ObjectMap objects_; |
const ClipboardType type_; |
- SkBitmap bitmap_; |
- |
// We keep around the UTF-8 text of the URL in order to pass it to |
// Clipboard::DidWriteURL(). |
std::string url_text_; |
+ private: |
DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriter); |
}; |