Index: components/plugins/renderer/webview_plugin.h |
diff --git a/components/plugins/renderer/webview_plugin.h b/components/plugins/renderer/webview_plugin.h |
index 6a4f1f36259669f1243df63d2120e32b17af6c62..276855f67136b6310d28b517aa7c490b89870cc3 100644 |
--- a/components/plugins/renderer/webview_plugin.h |
+++ b/components/plugins/renderer/webview_plugin.h |
@@ -85,7 +85,8 @@ class WebViewPlugin : public blink::WebPlugin, |
const blink::WebVector<blink::WebRect>& cut_out_rects, |
bool is_visible); |
- virtual void updateFocus(bool) {} |
+ virtual void updateFocus(bool); |
+ virtual bool hasFocus(); |
Bernhard Bauer
2014/01/25 14:36:37
This method doesn't override a method from WebPlug
Ruiyi Luo
2014/01/26 09:40:28
Remove this function as no need after merging.
|
virtual void updateVisibility(bool) {} |
virtual bool acceptsInputEvents(); |
@@ -155,6 +156,7 @@ class WebViewPlugin : public blink::WebPlugin, |
bool finished_loading_; |
scoped_ptr<blink::WebURLError> error_; |
blink::WebString old_title_; |
+ bool focused_; |
}; |
#endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |