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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 9359022: Aura: Support hovering restore & close buttons for full screen apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added new test for tab restore Created 8 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 Profile* profile; 142 Profile* profile;
143 143
144 // The application name that is also the name of the window to the shell. 144 // The application name that is also the name of the window to the shell.
145 // This name should be set when: 145 // This name should be set when:
146 // 1) we launch an application via an application shortcut or extension API. 146 // 1) we launch an application via an application shortcut or extension API.
147 // 2) we launch an undocked devtool window. 147 // 2) we launch an undocked devtool window.
148 std::string app_name; 148 std::string app_name;
149 149
150 // The bounds of the window to open. 150 // The bounds of the window to open.
151 gfx::Rect initial_bounds; 151 gfx::Rect initial_bounds;
152
153 ui::WindowShowState initial_show_state;
154
155 bool is_session_restore;
152 }; 156 };
153 157
154 // Constructors, Creation, Showing ////////////////////////////////////////// 158 // Constructors, Creation, Showing //////////////////////////////////////////
155 159
156 // Creates a new browser of the given |type| and for the given |profile|. The 160 // Creates a new browser of the given |type| and for the given |profile|. The
157 // Browser has a NULL window after its construction, InitBrowserWindow must 161 // Browser has a NULL window after its construction, InitBrowserWindow must
158 // be called after configuration for window() to be valid. 162 // be called after configuration for window() to be valid.
159 // Avoid using this constructor directly if you can use one of the Create*() 163 // Avoid using this constructor directly if you can use one of the Create*()
160 // methods below. This applies to almost all non-testing code. 164 // methods below. This applies to almost all non-testing code.
161 Browser(Type type, Profile* profile); 165 Browser(Type type, Profile* profile);
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 1460
1457 scoped_refptr<FullscreenController> fullscreen_controller_; 1461 scoped_refptr<FullscreenController> fullscreen_controller_;
1458 1462
1459 // True if the browser window has been shown at least once. 1463 // True if the browser window has been shown at least once.
1460 bool window_has_shown_; 1464 bool window_has_shown_;
1461 1465
1462 DISALLOW_COPY_AND_ASSIGN(Browser); 1466 DISALLOW_COPY_AND_ASSIGN(Browser);
1463 }; 1467 };
1464 1468
1465 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1469 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698