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

Unified Diff: mandoline/ui/desktop_ui/toolbar_view.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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: mandoline/ui/desktop_ui/toolbar_view.h
diff --git a/mandoline/ui/desktop_ui/toolbar_view.h b/mandoline/ui/desktop_ui/toolbar_view.h
deleted file mode 100644
index ad808e12e8cc90d00258752de6310661e898772d..0000000000000000000000000000000000000000
--- a/mandoline/ui/desktop_ui/toolbar_view.h
+++ /dev/null
@@ -1,46 +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 MANDOLINE_UI_DESKTOP_UI_TOOLBAR_VIEW_H_
-#define MANDOLINE_UI_DESKTOP_UI_TOOLBAR_VIEW_H_
-
-#include "base/macros.h"
-#include "ui/views/controls/button/label_button.h"
-#include "ui/views/view.h"
-
-namespace views {
-class BoxLayout;
-class LabelButton;
-}
-
-namespace mandoline {
-class BrowserWindow;
-
-class ToolbarView : public views::View,
- public views::ButtonListener {
- public:
- ToolbarView(BrowserWindow* browser_window);
- ~ToolbarView() override;
-
- // Sets the state of the visual elements.
- void SetOmniboxText(const base::string16& text);
- void SetBackForwardEnabled(bool back_enabled, bool forward_enabled);
-
- // Overridden from views::ButtonListener:
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
- private:
- BrowserWindow* browser_window_;
-
- views::BoxLayout* layout_;
- views::LabelButton* back_button_;
- views::LabelButton* forward_button_;
- views::LabelButton* omnibox_launcher_;
-
- DISALLOW_COPY_AND_ASSIGN(ToolbarView);
-};
-
-} // namespace mandoline
-
-#endif // MANDOLINE_UI_DESKTOP_UI_TOOLBAR_VIEW_H_
« no previous file with comments | « mandoline/ui/desktop_ui/public/interfaces/view_embedder.mojom ('k') | mandoline/ui/desktop_ui/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698