Chromium Code Reviews| Index: chrome/browser/ui/toolbar/toolbar_model.h |
| diff --git a/chrome/browser/ui/toolbar/toolbar_model.h b/chrome/browser/ui/toolbar/toolbar_model.h |
| index f4ecb749b7e6b18319fbd5d862175e64dc738d08..b168be4ae3305244b1f7b0d699c7af12457ac743 100644 |
| --- a/chrome/browser/ui/toolbar/toolbar_model.h |
| +++ b/chrome/browser/ui/toolbar/toolbar_model.h |
| @@ -97,6 +97,10 @@ class ToolbarModel { |
| // wouldn't have displayed a URL to begin with (e.g. for the NTP). |
| virtual bool WouldOmitURLDueToOriginChip() const = 0; |
| + // Returns true if the origin should be shown based on the current state of |
| + // the ToolbarModel. |
| + virtual bool ShouldShowOriginChip() const = 0; |
|
Peter Kasting
2014/05/05 22:39:04
Make this non-virtual and eliminate the test_toolb
macourteau
2014/05/08 21:35:55
Done.
|
| + |
| // Whether the text in the omnibox is currently being edited. |
| void set_input_in_progress(bool input_in_progress) { |
| input_in_progress_ = input_in_progress; |