/external/chromium_org/content/common/gpu/ |
H A D | image_transport_surface_win.cc | 15 #include "ui/gfx/native_widget_types.h" 24 scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( 27 const gfx::GLSurfaceHandle& handle) { 29 DCHECK_EQ(handle.transport_type, gfx::NATIVE_DIRECT); 30 scoped_refptr<gfx::GLSurface> surface = 31 gfx::GLSurface::CreateViewGLSurface(handle.handle); 34 return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface(
|
H A D | gpu_memory_buffer_factory.h | 10 #include "ui/gfx/geometry/size.h" 11 #include "ui/gfx/gpu_memory_buffer.h" 13 namespace gfx { namespace 30 virtual gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer( 31 const gfx::GpuMemoryBufferHandle& handle, 32 const gfx::Size& size, 38 const gfx::GpuMemoryBufferHandle& handle) = 0; 43 virtual scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffer( 44 const gfx::GpuMemoryBufferHandle& handle, 45 const gfx [all...] |
H A D | gpu_memory_buffer_factory_io_surface.h | 13 #include "ui/gfx/geometry/size.h" 14 #include "ui/gfx/gpu_memory_buffer.h" 16 namespace gfx { namespace 29 gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer( 30 const gfx::GpuMemoryBufferId& id, 31 const gfx::Size& size, 35 void DestroyGpuMemoryBuffer(const gfx::GpuMemoryBufferId& id); 38 scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffer( 39 const gfx::GpuMemoryBufferId& id, 40 const gfx [all...] |
H A D | gpu_memory_buffer_factory_ozone.cc | 18 virtual gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer( 19 const gfx::GpuMemoryBufferHandle& handle, 20 const gfx::Size& size, 24 case gfx::OZONE_NATIVE_BUFFER: 28 : gfx::GpuMemoryBufferHandle(); 31 return gfx::GpuMemoryBufferHandle(); 35 const gfx::GpuMemoryBufferHandle& handle) OVERRIDE { 37 case gfx::OZONE_NATIVE_BUFFER: 45 virtual scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffer( 46 const gfx [all...] |
/external/chromium_org/mojo/services/public/cpp/geometry/ |
H A D | geometry_type_converters.h | 10 #include "ui/gfx/geometry/point.h" 11 #include "ui/gfx/geometry/point_f.h" 12 #include "ui/gfx/geometry/rect.h" 13 #include "ui/gfx/geometry/size.h" 14 #include "ui/gfx/transform.h" 19 struct MOJO_GEOMETRY_EXPORT TypeConverter<PointPtr, gfx::Point> { 20 static PointPtr Convert(const gfx::Point& input); 23 struct MOJO_GEOMETRY_EXPORT TypeConverter<gfx::Point, PointPtr> { 24 static gfx::Point Convert(const PointPtr& input); 28 struct MOJO_GEOMETRY_EXPORT TypeConverter<PointFPtr, gfx [all...] |
/external/chromium_org/ui/gfx/ |
H A D | screen_android.cc | 5 #include "ui/gfx/screen.h" 8 #include "ui/gfx/android/device_display_info.h" 9 #include "ui/gfx/display.h" 10 #include "ui/gfx/size_conversions.h" 12 namespace gfx { namespace 20 virtual gfx::Point GetCursorScreenPoint() OVERRIDE { return gfx::Point(); } 22 virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE { 27 virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx [all...] |
H A D | linux_font_delegate.cc | 5 #include "ui/gfx/linux_font_delegate.h" 9 gfx::LinuxFontDelegate* g_linux_font_delegate = 0; 13 namespace gfx { namespace 23 } // namespace gfx
|
/external/chromium_org/ash/display/ |
H A D | screen_ash.h | 11 #include "ui/gfx/display_observer.h" 12 #include "ui/gfx/screen.h" 14 namespace gfx { namespace 23 // Aura implementation of gfx::Screen. Implemented here to avoid circular 25 class ASH_EXPORT ScreenAsh : public gfx::Screen { 33 static gfx::Display FindDisplayContainingPoint(const gfx::Point& point); 37 static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window); 40 static gfx::Rect GetDisplayBoundsInParent(aura::Window* window); 43 static gfx [all...] |
/external/chromium_org/cc/output/ |
H A D | overlay_candidate.h | 12 #include "ui/gfx/geometry/rect.h" 13 #include "ui/gfx/overlay_transform.h" 14 #include "ui/gfx/transform.h" 20 static gfx::OverlayTransform GetOverlayTransform( 21 const gfx::Transform& quad_transform, 23 static gfx::Rect GetOverlayRect(const gfx::Transform& quad_transform, 24 const gfx::Rect& rect); 30 gfx::OverlayTransform transform; 34 gfx [all...] |
H A D | overlay_candidate.cc | 9 #include "ui/gfx/geometry/rect_conversions.h" 14 : transform(gfx::OVERLAY_TRANSFORM_NONE), 24 gfx::OverlayTransform OverlayCandidate::GetOverlayTransform( 25 const gfx::Transform& quad_transform, 28 return gfx::OVERLAY_TRANSFORM_INVALID; 30 return flipped ? gfx::OVERLAY_TRANSFORM_FLIP_VERTICAL 31 : gfx::OVERLAY_TRANSFORM_NONE; 35 gfx::Rect OverlayCandidate::GetOverlayRect(const gfx::Transform& quad_transform, 36 const gfx [all...] |
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | ash_util.h | 8 #include "ui/gfx/native_widget_types.h" 14 bool IsNativeViewInAsh(gfx::NativeView native_view); 15 bool IsNativeWindowInAsh(gfx::NativeWindow native_window);
|
/external/chromium_org/chrome/test/base/ |
H A D | interactive_test_utils_aura.h | 16 void HideNativeWindowAura(gfx::NativeWindow window); 17 bool ShowAndFocusNativeWindowAura(gfx::NativeWindow window);
|
/external/chromium_org/components/web_modal/ |
H A D | native_web_contents_modal_dialog.h | 8 #include "ui/gfx/native_widget_types.h" 15 // Use a void* since none of the gfx::Native* types are suitable for 19 typedef gfx::NativeView NativeWebContentsModalDialog; 23 // Use a void* since none of the gfx::Native* types are suitable for 27 typedef gfx::NativeView NativePopup;
|
/external/chromium_org/mojo/aura/ |
H A D | screen_mojo.cc | 7 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/rect_conversions.h" 14 return new ScreenMojo(gfx::Rect(0, 0, 800, 600)); 25 gfx::Point ScreenMojo::GetCursorScreenPoint() { 27 return gfx::Point(); 30 gfx::NativeWindow ScreenMojo::GetWindowUnderCursor() { 34 gfx::NativeWindow ScreenMojo::GetWindowAtScreenPoint(const gfx::Point& point) { 43 std::vector<gfx::Display> ScreenMojo::GetAllDisplays() const { 44 return std::vector<gfx [all...] |
H A D | screen_mojo.h | 9 #include "ui/gfx/display.h" 10 #include "ui/gfx/screen.h" 12 namespace gfx { namespace 19 // A minimal implementation of gfx::Screen for mojo. 20 class ScreenMojo : public gfx::Screen { 26 // gfx::Screen overrides: 28 virtual gfx::Point GetCursorScreenPoint() OVERRIDE; 29 virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; 30 virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
H A D | desktop_screen.h | 10 namespace gfx { namespace 18 VIEWS_EXPORT gfx::Screen* CreateDesktopScreen();
|
/external/chromium_org/cc/base/ |
H A D | simple_enclosed_region_unittest.cc | 17 bool ExpectRegionEq(const gfx::Rect& rect, const SimpleEnclosedRegion& region) { 18 std::vector<gfx::Rect> actual_rects; 19 std::vector<gfx::Rect> expected_rects; 56 EXPECT_TRUE(ExpectRegionEq(gfx::Rect(), r1)); 58 SimpleEnclosedRegion r2(gfx::Rect(2, 3, 4, 5)); 59 EXPECT_TRUE(ExpectRegionEq(gfx::Rect(2, 3, 4, 5), r2)); 62 EXPECT_TRUE(ExpectRegionEq(gfx::Rect(2, 3, 4, 5), r3)); 65 EXPECT_TRUE(ExpectRegionEq(gfx::Rect(4, 5), r4)); 67 SimpleEnclosedRegion r5(Region(gfx::Rect(2, 3, 4, 5))); 68 EXPECT_TRUE(ExpectRegionEq(gfx [all...] |
/external/chromium_org/ash/frame/ |
H A D | frame_util.cc | 12 #include "ui/gfx/image/image_skia.h" 13 #include "ui/gfx/image/image_skia_operations.h" 17 gfx::Image GetAvatarImageForContext(content::BrowserContext* context) { 18 static const gfx::ImageSkia* holder = 21 static const gfx::ImageSkia* holder_mask = 24 gfx::ImageSkia user_image = Shell::GetInstance() 28 gfx::ImageSkia resized = gfx::ImageSkiaOperations::CreateResizedImage( 30 gfx::ImageSkia masked = 31 gfx [all...] |
/external/chromium_org/ash/wm/ |
H A D | window_util_unittest.cc | 16 std::string GetAdjustedBounds(const gfx::Rect& visible, 17 gfx::Rect to_be_adjusted) { 32 CreateTestWindowInShellWithBounds(gfx::Rect(12, 20, 100, 100))); 42 window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), 50 const gfx::Rect visible_bounds(0, 0, 100, 100); 53 GetAdjustedBounds(visible_bounds, gfx::Rect(0, 0, 90, 90))); 55 GetAdjustedBounds(visible_bounds, gfx::Rect(0, 0, 150, 150))); 57 GetAdjustedBounds(visible_bounds, gfx::Rect(-50, -50, 150, 150))); 59 GetAdjustedBounds(visible_bounds, gfx::Rect(-100, 10, 150, 150))); 61 GetAdjustedBounds(visible_bounds, gfx [all...] |
H A D | window_positioner.h | 11 #include "ui/gfx/rect.h" 18 namespace gfx { namespace 53 const gfx::Screen* screen, 57 gfx::Rect* bounds_in_out, 61 static gfx::Rect GetDefaultWindowBounds(const gfx::Display& display); 86 gfx::Rect GetPopupPosition(const gfx::Rect& old_pos); 97 gfx::Rect SmartPopupPosition(const gfx [all...] |
/external/chromium_org/cc/input/ |
H A D | page_scale_animation.h | 12 #include "ui/gfx/size.h" 13 #include "ui/gfx/vector2d_f.h" 31 const gfx::Vector2dF& start_scroll_offset, 33 const gfx::SizeF& viewport_size, 34 const gfx::SizeF& root_layer_size, 43 void ZoomTo(const gfx::Vector2dF& target_scroll_offset, 51 void ZoomWithAnchor(const gfx::Vector2dF& anchor, 62 gfx::Vector2dF ScrollOffsetAtTime(base::TimeTicks time) const; 71 gfx::Vector2dF target_scroll_offset() const { return target_scroll_offset_; } 75 PageScaleAnimation(const gfx [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | dock_info.h | 11 #include "ui/gfx/native_widget_types.h" 12 #include "ui/gfx/point.h" 13 #include "ui/gfx/rect.h" 53 static bool IsCloseToPoint(const gfx::Point& screen_loc, 59 static bool IsCloseToMonitorPoint(const gfx::Point& screen_loc, 76 const gfx::Point& screen_point, 77 const std::set<gfx::NativeView>& ignore); 83 static gfx::NativeWindow GetLocalProcessWindowAtPoint( 85 const gfx::Point& screen_point, 86 const std::set<gfx [all...] |
/external/chromium_org/ui/snapshot/ |
H A D | snapshot_android.cc | 13 #include "ui/gfx/display.h" 14 #include "ui/gfx/geometry/point_conversions.h" 15 #include "ui/gfx/geometry/rect_conversions.h" 16 #include "ui/gfx/screen.h" 21 bool GrabViewSnapshot(gfx::NativeView view, 23 const gfx::Rect& snapshot_bounds) { 28 bool GrabWindowSnapshot(gfx::NativeWindow window, 30 const gfx::Rect& snapshot_bounds) { 36 gfx::NativeWindow window, 37 const gfx [all...] |
/external/chromium_org/android_webview/browser/ |
H A D | parent_compositor_draw_constraints.h | 8 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/transform.h" 15 gfx::Transform transform; 16 gfx::Rect surface_rect; 20 const gfx::Transform& transform, 21 const gfx::Rect& surface_rect);
|
/external/chromium_org/chrome/browser/password_manager/ |
H A D | password_manager_util_android.cc | 9 bool AuthenticateUser(gfx::NativeWindow window) {
|