Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 10854017: Basic metro snap view omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compilation. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view.h ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 // or is bookmark_bar_view_ if the bookmark bar is showing. 615 // or is bookmark_bar_view_ if the bookmark bar is showing.
616 views::View* active_bookmark_bar_; 616 views::View* active_bookmark_bar_;
617 617
618 // The TabStrip. 618 // The TabStrip.
619 TabStrip* tabstrip_; 619 TabStrip* tabstrip_;
620 620
621 // The Toolbar containing the navigation buttons, menus and the address bar. 621 // The Toolbar containing the navigation buttons, menus and the address bar.
622 ToolbarView* toolbar_; 622 ToolbarView* toolbar_;
623 623
624 // This button sits next to the tabs on the right hand side and it is used 624 // This button sits next to the tabs on the right hand side and it is used
625 // only in windows metro metro mode to allow the user to flip among browser 625 // only in windows metro mode to allow the user to flip among browser windows.
626 // windows.
627 views::Button* window_switcher_button_; 626 views::Button* window_switcher_button_;
628 627
629 // The Bookmark Bar View for this window. Lazily created. 628 // The Bookmark Bar View for this window. Lazily created.
630 scoped_ptr<BookmarkBarView> bookmark_bar_view_; 629 scoped_ptr<BookmarkBarView> bookmark_bar_view_;
631 630
632 // The download shelf view (view at the bottom of the page). 631 // The download shelf view (view at the bottom of the page).
633 scoped_ptr<DownloadShelfView> download_shelf_; 632 scoped_ptr<DownloadShelfView> download_shelf_;
634 633
635 // The InfoBarContainerView that contains InfoBars for the current tab. 634 // The InfoBarContainerView that contains InfoBars for the current tab.
636 InfoBarContainerView* infobar_container_; 635 InfoBarContainerView* infobar_container_;
(...skipping 27 matching lines...) Expand all
664 // A mapping between accelerators and commands. 663 // A mapping between accelerators and commands.
665 std::map<ui::Accelerator, int> accelerator_table_; 664 std::map<ui::Accelerator, int> accelerator_table_;
666 665
667 // True if we have already been initialized. 666 // True if we have already been initialized.
668 bool initialized_; 667 bool initialized_;
669 668
670 // True if we should ignore requests to layout. This is set while toggling 669 // True if we should ignore requests to layout. This is set while toggling
671 // fullscreen mode on and off to reduce jankiness. 670 // fullscreen mode on and off to reduce jankiness.
672 bool ignore_layout_; 671 bool ignore_layout_;
673 672
673 // True if hiding the tab strip regardless of Browser window type. Used
674 // for metro snap view.
675 bool force_hide_tabstrip_;
676
674 scoped_ptr<FullscreenExitBubbleViews> fullscreen_bubble_; 677 scoped_ptr<FullscreenExitBubbleViews> fullscreen_bubble_;
675 678
676 #if defined(OS_WIN) && !defined(USE_AURA) 679 #if defined(OS_WIN) && !defined(USE_AURA)
677 // This object is used to perform periodic actions in a worker 680 // This object is used to perform periodic actions in a worker
678 // thread. It is currently used to monitor hung plugin windows. 681 // thread. It is currently used to monitor hung plugin windows.
679 WorkerThreadTicker ticker_; 682 WorkerThreadTicker ticker_;
680 683
681 // This object is initialized with the frame window HWND. This 684 // This object is initialized with the frame window HWND. This
682 // object is also passed as a tick handler with the ticker_ object. 685 // object is also passed as a tick handler with the ticker_ object.
683 // It is used to periodically monitor for hung plugin windows 686 // It is used to periodically monitor for hung plugin windows
(...skipping 28 matching lines...) Expand all
712 gfx::ScopedSysColorChangeListener color_change_listener_; 715 gfx::ScopedSysColorChangeListener color_change_listener_;
713 716
714 #if defined(USE_AURA) 717 #if defined(USE_AURA)
715 scoped_ptr<SearchViewController> search_view_controller_; 718 scoped_ptr<SearchViewController> search_view_controller_;
716 #endif 719 #endif
717 720
718 DISALLOW_COPY_AND_ASSIGN(BrowserView); 721 DISALLOW_COPY_AND_ASSIGN(BrowserView);
719 }; 722 };
720 723
721 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 724 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view.h ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698