| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/browser_window_controller_private.h" | 5 #import "chrome/browser/ui/cocoa/browser_window_controller_private.h" | 
| 6 | 6 | 
| 7 #include "base/mac_util.h" | 7 #include "base/mac_util.h" | 
| 8 #import "base/scoped_nsobject.h" | 8 #import "base/scoped_nsobject.h" | 
| 9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" | 
| 10 #include "chrome/browser/prefs/pref_service.h" | 10 #include "chrome/browser/prefs/pref_service.h" | 
| 11 #include "chrome/browser/profile.h" | 11 #include "chrome/browser/profiles/profile.h" | 
| 12 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 12 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 
| 13 #include "chrome/browser/tab_contents/tab_contents.h" | 13 #include "chrome/browser/tab_contents/tab_contents.h" | 
| 14 #include "chrome/browser/tab_contents/tab_contents_view.h" | 14 #include "chrome/browser/tab_contents/tab_contents_view.h" | 
| 15 #include "chrome/browser/themes/browser_theme_provider.h" | 15 #include "chrome/browser/themes/browser_theme_provider.h" | 
| 16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" | 
| 17 #include "chrome/browser/ui/browser_list.h" | 17 #include "chrome/browser/ui/browser_list.h" | 
| 18 #import "chrome/browser/ui/cocoa/fast_resize_view.h" | 18 #import "chrome/browser/ui/cocoa/fast_resize_view.h" | 
| 19 #import "chrome/browser/ui/cocoa/find_bar_cocoa_controller.h" | 19 #import "chrome/browser/ui/cocoa/find_bar_cocoa_controller.h" | 
| 20 #import "chrome/browser/ui/cocoa/floating_bar_backing_view.h" | 20 #import "chrome/browser/ui/cocoa/floating_bar_backing_view.h" | 
| 21 #import "chrome/browser/ui/cocoa/framed_browser_window.h" | 21 #import "chrome/browser/ui/cocoa/framed_browser_window.h" | 
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 500 - (void)disableBarVisibilityUpdates { | 500 - (void)disableBarVisibilityUpdates { | 
| 501   // Early escape if there's nothing to do. | 501   // Early escape if there's nothing to do. | 
| 502   if (!barVisibilityUpdatesEnabled_) | 502   if (!barVisibilityUpdatesEnabled_) | 
| 503     return; | 503     return; | 
| 504 | 504 | 
| 505   barVisibilityUpdatesEnabled_ = NO; | 505   barVisibilityUpdatesEnabled_ = NO; | 
| 506   [fullscreenController_ cancelAnimationAndTimers]; | 506   [fullscreenController_ cancelAnimationAndTimers]; | 
| 507 } | 507 } | 
| 508 | 508 | 
| 509 @end  // @implementation BrowserWindowController(Private) | 509 @end  // @implementation BrowserWindowController(Private) | 
| OLD | NEW | 
|---|