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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2373773002: Fix a bug that viewed Omnibox hint when hint loses focus (Closed)
Patch Set: Fixed a bug that viewed Omnibox hint when hint loses focus 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
Index: chrome/browser/ui/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index b20c54f74a5ad531ffffc264dcd3d527e6b9d284..6457920c32ac72fbd32ae7ba815610e29f638b38 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -338,6 +338,8 @@ class LocationBarView : public LocationBar,
// directions from its current location.
double GetValueForAnimation(bool hide) const;
+ void UpdatedKeywordHintVisibility();
Peter Kasting 2016/10/02 19:01:37 Add comment about what this does.
+
// LocationBar:
void ShowFirstRunBubble() override;
GURL GetDestinationURL() const override;
@@ -370,6 +372,7 @@ class LocationBarView : public LocationBar,
const char* GetClassName() const override;
void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
void OnFocus() override;
+ void OnBlur() override;
void OnPaint(gfx::Canvas* canvas) override;
// views::DragController:

Powered by Google App Engine
This is Rietveld 408576698