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

Unified Diff: third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.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/DateTimeFieldElement.h
diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.h b/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.h
index 286dc6fc04522527c001084589454700fdcdd466..5bbbe56063b02c2b153b967f84050d0d6d9532e0 100644
--- a/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.h
+++ b/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.h
@@ -28,6 +28,7 @@
#include "core/html/HTMLDivElement.h"
#include "core/html/HTMLSpanElement.h"
+#include "public/platform/WebFocusType.h"
namespace blink {
@@ -49,8 +50,8 @@ class DateTimeFieldElement : public HTMLSpanElement {
class FieldOwner : public GarbageCollectedMixin {
public:
virtual ~FieldOwner();
- virtual void DidBlurFromField() = 0;
- virtual void DidFocusOnField() = 0;
+ virtual void DidBlurFromField(WebFocusType) = 0;
+ virtual void DidFocusOnField(WebFocusType) = 0;
virtual void FieldValueChanged() = 0;
virtual bool FocusOnNextField(const DateTimeFieldElement&) = 0;
virtual bool FocusOnPreviousField(const DateTimeFieldElement&) = 0;
@@ -94,7 +95,7 @@ class DateTimeFieldElement : public HTMLSpanElement {
virtual int ValueForARIAValueNow() const;
// Node functions.
- void SetFocused(bool) override;
+ void SetFocused(bool, WebFocusType) override;
private:
void DefaultKeyboardEventHandler(KeyboardEvent*);

Powered by Google App Engine
This is Rietveld 408576698