diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-04 18:16:44 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-04 18:16:44 +0000 |
commit | 36780a15c5a9d7d7d1fa34f982a71d6072415e4a (patch) | |
tree | 167309420331862eb9b105d9a927e0ef0da90658 /content/browser/clipboard_dispatcher.h | |
parent | 0c52d8f310ef416feeb0ef79533b2d76ac19d972 (diff) | |
download | chromium_src-36780a15c5a9d7d7d1fa34f982a71d6072415e4a.zip chromium_src-36780a15c5a9d7d7d1fa34f982a71d6072415e4a.tar.gz chromium_src-36780a15c5a9d7d7d1fa34f982a71d6072415e4a.tar.bz2 |
Remove unused clipboard methods.
BUG=none
TEST=chrome, test_shell, and DumpRenderTree all still compile.
Review URL: http://codereview.chromium.org/8446011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/clipboard_dispatcher.h')
-rw-r--r-- | content/browser/clipboard_dispatcher.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/content/browser/clipboard_dispatcher.h b/content/browser/clipboard_dispatcher.h deleted file mode 100644 index 7b62d0c..0000000 --- a/content/browser/clipboard_dispatcher.h +++ /dev/null @@ -1,41 +0,0 @@ -// 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. - -#ifndef CONTENT_BROWSER_CLIPBOARD_DISPATCHER_H_ -#define CONTENT_BROWSER_CLIPBOARD_DISPATCHER_H_ -#pragma once - -#include <vector> - -#include "base/basictypes.h" -#include "base/string16.h" -#include "ui/base/clipboard/clipboard.h" - -// This class backs IPC requests from the renderer for clipboard data. In this -// context, clipboard does not only refer to the usual concept of a clipboard -// for copy/paste, which is why it's not in app/clipboard/clipboard.h. It can -// refer to one of three different types of clipboards: -// - The copy/paste clipboard, which contains data that has been copied/cut. -// - The dragging clipboard, which contains data that is currently being -// dragged. -// - On X, the selection clipboard, which contains data for the current -// selection. -class ClipboardDispatcher { - public: - static bool ReadAvailableTypes(ui::Clipboard::Buffer buffer, - std::vector<string16>* types, - bool* contains_filenames); - static bool ReadData(ui::Clipboard::Buffer buffer, const string16& type, - string16* data, string16* metadata); - static bool ReadFilenames(ui::Clipboard::Buffer buffer, - std::vector<string16>* filenames); - - private: - // This class is not meant to be instantiated. All public members are static. - ClipboardDispatcher(); - - DISALLOW_COPY_AND_ASSIGN(ClipboardDispatcher); -}; - -#endif // CONTENT_BROWSER_CLIPBOARD_DISPATCHER_H_ |