| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "ui/base/clipboard/clipboard.h" | 5 #include "ui/base/clipboard/clipboard.h" |
| 6 | 6 |
| 7 #include <X11/extensions/Xfixes.h> | 7 #include <X11/extensions/Xfixes.h> |
| 8 #include <X11/Xatom.h> | 8 #include <X11/Xatom.h> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/singleton.h" | 16 #include "base/memory/singleton.h" |
| 17 #include "base/message_loop/message_pump_aurax11.h" | 17 #include "base/message_pump_aurax11.h" |
| 18 #include "base/message_loop/message_pump_observer.h" | 18 #include "base/message_pump_observer.h" |
| 19 #include "base/stl_util.h" | 19 #include "base/stl_util.h" |
| 20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
| 21 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
| 22 #include "ui/base/clipboard/custom_data_helper.h" | 22 #include "ui/base/clipboard/custom_data_helper.h" |
| 23 #include "ui/base/x/selection_owner.h" | 23 #include "ui/base/x/selection_owner.h" |
| 24 #include "ui/base/x/selection_requestor.h" | 24 #include "ui/base/x/selection_requestor.h" |
| 25 #include "ui/base/x/selection_utils.h" | 25 #include "ui/base/x/selection_utils.h" |
| 26 #include "ui/base/x/x11_atom_cache.h" | 26 #include "ui/base/x/x11_atom_cache.h" |
| 27 #include "ui/base/x/x11_util.h" | 27 #include "ui/base/x/x11_util.h" |
| 28 | 28 |
| (...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 848 return type; | 848 return type; |
| 849 } | 849 } |
| 850 | 850 |
| 851 // static | 851 // static |
| 852 const Clipboard::FormatType& Clipboard::GetPepperCustomDataFormatType() { | 852 const Clipboard::FormatType& Clipboard::GetPepperCustomDataFormatType() { |
| 853 CR_DEFINE_STATIC_LOCAL(FormatType, type, (kMimeTypePepperCustomData)); | 853 CR_DEFINE_STATIC_LOCAL(FormatType, type, (kMimeTypePepperCustomData)); |
| 854 return type; | 854 return type; |
| 855 } | 855 } |
| 856 | 856 |
| 857 } // namespace ui | 857 } // namespace ui |
| OLD | NEW |