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

Side by Side Diff: app/clipboard/clipboard_win.cc

Issue 260003: Move the clipboard stuff out of base and into app/clipboard. I renamed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « app/clipboard/clipboard_util_win.cc ('k') | app/clipboard/scoped_clipboard_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Many of these functions are based on those found in 5 // Many of these functions are based on those found in
6 // webkit/port/platform/PasteboardWin.cpp 6 // webkit/port/platform/PasteboardWin.cpp
7 7
8 #include "base/clipboard.h" 8 #include "app/clipboard/clipboard.h"
9 9
10 #include <shlobj.h> 10 #include <shlobj.h>
11 #include <shellapi.h> 11 #include <shellapi.h>
12 12
13 #include "base/clipboard_util.h" 13 #include "app/clipboard/clipboard_util_win.h"
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/gfx/size.h" 15 #include "base/gfx/size.h"
16 #include "base/lock.h" 16 #include "base/lock.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/message_loop.h" 18 #include "base/message_loop.h"
19 #include "base/shared_memory.h" 19 #include "base/shared_memory.h"
20 #include "base/string_util.h" 20 #include "base/string_util.h"
21 21
22 namespace { 22 namespace {
23 23
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 HWND Clipboard::GetClipboardWindow() const { 677 HWND Clipboard::GetClipboardWindow() const {
678 if (!clipboard_owner_ && create_window_) { 678 if (!clipboard_owner_ && create_window_) {
679 clipboard_owner_ = ::CreateWindow(L"ClipboardOwnerWindowClass", 679 clipboard_owner_ = ::CreateWindow(L"ClipboardOwnerWindowClass",
680 L"ClipboardOwnerWindow", 680 L"ClipboardOwnerWindow",
681 0, 0, 0, 0, 0, 681 0, 0, 0, 0, 0,
682 HWND_MESSAGE, 682 HWND_MESSAGE,
683 0, 0, 0); 683 0, 0, 0);
684 } 684 }
685 return clipboard_owner_; 685 return clipboard_owner_;
686 } 686 }
OLDNEW
« no previous file with comments | « app/clipboard/clipboard_util_win.cc ('k') | app/clipboard/scoped_clipboard_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698