| 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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 | 1011 |
| 1012 // Updates commands for enabling developer tools. | 1012 // Updates commands for enabling developer tools. |
| 1013 void UpdateCommandsForDevTools(); | 1013 void UpdateCommandsForDevTools(); |
| 1014 | 1014 |
| 1015 // Updates commands for bookmark editing. | 1015 // Updates commands for bookmark editing. |
| 1016 void UpdateCommandsForBookmarkEditing(); | 1016 void UpdateCommandsForBookmarkEditing(); |
| 1017 | 1017 |
| 1018 // Updates commands that affect the bookmark bar. | 1018 // Updates commands that affect the bookmark bar. |
| 1019 void UpdateCommandsForBookmarkBar(); | 1019 void UpdateCommandsForBookmarkBar(); |
| 1020 | 1020 |
| 1021 // Set the preference that indicates that the home page has been changed. |
| 1022 void MarkHomePageAsChanged(PrefService* pref_service); |
| 1023 |
| 1021 // Update commands whose state depends on whether the window is in fullscreen | 1024 // Update commands whose state depends on whether the window is in fullscreen |
| 1022 // mode. | 1025 // mode. |
| 1023 void UpdateCommandsForFullscreenMode(bool is_fullscreen); | 1026 void UpdateCommandsForFullscreenMode(bool is_fullscreen); |
| 1024 | 1027 |
| 1025 // Updates the printing command state. | 1028 // Updates the printing command state. |
| 1026 void UpdatePrintingState(int content_restrictions); | 1029 void UpdatePrintingState(int content_restrictions); |
| 1027 | 1030 |
| 1028 // Updates the save-page-as command state. | 1031 // Updates the save-page-as command state. |
| 1029 void UpdateSaveAsState(int content_restrictions); | 1032 void UpdateSaveAsState(int content_restrictions); |
| 1030 | 1033 |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1375 // Tab to notify when the browser exits fullscreen mode. | 1378 // Tab to notify when the browser exits fullscreen mode. |
| 1376 TabContentsWrapper* fullscreened_tab_; | 1379 TabContentsWrapper* fullscreened_tab_; |
| 1377 | 1380 |
| 1378 // True if the current tab is in fullscreen mode. | 1381 // True if the current tab is in fullscreen mode. |
| 1379 bool tab_caused_fullscreen_; | 1382 bool tab_caused_fullscreen_; |
| 1380 | 1383 |
| 1381 DISALLOW_COPY_AND_ASSIGN(Browser); | 1384 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1382 }; | 1385 }; |
| 1383 | 1386 |
| 1384 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1387 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |