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