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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 11369137: Implement {Start,Stop}CapturingKeyStrokes for Instant. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Keep invisible focus state in OmniboxEditModel. Created 8 years, 1 month 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/views/omnibox/omnibox_view_views.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
index 9a88038c27b6321ea328cb6e1c19d142065c75d8..3db70fc01097324f6e1992020843d8ac9099c6c7 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -108,6 +108,7 @@ class OmniboxViewViews
virtual void SelectAll(bool reversed) OVERRIDE;
virtual void UpdatePopup() OVERRIDE;
virtual void SetFocus() OVERRIDE;
+ virtual void SetInvisibleFocus() OVERRIDE;
virtual void OnTemporaryTextMaybeChanged(
const string16& display_text,
bool save_original_selection) OVERRIDE;
@@ -180,6 +181,9 @@ class OmniboxViewViews
// that after invoking this OnAfterPossibleChange() is invoked.
void OnPaste();
+ // Update focus visibility.
+ void SetFocusVisibility(bool focus_is_visible);
+
views::Textfield* textfield_;
// When true, the location bar view is read only and also is has a slightly

Powered by Google App Engine
This is Rietveld 408576698