| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 void FullScreenStateChanged(); | 208 void FullScreenStateChanged(); |
| 209 | 209 |
| 210 // Restores the focused view. This is also used to set the initial focus | 210 // Restores the focused view. This is also used to set the initial focus |
| 211 // when a new browser window is created. | 211 // when a new browser window is created. |
| 212 void RestoreFocus(); | 212 void RestoreFocus(); |
| 213 | 213 |
| 214 void set_move_observer(BrowserWindowMoveObserver* observer) { | 214 void set_move_observer(BrowserWindowMoveObserver* observer) { |
| 215 move_observer_ = observer; | 215 move_observer_ = observer; |
| 216 } | 216 } |
| 217 | 217 |
| 218 #if defined(USE_AURA) | 218 #if defined(USE_ASH) |
| 219 LauncherUpdater* icon_updater() const { return icon_updater_.get(); } | 219 LauncherUpdater* icon_updater() const { return icon_updater_.get(); } |
| 220 #endif | 220 #endif |
| 221 | 221 |
| 222 // Overridden from BrowserWindow: | 222 // Overridden from BrowserWindow: |
| 223 virtual void Show() OVERRIDE; | 223 virtual void Show() OVERRIDE; |
| 224 virtual void ShowInactive() OVERRIDE; | 224 virtual void ShowInactive() OVERRIDE; |
| 225 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 225 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 226 virtual void Close() OVERRIDE; | 226 virtual void Close() OVERRIDE; |
| 227 virtual void Activate() OVERRIDE; | 227 virtual void Activate() OVERRIDE; |
| 228 virtual void Deactivate() OVERRIDE; | 228 virtual void Deactivate() OVERRIDE; |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 // plugin window. | 664 // plugin window. |
| 665 HungPluginAction hung_plugin_action_; | 665 HungPluginAction hung_plugin_action_; |
| 666 | 666 |
| 667 // The custom JumpList for Windows 7. | 667 // The custom JumpList for Windows 7. |
| 668 scoped_refptr<JumpList> jumplist_; | 668 scoped_refptr<JumpList> jumplist_; |
| 669 | 669 |
| 670 // The custom AeroPeek manager for Windows 7. | 670 // The custom AeroPeek manager for Windows 7. |
| 671 scoped_ptr<AeroPeekManager> aeropeek_manager_; | 671 scoped_ptr<AeroPeekManager> aeropeek_manager_; |
| 672 #endif | 672 #endif |
| 673 | 673 |
| 674 #if defined(USE_AURA) | 674 #if defined(USE_ASH) |
| 675 scoped_ptr<LauncherUpdater> icon_updater_; | 675 scoped_ptr<LauncherUpdater> icon_updater_; |
| 676 #endif | 676 #endif |
| 677 | 677 |
| 678 // The timer used to update frames for the Loading Animation. | 678 // The timer used to update frames for the Loading Animation. |
| 679 base::RepeatingTimer<BrowserView> loading_animation_timer_; | 679 base::RepeatingTimer<BrowserView> loading_animation_timer_; |
| 680 | 680 |
| 681 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 681 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
| 682 | 682 |
| 683 // Used to measure the loading spinner animation rate. | 683 // Used to measure the loading spinner animation rate. |
| 684 base::TimeTicks last_animation_time_; | 684 base::TimeTicks last_animation_time_; |
| 685 | 685 |
| 686 // If this flag is set then SetFocusToLocationBar() will set focus to the | 686 // If this flag is set then SetFocusToLocationBar() will set focus to the |
| 687 // location bar even if the browser window is not active. | 687 // location bar even if the browser window is not active. |
| 688 bool force_location_bar_focus_; | 688 bool force_location_bar_focus_; |
| 689 | 689 |
| 690 PendingFullscreenRequest fullscreen_request_; | 690 PendingFullscreenRequest fullscreen_request_; |
| 691 | 691 |
| 692 BrowserWindowMoveObserver* move_observer_; | 692 BrowserWindowMoveObserver* move_observer_; |
| 693 | 693 |
| 694 gfx::ScopedSysColorChangeListener color_change_listener_; | 694 gfx::ScopedSysColorChangeListener color_change_listener_; |
| 695 | 695 |
| 696 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 696 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 697 }; | 697 }; |
| 698 | 698 |
| 699 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 699 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |