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

Side by Side Diff: ui/base/cocoa/base_view.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
« no previous file with comments | « ui/aura/window_tree_host_x11.h ('k') | ui/base/ime/dummy_text_input_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef UI_BASE_COCOA_BASE_VIEW_H_ 5 #ifndef UI_BASE_COCOA_BASE_VIEW_H_
6 #define UI_BASE_COCOA_BASE_VIEW_H_ 6 #define UI_BASE_COCOA_BASE_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 #import "ui/base/cocoa/tracking_area.h" 11 #import "ui/base/cocoa/tracking_area.h"
12 #include "ui/base/ui_base_export.h" 12 #include "ui/base/ui_base_export.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/geometry/rect.h"
14 14
15 // A view that provides common functionality that many views will need: 15 // A view that provides common functionality that many views will need:
16 // - Automatic registration for mouse-moved events. 16 // - Automatic registration for mouse-moved events.
17 // - Funneling of mouse and key events to two methods 17 // - Funneling of mouse and key events to two methods
18 // - Coordinate conversion utilities 18 // - Coordinate conversion utilities
19 UI_BASE_EXPORT 19 UI_BASE_EXPORT
20 @interface BaseView : NSView { 20 @interface BaseView : NSView {
21 @public 21 @public
22 enum EventHandled { 22 enum EventHandled {
23 kEventNotHandled, 23 kEventNotHandled,
(...skipping 20 matching lines...) Expand all
44 @end 44 @end
45 45
46 // A notification that a view may issue when it receives first responder status. 46 // A notification that a view may issue when it receives first responder status.
47 // The name is |kViewDidBecomeFirstResponder|, the object is the view, and the 47 // The name is |kViewDidBecomeFirstResponder|, the object is the view, and the
48 // NSSelectionDirection is wrapped in an NSNumber under the key 48 // NSSelectionDirection is wrapped in an NSNumber under the key
49 // |kSelectionDirection|. 49 // |kSelectionDirection|.
50 UI_BASE_EXPORT extern NSString* kViewDidBecomeFirstResponder; 50 UI_BASE_EXPORT extern NSString* kViewDidBecomeFirstResponder;
51 UI_BASE_EXPORT extern NSString* kSelectionDirection; 51 UI_BASE_EXPORT extern NSString* kSelectionDirection;
52 52
53 #endif // UI_BASE_COCOA_BASE_VIEW_H_ 53 #endif // UI_BASE_COCOA_BASE_VIEW_H_
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_x11.h ('k') | ui/base/ime/dummy_text_input_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698