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

Unified Diff: chrome/browser/ui/views/dropdown_bar_view.h

Issue 2441863002: Remove some more !IsModeMaterial code. (Closed)
Patch Set: pull more shades Created 4 years, 2 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/views/dropdown_bar_view.h
diff --git a/chrome/browser/ui/views/dropdown_bar_view.h b/chrome/browser/ui/views/dropdown_bar_view.h
deleted file mode 100644
index 27ffcda402d1734fe473c28fdf9b827719a20d9f..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/dropdown_bar_view.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 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_VIEWS_DROPDOWN_BAR_VIEW_H_
-#define CHROME_BROWSER_UI_VIEWS_DROPDOWN_BAR_VIEW_H_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/views/dropdown_bar_host.h"
-#include "chrome/browser/ui/views/dropdown_bar_host_delegate.h"
-#include "ui/views/accessible_pane_view.h"
-
-namespace gfx {
-class Canvas;
-class ImageSkia;
-} // namespace gfx
-
-////////////////////////////////////////////////////////////////////////////////
-//
-// The DropdownBarView is an abstract view to draw the UI controls of the
-// DropdownBarHost.
-//
-////////////////////////////////////////////////////////////////////////////////
-class DropdownBarView : public views::AccessiblePaneView,
- public DropdownBarHostDelegate {
- public:
- explicit DropdownBarView(DropdownBarHost* host);
- ~DropdownBarView() override;
-
- protected:
- // Returns the DropdownBarHost that manages this view.
- DropdownBarHost* host() const { return host_; }
-
- void SetBackground(const gfx::ImageSkia* left_alpha_mask,
- const gfx::ImageSkia* right_alpha_mask);
- void SetBorderFromIds(int left_border_image_id,
- int middle_border_image_id,
- int right_border_image_id);
-
- private:
- // The dropdown bar host that controls this view.
- DropdownBarHost* host_;
-
- DISALLOW_COPY_AND_ASSIGN(DropdownBarView);
-};
-#endif // CHROME_BROWSER_UI_VIEWS_DROPDOWN_BAR_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698