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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 virtual void Show() OVERRIDE; | 236 virtual void Show() OVERRIDE; |
237 virtual void ShowInactive() OVERRIDE; | 237 virtual void ShowInactive() OVERRIDE; |
238 virtual void Hide() OVERRIDE; | 238 virtual void Hide() OVERRIDE; |
239 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 239 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
240 virtual void Close() OVERRIDE; | 240 virtual void Close() OVERRIDE; |
241 virtual void Activate() OVERRIDE; | 241 virtual void Activate() OVERRIDE; |
242 virtual void Deactivate() OVERRIDE; | 242 virtual void Deactivate() OVERRIDE; |
243 virtual bool IsActive() const OVERRIDE; | 243 virtual bool IsActive() const OVERRIDE; |
244 virtual void FlashFrame(bool flash) OVERRIDE; | 244 virtual void FlashFrame(bool flash) OVERRIDE; |
245 virtual bool IsAlwaysOnTop() const OVERRIDE; | 245 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 246 virtual gfx::Rect ContentBoundsForWindowBounds( |
| 247 const gfx::Rect& window_bounds) const OVERRIDE; |
| 248 virtual gfx::Rect WindowBoundsForContentBounds( |
| 249 const gfx::Rect& content_bounds) const OVERRIDE; |
246 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 250 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
247 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; | 251 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; |
248 virtual StatusBubble* GetStatusBubble() OVERRIDE; | 252 virtual StatusBubble* GetStatusBubble() OVERRIDE; |
249 virtual void UpdateTitleBar() OVERRIDE; | 253 virtual void UpdateTitleBar() OVERRIDE; |
250 virtual void BookmarkBarStateChanged( | 254 virtual void BookmarkBarStateChanged( |
251 BookmarkBar::AnimateChangeType change_type) OVERRIDE; | 255 BookmarkBar::AnimateChangeType change_type) OVERRIDE; |
252 virtual void UpdateDevTools() OVERRIDE; | 256 virtual void UpdateDevTools() OVERRIDE; |
253 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; | 257 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; |
254 virtual void SetStarredState(bool is_starred) OVERRIDE; | 258 virtual void SetStarredState(bool is_starred) OVERRIDE; |
255 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; | 259 virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE; |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 gfx::ScopedSysColorChangeListener color_change_listener_; | 719 gfx::ScopedSysColorChangeListener color_change_listener_; |
716 | 720 |
717 scoped_ptr<InstantPreviewControllerViews> preview_controller_; | 721 scoped_ptr<InstantPreviewControllerViews> preview_controller_; |
718 | 722 |
719 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 723 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
720 | 724 |
721 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 725 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
722 }; | 726 }; |
723 | 727 |
724 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 728 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |