OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 #ifndef CHROME_BROWSER_UI_VIEWS_EXCLUSIVE_ACCESS_BUBBLE_VIEWS_CONTEXT_BROWSER_H_ |
| 5 #define CHROME_BROWSER_UI_VIEWS_EXCLUSIVE_ACCESS_BUBBLE_VIEWS_CONTEXT_BROWSER_H_ |
| 6 |
| 7 #include "chrome/browser/ui/views/exclusive_access_bubble_views_context.h" |
| 8 |
| 9 class BrowserView; |
| 10 |
| 11 class ExclusiveAccessBubbleViewsContextBrowser |
| 12 : public ExclusiveAccessBubbleViewsContext { |
| 13 public: |
| 14 explicit ExclusiveAccessBubbleViewsContextBrowser(BrowserView* browser_view); |
| 15 ~ExclusiveAccessBubbleViewsContextBrowser() override; |
| 16 |
| 17 ExclusiveAccessManager* GetExclusiveAccessManager() override; |
| 18 views::Widget* GetWidget() override; |
| 19 bool IsImmersiveModeEnabled() override; |
| 20 gfx::Rect GetTopContainerBoundsInScreen() override; |
| 21 |
| 22 private: |
| 23 BrowserView* browser_view_; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(ExclusiveAccessBubbleViewsContextBrowser); |
| 26 }; |
| 27 |
| 28 #endif // CHROME_BROWSER_UI_VIEWS_EXCLUSIVE_ACCESS_BUBBLE_VIEWS_CONTEXT_BROWSER
_H_ |
OLD | NEW |