| 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 <deque> | 8 #include <deque> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 // Set fullscreen state for shell surface. | 109 // Set fullscreen state for shell surface. |
| 110 void SetFullscreen(bool fullscreen); | 110 void SetFullscreen(bool fullscreen); |
| 111 | 111 |
| 112 // Pins the shell surface. | 112 // Pins the shell surface. |
| 113 void SetPinned(bool pinned); | 113 void SetPinned(bool pinned); |
| 114 | 114 |
| 115 // Set title for surface. | 115 // Set title for surface. |
| 116 void SetTitle(const base::string16& title); | 116 void SetTitle(const base::string16& title); |
| 117 | 117 |
| 118 // Sets the system modality. |
| 119 void SetSystemModal(bool system_modal); |
| 120 |
| 118 // Sets the application ID for the window. The application ID identifies the | 121 // Sets the application ID for the window. The application ID identifies the |
| 119 // general class of applications to which the window belongs. | 122 // general class of applications to which the window belongs. |
| 120 static void SetApplicationId(aura::Window* window, | 123 static void SetApplicationId(aura::Window* window, |
| 121 std::string* application_id); | 124 std::string* application_id); |
| 122 static const std::string GetApplicationId(aura::Window* window); | 125 static const std::string GetApplicationId(aura::Window* window); |
| 123 | 126 |
| 124 // Set application id for surface. | 127 // Set application id for surface. |
| 125 void SetApplicationId(const std::string& application_id); | 128 void SetApplicationId(const std::string& application_id); |
| 126 | 129 |
| 127 // Start an interactive move of surface. | 130 // Start an interactive move of surface. |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_; | 288 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_; |
| 286 int top_inset_height_ = 0; | 289 int top_inset_height_ = 0; |
| 287 int pending_top_inset_height_ = 0; | 290 int pending_top_inset_height_ = 0; |
| 288 | 291 |
| 289 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 292 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
| 290 }; | 293 }; |
| 291 | 294 |
| 292 } // namespace exo | 295 } // namespace exo |
| 293 | 296 |
| 294 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 297 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
| OLD | NEW |