| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 const GURL& frame_url, | 973 const GURL& frame_url, |
| 974 const std::string& frame_content_state) OVERRIDE; | 974 const std::string& frame_content_state) OVERRIDE; |
| 975 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 975 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 976 bool* is_keyboard_shortcut) OVERRIDE; | 976 bool* is_keyboard_shortcut) OVERRIDE; |
| 977 virtual void HandleKeyboardEvent( | 977 virtual void HandleKeyboardEvent( |
| 978 const NativeWebKeyboardEvent& event) OVERRIDE; | 978 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 979 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; | 979 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; |
| 980 virtual bool ShouldAddNavigationToHistory( | 980 virtual bool ShouldAddNavigationToHistory( |
| 981 const history::HistoryAddPageArgs& add_page_args, | 981 const history::HistoryAddPageArgs& add_page_args, |
| 982 content::NavigationType navigation_type) OVERRIDE; | 982 content::NavigationType navigation_type) OVERRIDE; |
| 983 virtual void TabContentsCreated(TabContents* new_contents) OVERRIDE; |
| 983 virtual void ContentRestrictionsChanged(TabContents* source) OVERRIDE; | 984 virtual void ContentRestrictionsChanged(TabContents* source) OVERRIDE; |
| 984 virtual void RendererUnresponsive(TabContents* source) OVERRIDE; | 985 virtual void RendererUnresponsive(TabContents* source) OVERRIDE; |
| 985 virtual void RendererResponsive(TabContents* source) OVERRIDE; | 986 virtual void RendererResponsive(TabContents* source) OVERRIDE; |
| 986 virtual void WorkerCrashed(TabContents* source) OVERRIDE; | 987 virtual void WorkerCrashed(TabContents* source) OVERRIDE; |
| 987 virtual void DidNavigateMainFramePostCommit(TabContents* tab) OVERRIDE; | 988 virtual void DidNavigateMainFramePostCommit(TabContents* tab) OVERRIDE; |
| 988 virtual void DidNavigateToPendingEntry(TabContents* tab) OVERRIDE; | 989 virtual void DidNavigateToPendingEntry(TabContents* tab) OVERRIDE; |
| 989 virtual content::JavaScriptDialogCreator* | 990 virtual content::JavaScriptDialogCreator* |
| 990 GetJavaScriptDialogCreator() OVERRIDE; | 991 GetJavaScriptDialogCreator() OVERRIDE; |
| 991 virtual void RunFileChooser( | 992 virtual void RunFileChooser( |
| 992 TabContents* tab, | 993 TabContents* tab, |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1455 | 1456 |
| 1456 MouseLockState mouse_lock_state_; | 1457 MouseLockState mouse_lock_state_; |
| 1457 | 1458 |
| 1458 // True if the browser window has been shown at least once. | 1459 // True if the browser window has been shown at least once. |
| 1459 bool window_has_shown_; | 1460 bool window_has_shown_; |
| 1460 | 1461 |
| 1461 DISALLOW_COPY_AND_ASSIGN(Browser); | 1462 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1462 }; | 1463 }; |
| 1463 | 1464 |
| 1464 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1465 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |