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

Side by Side Diff: ash/common/system/view_observer.h

Issue 2147143002: [Chrome OS MD] Draw a 1px separator between 2 tray items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new approach Created 4 years, 4 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
(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_COMMON_SYSTEM_VIEW_OBSERVER_H_
6 #define ASH_COMMON_SYSTEM_VIEW_OBSERVER_H_
7
8 #include "ash/ash_export.h"
9 #include "base/macros.h"
10 #include "ui/views/widget/widget.h"
11
12 namespace ash {
13 class TrayBackgroundView;
14
15 class ASH_EXPORT ViewObserver {
varkha 2016/07/26 23:10:15 This name seems too generic. Maybe TrayBackgroundV
16 public:
17 ViewObserver() {}
18
19 // Called when |tray| visibility changes.
20 virtual void OnVisibilityChange(TrayBackgroundView* tray) {}
21
22 DISALLOW_COPY_AND_ASSIGN(ViewObserver);
23 };
24
25 } // namespace ash
26
27 #endif // ASH_COMMON_SYSTEM_VIEW_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/tray_constants.cc ('k') | ash/common/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698