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

Side by Side Diff: content/renderer/scoped_clipboard_writer_glue.h

Issue 17420005: Move the following clipboard files from webkit\glue to webkit\renderer. These files now live in the… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 WEBKIT_GLUE_SCOPED_CLIPBOARD_WRITER_GLUE_H_ 5 #ifndef CONTENT_RENDERER_SCOPED_CLIPBOARD_WRITER_GLUE_H_
6 #define WEBKIT_GLUE_SCOPED_CLIPBOARD_WRITER_GLUE_H_ 6 #define CONTENT_RENDERER_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 "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "webkit/glue/clipboard_client.h" 10 #include "content/renderer/clipboard_client.h"
11 #include "webkit/glue/webkit_glue_export.h"
12 11
13 namespace webkit_glue { 12 namespace content {
14 13
15 class WEBKIT_GLUE_EXPORT ScopedClipboardWriterGlue 14 class ScopedClipboardWriterGlue
16 : public ui::ScopedClipboardWriter { 15 : public ui::ScopedClipboardWriter {
17 public: 16 public:
18 explicit ScopedClipboardWriterGlue(webkit_glue::ClipboardClient* client); 17 explicit ScopedClipboardWriterGlue(ClipboardClient* client);
19 18
20 virtual ~ScopedClipboardWriterGlue(); 19 virtual ~ScopedClipboardWriterGlue();
21 20
22 void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size); 21 void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size);
23 22
24 private: 23 private:
25 scoped_ptr<webkit_glue::ClipboardClient::WriteContext> context_; 24 scoped_ptr<ClipboardClient::WriteContext> context_;
26 DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriterGlue); 25 DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriterGlue);
27 }; 26 };
28 27
29 } // namespace webkit_glue 28 } // namespace content
30
31 #endif // WEBKIT_GLUE_SCOPED_CLIPBOARD_WRITER_GLUE_H_ 29 #endif // WEBKIT_GLUE_SCOPED_CLIPBOARD_WRITER_GLUE_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/renderer/scoped_clipboard_writer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698