| 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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 | 689 |
| 690 // True if we have already been initialized. | 690 // True if we have already been initialized. |
| 691 bool initialized_; | 691 bool initialized_; |
| 692 | 692 |
| 693 // True if we should ignore requests to layout. This is set while toggling | 693 // True if we should ignore requests to layout. This is set while toggling |
| 694 // fullscreen mode on and off to reduce jankiness. | 694 // fullscreen mode on and off to reduce jankiness. |
| 695 bool ignore_layout_; | 695 bool ignore_layout_; |
| 696 | 696 |
| 697 scoped_ptr<FullscreenExitBubbleViews> fullscreen_bubble_; | 697 scoped_ptr<FullscreenExitBubbleViews> fullscreen_bubble_; |
| 698 | 698 |
| 699 #if defined(OS_WIN) | 699 #if defined(OS_WIN) && !defined(USE_AURA) |
| 700 // The additional items we insert into the system menu. | 700 // The additional items we insert into the system menu. |
| 701 scoped_ptr<views::SystemMenuModel> system_menu_contents_; | 701 scoped_ptr<views::SystemMenuModel> system_menu_contents_; |
| 702 scoped_ptr<ZoomMenuModel> zoom_menu_contents_; | 702 scoped_ptr<ZoomMenuModel> zoom_menu_contents_; |
| 703 scoped_ptr<EncodingMenuModel> encoding_menu_contents_; | 703 scoped_ptr<EncodingMenuModel> encoding_menu_contents_; |
| 704 // The wrapped system menu itself. | 704 // The wrapped system menu itself. |
| 705 scoped_ptr<views::NativeMenuWin> system_menu_; | 705 scoped_ptr<views::NativeMenuWin> system_menu_; |
| 706 | 706 |
| 707 // This object is used to perform periodic actions in a worker | 707 // This object is used to perform periodic actions in a worker |
| 708 // thread. It is currently used to monitor hung plugin windows. | 708 // thread. It is currently used to monitor hung plugin windows. |
| 709 WorkerThreadTicker ticker_; | 709 WorkerThreadTicker ticker_; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 731 | 731 |
| 732 NotificationRegistrar registrar_; | 732 NotificationRegistrar registrar_; |
| 733 | 733 |
| 734 // Used to measure the loading spinner animation rate. | 734 // Used to measure the loading spinner animation rate. |
| 735 base::TimeTicks last_animation_time_; | 735 base::TimeTicks last_animation_time_; |
| 736 | 736 |
| 737 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 737 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 738 }; | 738 }; |
| 739 | 739 |
| 740 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 740 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |