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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 views::View* parent, | 424 views::View* parent, |
425 views::View* child) OVERRIDE; | 425 views::View* child) OVERRIDE; |
426 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; | 426 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; |
427 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 427 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
428 | 428 |
429 // Factory Method. | 429 // Factory Method. |
430 // Returns a new LayoutManager for this browser view. A subclass may | 430 // Returns a new LayoutManager for this browser view. A subclass may |
431 // override to implement different layout policy. | 431 // override to implement different layout policy. |
432 virtual views::LayoutManager* CreateLayoutManager() const; | 432 virtual views::LayoutManager* CreateLayoutManager() const; |
433 | 433 |
434 // Factory Method. | |
435 // Returns a new ToolbarView for this browser view. A subclass may | |
436 // override to implement different layout policy. | |
437 virtual ToolbarView* CreateToolbar() const; | |
438 | |
439 // Browser window related initializations. | 434 // Browser window related initializations. |
440 virtual void Init(); | 435 virtual void Init(); |
441 | 436 |
442 // Callback for the loading animation(s) associated with this view. | 437 // Callback for the loading animation(s) associated with this view. |
443 virtual void LoadingAnimationCallback(); | 438 virtual void LoadingAnimationCallback(); |
444 | 439 |
445 private: | 440 private: |
446 friend class BrowserViewLayout; | 441 friend class BrowserViewLayout; |
447 FRIEND_TEST_ALL_PREFIXES(BrowserViewsAccessibilityTest, | 442 FRIEND_TEST_ALL_PREFIXES(BrowserViewsAccessibilityTest, |
448 TestAboutChromeViewAccObj); | 443 TestAboutChromeViewAccObj); |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 bool force_location_bar_focus_; | 689 bool force_location_bar_focus_; |
695 | 690 |
696 PendingFullscreenRequest fullscreen_request_; | 691 PendingFullscreenRequest fullscreen_request_; |
697 | 692 |
698 gfx::ScopedSysColorChangeListener color_change_listener_; | 693 gfx::ScopedSysColorChangeListener color_change_listener_; |
699 | 694 |
700 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 695 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
701 }; | 696 }; |
702 | 697 |
703 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 698 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |