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

Side by Side Diff: ash/system/tray/tray_empty.cc

Issue 9585012: ash uber tray: Make the user-card float a few pixels above the rest of the items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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/system/tray/tray_empty.h ('k') | no next file » | 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 #include "ash/system/tray/tray_empty.h"
6
7 #include "ui/views/layout/box_layout.h"
8 #include "ui/views/view.h"
9
10 namespace ash {
11 namespace internal {
12
13 TrayEmpty::TrayEmpty() {}
14
15 TrayEmpty::~TrayEmpty() {}
16
17 views::View* TrayEmpty::CreateTrayView(user::LoginStatus status) {
18 return NULL;
19 }
20
21 views::View* TrayEmpty::CreateDefaultView(user::LoginStatus status) {
22 views::View* view = new views::View;
23
24 view->set_background(views::Background::CreateSolidBackground(
25 SkColorSetARGB(0, 0, 0, 0)));
26 view->set_border(views::Border::CreateEmptyBorder(10, 0, 0, 0));
27 view->SetLayoutManager(new views::BoxLayout(views::BoxLayout::kVertical,
28 0, 0, 0));
29
30 return view;
31 }
32
33 views::View* TrayEmpty::CreateDetailedView(user::LoginStatus status) {
34 return NULL;
35 }
36
37 void TrayEmpty::DestroyTrayView() {}
38
39 void TrayEmpty::DestroyDefaultView() {}
40
41 void TrayEmpty::DestroyDetailedView() {}
42
43 } // namespace internal
44 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_empty.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698