summaryrefslogtreecommitdiffstats
path: root/content/browser/clipboard_dispatcher_gtk.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 15:48:12 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 15:48:12 +0000
commit763ec4ca15b4a013b0317b6d83605a265a23de88 (patch)
tree5b7adfd13a5900845f60defed544be0e1a2c1069 /content/browser/clipboard_dispatcher_gtk.cc
parent3bf507190c888faded38122a5f138347bdd6e617 (diff)
downloadchromium_src-763ec4ca15b4a013b0317b6d83605a265a23de88.zip
chromium_src-763ec4ca15b4a013b0317b6d83605a265a23de88.tar.gz
chromium_src-763ec4ca15b4a013b0317b6d83605a265a23de88.tar.bz2
Pick off the lowest hanging fruits in removing the chrome includes from content\browser. I moved clipboard_dispatcher.* and content_restriction.h which should have moved originally.
Review URL: http://codereview.chromium.org/6893122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/clipboard_dispatcher_gtk.cc')
-rw-r--r--content/browser/clipboard_dispatcher_gtk.cc33
1 files changed, 33 insertions, 0 deletions
diff --git a/content/browser/clipboard_dispatcher_gtk.cc b/content/browser/clipboard_dispatcher_gtk.cc
new file mode 100644
index 0000000..88b57fe
--- /dev/null
+++ b/content/browser/clipboard_dispatcher_gtk.cc
@@ -0,0 +1,33 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/browser/clipboard_dispatcher.h"
+
+#include "base/logging.h"
+
+bool ClipboardDispatcher::ReadAvailableTypes(ui::Clipboard::Buffer buffer,
+ std::vector<string16>* types,
+ bool* contains_filenames) {
+ DCHECK(types);
+ DCHECK(contains_filenames);
+ types->clear();
+ *contains_filenames = false;
+ return false;
+}
+
+bool ClipboardDispatcher::ReadData(ui::Clipboard::Buffer buffer,
+ const string16& type,
+ string16* data,
+ string16* metadata) {
+ DCHECK(data);
+ DCHECK(metadata);
+ return false;
+}
+
+bool ClipboardDispatcher::ReadFilenames(ui::Clipboard::Buffer buffer,
+ std::vector<string16>* filenames) {
+ DCHECK(filenames);
+ filenames->clear();
+ return false;
+}