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

Unified Diff: content/renderer/renderer_clipboard_client.h

Issue 206133002: Remove FormatType usage from ClipboardHostMsg_IsFormatAvailable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win/Mac typo Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/renderer_clipboard_client.h
diff --git a/content/renderer/renderer_clipboard_client.h b/content/renderer/renderer_clipboard_client.h
index 96d05b2621a7c1f14714a27b02e667cb5442d2f7..f59de12cfa0d623f7b9b990829b503fc355fa512 100644
--- a/content/renderer/renderer_clipboard_client.h
+++ b/content/renderer/renderer_clipboard_client.h
@@ -18,7 +18,7 @@ class RendererClipboardClient : public ClipboardClient {
virtual ui::Clipboard* GetClipboard() OVERRIDE;
virtual uint64 GetSequenceNumber(ui::ClipboardType type) OVERRIDE;
- virtual bool IsFormatAvailable(const ui::Clipboard::FormatType& format,
+ virtual bool IsFormatAvailable(ClipboardFormat format,
ui::ClipboardType type) OVERRIDE;
virtual void Clear(ui::ClipboardType type) OVERRIDE;
virtual void ReadAvailableTypes(ui::ClipboardType type,
@@ -26,8 +26,6 @@ class RendererClipboardClient : public ClipboardClient {
bool* contains_filenames) OVERRIDE;
virtual void ReadText(ui::ClipboardType type,
base::string16* result) OVERRIDE;
- virtual void ReadAsciiText(ui::ClipboardType type,
- std::string* result) OVERRIDE;
virtual void ReadHTML(ui::ClipboardType type,
base::string16* markup,
GURL* url,

Powered by Google App Engine
This is Rietveld 408576698