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

Unified Diff: chrome/browser/ui/omnibox/omnibox_view.h

Issue 11369137: Implement {Start,Stop}CapturingKeyStrokes for Instant. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Switch order in BIC. Created 8 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_view.h
diff --git a/chrome/browser/ui/omnibox/omnibox_view.h b/chrome/browser/ui/omnibox/omnibox_view.h
index 692144f48fc5aeb8585e4c18ccab27b1dd8c29a8..8f10503b1546e4e5924236758b0e1dc2d48cb37c 100644
--- a/chrome/browser/ui/omnibox/omnibox_view.h
+++ b/chrome/browser/ui/omnibox/omnibox_view.h
@@ -152,6 +152,10 @@ class OmniboxView {
// Sets the focus to the autocomplete view.
virtual void SetFocus() = 0;
+ // Styles the omnibox according to the visibility of the focus stored in the
Peter Kasting 2012/12/04 02:00:52 Nit: Awkward... how about "Shows or hides the care
samarth 2012/12/04 04:55:35 Done.
+ // OmniboxEditModel. Should only be called by the model.
+ virtual void ApplyFocusVisibility() = 0;
Peter Kasting 2012/12/04 02:00:52 Nit: Should we maybe call all these functions (in
samarth 2012/12/04 04:55:35 Done.
+
// Called when the temporary text in the model may have changed.
// |display_text| is the new text to show; |save_original_selection| is true
// when there wasn't previously a temporary text and thus we need to save off

Powered by Google App Engine
This is Rietveld 408576698