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

Side by Side Diff: ash/shelf/shelf_button.h

Issue 1932433002: Update activity indicator from a light bar to a point (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add shelf material control and address comments Created 4 years, 7 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELF_SHELF_BUTTON_H_ 5 #ifndef ASH_SHELF_SHELF_BUTTON_H_
6 #define ASH_SHELF_SHELF_BUTTON_H_ 6 #define ASH_SHELF_SHELF_BUTTON_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/gfx/shadow_value.h" 10 #include "ui/gfx/shadow_value.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 gfx::ShadowValues icon_shadows_; 105 gfx::ShadowValues icon_shadows_;
106 106
107 // If non-null the destuctor sets this to true. This is set while the menu is 107 // If non-null the destuctor sets this to true. This is set while the menu is
108 // showing and used to detect if the menu was deleted while running. 108 // showing and used to detect if the menu was deleted while running.
109 bool* destroyed_flag_; 109 bool* destroyed_flag_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(ShelfButton); 111 DISALLOW_COPY_AND_ASSIGN(ShelfButton);
112 }; 112 };
113 113
114 // Paints an activity indicator on |canvas| whose |size| is specified in DIP.
115 void PaintIndicatorOnCanvas(gfx::Canvas* canvas, const gfx::Size& size);
varkha 2016/05/13 23:01:24 Could it be in anonymous namespace and not exposed
116
114 } // namespace ash 117 } // namespace ash
115 118
116 #endif // ASH_SHELF_SHELF_BUTTON_H_ 119 #endif // ASH_SHELF_SHELF_BUTTON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698