| 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 // Overridden from views::View: | 427 // Overridden from views::View: |
| 428 virtual std::string GetClassName() const OVERRIDE; | 428 virtual std::string GetClassName() const OVERRIDE; |
| 429 virtual void Layout() OVERRIDE; | 429 virtual void Layout() OVERRIDE; |
| 430 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; | 430 virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; |
| 431 virtual void ViewHierarchyChanged(bool is_add, | 431 virtual void ViewHierarchyChanged(bool is_add, |
| 432 views::View* parent, | 432 views::View* parent, |
| 433 views::View* child) OVERRIDE; | 433 views::View* child) OVERRIDE; |
| 434 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; | 434 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; |
| 435 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 435 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 436 | 436 |
| 437 views::SingleSplitView* GetContentsSplitForTest() { return contents_split_; } |
| 438 views::WebView* GetContentsContainerForTest() { return contents_container_; } |
| 439 |
| 437 protected: | 440 protected: |
| 438 // Appends to |toolbars| a pointer to each AccessiblePaneView that | 441 // Appends to |toolbars| a pointer to each AccessiblePaneView that |
| 439 // can be traversed using F6, in the order they should be traversed. | 442 // can be traversed using F6, in the order they should be traversed. |
| 440 // Abstracted here so that it can be extended for Chrome OS. | 443 // Abstracted here so that it can be extended for Chrome OS. |
| 441 virtual void GetAccessiblePanes( | 444 virtual void GetAccessiblePanes( |
| 442 std::vector<views::AccessiblePaneView*>* panes); | 445 std::vector<views::AccessiblePaneView*>* panes); |
| 443 | 446 |
| 444 int last_focused_view_storage_id() const { | 447 int last_focused_view_storage_id() const { |
| 445 return last_focused_view_storage_id_; | 448 return last_focused_view_storage_id_; |
| 446 } | 449 } |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 gfx::ScopedSysColorChangeListener color_change_listener_; | 743 gfx::ScopedSysColorChangeListener color_change_listener_; |
| 741 | 744 |
| 742 scoped_ptr<InstantOverlayControllerViews> overlay_controller_; | 745 scoped_ptr<InstantOverlayControllerViews> overlay_controller_; |
| 743 | 746 |
| 744 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 747 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 745 | 748 |
| 746 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 749 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 747 }; | 750 }; |
| 748 | 751 |
| 749 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 752 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |