OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROMEOS_STATUS_WINDOW_SWITCHER_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_WINDOW_SWITCHER_BUTTON_H_ |
6 #define CHROME_BROWSER_CHROMEOS_STATUS_WINDOW_SWITCHER_BUTTON_H_ | 6 #define CHROME_BROWSER_CHROMEOS_STATUS_WINDOW_SWITCHER_BUTTON_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chromeos/status/status_area_button.h" | 10 #include "chrome/browser/chromeos/status/status_area_button.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 // browser list. | 31 // browser list. |
32 void UpdateStatus(); | 32 void UpdateStatus(); |
33 | 33 |
34 // BrowserList::Observer API | 34 // BrowserList::Observer API |
35 virtual void OnBrowserAdded(const Browser* browser); | 35 virtual void OnBrowserAdded(const Browser* browser); |
36 virtual void OnBrowserRemoved(const Browser* browser); | 36 virtual void OnBrowserRemoved(const Browser* browser); |
37 | 37 |
38 // views::ViewMenuDelegate implementation. | 38 // views::ViewMenuDelegate implementation. |
39 virtual void RunMenu(views::View* source, const gfx::Point& pt); | 39 virtual void RunMenu(views::View* source, const gfx::Point& pt); |
40 | 40 |
41 StatusAreaHost* host_; | |
42 | |
43 DISALLOW_COPY_AND_ASSIGN(WindowSwitcherButton); | 41 DISALLOW_COPY_AND_ASSIGN(WindowSwitcherButton); |
44 }; | 42 }; |
45 | 43 |
46 } // namespace chromeos | 44 } // namespace chromeos |
47 | 45 |
48 #endif // CHROME_BROWSER_CHROMEOS_STATUS_WINDOW_SWITCHER_BUTTON_H_ | 46 #endif // CHROME_BROWSER_CHROMEOS_STATUS_WINDOW_SWITCHER_BUTTON_H_ |
OLD | NEW |