Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7171)

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_model.cc

Issue 795343002: Omnibox Watcher: Don't Flag Incidents that are Paste+Enter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in comment Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
index 05e51d32cff8483805593f637021c3aef4b300a0..d64f8361c85fb3fbca34fa43e7d319168440ef47 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
@@ -756,6 +756,7 @@ void OmniboxEditModel::OpenMatch(AutocompleteMatch match,
popup_model()->IsOpen(),
(!popup_model()->IsOpen() || !pasted_text.empty()) ? 0 : index,
!pasted_text.empty(),
+ paste_state_ != NONE,
grt (UTC plus 2) 2014/12/12 14:43:49 nit: paste_state_ != NONE, // last_action_w
Mark P 2014/12/12 20:44:33 Done.
-1, // don't yet know tab ID; set later if appropriate
ClassifyPage(),
elapsed_time_since_user_first_modified_omnibox,

Powered by Google App Engine
This is Rietveld 408576698