Index: components/toolbar/toolbar_model_impl.h |
diff --git a/components/toolbar/toolbar_model_impl.h b/components/toolbar/toolbar_model_impl.h |
index 4b823f6324bfc1f009173fe7fac866d22c08d897..6cc3914328463e29a407db9bc430cb03b4957b72 100644 |
--- a/components/toolbar/toolbar_model_impl.h |
+++ b/components/toolbar/toolbar_model_impl.h |
@@ -17,10 +17,6 @@ |
class ToolbarModelDelegate; |
-namespace net { |
-class X509Certificate; |
-} |
- |
// This class is the model used by the toolbar, location bar and autocomplete |
// edit. It populates its states from the current navigation entry retrieved |
// from the navigation controller returned by GetNavigationController(). |
@@ -32,10 +28,8 @@ class ToolbarModelImpl : public ToolbarModel { |
private: |
// ToolbarModel: |
- base::string16 GetText() const override; |
base::string16 GetFormattedURL(size_t* prefix_end) const override; |
GURL GetURL() const override; |
- bool WouldPerformSearchTermReplacement(bool ignore_editing) const override; |
security_state::SecurityStateModel::SecurityLevel GetSecurityLevel( |
bool ignore_editing) const override; |
int GetIcon() const override; |
@@ -43,12 +37,6 @@ class ToolbarModelImpl : public ToolbarModel { |
base::string16 GetEVCertName() const override; |
bool ShouldDisplayURL() const override; |
- // Returns search terms as in search::GetSearchTerms() if such terms should |
- // appear in the omnibox (i.e. the page is sufficiently secure, search term |
- // replacement is enabled, editing is not in progress, etc.). If |
- // |ignore_editing| is true, the "editing not in progress" check is skipped. |
- base::string16 GetSearchTerms(bool ignore_editing) const; |
- |
ToolbarModelDelegate* delegate_; |
const size_t max_url_display_chars_; |