| 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 DownloadShelf* GetDownloadShelf() override; | 330 DownloadShelf* GetDownloadShelf() override; |
| 331 void ConfirmBrowserCloseWithPendingDownloads( | 331 void ConfirmBrowserCloseWithPendingDownloads( |
| 332 int download_count, | 332 int download_count, |
| 333 Browser::DownloadClosePreventionType dialog_type, | 333 Browser::DownloadClosePreventionType dialog_type, |
| 334 bool app_modal, | 334 bool app_modal, |
| 335 const base::Callback<void(bool)>& callback) override; | 335 const base::Callback<void(bool)>& callback) override; |
| 336 void UserChangedTheme() override; | 336 void UserChangedTheme() override; |
| 337 void ShowWebsiteSettings( | 337 void ShowWebsiteSettings( |
| 338 Profile* profile, | 338 Profile* profile, |
| 339 content::WebContents* web_contents, | 339 content::WebContents* web_contents, |
| 340 const GURL& url, | 340 const GURL& virtual_url, |
| 341 const security_state::SecurityStateModel::SecurityInfo& security_info) | 341 const security_state::SecurityStateModel::SecurityInfo& security_info) |
| 342 override; | 342 override; |
| 343 void ShowAppMenu() override; | 343 void ShowAppMenu() override; |
| 344 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, | 344 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, |
| 345 bool* is_keyboard_shortcut) override; | 345 bool* is_keyboard_shortcut) override; |
| 346 void HandleKeyboardEvent( | 346 void HandleKeyboardEvent( |
| 347 const content::NativeWebKeyboardEvent& event) override; | 347 const content::NativeWebKeyboardEvent& event) override; |
| 348 void CutCopyPaste(int command_id) override; | 348 void CutCopyPaste(int command_id) override; |
| 349 WindowOpenDisposition GetDispositionForPopupBounds( | 349 WindowOpenDisposition GetDispositionForPopupBounds( |
| 350 const gfx::Rect& bounds) override; | 350 const gfx::Rect& bounds) override; |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 // The class that registers for keyboard shortcuts for extension commands. | 695 // The class that registers for keyboard shortcuts for extension commands. |
| 696 std::unique_ptr<ExtensionKeybindingRegistryViews> | 696 std::unique_ptr<ExtensionKeybindingRegistryViews> |
| 697 extension_keybinding_registry_; | 697 extension_keybinding_registry_; |
| 698 | 698 |
| 699 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 699 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 700 | 700 |
| 701 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 701 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 702 }; | 702 }; |
| 703 | 703 |
| 704 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 704 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |