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

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

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (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. 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_handle_impl.cc ('k') | webkit/tools/test_shell/run_all_tests.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/clipboard.h" 8 #include "base/clipboard.h"
9 #include "base/scoped_clipboard_writer.h" 9 #include "base/scoped_clipboard_writer.h"
10 10
11 class ScopedClipboardWriterGlue : public ScopedClipboardWriter { 11 class ScopedClipboardWriterGlue : public ScopedClipboardWriter {
12 public: 12 public:
13 ScopedClipboardWriterGlue(Clipboard* clipboard) 13 ScopedClipboardWriterGlue(Clipboard* clipboard)
14 : ScopedClipboardWriter(clipboard), 14 : ScopedClipboardWriter(clipboard),
15 shared_buf_(NULL) { 15 shared_buf_(NULL) {
16 } 16 }
17 17
18 ~ScopedClipboardWriterGlue(); 18 ~ScopedClipboardWriterGlue();
19 19
20 #if defined(OS_WIN) 20 #if defined(OS_WIN)
21 void ScopedClipboardWriterGlue::WriteBitmap(const SkBitmap& bitmap); 21 void ScopedClipboardWriterGlue::WriteBitmap(const SkBitmap& bitmap);
22 #endif 22 #endif
23 23
24 private: 24 private:
25 SharedMemory* shared_buf_; 25 base::SharedMemory* shared_buf_;
26 DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriterGlue); 26 DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriterGlue);
27 }; 27 };
28 28
29 #endif // SCOPED_CLIPBOARD_WRITER_GLUE_H__ 29 #endif // SCOPED_CLIPBOARD_WRITER_GLUE_H_
OLDNEW
« no previous file with comments | « webkit/glue/resource_handle_impl.cc ('k') | webkit/tools/test_shell/run_all_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698