/external/chromium_org/components/web_modal/ |
H A D | test_web_contents_modal_dialog_host.cc | 7 #include "ui/gfx/point.h" 12 gfx::NativeView host_view) 17 gfx::Size TestWebContentsModalDialogHost::GetMaximumDialogSize() { 21 gfx::NativeView TestWebContentsModalDialogHost::GetHostView() const { 25 gfx::Point TestWebContentsModalDialogHost::GetDialogPosition( 26 const gfx::Size& size) { 27 return gfx::Point();
|
/external/chromium_org/content/common/gpu/ |
H A D | image_transport_surface_linux.cc | 10 scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( 13 const gfx::GLSurfaceHandle& handle) { 15 DCHECK(handle.transport_type == gfx::NATIVE_DIRECT); 16 scoped_refptr<gfx::GLSurface> surface = 17 gfx::GLSurface::CreateViewGLSurface(handle.handle); 20 return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface(
|
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(
|
/external/chromium_org/ui/aura/test/ |
H A D | test_screen.h | 10 #include "ui/gfx/display.h" 11 #include "ui/gfx/screen.h" 13 namespace gfx { namespace 22 // A minimal, testing Aura implementation of gfx::Screen. 23 class TestScreen : public gfx::Screen, 26 // Creates a gfx::Screen of the specified size. If no size is specified, then 28 static TestScreen* Create(const gfx::Size& size); 36 void SetDisplayRotation(gfx::Display::Rotation rotation); 40 gfx::Transform GetRotationTransform() const; 41 gfx [all...] |
/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 | 13 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/overlay_transform.h" 15 #include "ui/gfx/transform.h" 21 static gfx::OverlayTransform GetOverlayTransform( 22 const gfx::Transform& quad_transform, 24 static gfx::Rect GetOverlayRect(const gfx::Transform& quad_transform, 25 const gfx::Rect& rect); 31 gfx::OverlayTransform transform; 35 gfx [all...] |
H A D | overlay_candidate.cc | 7 #include "ui/gfx/rect_conversions.h" 12 : transform(gfx::OVERLAY_TRANSFORM_NONE), 22 gfx::OverlayTransform OverlayCandidate::GetOverlayTransform( 23 const gfx::Transform& quad_transform, 26 return gfx::OVERLAY_TRANSFORM_INVALID; 28 return flipped ? gfx::OVERLAY_TRANSFORM_FLIP_VERTICAL 29 : gfx::OVERLAY_TRANSFORM_NONE; 33 gfx::Rect OverlayCandidate::GetOverlayRect(const gfx::Transform& quad_transform, 34 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/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/gfx/ |
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/ui/views/widget/desktop_aura/ |
H A D | desktop_screen.h | 10 namespace gfx { namespace 18 VIEWS_EXPORT gfx::Screen* CreateDesktopScreen();
|
H A D | desktop_screen_x11.h | 11 #include "ui/gfx/screen.h" 14 namespace gfx { namespace 26 class VIEWS_EXPORT DesktopScreenX11 : public gfx::Screen, 35 void ProcessDisplayChange(const std::vector<gfx::Display>& displays); 37 // Overridden from gfx::Screen: 39 virtual gfx::Point GetCursorScreenPoint() OVERRIDE; 40 virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; 41 virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) 44 virtual std::vector<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 | 11 #include "ui/gfx/size.h" 12 #include "ui/gfx/vector2d_f.h" 30 const gfx::Vector2dF& start_scroll_offset, 32 const gfx::SizeF& viewport_size, 33 const gfx::SizeF& root_layer_size, 42 void ZoomTo(const gfx::Vector2dF& target_scroll_offset, 50 void ZoomWithAnchor(const gfx::Vector2dF& anchor, 61 gfx::Vector2dF ScrollOffsetAtTime(base::TimeTicks time) const; 70 gfx::Vector2dF target_scroll_offset() const { return target_scroll_offset_; } 74 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/cc/base/ |
H A D | math_util.h | 14 #include "ui/gfx/box_f.h" 15 #include "ui/gfx/point3_f.h" 16 #include "ui/gfx/point_f.h" 17 #include "ui/gfx/size.h" 18 #include "ui/gfx/transform.h" 22 namespace gfx { namespace 43 gfx::PointF CartesianPoint2d() const { 45 return gfx::PointF(x(), y()); 51 return gfx::PointF(x() * inv_w, y() * inv_w); 54 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) {
|
H A D | password_manager_util_linux.cc | 9 bool AuthenticateUser(gfx::NativeWindow window) {
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_positioner.h | 8 #include "ui/gfx/display.h" 9 #include "ui/gfx/size.h" 11 namespace gfx { namespace 45 AppListPositioner(const gfx::Display& display, 46 const gfx::Size& window_size, 52 void WorkAreaSubtract(const gfx::Rect& rect); 62 gfx::Point GetAnchorPointForScreenCorner(ScreenCorner corner) const; 66 gfx::Point GetAnchorPointForScreenCenter() const; 73 gfx::Point GetAnchorPointForShelfCorner(ScreenEdge shelf_edge) const; 79 gfx [all...] |