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

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

Issue 2381373003: Fixed the issue shows keyword hint when omnibox loses its focus. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « chrome/browser/ui/omnibox/chrome_omnibox_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h
diff --git a/chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h b/chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h
index a9c0d0f7f3122ee4e8a0182a81be1781ec3ecc8d..fe776db99220758a46707706db6fa12770907d68 100644
--- a/chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h
+++ b/chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "components/omnibox/browser/omnibox_edit_controller.h"
+#include "components/omnibox/common/omnibox_focus_state.h"
class CommandUpdater;
@@ -24,6 +25,9 @@ class ChromeOmniboxEditController : public OmniboxEditController {
// tab state.
virtual void UpdateWithoutTabRestore() = 0;
+ // Called when omnibox focus was changed.
+ virtual void OnFocusChanged(OmniboxFocusState state) = 0;
+
CommandUpdater* command_updater() { return command_updater_; }
const CommandUpdater* command_updater() const { return command_updater_; }
« no previous file with comments | « chrome/browser/ui/omnibox/chrome_omnibox_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698