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

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

Issue 1800343002: Enable GN check for gpu and rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « ui/gfx/BUILD.gn ('k') | no next file » | 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_NATIVE_WIDGET_TYPES_H_ 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_
6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "ui/gfx/gfx_export.h"
13 12
14 #if defined(OS_ANDROID) 13 #if defined(OS_ANDROID)
15 #include <jni.h> 14 #include <jni.h>
16 #endif 15 #endif
17 16
18 // This file provides cross platform typedefs for native widget types. 17 // This file provides cross platform typedefs for native widget types.
19 // NativeWindow: this is a handle to a native, top-level window 18 // NativeWindow: this is a handle to a native, top-level window
20 // NativeView: this is a handle to a native UI element. It may be the 19 // NativeView: this is a handle to a native UI element. It may be the
21 // same type as a NativeWindow on some platforms. 20 // same type as a NativeWindow on some platforms.
22 // NativeViewId: Often, in our cross process model, we need to pass around a 21 // NativeViewId: Often, in our cross process model, we need to pass around a
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 #elif defined(USE_OZONE) 231 #elif defined(USE_OZONE)
233 typedef intptr_t AcceleratedWidget; 232 typedef intptr_t AcceleratedWidget;
234 const AcceleratedWidget kNullAcceleratedWidget = 0; 233 const AcceleratedWidget kNullAcceleratedWidget = 0;
235 #else 234 #else
236 #error unknown platform 235 #error unknown platform
237 #endif 236 #endif
238 237
239 } // namespace gfx 238 } // namespace gfx
240 239
241 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 240 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698