| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_FULLSCREEN_FULLSCREEN_TOOLBAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_FULLSCREEN_FULLSCREEN_TOOLBAR_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_FULLSCREEN_TOOLBAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_FULLSCREEN_TOOLBAR_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/mac_util.h" | 10 #include "base/mac/mac_util.h" |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 139 |
| 140 // Allows tests to set a mock FullscreenToolbarMouseTracker object. | 140 // Allows tests to set a mock FullscreenToolbarMouseTracker object. |
| 141 - (void)setMouseTracker:(FullscreenToolbarMouseTracker*)tracker; | 141 - (void)setMouseTracker:(FullscreenToolbarMouseTracker*)tracker; |
| 142 | 142 |
| 143 // Sets the value of |toolbarStyle_|. | 143 // Sets the value of |toolbarStyle_|. |
| 144 - (void)setToolbarStyle:(FullscreenToolbarStyle)style; | 144 - (void)setToolbarStyle:(FullscreenToolbarStyle)style; |
| 145 | 145 |
| 146 // Sets the value of |inFullscreenMode_|. | 146 // Sets the value of |inFullscreenMode_|. |
| 147 - (void)setTestFullscreenMode:(BOOL)isInFullscreen; | 147 - (void)setTestFullscreenMode:(BOOL)isInFullscreen; |
| 148 | 148 |
| 149 // Returns |kToolbarVerticalOffset|. | |
| 150 - (CGFloat)toolbarVerticalOffset; | |
| 151 | |
| 152 @end | 149 @end |
| 153 | 150 |
| 154 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_FULLSCREEN_TOOLBAR_CONTROLLER_H_ | 151 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_FULLSCREEN_TOOLBAR_CONTROLLER_H_ |
| OLD | NEW |