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

Side by Side Diff: chrome/browser/chromeos/status/status_area_view.h

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
OLDNEW
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_STATUS_AREA_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "chrome/browser/chromeos/status/status_area_button.h" 13 #include "chrome/browser/chromeos/status/status_area_button.h"
14 #include "ui/views/accessible_pane_view.h"
14 #include "ui/views/view.h" 15 #include "ui/views/view.h"
15 #include "views/accessible_pane_view.h"
16 16
17 // This class is used to wrap the small informative widgets in the upper-right 17 // This class is used to wrap the small informative widgets in the upper-right
18 // of the window title bar. It is used on ChromeOS only. 18 // of the window title bar. It is used on ChromeOS only.
19 class StatusAreaView : public views::AccessiblePaneView, 19 class StatusAreaView : public views::AccessiblePaneView,
20 public base::SupportsWeakPtr<StatusAreaView> { 20 public base::SupportsWeakPtr<StatusAreaView> {
21 public: 21 public:
22 explicit StatusAreaView(); 22 explicit StatusAreaView();
23 virtual ~StatusAreaView(); 23 virtual ~StatusAreaView();
24 24
25 void AddButton(StatusAreaButton* button, bool bordered); 25 void AddButton(StatusAreaButton* button, bool bordered);
(...skipping 27 matching lines...) Expand all
53 53
54 std::list<StatusAreaButton*> buttons_; 54 std::list<StatusAreaButton*> buttons_;
55 55
56 // Clears focus and calls |return_focus_cb_|. 56 // Clears focus and calls |return_focus_cb_|.
57 void ReturnFocus(bool reverse); 57 void ReturnFocus(bool reverse);
58 58
59 DISALLOW_COPY_AND_ASSIGN(StatusAreaView); 59 DISALLOW_COPY_AND_ASSIGN(StatusAreaView);
60 }; 60 };
61 61
62 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_H_ 62 #endif // CHROME_BROWSER_CHROMEOS_STATUS_STATUS_AREA_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/status_area_button.cc ('k') | chrome/browser/chromeos/status/status_area_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698