| 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_VIEWS_FRAME_BROWSER_FRAME_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_H_ |
| 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_H_ |
| 7 | 7 |
| 8 class BrowserView; | 8 class BrowserView; |
| 9 namespace views { | 9 namespace views { |
| 10 class Window; | 10 class Window; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 FRAMETYPE_AERO_GLASS | 49 FRAMETYPE_AERO_GLASS |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 // Returns the FrameType that should be constructed given the current system | 52 // Returns the FrameType that should be constructed given the current system |
| 53 // settings. | 53 // settings. |
| 54 static FrameType GetActiveFrameType(); | 54 static FrameType GetActiveFrameType(); |
| 55 | 55 |
| 56 // Creates a BrowserFrame instance for the specified FrameType and | 56 // Creates a BrowserFrame instance for the specified FrameType and |
| 57 // BrowserView. | 57 // BrowserView. |
| 58 static BrowserFrame* CreateForBrowserView(FrameType type, | 58 static BrowserFrame* CreateForBrowserView(FrameType type, |
| 59 BrowserView* browser_view, | 59 BrowserView* browser_view); |
| 60 const gfx::Rect& bounds, | |
| 61 int show_command); | |
| 62 | 60 |
| 63 }; | 61 }; |
| 64 | 62 |
| 65 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_H_ | 63 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_FRAME_H_ |
| 66 | 64 |
| OLD | NEW |