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

Unified Diff: chrome/browser/ui/toolbar/chrome_toolbar_model.h

Issue 1578193002: Remove ChromeToolbarModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DEPS file Created 4 years, 11 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/toolbar/chrome_toolbar_model.h
diff --git a/chrome/browser/ui/toolbar/chrome_toolbar_model.h b/chrome/browser/ui/toolbar/chrome_toolbar_model.h
deleted file mode 100644
index 629cf0537273ac5bf09a6211d06cb92661990ea6..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/toolbar/chrome_toolbar_model.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_TOOLBAR_CHROME_TOOLBAR_MODEL_H_
-#define CHROME_BROWSER_UI_TOOLBAR_CHROME_TOOLBAR_MODEL_H_
-
-#include "base/macros.h"
-#include "components/security_state/security_state_model.h"
-#include "components/toolbar/toolbar_model.h"
-
-// This class is a //chrome-specific extension of the ToolbarModel interface.
-// TODO(blundell): Now that SecurityStateModel::SecurityLevel is componentized,
-// GetSecurityLevel() can be folded into ToolbarModel and this class can go
-// away. crbug.com/515071
-class ChromeToolbarModel : public ToolbarModel {
- public:
- ~ChromeToolbarModel() override;
-
- // Returns the security level that the toolbar should display. If
- // |ignore_editing| is true, the result reflects the underlying state of the
- // page without regard to any user edits that may be in progress in the
- // omnibox.
- virtual security_state::SecurityStateModel::SecurityLevel GetSecurityLevel(
- bool ignore_editing) const = 0;
-
- protected:
- ChromeToolbarModel();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ChromeToolbarModel);
-};
-
-#endif // CHROME_BROWSER_UI_TOOLBAR_CHROME_TOOLBAR_MODEL_H_
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm ('k') | chrome/browser/ui/toolbar/chrome_toolbar_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698