| 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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 virtual bool IsApplication() const OVERRIDE; | 853 virtual bool IsApplication() const OVERRIDE; |
| 854 virtual void ConvertContentsToApplication(TabContents* source) OVERRIDE; | 854 virtual void ConvertContentsToApplication(TabContents* source) OVERRIDE; |
| 855 virtual void BeforeUnloadFired(TabContents* source, | 855 virtual void BeforeUnloadFired(TabContents* source, |
| 856 bool proceed, | 856 bool proceed, |
| 857 bool* proceed_to_fire_unload) OVERRIDE; | 857 bool* proceed_to_fire_unload) OVERRIDE; |
| 858 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 858 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
| 859 virtual void RenderWidgetShowing() OVERRIDE; | 859 virtual void RenderWidgetShowing() OVERRIDE; |
| 860 virtual int GetExtraRenderViewHeight() const OVERRIDE; | 860 virtual int GetExtraRenderViewHeight() const OVERRIDE; |
| 861 virtual void OnStartDownload(TabContents* source, | 861 virtual void OnStartDownload(TabContents* source, |
| 862 DownloadItem* download) OVERRIDE; | 862 DownloadItem* download) OVERRIDE; |
| 863 virtual void ShowPageInfo(Profile* profile, | 863 virtual void ShowPageInfo(content::BrowserContext* browser_context, |
| 864 const GURL& url, | 864 const GURL& url, |
| 865 const NavigationEntry::SSLStatus& ssl, | 865 const NavigationEntry::SSLStatus& ssl, |
| 866 bool show_history) OVERRIDE; | 866 bool show_history) OVERRIDE; |
| 867 virtual void ViewSourceForTab(TabContents* source, | 867 virtual void ViewSourceForTab(TabContents* source, |
| 868 const GURL& page_url) OVERRIDE; | 868 const GURL& page_url) OVERRIDE; |
| 869 virtual void ViewSourceForFrame( | 869 virtual void ViewSourceForFrame( |
| 870 TabContents* source, | 870 TabContents* source, |
| 871 const GURL& frame_url, | 871 const GURL& frame_url, |
| 872 const std::string& frame_content_state) OVERRIDE; | 872 const std::string& frame_content_state) OVERRIDE; |
| 873 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 873 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1271 | 1271 |
| 1272 scoped_ptr<InstantController> instant_; | 1272 scoped_ptr<InstantController> instant_; |
| 1273 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1273 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
| 1274 | 1274 |
| 1275 BookmarkBar::State bookmark_bar_state_; | 1275 BookmarkBar::State bookmark_bar_state_; |
| 1276 | 1276 |
| 1277 DISALLOW_COPY_AND_ASSIGN(Browser); | 1277 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1278 }; | 1278 }; |
| 1279 | 1279 |
| 1280 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1280 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |