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

Unified Diff: third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.h

Issue 2810593002: Set plugin focus by implementing HTMLPlugInElement::SetFocused. (Closed)
Patch Set: fix comments Created 3 years, 8 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: third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.h
diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.h b/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.h
index 14ad3ee3f796c3548d08cadb4d16d5029be75c7e..6231609f9b9bc08f3b71ac3032dd27981c73696a 100644
--- a/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.h
+++ b/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.h
@@ -29,6 +29,7 @@
#include "core/html/forms/StepRange.h"
#include "core/html/shadow/DateTimeFieldElement.h"
#include "platform/DateComponents.h"
+#include "public/platform/WebFocusType.h"
#include "wtf/Allocator.h"
namespace blink {
@@ -52,8 +53,8 @@ class DateTimeEditElement final : public HTMLDivElement,
class EditControlOwner : public GarbageCollectedMixin {
public:
virtual ~EditControlOwner();
- virtual void DidBlurFromControl() = 0;
- virtual void DidFocusOnControl() = 0;
+ virtual void DidBlurFromControl(WebFocusType) = 0;
+ virtual void DidFocusOnControl(WebFocusType) = 0;
virtual void EditControlValueChanged() = 0;
virtual String FormatDateTimeFieldsState(
const DateTimeFieldsState&) const = 0;
@@ -139,8 +140,8 @@ class DateTimeEditElement final : public HTMLDivElement,
bool IsDateTimeEditElement() const override;
// DateTimeFieldElement::FieldOwner functions.
- void DidBlurFromField() override;
- void DidFocusOnField() override;
+ void DidBlurFromField(WebFocusType) override;
+ void DidFocusOnField(WebFocusType) override;
void FieldValueChanged() override;
bool FocusOnNextField(const DateTimeFieldElement&) override;
bool FocusOnPreviousField(const DateTimeFieldElement&) override;

Powered by Google App Engine
This is Rietveld 408576698