| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) | 302 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) |
| 303 OVERRIDE; | 303 OVERRIDE; |
| 304 // TODO(beng): Not an override, move somewhere else. | 304 // TODO(beng): Not an override, move somewhere else. |
| 305 void SetDownloadShelfVisible(bool visible); | 305 void SetDownloadShelfVisible(bool visible); |
| 306 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 306 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
| 307 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 307 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 308 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; | 308 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) OVERRIDE; |
| 309 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) OVERRIDE; | 309 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) OVERRIDE; |
| 310 virtual void ShowThemeInstallBubble() OVERRIDE; | 310 virtual void ShowThemeInstallBubble() OVERRIDE; |
| 311 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; | 311 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; |
| 312 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, | 312 virtual gfx::NativeWindow ShowHTMLDialog( |
| 313 gfx::NativeWindow parent_window) OVERRIDE; | 313 HtmlDialogUIDelegate* delegate, |
| 314 gfx::NativeWindow parent_window) OVERRIDE; |
| 314 virtual void UserChangedTheme() OVERRIDE; | 315 virtual void UserChangedTheme() OVERRIDE; |
| 315 virtual int GetExtraRenderViewHeight() const OVERRIDE; | 316 virtual int GetExtraRenderViewHeight() const OVERRIDE; |
| 316 virtual void TabContentsFocused(TabContents* source) OVERRIDE; | 317 virtual void TabContentsFocused(TabContents* source) OVERRIDE; |
| 317 virtual void ShowPageInfo(Profile* profile, | 318 virtual void ShowPageInfo(Profile* profile, |
| 318 const GURL& url, | 319 const GURL& url, |
| 319 const NavigationEntry::SSLStatus& ssl, | 320 const NavigationEntry::SSLStatus& ssl, |
| 320 bool show_history) OVERRIDE; | 321 bool show_history) OVERRIDE; |
| 321 virtual void ShowAppMenu() OVERRIDE; | 322 virtual void ShowAppMenu() OVERRIDE; |
| 322 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 323 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 323 bool* is_keyboard_shortcut) OVERRIDE; | 324 bool* is_keyboard_shortcut) OVERRIDE; |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 | 729 |
| 729 NotificationRegistrar registrar_; | 730 NotificationRegistrar registrar_; |
| 730 | 731 |
| 731 // Used to measure the loading spinner animation rate. | 732 // Used to measure the loading spinner animation rate. |
| 732 base::TimeTicks last_animation_time_; | 733 base::TimeTicks last_animation_time_; |
| 733 | 734 |
| 734 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 735 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 735 }; | 736 }; |
| 736 | 737 |
| 737 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 738 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |