| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 virtual std::wstring GetWindowTitle() const OVERRIDE; | 387 virtual std::wstring GetWindowTitle() const OVERRIDE; |
| 388 virtual std::wstring GetAccessibleWindowTitle() const OVERRIDE; | 388 virtual std::wstring GetAccessibleWindowTitle() const OVERRIDE; |
| 389 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 389 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 390 virtual bool ShouldShowWindowTitle() const OVERRIDE; | 390 virtual bool ShouldShowWindowTitle() const OVERRIDE; |
| 391 virtual SkBitmap GetWindowAppIcon() OVERRIDE; | 391 virtual SkBitmap GetWindowAppIcon() OVERRIDE; |
| 392 virtual SkBitmap GetWindowIcon() OVERRIDE; | 392 virtual SkBitmap GetWindowIcon() OVERRIDE; |
| 393 virtual bool ShouldShowWindowIcon() const OVERRIDE; | 393 virtual bool ShouldShowWindowIcon() const OVERRIDE; |
| 394 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; | 394 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; |
| 395 virtual std::wstring GetWindowName() const OVERRIDE; | 395 virtual std::wstring GetWindowName() const OVERRIDE; |
| 396 virtual void SaveWindowPlacement(const gfx::Rect& bounds, | 396 virtual void SaveWindowPlacement(const gfx::Rect& bounds, |
| 397 bool maximized) OVERRIDE; | 397 ui::WindowShowState show_state) OVERRIDE; |
| 398 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE; | 398 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const OVERRIDE; |
| 399 virtual bool GetSavedMaximizedState(bool* maximized) const OVERRIDE; | 399 virtual bool GetSavedWindowShowState( |
| 400 ui::WindowShowState* show_state) const OVERRIDE; |
| 400 virtual views::View* GetContentsView() OVERRIDE; | 401 virtual views::View* GetContentsView() OVERRIDE; |
| 401 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE; | 402 virtual views::ClientView* CreateClientView(views::Widget* widget) OVERRIDE; |
| 402 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; | 403 virtual void OnWindowBeginUserBoundsChange() OVERRIDE; |
| 403 virtual void OnWidgetMove() OVERRIDE; | 404 virtual void OnWidgetMove() OVERRIDE; |
| 404 virtual views::Widget* GetWidget() OVERRIDE; | 405 virtual views::Widget* GetWidget() OVERRIDE; |
| 405 virtual const views::Widget* GetWidget() const OVERRIDE; | 406 virtual const views::Widget* GetWidget() const OVERRIDE; |
| 406 | 407 |
| 407 // Overridden from views::Widget::Observer | 408 // Overridden from views::Widget::Observer |
| 408 virtual void OnWidgetActivationChanged(views::Widget* widget, | 409 virtual void OnWidgetActivationChanged(views::Widget* widget, |
| 409 bool active) OVERRIDE; | 410 bool active) OVERRIDE; |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 | 731 |
| 731 NotificationRegistrar registrar_; | 732 NotificationRegistrar registrar_; |
| 732 | 733 |
| 733 // Used to measure the loading spinner animation rate. | 734 // Used to measure the loading spinner animation rate. |
| 734 base::TimeTicks last_animation_time_; | 735 base::TimeTicks last_animation_time_; |
| 735 | 736 |
| 736 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 737 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 737 }; | 738 }; |
| 738 | 739 |
| 739 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 740 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |