OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 virtual void WillCloseAllTabs() OVERRIDE; | 386 virtual void WillCloseAllTabs() OVERRIDE; |
387 virtual void CloseAllTabsCanceled() OVERRIDE; | 387 virtual void CloseAllTabsCanceled() OVERRIDE; |
388 | 388 |
389 // Overridden from ui::AcceleratorProvider: | 389 // Overridden from ui::AcceleratorProvider: |
390 virtual bool GetAcceleratorForCommandId(int command_id, | 390 virtual bool GetAcceleratorForCommandId(int command_id, |
391 ui::Accelerator* accelerator) OVERRIDE; | 391 ui::Accelerator* accelerator) OVERRIDE; |
392 | 392 |
393 // Overridden from views::WidgetDelegate: | 393 // Overridden from views::WidgetDelegate: |
394 virtual bool CanResize() const OVERRIDE; | 394 virtual bool CanResize() const OVERRIDE; |
395 virtual bool CanMaximize() const OVERRIDE; | 395 virtual bool CanMaximize() const OVERRIDE; |
| 396 virtual bool CanMinimize() const OVERRIDE; |
396 virtual bool CanActivate() const OVERRIDE; | 397 virtual bool CanActivate() const OVERRIDE; |
397 virtual base::string16 GetWindowTitle() const OVERRIDE; | 398 virtual base::string16 GetWindowTitle() const OVERRIDE; |
398 virtual base::string16 GetAccessibleWindowTitle() const OVERRIDE; | 399 virtual base::string16 GetAccessibleWindowTitle() const OVERRIDE; |
399 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 400 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
400 virtual bool ShouldShowWindowTitle() const OVERRIDE; | 401 virtual bool ShouldShowWindowTitle() const OVERRIDE; |
401 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; | 402 virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; |
402 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; | 403 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; |
403 virtual bool ShouldShowWindowIcon() const OVERRIDE; | 404 virtual bool ShouldShowWindowIcon() const OVERRIDE; |
404 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; | 405 virtual bool ExecuteWindowsCommand(int command_id) OVERRIDE; |
405 virtual std::string GetWindowName() const OVERRIDE; | 406 virtual std::string GetWindowName() const OVERRIDE; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; | 711 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; |
711 | 712 |
712 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 713 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
713 | 714 |
714 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 715 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
715 | 716 |
716 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 717 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
717 }; | 718 }; |
718 | 719 |
719 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 720 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |