Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / views / toolbar / home_button.h
blobb6c236d7a6477554df799e485721263acff6bf9b
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/views/toolbar/toolbar_button.h"
12 class Browser;
14 class HomeButton : public ToolbarButton {
15 public:
16 HomeButton(views::ButtonListener* listener, Browser* browser);
17 ~HomeButton() override;
19 private:
20 // ToolbarButton:
21 const char* GetClassName() const override;
22 bool GetDropFormats(
23 int* formats,
24 std::set<OSExchangeData::CustomFormat>* custom_formats) override;
25 bool CanDrop(const OSExchangeData& data) override;
26 int OnDragUpdated(const ui::DropTargetEvent& event) override;
27 int OnPerformDrop(const ui::DropTargetEvent& event) override;
29 // ToolbarButton:
30 void NotifyClick(const ui::Event& event) override;
32 Browser* browser_;
34 DISALLOW_COPY_AND_ASSIGN(HomeButton);
37 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_