Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Side by Side Diff: components/exo/shell_surface.h

Issue 2184103003: arc: Implement proper Arc window activation for task moving to front. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/exo/shell_surface.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // When the client is asked to configure the surface, it should acknowledge 91 // When the client is asked to configure the surface, it should acknowledge
92 // the configure request sometime before the commit. |serial| is the serial 92 // the configure request sometime before the commit. |serial| is the serial
93 // from the configure callback. 93 // from the configure callback.
94 void AcknowledgeConfigure(uint32_t serial); 94 void AcknowledgeConfigure(uint32_t serial);
95 95
96 // Set the "parent" of this surface. This window should be stacked above a 96 // Set the "parent" of this surface. This window should be stacked above a
97 // parent. 97 // parent.
98 void SetParent(ShellSurface* parent); 98 void SetParent(ShellSurface* parent);
99 99
100 // Activates the shell surface.
101 void Activate();
102
100 // Maximizes the shell surface. 103 // Maximizes the shell surface.
101 void Maximize(); 104 void Maximize();
102 105
103 // Minimize the shell surface. 106 // Minimize the shell surface.
104 void Minimize(); 107 void Minimize();
105 108
106 // Restore the shell surface. 109 // Restore the shell surface.
107 void Restore(); 110 void Restore();
108 111
109 // Set fullscreen state for shell surface. 112 // Set fullscreen state for shell surface.
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 int top_inset_height_ = 0; 299 int top_inset_height_ = 0;
297 int pending_top_inset_height_ = 0; 300 int pending_top_inset_height_ = 0;
298 float rectangular_shadow_background_opacity_ = 1.0; 301 float rectangular_shadow_background_opacity_ = 1.0;
299 302
300 DISALLOW_COPY_AND_ASSIGN(ShellSurface); 303 DISALLOW_COPY_AND_ASSIGN(ShellSurface);
301 }; 304 };
302 305
303 } // namespace exo 306 } // namespace exo
304 307
305 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ 308 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_
OLDNEW
« no previous file with comments | « no previous file | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698