| 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_VISTA_FRAME_H__ | 5 #ifndef CHROME_BROWSER_VISTA_FRAME_H__ |
| 6 #define CHROME_BROWSER_VISTA_FRAME_H__ | 6 #define CHROME_BROWSER_VISTA_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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 virtual gfx::Rect GetBoundsForContentBounds(const gfx::Rect content_rect); | 177 virtual gfx::Rect GetBoundsForContentBounds(const gfx::Rect content_rect); |
| 178 virtual void InfoBubbleShowing(); | 178 virtual void InfoBubbleShowing(); |
| 179 virtual ToolbarStarToggle* GetStarButton() const; | 179 virtual ToolbarStarToggle* GetStarButton() const; |
| 180 virtual LocationBarView* GetLocationBarView() const; | 180 virtual LocationBarView* GetLocationBarView() const; |
| 181 virtual GoButton* GetGoButton() const; | 181 virtual GoButton* GetGoButton() const; |
| 182 virtual BookmarkBarView* GetBookmarkBarView(); | 182 virtual BookmarkBarView* GetBookmarkBarView(); |
| 183 virtual BrowserView* GetBrowserView() const; | 183 virtual BrowserView* GetBrowserView() const; |
| 184 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); | 184 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); |
| 185 virtual void ProfileChanged(Profile* profile); | 185 virtual void ProfileChanged(Profile* profile); |
| 186 virtual void FocusToolbar(); | 186 virtual void FocusToolbar(); |
| 187 virtual bool IsBookmarkBarVisible() const; |
| 187 | 188 |
| 188 //////////////////////////////////////////////////////////////////////////////
// | 189 //////////////////////////////////////////////////////////////////////////////
// |
| 189 // ChromeViews::ViewContainer | 190 // ChromeViews::ViewContainer |
| 190 //////////////////////////////////////////////////////////////////////////////
// | 191 //////////////////////////////////////////////////////////////////////////////
// |
| 191 | 192 |
| 192 virtual void GetBounds(CRect *out, bool including_frame) const; | 193 virtual void GetBounds(CRect *out, bool including_frame) const; |
| 193 virtual void MoveToFront(bool should_activate); | 194 virtual void MoveToFront(bool should_activate); |
| 194 virtual HWND GetHWND() const; | 195 virtual HWND GetHWND() const; |
| 195 virtual void PaintNow(const CRect& update_rect); | 196 virtual void PaintNow(const CRect& update_rect); |
| 196 virtual ChromeViews::RootView* GetRootView(); | 197 virtual ChromeViews::RootView* GetRootView(); |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 // like unconstrained popups. Defaults to true. | 405 // like unconstrained popups. Defaults to true. |
| 405 bool should_save_window_placement_; | 406 bool should_save_window_placement_; |
| 406 | 407 |
| 407 // A view that holds the client-area contents of the browser window. | 408 // A view that holds the client-area contents of the browser window. |
| 408 BrowserView* browser_view_; | 409 BrowserView* browser_view_; |
| 409 | 410 |
| 410 DISALLOW_EVIL_CONSTRUCTORS(VistaFrame); | 411 DISALLOW_EVIL_CONSTRUCTORS(VistaFrame); |
| 411 }; | 412 }; |
| 412 #endif // CHROME_BROWSER_VISTA_FRAME_H__ | 413 #endif // CHROME_BROWSER_VISTA_FRAME_H__ |
| 413 | 414 |
| OLD | NEW |