Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm

Issue 10180011: Support painting panels with chromium themes on GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm
diff --git a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm
index 4a3c6f198e91ebd4a630427d464a600497a837f1..c4c8068368bebf1751c6aae15930e00d56433ca5 100644
--- a/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm
+++ b/chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm
@@ -646,14 +646,6 @@ static NSEvent* MakeMouseEvent(NSEventType type,
}
}
-- (int)iconOnlyWidthInScreenCoordinates {
- int width = kIconAndTextPadding * 2;
- if (!icon_)
- return width;
-
- return width + NSWidth([self convertRect:[icon_ frame] toView:nil]);
-}
-
// (Private/TestingAPI)
- (PanelWindowControllerCocoa*)controller {
return controller_;
« no previous file with comments | « chrome/browser/ui/panels/panel_titlebar_view_cocoa.h ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698