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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 virtual void HideInstant() OVERRIDE; | 324 virtual void HideInstant() OVERRIDE; |
325 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 325 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
326 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 326 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
327 const gfx::Rect& bounds) OVERRIDE; | 327 const gfx::Rect& bounds) OVERRIDE; |
328 virtual FindBar* CreateFindBar() OVERRIDE; | 328 virtual FindBar* CreateFindBar() OVERRIDE; |
329 #if defined(OS_CHROMEOS) | 329 #if defined(OS_CHROMEOS) |
330 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 330 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
331 #endif | 331 #endif |
332 virtual void ShowAvatarBubble(TabContents* tab_contents, | 332 virtual void ShowAvatarBubble(TabContents* tab_contents, |
333 const gfx::Rect& rect) OVERRIDE; | 333 const gfx::Rect& rect) OVERRIDE; |
| 334 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
334 | 335 |
335 // Overridden from BrowserWindowTesting: | 336 // Overridden from BrowserWindowTesting: |
336 virtual BookmarkBarView* GetBookmarkBarView() const OVERRIDE; | 337 virtual BookmarkBarView* GetBookmarkBarView() const OVERRIDE; |
337 virtual LocationBarView* GetLocationBarView() const OVERRIDE; | 338 virtual LocationBarView* GetLocationBarView() const OVERRIDE; |
338 virtual views::View* GetTabContentsContainerView() const OVERRIDE; | 339 virtual views::View* GetTabContentsContainerView() const OVERRIDE; |
339 virtual views::View* GetSidebarContainerView() const OVERRIDE; | 340 virtual views::View* GetSidebarContainerView() const OVERRIDE; |
340 virtual ToolbarView* GetToolbarView() const OVERRIDE; | 341 virtual ToolbarView* GetToolbarView() const OVERRIDE; |
341 | 342 |
342 // Overridden from content::NotificationObserver: | 343 // Overridden from content::NotificationObserver: |
343 virtual void Observe(int type, | 344 virtual void Observe(int type, |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 base::TimeTicks last_animation_time_; | 710 base::TimeTicks last_animation_time_; |
710 | 711 |
711 // If this flag is set then SetFocusToLocationBar() will set focus to the | 712 // If this flag is set then SetFocusToLocationBar() will set focus to the |
712 // location bar even if the browser window is not active. | 713 // location bar even if the browser window is not active. |
713 bool force_location_bar_focus_; | 714 bool force_location_bar_focus_; |
714 | 715 |
715 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 716 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
716 }; | 717 }; |
717 | 718 |
718 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 719 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |