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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 // Testing interface: | 454 // Testing interface: |
455 views::View* GetContentsContainerForTest() { return contents_container_; } | 455 views::View* GetContentsContainerForTest() { return contents_container_; } |
456 views::WebView* GetContentsWebViewForTest() { return contents_web_view_; } | 456 views::WebView* GetContentsWebViewForTest() { return contents_web_view_; } |
457 views::WebView* GetDevToolsWebViewForTest() { return devtools_web_view_; } | 457 views::WebView* GetDevToolsWebViewForTest() { return devtools_web_view_; } |
458 | 458 |
459 private: | 459 private: |
460 // Do not friend BrowserViewLayout. Use the BrowserViewLayoutDelegate | 460 // Do not friend BrowserViewLayout. Use the BrowserViewLayoutDelegate |
461 // interface to keep these two classes decoupled and testable. | 461 // interface to keep these two classes decoupled and testable. |
462 friend class BrowserViewLayoutDelegateImpl; | 462 friend class BrowserViewLayoutDelegateImpl; |
463 FRIEND_TEST_ALL_PREFIXES(BrowserViewTest, BrowserView); | 463 FRIEND_TEST_ALL_PREFIXES(BrowserViewTest, BrowserView); |
464 FRIEND_TEST_ALL_PREFIXES(BrowserViewsAccessibilityTest, | |
465 TestAboutChromeViewAccObj); | |
466 | 464 |
467 enum FullscreenMode { | 465 enum FullscreenMode { |
468 NORMAL_FULLSCREEN, | 466 NORMAL_FULLSCREEN, |
469 METRO_SNAP_FULLSCREEN | 467 METRO_SNAP_FULLSCREEN |
470 }; | 468 }; |
471 | 469 |
472 // Appends to |toolbars| a pointer to each AccessiblePaneView that | 470 // Appends to |toolbars| a pointer to each AccessiblePaneView that |
473 // can be traversed using F6, in the order they should be traversed. | 471 // can be traversed using F6, in the order they should be traversed. |
474 void GetAccessiblePanes(std::vector<views::AccessiblePaneView*>* panes); | 472 void GetAccessiblePanes(std::vector<views::AccessiblePaneView*>* panes); |
475 | 473 |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; | 699 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; |
702 | 700 |
703 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 701 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
704 | 702 |
705 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 703 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
706 | 704 |
707 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 705 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
708 }; | 706 }; |
709 | 707 |
710 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 708 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |