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

Side by Side Diff: chrome/browser/cocoa/base_view.h

Issue 3153039: Fix tabbing into web area not focusing first element.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/browser_focus_uitest.cc ('k') | chrome/browser/cocoa/base_view.mm » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_COCOA_BASE_VIEW_H_ 5 #ifndef CHROME_BROWSER_COCOA_BASE_VIEW_H_
6 #define CHROME_BROWSER_COCOA_BASE_VIEW_H_ 6 #define CHROME_BROWSER_COCOA_BASE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 17 matching lines...) Expand all
28 // Override these methods in a subclass. 28 // Override these methods in a subclass.
29 - (void)mouseEvent:(NSEvent *)theEvent; 29 - (void)mouseEvent:(NSEvent *)theEvent;
30 - (void)keyEvent:(NSEvent *)theEvent; 30 - (void)keyEvent:(NSEvent *)theEvent;
31 31
32 // Useful rect conversions (doing coordinate flipping) 32 // Useful rect conversions (doing coordinate flipping)
33 - (gfx::Rect)flipNSRectToRect:(NSRect)rect; 33 - (gfx::Rect)flipNSRectToRect:(NSRect)rect;
34 - (NSRect)flipRectToNSRect:(gfx::Rect)rect; 34 - (NSRect)flipRectToNSRect:(gfx::Rect)rect;
35 35
36 @end 36 @end
37 37
38 // A notification that a view may issue when it recieves first responder status.
39 // The name is |kViewDidBecomeFirstResponder|, the object is the view, and the
40 // NSSelectionDirection is wrapped in an NSNumber under the key
41 // |kSelectionDirection|.
42 extern NSString* kViewDidBecomeFirstResponder;
43 extern NSString* kSelectionDirection;
44
38 #endif // CHROME_BROWSER_COCOA_BASE_VIEW_H_ 45 #endif // CHROME_BROWSER_COCOA_BASE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_focus_uitest.cc ('k') | chrome/browser/cocoa/base_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698