diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 21:07:12 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-26 21:07:12 +0000 |
commit | aed1b0de668037c45b39d4a41fbdbd6300a8b942 (patch) | |
tree | e7b5d6b40557794ac316d2b499f8e4b2f55b02db /chrome/browser/cocoa/fullscreen_window.mm | |
parent | fb56c27c85e46336d505cf51047345c5389cedba (diff) | |
download | chromium_src-aed1b0de668037c45b39d4a41fbdbd6300a8b942.zip chromium_src-aed1b0de668037c45b39d4a41fbdbd6300a8b942.tar.gz chromium_src-aed1b0de668037c45b39d4a41fbdbd6300a8b942.tar.bz2 |
[Mac] New base class for FramedBrowserWindow and FullscreenWindow. Move common funtionality (theming and hole punching) into this base class.
BUG=53449,53991
TEST=Run with --enable-accelerated-compositing. Go to http://webkit.org/blog/386/3d-transforms/. Go fullscreen. Should see the webpage, not pure black.
TEST=Go fullscreen with the Android Robot theme installed. Tab text for unselected tabs should be grey, not black.
Review URL: http://codereview.chromium.org/3210004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/fullscreen_window.mm')
-rw-r--r-- | chrome/browser/cocoa/fullscreen_window.mm | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/chrome/browser/cocoa/fullscreen_window.mm b/chrome/browser/cocoa/fullscreen_window.mm index 15c2ee8..d0fb304 100644 --- a/chrome/browser/cocoa/fullscreen_window.mm +++ b/chrome/browser/cocoa/fullscreen_window.mm @@ -82,25 +82,4 @@ return [super validateUserInterfaceItem:item]; } -- (ThemeProvider*)themeProvider { - id delegate = [self delegate]; - if (![delegate respondsToSelector:@selector(themeProvider)]) - return NULL; - return [delegate themeProvider]; -} - -- (ThemedWindowStyle)themedWindowStyle { - id delegate = [self delegate]; - if (![delegate respondsToSelector:@selector(themedWindowStyle)]) - return THEMED_NORMAL; - return [delegate themedWindowStyle]; -} - -- (NSPoint)themePatternPhase { - id delegate = [self delegate]; - if (![delegate respondsToSelector:@selector(themePatternPhase)]) - return NSMakePoint(0, 0); - return [delegate themePatternPhase]; -} - @end |