| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 void OnWindowActivated( | 265 void OnWindowActivated( |
| 266 aura::Window* gained_active, | 266 aura::Window* gained_active, |
| 267 aura::Window* lost_active) override; | 267 aura::Window* lost_active) override; |
| 268 | 268 |
| 269 // Overridden from WMHelper::DisplayConfigurationObserver: | 269 // Overridden from WMHelper::DisplayConfigurationObserver: |
| 270 void OnDisplayConfigurationChanged() override; | 270 void OnDisplayConfigurationChanged() override; |
| 271 | 271 |
| 272 // Overridden from ui::EventHandler: | 272 // Overridden from ui::EventHandler: |
| 273 void OnKeyEvent(ui::KeyEvent* event) override; | 273 void OnKeyEvent(ui::KeyEvent* event) override; |
| 274 void OnMouseEvent(ui::MouseEvent* event) override; | 274 void OnMouseEvent(ui::MouseEvent* event) override; |
| 275 void OnGestureEvent(ui::GestureEvent* event) override; |
| 275 | 276 |
| 276 // Overridden from ui::AcceleratorTarget: | 277 // Overridden from ui::AcceleratorTarget: |
| 277 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 278 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 278 | 279 |
| 279 aura::Window* shadow_overlay() { return shadow_overlay_.get(); } | 280 aura::Window* shadow_overlay() { return shadow_overlay_.get(); } |
| 280 aura::Window* shadow_underlay() { return shadow_underlay_.get(); } | 281 aura::Window* shadow_underlay() { return shadow_underlay_.get(); } |
| 281 | 282 |
| 282 Surface* surface_for_testing() { return surface_; } | 283 Surface* surface_for_testing() { return surface_; } |
| 283 | 284 |
| 284 private: | 285 private: |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 bool pending_shadow_underlay_in_surface_ = true; | 379 bool pending_shadow_underlay_in_surface_ = true; |
| 379 bool system_modal_ = false; | 380 bool system_modal_ = false; |
| 380 gfx::ImageSkia icon_; | 381 gfx::ImageSkia icon_; |
| 381 | 382 |
| 382 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 383 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 383 }; | 384 }; |
| 384 | 385 |
| 385 } // namespace exo | 386 } // namespace exo |
| 386 | 387 |
| 387 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 388 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |