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

Unified Diff: chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h

Issue 10704074: "Paste and go" state was being calculated wrong on views (at least). Fix by making this calculatio… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months 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/gtk/omnibox/omnibox_view_gtk.h
===================================================================
--- chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h (revision 144499)
+++ chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h (working copy)
@@ -439,6 +439,10 @@
// clipboard is not empty.
bool paste_clipboard_requested_;
+ // Text to "Paste and go"; set by HandlePopulatePopup() and consumed by
+ // HandlePasteAndGo().
+ string16 sanitized_text_for_paste_and_go_;
+
// Indicates if an Enter key press is inserted as text.
// It's used in the key press handler to determine if an Enter key event is
// handled by IME or not.
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm ('k') | chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698