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

Side by Side Diff: chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h

Issue 789403002: Rename fullscreen_exit_bubble_* to exclusive_access_bubble_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated based on CR comments Created 6 years 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) 2012 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
5 #ifndef CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_EXIT_BUBBLE_TYPE_H_
6 #define CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_EXIT_BUBBLE_TYPE_H_
7
8 #include "base/strings/string16.h"
9 #include "url/gurl.h"
10
11 namespace extensions {
12 class ExtensionRegistry;
13 }
14
15 // Describes the contents of the fullscreen exit bubble.
16 // For example, if the user already agreed to fullscreen mode and the
17 // web page then requests mouse lock, "do you want to allow mouse lock"
18 // will be shown.
19 enum FullscreenExitBubbleType {
20 FEB_TYPE_NONE = 0,
21
22 // For tab fullscreen mode.
23 // More comments about tab and browser fullscreen mode can be found in
24 // chrome/browser/ui/fullscreen/fullscreen_controller.h.
25 FEB_TYPE_FULLSCREEN_BUTTONS,
26 FEB_TYPE_FULLSCREEN_MOUSELOCK_BUTTONS,
27 FEB_TYPE_MOUSELOCK_BUTTONS,
28 FEB_TYPE_FULLSCREEN_EXIT_INSTRUCTION,
29 FEB_TYPE_FULLSCREEN_MOUSELOCK_EXIT_INSTRUCTION,
30 FEB_TYPE_MOUSELOCK_EXIT_INSTRUCTION,
31
32 // For browser fullscreen mode.
33 FEB_TYPE_BROWSER_FULLSCREEN_EXIT_INSTRUCTION,
34 FEB_TYPE_BROWSER_EXTENSION_FULLSCREEN_EXIT_INSTRUCTION
35 };
36
37 namespace fullscreen_bubble {
38
39 base::string16 GetLabelTextForType(FullscreenExitBubbleType type,
40 const GURL& url,
41 extensions::ExtensionRegistry* registry);
42 base::string16 GetDenyButtonTextForType(FullscreenExitBubbleType type);
43 bool ShowButtonsForType(FullscreenExitBubbleType type);
44 void PermissionRequestedByType(FullscreenExitBubbleType type,
45 bool* tab_fullscreen,
46 bool* mouse_lock);
47
48 } // namespace fullscreen_bubble
49
50 #endif // CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_EXIT_BUBBLE_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc ('k') | chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698