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

Side by Side Diff: views/widget/native_widget_private.h

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « views/widget/native_widget_gtk.h ('k') | views/widget/native_widget_view.h » ('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) 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 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "views/widget/native_widget.h" 10 #include "views/widget/native_widget.h"
(...skipping 18 matching lines...) Expand all
29 // communication with a backend-specific native widget implementation. 29 // communication with a backend-specific native widget implementation.
30 // 30 //
31 // Many of the methods here are pass-thrus for Widget, and as such there is no 31 // Many of the methods here are pass-thrus for Widget, and as such there is no
32 // documentation for them here. In that case, see methods of the same name in 32 // documentation for them here. In that case, see methods of the same name in
33 // widget.h. 33 // widget.h.
34 // 34 //
35 // IMPORTANT: This type is intended for use only by the views system and for 35 // IMPORTANT: This type is intended for use only by the views system and for
36 // NativeWidget implementations. This file should not be included 36 // NativeWidget implementations. This file should not be included
37 // in code that does not fall into one of these use cases. 37 // in code that does not fall into one of these use cases.
38 // 38 //
39 class VIEWS_API NativeWidgetPrivate : public NativeWidget { 39 class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget {
40 public: 40 public:
41 virtual ~NativeWidgetPrivate() {} 41 virtual ~NativeWidgetPrivate() {}
42 42
43 // Creates an appropriate default NativeWidgetPrivate implementation for the 43 // Creates an appropriate default NativeWidgetPrivate implementation for the
44 // current OS/circumstance. 44 // current OS/circumstance.
45 static NativeWidgetPrivate* CreateNativeWidget( 45 static NativeWidgetPrivate* CreateNativeWidget(
46 internal::NativeWidgetDelegate* delegate); 46 internal::NativeWidgetDelegate* delegate);
47 47
48 static NativeWidgetPrivate* GetNativeWidgetForNativeView( 48 static NativeWidgetPrivate* GetNativeWidgetForNativeView(
49 gfx::NativeView native_view); 49 gfx::NativeView native_view);
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 virtual void FocusNativeView(gfx::NativeView native_view) = 0; 211 virtual void FocusNativeView(gfx::NativeView native_view) = 0;
212 212
213 // Overridden from NativeWidget: 213 // Overridden from NativeWidget:
214 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 214 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
215 }; 215 };
216 216
217 } // namespace internal 217 } // namespace internal
218 } // namespace views 218 } // namespace views
219 219
220 #endif // VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 220 #endif // VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_gtk.h ('k') | views/widget/native_widget_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698