Index: chrome/browser/ui/extensions/bookmark_app_browser_controller.h |
diff --git a/chrome/browser/ui/extensions/bookmark_app_browser_controller.h b/chrome/browser/ui/extensions/bookmark_app_browser_controller.h |
deleted file mode 100644 |
index e47aaf39af7457f57180d4b6ba4178a2db45438f..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/extensions/bookmark_app_browser_controller.h |
+++ /dev/null |
@@ -1,51 +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_EXTENSIONS_BOOKMARK_APP_BROWSER_CONTROLLER_H_ |
-#define CHROME_BROWSER_UI_EXTENSIONS_BOOKMARK_APP_BROWSER_CONTROLLER_H_ |
- |
-#include <string> |
- |
-#include "base/macros.h" |
- |
-class Browser; |
-class Profile; |
- |
-namespace extensions { |
- |
-// Class to encapsulate logic to control the browser UI for bookmark apps. |
-class BookmarkAppBrowserController { |
- public: |
- // Indicates whether |browser| is a bookmark app browser. |
- static bool IsForBookmarkApp(Browser* browser); |
- |
- explicit BookmarkAppBrowserController(Browser* browser); |
- ~BookmarkAppBrowserController(); |
- |
- // Whether the browser being controlled can ever show the location bar. |
- bool SupportsLocationBar(); |
- |
- // Whether the browser being controlled should be currently showing the |
- // location bar. |
- bool ShouldShowLocationBar(); |
- |
- // Updates the location bar visibility based on whether it should be |
- // currently visible or not. If |animate| is set, the change will be |
- // animated. |
- void UpdateLocationBarVisibility(bool animate); |
- |
- // Whether the controlled browser should use the web app style frame. |
- bool should_use_web_app_frame() { return should_use_web_app_frame_; } |
- |
- private: |
- Browser* browser_; |
- const std::string extension_id_; |
- const bool should_use_web_app_frame_; |
- |
- DISALLOW_COPY_AND_ASSIGN(BookmarkAppBrowserController); |
-}; |
- |
-} // namespace extensions |
- |
-#endif // CHROME_BROWSER_UI_EXTENSIONS_BOOKMARK_APP_BROWSER_CONTROLLER_H_ |