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

Side by Side Diff: base/gfx/native_widget_types.h

Issue 1606: hodgepodge for test_shell.cc (Closed)
Patch Set: update some comments Created 12 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
« no previous file with comments | « no previous file | build/SConscript.main » ('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) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008 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 BASE_GFX_NATIVE_WIDGET_TYPES_H_ 5 #ifndef BASE_GFX_NATIVE_WIDGET_TYPES_H_
6 #define BASE_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define BASE_GFX_NATIVE_WIDGET_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 13 matching lines...) Expand all
24 namespace gfx { 24 namespace gfx {
25 25
26 #if defined(OS_WIN) 26 #if defined(OS_WIN)
27 typedef HWND ViewHandle; 27 typedef HWND ViewHandle;
28 typedef HWND WindowHandle; 28 typedef HWND WindowHandle;
29 typedef HWND EditViewHandle; 29 typedef HWND EditViewHandle;
30 #elif defined(OS_MACOSX) 30 #elif defined(OS_MACOSX)
31 typedef NSView *ViewHandle; 31 typedef NSView *ViewHandle;
32 typedef NSWindow *WindowHandle; 32 typedef NSWindow *WindowHandle;
33 typedef NSTextField *EditViewHandle; 33 typedef NSTextField *EditViewHandle;
34 #else // null port.
35 typedef void* ViewHandle;
36 typedef void* WindowHandle;
37 typedef void* EditViewHandle;
34 #endif 38 #endif
35 39
36 } // namespace gfx 40 } // namespace gfx
37 41
38 #endif // BASE_GFX_NATIVE_WIDGET_TYPES_H_ 42 #endif // BASE_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | build/SConscript.main » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698