Commit 888df99c authored by Dmitry Gozman's avatar Dmitry Gozman Committed by Commit Bot

Move paste_mode to core/clipboard

It does logically belong there, not to random place
in platform.

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: If16882ae3a91b6410c81a02427f332b7373f5b0c
Reviewed-on: https://chromium-review.googlesource.com/1157074Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580080}
parent a6c1752f
......@@ -23,6 +23,7 @@ blink_core_sources("clipboard") {
"data_transfer_item_list.h",
"dragged_isolated_file_system.cc",
"dragged_isolated_file_system.h",
"paste_mode.h",
"system_clipboard.cc",
"system_clipboard.h",
]
......
......@@ -35,9 +35,9 @@
#include "third_party/blink/renderer/core/clipboard/clipboard_mime_types.h"
#include "third_party/blink/renderer/core/clipboard/clipboard_utilities.h"
#include "third_party/blink/renderer/core/clipboard/dragged_isolated_file_system.h"
#include "third_party/blink/renderer/core/clipboard/paste_mode.h"
#include "third_party/blink/renderer/core/clipboard/system_clipboard.h"
#include "third_party/blink/renderer/platform/file_metadata.h"
#include "third_party/blink/renderer/platform/paste_mode.h"
#include "third_party/blink/renderer/platform/wtf/hash_set.h"
namespace blink {
......
......@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_PASTE_MODE_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_PASTE_MODE_H_
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_CLIPBOARD_PASTE_MODE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_CLIPBOARD_PASTE_MODE_H_
namespace blink {
......@@ -40,4 +40,4 @@ enum class PasteMode {
} // namespace blink
#endif
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_CLIPBOARD_PASTE_MODE_H_
......@@ -32,6 +32,7 @@
#include "third_party/blink/renderer/core/editing/commands/clipboard_commands.h"
#include "third_party/blink/renderer/core/clipboard/data_transfer_access_policy.h"
#include "third_party/blink/renderer/core/clipboard/paste_mode.h"
#include "third_party/blink/renderer/core/clipboard/system_clipboard.h"
#include "third_party/blink/renderer/core/editing/commands/editing_commands_utilities.h"
#include "third_party/blink/renderer/core/editing/editing_behavior.h"
......@@ -47,7 +48,6 @@
#include "third_party/blink/renderer/core/html/forms/text_control_element.h"
#include "third_party/blink/renderer/core/html/html_image_element.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_fetcher.h"
#include "third_party/blink/renderer/platform/paste_mode.h"
namespace blink {
......
......@@ -1219,7 +1219,6 @@ jumbo_component("platform") {
"mojo/string16_mojom_traits.h",
"partition_alloc_memory_dump_provider.cc",
"partition_alloc_memory_dump_provider.h",
"paste_mode.h",
"peerconnection/rtc_answer_options_platform.h",
"peerconnection/rtc_offer_options_platform.h",
"peerconnection/rtc_session_description_request.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment