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

Side by Side Diff: ash/common/shelf/shelf_layout_manager.h

Issue 2330403002: Do not activate system tray bubble by default (Closed)
Patch Set: Do not activate system tray bubble by default Created 4 years, 3 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
« no previous file with comments | « ash/common/key_event_watcher.cc ('k') | ash/common/system/audio/volume_view.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_COMMON_SHELF_SHELF_LAYOUT_MANAGER_H_ 5 #ifndef ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_H_
6 #define ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_H_ 6 #define ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 ShelfBackgroundType GetShelfBackgroundType() const; 183 ShelfBackgroundType GetShelfBackgroundType() const;
184 184
185 // Set the height of the ChromeVox panel, which takes away space from the 185 // Set the height of the ChromeVox panel, which takes away space from the
186 // available work area from the top of the screen. 186 // available work area from the top of the screen.
187 void SetChromeVoxPanelHeight(int height); 187 void SetChromeVoxPanelHeight(int height);
188 188
189 private: 189 private:
190 class UpdateShelfObserver; 190 class UpdateShelfObserver;
191 friend class PanelLayoutManagerTest; 191 friend class PanelLayoutManagerTest;
192 friend class ShelfLayoutManagerTest; 192 friend class ShelfLayoutManagerTest;
193 friend class WebNotificationTrayTest;
193 194
194 struct TargetBounds { 195 struct TargetBounds {
195 TargetBounds(); 196 TargetBounds();
196 ~TargetBounds(); 197 ~TargetBounds();
197 198
198 float opacity; 199 float opacity;
199 float status_opacity; 200 float status_opacity;
200 gfx::Rect shelf_bounds_in_root; 201 gfx::Rect shelf_bounds_in_root;
201 gfx::Rect shelf_bounds_in_shelf; 202 gfx::Rect shelf_bounds_in_shelf;
202 gfx::Rect status_bounds_in_shelf; 203 gfx::Rect status_bounds_in_shelf;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // The flag to enforce invisible shelf (as in MD-experiemntal). 372 // The flag to enforce invisible shelf (as in MD-experiemntal).
372 // TODO(oshima): Remove this when MD immersive is launched. 373 // TODO(oshima): Remove this when MD immersive is launched.
373 bool invisible_auto_hide_shelf_ = false; 374 bool invisible_auto_hide_shelf_ = false;
374 375
375 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); 376 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
376 }; 377 };
377 378
378 } // namespace ash 379 } // namespace ash
379 380
380 #endif // ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_H_ 381 #endif // ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/common/key_event_watcher.cc ('k') | ash/common/system/audio/volume_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698