| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index a48c5ac62dfd1132fd53c4f591b29f5a5215a523..3c5af8f9059ad114b1be683282f60f0b2a1ffec7 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -105,6 +105,7 @@
|
| #include "core/page/Chrome.h"
|
| #include "core/page/ChromeClient.h"
|
| #include "core/page/EventHandler.h"
|
| +#include "core/page/FocusController.h"
|
| #include "core/page/Page.h"
|
| #include "core/page/PagePopupController.h"
|
| #include "core/page/PrintContext.h"
|
| @@ -2334,4 +2335,9 @@ String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long ma
|
| return surroundingText.content();
|
| }
|
|
|
| +void Internals::setFocused(bool focused)
|
| +{
|
| + frame()->page()->focusController().setFocused(focused);
|
| +}
|
| +
|
| }
|
|
|