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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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/search/search_ui.h" 15 #include "chrome/browser/ui/search/search_ui.h"
16 #include "grit/theme_resources.h"
17 #include "skia/ext/skia_utils_mac.h" 16 #include "skia/ext/skia_utils_mac.h"
18 #import "ui/base/cocoa/nsgraphics_context_additions.h" 17 #import "ui/base/cocoa/nsgraphics_context_additions.h"
19 #include "ui/base/theme_provider.h" 18 #include "ui/base/theme_provider.h"
20 #include "ui/gfx/canvas_skia_paint.h" 19 #include "ui/gfx/canvas_skia_paint.h"
21 #include "ui/gfx/rect.h" 20 #include "ui/gfx/rect.h"
22 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 21 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
23 22
24 @interface BookmarkBarToolbarView (Private) 23 @interface BookmarkBarToolbarView (Private)
25 - (void)drawAsDetachedBubble; 24 - (void)drawAsDetachedBubble;
26 @end 25 @end
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 strokeColor = [[self strokeColor] blendedColorWithFraction:morph 88 strokeColor = [[self strokeColor] blendedColorWithFraction:morph
90 ofColor:strokeColor]; 89 ofColor:strokeColor];
91 strokeColor = [strokeColor colorWithAlphaComponent:0.5]; 90 strokeColor = [strokeColor colorWithAlphaComponent:0.5];
92 [strokeColor set]; 91 [strokeColor set];
93 NSRect strokeRect = bounds; 92 NSRect strokeRect = bounds;
94 strokeRect.size.height = [self cr_lineWidth]; 93 strokeRect.size.height = [self cr_lineWidth];
95 NSRectFillUsingOperation(strokeRect, NSCompositeSourceOver); 94 NSRectFillUsingOperation(strokeRect, NSCompositeSourceOver);
96 } 95 }
97 96
98 @end // @implementation BookmarkBarToolbarView 97 @end // @implementation BookmarkBarToolbarView
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698