Commit f81b6329 authored by Michael Spang's avatar Michael Spang Committed by Commit Bot

Remove NativeImage

This does not appear to be used.

Bug: none
Test: compile

Change-Id: I4fd983a685ee9e1d493b34d542c3f40d9253643c

Reviewed-on: https://chromium-review.googlesource.com/c/1345417Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Michael Spang <spang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611863}
parent 2bd4fd8e
......@@ -36,9 +36,6 @@
// unless you're in the IPC layer, which will be translating between
// NativeViewIds from the renderer and NativeViews.
//
// NativeImage: The platform-specific image type used for drawing UI elements
// in the browser.
//
// The name 'View' here meshes with OS X where the UI elements are called
// 'views' and with our Chrome UI code where the elements are also called
// 'views'.
......@@ -221,15 +218,6 @@ const ui::CursorType kNullCursor = static_cast<ui::CursorType>(0);
const gfx::NativeCursor kNullCursor = static_cast<gfx::NativeCursor>(NULL);
#endif
#if defined(OS_IOS)
typedef UIImage NativeImageType;
#elif defined(OS_MACOSX)
typedef NSImage NativeImageType;
#else
typedef SkBitmap NativeImageType;
#endif
typedef NativeImageType* NativeImage;
// Note: for test_shell we're packing a pointer into the NativeViewId. So, if
// you make it a type which is smaller than a pointer, you have to fix
// test_shell.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment