| 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 | 453 |
| 454 // ExclusiveAccessContext overrides | 454 // ExclusiveAccessContext overrides |
| 455 Profile* GetProfile() override; | 455 Profile* GetProfile() override; |
| 456 content::WebContents* GetActiveWebContents() override; | 456 content::WebContents* GetActiveWebContents() override; |
| 457 void HideDownloadShelf() override; | 457 void HideDownloadShelf() override; |
| 458 void UnhideDownloadShelf() override; | 458 void UnhideDownloadShelf() override; |
| 459 | 459 |
| 460 // ExclusiveAccessBubbleViewsContext overrides | 460 // ExclusiveAccessBubbleViewsContext overrides |
| 461 ExclusiveAccessManager* GetExclusiveAccessManager() override; | 461 ExclusiveAccessManager* GetExclusiveAccessManager() override; |
| 462 bool IsImmersiveModeEnabled() override; | 462 bool IsImmersiveModeEnabled() override; |
| 463 views::Widget* GetBubbleAssociatedWidget() override; | |
| 464 gfx::Rect GetTopContainerBoundsInScreen() override; | 463 gfx::Rect GetTopContainerBoundsInScreen() override; |
| 465 | 464 |
| 466 // Testing interface: | 465 // Testing interface: |
| 467 views::View* GetContentsContainerForTest() { return contents_container_; } | 466 views::View* GetContentsContainerForTest() { return contents_container_; } |
| 468 views::WebView* GetContentsWebViewForTest() { return contents_web_view_; } | 467 views::WebView* GetContentsWebViewForTest() { return contents_web_view_; } |
| 469 views::WebView* GetDevToolsWebViewForTest() { return devtools_web_view_; } | 468 views::WebView* GetDevToolsWebViewForTest() { return devtools_web_view_; } |
| 470 | 469 |
| 471 private: | 470 private: |
| 472 // Do not friend BrowserViewLayout. Use the BrowserViewLayoutDelegate | 471 // Do not friend BrowserViewLayout. Use the BrowserViewLayoutDelegate |
| 473 // interface to keep these two classes decoupled and testable. | 472 // interface to keep these two classes decoupled and testable. |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 712 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
| 714 | 713 |
| 715 SigninViewController signin_view_controller_; | 714 SigninViewController signin_view_controller_; |
| 716 | 715 |
| 717 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 716 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 718 | 717 |
| 719 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 718 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 720 }; | 719 }; |
| 721 | 720 |
| 722 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 721 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |