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

Side by Side Diff: ui/gfx/gtk_native_view_id_manager.h

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 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 | « ui/gfx/gpu_memory_buffer.h ('k') | ui/gfx/gtk_preserve_window.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GFX_GTK_NATIVE_VIEW_ID_MANAGER_H_ 5 #ifndef UI_GFX_GTK_NATIVE_VIEW_ID_MANAGER_H_
6 #define UI_GFX_GTK_NATIVE_VIEW_ID_MANAGER_H_ 6 #define UI_GFX_GTK_NATIVE_VIEW_ID_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "ui/base/ui_export.h" 11 #include "ui/gfx/gfx_export.h"
12 #include "ui/gfx/native_widget_types.h" 12 #include "ui/gfx/native_widget_types.h"
13 13
14 template <typename T> struct DefaultSingletonTraits; 14 template <typename T> struct DefaultSingletonTraits;
15 15
16 typedef unsigned long XID; 16 typedef unsigned long XID;
17 struct _GtkPreserveWindow; 17 struct _GtkPreserveWindow;
18 18
19 // NativeViewIds are the opaque values which the renderer holds as a reference 19 // NativeViewIds are the opaque values which the renderer holds as a reference
20 // to a window. 20 // to a window.
21 // 21 //
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // 129 //
130 // An XID will map to NULL, if there is an outstanding reference but the 130 // An XID will map to NULL, if there is an outstanding reference but the
131 // widget was destroyed. In this case, the destruction of the X window 131 // widget was destroyed. In this case, the destruction of the X window
132 // is deferred to the dropping of all references. 132 // is deferred to the dropping of all references.
133 std::map<XID, PermanentXIDInfo> perm_xid_to_info_; 133 std::map<XID, PermanentXIDInfo> perm_xid_to_info_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(GtkNativeViewManager); 135 DISALLOW_COPY_AND_ASSIGN(GtkNativeViewManager);
136 }; 136 };
137 137
138 #endif // UI_GFX_GTK_NATIVE_VIEW_ID_MANAGER_H_ 138 #endif // UI_GFX_GTK_NATIVE_VIEW_ID_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/gfx/gpu_memory_buffer.h ('k') | ui/gfx/gtk_preserve_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698