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

Side by Side Diff: apps/app_window.h

Issue 469993003: Add AppWindow.setVisibleOnAllWorkspaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | apps/app_window.cc » ('j') | chrome/browser/apps/app_window_browsertest.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 APPS_APP_WINDOW_H_ 5 #ifndef APPS_APP_WINDOW_H_
6 #define APPS_APP_WINDOW_H_ 6 #define APPS_APP_WINDOW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // If true, the window will be resizable by the user. Defaults to true. 176 // If true, the window will be resizable by the user. Defaults to true.
177 bool resizable; 177 bool resizable;
178 178
179 // If true, the window will be focused on creation. Defaults to true. 179 // If true, the window will be focused on creation. Defaults to true.
180 bool focused; 180 bool focused;
181 181
182 // If true, the window will stay on top of other windows that are not 182 // If true, the window will stay on top of other windows that are not
183 // configured to be always on top. Defaults to false. 183 // configured to be always on top. Defaults to false.
184 bool always_on_top; 184 bool always_on_top;
185 185
186 // If true, the window will be visible on all workspaces. Defaults to false.
187 bool visible_on_all_workspaces;
188
186 // The API enables developers to specify content or window bounds. This 189 // The API enables developers to specify content or window bounds. This
187 // function combines them into a single, constrained window size. 190 // function combines them into a single, constrained window size.
188 gfx::Rect GetInitialWindowBounds(const gfx::Insets& frame_insets) const; 191 gfx::Rect GetInitialWindowBounds(const gfx::Insets& frame_insets) const;
189 192
190 // The API enables developers to specify content or window size constraints. 193 // The API enables developers to specify content or window size constraints.
191 // These functions combine them so that we can work with one set of 194 // These functions combine them so that we can work with one set of
192 // constraints. 195 // constraints.
193 gfx::Size GetContentMinimumSize(const gfx::Insets& frame_insets) const; 196 gfx::Size GetContentMinimumSize(const gfx::Insets& frame_insets) const;
194 gfx::Size GetContentMaximumSize(const gfx::Insets& frame_insets) const; 197 gfx::Size GetContentMaximumSize(const gfx::Insets& frame_insets) const;
195 gfx::Size GetWindowMinimumSize(const gfx::Insets& frame_insets) const; 198 gfx::Size GetWindowMinimumSize(const gfx::Insets& frame_insets) const;
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 550
548 // Whether |alpha_enabled| was set in the CreateParams. 551 // Whether |alpha_enabled| was set in the CreateParams.
549 bool requested_alpha_enabled_; 552 bool requested_alpha_enabled_;
550 553
551 DISALLOW_COPY_AND_ASSIGN(AppWindow); 554 DISALLOW_COPY_AND_ASSIGN(AppWindow);
552 }; 555 };
553 556
554 } // namespace apps 557 } // namespace apps
555 558
556 #endif // APPS_APP_WINDOW_H_ 559 #endif // APPS_APP_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | apps/app_window.cc » ('j') | chrome/browser/apps/app_window_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698