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

Side by Side Diff: webkit/glue/scoped_clipboard_writer_glue.h

Issue 8463015: Revert 109622 - Export symbols from content.dll that are depended upon by chrome.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SCOPED_CLIPBOARD_WRITER_GLUE_H_ 5 #ifndef SCOPED_CLIPBOARD_WRITER_GLUE_H_
6 #define SCOPED_CLIPBOARD_WRITER_GLUE_H_ 6 #define SCOPED_CLIPBOARD_WRITER_GLUE_H_
7 7
8 #include "ui/base/clipboard/scoped_clipboard_writer.h" 8 #include "ui/base/clipboard/scoped_clipboard_writer.h"
9 #include "content/common/content_export.h"
10 9
11 class SkBitmap; 10 class SkBitmap;
12 11
13 namespace base { 12 namespace base {
14 class SharedMemory; 13 class SharedMemory;
15 } 14 }
16 15
17 class CONTENT_EXPORT ScopedClipboardWriterGlue 16 class ScopedClipboardWriterGlue : public ui::ScopedClipboardWriter {
18 : public ui::ScopedClipboardWriter {
19 public: 17 public:
20 ScopedClipboardWriterGlue(ui::Clipboard* clipboard) 18 ScopedClipboardWriterGlue(ui::Clipboard* clipboard)
21 : ui::ScopedClipboardWriter(clipboard), 19 : ui::ScopedClipboardWriter(clipboard),
22 shared_buf_(NULL) { 20 shared_buf_(NULL) {
23 } 21 }
24 22
25 ~ScopedClipboardWriterGlue(); 23 ~ScopedClipboardWriterGlue();
26 24
27 void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size); 25 void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size);
28 26
29 private: 27 private:
30 base::SharedMemory* shared_buf_; 28 base::SharedMemory* shared_buf_;
31 DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriterGlue); 29 DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriterGlue);
32 }; 30 };
33 31
34 #endif // SCOPED_CLIPBOARD_WRITER_GLUE_H_ 32 #endif // SCOPED_CLIPBOARD_WRITER_GLUE_H_
OLDNEW
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698