| OLD | NEW |
| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 public InstantDelegate { | 95 public InstantDelegate { |
| 96 public: | 96 public: |
| 97 // SessionService::WindowType mirrors these values. If you add to this | 97 // SessionService::WindowType mirrors these values. If you add to this |
| 98 // enum, look at SessionService::WindowType to see if it needs to be | 98 // enum, look at SessionService::WindowType to see if it needs to be |
| 99 // updated. | 99 // updated. |
| 100 enum Type { | 100 enum Type { |
| 101 // If you add a new type, consider updating the test | 101 // If you add a new type, consider updating the test |
| 102 // BrowserTest.StartMaximized. | 102 // BrowserTest.StartMaximized. |
| 103 TYPE_TABBED = 1, | 103 TYPE_TABBED = 1, |
| 104 TYPE_POPUP = 2, | 104 TYPE_POPUP = 2, |
| 105 TYPE_PANEL = 3 | 105 TYPE_PANEL = 3, |
| 106 TYPE_APP = 4 |
| 106 }; | 107 }; |
| 107 | 108 |
| 108 // Possible elements of the Browser window. | 109 // Possible elements of the Browser window. |
| 109 enum WindowFeature { | 110 enum WindowFeature { |
| 110 FEATURE_NONE = 0, | 111 FEATURE_NONE = 0, |
| 111 FEATURE_TITLEBAR = 1, | 112 FEATURE_TITLEBAR = 1, |
| 112 FEATURE_TABSTRIP = 2, | 113 FEATURE_TABSTRIP = 2, |
| 113 FEATURE_TOOLBAR = 4, | 114 FEATURE_TOOLBAR = 4, |
| 114 FEATURE_LOCATIONBAR = 8, | 115 FEATURE_LOCATIONBAR = 8, |
| 115 FEATURE_BOOKMARKBAR = 16, | 116 FEATURE_BOOKMARKBAR = 16, |
| (...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 | 1446 |
| 1446 scoped_refptr<FullscreenController> fullscreen_controller_; | 1447 scoped_refptr<FullscreenController> fullscreen_controller_; |
| 1447 | 1448 |
| 1448 // True if the browser window has been shown at least once. | 1449 // True if the browser window has been shown at least once. |
| 1449 bool window_has_shown_; | 1450 bool window_has_shown_; |
| 1450 | 1451 |
| 1451 DISALLOW_COPY_AND_ASSIGN(Browser); | 1452 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1452 }; | 1453 }; |
| 1453 | 1454 |
| 1454 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1455 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |