| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 void ConfirmBrowserCloseWithPendingDownloads( | 335 void ConfirmBrowserCloseWithPendingDownloads( |
| 336 int download_count, | 336 int download_count, |
| 337 Browser::DownloadClosePreventionType dialog_type, | 337 Browser::DownloadClosePreventionType dialog_type, |
| 338 bool app_modal, | 338 bool app_modal, |
| 339 const base::Callback<void(bool)>& callback) override; | 339 const base::Callback<void(bool)>& callback) override; |
| 340 void UserChangedTheme() override; | 340 void UserChangedTheme() override; |
| 341 void ShowWebsiteSettings( | 341 void ShowWebsiteSettings( |
| 342 Profile* profile, | 342 Profile* profile, |
| 343 content::WebContents* web_contents, | 343 content::WebContents* web_contents, |
| 344 const GURL& virtual_url, | 344 const GURL& virtual_url, |
| 345 const security_state::SecurityStateModel::SecurityInfo& security_info) | 345 const security_state::SecurityInfo& security_info) override; |
| 346 override; | |
| 347 void ShowAppMenu() override; | 346 void ShowAppMenu() override; |
| 348 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, | 347 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, |
| 349 bool* is_keyboard_shortcut) override; | 348 bool* is_keyboard_shortcut) override; |
| 350 void HandleKeyboardEvent( | 349 void HandleKeyboardEvent( |
| 351 const content::NativeWebKeyboardEvent& event) override; | 350 const content::NativeWebKeyboardEvent& event) override; |
| 352 void CutCopyPaste(int command_id) override; | 351 void CutCopyPaste(int command_id) override; |
| 353 WindowOpenDisposition GetDispositionForPopupBounds( | 352 WindowOpenDisposition GetDispositionForPopupBounds( |
| 354 const gfx::Rect& bounds) override; | 353 const gfx::Rect& bounds) override; |
| 355 FindBar* CreateFindBar() override; | 354 FindBar* CreateFindBar() override; |
| 356 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 355 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 // The class that registers for keyboard shortcuts for extension commands. | 701 // The class that registers for keyboard shortcuts for extension commands. |
| 703 std::unique_ptr<ExtensionKeybindingRegistryViews> | 702 std::unique_ptr<ExtensionKeybindingRegistryViews> |
| 704 extension_keybinding_registry_; | 703 extension_keybinding_registry_; |
| 705 | 704 |
| 706 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 705 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 707 | 706 |
| 708 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 707 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 709 }; | 708 }; |
| 710 | 709 |
| 711 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 710 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |