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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 // Minimize the shell surface. | 106 // Minimize the shell surface. |
107 void Minimize(); | 107 void Minimize(); |
108 | 108 |
109 // Restore the shell surface. | 109 // Restore the shell surface. |
110 void Restore(); | 110 void Restore(); |
111 | 111 |
112 // Set fullscreen state for shell surface. | 112 // Set fullscreen state for shell surface. |
113 void SetFullscreen(bool fullscreen); | 113 void SetFullscreen(bool fullscreen); |
114 | 114 |
115 // Pins the shell surface. | 115 // Pins the shell surface. |trusted| flag is ignored when |pinned| is false. |
116 void SetPinned(bool pinned); | 116 void SetPinned(bool pinned, bool trusted); |
117 | 117 |
118 // Set title for surface. | 118 // Set title for surface. |
119 void SetTitle(const base::string16& title); | 119 void SetTitle(const base::string16& title); |
120 | 120 |
121 // Sets the system modality. | 121 // Sets the system modality. |
122 void SetSystemModal(bool system_modal); | 122 void SetSystemModal(bool system_modal); |
123 | 123 |
124 // Sets the application ID for the window. The application ID identifies the | 124 // Sets the application ID for the window. The application ID identifies the |
125 // general class of applications to which the window belongs. | 125 // general class of applications to which the window belongs. |
126 static void SetApplicationId(aura::Window* window, | 126 static void SetApplicationId(aura::Window* window, |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 int top_inset_height_ = 0; | 298 int top_inset_height_ = 0; |
299 int pending_top_inset_height_ = 0; | 299 int pending_top_inset_height_ = 0; |
300 float rectangular_shadow_background_opacity_ = 1.0; | 300 float rectangular_shadow_background_opacity_ = 1.0; |
301 | 301 |
302 DISALLOW_COPY_AND_ASSIGN(ShellSurface); | 302 DISALLOW_COPY_AND_ASSIGN(ShellSurface); |
303 }; | 303 }; |
304 | 304 |
305 } // namespace exo | 305 } // namespace exo |
306 | 306 |
307 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ | 307 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ |
OLD | NEW |