Index: components/omnibox/browser/omnibox_edit_model.h |
diff --git a/components/omnibox/browser/omnibox_edit_model.h b/components/omnibox/browser/omnibox_edit_model.h |
index f6118843eed631cebeec07e5f9801f7e61e62d3b..a49c096f0ee915755d926f6b9826a0537e52cdbf 100644 |
--- a/components/omnibox/browser/omnibox_edit_model.h |
+++ b/components/omnibox/browser/omnibox_edit_model.h |
@@ -160,6 +160,9 @@ class OmniboxEditModel { |
// Returns the URL corresponding to the permanent text. |
GURL PermanentURL() const; |
+ // Returns the raw permanent text. |
+ base::string16 PermanentText() { return permanent_text_; } |
Peter Kasting
2017/04/10 23:04:13
Nit: const base::string16& permanent_text() const
Kevin Bailey
2017/04/11 14:12:42
Done.
|
+ |
// Sets the user_text_ to |text|. Only the View should call this. |
void SetUserText(const base::string16& text); |