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

Unified Diff: third_party/WebKit/Source/core/dom/ContainerNode.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/dom/ContainerNode.h
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.h b/third_party/WebKit/Source/core/dom/ContainerNode.h
index e91ca9b92d2f0dc9307dec909434be606825eb9c..f31523156850ea375a6585f57e5179ff83f410d8 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.h
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.h
@@ -30,6 +30,7 @@
#include "core/CoreExport.h"
#include "core/dom/Node.h"
#include "core/html/CollectionType.h"
+#include "public/platform/WebFocusType.h"
#include "wtf/Vector.h"
namespace blink {
@@ -136,7 +137,7 @@ class CORE_EXPORT ContainerNode : public Node {
void AttachLayoutTree(const AttachContext& = AttachContext()) override;
void DetachLayoutTree(const AttachContext& = AttachContext()) override;
LayoutRect BoundingBox() const final;
- void SetFocused(bool) override;
+ void SetFocused(bool, WebFocusType) override;
void FocusStateChanged();
void SetActive(bool = true) override;
void SetDragged(bool) override;

Powered by Google App Engine
This is Rietveld 408576698