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

Side by Side Diff: ash/system/tray/tray_bubble_view.h

Issue 10824153: Change Ash web notification behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clang Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/tray_background_view.cc ('k') | ash/system/tray/tray_bubble_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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_
6 #define ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_
7 7
8 #include "ash/wm/shelf_types.h" 8 #include "ash/wm/shelf_types.h"
9 #include "ui/aura/event_filter.h" 9 #include "ui/aura/event_filter.h"
10 #include "ui/views/bubble/bubble_delegate.h" 10 #include "ui/views/bubble/bubble_delegate.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 struct InitParams { 70 struct InitParams {
71 static const int kArrowDefaultOffset; 71 static const int kArrowDefaultOffset;
72 72
73 InitParams(AnchorType anchor_type, 73 InitParams(AnchorType anchor_type,
74 ShelfAlignment shelf_alignment); 74 ShelfAlignment shelf_alignment);
75 AnchorType anchor_type; 75 AnchorType anchor_type;
76 ShelfAlignment shelf_alignment; 76 ShelfAlignment shelf_alignment;
77 int bubble_width; 77 int bubble_width;
78 int max_height; 78 int max_height;
79 bool can_activate; 79 bool can_activate;
80 bool close_on_deactivate;
80 int arrow_offset; 81 int arrow_offset;
81 SkColor arrow_color; 82 SkColor arrow_color;
82 }; 83 };
83 84
84 static TrayBubbleView* Create(views::View* anchor, 85 static TrayBubbleView* Create(views::View* anchor,
85 Host* host, 86 Host* host,
86 const InitParams& init_params); 87 const InitParams& init_params);
87 88
88 virtual ~TrayBubbleView(); 89 virtual ~TrayBubbleView();
89 90
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 InitParams params_; 131 InitParams params_;
131 Host* host_; 132 Host* host_;
132 133
133 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView); 134 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView);
134 }; 135 };
135 136
136 } // namespace internal 137 } // namespace internal
137 } // namespace ash 138 } // namespace ash
138 139
139 #endif // ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_ 140 #endif // ASH_SYSTEM_TRAY_TRAY_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_background_view.cc ('k') | ash/system/tray/tray_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698