| 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 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 965 virtual void ViewSourceForTab(TabContents* source, | 965 virtual void ViewSourceForTab(TabContents* source, |
| 966 const GURL& page_url) OVERRIDE; | 966 const GURL& page_url) OVERRIDE; |
| 967 virtual void ViewSourceForFrame( | 967 virtual void ViewSourceForFrame( |
| 968 TabContents* source, | 968 TabContents* source, |
| 969 const GURL& frame_url, | 969 const GURL& frame_url, |
| 970 const std::string& frame_content_state) OVERRIDE; | 970 const std::string& frame_content_state) OVERRIDE; |
| 971 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 971 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 972 bool* is_keyboard_shortcut) OVERRIDE; | 972 bool* is_keyboard_shortcut) OVERRIDE; |
| 973 virtual void HandleKeyboardEvent( | 973 virtual void HandleKeyboardEvent( |
| 974 const NativeWebKeyboardEvent& event) OVERRIDE; | 974 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 975 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; | 975 virtual void ShowTabModalDialog(TabModalDialogDelegate* delegate, |
| 976 TabContents* tab_contents) OVERRIDE; |
| 976 virtual bool ShouldAddNavigationToHistory( | 977 virtual bool ShouldAddNavigationToHistory( |
| 977 const history::HistoryAddPageArgs& add_page_args, | 978 const history::HistoryAddPageArgs& add_page_args, |
| 978 content::NavigationType navigation_type) OVERRIDE; | 979 content::NavigationType navigation_type) OVERRIDE; |
| 979 virtual void TabContentsCreated(TabContents* new_contents) OVERRIDE; | 980 virtual void TabContentsCreated(TabContents* new_contents) OVERRIDE; |
| 980 virtual void ContentRestrictionsChanged(TabContents* source) OVERRIDE; | 981 virtual void ContentRestrictionsChanged(TabContents* source) OVERRIDE; |
| 981 virtual void RendererUnresponsive(TabContents* source) OVERRIDE; | 982 virtual void RendererUnresponsive(TabContents* source) OVERRIDE; |
| 982 virtual void RendererResponsive(TabContents* source) OVERRIDE; | 983 virtual void RendererResponsive(TabContents* source) OVERRIDE; |
| 983 virtual void WorkerCrashed(TabContents* source) OVERRIDE; | 984 virtual void WorkerCrashed(TabContents* source) OVERRIDE; |
| 984 virtual void DidNavigateMainFramePostCommit(TabContents* tab) OVERRIDE; | 985 virtual void DidNavigateMainFramePostCommit(TabContents* tab) OVERRIDE; |
| 985 virtual void DidNavigateToPendingEntry(TabContents* tab) OVERRIDE; | 986 virtual void DidNavigateToPendingEntry(TabContents* tab) OVERRIDE; |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1428 | 1429 |
| 1429 scoped_refptr<FullscreenController> fullscreen_controller_; | 1430 scoped_refptr<FullscreenController> fullscreen_controller_; |
| 1430 | 1431 |
| 1431 // True if the browser window has been shown at least once. | 1432 // True if the browser window has been shown at least once. |
| 1432 bool window_has_shown_; | 1433 bool window_has_shown_; |
| 1433 | 1434 |
| 1434 DISALLOW_COPY_AND_ASSIGN(Browser); | 1435 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1435 }; | 1436 }; |
| 1436 | 1437 |
| 1437 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1438 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |