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

Side by Side Diff: chrome/browser/ui/views/toolbar/home_button.h

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "chrome/browser/ui/views/toolbar/toolbar_button.h" 10 #include "chrome/browser/ui/views/toolbar/toolbar_button.h"
11 11
12 class Browser; 12 class Browser;
13 13
14 class HomeButton : public ToolbarButton { 14 class HomeButton : public ToolbarButton {
15 public: 15 public:
16 HomeButton(views::ButtonListener* listener, Browser* browser); 16 HomeButton(views::ButtonListener* listener, Browser* browser);
17 ~HomeButton() override; 17 ~HomeButton() override;
18 18
19 private: 19 private:
20 // ToolbarButton: 20 // ToolbarButton:
21 const char* GetClassName() const override; 21 const char* GetClassName() const override;
22 bool GetDropFormats( 22 bool GetDropFormats(
23 int* formats, 23 int* formats,
24 std::set<ui::Clipboard::FormatType>* format_types) override; 24 std::set<ui::Clipboard::FormatType>* format_types) override;
25 bool CanDrop(const OSExchangeData& data) override; 25 bool CanDrop(const OSExchangeData& data) override;
26 int OnDragUpdated(const ui::DropTargetEvent& event) override; 26 int OnDragUpdated(const ui::DropTargetEvent& event) override;
27 int OnPerformDrop(const ui::DropTargetEvent& event) override; 27 int OnPerformDrop(const ui::DropTargetEvent& event) override;
28 28
29 // ToolbarButton: 29 // ToolbarButton:
30 void NotifyClick(const ui::Event& event) override; 30 void NotifyClick(const ui::Event& event) override;
31 31
32 Browser* browser_; 32 Browser* browser_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(HomeButton); 34 DISALLOW_COPY_AND_ASSIGN(HomeButton);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_ 37 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_HOME_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h ('k') | chrome/browser/ui/views/toolbar/home_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698