| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 | 956 |
| 957 // Updates commands when the content's restrictions change. | 957 // Updates commands when the content's restrictions change. |
| 958 void UpdateCommandsForContentRestrictionState(); | 958 void UpdateCommandsForContentRestrictionState(); |
| 959 | 959 |
| 960 // Updates commands for enabling developer tools. | 960 // Updates commands for enabling developer tools. |
| 961 void UpdateCommandsForDevTools(); | 961 void UpdateCommandsForDevTools(); |
| 962 | 962 |
| 963 // Updates commands for bookmark editing. | 963 // Updates commands for bookmark editing. |
| 964 void UpdateCommandsForBookmarkEditing(); | 964 void UpdateCommandsForBookmarkEditing(); |
| 965 | 965 |
| 966 // Updates commands that affect the bookmark bar. |
| 967 void UpdateCommandsForBookmarkBar(); |
| 968 |
| 966 // Update commands whose state depends on whether the window is in fullscreen | 969 // Update commands whose state depends on whether the window is in fullscreen |
| 967 // mode. | 970 // mode. |
| 968 void UpdateCommandsForFullscreenMode(bool is_fullscreen); | 971 void UpdateCommandsForFullscreenMode(bool is_fullscreen); |
| 969 | 972 |
| 970 // Updates the printing command state. | 973 // Updates the printing command state. |
| 971 void UpdatePrintingState(int content_restrictions); | 974 void UpdatePrintingState(int content_restrictions); |
| 972 | 975 |
| 973 // Updates the save-page-as command state. | 976 // Updates the save-page-as command state. |
| 974 void UpdateSaveAsState(int content_restrictions); | 977 void UpdateSaveAsState(int content_restrictions); |
| 975 | 978 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1283 | 1286 |
| 1284 scoped_ptr<InstantController> instant_; | 1287 scoped_ptr<InstantController> instant_; |
| 1285 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1288 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
| 1286 | 1289 |
| 1287 BookmarkBar::State bookmark_bar_state_; | 1290 BookmarkBar::State bookmark_bar_state_; |
| 1288 | 1291 |
| 1289 DISALLOW_COPY_AND_ASSIGN(Browser); | 1292 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1290 }; | 1293 }; |
| 1291 | 1294 |
| 1292 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1295 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |