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

Side by Side Diff: views/widget/native_widget_gtk.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_delegate.h ('k') | views/widget/native_widget_private.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_GTK_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 23 matching lines...) Expand all
34 class DropTargetGtk; 34 class DropTargetGtk;
35 class InputMethod; 35 class InputMethod;
36 class TooltipManagerGtk; 36 class TooltipManagerGtk;
37 class View; 37 class View;
38 38
39 namespace internal { 39 namespace internal {
40 class NativeWidgetDelegate; 40 class NativeWidgetDelegate;
41 } 41 }
42 42
43 // Widget implementation for GTK. 43 // Widget implementation for GTK.
44 class VIEWS_API NativeWidgetGtk : public internal::NativeWidgetPrivate, 44 class VIEWS_EXPORT NativeWidgetGtk : public internal::NativeWidgetPrivate,
45 public ui::ActiveWindowWatcherX::Observer, 45 public ui::ActiveWindowWatcherX::Observer,
46 public internal::InputMethodDelegate { 46 public internal::InputMethodDelegate {
47 public: 47 public:
48 explicit NativeWidgetGtk(internal::NativeWidgetDelegate* delegate); 48 explicit NativeWidgetGtk(internal::NativeWidgetDelegate* delegate);
49 virtual ~NativeWidgetGtk(); 49 virtual ~NativeWidgetGtk();
50 50
51 // Returns the transient parent. See make_transient_to_parent for details on 51 // Returns the transient parent. See make_transient_to_parent for details on
52 // what the transient parent is. 52 // what the transient parent is.
53 GtkWindow* GetTransientParent() const; 53 GtkWindow* GetTransientParent() const;
54 54
55 // Makes the background of the window totally transparent. This must be 55 // Makes the background of the window totally transparent. This must be
56 // invoked before Init. This does a couple of checks and returns true if 56 // invoked before Init. This does a couple of checks and returns true if
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 449
450 // If we were created for a menu. 450 // If we were created for a menu.
451 bool is_menu_; 451 bool is_menu_;
452 452
453 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); 453 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
454 }; 454 };
455 455
456 } // namespace views 456 } // namespace views
457 457
458 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 458 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
OLDNEW
« no previous file with comments | « views/widget/native_widget_delegate.h ('k') | views/widget/native_widget_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698