| OLD | NEW | 
|    1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2011 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 "ui/base/clipboard/clipboard.h" |    8 #include "ui/base/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/file_path.h" |   13 #include "base/file_path.h" | 
|   14 #include "base/logging.h" |   14 #include "base/logging.h" | 
|   15 #include "base/message_loop.h" |   15 #include "base/message_loop.h" | 
|   16 #include "base/shared_memory.h" |   16 #include "base/shared_memory.h" | 
|   17 #include "base/stl_util-inl.h" |   17 #include "base/stl_util.h" | 
|   18 #include "base/string_util.h" |   18 #include "base/string_util.h" | 
|   19 #include "base/string_number_conversions.h" |   19 #include "base/string_number_conversions.h" | 
|   20 #include "base/utf_string_conversions.h" |   20 #include "base/utf_string_conversions.h" | 
|   21 #include "base/win/scoped_gdi_object.h" |   21 #include "base/win/scoped_gdi_object.h" | 
|   22 #include "base/win/scoped_hdc.h" |   22 #include "base/win/scoped_hdc.h" | 
|   23 #include "base/win/wrapped_window_proc.h" |   23 #include "base/win/wrapped_window_proc.h" | 
|   24 #include "third_party/skia/include/core/SkBitmap.h" |   24 #include "third_party/skia/include/core/SkBitmap.h" | 
|   25 #include "ui/base/clipboard/clipboard_util_win.h" |   25 #include "ui/base/clipboard/clipboard_util_win.h" | 
|   26 #include "ui/gfx/canvas_skia.h" |   26 #include "ui/gfx/canvas_skia.h" | 
|   27 #include "ui/gfx/size.h" |   27 #include "ui/gfx/size.h" | 
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  659     clipboard_owner_ = ::CreateWindow(L"ClipboardOwnerWindowClass", |  659     clipboard_owner_ = ::CreateWindow(L"ClipboardOwnerWindowClass", | 
|  660                                       L"ClipboardOwnerWindow", |  660                                       L"ClipboardOwnerWindow", | 
|  661                                       0, 0, 0, 0, 0, |  661                                       0, 0, 0, 0, 0, | 
|  662                                       HWND_MESSAGE, |  662                                       HWND_MESSAGE, | 
|  663                                       0, 0, 0); |  663                                       0, 0, 0); | 
|  664   } |  664   } | 
|  665   return clipboard_owner_; |  665   return clipboard_owner_; | 
|  666 } |  666 } | 
|  667  |  667  | 
|  668 }  // namespace ui |  668 }  // namespace ui | 
| OLD | NEW |