diff options
| author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-20 16:32:57 +0000 |
|---|---|---|
| committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-20 16:32:57 +0000 |
| commit | 07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a (patch) | |
| tree | 2d80f7c471e0b1f5e196cdff566169ffbe1b4aa2 /chrome/browser/cocoa/cocoa_test_helper.h | |
| parent | a8a07ae9a396926d8b2e3c778f46cef94e453cc1 (diff) | |
| download | chromium_src-07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a.zip chromium_src-07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a.tar.gz chromium_src-07214a8e5f5b2c3aa5aa55d6c24e67f2e829a60a.tar.bz2 | |
Add a unit test for BaseView. Add a helper to get the contentView more easily.
Review URL: http://codereview.chromium.org/82001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/cocoa_test_helper.h')
| -rw-r--r-- | chrome/browser/cocoa/cocoa_test_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/cocoa_test_helper.h b/chrome/browser/cocoa/cocoa_test_helper.h index 04fd2de5..28515276 100644 --- a/chrome/browser/cocoa/cocoa_test_helper.h +++ b/chrome/browser/cocoa/cocoa_test_helper.h @@ -51,6 +51,7 @@ class CocoaTestHelper { // Access the Cocoa window created for the test. NSWindow* window() const { return window_.get(); } + NSView* contentView() const { return [window_ contentView]; } private: scoped_nsobject<NSWindow> window_; |
