Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Side by Side Diff: chrome/browser/ui/views/exclusive_access_bubble_views_context_browser.h

Issue 944123003: Hack webapp to request keyboard events on connection. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hacked up chromoting client and using mouse lock instead of keyboard lock for bubble. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698