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

Side by Side Diff: ash/system/web_notification/ash_popup_alignment_delegate.h

Issue 1676713002: ash/mash: Add a mus-client that sets up ash to provide the system ui for mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-cros-build Created 4 years, 10 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/snap_to_pixel_layout_manager.cc ('k') | mash/shell/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_
6 #define ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_ 6 #define ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void OnAutoHideStateChanged(ShelfAutoHideState new_state) override; 77 void OnAutoHideStateChanged(ShelfAutoHideState new_state) override;
78 78
79 // Overridden from gfx::DisplayObserver: 79 // Overridden from gfx::DisplayObserver:
80 void OnDisplayAdded(const gfx::Display& new_display) override; 80 void OnDisplayAdded(const gfx::Display& new_display) override;
81 void OnDisplayRemoved(const gfx::Display& old_display) override; 81 void OnDisplayRemoved(const gfx::Display& old_display) override;
82 void OnDisplayMetricsChanged(const gfx::Display& display, 82 void OnDisplayMetricsChanged(const gfx::Display& display,
83 uint32_t metrics) override; 83 uint32_t metrics) override;
84 84
85 gfx::Screen* screen_; 85 gfx::Screen* screen_;
86 gfx::Rect work_area_; 86 gfx::Rect work_area_;
87 aura::Window* root_window_;
88 ShelfLayoutManager* shelf_; 87 ShelfLayoutManager* shelf_;
89 int system_tray_height_; 88 int system_tray_height_;
90 89
91 DISALLOW_COPY_AND_ASSIGN(AshPopupAlignmentDelegate); 90 DISALLOW_COPY_AND_ASSIGN(AshPopupAlignmentDelegate);
92 }; 91 };
93 92
94 } // namespace ash 93 } // namespace ash
95 94
96 #endif // ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_ 95 #endif // ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/snap_to_pixel_layout_manager.cc ('k') | mash/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698