OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |