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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller_private.h

Issue 2446313005: [Mac] Refactor the fullscreen toolbar mouse tracker (Closed)
Patch Set: Fix for rsesek Created 4 years, 1 month 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_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
7 7
8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
9 #import "chrome/browser/ui/cocoa/browser_window_layout.h" 9 #import "chrome/browser/ui/cocoa/browser_window_layout.h"
10 #import "chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h" 10 #import "chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. 100 // The opacity for the toolbar divider; 0 means that it shouldn't be shown.
101 - (CGFloat)toolbarDividerOpacity; 101 - (CGFloat)toolbarDividerOpacity;
102 102
103 // Update visibility of the infobar tip, depending on the state of the window. 103 // Update visibility of the infobar tip, depending on the state of the window.
104 - (void)updateInfoBarTipVisibility; 104 - (void)updateInfoBarTipVisibility;
105 105
106 // The min Y of the bubble point in the coordinate space of the toolbar. 106 // The min Y of the bubble point in the coordinate space of the toolbar.
107 - (NSInteger)pageInfoBubblePointY; 107 - (NSInteger)pageInfoBubblePointY;
108 108
109 // Configures the fullscreenToolbarController_ right after it is constructed.
110 - (void)configureFullscreenToolbarController;
111
112 // Allows the omnibox to slide. Also prepares UI for several fullscreen modes. 109 // Allows the omnibox to slide. Also prepares UI for several fullscreen modes.
113 // This method gets called when entering AppKit fullscren, or when entering 110 // This method gets called when entering AppKit fullscren, or when entering
114 // Immersive fullscreen. Expects fullscreenStyle_ to be set. 111 // Immersive fullscreen. Expects fullscreenStyle_ to be set.
115 - (void)adjustUIForSlidingFullscreenStyle:(FullscreenSlidingStyle)style; 112 - (void)adjustUIForSlidingFullscreenStyle:(FullscreenSlidingStyle)style;
116 113
117 // This method gets called when exiting AppKit fullscreen, or when exiting 114 // This method gets called when exiting AppKit fullscreen, or when exiting
118 // Immersive fullscreen. It performs some common UI changes, and stops the 115 // Immersive fullscreen. It performs some common UI changes, and stops the
119 // omnibox from sliding. 116 // omnibox from sliding.
120 - (void)adjustUIForExitingFullscreenAndStopOmniboxSliding; 117 - (void)adjustUIForExitingFullscreenAndStopOmniboxSliding;
121 118
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Determines the appropriate sliding fullscreen style and adjusts the UI to 183 // Determines the appropriate sliding fullscreen style and adjusts the UI to
187 // it when we are entering fullscreen. 184 // it when we are entering fullscreen.
188 - (void)adjustUIForEnteringFullscreen; 185 - (void)adjustUIForEnteringFullscreen;
189 186
190 // Returns YES if the fullscreen is for tab content or an extension. 187 // Returns YES if the fullscreen is for tab content or an extension.
191 - (BOOL)isFullscreenForTabContentOrExtension; 188 - (BOOL)isFullscreenForTabContentOrExtension;
192 189
193 @end // @interface BrowserWindowController(Private) 190 @end // @interface BrowserWindowController(Private)
194 191
195 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 192 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698