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

Side by Side Diff: ui/views_core/bridged_view_impl_mac.h

Issue 187483005: Extending the Views-on-Mac experiment: whole app list grid. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: still compiles r263560 + crrev/195793005 Created 6 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_CORE_BRIDGED_VIEW_IMPL_MAC_H_
6 #define UI_VIEWS_CORE_BRIDGED_VIEW_IMPL_MAC_H_
7
8 #include <Cocoa/Cocoa.h>
9
10 #include "base/memory/scoped_ptr.h"
11 #include "ui/views/widget/native_widget_mac.h"
12
13 namespace views {
14 class NSViewBridge;
15 class NSViewBridgeWidget;
16 class View;
17 }
18
19 // The NSView that sits in Cocoa's view heirarchy and delegates drawing to the
20 // bridged views::View that it owns.
21 @interface BridgedViewImpl : NSView {
22 @private
23 scoped_ptr<views::NSViewBridgeWidget> widget_;
24 scoped_ptr<views::NSViewBridge> bridge_;
25 views::View* hostedView_; // Weak. Owned by |bridge_|.
26 }
27
28 @property(readonly, nonatomic) views::View* view;
29
30 - (id)initWithView:(scoped_ptr<views::View>)viewToHost;
31 - (void)clearView;
32
33 @end
34
35 #endif // UI_VIEWS_CORE_BRIDGED_VIEW_IMPL_MAC_H_
OLDNEW
« no previous file with comments | « ui/views_core/accessibility/native_view_accessibility_mac.mm ('k') | ui/views_core/bridged_view_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698