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

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

Issue 3137019: Fix numerous alignment problems, both horizontal and vertical, in drawing the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/views/frame/browser_frame.h" 9 #include "chrome/browser/views/frame/browser_frame.h"
10 #include "chrome/browser/views/frame/browser_non_client_frame_view.h" 10 #include "chrome/browser/views/frame/browser_non_client_frame_view.h"
(...skipping 16 matching lines...) Expand all
27 27
28 class NormalBrowserFrameView : public BrowserNonClientFrameView, 28 class NormalBrowserFrameView : public BrowserNonClientFrameView,
29 public TabIconView::TabIconViewModel { 29 public TabIconView::TabIconViewModel {
30 public: 30 public:
31 // Constructs a non-client view for an BrowserFrame. 31 // Constructs a non-client view for an BrowserFrame.
32 NormalBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); 32 NormalBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
33 virtual ~NormalBrowserFrameView(); 33 virtual ~NormalBrowserFrameView();
34 34
35 // Overridden from BrowserNonClientFrameView: 35 // Overridden from BrowserNonClientFrameView:
36 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; 36 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const;
37 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const;
37 virtual void UpdateThrobber(bool running); 38 virtual void UpdateThrobber(bool running);
38 virtual gfx::Size GetMinimumSize(); 39 virtual gfx::Size GetMinimumSize();
39 40
40 protected: 41 protected:
41 // Overridden from views::NonClientFrameView: 42 // Overridden from views::NonClientFrameView:
42 virtual gfx::Rect GetBoundsForClientView() const; 43 virtual gfx::Rect GetBoundsForClientView() const;
43 virtual bool AlwaysUseNativeFrame() const; 44 virtual bool AlwaysUseNativeFrame() const;
44 virtual gfx::Rect GetWindowBoundsForClientBounds( 45 virtual gfx::Rect GetWindowBoundsForClientBounds(
45 const gfx::Rect& client_bounds) const; 46 const gfx::Rect& client_bounds) const;
46 virtual int NonClientHitTest(const gfx::Point& point); 47 virtual int NonClientHitTest(const gfx::Point& point);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 85
85 // The bounds of the ClientView. 86 // The bounds of the ClientView.
86 gfx::Rect client_view_bounds_; 87 gfx::Rect client_view_bounds_;
87 88
88 DISALLOW_COPY_AND_ASSIGN(NormalBrowserFrameView); 89 DISALLOW_COPY_AND_ASSIGN(NormalBrowserFrameView);
89 }; 90 };
90 91
91 } // namespace chromeos 92 } // namespace chromeos
92 93
93 #endif // CHROME_BROWSER_CHROMEOS_FRAME_NORMAL_BROWSER_FRAME_VIEW_H_ 94 #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