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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutSliderItem.h

Issue 2709393004: Media Controls: Fix time updates when dragging from track not scrubber (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutSlider.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/api/LayoutSliderItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutSliderItem.h b/third_party/WebKit/Source/core/layout/api/LayoutSliderItem.h
deleted file mode 100644
index e795a0d760352e64381a79ae78ae0d59fdd36cd1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/layout/api/LayoutSliderItem.h
+++ /dev/null
@@ -1,39 +0,0 @@
-
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef LayoutSliderItem_h
-#define LayoutSliderItem_h
-
-#include "core/layout/LayoutSlider.h"
-#include "core/layout/api/LayoutBlockItem.h"
-
-namespace blink {
-
-class LayoutSliderItem : public LayoutBlockItem {
- public:
- explicit LayoutSliderItem(LayoutSlider* layoutSlider)
- : LayoutBlockItem(layoutSlider) {}
-
- explicit LayoutSliderItem(const LayoutBlockItem& item)
- : LayoutBlockItem(item) {
- SECURITY_DCHECK(!item || item.isSlider());
- }
-
- explicit LayoutSliderItem(std::nullptr_t) : LayoutBlockItem(nullptr) {}
-
- LayoutSliderItem() {}
-
- bool inDragMode() const { return toSlider()->inDragMode(); }
-
- private:
- LayoutSlider* toSlider() { return toLayoutSlider(layoutObject()); }
- const LayoutSlider* toSlider() const {
- return toLayoutSlider(layoutObject());
- }
-};
-
-} // namespace blink
-
-#endif // LayoutSliderItem_h
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutSlider.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698