| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_EXO_SHELL_SURFACE_H_ | 5 #ifndef COMPONENTS_EXO_SHELL_SURFACE_H_ |
| 6 #define COMPONENTS_EXO_SHELL_SURFACE_H_ | 6 #define COMPONENTS_EXO_SHELL_SURFACE_H_ |
| 7 | 7 |
| 8 #include <cstdint> | 8 #include <cstdint> |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 void OnWindowActivated( | 261 void OnWindowActivated( |
| 262 aura::Window* gained_active, | 262 aura::Window* gained_active, |
| 263 aura::Window* lost_active) override; | 263 aura::Window* lost_active) override; |
| 264 | 264 |
| 265 // Overridden from WMHelper::DisplayConfigurationObserver: | 265 // Overridden from WMHelper::DisplayConfigurationObserver: |
| 266 void OnDisplayConfigurationChanged() override; | 266 void OnDisplayConfigurationChanged() override; |
| 267 | 267 |
| 268 // Overridden from ui::EventHandler: | 268 // Overridden from ui::EventHandler: |
| 269 void OnKeyEvent(ui::KeyEvent* event) override; | 269 void OnKeyEvent(ui::KeyEvent* event) override; |
| 270 void OnMouseEvent(ui::MouseEvent* event) override; | 270 void OnMouseEvent(ui::MouseEvent* event) override; |
| 271 void OnGestureEvent(ui::GestureEvent* event) override; |
| 271 | 272 |
| 272 // Overridden from ui::AcceleratorTarget: | 273 // Overridden from ui::AcceleratorTarget: |
| 273 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 274 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 274 | 275 |
| 275 aura::Window* shadow_overlay() { return shadow_overlay_.get(); } | 276 aura::Window* shadow_overlay() { return shadow_overlay_.get(); } |
| 276 aura::Window* shadow_underlay() { return shadow_underlay_.get(); } | 277 aura::Window* shadow_underlay() { return shadow_underlay_.get(); } |
| 277 | 278 |
| 278 Surface* surface_for_testing() { return surface_; } | 279 Surface* surface_for_testing() { return surface_; } |
| 279 | 280 |
| 280 private: | 281 private: |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 bool shadow_underlay_in_surface_ = true; | 374 bool shadow_underlay_in_surface_ = true; |
| 374 bool pending_shadow_underlay_in_surface_ = true; | 375 bool pending_shadow_underlay_in_surface_ = true; |
| 375 bool system_modal_ = false; | 376 bool system_modal_ = false; |
| 376 | 377 |
| 377 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 378 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 378 }; | 379 }; |
| 379 | 380 |
| 380 } // namespace exo | 381 } // namespace exo |
| 381 | 382 |
| 382 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 383 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |