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

Side by Side Diff: ui/views/cocoa/bridged_content_view.h

Issue 789763002: MacViews: Implement capture using NSEvent local+global monitors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20140812-MacViews-LAYERS2-PRESQUASH
Patch Set: fix sorting Created 6 years 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 | « no previous file | ui/views/cocoa/bridged_content_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ 5 #ifndef UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_
6 #define UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ 6 #define UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "ui/base/cocoa/tracking_area.h" 10 #import "ui/base/cocoa/tracking_area.h"
(...skipping 24 matching lines...) Expand all
35 35
36 @property(readonly, nonatomic) views::View* hostedView; 36 @property(readonly, nonatomic) views::View* hostedView;
37 @property(assign, nonatomic) ui::TextInputClient* textInputClient; 37 @property(assign, nonatomic) ui::TextInputClient* textInputClient;
38 38
39 // Initialize the NSView -> views::View bridge. |viewToHost| must be non-NULL. 39 // Initialize the NSView -> views::View bridge. |viewToHost| must be non-NULL.
40 - (id)initWithView:(views::View*)viewToHost; 40 - (id)initWithView:(views::View*)viewToHost;
41 41
42 // Clear the hosted view. For example, if it is about to be destroyed. 42 // Clear the hosted view. For example, if it is about to be destroyed.
43 - (void)clearView; 43 - (void)clearView;
44 44
45 // Process a mouse event captured while the widget had global mouse capture.
46 - (void)processCapturedMouseEvent:(NSEvent*)theEvent;
47
45 @end 48 @end
46 49
47 #endif // UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_ 50 #endif // UI_VIEWS_COCOA_BRIDGED_CONTENT_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698