| 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..6d2da23fbc27543220e3c93435d5275890ee6e09 100644
|
| --- a/chrome/browser/ui/omnibox/omnibox_edit_model.h
|
| +++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h
|
| @@ -191,6 +191,8 @@ class OmniboxEditModel : public AutocompleteControllerDelegate {
|
|
|
| bool has_focus() const { return has_focus_; }
|
|
|
| + bool is_focus_visible() const { return is_focus_visible_; }
|
| +
|
| // Accessors for keyword-related state (see comments on keyword_ and
|
| // is_keyword_hint_).
|
| const string16& keyword() const { return keyword_; }
|
| @@ -213,6 +215,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);
|
| +
|
| // Sent before |OnKillFocus| and before the popup is closed.
|
| void OnWillKillFocus(gfx::NativeView view_gaining_focus);
|
|
|
| @@ -404,6 +411,9 @@ class OmniboxEditModel : public AutocompleteControllerDelegate {
|
| // Whether the edit has focus.
|
| bool has_focus_;
|
|
|
| + // Will the focus be visible?
|
| + bool is_focus_visible_;
|
| +
|
| // The URL of the currently displayed page.
|
| string16 permanent_text_;
|
|
|
|
|