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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // view: http://dev.chromium.org/developers/design-documents/browser-window | 46 // view: http://dev.chromium.org/developers/design-documents/browser-window |
47 | 47 |
48 class BookmarkBarView; | 48 class BookmarkBarView; |
49 class Browser; | 49 class Browser; |
50 class BrowserViewLayout; | 50 class BrowserViewLayout; |
51 class ContentsLayoutManager; | 51 class ContentsLayoutManager; |
52 class DownloadShelfView; | 52 class DownloadShelfView; |
53 class ExclusiveAccessBubbleViews; | 53 class ExclusiveAccessBubbleViews; |
54 class InfoBarContainerView; | 54 class InfoBarContainerView; |
55 class LocationBarView; | 55 class LocationBarView; |
| 56 class NewBackShortcutBubble; |
56 class StatusBubbleViews; | 57 class StatusBubbleViews; |
57 class TabStrip; | 58 class TabStrip; |
58 class ToolbarView; | 59 class ToolbarView; |
59 class TopContainerView; | 60 class TopContainerView; |
60 class WebContentsCloseHandler; | 61 class WebContentsCloseHandler; |
61 | 62 |
62 #if defined(OS_WIN) | 63 #if defined(OS_WIN) |
63 class JumpList; | 64 class JumpList; |
64 #endif | 65 #endif |
65 | 66 |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 ExclusiveAccessBubbleType bubble_type, | 283 ExclusiveAccessBubbleType bubble_type, |
283 bool with_toolbar) override; | 284 bool with_toolbar) override; |
284 void ExitFullscreen() override; | 285 void ExitFullscreen() override; |
285 void UpdateExclusiveAccessExitBubbleContent( | 286 void UpdateExclusiveAccessExitBubbleContent( |
286 const GURL& url, | 287 const GURL& url, |
287 ExclusiveAccessBubbleType bubble_type) override; | 288 ExclusiveAccessBubbleType bubble_type) override; |
288 void OnExclusiveAccessUserInput() override; | 289 void OnExclusiveAccessUserInput() override; |
289 bool ShouldHideUIForFullscreen() const override; | 290 bool ShouldHideUIForFullscreen() const override; |
290 bool IsFullscreen() const override; | 291 bool IsFullscreen() const override; |
291 bool IsFullscreenBubbleVisible() const override; | 292 bool IsFullscreenBubbleVisible() const override; |
| 293 void ShowNewBackShortcutBubble(bool forward) override; |
292 LocationBar* GetLocationBar() const override; | 294 LocationBar* GetLocationBar() const override; |
293 void SetFocusToLocationBar(bool select_all) override; | 295 void SetFocusToLocationBar(bool select_all) override; |
294 void UpdateReloadStopState(bool is_loading, bool force) override; | 296 void UpdateReloadStopState(bool is_loading, bool force) override; |
295 void UpdateToolbar(content::WebContents* contents) override; | 297 void UpdateToolbar(content::WebContents* contents) override; |
296 void ResetToolbarTabState(content::WebContents* contents) override; | 298 void ResetToolbarTabState(content::WebContents* contents) override; |
297 void FocusToolbar() override; | 299 void FocusToolbar() override; |
298 ToolbarActionsBar* GetToolbarActionsBar() override; | 300 ToolbarActionsBar* GetToolbarActionsBar() override; |
299 void ToolbarSizeChanged(bool is_animating) override; | 301 void ToolbarSizeChanged(bool is_animating) override; |
300 void FocusAppMenu() override; | 302 void FocusAppMenu() override; |
301 void FocusBookmarksToolbar() override; | 303 void FocusBookmarksToolbar() override; |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 // OnThemeChanged()). | 663 // OnThemeChanged()). |
662 bool handling_theme_changed_; | 664 bool handling_theme_changed_; |
663 | 665 |
664 // True when in ProcessFullscreen(). The flag is used to avoid reentrance and | 666 // True when in ProcessFullscreen(). The flag is used to avoid reentrance and |
665 // to ignore requests to layout while in ProcessFullscreen() to reduce | 667 // to ignore requests to layout while in ProcessFullscreen() to reduce |
666 // jankiness. | 668 // jankiness. |
667 bool in_process_fullscreen_; | 669 bool in_process_fullscreen_; |
668 | 670 |
669 std::unique_ptr<ExclusiveAccessBubbleViews> exclusive_access_bubble_; | 671 std::unique_ptr<ExclusiveAccessBubbleViews> exclusive_access_bubble_; |
670 | 672 |
| 673 std::unique_ptr<NewBackShortcutBubble> new_back_shortcut_bubble_; |
| 674 |
671 #if defined(OS_WIN) | 675 #if defined(OS_WIN) |
672 // Helper class to listen for completion of first page load. | 676 // Helper class to listen for completion of first page load. |
673 std::unique_ptr<LoadCompleteListener> load_complete_listener_; | 677 std::unique_ptr<LoadCompleteListener> load_complete_listener_; |
674 | 678 |
675 // The custom JumpList for Windows 7. | 679 // The custom JumpList for Windows 7. |
676 scoped_refptr<JumpList> jumplist_; | 680 scoped_refptr<JumpList> jumplist_; |
677 #endif | 681 #endif |
678 | 682 |
679 // The timer used to update frames for the Loading Animation. | 683 // The timer used to update frames for the Loading Animation. |
680 base::RepeatingTimer loading_animation_timer_; | 684 base::RepeatingTimer loading_animation_timer_; |
(...skipping 13 matching lines...) Expand all Loading... |
694 // The class that registers for keyboard shortcuts for extension commands. | 698 // The class that registers for keyboard shortcuts for extension commands. |
695 std::unique_ptr<ExtensionKeybindingRegistryViews> | 699 std::unique_ptr<ExtensionKeybindingRegistryViews> |
696 extension_keybinding_registry_; | 700 extension_keybinding_registry_; |
697 | 701 |
698 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 702 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
699 | 703 |
700 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 704 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
701 }; | 705 }; |
702 | 706 |
703 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 707 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |