OLD | NEW |
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_XP_FRAME_H__ | 5 #ifndef CHROME_BROWSER_XP_FRAME_H__ |
6 #define CHROME_BROWSER_XP_FRAME_H__ | 6 #define CHROME_BROWSER_XP_FRAME_H__ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual void InfoBubbleShowing(); | 86 virtual void InfoBubbleShowing(); |
87 virtual void InfoBubbleClosing(); | 87 virtual void InfoBubbleClosing(); |
88 virtual ToolbarStarToggle* GetStarButton() const; | 88 virtual ToolbarStarToggle* GetStarButton() const; |
89 virtual LocationBarView* GetLocationBarView() const; | 89 virtual LocationBarView* GetLocationBarView() const; |
90 virtual GoButton* GetGoButton() const; | 90 virtual GoButton* GetGoButton() const; |
91 virtual BookmarkBarView* GetBookmarkBarView(); | 91 virtual BookmarkBarView* GetBookmarkBarView(); |
92 virtual BrowserView* GetBrowserView() const; | 92 virtual BrowserView* GetBrowserView() const; |
93 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); | 93 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); |
94 virtual void ProfileChanged(Profile* profile); | 94 virtual void ProfileChanged(Profile* profile); |
95 virtual void FocusToolbar(); | 95 virtual void FocusToolbar(); |
| 96 virtual bool IsBookmarkBarVisible() const; |
96 | 97 |
97 // | 98 // |
98 // CWindowImpl event management magic. See atlcrack.h | 99 // CWindowImpl event management magic. See atlcrack.h |
99 // | 100 // |
100 DECLARE_FRAME_WND_CLASS_EX(XP_FRAME_CLASSNAME, | 101 DECLARE_FRAME_WND_CLASS_EX(XP_FRAME_CLASSNAME, |
101 IDR_MAINFRAME, | 102 IDR_MAINFRAME, |
102 CS_DBLCLKS, | 103 CS_DBLCLKS, |
103 WHITE_BRUSH) | 104 WHITE_BRUSH) |
104 | 105 |
105 BEGIN_MSG_MAP(HaloFrame) | 106 BEGIN_MSG_MAP(HaloFrame) |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 bool paint_as_active_; | 519 bool paint_as_active_; |
519 | 520 |
520 // A view that holds the client-area contents of the browser window. | 521 // A view that holds the client-area contents of the browser window. |
521 BrowserView* browser_view_; | 522 BrowserView* browser_view_; |
522 | 523 |
523 DISALLOW_EVIL_CONSTRUCTORS(XPFrame); | 524 DISALLOW_EVIL_CONSTRUCTORS(XPFrame); |
524 }; | 525 }; |
525 | 526 |
526 #endif // CHROME_BROWSER_XP_FRAME_H__ | 527 #endif // CHROME_BROWSER_XP_FRAME_H__ |
527 | 528 |
OLD | NEW |