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

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

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 9
10
11 // Private methods for the |BrowserWindowController|. This category should 10 // Private methods for the |BrowserWindowController|. This category should
12 // contain the private methods used by different parts of the BWC; private 11 // contain the private methods used by different parts of the BWC; private
13 // methods used only by single parts should be declared in their own file. 12 // methods used only by single parts should be declared in their own file.
14 // TODO(viettrungluu): [crbug.com/35543] work on splitting out stuff from the 13 // TODO(viettrungluu): [crbug.com/35543] work on splitting out stuff from the
15 // BWC, and figuring out which methods belong here (need to unravel 14 // BWC, and figuring out which methods belong here (need to unravel
16 // "dependencies"). 15 // "dependencies").
17 @interface BrowserWindowController(Private) 16 @interface BrowserWindowController(Private)
18 17
19 // Create the appropriate tab strip controller based on whether or not side 18 // Create the appropriate tab strip controller based on whether or not side
20 // tabs are enabled. Replaces the current controller. 19 // tabs are enabled. Replaces the current controller.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 139
141 // Allows/prevents bar visibility locks and releases from updating the visual 140 // Allows/prevents bar visibility locks and releases from updating the visual
142 // state. Enabling makes changes instantaneously; disabling cancels any 141 // state. Enabling makes changes instantaneously; disabling cancels any
143 // timers/animation. 142 // timers/animation.
144 - (void)enableBarVisibilityUpdates; 143 - (void)enableBarVisibilityUpdates;
145 - (void)disableBarVisibilityUpdates; 144 - (void)disableBarVisibilityUpdates;
146 145
147 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. 146 // The opacity for the toolbar divider; 0 means that it shouldn't be shown.
148 - (CGFloat)toolbarDividerOpacity; 147 - (CGFloat)toolbarDividerOpacity;
149 148
150 // Returns YES if instant results are being shown under the omnibox. 149 // Returns YES if Instant results are being shown under the omnibox.
151 - (BOOL)isShowingInstantResults; 150 - (BOOL)isShowingInstantResults;
152 151
153 // Updates the content offets of the tab strip controller and the previewable 152 // Updates the content offets of the tab strip controller and the overlayable
154 // contents controller. This is used to adjust the overlap between those views 153 // contents controller. This is used to adjust the overlap between those views
155 // and the bookmark bar. 154 // and the bookmark bar.
156 - (void)updateContentOffsets; 155 - (void)updateContentOffsets;
157 156
158 // Ensures the z-order of subviews is correct. 157 // Ensures the z-order of subviews is correct.
159 - (void)updateSubviewZOrder:(BOOL)inPresentationMode; 158 - (void)updateSubviewZOrder:(BOOL)inPresentationMode;
160 159
161 @end // @interface BrowserWindowController(Private) 160 @end // @interface BrowserWindowController(Private)
162 161
163 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 162 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698