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

Side by Side Diff: chrome/browser/ui/exclusive_access/fullscreen_controller_test.h

Issue 2850403002: Fix crash under ExclusiveAccessBubbleViews::AnimationProgressed(). (Closed)
Patch Set: respond to comments Created 3 years, 7 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
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_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_TEST_H_ 5 #ifndef CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_TEST_H_
6 #define CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_TEST_H_ 6 #define CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_TEST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h" 10 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 bool last_unlocked_by_target); 44 bool last_unlocked_by_target);
45 void LostMouseLock(); 45 void LostMouseLock();
46 bool SendEscapeToFullscreenController(); 46 bool SendEscapeToFullscreenController();
47 bool IsFullscreenForBrowser(); 47 bool IsFullscreenForBrowser();
48 bool IsWindowFullscreenForTabOrPending(); 48 bool IsWindowFullscreenForTabOrPending();
49 ExclusiveAccessBubbleType GetExclusiveAccessBubbleType(); 49 ExclusiveAccessBubbleType GetExclusiveAccessBubbleType();
50 bool IsFullscreenBubbleDisplayed(); 50 bool IsFullscreenBubbleDisplayed();
51 void GoBack(); 51 void GoBack();
52 void Reload(); 52 void Reload();
53 void SetPrivilegedFullscreen(bool is_privileged); 53 void SetPrivilegedFullscreen(bool is_privileged);
54 void EnterActiveTabFullscreen();
55
54 static const char kFullscreenMouseLockHTML[]; 56 static const char kFullscreenMouseLockHTML[];
55 FullscreenController* GetFullscreenController(); 57 FullscreenController* GetFullscreenController();
56 ExclusiveAccessManager* GetExclusiveAccessManager(); 58 ExclusiveAccessManager* GetExclusiveAccessManager();
57 59
58 private: 60 private:
59 void ToggleTabFullscreen_Internal(bool enter_fullscreen, 61 void ToggleTabFullscreen_Internal(bool enter_fullscreen,
60 bool retry_until_success); 62 bool retry_until_success);
61 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest); 63 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest);
62 }; 64 };
63 65
64 #endif // CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_TEST_H_ 66 #endif // CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_FULLSCREEN_CONTROLLER_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698