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

Unified Diff: ui/gfx/native_widget_types.h

Issue 1440683003: gfx: Remove gfx::NativeEditView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/browser/shell.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_widget_types.h
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h
index 96201452e40c5f9f5dce6253a236230162c51b5c..b39ab51a2da848ba2d586ba0926a276866811390 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -32,9 +32,6 @@
// unless you're in the IPC layer, which will be translating between
// NativeViewIds from the renderer and NativeViews.
//
-// NativeEditView: a handle to a native edit-box. The Mac folks wanted this
-// specific typedef.
-//
// NativeImage: The platform-specific image type used for drawing UI elements
// in the browser.
//
@@ -141,12 +138,10 @@ typedef jobject NativeEvent;
#if defined(OS_WIN)
typedef HFONT NativeFont;
-typedef HWND NativeEditView;
typedef HDC NativeDrawingContext;
typedef IAccessible* NativeViewAccessible;
#elif defined(OS_IOS)
typedef UIFont* NativeFont;
-typedef UITextField* NativeEditView;
typedef CGContext* NativeDrawingContext;
#ifdef __OBJC__
typedef id NativeViewAccessible;
@@ -155,7 +150,6 @@ typedef void* NativeViewAccessible;
#endif // __OBJC__
#elif defined(OS_MACOSX)
typedef NSFont* NativeFont;
-typedef NSTextField* NativeEditView;
typedef CGContext* NativeDrawingContext;
#ifdef __OBJC__
typedef id NativeViewAccessible;
@@ -164,7 +158,6 @@ typedef void* NativeViewAccessible;
#endif // __OBJC__
#else // Android, Linux, Chrome OS, etc.
// Linux doesn't have a native font type.
-typedef void* NativeEditView;
#if defined(USE_CAIRO)
typedef cairo_t* NativeDrawingContext;
#else
« no previous file with comments | « content/shell/browser/shell.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698