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

Side by Side Diff: chrome/browser/views/frame/browser_frame_win.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
OLDNEW
1 // Copyright (c) 2006-2008 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_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/views/frame/browser_frame.h" 9 #include "chrome/browser/views/frame/browser_frame.h"
10 #include "views/window/window_win.h" 10 #include "views/window/window_win.h"
11 11
(...skipping 16 matching lines...) Expand all
28 // Init must be called before using this class, which Create will do for you. 28 // Init must be called before using this class, which Create will do for you.
29 BrowserFrameWin(BrowserView* browser_view, Profile* profile); 29 BrowserFrameWin(BrowserView* browser_view, Profile* profile);
30 virtual ~BrowserFrameWin(); 30 virtual ~BrowserFrameWin();
31 31
32 // This initialization function must be called after construction, it is 32 // This initialization function must be called after construction, it is
33 // separate to avoid recursive calling of the frame from its constructor. 33 // separate to avoid recursive calling of the frame from its constructor.
34 void Init(); 34 void Init();
35 35
36 BrowserView* browser_view() const { return browser_view_; } 36 BrowserView* browser_view() const { return browser_view_; }
37 37
38 // Returns the height of the title bar.
39 int GetTitleBarHeight();
40
41 // BrowserFrame implementation. 38 // BrowserFrame implementation.
42 virtual views::Window* GetWindow(); 39 virtual views::Window* GetWindow();
43 virtual int GetMinimizeButtonOffset() const; 40 virtual int GetMinimizeButtonOffset() const;
44 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const; 41 virtual gfx::Rect GetBoundsForTabStrip(BaseTabStrip* tabstrip) const;
42 virtual int GetHorizontalTabStripVerticalOffset(bool restored) const;
45 virtual void UpdateThrobber(bool running); 43 virtual void UpdateThrobber(bool running);
46 virtual void ContinueDraggingDetachedTab(); 44 virtual void ContinueDraggingDetachedTab();
47 virtual ThemeProvider* GetThemeProviderForFrame() const; 45 virtual ThemeProvider* GetThemeProviderForFrame() const;
48 virtual bool AlwaysUseNativeFrame() const; 46 virtual bool AlwaysUseNativeFrame() const;
49 virtual views::View* GetFrameView() const; 47 virtual views::View* GetFrameView() const;
50 virtual void TabStripDisplayModeChanged(); 48 virtual void TabStripDisplayModeChanged();
51 49
52 protected: 50 protected:
53 // Overridden from views::WindowWin: 51 // Overridden from views::WindowWin:
54 virtual gfx::Insets GetClientAreaInsets() const; 52 virtual gfx::Insets GetClientAreaInsets() const;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 BrowserRootView* root_view_; 90 BrowserRootView* root_view_;
93 91
94 bool frame_initialized_; 92 bool frame_initialized_;
95 93
96 Profile* profile_; 94 Profile* profile_;
97 95
98 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin); 96 DISALLOW_COPY_AND_ASSIGN(BrowserFrameWin);
99 }; 97 };
100 98
101 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_H_ 99 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame_gtk.cc ('k') | chrome/browser/views/frame/browser_frame_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698