diff options
author | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-02 17:29:43 +0000 |
---|---|---|
committer | andybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-02 17:29:43 +0000 |
commit | 8a34e660e7b6627b71a3b24e6800090f239075bb (patch) | |
tree | e76c3a12d82cd6e6d8dc467596316f0666fd1296 /chrome/browser/cocoa/tab_view.mm | |
parent | 0b4158e6bc07aea93651c05c3bf26c2152bd9842 (diff) | |
download | chromium_src-8a34e660e7b6627b71a3b24e6800090f239075bb.zip chromium_src-8a34e660e7b6627b71a3b24e6800090f239075bb.tar.gz chromium_src-8a34e660e7b6627b71a3b24e6800090f239075bb.tar.bz2 |
Rip out phantom tabs and corresponding unit tests.
Also get rid of the type enum passed to TabReplacedAt since it can only be one option after phantom tabs are removed.
BUG=none
TEST=compile? good. pass tests? good.
Review URL: http://codereview.chromium.org/3539010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_view.mm')
-rw-r--r-- | chrome/browser/cocoa/tab_view.mm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/tab_view.mm b/chrome/browser/cocoa/tab_view.mm index e2d7d49..c9674e7 100644 --- a/chrome/browser/cocoa/tab_view.mm +++ b/chrome/browser/cocoa/tab_view.mm @@ -619,11 +619,6 @@ const CGFloat kRapidCloseDist = 2.5; } - (void)drawRect:(NSRect)dirtyRect { - // If this tab is phantom, do not draw the tab background itself. The only UI - // element that will represent this tab is the favicon. - if ([controller_ phantom]) - return; - NSGraphicsContext* context = [NSGraphicsContext currentContext]; [context saveGraphicsState]; |