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

Unified Diff: content/common/clipboard_format.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 | « content/browser/renderer_host/clipboard_message_filter.cc ('k') | content/common/clipboard_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/clipboard_format.h
diff --git a/content/common/clipboard_format.h b/content/common/clipboard_format.h
new file mode 100644
index 0000000000000000000000000000000000000000..debb0c0370660668911438abd6ee90e142340fd1
--- /dev/null
+++ b/content/common/clipboard_format.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_CLIPBOARD_FORMAT_H_
+#define CONTENT_COMMON_CLIPBOARD_FORMAT_H_
+
+namespace content {
+
+enum ClipboardFormat {
+ CLIPBOARD_FORMAT_PLAINTEXT,
+ CLIPBOARD_FORMAT_HTML,
+ CLIPBOARD_FORMAT_SMART_PASTE,
+ CLIPBOARD_FORMAT_BOOKMARK,
+ CLIPBOARD_FORMAT_LAST = CLIPBOARD_FORMAT_BOOKMARK,
+};
+
+} // namespace
+
+#endif // CONTENT_COMMON_CLIPBOARD_FORMAT_H_
« no previous file with comments | « content/browser/renderer_host/clipboard_message_filter.cc ('k') | content/common/clipboard_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698