| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/browser.h" | 8 #include "chrome/browser/browser.h" |
| 9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
| 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" | 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 virtual bool CanMaximize() const; | 225 virtual bool CanMaximize() const; |
| 226 virtual bool IsModal() const; | 226 virtual bool IsModal() const; |
| 227 virtual std::wstring GetWindowTitle() const; | 227 virtual std::wstring GetWindowTitle() const; |
| 228 virtual views::View* GetInitiallyFocusedView(); | 228 virtual views::View* GetInitiallyFocusedView(); |
| 229 virtual bool ShouldShowWindowTitle() const; | 229 virtual bool ShouldShowWindowTitle() const; |
| 230 virtual SkBitmap GetWindowIcon(); | 230 virtual SkBitmap GetWindowIcon(); |
| 231 virtual bool ShouldShowWindowIcon() const; | 231 virtual bool ShouldShowWindowIcon() const; |
| 232 virtual bool ExecuteWindowsCommand(int command_id); | 232 virtual bool ExecuteWindowsCommand(int command_id); |
| 233 virtual std::wstring GetWindowName() const; | 233 virtual std::wstring GetWindowName() const; |
| 234 virtual void SaveWindowPlacement(const gfx::Rect& bounds, | 234 virtual void SaveWindowPlacement(const gfx::Rect& bounds, |
| 235 bool maximized, | 235 bool maximized); |
| 236 bool always_on_top); | |
| 237 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; | 236 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; |
| 238 virtual bool GetSavedMaximizedState(bool* maximized) const; | 237 virtual bool GetSavedMaximizedState(bool* maximized) const; |
| 239 virtual views::View* GetContentsView(); | 238 virtual views::View* GetContentsView(); |
| 240 virtual views::ClientView* CreateClientView(views::Window* window); | 239 virtual views::ClientView* CreateClientView(views::Window* window); |
| 241 | 240 |
| 242 // Overridden from views::ClientView: | 241 // Overridden from views::ClientView: |
| 243 virtual bool CanClose() const; | 242 virtual bool CanClose() const; |
| 244 virtual int NonClientHitTest(const gfx::Point& point); | 243 virtual int NonClientHitTest(const gfx::Point& point); |
| 245 virtual gfx::Size GetMinimumSize(); | 244 virtual gfx::Size GetMinimumSize(); |
| 246 virtual std::string GetClassName() const; | 245 virtual std::string GetClassName() const; |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 // The timer used to update frames for the Loading Animation. | 402 // The timer used to update frames for the Loading Animation. |
| 404 base::RepeatingTimer<BrowserView> loading_animation_timer_; | 403 base::RepeatingTimer<BrowserView> loading_animation_timer_; |
| 405 | 404 |
| 406 // A bottom bar for showing extensions. | 405 // A bottom bar for showing extensions. |
| 407 ExtensionShelf* extension_shelf_; | 406 ExtensionShelf* extension_shelf_; |
| 408 | 407 |
| 409 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 408 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 410 }; | 409 }; |
| 411 | 410 |
| 412 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 411 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |