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

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

Issue 1305143008: [Mac] Implement LocationBarViewMac::UpdateLocationBarVisibility() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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_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/presentation_mode_controller.h" 10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // does not position views; callers must also call |-layoutSubviews:|. 69 // does not position views; callers must also call |-layoutSubviews:|.
70 - (void)moveViewsForImmersiveFullscreen:(BOOL)fullscreen 70 - (void)moveViewsForImmersiveFullscreen:(BOOL)fullscreen
71 regularWindow:(NSWindow*)regularWindow 71 regularWindow:(NSWindow*)regularWindow
72 fullscreenWindow:(NSWindow*)fullscreenWindow; 72 fullscreenWindow:(NSWindow*)fullscreenWindow;
73 73
74 // Called when a permission bubble closes, and informs the presentation 74 // Called when a permission bubble closes, and informs the presentation
75 // controller that the dropdown can be hidden. (The dropdown should never be 75 // controller that the dropdown can be hidden. (The dropdown should never be
76 // hidden while a permissions bubble is visible.) 76 // hidden while a permissions bubble is visible.)
77 - (void)permissionBubbleWindowWillClose:(NSNotification*)notification; 77 - (void)permissionBubbleWindowWillClose:(NSNotification*)notification;
78 78
79 - (void)showToolbar:(NSNotification*)notification;
tapted 2015/09/08 05:55:05 all objc methods in .h files need comments, per go
dominickn 2015/10/09 06:37:02 Done.
80 - (void)hideToolbar:(NSNotification*)notification;
81
79 // Enter or exit fullscreen without using Cocoa's System Fullscreen API. These 82 // Enter or exit fullscreen without using Cocoa's System Fullscreen API. These
80 // methods are internal implementations of |-setFullscreen:|. 83 // methods are internal implementations of |-setFullscreen:|.
81 - (void)enterImmersiveFullscreen; 84 - (void)enterImmersiveFullscreen;
82 - (void)exitImmersiveFullscreen; 85 - (void)exitImmersiveFullscreen;
83 86
84 // Register or deregister for content view resize notifications. These 87 // Register or deregister for content view resize notifications. These
85 // notifications are used while transitioning into fullscreen mode using Cocoa's 88 // notifications are used while transitioning into fullscreen mode using Cocoa's
86 // System Fullscreen API. 89 // System Fullscreen API.
87 - (void)registerForContentViewResizeNotifications; 90 - (void)registerForContentViewResizeNotifications;
88 - (void)deregisterForContentViewResizeNotifications; 91 - (void)deregisterForContentViewResizeNotifications;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Redeclare some methods from NSWindowDelegate to suppress 180 // Redeclare some methods from NSWindowDelegate to suppress
178 // -Wpartial-availability warnings. 181 // -Wpartial-availability warnings.
179 - (void)windowDidEnterFullScreen:(NSNotification*)notification; 182 - (void)windowDidEnterFullScreen:(NSNotification*)notification;
180 - (void)windowDidExitFullScreen:(NSNotification*)notification; 183 - (void)windowDidExitFullScreen:(NSNotification*)notification;
181 - (void)windowWillExitFullScreen:(NSNotification*)notification; 184 - (void)windowWillExitFullScreen:(NSNotification*)notification;
182 #endif 185 #endif
183 186
184 @end // @interface BrowserWindowController(Private) 187 @end // @interface BrowserWindowController(Private)
185 188
186 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 189 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698