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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_frame_view.h

Issue 8776035: Add PanelOverflowStrip to handle panel overflow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prepare for final landing Created 9 years 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/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_frame_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) 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_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // Returns the height of the entire nonclient top border, including the window 49 // Returns the height of the entire nonclient top border, including the window
50 // frame, any title area, and any connected client edge. 50 // frame, any title area, and any connected client edge.
51 int NonClientTopBorderHeight() const; 51 int NonClientTopBorderHeight() const;
52 52
53 // Returns the size of the non-client area, that is, the window size minus 53 // Returns the size of the non-client area, that is, the window size minus
54 // the size of the client area. 54 // the size of the client area.
55 gfx::Size NonClientAreaSize() const; 55 gfx::Size NonClientAreaSize() const;
56 56
57 // Returns the size of the non-client area upon which only the title icon 57 // Returns the size of the non-client area upon which only the title icon
58 // is drawn. 58 // is drawn.
59 gfx::Size IconifiedSize() const; 59 gfx::Size IconOnlySize() const;
60 60
61 protected: 61 protected:
62 // Overridden from BrowserNonClientFrameView: 62 // Overridden from BrowserNonClientFrameView:
63 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 63 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
64 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE; 64 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const OVERRIDE;
65 virtual void UpdateThrobber(bool running) OVERRIDE; 65 virtual void UpdateThrobber(bool running) OVERRIDE;
66 66
67 // Overridden from views::NonClientFrameView: 67 // Overridden from views::NonClientFrameView:
68 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 68 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE;
69 virtual gfx::Rect GetWindowBoundsForClientBounds( 69 virtual gfx::Rect GetWindowBoundsForClientBounds(
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // Used to animate the visibility change of settings button. 202 // Used to animate the visibility change of settings button.
203 scoped_ptr<ui::SlideAnimation> settings_button_animator_; 203 scoped_ptr<ui::SlideAnimation> settings_button_animator_;
204 gfx::Rect settings_button_full_bounds_; 204 gfx::Rect settings_button_full_bounds_;
205 gfx::Rect settings_button_zero_bounds_; 205 gfx::Rect settings_button_zero_bounds_;
206 bool is_settings_button_visible_; 206 bool is_settings_button_visible_;
207 207
208 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); 208 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView);
209 }; 209 };
210 210
211 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ 211 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698