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/tab_contents_controller.mm

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 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/tab_contents_controller.h" 5 #import "chrome/browser/ui/cocoa/tab_contents_controller.h"
6 6
7 #include "base/mac_util.h"
8 #include "base/scoped_nsobject.h" 7 #include "base/scoped_nsobject.h"
9 #include "chrome/browser/renderer_host/render_view_host.h" 8 #include "chrome/browser/renderer_host/render_view_host.h"
10 #include "chrome/browser/renderer_host/render_widget_host_view.h" 9 #include "chrome/browser/renderer_host/render_widget_host_view.h"
11 #include "chrome/browser/tab_contents/navigation_controller.h" 10 #include "chrome/browser/tab_contents/navigation_controller.h"
12 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
13 #include "chrome/common/notification_details.h" 12 #include "chrome/common/notification_details.h"
14 #include "chrome/common/notification_observer.h" 13 #include "chrome/common/notification_observer.h"
15 #include "chrome/common/notification_registrar.h" 14 #include "chrome/common/notification_registrar.h"
16 #include "chrome/common/notification_source.h" 15 #include "chrome/common/notification_source.h"
17 #include "chrome/common/notification_type.h" 16 #include "chrome/common/notification_type.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // the view may have, so avoid changing the view hierarchy unless 202 // the view may have, so avoid changing the view hierarchy unless
204 // the view is different. 203 // the view is different.
205 if ([self tabContents] != updatedContents) { 204 if ([self tabContents] != updatedContents) {
206 [self changeTabContents:updatedContents]; 205 [self changeTabContents:updatedContents];
207 if ([self tabContents]) 206 if ([self tabContents])
208 [self ensureContentsVisible]; 207 [self ensureContentsVisible];
209 } 208 }
210 } 209 }
211 210
212 @end 211 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/speech_input_window_controller.mm ('k') | chrome/browser/ui/cocoa/tab_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698