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

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

Issue 12036075: alternate ntp: fix website page jankiness when suggestions show and top bars are hidden (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed mechanism to receive PreviewStateChanged Created 7 years, 10 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/browser.cc ('k') | chrome/browser/ui/views/frame/browser_view_layout.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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // background image over that view. 154 // background image over that view.
155 gfx::Point OffsetPointForToolbarBackgroundImage( 155 gfx::Point OffsetPointForToolbarBackgroundImage(
156 const gfx::Point& point) const; 156 const gfx::Point& point) const;
157 157
158 // Accessor for the TabStrip. 158 // Accessor for the TabStrip.
159 TabStrip* tabstrip() { return tabstrip_; } 159 TabStrip* tabstrip() { return tabstrip_; }
160 160
161 // Accessor for the Toolbar. 161 // Accessor for the Toolbar.
162 ToolbarView* toolbar() { return toolbar_; } 162 ToolbarView* toolbar() { return toolbar_; }
163 163
164 // Accessor for the InfobarContainer.
165 InfoBarContainerView* infobar_container() { return infobar_container_; }
166
164 // Returns true if various window components are visible. 167 // Returns true if various window components are visible.
165 virtual bool IsTabStripVisible() const; 168 virtual bool IsTabStripVisible() const;
166 169
167 // Returns true if the profile associated with this Browser window is 170 // Returns true if the profile associated with this Browser window is
168 // incognito. 171 // incognito.
169 bool IsOffTheRecord() const; 172 bool IsOffTheRecord() const;
170 173
171 // Returns true if the profile associated with this Browser window is 174 // Returns true if the profile associated with this Browser window is
172 // a guest session. 175 // a guest session.
173 bool IsGuestSession() const; 176 bool IsGuestSession() const;
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 gfx::ScopedSysColorChangeListener color_change_listener_; 752 gfx::ScopedSysColorChangeListener color_change_listener_;
750 753
751 scoped_ptr<InstantPreviewControllerViews> preview_controller_; 754 scoped_ptr<InstantPreviewControllerViews> preview_controller_;
752 755
753 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 756 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
754 757
755 DISALLOW_COPY_AND_ASSIGN(BrowserView); 758 DISALLOW_COPY_AND_ASSIGN(BrowserView);
756 }; 759 };
757 760
758 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 761 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/views/frame/browser_view_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698