| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 143 |
| 144 // Set title for surface. | 144 // Set title for surface. |
| 145 void SetTitle(const base::string16& title); | 145 void SetTitle(const base::string16& title); |
| 146 | 146 |
| 147 // Sets the system modality. | 147 // Sets the system modality. |
| 148 void SetSystemModal(bool system_modal); | 148 void SetSystemModal(bool system_modal); |
| 149 | 149 |
| 150 // Sets the application ID for the window. The application ID identifies the | 150 // Sets the application ID for the window. The application ID identifies the |
| 151 // general class of applications to which the window belongs. | 151 // general class of applications to which the window belongs. |
| 152 static void SetApplicationId(aura::Window* window, const std::string& id); | 152 static void SetApplicationId(aura::Window* window, const std::string& id); |
| 153 static const std::string GetApplicationId(aura::Window* window); | 153 static const std::string* GetApplicationId(aura::Window* window); |
| 154 | 154 |
| 155 // Set the application ID for the surface. | 155 // Set the application ID for the surface. |
| 156 void SetApplicationId(const std::string& application_id); | 156 void SetApplicationId(const std::string& application_id); |
| 157 | 157 |
| 158 // Start an interactive move of surface. | 158 // Start an interactive move of surface. |
| 159 void Move(); | 159 void Move(); |
| 160 | 160 |
| 161 // Start an interactive resize of surface. |component| is one of the windows | 161 // Start an interactive resize of surface. |component| is one of the windows |
| 162 // HT constants (see ui/base/hit_test.h) and describes in what direction the | 162 // HT constants (see ui/base/hit_test.h) and describes in what direction the |
| 163 // surface should be resized. | 163 // surface should be resized. |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 bool shadow_underlay_in_surface_ = true; | 378 bool shadow_underlay_in_surface_ = true; |
| 379 bool pending_shadow_underlay_in_surface_ = true; | 379 bool pending_shadow_underlay_in_surface_ = true; |
| 380 bool system_modal_ = false; | 380 bool system_modal_ = false; |
| 381 | 381 |
| 382 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 382 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 383 }; | 383 }; |
| 384 | 384 |
| 385 } // namespace exo | 385 } // namespace exo |
| 386 | 386 |
| 387 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 387 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |