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

Side by Side Diff: chrome/browser/views/frame/glass_browser_frame_view.h

Issue 42027: Make Chromium windows not hide auto-hide taskbars, take 2.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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) 2006-2008 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_GLASS_BROWSER_FRAME_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_GLASS_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/views/non_client_view.h" 9 #include "chrome/views/non_client_view.h"
10 #include "chrome/views/button.h" 10 #include "chrome/views/button.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 int NonClientBorderThickness() const; 47 int NonClientBorderThickness() const;
48 48
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 // Paint various sub-components of this view. 53 // Paint various sub-components of this view.
54 void PaintDistributorLogo(ChromeCanvas* canvas); 54 void PaintDistributorLogo(ChromeCanvas* canvas);
55 void PaintToolbarBackground(ChromeCanvas* canvas); 55 void PaintToolbarBackground(ChromeCanvas* canvas);
56 void PaintOTRAvatar(ChromeCanvas* canvas); 56 void PaintOTRAvatar(ChromeCanvas* canvas);
57 void PaintClientEdge(ChromeCanvas* canvas); 57 void PaintRestoredClientEdge(ChromeCanvas* canvas);
58 58
59 // Layout various sub-components of this view. 59 // Layout various sub-components of this view.
60 void LayoutDistributorLogo(); 60 void LayoutDistributorLogo();
61 void LayoutOTRAvatar(); 61 void LayoutOTRAvatar();
62 void LayoutClientView(); 62 void LayoutClientView();
63 63
64 // Returns the bounds of the client area for the specified view size. 64 // Returns the bounds of the client area for the specified view size.
65 gfx::Rect CalculateClientAreaBounds(int width, int height) const; 65 gfx::Rect CalculateClientAreaBounds(int width, int height) const;
66 66
67 // Starts/Stops the window throbber running. 67 // Starts/Stops the window throbber running.
(...skipping 30 matching lines...) Expand all
98 98
99 static const int kThrobberIconCount = 24; 99 static const int kThrobberIconCount = 24;
100 static HICON throbber_icons_[kThrobberIconCount]; 100 static HICON throbber_icons_[kThrobberIconCount];
101 static void InitThrobberIcons(); 101 static void InitThrobberIcons();
102 102
103 DISALLOW_EVIL_CONSTRUCTORS(GlassBrowserFrameView); 103 DISALLOW_EVIL_CONSTRUCTORS(GlassBrowserFrameView);
104 }; 104 };
105 105
106 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ 106 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_
107 107
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_frame.cc ('k') | chrome/browser/views/frame/glass_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698