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

Side by Side Diff: chrome/browser/ui/cocoa/dev_tools_controller.mm

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 years, 10 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 #import "chrome/browser/ui/cocoa/dev_tools_controller.h" 5 #import "chrome/browser/ui/cocoa/dev_tools_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include <Cocoa/Cocoa.h> 9 #include <Cocoa/Cocoa.h>
10 10
11 #import "base/mac/foundation_util.h" 11 #import "base/mac/foundation_util.h"
12 #include "base/prefs/pref_service.h"
12 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/prefs/pref_service.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #import "chrome/browser/ui/cocoa/view_id_util.h" 15 #import "chrome/browser/ui/cocoa/view_id_util.h"
16 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
17 #include "content/public/browser/web_contents.h" 17 #include "content/public/browser/web_contents.h"
18 18
19 using content::WebContents; 19 using content::WebContents;
20 20
21 @interface GraySplitView : NSSplitView { 21 @interface GraySplitView : NSSplitView {
22 CGFloat topContentOffset_; 22 CGFloat topContentOffset_;
23 } 23 }
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 return [splitView_ topContentOffset]; 232 return [splitView_ topContentOffset];
233 } 233 }
234 return proposedPosition; 234 return proposedPosition;
235 } 235 }
236 236
237 -(void)splitViewWillResizeSubviews:(NSNotification *)notification { 237 -(void)splitViewWillResizeSubviews:(NSNotification *)notification {
238 [[splitView_ window] disableScreenUpdatesUntilFlush]; 238 [[splitView_ window] disableScreenUpdatesUntilFlush];
239 } 239 }
240 240
241 @end 241 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698