diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-10 21:08:21 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-10 21:08:21 +0000 |
commit | 2dfeaf9c751b9ff269ca8bcd8f9e4902a0c9012c (patch) | |
tree | 86e7ab4c054af5723245dc0bdead5c08a308a466 /chrome_frame/test | |
parent | 6f1d18ebd4dd4315b02197c4593ad905a9049f8b (diff) | |
download | chromium_src-2dfeaf9c751b9ff269ca8bcd8f9e4902a0c9012c.zip chromium_src-2dfeaf9c751b9ff269ca8bcd8f9e4902a0c9012c.tar.gz chromium_src-2dfeaf9c751b9ff269ca8bcd8f9e4902a0c9012c.tar.bz2 |
Move clipboard from app/ to ui/base
BUG=none
TEST=none
TBR=brettw
Review URL: http://codereview.chromium.org/6135006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/chrome_frame_test_utils.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc index 51a9025..dec04d6 100644 --- a/chrome_frame/test/chrome_frame_test_utils.cc +++ b/chrome_frame/test/chrome_frame_test_utils.cc @@ -9,8 +9,6 @@ #include <iepmapi.h> #include <sddl.h> -#include "app/clipboard/clipboard.h" -#include "app/clipboard/scoped_clipboard_writer.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/file_version_info.h" @@ -29,6 +27,8 @@ #include "chrome/common/chrome_paths_internal.h" #include "chrome_frame/utils.h" #include "testing/gtest/include/gtest/gtest.h" +#include "ui/base/clipboard/clipboard.h" +#include "ui/base/clipboard/scoped_clipboard_writer.h" namespace chrome_frame_test { @@ -489,16 +489,16 @@ std::wstring GetPathAndQueryFromUrl(const std::wstring& url) { } std::wstring GetClipboardText() { - Clipboard clipboard; + ui::Clipboard clipboard; string16 text16; - clipboard.ReadText(Clipboard::BUFFER_STANDARD, &text16); + clipboard.ReadText(ui::Clipboard::BUFFER_STANDARD, &text16); return UTF16ToWide(text16); } void SetClipboardText(const std::wstring& text) { - Clipboard clipboard; + ui::Clipboard clipboard; { - ScopedClipboardWriter clipboard_writer(&clipboard); + ui::ScopedClipboardWriter clipboard_writer(&clipboard); clipboard_writer.WriteText(WideToUTF16(text)); } } |