summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 23:34:49 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 23:34:49 +0000
commit5dd768219a3b7f413f2922a9007f1d736d3768d1 (patch)
treef8cd9f904c6fdb9e579b7fff9024a2c6cdcdc4cc /chrome/renderer/render_widget.h
parentd1a5941efcd68dddd76d411f276353f34bb93f76 (diff)
downloadchromium_src-5dd768219a3b7f413f2922a9007f1d736d3768d1.zip
chromium_src-5dd768219a3b7f413f2922a9007f1d736d3768d1.tar.gz
chromium_src-5dd768219a3b7f413f2922a9007f1d736d3768d1.tar.bz2
Address bug 12392 by only updating the PRIMARY selection if we are currently
handling an InputEvent BUG=12392 TEST=navigate to facebook.com, PRIMARY selection should not contain "Email" afterward patch by Steve VanDeBogart <vandebo [at] google> original review: http://codereview.chromium.org/165471 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.h')
-rw-r--r--chrome/renderer/render_widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_widget.h b/chrome/renderer/render_widget.h
index ea7ef5e..7987d28 100644
--- a/chrome/renderer/render_widget.h
+++ b/chrome/renderer/render_widget.h
@@ -260,6 +260,9 @@ class RenderWidget : public IPC::Channel::Listener,
// Indicates whether we have been focused/unfocused by the browser.
bool has_focus_;
+ // Are we currently handling an input event?
+ bool handling_input_event_;
+
// True if we have requested this widget be closed. No more messages will
// be sent, except for a Close.
bool closing_;