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

Side by Side Diff: trunk/src/chrome/browser/ui/cocoa/dev_tools_controller.h

Issue 13006019: Revert 190584 "Alternate NTP Mac: Show overlay at fixed position" (Closed) Base URL: svn://svn.chromium.org/chrome/
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_DEV_TOOLS_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
(...skipping 29 matching lines...) Expand all
40 // The compiler seems to have trouble handling a function named "view" that 40 // The compiler seems to have trouble handling a function named "view" that
41 // returns an NSSplitView, so provide a differently-named method. 41 // returns an NSSplitView, so provide a differently-named method.
42 - (NSSplitView*)splitView; 42 - (NSSplitView*)splitView;
43 43
44 // Depending on |contents|'s state, decides whether the docked web inspector 44 // Depending on |contents|'s state, decides whether the docked web inspector
45 // should be shown or hidden and adjusts its height (|delegate_| handles 45 // should be shown or hidden and adjusts its height (|delegate_| handles
46 // the actual resize). 46 // the actual resize).
47 - (void)updateDevToolsForWebContents:(content::WebContents*)contents 47 - (void)updateDevToolsForWebContents:(content::WebContents*)contents
48 withProfile:(Profile*)profile; 48 withProfile:(Profile*)profile;
49 49
50 - (CGFloat)topContentOffset;
51 - (void)setTopContentOffset:(CGFloat)offset; 50 - (void)setTopContentOffset:(CGFloat)offset;
52 51
53 @end 52 @end
54 53
55 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ 54 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698