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

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

Issue 19115003: Make the maximize button more easily hittable when there is a huge amount of tabs present (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 // Retrieves the icon to use in the frame to indicate an OTR window. 226 // Retrieves the icon to use in the frame to indicate an OTR window.
227 gfx::ImageSkia GetOTRAvatarIcon() const; 227 gfx::ImageSkia GetOTRAvatarIcon() const;
228 228
229 // Returns true if the Browser object associated with this BrowserView is a 229 // Returns true if the Browser object associated with this BrowserView is a
230 // tabbed-type window (i.e. a browser window, not an app or popup). 230 // tabbed-type window (i.e. a browser window, not an app or popup).
231 bool IsBrowserTypeNormal() const { 231 bool IsBrowserTypeNormal() const {
232 return browser_->is_type_tabbed(); 232 return browser_->is_type_tabbed();
233 } 233 }
234 234
235 // Returns true if the specified point(BrowserView coordinates) is in
236 // in the window caption area of the browser window.
237 bool IsPositionInWindowCaption(const gfx::Point& point);
238
239 // See ImmersiveModeController for description. 235 // See ImmersiveModeController for description.
240 ImmersiveModeController* immersive_mode_controller() const { 236 ImmersiveModeController* immersive_mode_controller() const {
241 return immersive_mode_controller_.get(); 237 return immersive_mode_controller_.get();
242 } 238 }
243 239
244 // Restores the focused view. This is also used to set the initial focus 240 // Restores the focused view. This is also used to set the initial focus
245 // when a new browser window is created. 241 // when a new browser window is created.
246 void RestoreFocus(); 242 void RestoreFocus();
247 243
248 void SetWindowSwitcherButton(views::Button* button); 244 void SetWindowSwitcherButton(views::Button* button);
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; 757 scoped_ptr<ImmersiveModeController> immersive_mode_controller_;
762 758
763 gfx::ScopedSysColorChangeListener color_change_listener_; 759 gfx::ScopedSysColorChangeListener color_change_listener_;
764 760
765 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 761 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
766 762
767 DISALLOW_COPY_AND_ASSIGN(BrowserView); 763 DISALLOW_COPY_AND_ASSIGN(BrowserView);
768 }; 764 };
769 765
770 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 766 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698