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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h

Issue 2510373003: Cleanup: Remove "gray text" logic from Omnibox (Closed)
Patch Set: review2 Created 4 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/cocoa/omnibox/omnibox_view_mac.h
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
index 6ce410c8e935e72d0b7f391efde941239bd48c93..9f4794867c0f8dd2d0294b9ddb92d6341ba992e0 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h
@@ -89,8 +89,6 @@ class OmniboxViewMac : public OmniboxView,
bool OnAfterPossibleChange(bool allow_keyword_ui_change) override;
gfx::NativeView GetNativeView() const override;
gfx::NativeView GetRelativeWindowForPopup() const override;
- void SetGrayTextAutocompletion(const base::string16& input) override;
- base::string16 GetGrayTextAutocompletion() const override;
int GetTextWidth() const override;
int GetWidth() const override;
bool IsImeComposing() const override;
@@ -219,8 +217,6 @@ class OmniboxViewMac : public OmniboxView,
// Was the delete key pressed with an empty selection at the end of the edit?
bool delete_at_end_pressed_;
- base::string16 suggest_text_;
-
// State used to coalesce changes to text and selection to avoid drawing
// transient state.
bool in_coalesced_update_block_;

Powered by Google App Engine
This is Rietveld 408576698