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

Side by Side Diff: chrome/browser/chromeos/frame/normal_browser_frame_view.h

Issue 3167027: Merge 56737 - Fix numerous alignment problems, both horizontal and vertical, ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 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 | « no previous file | chrome/browser/chromeos/frame/normal_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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CHROMEOS_FRAME_NORMAL_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_NORMAL_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_NORMAL_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_NORMAL_BROWSER_FRAME_VIEW_H_
7 7
8 #include "chrome/browser/views/frame/browser_frame.h" 8 #include "chrome/browser/views/frame/browser_frame.h"
9 #include "chrome/browser/views/frame/browser_non_client_frame_view.h" 9 #include "chrome/browser/views/frame/browser_non_client_frame_view.h"
10 #include "chrome/browser/views/tab_icon_view.h" 10 #include "chrome/browser/views/tab_icon_view.h"
(...skipping 15 matching lines...) Expand all
26 26
27 class NormalBrowserFrameView : public BrowserNonClientFrameView, 27 class NormalBrowserFrameView : public BrowserNonClientFrameView,
28 public TabIconView::TabIconViewModel { 28 public TabIconView::TabIconViewModel {
29 public: 29 public:
30 // Constructs a non-client view for an BrowserFrame. 30 // Constructs a non-client view for an BrowserFrame.
31 NormalBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); 31 NormalBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
32 virtual ~NormalBrowserFrameView(); 32 virtual ~NormalBrowserFrameView();
33 33
34 // Overridden from BrowserNonClientFrameView: 34 // Overridden from BrowserNonClientFrameView:
35 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; 35 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const;
36 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const;
36 virtual void UpdateThrobber(bool running); 37 virtual void UpdateThrobber(bool running);
37 virtual gfx::Size GetMinimumSize(); 38 virtual gfx::Size GetMinimumSize();
38 39
39 protected: 40 protected:
40 // Overridden from views::NonClientFrameView: 41 // Overridden from views::NonClientFrameView:
41 virtual gfx::Rect GetBoundsForClientView() const; 42 virtual gfx::Rect GetBoundsForClientView() const;
42 virtual bool AlwaysUseNativeFrame() const; 43 virtual bool AlwaysUseNativeFrame() const;
43 virtual gfx::Rect GetWindowBoundsForClientBounds( 44 virtual gfx::Rect GetWindowBoundsForClientBounds(
44 const gfx::Rect& client_bounds) const; 45 const gfx::Rect& client_bounds) const;
45 virtual int NonClientHitTest(const gfx::Point& point); 46 virtual int NonClientHitTest(const gfx::Point& point);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 // The bounds of the ClientView. 85 // The bounds of the ClientView.
85 gfx::Rect client_view_bounds_; 86 gfx::Rect client_view_bounds_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(NormalBrowserFrameView); 88 DISALLOW_COPY_AND_ASSIGN(NormalBrowserFrameView);
88 }; 89 };
89 90
90 } // namespace chromeos 91 } // namespace chromeos
91 92
92 #endif // CHROME_BROWSER_CHROMEOS_FRAME_NORMAL_BROWSER_FRAME_VIEW_H_ 93 #endif // CHROME_BROWSER_CHROMEOS_FRAME_NORMAL_BROWSER_FRAME_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/normal_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698