summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-27 15:22:05 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-27 15:22:05 +0000
commit560494dea0e934b67b7acac272690a1f8575cd94 (patch)
treec850150e0578854e5357ca0f3df199f4c5bcc6bb /chrome/browser/cocoa
parentc6ce48192cf024700cf9faf96ea01acc44d1e4e6 (diff)
downloadchromium_src-560494dea0e934b67b7acac272690a1f8575cd94.zip
chromium_src-560494dea0e934b67b7acac272690a1f8575cd94.tar.gz
chromium_src-560494dea0e934b67b7acac272690a1f8575cd94.tar.bz2
Mac: Remove ToolbarButtonCell (and associated files).
.xib changes: change all ToolbarButtonCells to GradientButtonCells. BUG=42582 TEST=toolbar buttons and find bar buttons still work as before Review URL: http://codereview.chromium.org/1697011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r--chrome/browser/cocoa/toolbar_button_cell.h27
-rw-r--r--chrome/browser/cocoa/toolbar_button_cell.mm8
-rw-r--r--chrome/browser/cocoa/toolbar_button_cell_unittest.mm6
3 files changed, 0 insertions, 41 deletions
diff --git a/chrome/browser/cocoa/toolbar_button_cell.h b/chrome/browser/cocoa/toolbar_button_cell.h
deleted file mode 100644
index c382ff7..0000000
--- a/chrome/browser/cocoa/toolbar_button_cell.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
-#define CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
-
-#import <Cocoa/Cocoa.h>
-#import "chrome/browser/cocoa/clickhold_button_cell.h"
-
-// A button cell for the toolbar.
-
-// TODO(jrg): Why have a class at all when the base class does it all?
-// I anticipate making changes for extensions. Themes may also
-// require changes. I don't yet know if those will be common across
-// the toolbar and bookmark bar or not. The initial CL which made
-// this empty was the use of the base class for both toolbar and
-// bookmark bar button cells. It seems wasteful to remove the files
-// then add them back in soon after.
-// TODO(jrg): If no differences come up, remove this file and use
-// the base class explicitly for both the toolbar and bookmark bar.
-
-@interface ToolbarButtonCell : ClickHoldButtonCell {
-}
-@end
-
-#endif // CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
diff --git a/chrome/browser/cocoa/toolbar_button_cell.mm b/chrome/browser/cocoa/toolbar_button_cell.mm
deleted file mode 100644
index b434df9..0000000
--- a/chrome/browser/cocoa/toolbar_button_cell.mm
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#import "chrome/browser/cocoa/toolbar_button_cell.h"
-
-@implementation ToolbarButtonCell
-@end
diff --git a/chrome/browser/cocoa/toolbar_button_cell_unittest.mm b/chrome/browser/cocoa/toolbar_button_cell_unittest.mm
deleted file mode 100644
index 2963827..0000000
--- a/chrome/browser/cocoa/toolbar_button_cell_unittest.mm
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This file is intentionally empty; there is no code in
-// ToolbarButtonCell to test.