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

Unified Diff: content/browser/renderer_host/clipboard_message_filter.h

Issue 206133002: Remove FormatType usage from ClipboardHostMsg_IsFormatAvailable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also rename kClipboardFormatLast 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
« no previous file with comments | « no previous file | content/browser/renderer_host/clipboard_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/clipboard_message_filter.h
diff --git a/content/browser/renderer_host/clipboard_message_filter.h b/content/browser/renderer_host/clipboard_message_filter.h
index dd2784be531bc5534eb0982c849e84b6d88137b7..2e086221009dfac72858cf0eb81e8e36b7fd6936 100644
--- a/content/browser/renderer_host/clipboard_message_filter.h
+++ b/content/browser/renderer_host/clipboard_message_filter.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "content/common/clipboard_format.h"
#include "content/public/browser/browser_message_filter.h"
#include "ui/base/clipboard/clipboard.h"
@@ -34,7 +35,7 @@ class ClipboardMessageFilter : public BrowserMessageFilter {
void OnGetSequenceNumber(const ui::ClipboardType type,
uint64* sequence_number);
- void OnIsFormatAvailable(const ui::Clipboard::FormatType& format,
+ void OnIsFormatAvailable(ClipboardFormat format,
ui::ClipboardType type,
bool* result);
void OnClear(ui::ClipboardType type);
@@ -42,7 +43,6 @@ class ClipboardMessageFilter : public BrowserMessageFilter {
std::vector<base::string16>* types,
bool* contains_filenames);
void OnReadText(ui::ClipboardType type, base::string16* result);
- void OnReadAsciiText(ui::ClipboardType type, std::string* result);
void OnReadHTML(ui::ClipboardType type,
base::string16* markup,
GURL* url,
« no previous file with comments | « no previous file | content/browser/renderer_host/clipboard_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698