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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 virtual void Cut() OVERRIDE; | 331 virtual void Cut() OVERRIDE; |
332 virtual void Copy() OVERRIDE; | 332 virtual void Copy() OVERRIDE; |
333 virtual void Paste() OVERRIDE; | 333 virtual void Paste() OVERRIDE; |
334 virtual void ToggleTabStripMode() OVERRIDE; | 334 virtual void ToggleTabStripMode() OVERRIDE; |
335 virtual void PrepareForInstant() OVERRIDE; | 335 virtual void PrepareForInstant() OVERRIDE; |
336 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 336 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
337 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 337 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
338 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 338 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
339 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 339 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
340 const gfx::Rect& bounds) OVERRIDE; | 340 const gfx::Rect& bounds) OVERRIDE; |
| 341 virtual FindBar* CreateFindBar() OVERRIDE; |
341 #if defined(OS_CHROMEOS) | 342 #if defined(OS_CHROMEOS) |
342 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 343 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
343 #endif | 344 #endif |
344 | 345 |
345 // Overridden from BrowserWindowTesting: | 346 // Overridden from BrowserWindowTesting: |
346 virtual BookmarkBarView* GetBookmarkBarView() const OVERRIDE; | 347 virtual BookmarkBarView* GetBookmarkBarView() const OVERRIDE; |
347 virtual LocationBarView* GetLocationBarView() const OVERRIDE; | 348 virtual LocationBarView* GetLocationBarView() const OVERRIDE; |
348 virtual views::View* GetTabContentsContainerView() const OVERRIDE; | 349 virtual views::View* GetTabContentsContainerView() const OVERRIDE; |
349 virtual views::View* GetSidebarContainerView() const OVERRIDE; | 350 virtual views::View* GetSidebarContainerView() const OVERRIDE; |
350 virtual ToolbarView* GetToolbarView() const OVERRIDE; | 351 virtual ToolbarView* GetToolbarView() const OVERRIDE; |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 | 728 |
728 NotificationRegistrar registrar_; | 729 NotificationRegistrar registrar_; |
729 | 730 |
730 // Used to measure the loading spinner animation rate. | 731 // Used to measure the loading spinner animation rate. |
731 base::TimeTicks last_animation_time_; | 732 base::TimeTicks last_animation_time_; |
732 | 733 |
733 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 734 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
734 }; | 735 }; |
735 | 736 |
736 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 737 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |