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

Side by Side Diff: ash/status_area/status_area_view.h

Issue 10202012: Revert 133691 because it accidentally reverted revs 133686 and 133684. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell.cc ('k') | ash/status_area/status_area_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4
5 #ifndef ASH_STATUS_AREA_STATUS_AREA_VIEW_H_
6 #define ASH_STATUS_AREA_STATUS_AREA_VIEW_H_
7 #pragma once
8
9 #include "ash/ash_export.h"
10 #include "third_party/skia/include/core/SkBitmap.h"
11 #include "ui/views/accessible_pane_view.h"
12 #include "ui/views/widget/widget_delegate.h"
13
14 namespace ash {
15 namespace internal {
16
17 class FocusCycler;
18
19 class ASH_EXPORT StatusAreaView : public views::WidgetDelegate,
20 public views::AccessiblePaneView {
21 public:
22 StatusAreaView();
23 virtual ~StatusAreaView();
24
25 // Sets the focus cycler.
26 void SetFocusCyclerForTesting(const FocusCycler* focus_cycler);
27
28 // Overridden from views::AccessiblePaneView.
29 virtual View* GetDefaultFocusableChild() OVERRIDE;
30
31 // Overridden from views::View:
32 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
33 virtual views::Widget* GetWidget() OVERRIDE;
34 virtual const views::Widget* GetWidget() const OVERRIDE;
35
36 // views::WidgetDelegate overrides:
37 virtual bool CanActivate() const OVERRIDE;
38 virtual void DeleteDelegate() OVERRIDE;
39
40 private:
41 const FocusCycler* focus_cycler_for_testing_;
42
43 DISALLOW_COPY_AND_ASSIGN(StatusAreaView);
44 };
45
46 } // namespace internal
47 } // namespace ash
48
49 #endif // ASH_STATUS_AREA_STATUS_AREA_VIEW_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/status_area/status_area_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698