Chromium Code Reviews

Unified Diff: chrome/common/clipboard_service.h

Issue 9154: Rewrote the clipboard API to be more concurrent. Added a helper class to make... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/resource_message_filter.cc ('k') | chrome/common/clipboard_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/clipboard_service.h
===================================================================
--- chrome/common/clipboard_service.h (revision 4189)
+++ chrome/common/clipboard_service.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_CLIPBOARD_SERIVCE_H__
-#define CHROME_COMMON_CLIPBOARD_SERIVCE_H__
+#ifndef CHROME_COMMON_CLIPBOARD_SERVICE_H__
+#define CHROME_COMMON_CLIPBOARD_SERVICE_H__
#include <string>
#include <vector>
@@ -14,17 +14,11 @@
class ClipboardService : public Clipboard {
public:
- ClipboardService();
+ ClipboardService() {}
- // Adds a bitmap to the clipboard
- // This is the slowest way to copy a bitmap to the clipboard as we must fist
- // memcpy the bits into GDI and the blit the bitmap to the clipboard.
- void WriteBitmap(const SkBitmap& bitmap);
-
private:
DISALLOW_EVIL_CONSTRUCTORS(ClipboardService);
};
-#endif // CHROME_COMMON_CLIPBOARD_SERIVCE_H__
-
+#endif // CHROME_COMMON_CLIPBOARD_SERVICE_H__
« no previous file with comments | « chrome/browser/resource_message_filter.cc ('k') | chrome/common/clipboard_service.cc » ('j') | no next file with comments »

Powered by Google App Engine