Index: chrome/browser/ui/omnibox/omnibox_edit_model.h |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.h b/chrome/browser/ui/omnibox/omnibox_edit_model.h |
index 6caf62f542932a94b4d3cbe564454c88cc6574c4..74b53e538549d36ace5cfcc1c6f1b7b237291eda 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.h |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h |
@@ -213,6 +213,11 @@ class OmniboxEditModel : public AutocompleteControllerDelegate { |
// control key is down (at the time we're gaining focus). |
void OnSetFocus(bool control_down); |
+ // Called when we switch between using visible and invisible focus for the |
+ // omnibox. NOTE: this does NOT convey whether the view currently has focus; |
+ // only whether the focus will be visible when it does gain focus. |
+ void OnFocusVisibilityChange(bool visible_focus); |
Mathieu
2012/11/20 23:26:01
Again, *Changed may be better.
samarth
2012/11/21 00:40:15
Done.
|
+ |
// Sent before |OnKillFocus| and before the popup is closed. |
void OnWillKillFocus(gfx::NativeView view_gaining_focus); |
@@ -404,6 +409,9 @@ class OmniboxEditModel : public AutocompleteControllerDelegate { |
// Whether the edit has focus. |
bool has_focus_; |
+ // Will the focus be visible? |
+ bool focus_is_visible_; |
+ |
// The URL of the currently displayed page. |
string16 permanent_text_; |