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 | |
121 // Sets the application ID for the window. The application ID identifies the | 118 // Sets the application ID for the window. The application ID identifies the |
122 // general class of applications to which the window belongs. | 119 // general class of applications to which the window belongs. |
123 static void SetApplicationId(aura::Window* window, | 120 static void SetApplicationId(aura::Window* window, |
124 std::string* application_id); | 121 std::string* application_id); |
125 static const std::string GetApplicationId(aura::Window* window); | 122 static const std::string GetApplicationId(aura::Window* window); |
126 | 123 |
127 // Set application id for surface. | 124 // Set application id for surface. |
128 void SetApplicationId(const std::string& application_id); | 125 void SetApplicationId(const std::string& application_id); |
129 | 126 |
130 // Start an interactive move of surface. | 127 // Start an interactive move of surface. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_; | 285 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_; |
289 int top_inset_height_ = 0; | 286 int top_inset_height_ = 0; |
290 int pending_top_inset_height_ = 0; | 287 int pending_top_inset_height_ = 0; |
291 | 288 |
292 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 289 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
293 }; | 290 }; |
294 | 291 |
295 } // namespace exo | 292 } // namespace exo |
296 | 293 |
297 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 294 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
OLD | NEW |