Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chrome/browser/lifetime/browser_close_manager.h" | 10 #include "chrome/browser/lifetime/browser_close_manager.h" |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 286 virtual void ConfirmBrowserCloseWithPendingDownloads( | 286 virtual void ConfirmBrowserCloseWithPendingDownloads( |
| 287 int download_count, | 287 int download_count, |
| 288 Browser::DownloadClosePreventionType dialog_type, | 288 Browser::DownloadClosePreventionType dialog_type, |
| 289 bool app_modal, | 289 bool app_modal, |
| 290 const base::Callback<void(bool)>& callback) = 0; | 290 const base::Callback<void(bool)>& callback) = 0; |
| 291 | 291 |
| 292 // ThemeService calls this when a user has changed their theme, indicating | 292 // ThemeService calls this when a user has changed their theme, indicating |
| 293 // that it's time to redraw everything. | 293 // that it's time to redraw everything. |
| 294 virtual void UserChangedTheme() = 0; | 294 virtual void UserChangedTheme() = 0; |
| 295 | 295 |
| 296 // Shows the website settings using the specified information. |virtual_url| | 296 // Shows the website settings using the specified information. |virtual_url| |
|
msw
2017/03/24 16:25:00
nit: update
lgarron
2017/03/24 18:40:19
Done.
| |
| 297 // is the virtual url of the page/frame the info applies to, |ssl| is the SSL | 297 // is the virtual url of the page/frame the info applies to, |ssl| is the SSL |
| 298 // information for that page/frame. If |show_history| is true, a section | 298 // information for that page/frame. If |show_history| is true, a section |
| 299 // showing how many times that URL has been visited is added to the page info. | 299 // showing how many times that URL has been visited is added to the page info. |
| 300 virtual void ShowWebsiteSettings( | 300 virtual void ShowPageInfo( |
| 301 Profile* profile, | 301 Profile* profile, |
| 302 content::WebContents* web_contents, | 302 content::WebContents* web_contents, |
| 303 const GURL& virtual_url, | 303 const GURL& virtual_url, |
| 304 const security_state::SecurityInfo& security_info) = 0; | 304 const security_state::SecurityInfo& security_info) = 0; |
| 305 | 305 |
| 306 // Shows the app menu (for accessibility). | 306 // Shows the app menu (for accessibility). |
| 307 virtual void ShowAppMenu() = 0; | 307 virtual void ShowAppMenu() = 0; |
| 308 | 308 |
| 309 // Allows the BrowserWindow object to handle the specified keyboard event | 309 // Allows the BrowserWindow object to handle the specified keyboard event |
| 310 // before sending it to the renderer. | 310 // before sending it to the renderer. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 383 virtual std::string GetWorkspace() const = 0; | 383 virtual std::string GetWorkspace() const = 0; |
| 384 virtual bool IsVisibleOnAllWorkspaces() const = 0; | 384 virtual bool IsVisibleOnAllWorkspaces() const = 0; |
| 385 | 385 |
| 386 protected: | 386 protected: |
| 387 friend class BrowserCloseManager; | 387 friend class BrowserCloseManager; |
| 388 friend class BrowserView; | 388 friend class BrowserView; |
| 389 virtual void DestroyBrowser() = 0; | 389 virtual void DestroyBrowser() = 0; |
| 390 }; | 390 }; |
| 391 | 391 |
| 392 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 392 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |