Index: content/renderer/pepper/pepper_plugin_instance_impl.h |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h |
index ec0a4529120a4d4acc5fb5fb982048b1b7d74860..2dd3c1210ae3b78d38023bc32d7a027a5ba23cd4 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h |
@@ -56,6 +56,7 @@ |
#include "third_party/WebKit/public/web/WebPlugin.h" |
#include "third_party/WebKit/public/web/WebUserGestureToken.h" |
#include "ui/base/ime/text_input_type.h" |
+#include "ui/events/latency_info.h" |
#include "ui/gfx/rect.h" |
#include "url/gurl.h" |
@@ -506,6 +507,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
// RenderFrameObserver |
virtual void OnDestruct() OVERRIDE; |
+ void AddLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); |
+ |
private: |
friend class base::RefCounted<PepperPluginInstanceImpl>; |
friend class PpapiUnittest; |
@@ -866,6 +869,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
// The text that is currently selected in the plugin. |
base::string16 selected_text_; |
+ int64 last_input_number_; |
+ |
// We use a weak ptr factory for scheduling DidChangeView events so that we |
// can tell whether updates are pending and consolidate them. When there's |
// already a weak ptr pending (HasWeakPtrs is true), code should update the |