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

Side by Side Diff: chrome/browser/ui/cocoa/find_bar/find_bar_view.mm

Issue 595283002: Move nsview_additions and hyperlink_text_view to ui/base/cocoa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
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/find_bar/find_bar_view.h" 5 #import "chrome/browser/ui/cocoa/find_bar/find_bar_view.h"
6 6
7 #import "chrome/browser/ui/cocoa/nsview_additions.h"
8 #import "chrome/browser/ui/cocoa/themed_window.h" 7 #import "chrome/browser/ui/cocoa/themed_window.h"
9 #import "chrome/browser/ui/cocoa/url_drop_target.h" 8 #import "chrome/browser/ui/cocoa/url_drop_target.h"
10 #import "chrome/browser/ui/cocoa/view_id_util.h" 9 #import "chrome/browser/ui/cocoa/view_id_util.h"
11 #import "ui/base/cocoa/nsgraphics_context_additions.h" 10 #import "ui/base/cocoa/nsgraphics_context_additions.h"
11 #import "ui/base/cocoa/nsview_additions.h"
12 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h" 12 #include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
13 13
14 namespace { 14 namespace {
15 CGFloat kCurveSize = 8; 15 CGFloat kCurveSize = 8;
16 } // end namespace 16 } // end namespace
17 17
18 @implementation FindBarView 18 @implementation FindBarView
19 19
20 - (id)initWithFrame:(NSRect)frame { 20 - (id)initWithFrame:(NSRect)frame {
21 if ((self = [super initWithFrame:frame])) { 21 if ((self = [super initWithFrame:frame])) {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 return NSDragOperationNone; 144 return NSDragOperationNone;
145 } 145 }
146 146
147 // Specifies that mouse events over this view should be ignored by the 147 // Specifies that mouse events over this view should be ignored by the
148 // render host. 148 // render host.
149 - (BOOL)nonWebContentView { 149 - (BOOL)nonWebContentView {
150 return YES; 150 return YES;
151 } 151 }
152 152
153 @end 153 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698