| 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_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 // TODO(beng): Not an override, move somewhere else. | 334 // TODO(beng): Not an override, move somewhere else. |
| 335 void SetDownloadShelfVisible(bool visible); | 335 void SetDownloadShelfVisible(bool visible); |
| 336 bool IsDownloadShelfVisible() const override; | 336 bool IsDownloadShelfVisible() const override; |
| 337 DownloadShelf* GetDownloadShelf() override; | 337 DownloadShelf* GetDownloadShelf() override; |
| 338 void ConfirmBrowserCloseWithPendingDownloads( | 338 void ConfirmBrowserCloseWithPendingDownloads( |
| 339 int download_count, | 339 int download_count, |
| 340 Browser::DownloadClosePreventionType dialog_type, | 340 Browser::DownloadClosePreventionType dialog_type, |
| 341 bool app_modal, | 341 bool app_modal, |
| 342 const base::Callback<void(bool)>& callback) override; | 342 const base::Callback<void(bool)>& callback) override; |
| 343 void UserChangedTheme() override; | 343 void UserChangedTheme() override; |
| 344 void ShowWebsiteSettings( | 344 void ShowPageInfo(Profile* profile, |
| 345 Profile* profile, | 345 content::WebContents* web_contents, |
| 346 content::WebContents* web_contents, | 346 const GURL& virtual_url, |
| 347 const GURL& virtual_url, | 347 const security_state::SecurityInfo& security_info) override; |
| 348 const security_state::SecurityInfo& security_info) override; | |
| 349 void ShowAppMenu() override; | 348 void ShowAppMenu() override; |
| 350 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( | 349 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( |
| 351 const content::NativeWebKeyboardEvent& event) override; | 350 const content::NativeWebKeyboardEvent& event) override; |
| 352 void HandleKeyboardEvent( | 351 void HandleKeyboardEvent( |
| 353 const content::NativeWebKeyboardEvent& event) override; | 352 const content::NativeWebKeyboardEvent& event) override; |
| 354 void CutCopyPaste(int command_id) override; | 353 void CutCopyPaste(int command_id) override; |
| 355 WindowOpenDisposition GetDispositionForPopupBounds( | 354 WindowOpenDisposition GetDispositionForPopupBounds( |
| 356 const gfx::Rect& bounds) override; | 355 const gfx::Rect& bounds) override; |
| 357 FindBar* CreateFindBar() override; | 356 FindBar* CreateFindBar() override; |
| 358 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 357 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 // The class that registers for keyboard shortcuts for extension commands. | 713 // The class that registers for keyboard shortcuts for extension commands. |
| 715 std::unique_ptr<ExtensionKeybindingRegistryViews> | 714 std::unique_ptr<ExtensionKeybindingRegistryViews> |
| 716 extension_keybinding_registry_; | 715 extension_keybinding_registry_; |
| 717 | 716 |
| 718 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 717 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 719 | 718 |
| 720 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 719 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 721 }; | 720 }; |
| 722 | 721 |
| 723 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 722 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |