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

Unified Diff: content/renderer/renderer_clipboard_client.cc

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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/renderer_clipboard_client.cc
===================================================================
--- content/renderer/renderer_clipboard_client.cc (revision 207553)
+++ content/renderer/renderer_clipboard_client.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// This file provides the embedder's side of random webkit glue functions.
+// This file provides the embedder's side of the Clipboard interface.
#include "content/renderer/renderer_clipboard_client.h"
@@ -11,16 +11,15 @@
#include "content/common/clipboard_messages.h"
#include "content/public/renderer/content_renderer_client.h"
#include "content/renderer/render_thread_impl.h"
+#include "content/renderer/scoped_clipboard_writer_glue.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/gfx/size.h"
-#include "webkit/glue/scoped_clipboard_writer_glue.h"
namespace content {
namespace {
-class RendererClipboardWriteContext :
- public webkit_glue::ClipboardClient::WriteContext {
+class RendererClipboardWriteContext : public ClipboardClient::WriteContext {
public:
RendererClipboardWriteContext();
virtual ~RendererClipboardWriteContext();
@@ -184,8 +183,7 @@
new ClipboardHostMsg_ReadData(format, data));
}
-webkit_glue::ClipboardClient::WriteContext*
-RendererClipboardClient::CreateWriteContext() {
+ClipboardClient::WriteContext* RendererClipboardClient::CreateWriteContext() {
return new RendererClipboardWriteContext;
}
« no previous file with comments | « content/renderer/renderer_clipboard_client.h ('k') | content/renderer/renderer_webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698