| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 virtual bool IsAlwaysOnTop() const OVERRIDE; | 265 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 266 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 266 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 267 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; | 267 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; |
| 268 virtual StatusBubble* GetStatusBubble() OVERRIDE; | 268 virtual StatusBubble* GetStatusBubble() OVERRIDE; |
| 269 virtual void UpdateTitleBar() OVERRIDE; | 269 virtual void UpdateTitleBar() OVERRIDE; |
| 270 virtual void BookmarkBarStateChanged( | 270 virtual void BookmarkBarStateChanged( |
| 271 BookmarkBar::AnimateChangeType change_type) OVERRIDE; | 271 BookmarkBar::AnimateChangeType change_type) OVERRIDE; |
| 272 virtual void UpdateDevTools() OVERRIDE; | 272 virtual void UpdateDevTools() OVERRIDE; |
| 273 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; | 273 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; |
| 274 virtual void SetStarredState(bool is_starred) OVERRIDE; | 274 virtual void SetStarredState(bool is_starred) OVERRIDE; |
| 275 virtual void OnActiveTabChanged(content::WebContents* old_contents, |
| 276 content::WebContents* new_contents, |
| 277 int index, |
| 278 int reason) OVERRIDE; |
| 275 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; | 279 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; |
| 276 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 280 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 277 virtual ui::WindowShowState GetRestoredState() const OVERRIDE; | 281 virtual ui::WindowShowState GetRestoredState() const OVERRIDE; |
| 278 virtual gfx::Rect GetBounds() const OVERRIDE; | 282 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 279 virtual bool IsMaximized() const OVERRIDE; | 283 virtual bool IsMaximized() const OVERRIDE; |
| 280 virtual bool IsMinimized() const OVERRIDE; | 284 virtual bool IsMinimized() const OVERRIDE; |
| 281 virtual void Maximize() OVERRIDE; | 285 virtual void Maximize() OVERRIDE; |
| 282 virtual void Minimize() OVERRIDE; | 286 virtual void Minimize() OVERRIDE; |
| 283 virtual void Restore() OVERRIDE; | 287 virtual void Restore() OVERRIDE; |
| 284 virtual void EnterFullscreen( | 288 virtual void EnterFullscreen( |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // Overridden from BrowserWindowTesting: | 373 // Overridden from BrowserWindowTesting: |
| 370 virtual BookmarkBarView* GetBookmarkBarView() const OVERRIDE; | 374 virtual BookmarkBarView* GetBookmarkBarView() const OVERRIDE; |
| 371 virtual LocationBarView* GetLocationBarView() const OVERRIDE; | 375 virtual LocationBarView* GetLocationBarView() const OVERRIDE; |
| 372 virtual views::View* GetTabContentsContainerView() const OVERRIDE; | 376 virtual views::View* GetTabContentsContainerView() const OVERRIDE; |
| 373 virtual ToolbarView* GetToolbarView() const OVERRIDE; | 377 virtual ToolbarView* GetToolbarView() const OVERRIDE; |
| 374 | 378 |
| 375 // Overridden from TabStripModelObserver: | 379 // Overridden from TabStripModelObserver: |
| 376 virtual void TabDetachedAt(content::WebContents* contents, | 380 virtual void TabDetachedAt(content::WebContents* contents, |
| 377 int index) OVERRIDE; | 381 int index) OVERRIDE; |
| 378 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; | 382 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; |
| 379 virtual void ActiveTabChanged(content::WebContents* old_contents, | |
| 380 content::WebContents* new_contents, | |
| 381 int index, | |
| 382 int reason) OVERRIDE; | |
| 383 virtual void TabStripEmpty() OVERRIDE; | 383 virtual void TabStripEmpty() OVERRIDE; |
| 384 | 384 |
| 385 // Overridden from ui::AcceleratorProvider: | 385 // Overridden from ui::AcceleratorProvider: |
| 386 virtual bool GetAcceleratorForCommandId(int command_id, | 386 virtual bool GetAcceleratorForCommandId(int command_id, |
| 387 ui::Accelerator* accelerator) OVERRIDE; | 387 ui::Accelerator* accelerator) OVERRIDE; |
| 388 | 388 |
| 389 // Overridden from views::WidgetDelegate: | 389 // Overridden from views::WidgetDelegate: |
| 390 virtual bool CanResize() const OVERRIDE; | 390 virtual bool CanResize() const OVERRIDE; |
| 391 virtual bool CanMaximize() const OVERRIDE; | 391 virtual bool CanMaximize() const OVERRIDE; |
| 392 virtual bool CanActivate() const OVERRIDE; | 392 virtual bool CanActivate() const OVERRIDE; |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; | 744 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; |
| 745 | 745 |
| 746 gfx::ScopedSysColorChangeListener color_change_listener_; | 746 gfx::ScopedSysColorChangeListener color_change_listener_; |
| 747 | 747 |
| 748 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 748 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 749 | 749 |
| 750 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 750 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 751 }; | 751 }; |
| 752 | 752 |
| 753 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 753 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |