OLD | NEW |
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 Loading... |
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; |
50 - (void)setTopContentOffset:(CGFloat)offset; | 51 - (void)setTopContentOffset:(CGFloat)offset; |
51 | 52 |
52 @end | 53 @end |
53 | 54 |
54 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ | 55 #endif // CHROME_BROWSER_UI_COCOA_DEV_TOOLS_CONTROLLER_H_ |
OLD | NEW |