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

Unified Diff: chrome/browser/resources/settings/device_page/display_layout.html

Issue 2097793004: MD Settings: Display: Implement dragging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_547080_display_settings7
Patch Set: Feedback Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/device_page/display_layout.html
diff --git a/chrome/browser/resources/settings/device_page/display_layout.html b/chrome/browser/resources/settings/device_page/display_layout.html
index 043e4554c9510383fa6b6010d208fcc1039581c7..06762e992953c30b591ccaf3096707df5b08fbc8 100644
--- a/chrome/browser/resources/settings/device_page/display_layout.html
+++ b/chrome/browser/resources/settings/device_page/display_layout.html
@@ -1,6 +1,7 @@
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-resizable-behavior/iron-resizable-behavior.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
+<link rel="import" href="/device_page/drag_behavior.html">
<link rel="import" href="/settings_shared_css.html">
<dom-module id="display-layout">
@@ -31,8 +32,8 @@
</style>
<div id="displayArea" on-iron-resize="calculateVisualScale_">
<template is="dom-repeat" items="[[displays]]">
- <div id="_[[item.id]]" class="display"
- style$="[[getDivStyle_(item, visualScale)]]"
+ <div id="_[[item.id]]" class="display" draggable="true"
+ style$="[[getDivStyle_(item.id, item.bounds, visualScale)]]"
selected$="[[isSelected_(item, selectedDisplay)]]"
on-tap="onSelectDisplayTap_">
[[item.name]]

Powered by Google App Engine
This is Rietveld 408576698