Index: public/web/WebPlugin.h |
diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h |
index 492795bd9c21faeb2eb5ea174f8614cb4b399935..050e76119432d3df2a9e709eb51dea9a186a0b70 100644 |
--- a/public/web/WebPlugin.h |
+++ b/public/web/WebPlugin.h |
@@ -33,6 +33,7 @@ |
#define WebPlugin_h |
#include "../platform/WebCanvas.h" |
+#include "../platform/WebFocusType.h" |
#include "../platform/WebString.h" |
#include "../platform/WebURL.h" |
#include "WebDragOperation.h" |
@@ -93,7 +94,15 @@ public: |
const WebRect& frameRect, const WebRect& clipRect, |
const WebVector<WebRect>& cutOutsRects, bool isVisible) = 0; |
- virtual void updateFocus(bool) = 0; |
+ // FIXME: Remove this once the Blink embedder has been updated to use |
+ // the new version of updateFocus. |
+ virtual void updateFocus(bool focused) { } |
+ |
+ virtual void updateFocus(bool focused, WebFocusType) |
+ { |
+ updateFocus(focused); |
+ } |
+ |
virtual void updateVisibility(bool) = 0; |
virtual bool acceptsInputEvents() = 0; |