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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm

Issue 366203002: Cleanup: Remove unused ntp_background_util.* component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h" 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h"
6 6
7 #include "chrome/browser/search/search.h" 7 #include "chrome/browser/search/search.h"
8 #include "chrome/browser/themes/theme_properties.h" 8 #include "chrome/browser/themes/theme_properties.h"
9 #include "chrome/browser/themes/theme_service.h" 9 #include "chrome/browser/themes/theme_service.h"
10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h" 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h"
11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h"
12 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 12 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
13 #import "chrome/browser/ui/cocoa/nsview_additions.h" 13 #import "chrome/browser/ui/cocoa/nsview_additions.h"
14 #import "chrome/browser/ui/cocoa/themed_window.h" 14 #import "chrome/browser/ui/cocoa/themed_window.h"
15 #include "chrome/browser/ui/ntp_background_util.h"
16 #include "chrome/browser/ui/search/search_ui.h" 15 #include "chrome/browser/ui/search/search_ui.h"
17 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
18 #include "skia/ext/skia_utils_mac.h" 17 #include "skia/ext/skia_utils_mac.h"
19 #import "ui/base/cocoa/nsgraphics_context_additions.h" 18 #import "ui/base/cocoa/nsgraphics_context_additions.h"
20 #include "ui/base/theme_provider.h" 19 #include "ui/base/theme_provider.h"
21 #include "ui/gfx/canvas_skia_paint.h" 20 #include "ui/gfx/canvas_skia_paint.h"
22 #include "ui/gfx/rect.h" 21 #include "ui/gfx/rect.h"
23 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 22 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
24 23
25 @interface BookmarkBarToolbarView (Private) 24 @interface BookmarkBarToolbarView (Private)
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 strokeColor = [[self strokeColor] blendedColorWithFraction:morph 89 strokeColor = [[self strokeColor] blendedColorWithFraction:morph
91 ofColor:strokeColor]; 90 ofColor:strokeColor];
92 strokeColor = [strokeColor colorWithAlphaComponent:0.5]; 91 strokeColor = [strokeColor colorWithAlphaComponent:0.5];
93 [strokeColor set]; 92 [strokeColor set];
94 NSRect strokeRect = bounds; 93 NSRect strokeRect = bounds;
95 strokeRect.size.height = [self cr_lineWidth]; 94 strokeRect.size.height = [self cr_lineWidth];
96 NSRectFillUsingOperation(strokeRect, NSCompositeSourceOver); 95 NSRectFillUsingOperation(strokeRect, NSCompositeSourceOver);
97 } 96 }
98 97
99 @end // @implementation BookmarkBarToolbarView 98 @end // @implementation BookmarkBarToolbarView
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h ('k') | chrome/browser/ui/ntp_background_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698