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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
393 // in |SupportsWindowFeature| for details on this. | 393 // in |SupportsWindowFeature| for details on this. |
394 bool CanSupportWindowFeature(WindowFeature feature) const; | 394 bool CanSupportWindowFeature(WindowFeature feature) const; |
395 | 395 |
396 // TODO(port): port these, and re-merge the two function declaration lists. | 396 // TODO(port): port these, and re-merge the two function declaration lists. |
397 // Page-related commands. | 397 // Page-related commands. |
398 void ToggleEncodingAutoDetect(); | 398 void ToggleEncodingAutoDetect(); |
399 void OverrideEncoding(int encoding_id); | 399 void OverrideEncoding(int encoding_id); |
400 | 400 |
401 // Show various bits of UI | 401 // Show various bits of UI |
402 void OpenFile(); | 402 void OpenFile(); |
403 // Close the file dialog for BrowserViewFocusTest.BrowserDialogModalTest. | |
404 void CloseFileDialog(); | |
msw
2015/09/23 17:12:21
Adding public API to Browser (especially test-spec
| |
403 | 405 |
404 void UpdateDownloadShelfVisibility(bool visible); | 406 void UpdateDownloadShelfVisibility(bool visible); |
405 | 407 |
406 ///////////////////////////////////////////////////////////////////////////// | 408 ///////////////////////////////////////////////////////////////////////////// |
407 | 409 |
408 // Called by chrome::Navigate() when a navigation has occurred in a tab in | 410 // Called by chrome::Navigate() when a navigation has occurred in a tab in |
409 // this Browser. Updates the UI for the start of this navigation. | 411 // this Browser. Updates the UI for the start of this navigation. |
410 void UpdateUIForNavigationInTab(content::WebContents* contents, | 412 void UpdateUIForNavigationInTab(content::WebContents* contents, |
411 ui::PageTransition transition, | 413 ui::PageTransition transition, |
412 bool user_initiated); | 414 bool user_initiated); |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
983 // The following factory is used for chrome update coalescing. | 985 // The following factory is used for chrome update coalescing. |
984 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 986 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
985 | 987 |
986 // The following factory is used to close the frame at a later time. | 988 // The following factory is used to close the frame at a later time. |
987 base::WeakPtrFactory<Browser> weak_factory_; | 989 base::WeakPtrFactory<Browser> weak_factory_; |
988 | 990 |
989 DISALLOW_COPY_AND_ASSIGN(Browser); | 991 DISALLOW_COPY_AND_ASSIGN(Browser); |
990 }; | 992 }; |
991 | 993 |
992 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 994 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |