Commit 5e349bbb authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Remove LayoutFileUploadControl::PositionForPoint().

The function was added in crrev.com/fa5be439.
File upload controls are still non-selectable after this change.

Bug: 1040828
Change-Id: Ibb25b67a319ee21163df592b124b406dba96ebe3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2002269Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732287}
parent 978a4668
......@@ -23,7 +23,6 @@
#include <math.h>
#include "third_party/blink/public/strings/grit/blink_strings.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/editing/position_with_affinity.h"
#include "third_party/blink/renderer/core/fileapi/file_list.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/input_type_names.h"
......@@ -144,11 +143,6 @@ void LayoutFileUploadControl::ComputePreferredLogicalWidths() {
ClearPreferredLogicalWidthsDirty();
}
PositionWithAffinity LayoutFileUploadControl::PositionForPoint(
const PhysicalOffset&) const {
return PositionWithAffinity();
}
HTMLInputElement* LayoutFileUploadControl::UploadButton() const {
return To<HTMLInputElement>(GetNode())->UploadButton();
}
......
......@@ -71,8 +71,6 @@ class CORE_EXPORT LayoutFileUploadControl final : public LayoutBlockFlow {
const PhysicalOffset& paint_offset) const override;
int MaxFilenameWidth() const;
PositionWithAffinity PositionForPoint(const PhysicalOffset&) const override;
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFileUploadControl, IsFileUploadControl());
......
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