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

Side by Side Diff: chrome/browser/ui/website_settings/permission_bubble_view.h

Issue 390503003: Enables permission bubbles to remain visible during fulscreen on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: edited comment Created 6 years, 5 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
« no previous file with comments | « chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 class PermissionBubbleRequest; 10 class PermissionBubbleRequest;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const std::vector<bool>& accept_state, 46 const std::vector<bool>& accept_state,
47 bool customization_mode) = 0; 47 bool customization_mode) = 0;
48 48
49 // Returns true if the view can accept a new Show() command to coalesce 49 // Returns true if the view can accept a new Show() command to coalesce
50 // requests. Currently the policy is that this should return true if the view 50 // requests. Currently the policy is that this should return true if the view
51 // is being shown and the mouse is not over the view area (!IsMouseHovered). 51 // is being shown and the mouse is not over the view area (!IsMouseHovered).
52 virtual bool CanAcceptRequestUpdate() = 0; 52 virtual bool CanAcceptRequestUpdate() = 0;
53 53
54 // Hides the permission bubble. 54 // Hides the permission bubble.
55 virtual void Hide() = 0; 55 virtual void Hide() = 0;
56
57 // Returns true if there is a bubble currently showing.
58 virtual bool IsVisible() = 0;
56 }; 59 };
57 60
58 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_ 61 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_PERMISSION_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698