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