gfx 254 android_webview/browser/aw_content_browser_client.cc gfx::ImageSkia* AwContentBrowserClient::GetDefaultFavicon() { gfx 62 android_webview/browser/aw_content_browser_client.h virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; gfx 28 android_webview/browser/aw_gl_surface.cc gfx::Size AwGLSurface::GetSize() { gfx 29 android_webview/browser/aw_gl_surface.cc return gfx::Size(1, 1); gfx 15 android_webview/browser/aw_gl_surface.h class GL_EXPORT AwGLSurface : public gfx::GLSurface { gfx 24 android_webview/browser/aw_gl_surface.h virtual gfx::Size GetSize() OVERRIDE; gfx 34 android_webview/browser/browser_view_renderer.cc AutoResetWithLock(gfx::Vector2dF* scoped_variable, gfx 35 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF new_value, gfx 50 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF* scoped_variable_; gfx 51 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF original_value_; gfx 96 android_webview/browser/browser_view_renderer.cc const gfx::Vector2d& scroll, gfx 97 android_webview/browser/browser_view_renderer.cc const gfx::Rect& global_visible_rect, gfx 98 android_webview/browser/browser_view_renderer.cc const gfx::Rect& clip) { gfx 120 android_webview/browser/browser_view_renderer.cc const gfx::Rect& clip) { gfx 155 android_webview/browser/browser_view_renderer.cc &scroll_offset_dip_, gfx::Vector2dF(), scroll_offset_dip_lock_); gfx 247 android_webview/browser/browser_view_renderer.cc gfx::Rect BrowserViewRenderer::GetScreenRect() const { gfx 248 android_webview/browser/browser_view_renderer.cc return gfx::Rect(client_->GetLocationOnScreen(), gfx::Size(width_, height_)); gfx 297 android_webview/browser/browser_view_renderer.cc gfx::Vector2d BrowserViewRenderer::max_scroll_offset() const { gfx 299 android_webview/browser/browser_view_renderer.cc return gfx::ToCeiledVector2d(gfx::ScaleVector2d( gfx 303 android_webview/browser/browser_view_renderer.cc void BrowserViewRenderer::ScrollTo(gfx::Vector2d scroll_offset) { gfx 304 android_webview/browser/browser_view_renderer.cc gfx::Vector2d max_offset = max_scroll_offset(); gfx 305 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF scroll_offset_dip; gfx 353 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF new_value_dip) { gfx 372 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF scroll_offset_dip) { gfx 392 android_webview/browser/browser_view_renderer.cc gfx::Vector2d max_offset = max_scroll_offset(); gfx 393 android_webview/browser/browser_view_renderer.cc gfx::Vector2d scroll_offset; gfx 416 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF BrowserViewRenderer::GetTotalRootLayerScrollOffset() { gfx 452 android_webview/browser/browser_view_renderer.cc gfx::SizeF scrollable_size) { gfx 464 android_webview/browser/browser_view_renderer.cc void BrowserViewRenderer::DidOverscroll(gfx::Vector2dF accumulated_overscroll, gfx 465 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF latest_overscroll_delta, gfx 466 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF current_fling_velocity) { gfx 479 android_webview/browser/browser_view_renderer.cc overscroll_rounding_error_ = gfx::Vector2dF(); gfx 480 android_webview/browser/browser_view_renderer.cc gfx::Vector2dF scaled_overscroll_delta = gfx 481 android_webview/browser/browser_view_renderer.cc gfx::ScaleVector2d(latest_overscroll_delta, physical_pixel_scale); gfx 482 android_webview/browser/browser_view_renderer.cc gfx::Vector2d rounded_overscroll_delta = gfx::ToRoundedVector2d( gfx 45 android_webview/browser/browser_view_renderer.h const gfx::Vector2d& scroll_correction, gfx 46 android_webview/browser/browser_view_renderer.h const gfx::Rect& clip, gfx 74 android_webview/browser/browser_view_renderer.h const gfx::Vector2d& scroll, gfx 75 android_webview/browser/browser_view_renderer.h const gfx::Rect& global_visible_rect, gfx 76 android_webview/browser/browser_view_renderer.h const gfx::Rect& clip); gfx 97 android_webview/browser/browser_view_renderer.h void ScrollTo(gfx::Vector2d new_value); gfx 102 android_webview/browser/browser_view_renderer.h gfx::Rect GetScreenRect() const; gfx 115 android_webview/browser/browser_view_renderer.h virtual void SetMaxRootLayerScrollOffset(gfx::Vector2dF new_value) OVERRIDE; gfx 116 android_webview/browser/browser_view_renderer.h virtual void SetTotalRootLayerScrollOffset(gfx::Vector2dF new_value_css) gfx 119 android_webview/browser/browser_view_renderer.h virtual gfx::Vector2dF GetTotalRootLayerScrollOffset() OVERRIDE; gfx 125 android_webview/browser/browser_view_renderer.h virtual void SetRootLayerScrollableSize(gfx::SizeF scrollable_size) OVERRIDE; gfx 126 android_webview/browser/browser_view_renderer.h virtual void DidOverscroll(gfx::Vector2dF accumulated_overscroll, gfx 127 android_webview/browser/browser_view_renderer.h gfx::Vector2dF latest_overscroll_delta, gfx 128 android_webview/browser/browser_view_renderer.h gfx::Vector2dF current_fling_velocity) OVERRIDE; gfx 135 android_webview/browser/browser_view_renderer.h bool DrawSWInternal(jobject java_canvas, const gfx::Rect& clip_bounds); gfx 143 android_webview/browser/browser_view_renderer.h gfx::Vector2d max_scroll_offset() const; gfx 192 android_webview/browser/browser_view_renderer.h gfx::Vector2dF scroll_offset_dip_; gfx 195 android_webview/browser/browser_view_renderer.h gfx::Vector2dF max_scroll_offset_dip_; gfx 200 android_webview/browser/browser_view_renderer.h gfx::Vector2dF overscroll_rounding_error_; gfx 30 android_webview/browser/browser_view_renderer_client.h virtual gfx::Point GetLocationOnScreen() = 0; gfx 33 android_webview/browser/browser_view_renderer_client.h virtual void ScrollContainerViewTo(gfx::Vector2d new_value) = 0; gfx 36 android_webview/browser/browser_view_renderer_client.h virtual void SetMaxContainerViewScrollOffset(gfx::Vector2d new_value) = 0; gfx 48 android_webview/browser/browser_view_renderer_client.h virtual void SetContentsSize(gfx::SizeF contents_size_dip) = 0; gfx 51 android_webview/browser/browser_view_renderer_client.h virtual void DidOverscroll(gfx::Vector2d overscroll_delta) = 0; gfx 20 android_webview/browser/gpu_memory_buffer_factory_impl.cc class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer { gfx 22 android_webview/browser/gpu_memory_buffer_factory_impl.cc GpuMemoryBufferImpl(long buffer_id, gfx::Size size) gfx 34 android_webview/browser/gpu_memory_buffer_factory_impl.cc virtual void* Map(gfx::GpuMemoryBuffer::AccessMode mode) OVERRIDE { gfx 64 android_webview/browser/gpu_memory_buffer_factory_impl.cc virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE { gfx 65 android_webview/browser/gpu_memory_buffer_factory_impl.cc gfx::GpuMemoryBufferHandle handle; gfx 66 android_webview/browser/gpu_memory_buffer_factory_impl.cc handle.type = gfx::ANDROID_NATIVE_BUFFER; gfx 73 android_webview/browser/gpu_memory_buffer_factory_impl.cc gfx::Size size_; gfx 87 android_webview/browser/gpu_memory_buffer_factory_impl.cc gfx::GpuMemoryBuffer* GpuMemoryBufferFactoryImpl::CreateGpuMemoryBuffer( gfx 99 android_webview/browser/gpu_memory_buffer_factory_impl.cc return new GpuMemoryBufferImpl(buffer_id, gfx::Size(width, height)); gfx 24 android_webview/browser/gpu_memory_buffer_factory_impl.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( gfx 109 android_webview/browser/hardware_renderer.cc gfx::Transform transform; gfx 112 android_webview/browser/hardware_renderer.cc gfx::Rect clip_rect(draw_info->clip_left, gfx 119 android_webview/browser/hardware_renderer.cc gfx::Size(draw_info->width, draw_info->height), gfx 38 android_webview/browser/icon_helper.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 18 android_webview/browser/icon_helper.h namespace gfx { gfx 52 android_webview/browser/icon_helper.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 77 android_webview/browser/renderer_host/aw_render_view_host_ext.cc void AwRenderViewHostExt::SetFixedLayoutSize(const gfx::Size& size) { gfx 174 android_webview/browser/renderer_host/aw_render_view_host_ext.cc const gfx::Size& contents_size) { gfx 30 android_webview/browser/renderer_host/aw_render_view_host_ext.h const gfx::Size& contents_size) = 0; gfx 72 android_webview/browser/renderer_host/aw_render_view_host_ext.h void SetFixedLayoutSize(const gfx::Size& size); gfx 94 android_webview/browser/renderer_host/aw_render_view_host_ext.h void OnContentsSizeChanged(const gfx::Size& contents_size); gfx 21 android_webview/browser/scoped_app_gl_state_restore.cc : surface(new gfx::GLSurfaceStub), gfx 22 android_webview/browser/scoped_app_gl_state_restore.cc context(gfx::GLContext::CreateGLContext(NULL, gfx 24 android_webview/browser/scoped_app_gl_state_restore.cc gfx::PreferDiscreteGpu)) {} gfx 28 android_webview/browser/scoped_app_gl_state_restore.cc scoped_refptr<gfx::GLSurfaceStub> surface; gfx 29 android_webview/browser/scoped_app_gl_state_restore.cc scoped_refptr<gfx::GLContext> context; gfx 10 android_webview/browser/scoped_app_gl_state_restore.h namespace gfx { gfx 20 android_webview/browser/shared_renderer_state.h gfx::Rect global_visible_rect; gfx 21 android_webview/browser/shared_renderer_state.h gfx::Vector2d scroll_offset; gfx 40 android_webview/common/print_messages.cc page_size = gfx::Size(); gfx 41 android_webview/common/print_messages.cc content_size = gfx::Size(); gfx 42 android_webview/common/print_messages.cc printable_area = gfx::Rect(); gfx 32 android_webview/common/print_messages.h gfx::Size page_size; gfx 33 android_webview/common/print_messages.h gfx::Size content_size; gfx 34 android_webview/common/print_messages.h gfx::Rect printable_area; gfx 264 android_webview/common/print_messages.h IPC_STRUCT_MEMBER(gfx::Size, page_size) gfx 267 android_webview/common/print_messages.h IPC_STRUCT_MEMBER(gfx::Rect, content_area) gfx 395 android_webview/common/print_messages.h gfx::Rect /* printable area in points */, gfx 73 android_webview/common/render_view_messages.h gfx::Size /* size */) gfx 101 android_webview/common/render_view_messages.h gfx::Size /* contents_size */) gfx 56 android_webview/java/src/org/chromium/android_webview/AwContents.java import org.chromium.ui.gfx.DeviceDisplayInfo; gfx 20 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java import org.chromium.ui.gfx.DeviceDisplayInfo; gfx 18 android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java import org.chromium.ui.gfx.DeviceDisplayInfo; gfx 14 android_webview/javatests/src/org/chromium/android_webview/test/AwLegacyQuirksTest.java import org.chromium.ui.gfx.DeviceDisplayInfo; gfx 35 android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java import org.chromium.ui.gfx.DeviceDisplayInfo; gfx 85 android_webview/native/aw_autofill_manager_delegate.cc const gfx::RectF& element_bounds, gfx 98 android_webview/native/aw_autofill_manager_delegate.cc gfx::Rect client_area; gfx 100 android_webview/native/aw_autofill_manager_delegate.cc gfx::RectF element_bounds_in_screen_space = gfx 110 android_webview/native/aw_autofill_manager_delegate.cc const gfx::RectF& element_bounds, gfx 33 android_webview/native/aw_autofill_manager_delegate.h namespace gfx { gfx 75 android_webview/native/aw_autofill_manager_delegate.h const gfx::RectF& element_bounds, gfx 100 android_webview/native/aw_autofill_manager_delegate.h void ShowAutofillPopupImpl(const gfx::RectF& element_bounds, gfx 123 android_webview/native/aw_contents.cc gfx::FontRenderParams::Hinting hinting) { gfx 125 android_webview/native/aw_contents.cc case gfx::FontRenderParams::HINTING_NONE: gfx 127 android_webview/native/aw_contents.cc case gfx::FontRenderParams::HINTING_SLIGHT: gfx 129 android_webview/native/aw_contents.cc case gfx::FontRenderParams::HINTING_MEDIUM: gfx 131 android_webview/native/aw_contents.cc case gfx::FontRenderParams::HINTING_FULL: gfx 142 android_webview/native/aw_contents.cc gfx::FontRenderParams::SubpixelRendering subpixel_rendering) { gfx 144 android_webview/native/aw_contents.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE: gfx 146 android_webview/native/aw_contents.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_RGB: gfx 148 android_webview/native/aw_contents.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_BGR: gfx 150 android_webview/native/aw_contents.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_VRGB: gfx 152 android_webview/native/aw_contents.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_VBGR: gfx 285 android_webview/native/aw_contents.cc const gfx::FontRenderParams& params = gfx::GetDefaultWebKitFontRenderParams(); gfx 647 android_webview/native/aw_contents.cc entry->GetFavicon().image = gfx::Image::CreateFrom1xBitmap(bitmap); gfx 651 android_webview/native/aw_contents.cc env, obj.obj(), gfx::ConvertToJavaBitmap(&bitmap).obj()); gfx 849 android_webview/native/aw_contents.cc gfx::Vector2d(scroll_x, scroll_y), gfx 850 android_webview/native/aw_contents.cc gfx::Rect(visible_left, gfx 854 android_webview/native/aw_contents.cc gfx::Rect( gfx 886 android_webview/native/aw_contents.cc gfx::Point AwContents::GetLocationOnScreen() { gfx 891 android_webview/native/aw_contents.cc return gfx::Point(); gfx 897 android_webview/native/aw_contents.cc return gfx::Point(location[0], location[1]); gfx 900 android_webview/native/aw_contents.cc void AwContents::SetMaxContainerViewScrollOffset(gfx::Vector2d new_value) { gfx 910 android_webview/native/aw_contents.cc void AwContents::ScrollContainerViewTo(gfx::Vector2d new_value) { gfx 945 android_webview/native/aw_contents.cc void AwContents::SetContentsSize(gfx::SizeF contents_size_dip) { gfx 955 android_webview/native/aw_contents.cc void AwContents::DidOverscroll(gfx::Vector2d overscroll_delta) { gfx 979 android_webview/native/aw_contents.cc render_view_host_ext_->SetFixedLayoutSize(gfx::Size(width_dip, height_dip)); gfx 984 android_webview/native/aw_contents.cc browser_view_renderer_.ScrollTo(gfx::Vector2d(x, y)); gfx 998 android_webview/native/aw_contents.cc const gfx::Size& contents_size) { gfx 161 android_webview/native/aw_contents.h const gfx::Size& contents_size) OVERRIDE; gfx 167 android_webview/native/aw_contents.h virtual gfx::Point GetLocationOnScreen() OVERRIDE; gfx 169 android_webview/native/aw_contents.h gfx::Vector2d new_value) OVERRIDE; gfx 170 android_webview/native/aw_contents.h virtual void ScrollContainerViewTo(gfx::Vector2d new_value) OVERRIDE; gfx 176 android_webview/native/aw_contents.h virtual void SetContentsSize(gfx::SizeF contents_size_dip) OVERRIDE; gfx 177 android_webview/native/aw_contents.h virtual void DidOverscroll(gfx::Vector2d overscroll_delta) OVERRIDE; gfx 147 android_webview/native/aw_dev_tools_server.cc gfx::Rect screen_rect = bvr->GetScreenRect(); gfx 70 android_webview/native/aw_pdf_exporter.cc gfx::Size physical_size_device_units; gfx 75 android_webview/native/aw_pdf_exporter.cc gfx::Rect printable_area_device_units; gfx 45 android_webview/native/aw_picture.cc gfx::Vector2d(), gfx 46 android_webview/native/aw_picture.cc gfx::Rect(left, top, right - left, bottom - top), gfx 61 android_webview/native/aw_web_contents_delegate.cc const gfx::Rect& selection_rect, gfx 124 android_webview/native/aw_web_contents_delegate.cc const gfx::Rect& initial_pos, gfx 27 android_webview/native/aw_web_contents_delegate.h const gfx::Rect& selection_rect, gfx 40 android_webview/native/aw_web_contents_delegate.h const gfx::Rect& initial_pos, gfx 83 android_webview/native/external_video_surface_container_impl.cc int player_id, const gfx::RectF& rect) { gfx 35 android_webview/native/external_video_surface_container_impl.h int player_id, const gfx::RectF& rect) OVERRIDE; gfx 72 android_webview/native/java_browser_view_renderer_helper.cc const gfx::Vector2d& scroll_correction, gfx 73 android_webview/native/java_browser_view_renderer_helper.cc const gfx::Rect& clip, gfx 103 android_webview/native/java_browser_view_renderer_helper.cc const gfx::Vector2d& scroll_correction, gfx 104 android_webview/native/java_browser_view_renderer_helper.cc const gfx::Rect& clip, gfx 28 android_webview/native/java_browser_view_renderer_helper.h const gfx::Vector2d& scroll_correction, gfx 29 android_webview/native/java_browser_view_renderer_helper.h const gfx::Rect& clip, gfx 35 android_webview/native/java_browser_view_renderer_helper.h const gfx::Vector2d& scroll_correction, gfx 36 android_webview/native/java_browser_view_renderer_helper.h const gfx::Rect& clip, gfx 218 android_webview/renderer/aw_render_view_ext.cc gfx::Size contents_size; gfx 319 android_webview/renderer/aw_render_view_ext.cc void AwRenderViewExt::OnSetFixedLayoutSize(const gfx::Size& size) { gfx 54 android_webview/renderer/aw_render_view_ext.h void OnSetFixedLayoutSize(const gfx::Size& size); gfx 66 android_webview/renderer/aw_render_view_ext.h gfx::Size last_sent_contents_size_; gfx 149 android_webview/renderer/print_web_view_helper.cc page_css_params.content_size = gfx::Size( gfx 154 android_webview/renderer/print_web_view_helper.cc page_css_params.page_size = gfx::Size( gfx 202 android_webview/renderer/print_web_view_helper.cc params_to_fit->content_size = gfx::Size( gfx 247 android_webview/renderer/print_web_view_helper.cc gfx::Size(page_params->printable_area.height(), gfx 357 android_webview/renderer/print_web_view_helper.cc result_params.content_size = gfx::Size( gfx 479 android_webview/renderer/print_web_view_helper.cc const gfx::Rect& canvas_area, gfx 480 android_webview/renderer/print_web_view_helper.cc const gfx::Rect& content_area, gfx 531 android_webview/renderer/print_web_view_helper.cc gfx::Size GetPrintCanvasSize() const; gfx 561 android_webview/renderer/print_web_view_helper.cc gfx::Size prev_view_size_; gfx 562 android_webview/renderer/print_web_view_helper.cc gfx::Size prev_scroll_offset_; gfx 611 android_webview/renderer/print_web_view_helper.cc gfx::Size print_layout_size(web_print_params_.printContentArea.width, gfx 702 android_webview/renderer/print_web_view_helper.cc gfx::Size PrepareFrameAndViewForPrint::GetPrintCanvasSize() const { gfx 704 android_webview/renderer/print_web_view_helper.cc return gfx::Size(web_print_params_.printContentArea.width, gfx 875 android_webview/renderer/print_web_view_helper.cc print_params.printable_area = gfx::Rect(print_params.page_size); gfx 916 android_webview/renderer/print_web_view_helper.cc gfx::Size* page_size, gfx 917 android_webview/renderer/print_web_view_helper.cc gfx::Rect* content_area) { gfx 918 android_webview/renderer/print_web_view_helper.cc *page_size = gfx::Size( gfx 925 android_webview/renderer/print_web_view_helper.cc *content_area = gfx::Rect(page_layout_in_points.margin_left, gfx 1071 android_webview/renderer/print_web_view_helper.cc gfx::Rect printable_area_in_points( gfx 1338 android_webview/renderer/print_web_view_helper.cc const gfx::Size& canvas_size) { gfx 2001 android_webview/renderer/print_web_view_helper.cc gfx::Size PrintWebViewHelper::PrintPreviewContext::GetPrintCanvasSize() const { gfx 134 android_webview/renderer/print_web_view_helper.h gfx::Size* page_size, gfx 135 android_webview/renderer/print_web_view_helper.h gfx::Rect* content_area); gfx 220 android_webview/renderer/print_web_view_helper.h const gfx::Size& canvas_size); gfx 226 android_webview/renderer/print_web_view_helper.h const gfx::Size& canvas_size, gfx 231 android_webview/renderer/print_web_view_helper.h const gfx::Size& canvas_size, gfx 247 android_webview/renderer/print_web_view_helper.h gfx::Size* page_size_in_dpi, gfx 248 android_webview/renderer/print_web_view_helper.h gfx::Rect* content_area_in_dpi); gfx 255 android_webview/renderer/print_web_view_helper.h gfx::Size* page_size, gfx 256 android_webview/renderer/print_web_view_helper.h gfx::Rect* content_rect); gfx 265 android_webview/renderer/print_web_view_helper.h const gfx::Rect& canvas_area, gfx 266 android_webview/renderer/print_web_view_helper.h const gfx::Rect& content_area, gfx 423 android_webview/renderer/print_web_view_helper.h gfx::Size GetPrintCanvasSize() const; gfx 64 android_webview/renderer/print_web_view_helper_linux.cc const gfx::Size& canvas_size) { gfx 155 android_webview/renderer/print_web_view_helper_linux.cc const gfx::Size& canvas_size, gfx 163 android_webview/renderer/print_web_view_helper_linux.cc gfx::Size page_size; gfx 164 android_webview/renderer/print_web_view_helper_linux.cc gfx::Rect content_area; gfx 167 android_webview/renderer/print_web_view_helper_linux.cc gfx::Rect canvas_area = gfx 168 android_webview/renderer/print_web_view_helper_linux.cc params.params.display_header_footer ? gfx::Rect(page_size) : content_area; gfx 67 apps/app_shim/extension_app_shim_handler_mac.cc std::set<gfx::NativeWindow> native_windows; gfx 98 apps/app_shim/extension_app_shim_handler_mac.cc base::Callback<gfx::NativeWindow(void)>()); gfx 77 apps/app_window.cc void SetBoundsProperties(const gfx::Rect& bounds, gfx 78 apps/app_window.cc const gfx::Size& min_size, gfx 79 apps/app_window.cc const gfx::Size& max_size, gfx 102 apps/app_window.cc gfx::Size GetCombinedWindowConstraints(const gfx::Size& window_constraints, gfx 103 apps/app_window.cc const gfx::Size& content_constraints, gfx 104 apps/app_window.cc const gfx::Insets& frame_insets) { gfx 105 apps/app_window.cc gfx::Size combined_constraints(window_constraints); gfx 119 apps/app_window.cc gfx::Size GetCombinedContentConstraints(const gfx::Size& window_constraints, gfx 120 apps/app_window.cc const gfx::Size& content_constraints, gfx 121 apps/app_window.cc const gfx::Insets& frame_insets) { gfx 122 apps/app_window.cc gfx::Size combined_constraints(content_constraints); gfx 165 apps/app_window.cc gfx::Rect AppWindow::CreateParams::GetInitialWindowBounds( gfx 166 apps/app_window.cc const gfx::Insets& frame_insets) const { gfx 168 apps/app_window.cc gfx::Rect combined_bounds(window_spec.bounds); gfx 193 apps/app_window.cc gfx::Size AppWindow::CreateParams::GetContentMinimumSize( gfx 194 apps/app_window.cc const gfx::Insets& frame_insets) const { gfx 200 apps/app_window.cc gfx::Size AppWindow::CreateParams::GetContentMaximumSize( gfx 201 apps/app_window.cc const gfx::Insets& frame_insets) const { gfx 207 apps/app_window.cc gfx::Size AppWindow::CreateParams::GetWindowMinimumSize( gfx 208 apps/app_window.cc const gfx::Insets& frame_insets) const { gfx 214 apps/app_window.cc gfx::Size AppWindow::CreateParams::GetWindowMaximumSize( gfx 215 apps/app_window.cc const gfx::Insets& frame_insets) const { gfx 323 apps/app_window.cc gfx::Insets frame_insets = native_app_window_->GetFrameInsets(); gfx 324 apps/app_window.cc gfx::Rect initial_bounds = new_params.GetInitialWindowBounds(frame_insets); gfx 393 apps/app_window.cc const gfx::Rect& initial_pos, gfx 508 apps/app_window.cc gfx::NativeWindow AppWindow::GetNativeWindow() { gfx 512 apps/app_window.cc gfx::Rect AppWindow::GetClientBounds() const { gfx 513 apps/app_window.cc gfx::Rect bounds = native_app_window_->GetBounds(); gfx 573 apps/app_window.cc UpdateBadgeIcon(gfx::Image()); gfx 585 apps/app_window.cc void AppWindow::UpdateAppIcon(const gfx::Image& image) { gfx 637 apps/app_window.cc void AppWindow::SetContentSizeConstraints(const gfx::Size& min_size, gfx 638 apps/app_window.cc const gfx::Size& max_size) { gfx 643 apps/app_window.cc gfx::Rect bounds = GetClientBounds(); gfx 644 apps/app_window.cc gfx::Size constrained_size = constraints.ClampSize(bounds.size()); gfx 711 apps/app_window.cc gfx::Rect content_bounds = GetClientBounds(); gfx 712 apps/app_window.cc gfx::Size content_min_size = native_app_window_->GetContentMinimumSize(); gfx 713 apps/app_window.cc gfx::Size content_max_size = native_app_window_->GetContentMaximumSize(); gfx 720 apps/app_window.cc gfx::Insets frame_insets = native_app_window_->GetFrameInsets(); gfx 721 apps/app_window.cc gfx::Rect frame_bounds = native_app_window_->GetBounds(); gfx 722 apps/app_window.cc gfx::Size frame_min_size = gfx 724 apps/app_window.cc gfx::Size frame_max_size = gfx 736 apps/app_window.cc void AppWindow::UpdateBadgeIcon(const gfx::Image& image) { gfx 746 apps/app_window.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 762 apps/app_window.cc UpdateAppIcon(gfx::Image::CreateFrom1xBitmap(largest)); gfx 766 apps/app_window.cc UpdateBadgeIcon(gfx::Image::CreateFrom1xBitmap(largest)); gfx 772 apps/app_window.cc UpdateAppIcon(gfx::Image(app_icon_image_->image_skia())); gfx 801 apps/app_window.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 802 apps/app_window.cc gfx::Rect window_bounds = native_app_window_->GetRestoredBounds(); gfx 803 apps/app_window.cc std::vector<gfx::Display> displays = screen->GetAllDisplays(); gfx 805 apps/app_window.cc for (std::vector<gfx::Display>::const_iterator it = displays.begin(); gfx 808 apps/app_window.cc gfx::Rect taskbar_bounds = it->bounds(); gfx 866 apps/app_window.cc void AppWindow::MoveContents(WebContents* source, const gfx::Rect& pos) { gfx 969 apps/app_window.cc gfx::Rect bounds = native_app_window_->GetRestoredBounds(); gfx 970 apps/app_window.cc gfx::Rect screen_bounds = gfx 971 apps/app_window.cc gfx::Screen::GetNativeScreen()->GetDisplayMatching(bounds).work_area(); gfx 978 apps/app_window.cc const gfx::Rect& cached_bounds, gfx 979 apps/app_window.cc const gfx::Rect& cached_screen_bounds, gfx 980 apps/app_window.cc const gfx::Rect& current_screen_bounds, gfx 981 apps/app_window.cc const gfx::Size& minimum_size, gfx 982 apps/app_window.cc gfx::Rect* bounds) const { gfx 1027 apps/app_window.cc gfx::Rect cached_bounds; gfx 1028 apps/app_window.cc gfx::Rect cached_screen_bounds; gfx 1038 apps/app_window.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 1039 apps/app_window.cc gfx::Display display = screen->GetDisplayMatching(cached_bounds); gfx 1040 apps/app_window.cc gfx::Rect current_screen_bounds = display.work_area(); gfx 1041 apps/app_window.cc SizeConstraints constraints(params.GetWindowMinimumSize(gfx::Insets()), gfx 1042 apps/app_window.cc params.GetWindowMaximumSize(gfx::Insets())); gfx 127 apps/app_window.h gfx::Rect bounds; gfx 129 apps/app_window.h gfx::Size minimum_size; gfx 130 apps/app_window.h gfx::Size maximum_size; gfx 179 apps/app_window.h gfx::Rect GetInitialWindowBounds(const gfx::Insets& frame_insets) const; gfx 184 apps/app_window.h gfx::Size GetContentMinimumSize(const gfx::Insets& frame_insets) const; gfx 185 apps/app_window.h gfx::Size GetContentMaximumSize(const gfx::Insets& frame_insets) const; gfx 186 apps/app_window.h gfx::Size GetWindowMinimumSize(const gfx::Insets& frame_insets) const; gfx 187 apps/app_window.h gfx::Size GetWindowMaximumSize(const gfx::Insets& frame_insets) const; gfx 208 apps/app_window.h const gfx::Rect& initial_pos, gfx 261 apps/app_window.h const gfx::Image& app_icon() const { return app_icon_; } gfx 263 apps/app_window.h const gfx::Image& badge_icon() const { return badge_icon_; } gfx 267 apps/app_window.h gfx::NativeWindow GetNativeWindow(); gfx 270 apps/app_window.h gfx::Rect GetClientBounds() const; gfx 305 apps/app_window.h void UpdateAppIcon(const gfx::Image& image); gfx 322 apps/app_window.h void SetContentSizeConstraints(const gfx::Size& min_size, gfx 323 apps/app_window.h const gfx::Size& max_size); gfx 372 apps/app_window.h const gfx::Rect& pos) OVERRIDE; gfx 389 apps/app_window.h const gfx::Rect& initial_pos, gfx 429 apps/app_window.h void AdjustBoundsToBeVisibleOnScreen(const gfx::Rect& cached_bounds, gfx 430 apps/app_window.h const gfx::Rect& cached_screen_bounds, gfx 431 apps/app_window.h const gfx::Rect& current_screen_bounds, gfx 432 apps/app_window.h const gfx::Size& minimum_size, gfx 433 apps/app_window.h gfx::Rect* bounds) const; gfx 458 apps/app_window.h void UpdateBadgeIcon(const gfx::Image& image); gfx 465 apps/app_window.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 488 apps/app_window.h gfx::Image app_icon_; gfx 498 apps/app_window.h gfx::Image badge_icon_; gfx 30 apps/app_window_browsertest.cc gfx::Insets insets = native_window->GetFrameInsets(); gfx 54 apps/app_window_browsertest.cc gfx::Insets insets = native_window->GetFrameInsets(); gfx 68 apps/app_window_browsertest.cc gfx::Insets insets = native_window->GetFrameInsets(); gfx 54 apps/app_window_geometry_cache.cc const gfx::Rect& bounds, gfx 55 apps/app_window_geometry_cache.cc const gfx::Rect& screen_bounds, gfx 120 apps/app_window_geometry_cache.cc const gfx::Rect& bounds = it->second.bounds; gfx 121 apps/app_window_geometry_cache.cc const gfx::Rect& screen_bounds = it->second.screen_bounds; gfx 150 apps/app_window_geometry_cache.cc gfx::Rect* bounds, gfx 151 apps/app_window_geometry_cache.cc gfx::Rect* screen_bounds, gfx 65 apps/app_window_geometry_cache.h const gfx::Rect& bounds) = 0; gfx 81 apps/app_window_geometry_cache.h const gfx::Rect& bounds, gfx 82 apps/app_window_geometry_cache.h const gfx::Rect& screen_bounds, gfx 90 apps/app_window_geometry_cache.h gfx::Rect* bounds, gfx 91 apps/app_window_geometry_cache.h gfx::Rect* screen_bounds, gfx 116 apps/app_window_geometry_cache.h gfx::Rect bounds; gfx 117 apps/app_window_geometry_cache.h gfx::Rect screen_bounds; gfx 36 apps/app_window_geometry_cache_unittest.cc const gfx::Rect& bounds, gfx 37 apps/app_window_geometry_cache_unittest.cc const gfx::Rect& screen_bounds, gfx 58 apps/app_window_geometry_cache_unittest.cc const gfx::Rect& bounds, gfx 59 apps/app_window_geometry_cache_unittest.cc const gfx::Rect& screen_bounds, gfx 105 apps/app_window_geometry_cache_unittest.cc gfx::Rect(4, 5, 31, 43), gfx 106 apps/app_window_geometry_cache_unittest.cc gfx::Rect(0, 0, 1600, 900), gfx 116 apps/app_window_geometry_cache_unittest.cc gfx::Rect(4, 5, 31, 43), gfx 117 apps/app_window_geometry_cache_unittest.cc gfx::Rect(0, 0, 1600, 900), gfx 126 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds(4, 5, 31, 43); gfx 127 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds(0, 0, 1600, 900); gfx 131 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_bounds; gfx 132 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_screen_bounds; gfx 144 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds; gfx 145 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds(0, 0, 1600, 900); gfx 149 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_bounds; gfx 150 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_screen_bounds; gfx 162 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds(4, 5, 31, 43); gfx 163 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds; gfx 167 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_bounds; gfx 168 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_screen_bounds; gfx 180 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds(4, 5, 31, 43); gfx 181 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds(0, 0, 1600, 900); gfx 185 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_bounds; gfx 186 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_screen_bounds; gfx 205 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds(4, 5, 31, 43); gfx 206 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds(0, 0, 1600, 900); gfx 211 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_bounds; gfx 212 apps/app_window_geometry_cache_unittest.cc gfx::Rect new_screen_bounds; gfx 266 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds1(100, 200, 300, 400); gfx 267 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds2(200, 400, 600, 800); gfx 268 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds2_duplicate(200, 400, 600, 800); gfx 270 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds1(0, 0, 1600, 900); gfx 271 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds2(0, 0, 1366, 768); gfx 272 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds2_duplicate(0, 0, 1366, 768); gfx 328 apps/app_window_geometry_cache_unittest.cc gfx::Rect bounds(4, 5, 31, 43); gfx 329 apps/app_window_geometry_cache_unittest.cc gfx::Rect screen_bounds(0, 0, 1600, 900); gfx 130 apps/app_window_registry.cc gfx::NativeWindow window) const { gfx 181 apps/app_window_registry.cc gfx::NativeWindow window) { gfx 76 apps/app_window_registry.h apps::AppWindow* GetAppWindowForNativeWindow(gfx::NativeWindow window) const; gfx 96 apps/app_window_registry.h gfx::NativeWindow window); gfx 25 apps/shell/browser/shell_app_window.cc void ShellAppWindow::Init(BrowserContext* context, gfx::Size initial_size) { gfx 29 apps/shell/browser/shell_app_window.h namespace gfx { gfx 46 apps/shell/browser/shell_app_window.h void Init(content::BrowserContext* context, gfx::Size initial_size); gfx 39 apps/shell/browser/shell_app_window_delegate.cc const gfx::Rect& initial_pos, gfx 32 apps/shell/browser/shell_app_window_delegate.h const gfx::Rect& initial_pos, gfx 46 apps/shell/browser/shell_desktop_controller.cc gfx::Size parent_size = child->parent()->bounds().size(); gfx 47 apps/shell/browser/shell_desktop_controller.cc child->SetBounds(gfx::Rect(parent_size)); gfx 58 apps/shell/browser/shell_desktop_controller.cc const gfx::Rect& requested_bounds) OVERRIDE { gfx 145 apps/shell/browser/shell_desktop_controller.cc gfx::Size size = GetPrimaryDisplaySize(); gfx 154 apps/shell/browser/shell_desktop_controller.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen_.get()); gfx 159 apps/shell/browser/shell_desktop_controller.cc gfx::Size size = GetPrimaryDisplaySize(); gfx 161 apps/shell/browser/shell_desktop_controller.cc size = gfx::Size(800, 600); gfx 178 apps/shell/browser/shell_desktop_controller.cc gfx::Size ShellDesktopController::GetPrimaryDisplaySize() { gfx 183 apps/shell/browser/shell_desktop_controller.cc return gfx::Size(); gfx 185 apps/shell/browser/shell_desktop_controller.cc return mode ? mode->size() : gfx::Size(); gfx 187 apps/shell/browser/shell_desktop_controller.cc return gfx::Size(); gfx 76 apps/shell/browser/shell_desktop_controller.h gfx::Size GetPrimaryDisplaySize(); gfx 60 apps/shell/browser/shell_extensions_browser_client.cc const gfx::Rect& initial_pos, gfx 51 apps/shell/common/shell_content_client.cc gfx::Image& ShellContentClient::GetNativeImageNamed(int resource_id) const { gfx 28 apps/shell/common/shell_content_client.h virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; gfx 16 apps/size_constraints.cc SizeConstraints::SizeConstraints(const gfx::Size& min_size, gfx 17 apps/size_constraints.cc const gfx::Size& max_size) gfx 23 apps/size_constraints.cc gfx::Size SizeConstraints::AddFrameToConstraints( gfx 24 apps/size_constraints.cc const gfx::Size& size_constraints, gfx 25 apps/size_constraints.cc const gfx::Insets& frame_insets) { gfx 26 apps/size_constraints.cc return gfx::Size( gfx 35 apps/size_constraints.cc gfx::Size SizeConstraints::ClampSize(gfx::Size size) const { gfx 36 apps/size_constraints.cc const gfx::Size max_size = GetMaximumSize(); gfx 46 apps/size_constraints.cc const gfx::Size min_size = GetMinimumSize(); gfx 52 apps/size_constraints.cc const gfx::Size max_size = GetMaximumSize(); gfx 61 apps/size_constraints.cc gfx::Size SizeConstraints::GetMinimumSize() const { gfx 65 apps/size_constraints.cc gfx::Size SizeConstraints::GetMaximumSize() const { gfx 66 apps/size_constraints.cc return gfx::Size( gfx 75 apps/size_constraints.cc void SizeConstraints::set_minimum_size(const gfx::Size& min_size) { gfx 79 apps/size_constraints.cc void SizeConstraints::set_maximum_size(const gfx::Size& max_size) { gfx 10 apps/size_constraints.h namespace gfx { gfx 23 apps/size_constraints.h SizeConstraints(const gfx::Size& min_size, const gfx::Size& max_size); gfx 27 apps/size_constraints.h static gfx::Size AddFrameToConstraints(const gfx::Size& size_constraints, gfx 28 apps/size_constraints.h const gfx::Insets& frame_insets); gfx 31 apps/size_constraints.h gfx::Size ClampSize(gfx::Size size) const; gfx 44 apps/size_constraints.h gfx::Size GetMaximumSize() const; gfx 45 apps/size_constraints.h gfx::Size GetMinimumSize() const; gfx 47 apps/size_constraints.h void set_minimum_size(const gfx::Size& min_size); gfx 48 apps/size_constraints.h void set_maximum_size(const gfx::Size& max_size); gfx 51 apps/size_constraints.h gfx::Size minimum_size_; gfx 52 apps/size_constraints.h gfx::Size maximum_size_; gfx 67 apps/ui/native_app_window.h virtual gfx::Insets GetFrameInsets() const = 0; gfx 80 apps/ui/native_app_window.h virtual gfx::Size GetContentMinimumSize() const = 0; gfx 83 apps/ui/native_app_window.h virtual gfx::Size GetContentMaximumSize() const = 0; gfx 86 apps/ui/native_app_window.h virtual void SetContentSizeConstraints(const gfx::Size& min_size, gfx 87 apps/ui/native_app_window.h const gfx::Size& max_size) = 0; gfx 132 apps/ui/views/app_window_frame_view.cc gfx::Rect AppWindowFrameView::GetBoundsForClientView() const { gfx 135 apps/ui/views/app_window_frame_view.cc return gfx::Rect( gfx 139 apps/ui/views/app_window_frame_view.cc gfx::Rect AppWindowFrameView::GetWindowBoundsForClientBounds( gfx 140 apps/ui/views/app_window_frame_view.cc const gfx::Rect& client_bounds) const { gfx 141 apps/ui/views/app_window_frame_view.cc gfx::Rect window_bounds = client_bounds; gfx 145 apps/ui/views/app_window_frame_view.cc gfx::Insets native_frame_insets = gfx 163 apps/ui/views/app_window_frame_view.cc return gfx::Rect(window_bounds.x(), gfx 169 apps/ui/views/app_window_frame_view.cc int AppWindowFrameView::NonClientHitTest(const gfx::Point& point) { gfx 173 apps/ui/views/app_window_frame_view.cc gfx::Rect expanded_bounds = bounds(); gfx 175 apps/ui/views/app_window_frame_view.cc expanded_bounds.Inset(gfx::Insets(-resize_outside_bounds_size_, gfx 233 apps/ui/views/app_window_frame_view.cc void AppWindowFrameView::GetWindowMask(const gfx::Size& size, gfx 234 apps/ui/views/app_window_frame_view.cc gfx::Path* window_mask) { gfx 240 apps/ui/views/app_window_frame_view.cc gfx::Size AppWindowFrameView::GetPreferredSize() { gfx 241 apps/ui/views/app_window_frame_view.cc gfx::Size pref = widget_->client_view()->GetPreferredSize(); gfx 242 apps/ui/views/app_window_frame_view.cc gfx::Rect bounds(0, 0, pref.width(), pref.height()); gfx 251 apps/ui/views/app_window_frame_view.cc gfx::Size close_size = close_button_->GetPreferredSize(); gfx 265 apps/ui/views/app_window_frame_view.cc gfx::Size maximize_size = maximize_button_->GetPreferredSize(); gfx 271 apps/ui/views/app_window_frame_view.cc gfx::Size restore_size = restore_button_->GetPreferredSize(); gfx 286 apps/ui/views/app_window_frame_view.cc gfx::Size minimize_size = minimize_button_->GetPreferredSize(); gfx 295 apps/ui/views/app_window_frame_view.cc void AppWindowFrameView::OnPaint(gfx::Canvas* canvas) { gfx 315 apps/ui/views/app_window_frame_view.cc gfx::Path path; gfx 326 apps/ui/views/app_window_frame_view.cc gfx::Size AppWindowFrameView::GetMinimumSize() { gfx 327 apps/ui/views/app_window_frame_view.cc gfx::Size min_size = widget_->client_view()->GetMinimumSize(); gfx 332 apps/ui/views/app_window_frame_view.cc gfx::Rect client_bounds = GetBoundsForClientView(); gfx 343 apps/ui/views/app_window_frame_view.cc gfx::Size AppWindowFrameView::GetMaximumSize() { gfx 344 apps/ui/views/app_window_frame_view.cc gfx::Size max_size = widget_->client_view()->GetMaximumSize(); gfx 347 apps/ui/views/app_window_frame_view.cc gfx::Size client_size = GetBoundsForClientView().size(); gfx 19 apps/ui/views/app_window_frame_view.h namespace gfx { gfx 62 apps/ui/views/app_window_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 63 apps/ui/views/app_window_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 64 apps/ui/views/app_window_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 65 apps/ui/views/app_window_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 66 apps/ui/views/app_window_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 67 apps/ui/views/app_window_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 73 apps/ui/views/app_window_frame_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 76 apps/ui/views/app_window_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 77 apps/ui/views/app_window_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 78 apps/ui/views/app_window_frame_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 41 apps/ui/views/native_app_window_views.cc create_params.GetContentMinimumSize(gfx::Insets())); gfx 43 apps/ui/views/native_app_window_views.cc create_params.GetContentMaximumSize(gfx::Insets())); gfx 67 apps/ui/views/native_app_window_views.cc create_params.GetInitialWindowBounds(gfx::Insets()).size()); gfx 86 apps/ui/views/native_app_window_views.cc gfx::NativeWindow NativeAppWindowViews::GetNativeWindow() { gfx 90 apps/ui/views/native_app_window_views.cc gfx::Rect NativeAppWindowViews::GetRestoredBounds() const { gfx 103 apps/ui/views/native_app_window_views.cc gfx::Rect NativeAppWindowViews::GetBounds() const { gfx 136 apps/ui/views/native_app_window_views.cc void NativeAppWindowViews::SetBounds(const gfx::Rect& bounds) { gfx 153 apps/ui/views/native_app_window_views.cc gfx::NativeView NativeAppWindowViews::GetHostView() const { gfx 157 apps/ui/views/native_app_window_views.cc gfx::Point NativeAppWindowViews::GetDialogPosition(const gfx::Size& size) { gfx 158 apps/ui/views/native_app_window_views.cc gfx::Size app_window_size = widget_->GetWindowBoundsInScreen().size(); gfx 159 apps/ui/views/native_app_window_views.cc return gfx::Point(app_window_size.width() / 2 - size.width() / 2, gfx 163 apps/ui/views/native_app_window_views.cc gfx::Size NativeAppWindowViews::GetMaximumDialogSize() { gfx 213 apps/ui/views/native_app_window_views.cc void NativeAppWindowViews::SaveWindowPlacement(const gfx::Rect& bounds, gfx 233 apps/ui/views/native_app_window_views.cc gfx::NativeView child, gfx 234 apps/ui/views/native_app_window_views.cc const gfx::Point& location) { gfx 301 apps/ui/views/native_app_window_views.cc gfx::Size NativeAppWindowViews::GetMinimumSize() { gfx 305 apps/ui/views/native_app_window_views.cc gfx::Size NativeAppWindowViews::GetMaximumSize() { gfx 368 apps/ui/views/native_app_window_views.cc gfx::Insets NativeAppWindowViews::GetFrameInsets() const { gfx 370 apps/ui/views/native_app_window_views.cc return gfx::Insets(); gfx 377 apps/ui/views/native_app_window_views.cc gfx::Rect client_bounds = gfx::Rect(1000, 1000); gfx 378 apps/ui/views/native_app_window_views.cc gfx::Rect window_bounds = gfx 389 apps/ui/views/native_app_window_views.cc gfx::Size NativeAppWindowViews::GetContentMinimumSize() const { gfx 393 apps/ui/views/native_app_window_views.cc gfx::Size NativeAppWindowViews::GetContentMaximumSize() const { gfx 398 apps/ui/views/native_app_window_views.cc const gfx::Size& min_size, const gfx::Size& max_size) { gfx 76 apps/ui/views/native_app_window_views.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 77 apps/ui/views/native_app_window_views.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 79 apps/ui/views/native_app_window_views.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 89 apps/ui/views/native_app_window_views.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 102 apps/ui/views/native_app_window_views.h virtual void SaveWindowPlacement(const gfx::Rect& bounds, gfx 109 apps/ui/views/native_app_window_views.h gfx::NativeView child, gfx 110 apps/ui/views/native_app_window_views.h const gfx::Point& location) OVERRIDE; gfx 129 apps/ui/views/native_app_window_views.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 130 apps/ui/views/native_app_window_views.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 149 apps/ui/views/native_app_window_views.h virtual gfx::Insets GetFrameInsets() const OVERRIDE; gfx 153 apps/ui/views/native_app_window_views.h virtual gfx::Size GetContentMinimumSize() const OVERRIDE; gfx 154 apps/ui/views/native_app_window_views.h virtual gfx::Size GetContentMaximumSize() const OVERRIDE; gfx 155 apps/ui/views/native_app_window_views.h virtual void SetContentSizeConstraints(const gfx::Size& min_size, gfx 156 apps/ui/views/native_app_window_views.h const gfx::Size& max_size) OVERRIDE; gfx 159 apps/ui/views/native_app_window_views.h virtual gfx::NativeView GetHostView() const OVERRIDE; gfx 160 apps/ui/views/native_app_window_views.h virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; gfx 161 apps/ui/views/native_app_window_views.h virtual gfx::Size GetMaximumDialogSize() OVERRIDE; gfx 24 ash/accelerators/accelerator_commands_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 26 ash/accelerators/accelerator_commands_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 324 ash/accelerators/accelerator_controller.cc gfx::Display::Rotation GetNextRotation(gfx::Display::Rotation current) { gfx 326 ash/accelerators/accelerator_controller.cc case gfx::Display::ROTATE_0: gfx 327 ash/accelerators/accelerator_controller.cc return gfx::Display::ROTATE_90; gfx 328 ash/accelerators/accelerator_controller.cc case gfx::Display::ROTATE_90: gfx 329 ash/accelerators/accelerator_controller.cc return gfx::Display::ROTATE_180; gfx 330 ash/accelerators/accelerator_controller.cc case gfx::Display::ROTATE_180: gfx 331 ash/accelerators/accelerator_controller.cc return gfx::Display::ROTATE_270; gfx 332 ash/accelerators/accelerator_controller.cc case gfx::Display::ROTATE_270: gfx 333 ash/accelerators/accelerator_controller.cc return gfx::Display::ROTATE_0; gfx 336 ash/accelerators/accelerator_controller.cc return gfx::Display::ROTATE_0; gfx 342 ash/accelerators/accelerator_controller.cc gfx::Point point = Shell::GetScreen()->GetCursorScreenPoint(); gfx 343 ash/accelerators/accelerator_controller.cc gfx::Display display = Shell::GetScreen()->GetDisplayNearestPoint(point); gfx 354 ash/accelerators/accelerator_controller.cc if (display_id == gfx::Display::kInvalidDisplayID) gfx 366 ash/accelerators/accelerator_controller.cc if (display_id == gfx::Display::kInvalidDisplayID) gfx 473 ash/accelerators/accelerator_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 482 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect expected_bounds = wm::GetDefaultLeftSnappedWindowBoundsInParent( gfx 488 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect expected_bounds = wm::GetDefaultRightSnappedWindowBoundsInParent( gfx 493 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect normal_bounds = window_state->GetRestoreBoundsInParent(); gfx 529 ash/accelerators/accelerator_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 536 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect work_area = gfx 538 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect bounds = window->GetBoundsInScreen(); gfx 547 ash/accelerators/accelerator_controller_unittest.cc window->SetBounds(gfx::Rect(0, 0, 20, 20)); gfx 551 ash/accelerators/accelerator_controller_unittest.cc gfx::Rect docked_bounds = window->GetBoundsInScreen(); gfx 601 ash/accelerators/accelerator_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 1115 ash/accelerators/accelerator_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 1244 ash/accelerators/accelerator_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 48 ash/accelerators/accelerator_filter_unittest.cc gfx::Rect())); gfx 19 ash/accelerators/debug_commands.cc gfx::ImageSkia CreateWallpaperImage(SkColor fill, SkColor rect) { gfx 23 ash/accelerators/debug_commands.cc gfx::Size image_size(1366, 768); gfx 24 ash/accelerators/debug_commands.cc gfx::Canvas canvas(image_size, 1.0f, true); gfx 31 ash/accelerators/debug_commands.cc canvas.DrawRoundRect(gfx::Rect(image_size), 100, paint); gfx 32 ash/accelerators/debug_commands.cc return gfx::ImageSkia(canvas.ExtractImageRep()); gfx 48 ash/accelerators/exit_warning_handler.cc virtual void PaintText(gfx::Canvas* canvas, gfx 50 ash/accelerators/exit_warning_handler.cc const gfx::Rect& text_bounds, gfx 56 ash/accelerators/exit_warning_handler.cc flags | gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 69 ash/accelerators/exit_warning_handler.cc const gfx::FontList& font_list = gfx 71 ash/accelerators/exit_warning_handler.cc text_width_ = gfx::GetStringWidth(text_, font_list); gfx 76 ash/accelerators/exit_warning_handler.cc label->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 85 ash/accelerators/exit_warning_handler.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 86 ash/accelerators/exit_warning_handler.cc return gfx::Size(width_, height_); gfx 89 ash/accelerators/exit_warning_handler.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 174 ash/accelerators/exit_warning_handler.cc gfx::Size rs = root_window->bounds().size(); gfx 175 ash/accelerators/exit_warning_handler.cc gfx::Size ps = delegate->GetPreferredSize(); gfx 176 ash/accelerators/exit_warning_handler.cc gfx::Rect bounds((rs.width() - ps.width()) / 2, gfx 46 ash/accelerators/magnifier_key_scroller_unittest.cc gfx::Rect(10, 10, 100, 100))); gfx 35 ash/accelerometer/accelerometer_controller.cc const gfx::Vector3dF& base, gfx 36 ash/accelerometer/accelerometer_controller.cc const gfx::Vector3dF& lid) { gfx 21 ash/accelerometer/accelerometer_controller.h namespace gfx { gfx 53 ash/accelerometer/accelerometer_controller.h virtual void HandleAccelerometerReading(const gfx::Vector3dF& base, gfx 54 ash/accelerometer/accelerometer_controller.h const gfx::Vector3dF& lid) OVERRIDE; gfx 8 ash/accelerometer/accelerometer_observer.h namespace gfx { gfx 17 ash/accelerometer/accelerometer_observer.h virtual void OnAccelerometerUpdated(const gfx::Vector3dF& base, gfx 18 ash/accelerometer/accelerometer_observer.h const gfx::Vector3dF& lid) = 0; gfx 73 ash/autoclick/autoclick_controller.cc gfx::Point anchor_location_; gfx 130 ash/autoclick/autoclick_controller.cc gfx::Point mouse_location = event->root_location(); gfx 141 ash/autoclick/autoclick_controller.cc gfx::Vector2d delta = mouse_location - anchor_location_; gfx 181 ash/autoclick/autoclick_controller.cc gfx::Point screen_location = gfx 186 ash/autoclick/autoclick_controller.cc gfx::Point click_location(screen_location); gfx 141 ash/autoclick/autoclick_unittest.cc gfx::Point p1(0, 0); gfx 142 ash/autoclick/autoclick_unittest.cc gfx::Point p2(20, 20); gfx 143 ash/autoclick/autoclick_unittest.cc gfx::Point p3(40, 40); gfx 268 ash/autoclick/autoclick_unittest.cc GetEventGenerator().GestureTapDownAndUp(gfx::Point(100, 100)); gfx 275 ash/autoclick/autoclick_unittest.cc gfx::Point(100, 100), gfx 276 ash/autoclick/autoclick_unittest.cc gfx::Point(200, 200), gfx 285 ash/autoclick/autoclick_unittest.cc gfx::Point(100, 100), base::TimeDelta::FromMilliseconds(200), gfx 303 ash/autoclick/autoclick_unittest.cc &delegate, 123, gfx::Rect(50, 50, 100, 100))); gfx 86 ash/desktop_background/desktop_background_controller.cc gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(*file_bitmap_); gfx 125 ash/desktop_background/desktop_background_controller.cc scoped_ptr<SkBitmap> bitmap(gfx::JPEGCodec::Decode( gfx 171 ash/desktop_background/desktop_background_controller.cc gfx::ImageSkia DesktopBackgroundController::GetWallpaper() const { gfx 174 ash/desktop_background/desktop_background_controller.cc return gfx::ImageSkia(); gfx 199 ash/desktop_background/desktop_background_controller.cc gfx::Size max_display_size = GetMaxDisplaySizeInNative(); gfx 254 ash/desktop_background/desktop_background_controller.cc const gfx::ImageSkia& image, gfx 293 ash/desktop_background/desktop_background_controller.cc gfx::Size size = GetMaxDisplaySizeInNative(); gfx 316 ash/desktop_background/desktop_background_controller.cc gfx::Size max_display_size = GetMaxDisplaySizeInNative(); gfx 343 ash/desktop_background/desktop_background_controller.cc const gfx::ImageSkia& image) const { gfx 453 ash/desktop_background/desktop_background_controller.cc gfx::Size DesktopBackgroundController::GetMaxDisplaySizeInNative() { gfx 456 ash/desktop_background/desktop_background_controller.cc std::vector<gfx::Display> displays = Shell::GetScreen()->GetAllDisplays(); gfx 459 ash/desktop_background/desktop_background_controller.cc for (std::vector<gfx::Display>::iterator iter = displays.begin(); gfx 462 ash/desktop_background/desktop_background_controller.cc gfx::Size size_in_pixel = gfx 464 ash/desktop_background/desktop_background_controller.cc if (iter->rotation() == gfx::Display::ROTATE_90 || gfx 465 ash/desktop_background/desktop_background_controller.cc iter->rotation() == gfx::Display::ROTATE_270) { gfx 466 ash/desktop_background/desktop_background_controller.cc size_in_pixel = gfx::Size(size_in_pixel.height(), size_in_pixel.width()); gfx 471 ash/desktop_background/desktop_background_controller.cc return gfx::Size(width, height); gfx 96 ash/desktop_background/desktop_background_controller.h gfx::ImageSkia GetWallpaper() const; gfx 111 ash/desktop_background/desktop_background_controller.h void SetCustomWallpaper(const gfx::ImageSkia& image, WallpaperLayout layout); gfx 152 ash/desktop_background/desktop_background_controller.h bool CustomWallpaperIsAlreadyLoaded(const gfx::ImageSkia& image) const; gfx 191 ash/desktop_background/desktop_background_controller.h static gfx::Size GetMaxDisplaySizeInNative(); gfx 214 ash/desktop_background/desktop_background_controller.h gfx::Size current_max_display_size_; gfx 89 ash/desktop_background/desktop_background_controller_unittest.cc gfx::AnimationContainerElement* element = layer->GetAnimator(); gfx 141 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia CreateImage(int width, int height, SkColor color) { gfx 146 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 163 ash/desktop_background/desktop_background_controller_unittest.cc bool ImageIsNearColor(gfx::ImageSkia image, SkColor expected_color) { gfx 176 ash/desktop_background/desktop_background_controller_unittest.cc gfx::Point center = gfx::Rect(image.size()).CenterPoint(); gfx 210 ash/desktop_background/desktop_background_controller_unittest.cc if (!gfx::JPEGCodec::Encode( gfx 212 ash/desktop_background/desktop_background_controller_unittest.cc gfx::JPEGCodec::FORMAT_SkBitmap, width, height, bitmap.rowBytes(), gfx 448 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia image = CreateImage(640, 480, kCustomWallpaperColor); gfx 611 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia image = CreateImage(640, 480, kCustomWallpaperColor); gfx 619 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia resized_image = controller_->GetWallpaper(); gfx 621 ash/desktop_background/desktop_background_controller_unittest.cc EXPECT_EQ(gfx::Size(320, 200).ToString(), resized_image.size().ToString()); gfx 681 ash/desktop_background/desktop_background_controller_unittest.cc gfx::ImageSkia image = CreateImage(640, 480, kCustomWallpaperColor); gfx 53 ash/desktop_background/desktop_background_view.cc gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( gfx 58 ash/desktop_background/desktop_background_view.cc gfx::SizeF pixel_size = display.size(); gfx 60 ash/desktop_background/desktop_background_view.cc gfx::Size rounded_size = gfx::ToCeiledSize(pixel_size); gfx 64 ash/desktop_background/desktop_background_view.cc gfx::Transform transform; gfx 88 ash/desktop_background/desktop_background_view.cc void DesktopBackgroundView::OnPaint(gfx::Canvas* canvas) { gfx 95 ash/desktop_background/desktop_background_view.cc gfx::ImageSkia wallpaper = controller->GetWallpaper(); gfx 103 ash/desktop_background/desktop_background_view.cc gfx::NativeView native_view = GetWidget()->GetNativeView(); gfx 104 ash/desktop_background/desktop_background_view.cc gfx::Display display = gfx::Screen::GetScreenFor(native_view)-> gfx 115 ash/desktop_background/desktop_background_view.cc gfx::Rect wallpaper_rect( gfx 126 ash/desktop_background/desktop_background_view.cc gfx::Size cropped_size; gfx 128 ash/desktop_background/desktop_background_view.cc cropped_size = gfx::Size( gfx 132 ash/desktop_background/desktop_background_view.cc cropped_size = gfx::Size(wallpaper.width(), gfx 136 ash/desktop_background/desktop_background_view.cc gfx::Rect wallpaper_cropped_rect( gfx 171 ash/desktop_background/desktop_background_view.cc const gfx::Point& point, gfx 22 ash/desktop_background/desktop_background_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 27 ash/desktop_background/desktop_background_view.h const gfx::Point& point, gfx 89 ash/desktop_background/desktop_background_widget_controller.cc void DesktopBackgroundWidgetController::SetBounds(gfx::Rect bounds) { gfx 34 ash/desktop_background/desktop_background_widget_controller.h void SetBounds(gfx::Rect bounds); gfx 31 ash/desktop_background/wallpaper_resizer.cc const gfx::Size& target_size, gfx 43 ash/desktop_background/wallpaper_resizer.cc gfx::Rect wallpaper_rect(0, 0, orig_width, orig_height); gfx 44 ash/desktop_background/wallpaper_resizer.cc gfx::Size cropped_size = gfx::Size(std::min(new_width, orig_width), gfx 50 ash/desktop_background/wallpaper_resizer.cc gfx::RectToSkIRect(wallpaper_rect)); gfx 55 ash/desktop_background/wallpaper_resizer.cc gfx::RectToSkIRect(wallpaper_rect)); gfx 72 ash/desktop_background/wallpaper_resizer.cc cropped_size = gfx::Size( gfx 76 ash/desktop_background/wallpaper_resizer.cc cropped_size = gfx::Size(orig_width, RoundPositive( gfx 82 ash/desktop_background/wallpaper_resizer.cc gfx::RectToSkIRect(wallpaper_rect)); gfx 97 ash/desktop_background/wallpaper_resizer.cc uint32_t WallpaperResizer::GetImageId(const gfx::ImageSkia& image) { gfx 98 ash/desktop_background/wallpaper_resizer.cc const gfx::ImageSkiaRep& image_rep = image.GetRepresentation(1.0f); gfx 103 ash/desktop_background/wallpaper_resizer.cc const gfx::Size& target_size, gfx 114 ash/desktop_background/wallpaper_resizer.cc WallpaperResizer::WallpaperResizer(const gfx::ImageSkia& image, gfx 115 ash/desktop_background/wallpaper_resizer.cc const gfx::Size& target_size, gfx 153 ash/desktop_background/wallpaper_resizer.cc image_ = gfx::ImageSkia::CreateFrom1xBitmap(*resized_bitmap); gfx 27 ash/desktop_background/wallpaper_resizer.h static uint32_t GetImageId(const gfx::ImageSkia& image); gfx 30 ash/desktop_background/wallpaper_resizer.h const gfx::Size& target_size, gfx 33 ash/desktop_background/wallpaper_resizer.h WallpaperResizer(const gfx::ImageSkia& image, gfx 34 ash/desktop_background/wallpaper_resizer.h const gfx::Size& target_size, gfx 39 ash/desktop_background/wallpaper_resizer.h const gfx::ImageSkia& image() const { return image_; } gfx 61 ash/desktop_background/wallpaper_resizer.h gfx::ImageSkia image_; gfx 66 ash/desktop_background/wallpaper_resizer.h gfx::Size target_size_; gfx 26 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia CreateTestImage(const gfx::Size& size) { gfx 43 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(src); gfx 47 ash/desktop_background/wallpaper_resizer_unittest.cc bool IsColor(const gfx::ImageSkia& image, const uint32_t expect) { gfx 67 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia Resize(const gfx::ImageSkia& image, gfx 68 ash/desktop_background/wallpaper_resizer_unittest.cc const gfx::Size& target_size, gfx 106 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia small_image(gfx::ImageSkiaRep(gfx::Size(10, 20), 1.0f)); gfx 108 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia resized_small = Resize(small_image, gfx::Size(800, 600), gfx 113 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia large_image(gfx::ImageSkiaRep(gfx::Size(1000, 1000), 1.0f)); gfx 114 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia resized_large = Resize(large_image, gfx::Size(800, 600), gfx 124 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia image = CreateTestImage( gfx 125 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::Size(kTestImageWidth, kTestImageHeight)); gfx 127 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::Size target_size = gfx::Size(kTargetWidth, kTargetHeight); gfx 128 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia center = Resize(image, target_size, WALLPAPER_LAYOUT_CENTER); gfx 130 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia center_cropped = Resize(image, target_size, gfx 133 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia stretch = Resize(image, target_size, WALLPAPER_LAYOUT_STRETCH); gfx 135 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia tile = Resize(image, target_size, WALLPAPER_LAYOUT_TILE); gfx 144 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::ImageSkia image = CreateTestImage( gfx 145 ash/desktop_background/wallpaper_resizer_unittest.cc gfx::Size(kTestImageWidth, kTestImageHeight)); gfx 149 ash/desktop_background/wallpaper_resizer_unittest.cc WallpaperResizer resizer(image, gfx::Size(10, 20), WALLPAPER_LAYOUT_STRETCH); gfx 39 ash/dip_unittest.cc const gfx::Display display = gfx 43 ash/dip_unittest.cc gfx::Rect work_area = display.work_area(); gfx 48 ash/dip_unittest.cc gfx::Screen* screen = Shell::GetScreen(); gfx 50 ash/dip_unittest.cc const gfx::Display display_2x = screen->GetDisplayNearestWindow(root); gfx 78 ash/dip_unittest.cc const gfx::Display display = gfx 82 ash/dip_unittest.cc gfx::Rect work_area = display.work_area(); gfx 87 ash/dip_unittest.cc gfx::Screen* screen = Shell::GetScreen(); gfx 89 ash/dip_unittest.cc const gfx::Display display_2x = screen->GetDisplayNearestWindow(root); gfx 32 ash/display/cursor_window_controller.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { return size_; } gfx 33 ash/display/cursor_window_controller.cc virtual gfx::Size GetMaximumSize() const OVERRIDE { return size_; } gfx 34 ash/display/cursor_window_controller.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 35 ash/display/cursor_window_controller.cc const gfx::Rect& new_bounds) OVERRIDE {} gfx 36 ash/display/cursor_window_controller.cc virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { gfx 37 ash/display/cursor_window_controller.cc return gfx::kNullCursor; gfx 40 ash/display/cursor_window_controller.cc const gfx::Point& point) const OVERRIDE { gfx 45 ash/display/cursor_window_controller.cc const gfx::Point& location) OVERRIDE { gfx 50 ash/display/cursor_window_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 59 ash/display/cursor_window_controller.cc virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} gfx 67 ash/display/cursor_window_controller.cc void SetCursorImage(const gfx::ImageSkia& image, gfx 68 ash/display/cursor_window_controller.cc const gfx::Display& display) { gfx 70 ash/display/cursor_window_controller.cc const gfx::ImageSkiaRep& image_rep = image.GetRepresentation(scale_factor); gfx 75 ash/display/cursor_window_controller.cc cursor_image_ = gfx::ImageSkia::CreateFrom1xBitmap(image_rep.sk_bitmap()); gfx 78 ash/display/cursor_window_controller.cc cursor_image_ = gfx::ImageSkia( gfx 79 ash/display/cursor_window_controller.cc gfx::ImageSkiaRep(image_rep.sk_bitmap(), scale_factor)); gfx 83 ash/display/cursor_window_controller.cc const gfx::Size size() const { return size_; } gfx 87 ash/display/cursor_window_controller.cc gfx::ImageSkia cursor_image_; gfx 88 ash/display/cursor_window_controller.cc gfx::Size size_; gfx 98 ash/display/cursor_window_controller.cc cursor_rotation_(gfx::Display::ROTATE_0), gfx 126 ash/display/cursor_window_controller.cc void CursorWindowController::SetDisplay(const gfx::Display& display) { gfx 145 ash/display/cursor_window_controller.cc gfx::Point point = aura::Env::GetInstance()->last_mouse_location(); gfx 152 ash/display/cursor_window_controller.cc gfx::Rect bounds = cursor_window_->bounds(); gfx 157 ash/display/cursor_window_controller.cc void CursorWindowController::SetCursor(gfx::NativeCursor cursor) { gfx 203 ash/display/cursor_window_controller.cc void CursorWindowController::SetBoundsInScreen(const gfx::Rect& bounds) { gfx 218 ash/display/cursor_window_controller.cc const gfx::ImageSkia* image = gfx 220 ash/display/cursor_window_controller.cc gfx::ImageSkia rotated = *image; gfx 223 ash/display/cursor_window_controller.cc case gfx::Display::ROTATE_0: gfx 225 ash/display/cursor_window_controller.cc case gfx::Display::ROTATE_90: gfx 226 ash/display/cursor_window_controller.cc rotated = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 232 ash/display/cursor_window_controller.cc case gfx::Display::ROTATE_180: gfx 233 ash/display/cursor_window_controller.cc rotated = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 239 ash/display/cursor_window_controller.cc case gfx::Display::ROTATE_270: gfx 240 ash/display/cursor_window_controller.cc rotated = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 253 ash/display/cursor_window_controller.cc cursor_window_->SetBounds(gfx::Rect(delegate_->size())); gfx 255 ash/display/cursor_window_controller.cc gfx::Rect(cursor_window_->bounds().size())); gfx 41 ash/display/cursor_window_controller.h void SetDisplay(const gfx::Display& display); gfx 45 ash/display/cursor_window_controller.h void SetCursor(gfx::NativeCursor cursor); gfx 57 ash/display/cursor_window_controller.h void SetBoundsInScreen(const gfx::Rect& bounds); gfx 66 ash/display/cursor_window_controller.h gfx::Rect bounds_in_screen_; gfx 72 ash/display/cursor_window_controller.h gfx::Display::Rotation cursor_rotation_; gfx 73 ash/display/cursor_window_controller.h gfx::Point hot_point_; gfx 77 ash/display/cursor_window_controller.h gfx::Display display_; gfx 110 ash/display/display_change_observer_chromeos.cc gfx::Size* size) const { gfx 128 ash/display/display_change_observer_chromeos.cc gfx::Display::InternalDisplayId() == gfx::Display::kInvalidDisplayID) { gfx 129 ash/display/display_change_observer_chromeos.cc gfx::Display::SetInternalDisplayId(output.display->display_id()); gfx 142 ash/display/display_change_observer_chromeos.cc gfx::Rect display_bounds(output.display->origin(), mode_info->size()); gfx 164 ash/display/display_change_observer_chromeos.cc output.touch_device_id == 0 ? gfx::Display::TOUCH_SUPPORT_UNAVAILABLE : gfx 165 ash/display/display_change_observer_chromeos.cc gfx::Display::TOUCH_SUPPORT_AVAILABLE); gfx 34 ash/display/display_change_observer_chromeos.h gfx::Size* size) const OVERRIDE; gfx 22 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1200), false, 60)); gfx 25 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1080), false, 80)); gfx 26 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1080), false, 70)); gfx 27 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1920, 1080), false, 60)); gfx 30 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1280, 720), true, 60)); gfx 31 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1280, 720), false, 60)); gfx 34 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1024, 768), true, 70)); gfx 35 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1024, 768), true, 60)); gfx 38 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1024, 600), true, 60)); gfx 39 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1024, 600), false, 70)); gfx 40 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1024, 600), false, 60)); gfx 43 ash/display/display_change_observer_chromeos_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(640, 480), true, 60)); gfx 63 ash/display/display_controller.cc int64 primary_display_id = gfx::Display::kInvalidDisplayID; gfx 80 ash/display/display_controller.cc const gfx::Display& display) { gfx 96 ash/display/display_controller.cc case gfx::Display::ROTATE_0: gfx 99 ash/display/display_controller.cc case gfx::Display::ROTATE_90: gfx 102 ash/display/display_controller.cc case gfx::Display::ROTATE_180: gfx 105 ash/display/display_controller.cc case gfx::Display::ROTATE_270: gfx 111 ash/display/display_controller.cc gfx::AcceleratedWidget xwindow = host->GetAcceleratedWidget(); gfx 231 ash/display/display_controller.cc primary_display_id = gfx::Display::kInvalidDisplayID; gfx 269 ash/display/display_controller.cc const gfx::Display& primary_candidate = gfx 278 ash/display/display_controller.cc const gfx::Display& display = display_manager->GetDisplayAt(i); gfx 336 ash/display/display_controller.cc gfx::Insets DisplayController::GetOverscanInsets(int64 display_id) const { gfx 341 ash/display/display_controller.cc const gfx::Insets& insets_in_dip) { gfx 403 ash/display/display_controller.cc DCHECK_NE(gfx::Display::kInvalidDisplayID, id); gfx 404 ash/display/display_controller.cc if (id == gfx::Display::kInvalidDisplayID || primary_display_id == id) gfx 407 ash/display/display_controller.cc const gfx::Display& display = GetDisplayManager()->GetDisplayForId(id); gfx 413 ash/display/display_controller.cc const gfx::Display& new_primary_display) { gfx 437 ash/display/display_controller.cc gfx::Display old_primary_display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 476 ash/display/display_controller.cc gfx::Point point_in_screen = Shell::GetScreen()->GetCursorScreenPoint(); gfx 477 ash/display/display_controller.cc gfx::Point target_location_in_native; gfx 483 ash/display/display_controller.cc const gfx::Display& display = display_manager->GetDisplayAt(i); gfx 493 ash/display/display_controller.cc gfx::Point center = display.bounds().CenterPoint(); gfx 520 ash/display/display_controller.cc const gfx::Insets& insets) { gfx 524 ash/display/display_controller.cc DCHECK(id != gfx::Display::kInvalidDisplayID); gfx 528 ash/display/display_controller.cc void DisplayController::OnDisplayBoundsChanged(const gfx::Display& display) { gfx 537 ash/display/display_controller.cc void DisplayController::OnDisplayAdded(const gfx::Display& display) { gfx 551 ash/display/display_controller.cc if (primary_display_id == gfx::Display::kInvalidDisplayID) gfx 559 ash/display/display_controller.cc void DisplayController::OnDisplayRemoved(const gfx::Display& display) { gfx 573 ash/display/display_controller.cc primary_display_id = gfx::Display::kInvalidDisplayID; gfx 602 ash/display/display_controller.cc gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( gfx 639 ash/display/display_controller.cc gfx::Screen* screen = Shell::GetScreen(); gfx 640 ash/display/display_controller.cc gfx::Point point_in_screen = screen->GetCursorScreenPoint(); gfx 641 ash/display/display_controller.cc gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen); gfx 667 ash/display/display_controller.cc primary_id == gfx::Display::kInvalidDisplayID ? gfx 683 ash/display/display_controller.cc const gfx::Display& display) { gfx 687 ash/display/display_controller.cc const gfx::Rect& bounds_in_native = display_info.bounds_in_native(); gfx 729 ash/display/display_controller.cc gfx::AcceleratedWidget xwindow = gfx 731 ash/display/display_controller.cc XStoreName(gfx::GetXDisplay(), xwindow, name.c_str()); gfx 34 ash/display/display_controller.h namespace gfx { gfx 50 ash/display/display_controller.h class ASH_EXPORT DisplayController : public gfx::DisplayObserver, gfx 122 ash/display/display_controller.h void SetPrimaryDisplay(const gfx::Display& display); gfx 137 ash/display/display_controller.h gfx::Insets GetOverscanInsets(int64 display_id) const; gfx 138 ash/display/display_controller.h void SetOverscanInsets(int64 display_id, const gfx::Insets& insets_in_dip); gfx 146 ash/display/display_controller.h const gfx::Insets& insets); gfx 149 ash/display/display_controller.h const gfx::Display& display) OVERRIDE; gfx 150 ash/display/display_controller.h virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; gfx 151 ash/display/display_controller.h virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; gfx 172 ash/display/display_controller.h const gfx::Display& display); gfx 217 ash/display/display_controller.h gfx::Point cursor_location_in_native_coords_for_restore_; gfx 62 ash/display/display_controller_unittest.cc public gfx::DisplayObserver, gfx 99 ash/display/display_controller_unittest.cc virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE { gfx 103 ash/display/display_controller_unittest.cc virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE { gfx 105 ash/display/display_controller_unittest.cc virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE { gfx 159 ash/display/display_controller_unittest.cc gfx::Display GetPrimaryDisplay() { gfx 164 ash/display/display_controller_unittest.cc gfx::Display GetSecondaryDisplay() { gfx 197 ash/display/display_controller_unittest.cc gfx::Display primary = Shell::GetScreen()->GetPrimaryDisplay(); gfx 321 ash/display/display_controller_unittest.cc gfx::Point mouse_location_; gfx 334 ash/display/display_controller_unittest.cc gfx::Display::Rotation GetStoredRotation(int64 id) { gfx 353 ash/display/display_controller_unittest.cc XFetchName(gfx::GetXDisplay(), host->GetAcceleratedWidget(), &name); gfx 392 ash/display/display_controller_unittest.cc gfx::Insets insets(5, 5, 5, 5); gfx 513 ash/display/display_controller_unittest.cc const gfx::Rect& bounds, gfx 532 ash/display/display_controller_unittest.cc CreateDisplayInfo(1, gfx::Rect(0, 0, 500, 500), 2.0f); gfx 534 ash/display/display_controller_unittest.cc CreateDisplayInfo(2, gfx::Rect(0, 0, 500, 500), 1.0f); gfx 586 ash/display/display_controller_unittest.cc gfx::Insets insets(5, 5, 5, 5); gfx 631 ash/display/display_controller_unittest.cc display_manager->SetDisplayRotation(primary_id, gfx::Display::ROTATE_90); gfx 635 ash/display/display_controller_unittest.cc display_manager->SetDisplayRotation(primary_id, gfx::Display::ROTATE_90); gfx 642 ash/display/display_controller_unittest.cc gfx::Display::SetInternalDisplayId(secondary_id); gfx 670 ash/display/display_controller_unittest.cc gfx::Display primary_display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 671 ash/display/display_controller_unittest.cc gfx::Display secondary_display = ScreenUtil::GetSecondaryDisplay(); gfx 688 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 710 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 724 ash/display/display_controller_unittest.cc gfx::Display swapped_primary = Shell::GetScreen()->GetPrimaryDisplay(); gfx 725 ash/display/display_controller_unittest.cc gfx::Display swapped_secondary = ScreenUtil::GetSecondaryDisplay(); gfx 743 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 763 ash/display/display_controller_unittest.cc gfx::Display primary_display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 764 ash/display/display_controller_unittest.cc gfx::Display secondary_display = ScreenUtil::GetSecondaryDisplay(); gfx 774 ash/display/display_controller_unittest.cc gfx::Point(-100, 0)).id()); gfx 776 ash/display/display_controller_unittest.cc gfx::Point(0, -100)).id()); gfx 778 ash/display/display_controller_unittest.cc gfx::Point(100, 100)).id()); gfx 780 ash/display/display_controller_unittest.cc gfx::Point(224, 25)).id()); gfx 782 ash/display/display_controller_unittest.cc gfx::Point(226, 25)).id()); gfx 784 ash/display/display_controller_unittest.cc gfx::Point(600, 100)).id()); gfx 786 ash/display/display_controller_unittest.cc gfx::Point(174, 225)).id()); gfx 788 ash/display/display_controller_unittest.cc gfx::Point(176, 225)).id()); gfx 790 ash/display/display_controller_unittest.cc gfx::Point(300, 400)).id()); gfx 805 ash/display/display_controller_unittest.cc gfx::Display primary_display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 806 ash/display/display_controller_unittest.cc gfx::Display secondary_display = ScreenUtil::GetSecondaryDisplay(); gfx 823 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 845 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 859 ash/display/display_controller_unittest.cc gfx::Display swapped_primary = Shell::GetScreen()->GetPrimaryDisplay(); gfx 860 ash/display/display_controller_unittest.cc gfx::Display swapped_secondary = ScreenUtil::GetSecondaryDisplay(); gfx 878 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 895 ash/display/display_controller_unittest.cc gfx::Display primary_display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 896 ash/display/display_controller_unittest.cc gfx::Display secondary_display = ScreenUtil::GetSecondaryDisplay(); gfx 913 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 954 ash/display/display_controller_unittest.cc gfx::Point(-100, -100)).id()); gfx 1017 ash/display/display_controller_unittest.cc gfx::Display primary_display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 1018 ash/display/display_controller_unittest.cc gfx::Display secondary_display = ScreenUtil::GetSecondaryDisplay(); gfx 1030 ash/display/display_controller_unittest.cc primary_root->MoveCursorTo(gfx::Point(50, 50)); gfx 1034 ash/display/display_controller_unittest.cc secondary_root->MoveCursorTo(gfx::Point(50, 50)); gfx 1044 ash/display/display_controller_unittest.cc secondary_root->MoveCursorTo(gfx::Point(50, 50)); gfx 1046 ash/display/display_controller_unittest.cc primary_root->MoveCursorTo(gfx::Point(50, 50)); gfx 1058 ash/display/display_controller_unittest.cc primary_root->MoveCursorTo(gfx::Point(50, 50)); gfx 1074 ash/display/display_controller_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); gfx 1078 ash/display/display_controller_unittest.cc gfx::Insets(10, 15, 20, 25)); gfx 1088 ash/display/display_controller_unittest.cc display_controller->SetOverscanInsets(display1.id(), gfx::Insets()); gfx 1100 ash/display/display_controller_unittest.cc gfx::Point point; gfx 1123 ash/display/display_controller_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); gfx 1134 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetStoredRotation(display1.id())); gfx 1135 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetStoredRotation(display2_id)); gfx 1138 ash/display/display_controller_unittest.cc gfx::Display::ROTATE_90); gfx 1145 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetStoredRotation(display1.id())); gfx 1146 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetStoredRotation(display2_id)); gfx 1154 ash/display/display_controller_unittest.cc gfx::Display::ROTATE_270); gfx 1159 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetStoredRotation(display1.id())); gfx 1160 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, GetStoredRotation(display2_id)); gfx 1167 ash/display/display_controller_unittest.cc gfx::Display::ROTATE_180); gfx 1174 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_180, GetStoredRotation(display1.id())); gfx 1175 ash/display/display_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, GetStoredRotation(display2_id)); gfx 1193 ash/display/display_controller_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); gfx 1194 ash/display/display_controller_unittest.cc gfx::Display::SetInternalDisplayId(display1.id()); gfx 1196 ash/display/display_controller_unittest.cc gfx::Display display2 = ScreenUtil::GetSecondaryDisplay(); gfx 1229 ash/display/display_controller_unittest.cc gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 1240 ash/display/display_controller_unittest.cc generator.ScrollSequence(gfx::Point(0,0), gfx 1262 ash/display/display_controller_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); gfx 1317 ash/display/display_controller_unittest.cc gfx::Display::Rotation rotation) { gfx 1319 ash/display/display_controller_unittest.cc info.SetBounds(gfx::Rect(0, y, 500, 500)); gfx 1337 ash/display/display_controller_unittest.cc CreateDisplayInfo(internal_id, 0, gfx::Display::ROTATE_0); gfx 1339 ash/display/display_controller_unittest.cc CreateDisplayInfo(2, 1, gfx::Display::ROTATE_90); gfx 28 ash/display/display_info.cc DisplayMode::DisplayMode(const gfx::Size& size, gfx 39 ash/display/display_info.cc return CreateFromSpecWithID(spec, gfx::Display::kInvalidDisplayID); gfx 55 ash/display/display_info.cc gfx::Rect bounds_in_native(aura::WindowTreeHost::GetNativeScreenSize()); gfx 57 ash/display/display_info.cc gfx::Rect bounds_in_native(kDefaultHostWindowX, kDefaultHostWindowY, gfx 72 ash/display/display_info.cc gfx::Display::Rotation rotation(gfx::Display::ROTATE_0); gfx 85 ash/display/display_info.cc rotation = gfx::Display::ROTATE_90; gfx 88 ash/display/display_info.cc rotation = gfx::Display::ROTATE_180; gfx 91 ash/display/display_info.cc rotation = gfx::Display::ROTATE_270; gfx 107 ash/display/display_info.cc if (gfx::IsHighDPIEnabled()) { gfx 108 ash/display/display_info.cc device_scale_factor = gfx::GetModernUIScale(); gfx 138 ash/display/display_info.cc DisplayMode(gfx::Size(width, height), refresh_rate, false, false)); gfx 144 ash/display/display_info.cc if (id == gfx::Display::kInvalidDisplayID) gfx 158 ash/display/display_info.cc display_info.SetOverscanInsets(gfx::Insets(height, width, height, width)); gfx 168 ash/display/display_info.cc : id_(gfx::Display::kInvalidDisplayID), gfx 170 ash/display/display_info.cc rotation_(gfx::Display::ROTATE_0), gfx 171 ash/display/display_info.cc touch_support_(gfx::Display::TOUCH_SUPPORT_UNKNOWN), gfx 185 ash/display/display_info.cc rotation_(gfx::Display::ROTATE_0), gfx 186 ash/display/display_info.cc touch_support_(gfx::Display::TOUCH_SUPPORT_UNKNOWN), gfx 232 ash/display/display_info.cc void DisplayInfo::SetBounds(const gfx::Rect& new_bounds_in_native) { gfx 247 ash/display/display_info.cc gfx::Insets insets_in_pixel = gfx 254 ash/display/display_info.cc if (rotation_ == gfx::Display::ROTATE_90 || gfx 255 ash/display/display_info.cc rotation_ == gfx::Display::ROTATE_270) gfx 257 ash/display/display_info.cc gfx::SizeF size_f(size_in_pixel_); gfx 259 ash/display/display_info.cc size_in_pixel_ = gfx::ToFlooredSize(size_f); gfx 262 ash/display/display_info.cc void DisplayInfo::SetOverscanInsets(const gfx::Insets& insets_in_dip) { gfx 266 ash/display/display_info.cc gfx::Insets DisplayInfo::GetOverscanInsetsInPixel() const { gfx 282 ash/display/display_info.cc touch_support_ == gfx::Display::TOUCH_SUPPORT_AVAILABLE gfx 284 ash/display/display_info.cc : touch_support_ == gfx::Display::TOUCH_SUPPORT_UNAVAILABLE gfx 22 ash/display/display_info.h DisplayMode(const gfx::Size& size, gfx 27 ash/display/display_info.h gfx::Size size; // Physical pixel size of the display. gfx 93 ash/display/display_info.h void set_rotation(gfx::Display::Rotation rotation) { rotation_ = rotation; } gfx 94 ash/display/display_info.h gfx::Display::Rotation rotation() const { return rotation_; } gfx 96 ash/display/display_info.h void set_touch_support(gfx::Display::TouchSupport support) { gfx 99 ash/display/display_info.h gfx::Display::TouchSupport touch_support() const { return touch_support_; } gfx 108 ash/display/display_info.h const gfx::Rect& bounds_in_native() const { gfx 113 ash/display/display_info.h const gfx::Size& size_in_pixel() const { return size_in_pixel_; } gfx 116 ash/display/display_info.h const gfx::Insets& overscan_insets_in_dip() const { gfx 137 ash/display/display_info.h void SetBounds(const gfx::Rect& bounds_in_native); gfx 144 ash/display/display_info.h void SetOverscanInsets(const gfx::Insets& insets_in_dip); gfx 145 ash/display/display_info.h gfx::Insets GetOverscanInsetsInPixel() const; gfx 190 ash/display/display_info.h gfx::Display::Rotation rotation_; gfx 191 ash/display/display_info.h gfx::Display::TouchSupport touch_support_; gfx 199 ash/display/display_info.h gfx::Rect bounds_in_native_; gfx 203 ash/display/display_info.h gfx::Size size_in_pixel_; gfx 204 ash/display/display_info.h gfx::Insets overscan_insets_in_dip_; gfx 18 ash/display/display_info_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); gfx 25 ash/display/display_info_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); gfx 31 ash/display/display_info_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, info.rotation()); gfx 37 ash/display/display_info_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, info.rotation()); gfx 43 ash/display/display_info_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, info.rotation()); gfx 72 ash/display/display_layout.cc primary_id(gfx::Display::kInvalidDisplayID) { gfx 79 ash/display/display_layout.cc primary_id(gfx::Display::kInvalidDisplayID) { gfx 63 ash/display/display_layout_store.cc DCHECK_NE(layout.primary_id, gfx::Display::kInvalidDisplayID); gfx 66 ash/display/display_layout_store.cc return (layout.primary_id == gfx::Display::kInvalidDisplayID || gfx 46 ash/display/display_manager.cc typedef std::vector<gfx::Display> DisplayList; gfx 53 ash/display/display_manager.cc gfx::Screen* screen_for_shutdown = NULL; gfx 69 ash/display/display_manager.cc bool operator()(const gfx::Display& a, const gfx::Display& b) { gfx 81 ash/display/display_manager.cc DisplayModeMatcher(const gfx::Size& size) : size(size) {} gfx 83 ash/display/display_manager.cc gfx::Size size; gfx 96 ash/display/display_manager.cc gfx::Display& GetInvalidDisplay() { gfx 97 ash/display/display_manager.cc static gfx::Display* invalid_display = new gfx::Display(); gfx 104 ash/display/display_manager.cc gfx::Display::SetInternalDisplayId(id); gfx 151 ash/display/display_manager.cc first_display_id_(gfx::Display::kInvalidDisplayID), gfx 156 ash/display/display_manager.cc mirrored_display_id_(gfx::Display::kInvalidDisplayID) { gfx 160 ash/display/display_manager.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_ALTERNATE, gfx 162 ash/display/display_manager.cc gfx::Screen* current_native = gfx 163 ash/display/display_manager.cc gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE); gfx 168 ash/display/display_manager.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, gfx 253 ash/display/display_manager.cc const gfx::Display& primary_display, gfx 255 ash/display/display_manager.cc DCHECK_NE(gfx::Display::kInvalidDisplayID, secondary_display_id); gfx 262 ash/display/display_manager.cc bool DisplayManager::IsActiveDisplay(const gfx::Display& display) const { gfx 272 ash/display/display_manager.cc return gfx::Display::InternalDisplayId() != gfx::Display::kInvalidDisplayID; gfx 276 ash/display/display_manager.cc return gfx::Display::InternalDisplayId() == id; gfx 306 ash/display/display_manager.cc if (id_at_zero == gfx::Display::InternalDisplayId() || gfx 320 ash/display/display_manager.cc const gfx::Display& primary = screen_->GetPrimaryDisplay(); gfx 351 ash/display/display_manager.cc const gfx::Display& DisplayManager::GetDisplayForId(int64 id) const { gfx 352 ash/display/display_manager.cc gfx::Display* display = gfx 357 ash/display/display_manager.cc const gfx::Display& DisplayManager::FindDisplayContainingPoint( gfx 358 ash/display/display_manager.cc const gfx::Point& point_in_screen) const { gfx 361 ash/display/display_manager.cc const gfx::Display& display = *iter; gfx 369 ash/display/display_manager.cc const gfx::Insets& insets) { gfx 370 ash/display/display_manager.cc gfx::Display* display = FindDisplayForId(display_id); gfx 372 ash/display/display_manager.cc gfx::Rect old_work_area = display->work_area(); gfx 378 ash/display/display_manager.cc const gfx::Insets& insets_in_dip) { gfx 390 ash/display/display_manager.cc gfx::Display::Rotation rotation) { gfx 415 ash/display/display_manager.cc gfx::Display::InternalDisplayId() != display_id) { gfx 441 ash/display/display_manager.cc const gfx::Size& resolution) { gfx 442 ash/display/display_manager.cc DCHECK_NE(gfx::Display::InternalDisplayId(), display_id); gfx 443 ash/display/display_manager.cc if (gfx::Display::InternalDisplayId() == display_id) gfx 464 ash/display/display_manager.cc gfx::Display::Rotation rotation, gfx 466 ash/display/display_manager.cc const gfx::Insets* overscan_insets, gfx 467 ash/display/display_manager.cc const gfx::Size& resolution_in_pixels, gfx 497 ash/display/display_manager.cc return GetDisplayIdForUIScaling() != gfx::Display::kInvalidDisplayID; gfx 500 ash/display/display_manager.cc gfx::Insets DisplayManager::GetOverscanInsets(int64 display_id) const { gfx 504 ash/display/display_manager.cc it->second.overscan_insets_in_dip() : gfx::Insets(); gfx 557 ash/display/display_manager.cc std::set<gfx::Point> origins; gfx 569 ash/display/display_manager.cc mirrored_display_id_ = gfx::Display::kInvalidDisplayID; gfx 570 ash/display/display_manager.cc non_desktop_display_ = gfx::Display(); gfx 578 ash/display/display_manager.cc gfx::Point origin = iter->bounds_in_native().origin(); gfx 587 ash/display/display_manager.cc const gfx::Size& resolution = iter->bounds_in_native().size(); gfx 604 ash/display/display_manager.cc display_info_.find(gfx::Display::InternalDisplayId()) == gfx 607 ash/display/display_manager.cc gfx::Display::InternalDisplayId(), gfx 610 ash/display/display_manager.cc internal_display_info.SetBounds(gfx::Rect(0, 0, 800, 600)); gfx 611 ash/display/display_manager.cc display_info_[gfx::Display::InternalDisplayId()] = internal_display_info; gfx 654 ash/display/display_manager.cc int64 non_desktop_display_id = gfx::Display::kInvalidDisplayID; gfx 659 ash/display/display_manager.cc gfx::Display::InternalDisplayId() == new_display_info_list[0].id(); gfx 676 ash/display/display_manager.cc info.SetOverscanInsets(gfx::Insets()); gfx 703 ash/display/display_manager.cc const gfx::Display& current_display = *curr_iter; gfx 708 ash/display/display_manager.cc gfx::Display new_display = gfx 813 ash/display/display_manager.cc const gfx::Display& DisplayManager::GetDisplayAt(size_t index) const { gfx 818 ash/display/display_manager.cc const gfx::Display& DisplayManager::GetPrimaryDisplayCandidate() const { gfx 831 ash/display/display_manager.cc return mirrored_display_id_ != gfx::Display::kInvalidDisplayID; gfx 842 ash/display/display_manager.cc if (id == gfx::Display::kInvalidDisplayID) gfx 854 ash/display/display_manager.cc int64 display_id = gfx::Display::InternalDisplayId(); gfx 899 ash/display/display_manager.cc gfx::Rect host_bounds = first_display.bounds_in_native(); gfx 905 ash/display/display_manager.cc mirrored_display_id_ = gfx::Display::kInvalidDisplayID; gfx 906 ash/display/display_manager.cc non_desktop_display_ = gfx::Display(); gfx 936 ash/display/display_manager.cc mirrored_display_id_ = gfx::Display::kInvalidDisplayID; gfx 937 ash/display/display_manager.cc non_desktop_display_ = gfx::Display(); gfx 941 ash/display/display_manager.cc const gfx::Rect& new_bounds) { gfx 947 ash/display/display_manager.cc gfx::Display* display = FindDisplayForId(display_id); gfx 961 ash/display/display_manager.cc gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE) == gfx 965 ash/display/display_manager.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_ALTERNATE, gfx 968 ash/display/display_manager.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, gfx 973 ash/display/display_manager.cc gfx::Display* DisplayManager::FindDisplayForId(int64 id) { gfx 1013 ash/display/display_manager.cc gfx::Display DisplayManager::CreateDisplayFromDisplayInfoById(int64 id) { gfx 1017 ash/display/display_manager.cc gfx::Display new_display(display_info.id()); gfx 1018 ash/display/display_manager.cc gfx::Rect bounds_in_native(display_info.size_in_pixel()); gfx 1027 ash/display/display_manager.cc device_scale_factor, gfx::Rect(bounds_in_native.size())); gfx 1042 ash/display/display_manager.cc id_at_zero == gfx::Display::InternalDisplayId()) ? gfx 1050 ash/display/display_manager.cc if (layout.primary_id != gfx::Display::kInvalidDisplayID) { gfx 1062 ash/display/display_manager.cc gfx::Rect bounds = gfx 1075 ash/display/display_manager.cc const gfx::Display& primary_display, gfx 1076 ash/display/display_manager.cc gfx::Display* secondary_display) { gfx 1079 ash/display/display_manager.cc const gfx::Rect& primary_bounds = primary_display.bounds(); gfx 1080 ash/display/display_manager.cc const gfx::Rect& secondary_bounds = secondary_display->bounds(); gfx 1081 ash/display/display_manager.cc gfx::Point new_secondary_origin = primary_bounds.origin(); gfx 1113 ash/display/display_manager.cc gfx::Insets insets = secondary_display->GetWorkAreaInsets(); gfx 1115 ash/display/display_manager.cc gfx::Rect(new_secondary_origin, secondary_bounds.size())); gfx 23 ash/display/display_manager.h namespace gfx { gfx 92 ash/display/display_manager.h const gfx::Display& primary_display, gfx 102 ash/display/display_manager.h gfx::Screen* screen() { gfx 126 ash/display/display_manager.h bool IsActiveDisplay(const gfx::Display& display) const; gfx 145 ash/display/display_manager.h const gfx::Display& GetDisplayForId(int64 id) const; gfx 150 ash/display/display_manager.h const gfx::Display& FindDisplayContainingPoint( gfx 151 ash/display/display_manager.h const gfx::Point& point_in_screen) const; gfx 154 ash/display/display_manager.h bool UpdateWorkAreaOfDisplay(int64 display_id, const gfx::Insets& insets); gfx 159 ash/display/display_manager.h void SetOverscanInsets(int64 display_id, const gfx::Insets& insets_in_dip); gfx 162 ash/display/display_manager.h void SetDisplayRotation(int64 display_id, gfx::Display::Rotation rotation); gfx 168 ash/display/display_manager.h void SetDisplayResolution(int64 display_id, const gfx::Size& resolution); gfx 173 ash/display/display_manager.h gfx::Display::Rotation rotation, gfx 175 ash/display/display_manager.h const gfx::Insets* overscan_insets, gfx 176 ash/display/display_manager.h const gfx::Size& resolution_in_pixels, gfx 189 ash/display/display_manager.h gfx::Insets GetOverscanInsets(int64 display_id) const; gfx 209 ash/display/display_manager.h const gfx::Display& GetDisplayAt(size_t index) const; gfx 211 ash/display/display_manager.h const gfx::Display& GetPrimaryDisplayCandidate() const; gfx 217 ash/display/display_manager.h const std::vector<gfx::Display>& displays() const { return displays_; } gfx 228 ash/display/display_manager.h const gfx::Display& non_desktop_display() const { gfx 272 ash/display/display_manager.h const gfx::Rect& new_bounds); gfx 292 ash/display/display_manager.h typedef std::vector<gfx::Display> DisplayList; gfx 298 ash/display/display_manager.h gfx::Display* FindDisplayForId(int64 id); gfx 315 ash/display/display_manager.h gfx::Display CreateDisplayFromDisplayInfoById(int64 display_id); gfx 327 ash/display/display_manager.h const gfx::Display& primary_display, gfx 328 ash/display/display_manager.h gfx::Display* secondary_display); gfx 334 ash/display/display_manager.h gfx::Screen* screen_; gfx 362 ash/display/display_manager.h gfx::Display non_desktop_display_; gfx 42 ash/display/display_manager_unittest.cc public gfx::DisplayObserver, gfx 65 ash/display/display_manager_unittest.cc const vector<gfx::Display>& changed() const { return changed_; } gfx 66 ash/display/display_manager_unittest.cc const vector<gfx::Display>& added() const { return added_; } gfx 84 ash/display/display_manager_unittest.cc const DisplayInfo& GetDisplayInfo(const gfx::Display& display) { gfx 92 ash/display/display_manager_unittest.cc const gfx::Display& GetDisplayForId(int64 id) { gfx 101 ash/display/display_manager_unittest.cc virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE { gfx 104 ash/display/display_manager_unittest.cc virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE { gfx 107 ash/display/display_manager_unittest.cc virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE { gfx 118 ash/display/display_manager_unittest.cc vector<gfx::Display> changed_; gfx 119 ash/display/display_manager_unittest.cc vector<gfx::Display> added_; gfx 262 ash/display/display_manager_unittest.cc display_info2.id(), gfx::Insets(13, 12, 11, 10)); gfx 264 ash/display/display_manager_unittest.cc std::vector<gfx::Display> changed_displays = changed(); gfx 280 ash/display/display_manager_unittest.cc display_manager()->SetOverscanInsets(display_info1.id(), gfx::Insets()); gfx 282 ash/display/display_manager_unittest.cc display_info2.id(), gfx::Insets(13, 12, 11, 10)); gfx 294 ash/display/display_manager_unittest.cc display_info2.id(), gfx::Insets(10, 11, 12, 13)); gfx 329 ash/display/display_manager_unittest.cc display_manager()->GetDisplayAt(1).id(), gfx::Insets(4, 5, 6, 7)); gfx 367 ash/display/display_manager_unittest.cc display_manager()->SetOverscanInsets(display2_id, gfx::Insets(0, 0, 0, 0)); gfx 371 ash/display/display_manager_unittest.cc display_manager()->SetOverscanInsets(display2_id, gfx::Insets(1, 0, 0, 0)); gfx 376 ash/display/display_manager_unittest.cc display_manager()->SetOverscanInsets(display2_id, gfx::Insets(0, 0, 0, 0)); gfx 396 ash/display/display_manager_unittest.cc DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) { gfx 408 ash/display/display_manager_unittest.cc const int64 invalid_id = gfx::Display::kInvalidDisplayID; gfx 410 ash/display/display_manager_unittest.cc CreateDisplayInfo(internal_display_id, gfx::Rect(0, 0, 500, 500)); gfx 412 ash/display/display_manager_unittest.cc CreateDisplayInfo(external_id, gfx::Rect(1, 1, 100, 100)); gfx 414 ash/display/display_manager_unittest.cc CreateDisplayInfo(mirror_id, gfx::Rect(0, 0, 500, 500)); gfx 445 ash/display/display_manager_unittest.cc EXPECT_EQ(internal_display_id, gfx::Display::InternalDisplayId()); gfx 503 ash/display/display_manager_unittest.cc display_info_list.push_back(CreateDisplayInfo(12, gfx::Rect(1, 1, 100, 100))); gfx 587 ash/display/display_manager_unittest.cc CreateDisplayInfo(10, gfx::Rect(1, 1, 100, 100)); gfx 663 ash/display/display_manager_unittest.cc root_windows[0]->MoveCursorTo(gfx::Point(-150, 250)); gfx 689 ash/display/display_manager_unittest.cc CreateDisplayInfo(internal_display_id, gfx::Rect(0, 0, 500, 500)); gfx 691 ash/display/display_manager_unittest.cc CreateDisplayInfo(10, gfx::Rect(1, 1, 100, 100)); gfx 719 ash/display/display_manager_unittest.cc CreateDisplayInfo(display_id, gfx::Rect(0, 0, 1000, 500)); gfx 722 ash/display/display_manager_unittest.cc DisplayMode(gfx::Size(1000, 500), 58.0f, false, true)); gfx 724 ash/display/display_manager_unittest.cc DisplayMode(gfx::Size(800, 300), 59.0f, false, false)); gfx 726 ash/display/display_manager_unittest.cc DisplayMode(gfx::Size(400, 500), 60.0f, false, false)); gfx 739 ash/display/display_manager_unittest.cc display_manager()->SetDisplayResolution(display_id, gfx::Size(800, 4000)); gfx 744 ash/display/display_manager_unittest.cc display_manager()->SetDisplayResolution(display_id, gfx::Size(800, 300)); gfx 752 ash/display/display_manager_unittest.cc display_manager()->SetDisplayResolution(display_id, gfx::Size(1000, 500)); gfx 763 ash/display/display_manager_unittest.cc CreateDisplayInfo(display_id, gfx::Rect(0, 0, 1000, 500)); gfx 766 ash/display/display_manager_unittest.cc DisplayMode(gfx::Size(1000, 500), 58.0f, false, true)); gfx 768 ash/display/display_manager_unittest.cc DisplayMode(gfx::Size(800, 300), 59.0f, false, false)); gfx 770 ash/display/display_manager_unittest.cc DisplayMode(gfx::Size(400, 500), 60.0f, false, false)); gfx 779 ash/display/display_manager_unittest.cc display_manager()->SetDisplayResolution(display_id, gfx::Size(800, 300)); gfx 781 ash/display/display_manager_unittest.cc CreateDisplayInfo(display_id, gfx::Rect(0, 0, 400, 500)); gfx 797 ash/display/display_manager_unittest.cc display_manager()->SetDisplayResolution(display_id, gfx::Size(800, 300)); gfx 799 ash/display/display_manager_unittest.cc CreateDisplayInfo(display_id, gfx::Rect(0, 0, 1000, 500)); gfx 878 ash/display/display_manager_unittest.cc gfx::Display::SetInternalDisplayId(display_id); gfx 925 ash/display/display_manager_unittest.cc gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 1005 ash/display/display_manager_unittest.cc class TestDisplayObserver : public gfx::DisplayObserver { gfx 1011 ash/display/display_manager_unittest.cc virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE { gfx 1013 ash/display/display_manager_unittest.cc virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE { gfx 1019 ash/display/display_manager_unittest.cc virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE { gfx 1207 ash/display/display_manager_unittest.cc gfx::Screen* orig_screen = gfx 1208 ash/display/display_manager_unittest.cc gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_ALTERNATE); gfx 1212 ash/display/display_manager_unittest.cc gfx::Screen* screen = gfx 1213 ash/display/display_manager_unittest.cc gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_ALTERNATE); gfx 1217 ash/display/display_manager_unittest.cc std::vector<gfx::Display> all = screen->GetAllDisplays(); gfx 43 ash/display/event_transformation_handler.cc gfx::Point point_in_screen(event->location()); gfx 46 ash/display/event_transformation_handler.cc const gfx::Display& display = gfx 44 ash/display/mirror_window_controller.cc XSelectInput(gfx::GetXDisplay(), window, event_mask); gfx 84 ash/display/mirror_window_controller.cc const gfx::Rect& bounds_in_native = display_info.bounds_in_native(); gfx 67 ash/display/mirror_window_controller.h gfx::Size mirror_window_host_size_; gfx 25 ash/display/mirror_window_controller_unittest.cc DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) { gfx 82 ash/display/mirror_window_controller_unittest.cc gfx::Rect(50, 50, 100, 100), gfx 94 ash/display/mirror_window_controller_unittest.cc gfx::Point hot_point = test_api.GetCursorHotPoint(); gfx 95 ash/display/mirror_window_controller_unittest.cc gfx::Point cursor_window_origin = gfx 139 ash/display/mirror_window_controller_unittest.cc gfx::Rect(50, 50, 100, 100), gfx 151 ash/display/mirror_window_controller_unittest.cc gfx::Point hot_point = test_api.GetCursorHotPoint(); gfx 152 ash/display/mirror_window_controller_unittest.cc gfx::Point cursor_window_origin = gfx 206 ash/display/mirror_window_controller_unittest.cc gfx::Point hot_point = test_api.GetCursorHotPoint(); gfx 208 ash/display/mirror_window_controller_unittest.cc gfx::Point cursor_window_origin = gfx 242 ash/display/mirror_window_controller_unittest.cc CreateDisplayInfo(internal_id, gfx::Rect(0, 0, 500, 500)); gfx 244 ash/display/mirror_window_controller_unittest.cc CreateDisplayInfo(external_id, gfx::Rect(1, 1, 100, 100)); gfx 106 ash/display/mouse_cursor_event_filter.cc gfx::Point point_in_screen(event->location()); gfx 114 ash/display/mouse_cursor_event_filter.cc const gfx::Point& point_in_screen) { gfx 130 ash/display/mouse_cursor_event_filter.cc gfx::Point point_in_root = point_in_screen; gfx 132 ash/display/mouse_cursor_event_filter.cc gfx::Rect root_bounds = root_at_point->bounds(); gfx 144 ash/display/mouse_cursor_event_filter.cc gfx::Rect src_indicator_bounds = src_indicator_bounds_; gfx 160 ash/display/mouse_cursor_event_filter.cc gfx::Point point_in_dst_screen(point_in_screen); gfx 187 ash/display/mouse_cursor_event_filter.cc const gfx::Rect primary_bounds = gfx 189 ash/display/mouse_cursor_event_filter.cc const gfx::Rect secondary_bounds = ScreenUtil::GetSecondaryDisplay().bounds(); gfx 216 ash/display/mouse_cursor_event_filter.cc const gfx::Rect primary_bounds = gfx 218 ash/display/mouse_cursor_event_filter.cc const gfx::Rect secondary_bounds = ScreenUtil::GetSecondaryDisplay().bounds(); gfx 240 ash/display/mouse_cursor_event_filter.cc const gfx::Rect& source_bounds = gfx 72 ash/display/mouse_cursor_event_filter.h const gfx::Point& point_in_screen); gfx 85 ash/display/mouse_cursor_event_filter.h gfx::Rect src_indicator_bounds_; gfx 86 ash/display/mouse_cursor_event_filter.h gfx::Rect dst_indicator_bounds_; gfx 30 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point point_in_screen) { gfx 40 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point point_in_screen) { gfx 41 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point location = drag_source_root->bounds().CenterPoint(); gfx 77 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_FALSE(WarpMouseCursorIfNecessary(root_windows[0], gfx::Point(11, 11))); gfx 78 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_FALSE(WarpMouseCursorIfNecessary(root_windows[1], gfx::Point(11, 11))); gfx 81 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_TRUE(WarpMouseCursorIfNecessary(root_windows[0], gfx::Point(499, 11))); gfx 86 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_TRUE(WarpMouseCursorIfNecessary(root_windows[1], gfx::Point(500, 11))); gfx 91 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_FALSE(WarpMouseCursorIfNecessary(root_windows[0], gfx::Point(0, 11))); gfx 93 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_FALSE(WarpMouseCursorIfNecessary(root_windows[0], gfx::Point(11, 0))); gfx 96 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(11, 499))); gfx 99 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(999, 11))); gfx 101 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_FALSE(WarpMouseCursorIfNecessary(root_windows[1], gfx::Point(11, 0))); gfx 104 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(11, 499))); gfx 121 ash/display/mouse_cursor_event_filter_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(623, 123)); gfx 125 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_FALSE(WarpMouseCursorIfNecessary(root_windows[1], gfx::Point(0, 500))); gfx 132 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(500, 499))); gfx 151 ash/display/mouse_cursor_event_filter_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(900, 123)); gfx 157 ash/display/mouse_cursor_event_filter_unittest.cc root_windows[1], root_windows[1], gfx::Point(498, 123))); gfx 164 ash/display/mouse_cursor_event_filter_unittest.cc root_windows[1], root_windows[1], gfx::Point(500, 123))); gfx 170 ash/display/mouse_cursor_event_filter_unittest.cc root_windows[1], root_windows[0], gfx::Point(500, 123))); gfx 177 ash/display/mouse_cursor_event_filter_unittest.cc root_windows[0], root_windows[1], gfx::Point(250, 123))); gfx 189 ash/display/mouse_cursor_event_filter_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(623, 123)); gfx 193 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(499, 11))); gfx 200 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(500, 11))); gfx 205 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(500, 11))); gfx 218 ash/display/mouse_cursor_event_filter_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(1, 1)); gfx 222 ash/display/mouse_cursor_event_filter_unittest.cc gfx::Point(499, 11))); gfx 227 ash/display/mouse_cursor_event_filter_unittest.cc EXPECT_TRUE(WarpMouseCursorIfNecessary(root_windows[0], gfx::Point(499, 11))); gfx 372 ash/display/mouse_cursor_event_filter_unittest.cc WarpMouseCursorIfNecessary(root_windows[0], gfx::Point(399, 200)); gfx 374 ash/display/mouse_cursor_event_filter_unittest.cc WarpMouseCursorIfNecessary(root_windows[1], gfx::Point(400, 200)); gfx 105 ash/display/resolution_notification_controller.cc const gfx::Size& old_resolution, gfx 106 ash/display/resolution_notification_controller.cc const gfx::Size& new_resolution, gfx 114 ash/display/resolution_notification_controller.cc gfx::Size old_resolution; gfx 118 ash/display/resolution_notification_controller.cc gfx::Size new_resolution; gfx 121 ash/display/resolution_notification_controller.cc gfx::Size current_resolution; gfx 140 ash/display/resolution_notification_controller.cc const gfx::Size& old_resolution, gfx 141 ash/display/resolution_notification_controller.cc const gfx::Size& new_resolution, gfx 171 ash/display/resolution_notification_controller.cc const gfx::Size& old_resolution, gfx 172 ash/display/resolution_notification_controller.cc const gfx::Size& new_resolution, gfx 177 ash/display/resolution_notification_controller.cc gfx::Size original_resolution; gfx 282 ash/display/resolution_notification_controller.cc gfx::Size old_resolution = change_info_->old_resolution; gfx 289 ash/display/resolution_notification_controller.cc const gfx::Display& display) { gfx 293 ash/display/resolution_notification_controller.cc const gfx::Display& new_display) { gfx 297 ash/display/resolution_notification_controller.cc const gfx::Display& old_display) { gfx 30 ash/display/resolution_notification_controller.h : public gfx::DisplayObserver, gfx 44 ash/display/resolution_notification_controller.h const gfx::Size& old_resolution, gfx 45 ash/display/resolution_notification_controller.h const gfx::Size& new_resolution, gfx 82 ash/display/resolution_notification_controller.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 83 ash/display/resolution_notification_controller.h virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 84 ash/display/resolution_notification_controller.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 24 ash/display/resolution_notification_controller_unittest.cc const gfx::Size& new_resolution) { gfx 35 ash/display/resolution_notification_controller_unittest.cc const gfx::Size& specified_resolution, gfx 36 ash/display/resolution_notification_controller_unittest.cc const gfx::Size& fallback_resolution) { gfx 63 ash/display/resolution_notification_controller_unittest.cc const gfx::Display& display, gfx 64 ash/display/resolution_notification_controller_unittest.cc const gfx::Size& new_resolution, gfx 65 ash/display/resolution_notification_controller_unittest.cc const gfx::Size& actual_new_resolution) { gfx 82 ash/display/resolution_notification_controller_unittest.cc gfx::Rect bounds = info.bounds_in_native(); gfx 92 ash/display/resolution_notification_controller_unittest.cc void SetDisplayResolutionAndNotify(const gfx::Display& display, gfx 93 ash/display/resolution_notification_controller_unittest.cc const gfx::Size& new_resolution) { gfx 167 ash/display/resolution_notification_controller_unittest.cc ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); gfx 170 ash/display/resolution_notification_controller_unittest.cc EXPECT_EQ(ExpectedNotificationMessage(id2, gfx::Size(200, 200)), gfx 200 ash/display/resolution_notification_controller_unittest.cc ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); gfx 226 ash/display/resolution_notification_controller_unittest.cc const gfx::Display& display = ash::Shell::GetScreen()->GetPrimaryDisplay(); gfx 227 ash/display/resolution_notification_controller_unittest.cc SetDisplayResolutionAndNotify(display, gfx::Size(200, 200)); gfx 244 ash/display/resolution_notification_controller_unittest.cc SetDisplayResolutionAndNotify(display, gfx::Size(200, 200)); gfx 270 ash/display/resolution_notification_controller_unittest.cc ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); gfx 291 ash/display/resolution_notification_controller_unittest.cc const gfx::Display& display = ash::Shell::GetScreen()->GetPrimaryDisplay(); gfx 292 ash/display/resolution_notification_controller_unittest.cc SetDisplayResolutionAndNotify(display, gfx::Size(200, 200)); gfx 321 ash/display/resolution_notification_controller_unittest.cc ScreenUtil::GetSecondaryDisplay(), gfx::Size(100, 100)); gfx 331 ash/display/resolution_notification_controller_unittest.cc gfx::Size resolution; gfx 347 ash/display/resolution_notification_controller_unittest.cc ScreenUtil::GetSecondaryDisplay(), gfx::Size(200, 200)); gfx 358 ash/display/resolution_notification_controller_unittest.cc ScreenUtil::GetSecondaryDisplay(), gfx::Size(250, 250)); gfx 390 ash/display/resolution_notification_controller_unittest.cc gfx::Size(220, 220), gfx 391 ash/display/resolution_notification_controller_unittest.cc gfx::Size(200, 200)); gfx 396 ash/display/resolution_notification_controller_unittest.cc id2, gfx::Size(220, 220), gfx::Size(200, 200)), gfx 26 ash/display/root_window_transformers.cc DECLARE_WINDOW_PROPERTY_TYPE(gfx::Display::Rotation); gfx 32 ash/display/root_window_transformers.cc DEFINE_WINDOW_PROPERTY_KEY(gfx::Display::Rotation, kRotationPropertyKey, gfx 33 ash/display/root_window_transformers.cc gfx::Display::ROTATE_0); gfx 37 ash/display/root_window_transformers.cc void RoundNearZero(gfx::Transform* transform) { gfx 52 ash/display/root_window_transformers.cc gfx::Transform CreateRotationTransform(aura::Window* root_window, gfx 53 ash/display/root_window_transformers.cc const gfx::Display& display) { gfx 64 ash/display/root_window_transformers.cc return gfx::Transform(); gfx 68 ash/display/root_window_transformers.cc gfx::Transform rotate; gfx 73 ash/display/root_window_transformers.cc case gfx::Display::ROTATE_0: gfx 75 ash/display/root_window_transformers.cc case gfx::Display::ROTATE_90: gfx 79 ash/display/root_window_transformers.cc case gfx::Display::ROTATE_270: gfx 83 ash/display/root_window_transformers.cc case gfx::Display::ROTATE_180: gfx 94 ash/display/root_window_transformers.cc gfx::Transform CreateMagnifierTransform(aura::Window* root_window) { gfx 98 ash/display/root_window_transformers.cc gfx::Point magnifier_offset; gfx 103 ash/display/root_window_transformers.cc gfx::Transform transform; gfx 111 ash/display/root_window_transformers.cc gfx::Transform CreateInsetsAndScaleTransform(const gfx::Insets& insets, gfx 114 ash/display/root_window_transformers.cc gfx::Transform transform; gfx 129 ash/display/root_window_transformers.cc const gfx::Display& display) gfx 146 ash/display/root_window_transformers.cc virtual gfx::Transform GetTransform() const OVERRIDE { gfx 149 ash/display/root_window_transformers.cc virtual gfx::Transform GetInverseTransform() const OVERRIDE { gfx 152 ash/display/root_window_transformers.cc virtual gfx::Rect GetRootWindowBounds( gfx 153 ash/display/root_window_transformers.cc const gfx::Size& host_size) const OVERRIDE { gfx 154 ash/display/root_window_transformers.cc gfx::Rect bounds(host_size); gfx 157 ash/display/root_window_transformers.cc gfx::RectF new_bounds(bounds); gfx 169 ash/display/root_window_transformers.cc return gfx::Rect(gfx::ToFlooredSize(new_bounds.size())); gfx 172 ash/display/root_window_transformers.cc virtual gfx::Insets GetHostInsets() const OVERRIDE { gfx 180 ash/display/root_window_transformers.cc gfx::Transform transform_; gfx 185 ash/display/root_window_transformers.cc gfx::Transform invert_transform_; gfx 189 ash/display/root_window_transformers.cc gfx::Transform root_window_bounds_transform_; gfx 195 ash/display/root_window_transformers.cc gfx::Insets host_insets_; gfx 208 ash/display/root_window_transformers.cc root_bounds_ = gfx::Rect(source_display_info.bounds_in_native().size()); gfx 209 ash/display/root_window_transformers.cc gfx::Rect mirror_display_rect = gfx 210 ash/display/root_window_transformers.cc gfx::Rect(mirror_display_info.bounds_in_native().size()); gfx 242 ash/display/root_window_transformers.cc virtual gfx::Transform GetTransform() const OVERRIDE { gfx 245 ash/display/root_window_transformers.cc virtual gfx::Transform GetInverseTransform() const OVERRIDE { gfx 246 ash/display/root_window_transformers.cc gfx::Transform invert; gfx 250 ash/display/root_window_transformers.cc virtual gfx::Rect GetRootWindowBounds( gfx 251 ash/display/root_window_transformers.cc const gfx::Size& host_size) const OVERRIDE { gfx 254 ash/display/root_window_transformers.cc virtual gfx::Insets GetHostInsets() const OVERRIDE { gfx 261 ash/display/root_window_transformers.cc gfx::Transform transform_; gfx 262 ash/display/root_window_transformers.cc gfx::Rect root_bounds_; gfx 263 ash/display/root_window_transformers.cc gfx::Insets insets_; gfx 272 ash/display/root_window_transformers.cc const gfx::Display& display) { gfx 15 ash/display/root_window_transformers.h namespace gfx { gfx 25 ash/display/root_window_transformers.h const gfx::Display& display); gfx 96 ash/display/root_window_transformers_unittest.cc gfx::Point mouse_location_; gfx 109 ash/display/root_window_transformers_unittest.cc gfx::Display::Rotation GetStoredRotation(int64 id) { gfx 143 ash/display/root_window_transformers_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); gfx 160 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetStoredRotation(display1.id())); gfx 161 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetStoredRotation(display2_id)); gfx 165 ash/display/root_window_transformers_unittest.cc gfx::Display::ROTATE_90); gfx 179 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetStoredRotation(display1.id())); gfx 180 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetStoredRotation(display2_id)); gfx 189 ash/display/root_window_transformers_unittest.cc gfx::Display::ROTATE_270); gfx 202 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetStoredRotation(display1.id())); gfx 203 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, GetStoredRotation(display2_id)); gfx 207 ash/display/root_window_transformers_unittest.cc gfx::Display::ROTATE_180); gfx 219 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_180, GetStoredRotation(display1.id())); gfx 220 ash/display/root_window_transformers_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, GetStoredRotation(display2_id)); gfx 235 ash/display/root_window_transformers_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); gfx 236 ash/display/root_window_transformers_unittest.cc gfx::Display::SetInternalDisplayId(display1.id()); gfx 237 ash/display/root_window_transformers_unittest.cc gfx::Display display2 = ScreenUtil::GetSecondaryDisplay(); gfx 276 ash/display/root_window_transformers_unittest.cc gfx::Display display = Shell::GetScreen()->GetPrimaryDisplay(); gfx 293 ash/display/root_window_transformers_unittest.cc generator.ScrollSequence(gfx::Point(0,0), gfx 316 ash/display/root_window_transformers_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetPrimaryDisplay(); gfx 30 ash/display/screen_ash.cc gfx::Display FindDisplayNearestPoint(const std::vector<gfx::Display>& displays, gfx 31 ash/display/screen_ash.cc const gfx::Point& point) { gfx 33 ash/display/screen_ash.cc const gfx::Display* nearest_display = NULL; gfx 34 ash/display/screen_ash.cc for (std::vector<gfx::Display>::const_iterator iter = displays.begin(); gfx 36 ash/display/screen_ash.cc const gfx::Display& display = *iter; gfx 48 ash/display/screen_ash.cc const gfx::Display* FindDisplayMatching( gfx 49 ash/display/screen_ash.cc const std::vector<gfx::Display>& displays, gfx 50 ash/display/screen_ash.cc const gfx::Rect& match_rect) { gfx 52 ash/display/screen_ash.cc const gfx::Display* matching = NULL; gfx 53 ash/display/screen_ash.cc for (std::vector<gfx::Display>::const_iterator iter = displays.begin(); gfx 55 ash/display/screen_ash.cc const gfx::Display& display = *iter; gfx 56 ash/display/screen_ash.cc gfx::Rect intersect = gfx::IntersectRects(display.bounds(), match_rect); gfx 66 ash/display/screen_ash.cc class ScreenForShutdown : public gfx::Screen { gfx 77 ash/display/screen_ash.cc virtual gfx::Point GetCursorScreenPoint() OVERRIDE { gfx 78 ash/display/screen_ash.cc return gfx::Point(); gfx 80 ash/display/screen_ash.cc virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE { gfx 83 ash/display/screen_ash.cc virtual gfx::NativeWindow GetWindowAtScreenPoint( gfx 84 ash/display/screen_ash.cc const gfx::Point& point) OVERRIDE { gfx 90 ash/display/screen_ash.cc virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE { gfx 93 ash/display/screen_ash.cc virtual gfx::Display GetDisplayNearestWindow(gfx::NativeView view) gfx 97 ash/display/screen_ash.cc virtual gfx::Display GetDisplayNearestPoint( gfx 98 ash/display/screen_ash.cc const gfx::Point& point) const OVERRIDE { gfx 101 ash/display/screen_ash.cc virtual gfx::Display GetDisplayMatching(const gfx::Rect& match_rect) gfx 103 ash/display/screen_ash.cc const gfx::Display* matching = gfx 108 ash/display/screen_ash.cc virtual gfx::Display GetPrimaryDisplay() const OVERRIDE { gfx 111 ash/display/screen_ash.cc virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE { gfx 114 ash/display/screen_ash.cc virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE { gfx 118 ash/display/screen_ash.cc const std::vector<gfx::Display> display_list_; gfx 119 ash/display/screen_ash.cc const gfx::Display primary_display_; gfx 133 ash/display/screen_ash.cc gfx::Display ScreenAsh::FindDisplayContainingPoint(const gfx::Point& point) { gfx 138 ash/display/screen_ash.cc gfx::Rect ScreenAsh::GetMaximizedWindowBoundsInParent(aura::Window* window) { gfx 146 ash/display/screen_ash.cc gfx::Rect ScreenAsh::GetDisplayBoundsInParent(aura::Window* window) { gfx 153 ash/display/screen_ash.cc gfx::Rect ScreenAsh::GetDisplayWorkAreaBoundsInParent(aura::Window* window) { gfx 160 ash/display/screen_ash.cc gfx::Rect ScreenAsh::ConvertRectToScreen(aura::Window* window, gfx 161 ash/display/screen_ash.cc const gfx::Rect& rect) { gfx 162 ash/display/screen_ash.cc gfx::Point point = rect.origin(); gfx 165 ash/display/screen_ash.cc return gfx::Rect(point, rect.size()); gfx 169 ash/display/screen_ash.cc gfx::Rect ScreenAsh::ConvertRectFromScreen(aura::Window* window, gfx 170 ash/display/screen_ash.cc const gfx::Rect& rect) { gfx 171 ash/display/screen_ash.cc gfx::Point point = rect.origin(); gfx 174 ash/display/screen_ash.cc return gfx::Rect(point, rect.size()); gfx 178 ash/display/screen_ash.cc const gfx::Display& ScreenAsh::GetSecondaryDisplay() { gfx 187 ash/display/screen_ash.cc const gfx::Display& ScreenAsh::GetDisplayForId(int64 display_id) { gfx 191 ash/display/screen_ash.cc void ScreenAsh::NotifyBoundsChanged(const gfx::Display& display) { gfx 192 ash/display/screen_ash.cc FOR_EACH_OBSERVER(gfx::DisplayObserver, observers_, gfx 196 ash/display/screen_ash.cc void ScreenAsh::NotifyDisplayAdded(const gfx::Display& display) { gfx 197 ash/display/screen_ash.cc FOR_EACH_OBSERVER(gfx::DisplayObserver, observers_, OnDisplayAdded(display)); gfx 200 ash/display/screen_ash.cc void ScreenAsh::NotifyDisplayRemoved(const gfx::Display& display) { gfx 202 ash/display/screen_ash.cc gfx::DisplayObserver, observers_, OnDisplayRemoved(display)); gfx 209 ash/display/screen_ash.cc gfx::Point ScreenAsh::GetCursorScreenPoint() { gfx 213 ash/display/screen_ash.cc gfx::NativeWindow ScreenAsh::GetWindowUnderCursor() { gfx 217 ash/display/screen_ash.cc gfx::NativeWindow ScreenAsh::GetWindowAtScreenPoint(const gfx::Point& point) { gfx 225 ash/display/screen_ash.cc std::vector<gfx::Display> ScreenAsh::GetAllDisplays() const { gfx 229 ash/display/screen_ash.cc gfx::Display ScreenAsh::GetDisplayNearestWindow(gfx::NativeView window) const { gfx 237 ash/display/screen_ash.cc return gfx::Display(1); gfx 240 ash/display/screen_ash.cc DCHECK(id != gfx::Display::kInvalidDisplayID); gfx 250 ash/display/screen_ash.cc gfx::Display ScreenAsh::GetDisplayNearestPoint(const gfx::Point& point) const { gfx 251 ash/display/screen_ash.cc const gfx::Display& display = gfx 261 ash/display/screen_ash.cc gfx::Display ScreenAsh::GetDisplayMatching(const gfx::Rect& match_rect) const { gfx 264 ash/display/screen_ash.cc const gfx::Display* matching = gfx 270 ash/display/screen_ash.cc gfx::Display ScreenAsh::GetPrimaryDisplay() const { gfx 275 ash/display/screen_ash.cc void ScreenAsh::AddObserver(gfx::DisplayObserver* observer) { gfx 279 ash/display/screen_ash.cc void ScreenAsh::RemoveObserver(gfx::DisplayObserver* observer) { gfx 283 ash/display/screen_ash.cc gfx::Screen* ScreenAsh::CloneForShutdown() { gfx 13 ash/display/screen_ash.h namespace gfx { gfx 24 ash/display/screen_ash.h class ASH_EXPORT ScreenAsh : public gfx::Screen { gfx 32 ash/display/screen_ash.h static gfx::Display FindDisplayContainingPoint(const gfx::Point& point); gfx 36 ash/display/screen_ash.h static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window); gfx 39 ash/display/screen_ash.h static gfx::Rect GetDisplayBoundsInParent(aura::Window* window); gfx 42 ash/display/screen_ash.h static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window); gfx 46 ash/display/screen_ash.h static gfx::Rect ConvertRectToScreen(aura::Window* window, gfx 47 ash/display/screen_ash.h const gfx::Rect& rect); gfx 51 ash/display/screen_ash.h static gfx::Rect ConvertRectFromScreen(aura::Window* window, gfx 52 ash/display/screen_ash.h const gfx::Rect& rect); gfx 56 ash/display/screen_ash.h static const gfx::Display& GetSecondaryDisplay(); gfx 60 ash/display/screen_ash.h static const gfx::Display& GetDisplayForId(int64 display_id); gfx 64 ash/display/screen_ash.h virtual gfx::Point GetCursorScreenPoint() OVERRIDE; gfx 65 ash/display/screen_ash.h virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; gfx 66 ash/display/screen_ash.h virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 69 ash/display/screen_ash.h virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE; gfx 70 ash/display/screen_ash.h virtual gfx::Display GetDisplayNearestWindow( gfx 71 ash/display/screen_ash.h gfx::NativeView view) const OVERRIDE; gfx 72 ash/display/screen_ash.h virtual gfx::Display GetDisplayNearestPoint( gfx 73 ash/display/screen_ash.h const gfx::Point& point) const OVERRIDE; gfx 74 ash/display/screen_ash.h virtual gfx::Display GetDisplayMatching( gfx 75 ash/display/screen_ash.h const gfx::Rect& match_rect) const OVERRIDE; gfx 76 ash/display/screen_ash.h virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; gfx 77 ash/display/screen_ash.h virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 78 ash/display/screen_ash.h virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 84 ash/display/screen_ash.h void NotifyBoundsChanged(const gfx::Display& display); gfx 85 ash/display/screen_ash.h void NotifyDisplayAdded(const gfx::Display& display); gfx 86 ash/display/screen_ash.h void NotifyDisplayRemoved(const gfx::Display& display); gfx 90 ash/display/screen_ash.h gfx::Screen* CloneForShutdown(); gfx 92 ash/display/screen_ash.h ObserverList<gfx::DisplayObserver> observers_; gfx 37 ash/display/screen_position_controller.cc void MoveAllTransientChildrenToNewRoot(const gfx::Display& display, gfx 49 ash/display/screen_position_controller.cc gfx::Rect parent_bounds_in_screen = transient_child->GetBoundsInScreen(); gfx 68 ash/display/screen_position_controller.cc std::pair<aura::Window*, gfx::Point> GetRootWindowRelativeToWindow( gfx 70 ash/display/screen_position_controller.cc const gfx::Point& location) { gfx 72 ash/display/screen_position_controller.cc gfx::Point location_in_root(location); gfx 93 ash/display/screen_position_controller.cc gfx::Point location_in_native(location_in_root); gfx 99 ash/display/screen_position_controller.cc const gfx::Rect native_bounds = host->GetBounds(); gfx 119 ash/display/screen_position_controller.cc gfx::Point* point) { gfx 122 ash/display/screen_position_controller.cc const gfx::Point display_origin = Shell::GetScreen()->GetDisplayNearestWindow( gfx 129 ash/display/screen_position_controller.cc gfx::Point* point) { gfx 131 ash/display/screen_position_controller.cc const gfx::Point display_origin = Shell::GetScreen()->GetDisplayNearestWindow( gfx 139 ash/display/screen_position_controller.cc gfx::Point* point) { gfx 142 ash/display/screen_position_controller.cc std::pair<aura::Window*, gfx::Point> pair = gfx 149 ash/display/screen_position_controller.cc const gfx::Rect& bounds, gfx 150 ash/display/screen_position_controller.cc const gfx::Display& display) { gfx 194 ash/display/screen_position_controller.cc gfx::Point origin = bounds.origin(); gfx 195 ash/display/screen_position_controller.cc const gfx::Point display_origin = display.bounds().origin(); gfx 197 ash/display/screen_position_controller.cc gfx::Rect new_bounds = gfx::Rect(origin, bounds.size()); gfx 221 ash/display/screen_position_controller.cc gfx::Point origin(bounds.origin()); gfx 222 ash/display/screen_position_controller.cc const gfx::Point display_origin = Shell::GetScreen()->GetDisplayNearestWindow( gfx 225 ash/display/screen_position_controller.cc window->SetBounds(gfx::Rect(origin, bounds.size())); gfx 20 ash/display/screen_position_controller.h gfx::Point* point) OVERRIDE; gfx 22 ash/display/screen_position_controller.h gfx::Point* point) OVERRIDE; gfx 24 ash/display/screen_position_controller.h gfx::Point* point) OVERRIDE; gfx 26 ash/display/screen_position_controller.h const gfx::Rect& bounds, gfx 27 ash/display/screen_position_controller.h const gfx::Display& display) OVERRIDE; gfx 71 ash/display/screen_position_controller_unittest.cc gfx::Point point(x, y); gfx 101 ash/display/screen_position_controller_unittest.cc const gfx::Point window_pos(100, 100); gfx 103 ash/display/screen_position_controller_unittest.cc gfx::Rect(window_pos, gfx::Size(100, 100)), gfx 139 ash/display/screen_position_controller_unittest.cc const gfx::Point window_pos2(300, 100); gfx 141 ash/display/screen_position_controller_unittest.cc gfx::Rect(window_pos2, gfx::Size(100, 100)), gfx 194 ash/display/screen_position_controller_unittest.cc window_->SetBoundsInScreen(gfx::Rect(20, 20, 50, 50), gfx 220 ash/display/screen_position_controller_unittest.cc window_->SetBoundsInScreen(gfx::Rect(20, 20, 50, 50), gfx 232 ash/display/screen_position_controller_unittest.cc window_->SetBoundsInScreen(gfx::Rect(300, 20, 50, 50), gfx 252 ash/display/screen_position_controller_unittest.cc window_->SetBoundsInScreen(gfx::Rect(20, 20, 50, 50), gfx 264 ash/display/screen_position_controller_unittest.cc window_->SetBoundsInScreen(gfx::Rect(300, 20, 50, 50), gfx 38 ash/display/shared_display_edge_indicator.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 39 ash/display/shared_display_edge_indicator.cc canvas->FillRect(gfx::Rect(bounds().size()), color_); gfx 47 ash/display/shared_display_edge_indicator.cc views::Widget* CreateWidget(const gfx::Rect& bounds, gfx 62 ash/display/shared_display_edge_indicator.cc gfx::Display display = Shell::GetScreen()->GetDisplayMatching(bounds); gfx 82 ash/display/shared_display_edge_indicator.cc void SharedDisplayEdgeIndicator::Show(const gfx::Rect& src_bounds, gfx 83 ash/display/shared_display_edge_indicator.cc const gfx::Rect& dst_bounds) { gfx 90 ash/display/shared_display_edge_indicator.cc animation_.reset(new gfx::ThrobAnimation(this)); gfx 105 ash/display/shared_display_edge_indicator.cc const gfx::Animation* animation) { gfx 14 ash/display/shared_display_edge_indicator.h namespace gfx { gfx 28 ash/display/shared_display_edge_indicator.h class ASH_EXPORT SharedDisplayEdgeIndicator : public gfx::AnimationDelegate { gfx 36 ash/display/shared_display_edge_indicator.h void Show(const gfx::Rect& src_bounds, const gfx::Rect& dst_bounds); gfx 40 ash/display/shared_display_edge_indicator.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 50 ash/display/shared_display_edge_indicator.h scoped_ptr<gfx::ThrobAnimation> animation_; gfx 45 ash/display/virtual_keyboard_window_controller.cc const gfx::Rect& bounds_in_native = display_info.bounds_in_native(); gfx 88 ash/display/virtual_keyboard_window_controller.cc display_manager->non_desktop_display().id(), gfx::Display::ROTATE_180); gfx 49 ash/drag_drop/drag_drop_controller.cc gfx::Rect AdjustDragImageBoundsForScaleAndOffset( gfx 50 ash/drag_drop/drag_drop_controller.cc const gfx::Rect& drag_image_bounds, gfx 53 ash/drag_drop/drag_drop_controller.cc gfx::Vector2d* drag_image_offset) { gfx 54 ash/drag_drop/drag_drop_controller.cc gfx::PointF final_origin = drag_image_bounds.origin(); gfx 55 ash/drag_drop/drag_drop_controller.cc gfx::SizeF final_size = drag_image_bounds.size(); gfx 62 ash/drag_drop/drag_drop_controller.cc return gfx::ToEnclosingRect(gfx::RectF(final_origin, final_size)); gfx 87 ash/drag_drop/drag_drop_controller.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 88 ash/drag_drop/drag_drop_controller.cc return gfx::Size(); gfx 91 ash/drag_drop/drag_drop_controller.cc virtual gfx::Size GetMaximumSize() const OVERRIDE { gfx 92 ash/drag_drop/drag_drop_controller.cc return gfx::Size(); gfx 95 ash/drag_drop/drag_drop_controller.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 96 ash/drag_drop/drag_drop_controller.cc const gfx::Rect& new_bounds) OVERRIDE {} gfx 97 ash/drag_drop/drag_drop_controller.cc virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { gfx 98 ash/drag_drop/drag_drop_controller.cc return gfx::kNullCursor; gfx 100 ash/drag_drop/drag_drop_controller.cc virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { gfx 105 ash/drag_drop/drag_drop_controller.cc const gfx::Point& location) OVERRIDE { gfx 113 ash/drag_drop/drag_drop_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 122 ash/drag_drop/drag_drop_controller.cc virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE { gfx 160 ash/drag_drop/drag_drop_controller.cc const gfx::Point& root_location, gfx 202 ash/drag_drop/drag_drop_controller.cc gfx::Point start_location = root_location; gfx 204 ash/drag_drop/drag_drop_controller.cc drag_image_final_bounds_for_cancel_animation_ = gfx::Rect( gfx 210 ash/drag_drop/drag_drop_controller.cc gfx::Rect drag_image_bounds(start_location, drag_image_->GetPreferredSize()); gfx 216 ash/drag_drop/drag_drop_controller.cc drag_image_->SetTouchDragOperationHintPosition(gfx::Point( gfx 278 ash/drag_drop/drag_drop_controller.cc gfx::NativeCursor cursor = ui::kCursorNoDrop; gfx 291 ash/drag_drop/drag_drop_controller.cc gfx::Point root_location_in_screen = event.root_location(); gfx 417 ash/drag_drop/drag_drop_controller.cc gfx::Point touch_offset_location = touch_offset_event.location(); gfx 418 ash/drag_drop/drag_drop_controller.cc gfx::Point touch_offset_root_location = touch_offset_event.root_location(); gfx 470 ash/drag_drop/drag_drop_controller.cc gfx::LinearAnimation* DragDropController::CreateCancelAnimation( gfx 473 ash/drag_drop/drag_drop_controller.cc gfx::AnimationDelegate* delegate) { gfx 474 ash/drag_drop/drag_drop_controller.cc return new gfx::LinearAnimation(duration, frame_rate, delegate); gfx 480 ash/drag_drop/drag_drop_controller.cc void DragDropController::AnimationEnded(const gfx::Animation* animation) { gfx 519 ash/drag_drop/drag_drop_controller.cc void DragDropController::AnimationProgressed(const gfx::Animation* animation) { gfx 520 ash/drag_drop/drag_drop_controller.cc gfx::Rect current_bounds = animation->CurrentValueBetween( gfx 526 ash/drag_drop/drag_drop_controller.cc void DragDropController::AnimationCanceled(const gfx::Animation* animation) { gfx 19 ash/drag_drop/drag_drop_controller.h namespace gfx { gfx 35 ash/drag_drop/drag_drop_controller.h public gfx::AnimationDelegate, gfx 50 ash/drag_drop/drag_drop_controller.h const gfx::Point& root_location, gfx 73 ash/drag_drop/drag_drop_controller.h virtual gfx::LinearAnimation* CreateCancelAnimation( gfx 76 ash/drag_drop/drag_drop_controller.h gfx::AnimationDelegate* delegate); gfx 85 ash/drag_drop/drag_drop_controller.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 86 ash/drag_drop/drag_drop_controller.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 87 ash/drag_drop/drag_drop_controller.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 99 ash/drag_drop/drag_drop_controller.h gfx::Vector2d drag_image_offset_; gfx 107 ash/drag_drop/drag_drop_controller.h gfx::Rect drag_image_initial_bounds_for_cancel_animation_; gfx 108 ash/drag_drop/drag_drop_controller.h gfx::Rect drag_image_final_bounds_for_cancel_animation_; gfx 110 ash/drag_drop/drag_drop_controller.h scoped_ptr<gfx::LinearAnimation> cancel_animation_; gfx 74 ash/drag_drop/drag_drop_controller_unittest.cc virtual int GetDragOperations(const gfx::Point& press_pt) OVERRIDE { gfx 78 ash/drag_drop/drag_drop_controller_unittest.cc virtual void WriteDragData(const gfx::Point& p, gfx 81 ash/drag_drop/drag_drop_controller_unittest.cc gfx::ImageSkiaRep image_rep(gfx::Size(10, 20), 1.0f); gfx 82 ash/drag_drop/drag_drop_controller_unittest.cc gfx::ImageSkia image_skia(image_rep); gfx 85 ash/drag_drop/drag_drop_controller_unittest.cc image_skia, image_skia.size(), gfx::Vector2d(), data); gfx 134 ash/drag_drop/drag_drop_controller_unittest.cc class CompletableLinearAnimation : public gfx::LinearAnimation { gfx 138 ash/drag_drop/drag_drop_controller_unittest.cc gfx::AnimationDelegate* delegate) gfx 139 ash/drag_drop/drag_drop_controller_unittest.cc : gfx::LinearAnimation(duration, frame_rate, delegate), gfx 167 ash/drag_drop/drag_drop_controller_unittest.cc const gfx::Point& location, gfx 193 ash/drag_drop/drag_drop_controller_unittest.cc virtual gfx::LinearAnimation* CreateCancelAnimation( gfx 196 ash/drag_drop/drag_drop_controller_unittest.cc gfx::AnimationDelegate* delegate) OVERRIDE { gfx 270 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Rect contents_view_bounds = contents_view->bounds(); gfx 276 ash/drag_drop/drag_drop_controller_unittest.cc void DispatchGesture(ui::EventType gesture_type, gfx::Point location) { gfx 517 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Rect widget1_bounds = widget1->GetClientAreaBoundsInScreen(); gfx 518 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Rect widget2_bounds = widget2->GetClientAreaBoundsInScreen(); gfx 519 ash/drag_drop/drag_drop_controller_unittest.cc widget2->SetBounds(gfx::Rect(widget1_bounds.width(), 0, gfx 579 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point point = gfx::Rect(drag_view->bounds()).CenterPoint(); gfx 736 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point mouse_move_location = drag_view->bounds().CenterPoint(); gfx 839 ash/drag_drop/drag_drop_controller_unittest.cc capture_window->GetEventHandlerForPoint(gfx::Point())); gfx 841 ash/drag_drop/drag_drop_controller_unittest.cc capture_window->GetTopWindowContainingPoint(gfx::Point())); gfx 871 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Rect widget1_bounds = widget1->GetClientAreaBoundsInScreen(); gfx 872 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Rect widget2_bounds = widget2->GetClientAreaBoundsInScreen(); gfx 873 ash/drag_drop/drag_drop_controller_unittest.cc widget2->SetBounds(gfx::Rect(widget1_bounds.width(), 0, gfx 882 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point point = gfx::Rect(drag_view1->bounds()).CenterPoint(); gfx 889 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point gesture_location = point; gfx 933 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point point = gfx::Rect(drag_view->bounds()).CenterPoint(); gfx 959 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point point = gfx::Rect(drag_view->bounds()).CenterPoint(); gfx 980 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point window_location_on_destroying() const { gfx 985 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point window_location_on_destroying_; gfx 1013 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(5, 5), gfx 1023 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(200, 0), gfx 1024 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(200, 0), gfx 1031 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(600, 0), gfx 1032 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(600, 0), gfx 1051 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(405, 405), gfx 1060 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(600, 0), gfx 1061 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(600, 0), gfx 1068 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(200, 0), gfx 1069 ash/drag_drop/drag_drop_controller_unittest.cc gfx::Point(200, 0), gfx 31 ash/drag_drop/drag_drop_interactive_uitest.cc virtual int GetDragOperations(const gfx::Point& press_pt) OVERRIDE { gfx 34 ash/drag_drop/drag_drop_interactive_uitest.cc virtual void WriteDragData(const gfx::Point& press_pt, gfx 78 ash/drag_drop/drag_drop_interactive_uitest.cc const gfx::Rect& bounds) { gfx 130 ash/drag_drop/drag_drop_interactive_uitest.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 164 ash/drag_drop/drag_drop_interactive_uitest.cc CreateWidget(draggable_view, gfx::Rect(0, 0, 100, 100)); gfx 169 ash/drag_drop/drag_drop_interactive_uitest.cc CreateWidget(target_view, gfx::Rect(400, 0, 100, 100)); gfx 46 ash/drag_drop/drag_drop_tracker.cc aura::client::ParentWindowWithContext(window, context_root, gfx::Rect()); gfx 70 ash/drag_drop/drag_drop_tracker.cc gfx::Point location_in_screen = event.location(); gfx 75 ash/drag_drop/drag_drop_tracker.cc gfx::Point location_in_root = location_in_screen; gfx 84 ash/drag_drop/drag_drop_tracker.cc gfx::Point target_location = event.location(); gfx 87 ash/drag_drop/drag_drop_tracker.cc gfx::Point location_in_screen = event.location(); gfx 89 ash/drag_drop/drag_drop_tracker.cc gfx::Point target_root_location = event.root_location(); gfx 25 ash/drag_drop/drag_drop_tracker_unittest.cc aura::Window* CreateTestWindow(const gfx::Rect& bounds) { gfx 33 ash/drag_drop/drag_drop_tracker_unittest.cc static aura::Window* GetTarget(const gfx::Point& location) { gfx 67 ash/drag_drop/drag_drop_tracker_unittest.cc CreateTestWindow(gfx::Rect(0, 0, 100, 100))); gfx 71 ash/drag_drop/drag_drop_tracker_unittest.cc CreateTestWindow(gfx::Rect(300, 100, 100, 100))); gfx 83 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_EQ(window0.get(), GetTarget(gfx::Point(50, 50))); gfx 87 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window0.get(), GetTarget(gfx::Point(150, 150))); gfx 88 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window1.get(), GetTarget(gfx::Point(150, 150))); gfx 92 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_EQ(window1.get(), GetTarget(gfx::Point(350, 150))); gfx 96 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window0.get(), GetTarget(gfx::Point(50, 250))); gfx 97 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window1.get(), GetTarget(gfx::Point(50, 250))); gfx 104 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_EQ(window0.get(), GetTarget(gfx::Point(-150, 50))); gfx 108 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window0.get(), GetTarget(gfx::Point(150, -50))); gfx 109 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window1.get(), GetTarget(gfx::Point(150, -50))); gfx 113 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_EQ(window1.get(), GetTarget(gfx::Point(150, 150))); gfx 117 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window0.get(), GetTarget(gfx::Point(50, 50))); gfx 118 ash/drag_drop/drag_drop_tracker_unittest.cc EXPECT_NE(window1.get(), GetTarget(gfx::Point(50, 50))); gfx 134 ash/drag_drop/drag_drop_tracker_unittest.cc CreateTestWindow(gfx::Rect(0, 0, 100, 100))); gfx 138 ash/drag_drop/drag_drop_tracker_unittest.cc CreateTestWindow(gfx::Rect(300, 100, 100, 100))); gfx 147 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(50, 50), gfx 148 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(50, 50), gfx 161 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(350, 150), gfx 162 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(350, 150), gfx 178 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(-150, 50), gfx 179 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(-150, 50), gfx 192 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(150, 150), gfx 193 ash/drag_drop/drag_drop_tracker_unittest.cc gfx::Point(150, 150), gfx 21 ash/drag_drop/drag_image_view.cc Widget* CreateDragWidget(gfx::NativeView context) { gfx 39 ash/drag_drop/drag_image_view.cc DragImageView::DragImageView(gfx::NativeView context, gfx 56 ash/drag_drop/drag_image_view.cc void DragImageView::SetBoundsInScreen(const gfx::Rect& bounds) { gfx 61 ash/drag_drop/drag_image_view.cc void DragImageView::SetScreenPosition(const gfx::Point& position) { gfx 62 ash/drag_drop/drag_image_view.cc widget_->SetBounds(gfx::Rect(position, widget_size_)); gfx 65 ash/drag_drop/drag_image_view.cc gfx::Rect DragImageView::GetBoundsInScreen() const { gfx 92 ash/drag_drop/drag_image_view.cc const gfx::Point& position) { gfx 105 ash/drag_drop/drag_image_view.cc void DragImageView::OnPaint(gfx::Canvas* canvas) { gfx 120 ash/drag_drop/drag_image_view.cc gfx::Size scaled_widget_size = gfx::ToRoundedSize( gfx 121 ash/drag_drop/drag_image_view.cc gfx::ScaleSize(widget_size_, device_scale)); gfx 122 ash/drag_drop/drag_image_view.cc gfx::ImageSkiaRep image_rep = GetImage().GetRepresentation(device_scale); gfx 128 ash/drag_drop/drag_image_view.cc gfx::ImageSkia image_skia(gfx::ImageSkiaRep(scaled, device_scale)); gfx 136 ash/drag_drop/drag_image_view.cc gfx::Image* drag_hint = gfx 150 ash/drag_drop/drag_image_view.cc gfx::Size drag_hint_size = drag_hint->Size(); gfx 155 ash/drag_drop/drag_image_view.cc gfx::Size new_widget_size = widget_size_; gfx 161 ash/drag_drop/drag_image_view.cc gfx::Point drag_hint_position = touch_drag_operation_indicator_position_; gfx 163 ash/drag_drop/drag_image_view.cc gfx::Rect drag_hint_bounds(drag_hint_position, drag_hint_size); gfx 164 ash/drag_drop/drag_image_view.cc drag_hint_bounds.AdjustToFit(gfx::Rect(widget_size_)); gfx 28 ash/drag_drop/drag_image_view.h DragImageView(gfx::NativeView context, gfx 36 ash/drag_drop/drag_image_view.h void SetBoundsInScreen(const gfx::Rect& bounds); gfx 39 ash/drag_drop/drag_image_view.h void SetScreenPosition(const gfx::Point& position); gfx 42 ash/drag_drop/drag_image_view.h gfx::Rect GetBoundsInScreen() const; gfx 55 ash/drag_drop/drag_image_view.h void SetTouchDragOperationHintPosition(const gfx::Point& position); gfx 62 ash/drag_drop/drag_image_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 65 ash/drag_drop/drag_image_view.h gfx::Size widget_size_; gfx 69 ash/drag_drop/drag_image_view.h gfx::Point touch_drag_operation_indicator_position_; gfx 114 ash/extended_desktop_unittest.cc gfx::Point root_location_; gfx 115 ash/extended_desktop_unittest.cc gfx::Point location_; gfx 124 ash/extended_desktop_unittest.cc views::Widget* CreateTestWidget(const gfx::Rect& bounds) { gfx 130 ash/extended_desktop_unittest.cc const gfx::Rect& bounds, gfx 137 ash/extended_desktop_unittest.cc gfx::NativeView context, gfx 138 ash/extended_desktop_unittest.cc const gfx::Rect& bounds, gfx 184 ash/extended_desktop_unittest.cc views::Widget* widget_on_1st = CreateTestWidget(gfx::Rect(10, 10, 100, 100)); gfx 186 ash/extended_desktop_unittest.cc CreateTestWidget(gfx::Rect(1200, 10, 100, 100)); gfx 218 ash/extended_desktop_unittest.cc views::Widget* widget_on_1st = CreateTestWidget(gfx::Rect(10, 10, 100, 100)); gfx 227 ash/extended_desktop_unittest.cc gfx::Rect(1200, 100, 100, 100)); gfx 273 ash/extended_desktop_unittest.cc root_windows[0]->MoveCursorTo(gfx::Point(10, 10)); gfx 277 ash/extended_desktop_unittest.cc root_windows[1]->MoveCursorTo(gfx::Point(10, 20)); gfx 281 ash/extended_desktop_unittest.cc root_windows[0]->MoveCursorTo(gfx::Point(20, 10)); gfx 295 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[1], wm::GetRootWindowAt(gfx::Point(-400, 100))); gfx 296 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[1], wm::GetRootWindowAt(gfx::Point(-1, 100))); gfx 297 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[0], wm::GetRootWindowAt(gfx::Point(0, 300))); gfx 298 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[0], wm::GetRootWindowAt(gfx::Point(700,300))); gfx 301 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[0], wm::GetRootWindowAt(gfx::Point(0, 0))); gfx 304 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[1], wm::GetRootWindowAt(gfx::Point(-600, 0))); gfx 305 ash/extended_desktop_unittest.cc EXPECT_EQ(root_windows[0], wm::GetRootWindowAt(gfx::Point(701, 100))); gfx 319 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(-300, 10, 50, 50))); gfx 321 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(100, 10, 50, 50))); gfx 325 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(-200, 0, 300, 300))); gfx 327 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(-100, 0, 300, 300))); gfx 331 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(0, 0, 0, 0))); gfx 333 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(0, 0, 1, 1))); gfx 337 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(-400, 100, 0, 0))); gfx 339 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(100, 100, 0, 0))); gfx 343 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(-600, -300, 50, 50))); gfx 345 ash/extended_desktop_unittest.cc wm::GetRootWindowMatching(gfx::Rect(0, 1000, 50, 50))); gfx 360 ash/extended_desktop_unittest.cc &r1_d1, 0, gfx::Rect(10, 10, 100, 100), root_windows[0])); gfx 362 ash/extended_desktop_unittest.cc &r1_d2, 0, gfx::Rect(10, 100, 100, 100), root_windows[0])); gfx 364 ash/extended_desktop_unittest.cc &r2_d1, 0, gfx::Rect(10, 10, 100, 100), root_windows[1])); gfx 424 ash/extended_desktop_unittest.cc views::Widget* d1 = CreateTestWidget(gfx::Rect(10, 10, 100, 100)); gfx 428 ash/extended_desktop_unittest.cc d1->SetBounds(gfx::Rect(1010, 10, 100, 100)); gfx 434 ash/extended_desktop_unittest.cc d1->SetBounds(gfx::Rect(10, 10, 100, 100)); gfx 442 ash/extended_desktop_unittest.cc d1->SetBounds(gfx::Rect(1560, 30, 100, 100)); gfx 449 ash/extended_desktop_unittest.cc d1->SetBounds(gfx::Rect(200, 10, 100, 100)); gfx 464 ash/extended_desktop_unittest.cc &delegate, 0, gfx::Rect(10, 10, 100, 100), root_windows[0])); gfx 485 ash/extended_desktop_unittest.cc gfx::Display display0 = Shell::GetScreen()->GetDisplayMatching( gfx 487 ash/extended_desktop_unittest.cc gfx::Display display1 = Shell::GetScreen()->GetDisplayMatching( gfx 491 ash/extended_desktop_unittest.cc views::Widget* d1 = CreateTestWidget(gfx::Rect(10, 10, 1000, 100)); gfx 496 ash/extended_desktop_unittest.cc d1->GetNativeWindow()->SetBoundsInScreen(gfx::Rect(500, 10, 1000, 100), gfx 503 ash/extended_desktop_unittest.cc d1->GetNativeWindow()->SetBoundsInScreen(gfx::Rect(500, 10, 1000, 100), gfx 516 ash/extended_desktop_unittest.cc views::Widget* w1 = CreateTestWidget(gfx::Rect(10, 10, 100, 100)); gfx 518 ash/extended_desktop_unittest.cc w1, gfx::Rect(50, 50, 50, 50), false /* transient */); gfx 521 ash/extended_desktop_unittest.cc w1_t1, gfx::Rect(1200, 70, 30, 30), false /* transient */); gfx 524 ash/extended_desktop_unittest.cc w1, gfx::Rect(10, 10, 40, 40), true /* child */); gfx 526 ash/extended_desktop_unittest.cc w1, gfx::Rect(1300, 100, 80, 80), false /* transient */); gfx 542 ash/extended_desktop_unittest.cc w1->SetBounds(gfx::Rect(1100,10,100,100)); gfx 562 ash/extended_desktop_unittest.cc w1_t1->SetBounds(gfx::Rect(10, 50, 50, 50)); gfx 573 ash/extended_desktop_unittest.cc gfx::Screen* screen = Shell::GetScreen(); gfx 576 ash/extended_desktop_unittest.cc gfx::Display display_1 = screen->GetDisplayNearestWindow(root_windows[0]); gfx 578 ash/extended_desktop_unittest.cc gfx::Display display_2 = screen->GetDisplayNearestWindow(root_windows[1]); gfx 582 ash/extended_desktop_unittest.cc CreateTestWidget(gfx::Rect(10, 10, 100, 100))->GetNativeView(); gfx 584 ash/extended_desktop_unittest.cc CreateTestWidget(gfx::Rect(1020, 20, 100, 100))->GetNativeView(); gfx 589 ash/extended_desktop_unittest.cc gfx::Point p(0, 0); gfx 667 ash/extended_desktop_unittest.cc views::Widget* w1 = CreateTestWidget(gfx::Rect(10, 10, 50, 50)); gfx 669 ash/extended_desktop_unittest.cc w1->SetBounds(gfx::Rect(150, 10, 50, 50)); gfx 675 ash/extended_desktop_unittest.cc w1->SetBounds(gfx::Rect(10, 10, 50, 50)); gfx 680 ash/extended_desktop_unittest.cc w1->SetBounds(gfx::Rect(10, 10, 50, 50)); gfx 690 ash/extended_desktop_unittest.cc window->SetBoundsInScreen(gfx::Rect(150, 10, 50, 50), gfx 698 ash/extended_desktop_unittest.cc window->SetBoundsInScreen(gfx::Rect(150, 10, 50, 50), gfx 784 ash/extended_desktop_unittest.cc views::Widget* widget = CreateTestWidget(gfx::Rect(50, 50, 200, 200)); gfx 12 ash/first_run/first_run_helper.h namespace gfx { gfx 49 ash/first_run/first_run_helper.h virtual gfx::Rect GetLauncherBounds() = 0; gfx 52 ash/first_run/first_run_helper.h virtual gfx::Rect GetAppListButtonBounds() = 0; gfx 56 ash/first_run/first_run_helper.h virtual gfx::Rect GetAppListBounds() = 0; gfx 67 ash/first_run/first_run_helper.h virtual gfx::Rect GetTrayBubbleBounds() = 0; gfx 71 ash/first_run/first_run_helper.h virtual gfx::Rect GetHelpButtonBounds() = 0; gfx 65 ash/first_run/first_run_helper_impl.cc gfx::Rect FirstRunHelperImpl::GetLauncherBounds() { gfx 70 ash/first_run/first_run_helper_impl.cc gfx::Rect FirstRunHelperImpl::GetAppListButtonBounds() { gfx 76 ash/first_run/first_run_helper_impl.cc gfx::Rect FirstRunHelperImpl::GetAppListBounds() { gfx 109 ash/first_run/first_run_helper_impl.cc gfx::Rect FirstRunHelperImpl::GetTrayBubbleBounds() { gfx 115 ash/first_run/first_run_helper_impl.cc gfx::Rect FirstRunHelperImpl::GetHelpButtonBounds() { gfx 27 ash/first_run/first_run_helper_impl.h virtual gfx::Rect GetLauncherBounds() OVERRIDE; gfx 28 ash/first_run/first_run_helper_impl.h virtual gfx::Rect GetAppListButtonBounds() OVERRIDE; gfx 29 ash/first_run/first_run_helper_impl.h virtual gfx::Rect GetAppListBounds() OVERRIDE; gfx 33 ash/first_run/first_run_helper_impl.h virtual gfx::Rect GetTrayBubbleBounds() OVERRIDE; gfx 34 ash/first_run/first_run_helper_impl.h virtual gfx::Rect GetHelpButtonBounds() OVERRIDE; gfx 34 ash/frame/caption_buttons/alternate_frame_size_button.cc const gfx::Point& location_in_screen) { gfx 35 ash/frame/caption_buttons/alternate_frame_size_button.cc gfx::Rect expanded_bounds_in_screen = button->GetBoundsInScreen(); gfx 180 ash/frame/caption_buttons/alternate_frame_size_button.cc gfx::Vector2d delta( gfx 189 ash/frame/caption_buttons/alternate_frame_size_button.cc gfx::Point event_location_in_screen(event.location()); gfx 228 ash/frame/caption_buttons/alternate_frame_size_button.cc gfx::Rect phantom_bounds_in_parent = (snap_type_ == SNAP_LEFT) ? gfx 239 ash/frame/caption_buttons/alternate_frame_size_button.cc const gfx::Point& event_location_in_screen) const { gfx 70 ash/frame/caption_buttons/alternate_frame_size_button.h const gfx::Point& event_location_in_screen) const; gfx 90 ash/frame/caption_buttons/alternate_frame_size_button.h gfx::Point set_buttons_to_snap_mode_timer_event_location_; gfx 11 ash/frame/caption_buttons/alternate_frame_size_button_delegate.h namespace gfx { gfx 44 ash/frame/caption_buttons/alternate_frame_size_button_delegate.h const gfx::Point& position_in_screen) const = 0; gfx 56 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc gfx::Size preferred_size = caption_button_container_->GetPreferredSize(); gfx 96 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc gfx::Point CenterPointInScreen(views::View* view) { gfx 120 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc params.bounds = gfx::Rect(10, 10, 100, 100); gfx 348 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc const gfx::Rect& kWorkAreaBoundsInScreen = gfx 399 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc const gfx::Rect& kWorkAreaBoundsInScreen = gfx 83 ash/frame/caption_buttons/bubble_contents_button_row.cc gfx::Point screen_location(event.location()); gfx 37 ash/frame/caption_buttons/frame_caption_button.cc swap_images_animation_(new gfx::SlideAnimation(this)) { gfx 97 ash/frame/caption_buttons/frame_caption_button.cc gfx::Size FrameCaptionButton::GetPreferredSize() { gfx 99 ash/frame/caption_buttons/frame_caption_button.cc gfx::Size() : hovered_background_image_.size(); gfx 106 ash/frame/caption_buttons/frame_caption_button.cc void FrameCaptionButton::OnPaint(gfx::Canvas* canvas) { gfx 122 ash/frame/caption_buttons/frame_caption_button.cc gfx::ImageSkia icon_image = GetIconImageToPaint(); gfx 124 ash/frame/caption_buttons/frame_caption_button.cc gfx::Canvas icon_canvas(icon_image.size(), canvas->image_scale(), false); gfx 133 ash/frame/caption_buttons/frame_caption_button.cc PaintCentered(canvas, gfx::ImageSkia(icon_canvas.ExtractImageRep()), 255); gfx 162 ash/frame/caption_buttons/frame_caption_button.cc const gfx::ImageSkia& FrameCaptionButton::GetIconImageToPaint() const { gfx 166 ash/frame/caption_buttons/frame_caption_button.cc void FrameCaptionButton::PaintCentered(gfx::Canvas* canvas, gfx 167 ash/frame/caption_buttons/frame_caption_button.cc const gfx::ImageSkia& to_center, gfx 14 ash/frame/caption_buttons/frame_caption_button.h namespace gfx { gfx 50 ash/frame/caption_buttons/frame_caption_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 52 ash/frame/caption_buttons/frame_caption_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 68 ash/frame/caption_buttons/frame_caption_button.h const gfx::ImageSkia& GetIconImageToPaint() const; gfx 71 ash/frame/caption_buttons/frame_caption_button.h void PaintCentered(gfx::Canvas* canvas, gfx 72 ash/frame/caption_buttons/frame_caption_button.h const gfx::ImageSkia& to_center, gfx 86 ash/frame/caption_buttons/frame_caption_button.h gfx::ImageSkia icon_image_; gfx 87 ash/frame/caption_buttons/frame_caption_button.h gfx::ImageSkia inactive_icon_image_; gfx 88 ash/frame/caption_buttons/frame_caption_button.h gfx::ImageSkia hovered_background_image_; gfx 89 ash/frame/caption_buttons/frame_caption_button.h gfx::ImageSkia pressed_background_image_; gfx 92 ash/frame/caption_buttons/frame_caption_button.h gfx::ImageSkia crossfade_icon_image_; gfx 96 ash/frame/caption_buttons/frame_caption_button.h scoped_ptr<gfx::SlideAnimation> swap_images_animation_; gfx 32 ash/frame/caption_buttons/frame_caption_button_container_view.cc const gfx::Point& point) { gfx 33 ash/frame/caption_buttons/frame_caption_button_container_view.cc gfx::Point converted(point); gfx 124 ash/frame/caption_buttons/frame_caption_button_container_view.cc const gfx::Point& point) const { gfx 150 ash/frame/caption_buttons/frame_caption_button_container_view.cc gfx::Size FrameCaptionButtonContainerView::GetPreferredSize() { gfx 157 ash/frame/caption_buttons/frame_caption_button_container_view.cc return gfx::Size(width, close_button_->GetPreferredSize().height()); gfx 167 ash/frame/caption_buttons/frame_caption_button_container_view.cc gfx::Size size = child->GetPreferredSize(); gfx 261 ash/frame/caption_buttons/frame_caption_button_container_view.cc const gfx::Point& position_in_screen) const { gfx 265 ash/frame/caption_buttons/frame_caption_button_container_view.cc gfx::Point position(position_in_screen); gfx 278 ash/frame/caption_buttons/frame_caption_button_container_view.cc gfx::Point center_point = button->GetLocalBounds().CenterPoint(); gfx 92 ash/frame/caption_buttons/frame_caption_button_container_view.h int NonClientHitTest(const gfx::Point& point) const; gfx 100 ash/frame/caption_buttons/frame_caption_button_container_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 140 ash/frame/caption_buttons/frame_caption_button_container_view.h const gfx::Point& position_in_screen) const OVERRIDE; gfx 83 ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc gfx::Rect expected(container->GetPreferredSize()); gfx 85 ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc gfx::Rect container_size(container->GetPreferredSize()); gfx 115 ash/frame/caption_buttons/frame_maximize_button.cc press_location_ = gfx::Point(width() / 2, height() / 2); gfx 117 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Point location = press_location_; gfx 167 ash/frame/caption_buttons/frame_maximize_button.cc const gfx::Rect& old_bounds, gfx 168 ash/frame/caption_buttons/frame_maximize_button.cc const gfx::Rect& new_bounds) { gfx 231 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Point screen_location = Shell::GetScreen()->GetCursorScreenPoint(); gfx 402 ash/frame/caption_buttons/frame_maximize_button.cc void FrameMaximizeButton::UpdateSnap(const gfx::Point& location) { gfx 427 ash/frame/caption_buttons/frame_maximize_button.cc const gfx::Point& location) const { gfx 429 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Vector2d delta(location - press_location_); gfx 441 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Rect FrameMaximizeButton::ScreenBoundsForType(SnapType type) const { gfx 457 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Rect rect = GetMinimizeAnimationTargetBoundsInScreen(window); gfx 474 ash/frame/caption_buttons/frame_maximize_button.cc return gfx::Rect(); gfx 526 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Rect bounds = frame_->GetWindowBoundsInScreen(); gfx 527 ash/frame/caption_buttons/frame_maximize_button.cc gfx::Rect screen = Shell::GetScreen()->GetDisplayNearestWindow( gfx 58 ash/frame/caption_buttons/frame_maximize_button.h const gfx::Rect& old_bounds, gfx 59 ash/frame/caption_buttons/frame_maximize_button.h const gfx::Rect& new_bounds) OVERRIDE; gfx 121 ash/frame/caption_buttons/frame_maximize_button.h void UpdateSnap(const gfx::Point& location); gfx 124 ash/frame/caption_buttons/frame_maximize_button.h SnapType SnapTypeForLocation(const gfx::Point& location) const; gfx 127 ash/frame/caption_buttons/frame_maximize_button.h gfx::Rect ScreenBoundsForType(SnapType type) const; gfx 153 ash/frame/caption_buttons/frame_maximize_button.h gfx::Point press_location_; gfx 40 ash/frame/caption_buttons/frame_maximize_button_unittest.cc const gfx::Vector2dF& pos) { gfx 87 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Size preferred_size = caption_button_container_->GetPreferredSize(); gfx 133 ash/frame/caption_buttons/frame_maximize_button_unittest.cc params.bounds = gfx::Rect(10, 10, 100, 100); gfx 184 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point center = view->GetBoundsInScreen().CenterPoint(); gfx 225 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point center = view->GetBoundsInScreen().CenterPoint(); gfx 279 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point end = center; gfx 296 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point end = center; gfx 312 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point end = center; gfx 333 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 334 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 356 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 357 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 379 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 380 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 392 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point left_max_pos = maximize_button->maximizer()-> gfx 425 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 426 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 438 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point left_max_pos = maximize_button->maximizer()-> gfx 460 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 461 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 483 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 516 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 517 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 575 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 576 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 589 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point left_max_pos = maximize_button->maximizer()-> gfx 602 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect initial_bounds = widget()->GetWindowBoundsInScreen(); gfx 612 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect new_bounds = widget()->GetWindowBoundsInScreen(); gfx 631 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect initial_bounds = widget()->GetWindowBoundsInScreen(); gfx 643 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect new_bounds = widget()->GetWindowBoundsInScreen(); gfx 663 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect initial_bounds = widget()->GetWindowBoundsInScreen(); gfx 678 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect new_bounds = widget()->GetWindowBoundsInScreen(); gfx 693 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 694 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 722 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 723 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x(), button_pos.y() + 100); gfx 736 ash/frame/caption_buttons/frame_maximize_button_unittest.cc off_pos = gfx::Point(button_pos.x(), button_pos.y() + 200); gfx 746 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect initial_bounds = widget()->GetWindowBoundsInScreen(); gfx 750 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 751 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() - button_pos.x() / 2, button_pos.y()); gfx 779 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 785 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point button_pos = maximize_button->GetBoundsInScreen().CenterPoint(); gfx 786 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point off_pos(button_pos.x() + 100, button_pos.y() + 100); gfx 793 ash/frame/caption_buttons/frame_maximize_button_unittest.cc gfx::Point left_max_pos = maximize_button->maximizer()-> gfx 801 ash/frame/caption_buttons/frame_maximize_button_unittest.cc NULL, widget()->GetNativeWindow(), gfx::Rect(100, 100)); gfx 144 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc void GetMask(gfx::Path* mask); gfx 147 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc virtual gfx::Rect GetBounds(const gfx::Rect& position_relative_to, gfx 148 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc const gfx::Size& contents_size) const OVERRIDE; gfx 149 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; gfx 150 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 156 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Size anchor_size_; gfx 157 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Point anchor_screen_origin_; gfx 175 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc void MaximizeBubbleBorder::GetMask(gfx::Path* mask) { gfx 176 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Insets inset = GetInsets(); gfx 192 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Rect MaximizeBubbleBorder::GetBounds( gfx 193 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc const gfx::Rect& position_relative_to, gfx 194 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc const gfx::Size& contents_size) const { gfx 195 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Size border_size(contents_size); gfx 196 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Insets insets = GetInsets(); gfx 204 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Point view_origin(x + anchor_screen_origin_.x(), gfx 207 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc return gfx::Rect(view_origin, border_size); gfx 210 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc void MaximizeBubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) { gfx 211 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Insets inset = GetInsets(); gfx 216 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left(), gfx 222 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left(), gfx 228 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left() - kLineWidth, gfx 234 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc canvas->FillRect(gfx::Rect(inset.left() + content_view_->width(), gfx 259 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Size MaximizeBubbleBorder::GetMinimumSize() const { gfx 260 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc return gfx::Size(kLineWidth * 2 + kArrowWidth, gfx 282 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Path* mask) const OVERRIDE { gfx 306 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc virtual bool Contains(const gfx::Point& screen_point, gfx 323 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc const gfx::Point& screen_point, gfx 347 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc set_margins(gfx::Insets()); gfx 407 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Rect MaximizeBubbleControllerBubble::GetAnchorRect() { gfx 409 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc return gfx::Rect(); gfx 411 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Rect anchor_rect = gfx 425 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Path* mask) const { gfx 437 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Point screen_location = Shell::GetScreen()->GetCursorScreenPoint(); gfx 446 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc const gfx::Point& screen_point, gfx 466 ash/frame/caption_buttons/maximize_bubble_controller_bubble.cc gfx::Size MaximizeBubbleControllerBubble::GetPreferredSize() { gfx 42 ash/frame/caption_buttons/maximize_bubble_controller_bubble.h virtual gfx::Rect GetAnchorRect() OVERRIDE; gfx 47 ash/frame/caption_buttons/maximize_bubble_controller_bubble.h virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 53 ash/frame/caption_buttons/maximize_bubble_controller_bubble.h virtual bool Contains(const gfx::Point& screen_point, gfx 57 ash/frame/caption_buttons/maximize_bubble_controller_bubble.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 160 ash/frame/custom_frame_view_ash.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 180 ash/frame/custom_frame_view_ash.cc virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const OVERRIDE; gfx 283 ash/frame/custom_frame_view_ash.cc gfx::ImageSkia image = GetAvatarImageForContext( gfx 305 ash/frame/custom_frame_view_ash.cc void CustomFrameViewAsh::HeaderView::OnPaint(gfx::Canvas* canvas) { gfx 359 ash/frame/custom_frame_view_ash.cc std::vector<gfx::Rect> gfx 362 ash/frame/custom_frame_view_ash.cc gfx::Rect visible_bounds(GetVisibleBounds()); gfx 363 ash/frame/custom_frame_view_ash.cc gfx::Point visible_origin_in_screen(visible_bounds.origin()); gfx 365 ash/frame/custom_frame_view_ash.cc std::vector<gfx::Rect> bounds_in_screen; gfx 367 ash/frame/custom_frame_view_ash.cc gfx::Rect(visible_origin_in_screen, visible_bounds.size())); gfx 398 ash/frame/custom_frame_view_ash.cc virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 432 ash/frame/custom_frame_view_ash.cc bool CustomFrameViewAsh::OverlayView::HitTestRect(const gfx::Rect& rect) const { gfx 474 ash/frame/custom_frame_view_ash.cc gfx::Rect CustomFrameViewAsh::GetBoundsForClientView() const { gfx 475 ash/frame/custom_frame_view_ash.cc gfx::Rect client_bounds = bounds(); gfx 480 ash/frame/custom_frame_view_ash.cc gfx::Rect CustomFrameViewAsh::GetWindowBoundsForClientBounds( gfx 481 ash/frame/custom_frame_view_ash.cc const gfx::Rect& client_bounds) const { gfx 482 ash/frame/custom_frame_view_ash.cc gfx::Rect window_bounds = client_bounds; gfx 487 ash/frame/custom_frame_view_ash.cc int CustomFrameViewAsh::NonClientHitTest(const gfx::Point& point) { gfx 492 ash/frame/custom_frame_view_ash.cc void CustomFrameViewAsh::GetWindowMask(const gfx::Size& size, gfx 493 ash/frame/custom_frame_view_ash.cc gfx::Path* window_mask) { gfx 511 ash/frame/custom_frame_view_ash.cc gfx::Size CustomFrameViewAsh::GetPreferredSize() { gfx 512 ash/frame/custom_frame_view_ash.cc gfx::Size pref = frame_->client_view()->GetPreferredSize(); gfx 513 ash/frame/custom_frame_view_ash.cc gfx::Rect bounds(0, 0, pref.width(), pref.height()); gfx 522 ash/frame/custom_frame_view_ash.cc gfx::Size CustomFrameViewAsh::GetMinimumSize() { gfx 523 ash/frame/custom_frame_view_ash.cc gfx::Size min_client_view_size(frame_->client_view()->GetMinimumSize()); gfx 524 ash/frame/custom_frame_view_ash.cc return gfx::Size( gfx 529 ash/frame/custom_frame_view_ash.cc gfx::Size CustomFrameViewAsh::GetMaximumSize() { gfx 530 ash/frame/custom_frame_view_ash.cc gfx::Size max_client_size(frame_->client_view()->GetMaximumSize()); gfx 539 ash/frame/custom_frame_view_ash.cc return gfx::Size(width, height); gfx 542 ash/frame/custom_frame_view_ash.cc void CustomFrameViewAsh::SchedulePaintInRect(const gfx::Rect& r) { gfx 547 ash/frame/custom_frame_view_ash.cc gfx::RectF to_paint(r); gfx 549 ash/frame/custom_frame_view_ash.cc header_view_->SchedulePaintInRect(gfx::ToEnclosingRect(to_paint)); gfx 555 ash/frame/custom_frame_view_ash.cc bool CustomFrameViewAsh::HitTestRect(const gfx::Rect& rect) const { gfx 45 ash/frame/custom_frame_view_ash.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 46 ash/frame/custom_frame_view_ash.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 47 ash/frame/custom_frame_view_ash.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 48 ash/frame/custom_frame_view_ash.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 49 ash/frame/custom_frame_view_ash.h virtual void GetWindowMask(const gfx::Size& size, gfx 50 ash/frame/custom_frame_view_ash.h gfx::Path* window_mask) OVERRIDE; gfx 56 ash/frame/custom_frame_view_ash.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 58 ash/frame/custom_frame_view_ash.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 59 ash/frame/custom_frame_view_ash.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 60 ash/frame/custom_frame_view_ash.h virtual void SchedulePaintInRect(const gfx::Rect& r) OVERRIDE; gfx 61 ash/frame/custom_frame_view_ash.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 51 ash/frame/custom_frame_view_ash_unittest.cc virtual gfx::Size GetMinimumSize() OVERRIDE { gfx 55 ash/frame/custom_frame_view_ash_unittest.cc virtual gfx::Size GetMaximumSize() OVERRIDE { gfx 70 ash/frame/custom_frame_view_ash_unittest.cc void set_minimum_size(const gfx::Size& min_size) { gfx 74 ash/frame/custom_frame_view_ash_unittest.cc void set_maximum_size(const gfx::Size& max_size) { gfx 78 ash/frame/custom_frame_view_ash_unittest.cc const gfx::Rect& GetFrameCaptionButtonContainerViewBounds() { gfx 88 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size minimum_size_; gfx 89 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size maximum_size_; gfx 105 ash/frame/custom_frame_view_ash_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 129 ash/frame/custom_frame_view_ash_unittest.cc gfx::ImageSkia* close_button = gfx 145 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size min_frame_size = custom_frame_view->GetMinimumSize(); gfx 146 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size max_frame_size = custom_frame_view->GetMaximumSize(); gfx 158 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size min_client_size(500, 500); gfx 159 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size max_client_size(800, 800); gfx 166 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size min_frame_size = custom_frame_view->GetMinimumSize(); gfx 167 ash/frame/custom_frame_view_ash_unittest.cc gfx::Size max_frame_size = custom_frame_view->GetMaximumSize(); gfx 187 ash/frame/custom_frame_view_ash_unittest.cc const gfx::ImageSkia user_image = gfx 197 ash/frame/custom_frame_view_ash_unittest.cc GetTestSessionStateDelegate()->SetUserImage(gfx::ImageSkia()); gfx 210 ash/frame/custom_frame_view_ash_unittest.cc const gfx::Rect initial = delegate-> gfx 213 ash/frame/custom_frame_view_ash_unittest.cc const gfx::Rect maximize_mode_bounds = delegate-> gfx 217 ash/frame/custom_frame_view_ash_unittest.cc const gfx::Rect after_restore = delegate-> gfx 42 ash/frame/default_header_painter.cc void TileRoundRect(gfx::Canvas* canvas, gfx 43 ash/frame/default_header_painter.cc const gfx::ImageSkia& image, gfx 45 ash/frame/default_header_painter.cc const gfx::Rect& bounds, gfx 47 ash/frame/default_header_painter.cc SkRect rect = gfx::RectToSkRect(bounds); gfx 60 ash/frame/default_header_painter.cc const gfx::FontList& GetTitleFontList() { gfx 61 ash/frame/default_header_painter.cc static const gfx::FontList* title_font_list = gfx 62 ash/frame/default_header_painter.cc new gfx::FontList(views::NativeWidgetAura::GetWindowTitleFontList()); gfx 83 ash/frame/default_header_painter.cc activation_animation_(new gfx::SlideAnimation(this)) { gfx 146 ash/frame/default_header_painter.cc void DefaultHeaderPainter::PaintHeader(gfx::Canvas* canvas, Mode mode) { gfx 178 ash/frame/default_header_painter.cc gfx::ImageSkia inactive_frame = *GetInactiveFrameImage(); gfx 185 ash/frame/default_header_painter.cc gfx::ImageSkia active_frame = *GetActiveFrameImage(); gfx 205 ash/frame/default_header_painter.cc gfx::Size caption_button_container_size = gfx 249 ash/frame/default_header_painter.cc const gfx::Animation* animation) { gfx 257 ash/frame/default_header_painter.cc gfx::Canvas* canvas) { gfx 259 ash/frame/default_header_painter.cc gfx::ImageSkia top_edge = *rb.GetImageSkiaNamed( gfx 261 ash/frame/default_header_painter.cc gfx::ImageSkia left_edge = *rb.GetImageSkiaNamed( gfx 263 ash/frame/default_header_painter.cc gfx::ImageSkia right_edge = *rb.GetImageSkiaNamed( gfx 265 ash/frame/default_header_painter.cc gfx::ImageSkia bottom_edge = *rb.GetImageSkiaNamed( gfx 290 ash/frame/default_header_painter.cc void DefaultHeaderPainter::PaintTitleBar(gfx::Canvas* canvas) { gfx 292 ash/frame/default_header_painter.cc gfx::Rect title_bounds = GetTitleBounds(); gfx 298 ash/frame/default_header_painter.cc gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 301 ash/frame/default_header_painter.cc void DefaultHeaderPainter::PaintHeaderContentSeparator(gfx::Canvas* canvas) { gfx 316 ash/frame/default_header_painter.cc gfx::Rect DefaultHeaderPainter::GetLocalBounds() const { gfx 317 ash/frame/default_header_painter.cc return gfx::Rect(view_->width(), height_); gfx 320 ash/frame/default_header_painter.cc gfx::Rect DefaultHeaderPainter::GetTitleBounds() const { gfx 325 ash/frame/default_header_painter.cc gfx::ImageSkia* DefaultHeaderPainter::GetActiveFrameImage() const { gfx 330 ash/frame/default_header_painter.cc gfx::ImageSkia* DefaultHeaderPainter::GetInactiveFrameImage() const { gfx 16 ash/frame/default_header_painter.h namespace gfx { gfx 31 ash/frame/default_header_painter.h public gfx::AnimationDelegate { gfx 44 ash/frame/default_header_painter.h virtual void PaintHeader(gfx::Canvas* canvas, Mode mode) OVERRIDE; gfx 57 ash/frame/default_header_painter.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 61 ash/frame/default_header_painter.h void PaintHighlightForInactiveRestoredWindow(gfx::Canvas* canvas); gfx 64 ash/frame/default_header_painter.h void PaintTitleBar(gfx::Canvas* canvas); gfx 67 ash/frame/default_header_painter.h void PaintHeaderContentSeparator(gfx::Canvas* canvas); gfx 72 ash/frame/default_header_painter.h gfx::Rect GetLocalBounds() const; gfx 75 ash/frame/default_header_painter.h gfx::Rect GetTitleBounds() const; gfx 78 ash/frame/default_header_painter.h gfx::ImageSkia* GetActiveFrameImage() const; gfx 81 ash/frame/default_header_painter.h gfx::ImageSkia* GetInactiveFrameImage() const; gfx 98 ash/frame/default_header_painter.h scoped_ptr<gfx::SlideAnimation> activation_animation_; gfx 43 ash/frame/default_header_painter_unittest.cc w->SetBounds(gfx::Rect(0, 0, 500, 500)); gfx 52 ash/frame/default_header_painter_unittest.cc gfx::Rect title_bounds = painter.GetTitleBounds(); gfx 35 ash/frame/frame_border_hit_test_controller.cc const gfx::Point& point_in_widget) { gfx 36 ash/frame/frame_border_hit_test_controller.cc gfx::Rect expanded_bounds = view->bounds(); gfx 70 ash/frame/frame_border_hit_test_controller.cc gfx::Point point_in_caption_button_container(point_in_widget); gfx 16 ash/frame/frame_border_hit_test_controller.h namespace gfx { gfx 39 ash/frame/frame_border_hit_test_controller.h const gfx::Point& point_in_widget); gfx 16 ash/frame/frame_util.cc gfx::Image GetAvatarImageForContext(content::BrowserContext* context) { gfx 17 ash/frame/frame_util.cc static const gfx::ImageSkia* holder = gfx 20 ash/frame/frame_util.cc static const gfx::ImageSkia* holder_mask = gfx 23 ash/frame/frame_util.cc gfx::ImageSkia user_image = gfx 25 ash/frame/frame_util.cc gfx::ImageSkia resized = gfx::ImageSkiaOperations::CreateResizedImage( gfx 27 ash/frame/frame_util.cc gfx::ImageSkia masked = gfx 28 ash/frame/frame_util.cc gfx::ImageSkiaOperations::CreateMaskedImage(resized, *holder_mask); gfx 29 ash/frame/frame_util.cc gfx::ImageSkia result = gfx 30 ash/frame/frame_util.cc gfx::ImageSkiaOperations::CreateSuperimposedImage(*holder, masked); gfx 31 ash/frame/frame_util.cc return gfx::Image(result); gfx 14 ash/frame/frame_util.h namespace gfx { gfx 22 ash/frame/frame_util.h ASH_EXPORT gfx::Image GetAvatarImageForContext( gfx 10 ash/frame/header_painter.h namespace gfx { gfx 31 ash/frame/header_painter.h virtual void PaintHeader(gfx::Canvas* canvas, Mode mode) = 0; gfx 70 ash/frame/header_painter_util.cc gfx::Rect HeaderPainterUtil::GetTitleBounds( gfx 73 ash/frame/header_painter_util.cc const gfx::FontList& title_font_list) { gfx 82 ash/frame/header_painter_util.cc return gfx::Rect(x, y, width, height); gfx 11 ash/frame/header_painter_util.h namespace gfx { gfx 43 ash/frame/header_painter_util.h static gfx::Rect GetTitleBounds(const views::View* icon, gfx 45 ash/frame/header_painter_util.h const gfx::FontList& title_font_list); gfx 17 ash/host/window_tree_host_factory.cc const gfx::Rect& initial_bounds) OVERRIDE { gfx 25 ash/host/window_tree_host_factory.h const gfx::Rect& initial_bounds) = 0; gfx 21 ash/host/window_tree_host_factory_win.cc const gfx::Rect& initial_bounds) OVERRIDE { gfx 33 ash/ime/candidate_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 34 ash/ime/candidate_view.cc gfx::Size size = Label::GetPreferredSize(); gfx 35 ash/ime/candidate_view.cc size.SetToMax(gfx::Size(kMinCandidateLabelWidth, 0)); gfx 36 ash/ime/candidate_view.cc size.SetToMin(gfx::Size(kMaxCandidateLabelWidth, size.height())); gfx 55 ash/ime/candidate_view.cc shortcut_label->font_list().Derive(kFontSizeDelta, gfx::Font::BOLD)); gfx 68 ash/ime/candidate_view.cc const gfx::Insets kVerticalShortcutLabelInsets(1, 6, 1, 6); gfx 69 ash/ime/candidate_view.cc const gfx::Insets kHorizontalShortcutLabelInsets(1, 3, 1, 0); gfx 70 ash/ime/candidate_view.cc const gfx::Insets insets = gfx 110 ash/ime/candidate_view.cc candidate_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 128 ash/ime/candidate_view.cc annotation_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 218 ash/ime/candidate_view.cc gfx::Point location_in_widget(event.location()); gfx 224 ash/ime/candidate_view.cc gfx::Point location_in_sibling(location_in_widget); gfx 260 ash/ime/candidate_view.cc gfx::Size CandidateView::GetPreferredSize() { gfx 263 ash/ime/candidate_view.cc gfx::Size size; gfx 266 ash/ime/candidate_view.cc size.SetToMax(gfx::Size(shortcut_width_, 0)); gfx 269 ash/ime/candidate_view.cc gfx::Size candidate_size = candidate_label_->GetPreferredSize(); gfx 270 ash/ime/candidate_view.cc candidate_size.SetToMax(gfx::Size(candidate_width_, 0)); gfx 274 ash/ime/candidate_view.cc gfx::Size annotation_size = annotation_label_->GetPreferredSize(); gfx 46 ash/ime/candidate_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 30 ash/ime/candidate_window_view.cc explicit CandidateWindowBorder(gfx::NativeView parent) gfx 44 ash/ime/candidate_window_view.cc virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect, gfx 45 ash/ime/candidate_window_view.cc const gfx::Size& content_size) const OVERRIDE { gfx 46 ash/ime/candidate_window_view.cc gfx::Rect bounds(content_size); gfx 47 ash/ime/candidate_window_view.cc bounds.set_origin(gfx::Point( gfx 55 ash/ime/candidate_window_view.cc gfx::Rect work_area = gfx::Screen::GetNativeScreen()-> gfx 65 ash/ime/candidate_window_view.cc virtual gfx::Insets GetInsets() const OVERRIDE { gfx 66 ash/ime/candidate_window_view.cc return gfx::Insets(); gfx 69 ash/ime/candidate_window_view.cc gfx::NativeView parent_; gfx 96 ash/ime/candidate_window_view.cc InformationTextArea(gfx::HorizontalAlignment align, int min_width) gfx 112 ash/ime/candidate_window_view.cc void SetAlignment(gfx::HorizontalAlignment alignment) { gfx 133 ash/ime/candidate_window_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 134 ash/ime/candidate_window_view.cc gfx::Size size = views::View::GetPreferredSize(); gfx 135 ash/ime/candidate_window_view.cc size.SetToMax(gfx::Size(min_width_, 0)); gfx 146 ash/ime/candidate_window_view.cc CandidateWindowView::CandidateWindowView(gfx::NativeView parent) gfx 152 ash/ime/candidate_window_view.cc set_margins(gfx::Insets()); gfx 163 ash/ime/candidate_window_view.cc auxiliary_text_ = new InformationTextArea(gfx::ALIGN_RIGHT, 0); gfx 164 ash/ime/candidate_window_view.cc preedit_ = new InformationTextArea(gfx::ALIGN_LEFT, kMinPreeditAreaWidth); gfx 181 ash/ime/candidate_window_view.cc auxiliary_text_->SetAlignment(gfx::ALIGN_LEFT); gfx 247 ash/ime/candidate_window_view.cc auxiliary_text_->SetAlignment(gfx::ALIGN_RIGHT); gfx 253 ash/ime/candidate_window_view.cc auxiliary_text_->SetAlignment(gfx::ALIGN_LEFT); gfx 342 ash/ime/candidate_window_view.cc void CandidateWindowView::SetCursorBounds(const gfx::Rect& cursor_bounds, gfx 343 ash/ime/candidate_window_view.cc const gfx::Rect& composition_head) { gfx 31 ash/ime/candidate_window_view.h explicit CandidateWindowView(gfx::NativeView parent); gfx 70 ash/ime/candidate_window_view.h void SetCursorBounds(const gfx::Rect& cursor_bounds, gfx 71 ash/ime/candidate_window_view.h const gfx::Rect& composition_head); gfx 106 ash/ime/candidate_window_view.h gfx::Size previous_shortcut_column_size_; gfx 107 ash/ime/candidate_window_view.h gfx::Size previous_candidate_column_size_; gfx 108 ash/ime/candidate_window_view.h gfx::Size previous_annotation_column_size_; gfx 111 ash/ime/candidate_window_view.h gfx::Rect cursor_bounds_; gfx 114 ash/ime/candidate_window_view.h gfx::Rect composition_head_bounds_; gfx 46 ash/ime/infolist_window.cc virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect, gfx 47 ash/ime/infolist_window.cc const gfx::Size& contents_size) const OVERRIDE; gfx 48 ash/ime/infolist_window.cc virtual gfx::Insets GetInsets() const OVERRIDE; gfx 63 ash/ime/infolist_window.cc gfx::Rect InfolistBorder::GetBounds(const gfx::Rect& anchor_rect, gfx 64 ash/ime/infolist_window.cc const gfx::Size& contents_size) const { gfx 65 ash/ime/infolist_window.cc gfx::Rect bounds(contents_size); gfx 77 ash/ime/infolist_window.cc gfx::Insets InfolistBorder::GetInsets() const { gfx 80 ash/ime/infolist_window.cc return gfx::Insets(); gfx 89 ash/ime/infolist_window.cc const gfx::FontList& title_font_list, gfx 90 ash/ime/infolist_window.cc const gfx::FontList& description_font_list); gfx 97 ash/ime/infolist_window.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 113 ash/ime/infolist_window.cc const gfx::FontList& title_font_list, gfx 114 ash/ime/infolist_window.cc const gfx::FontList& description_font_list) gfx 119 ash/ime/infolist_window.cc title_label_->SetPosition(gfx::Point(0, 0)); gfx 120 ash/ime/infolist_window.cc title_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 124 ash/ime/infolist_window.cc description_label_->SetPosition(gfx::Point(0, 0)); gfx 125 ash/ime/infolist_window.cc description_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 146 ash/ime/infolist_window.cc gfx::Size InfolistEntryView::GetPreferredSize() { gfx 147 ash/ime/infolist_window.cc return gfx::Size(kInfolistEntryWidth, GetHeightForWidth(kInfolistEntryWidth)); gfx 172 ash/ime/infolist_window.cc title_font_list_(gfx::Font(kJapaneseFontName, kFontSizeDelta + 15)), gfx 173 ash/ime/infolist_window.cc description_font_list_(gfx::Font(kJapaneseFontName, gfx 176 ash/ime/infolist_window.cc set_margins(gfx::Insets()); gfx 190 ash/ime/infolist_window.cc caption_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 51 ash/ime/infolist_window.h gfx::FontList title_font_list_; gfx 54 ash/ime/infolist_window.h gfx::FontList description_font_list_; gfx 29 ash/ime/mode_indicator_view.cc explicit ModeIndicatorFrameView(const gfx::Insets& content_margins) gfx 35 ash/ime/mode_indicator_view.cc virtual gfx::Rect GetAvailableScreenBounds(const gfx::Rect& rect) OVERRIDE { gfx 36 ash/ime/mode_indicator_view.cc return gfx::Screen::GetNativeScreen()->GetDisplayNearestPoint( gfx 46 ash/ime/mode_indicator_view.cc ModeIndicatorView::ModeIndicatorView(gfx::NativeView parent, gfx 47 ash/ime/mode_indicator_view.cc const gfx::Rect& cursor_bounds, gfx 71 ash/ime/mode_indicator_view.cc gfx::Size ModeIndicatorView::GetPreferredSize() { gfx 72 ash/ime/mode_indicator_view.cc gfx::Size size = label_view_->GetPreferredSize(); gfx 73 ash/ime/mode_indicator_view.cc size.SetToMax(gfx::Size(kMinSize, kMinSize)); gfx 25 ash/ime/mode_indicator_view.h ModeIndicatorView(gfx::NativeView parent, gfx 26 ash/ime/mode_indicator_view.h const gfx::Rect& cursor_bounds, gfx 34 ash/ime/mode_indicator_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 45 ash/ime/mode_indicator_view.h gfx::Rect cursor_bounds_; gfx 84 ash/keyboard_overlay/keyboard_overlay_delegate.cc gfx::Size size; gfx 86 ash/keyboard_overlay/keyboard_overlay_delegate.cc const gfx::Rect& rect = Shell::GetScreen()->GetDisplayNearestWindow( gfx 88 ash/keyboard_overlay/keyboard_overlay_delegate.cc gfx::Rect bounds(rect.x() + (rect.width() - size.width()) / 2, gfx 116 ash/keyboard_overlay/keyboard_overlay_delegate.cc gfx::Size* size) const { gfx 119 ash/keyboard_overlay/keyboard_overlay_delegate.cc gfx::Rect rect = ash::Shell::GetScreen()->GetDisplayNearestWindow( gfx 32 ash/keyboard_overlay/keyboard_overlay_delegate.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 51 ash/keyboard_overlay/keyboard_overlay_delegate_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetPrimaryDisplay().work_area(); gfx 52 ash/keyboard_overlay/keyboard_overlay_delegate_unittest.cc gfx::Rect bounds = widget->GetRestoredBounds(); gfx 47 ash/magnifier/magnification_controller.cc void MoveCursorTo(aura::WindowTreeHost* host, const gfx::Point& root_location) { gfx 48 ash/magnifier/magnification_controller.cc gfx::Point3F host_location_3f(root_location); gfx 51 ash/magnifier/magnification_controller.cc gfx::ToCeiledPoint(host_location_3f.AsPointF())); gfx 75 ash/magnifier/magnification_controller.cc virtual void MoveWindow(const gfx::Point& point, bool animate) OVERRIDE; gfx 76 ash/magnifier/magnification_controller.cc virtual gfx::Point GetWindowPosition() const OVERRIDE { gfx 77 ash/magnifier/magnification_controller.cc return gfx::ToFlooredPoint(origin_); gfx 82 ash/magnifier/magnification_controller.cc virtual gfx::Point GetPointOfInterestForTesting() OVERRIDE { gfx 93 ash/magnifier/magnification_controller.cc const gfx::Rect& old_bounds, gfx 94 ash/magnifier/magnification_controller.cc const gfx::Rect& new_bounds) OVERRIDE; gfx 100 ash/magnifier/magnification_controller.cc bool Redraw(const gfx::PointF& position, float scale, bool animate); gfx 101 ash/magnifier/magnification_controller.cc bool RedrawDIP(const gfx::PointF& position, float scale, bool animate); gfx 115 ash/magnifier/magnification_controller.cc void OnMouseMove(const gfx::Point& location); gfx 120 ash/magnifier/magnification_controller.cc void AfterAnimationMoveCursorTo(const gfx::Point& location); gfx 133 ash/magnifier/magnification_controller.cc gfx::RectF GetWindowRectDIP(float scale) const; gfx 135 ash/magnifier/magnification_controller.cc gfx::Size GetHostSizeDIP() const; gfx 158 ash/magnifier/magnification_controller.cc gfx::Point position_after_animation_; gfx 162 ash/magnifier/magnification_controller.cc gfx::Point point_of_interest_; gfx 166 ash/magnifier/magnification_controller.cc gfx::PointF origin_; gfx 196 ash/magnifier/magnification_controller.cc gfx::Point mouse_in_root = point_of_interest_; gfx 202 ash/magnifier/magnification_controller.cc const gfx::PointF origin = gfx 203 ash/magnifier/magnification_controller.cc gfx::PointF(mouse_in_root.x() - gfx 212 ash/magnifier/magnification_controller.cc bool MagnificationControllerImpl::Redraw(const gfx::PointF& position, gfx 215 ash/magnifier/magnification_controller.cc const gfx::PointF position_in_dip = gfx 220 ash/magnifier/magnification_controller.cc bool MagnificationControllerImpl::RedrawDIP(const gfx::PointF& position_in_dip, gfx 235 ash/magnifier/magnification_controller.cc const gfx::Size host_size_in_dip = GetHostSizeDIP(); gfx 236 ash/magnifier/magnification_controller.cc const gfx::SizeF window_size_in_dip = GetWindowRectDIP(scale).size(); gfx 256 ash/magnifier/magnification_controller.cc gfx::Transform transform; gfx 267 ash/magnifier/magnification_controller.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 271 ash/magnifier/magnification_controller.cc gfx::Display display = gfx 292 ash/magnifier/magnification_controller.cc gfx::PointF new_origin = origin_; gfx 313 ash/magnifier/magnification_controller.cc void MagnificationControllerImpl::OnMouseMove(const gfx::Point& location) { gfx 316 ash/magnifier/magnification_controller.cc gfx::Point mouse(location); gfx 322 ash/magnifier/magnification_controller.cc const gfx::Rect window_rect = gfx::ToEnclosingRect(GetWindowRectDIP(scale_)); gfx 358 ash/magnifier/magnification_controller.cc bool ret = RedrawDIP(gfx::Point(x, y), scale_, animate); gfx 369 ash/magnifier/magnification_controller.cc const gfx::Point& location) { gfx 385 ash/magnifier/magnification_controller.cc gfx::Size MagnificationControllerImpl::GetHostSizeDIP() const { gfx 389 ash/magnifier/magnification_controller.cc gfx::RectF MagnificationControllerImpl::GetWindowRectDIP(float scale) const { gfx 390 ash/magnifier/magnification_controller.cc const gfx::Size size_in_dip = root_window_->bounds().size(); gfx 394 ash/magnifier/magnification_controller.cc return gfx::RectF(origin_.x(), origin_.y(), width, height); gfx 454 ash/magnifier/magnification_controller.cc const gfx::Rect& old_bounds, gfx 455 ash/magnifier/magnification_controller.cc const gfx::Rect& new_bounds) { gfx 497 ash/magnifier/magnification_controller.cc Redraw(gfx::Point(x, y), scale_, animate); gfx 500 ash/magnifier/magnification_controller.cc void MagnificationControllerImpl::MoveWindow(const gfx::Point& point, gfx 551 ash/magnifier/magnification_controller.cc gfx::Rect root_bounds = current_root->bounds(); gfx 591 ash/magnifier/magnification_controller.cc gfx::Rect root_bounds = current_root->bounds(); gfx 50 ash/magnifier/magnification_controller.h virtual void MoveWindow(const gfx::Point& point, bool animate) = 0; gfx 52 ash/magnifier/magnification_controller.h virtual gfx::Point GetWindowPosition() const = 0; gfx 59 ash/magnifier/magnification_controller.h virtual gfx::Point GetPointOfInterestForTesting() = 0; gfx 36 ash/magnifier/magnification_controller_unittest.cc gfx::Rect root_bounds(root->bounds()); gfx 56 ash/magnifier/magnification_controller_unittest.cc gfx::Point point; gfx 65 ash/magnifier/magnification_controller_unittest.cc gfx::Rect GetViewport() const { gfx 66 ash/magnifier/magnification_controller_unittest.cc gfx::RectF bounds(0, 0, kRootWidth, kRootHeight); gfx 68 ash/magnifier/magnification_controller_unittest.cc return gfx::ToEnclosingRect(bounds); gfx 176 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 0)); gfx 179 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 599)); gfx 182 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(400, 300)); gfx 188 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(500, 400)); gfx 196 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 0)); gfx 206 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 0)); gfx 210 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(300, 150)); gfx 214 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(700, 150)); gfx 218 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(701, 150)); gfx 222 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(702, 150)); gfx 226 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(703, 150)); gfx 230 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(704, 150)); gfx 234 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(712, 150)); gfx 238 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(600, 150)); gfx 242 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(720, 150)); gfx 246 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 251 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 150)); gfx 255 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(702, 150)); gfx 259 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 263 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 267 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 271 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 275 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 279 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 283 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 287 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(780, 150)); gfx 291 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 150)); gfx 300 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 300)); gfx 308 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 300)); gfx 312 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 316 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 320 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 324 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 328 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 332 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 336 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 340 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 344 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 353 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(400, 300)); gfx 367 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(400, 300)); gfx 369 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 300)); gfx 376 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 300)); gfx 383 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 300)); gfx 390 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(799, 300)); gfx 399 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(400, 300)); gfx 413 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(400, 300)); gfx 415 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 422 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 429 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 436 ash/magnifier/magnification_controller_unittest.cc generator.MoveMouseToInHost(gfx::Point(0, 300)); gfx 86 ash/magnifier/partial_magnification_controller.cc gfx::Rect root_bounds = current_root->bounds(); gfx 116 ash/magnifier/partial_magnification_controller.cc const gfx::Point& location_in_root) { gfx 117 ash/magnifier/partial_magnification_controller.cc gfx::Point origin(location_in_root); gfx 122 ash/magnifier/partial_magnification_controller.cc zoom_widget_->SetBounds(gfx::Rect(origin.x(), origin.y(), gfx 141 ash/magnifier/partial_magnification_controller.cc gfx::Point mouse( gfx 152 ash/magnifier/partial_magnification_controller.cc zoom_widget_->SetBounds(gfx::Rect(mouse.x() - kMagnifierWidth / 2, gfx 162 ash/magnifier/partial_magnification_controller.cc gfx::Rect(0, 0, gfx 41 ash/magnifier/partial_magnification_controller.h void OnMouseMove(const gfx::Point& location_in_root); gfx 82 ash/magnifier/partial_magnification_controller.h gfx::Point origin_; gfx 50 ash/popup_message.cc const gfx::Size& size_override, gfx 57 ash/popup_message.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 61 ash/popup_message.cc gfx::Size size_override_; gfx 71 ash/popup_message.cc const gfx::Size& size_override, gfx 75 ash/popup_message.cc gfx::Insets insets = gfx::Insets(kArrowOffsetTopBottom, gfx 90 ash/popup_message.cc set_margins(gfx::Insets(kMessageTopBottomMargin, kMessageLeftRightMargin, gfx 132 ash/popup_message.cc caption_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 143 ash/popup_message.cc message_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 166 ash/popup_message.cc gfx::Size PopupMessage::MessageBubble::GetPreferredSize() { gfx 167 ash/popup_message.cc gfx::Size pref_size = views::BubbleDelegateView::GetPreferredSize(); gfx 188 ash/popup_message.cc const gfx::Size& size_override, gfx 196 ash/popup_message.cc gfx::NativeView native_view = widget_->GetNativeView(); gfx 221 ash/popup_message.cc gfx::NativeView native_view = widget_->GetNativeView(); gfx 55 ash/popup_message.h const gfx::Size& size_override, gfx 107 ash/root_window_controller.cc void MoveOriginRelativeToSize(const gfx::Size& src_size, gfx 108 ash/root_window_controller.cc const gfx::Size& dst_size, gfx 109 ash/root_window_controller.cc gfx::Rect* bounds_in_out) { gfx 110 ash/root_window_controller.cc gfx::Point origin = bounds_in_out->origin(); gfx 111 ash/root_window_controller.cc bounds_in_out->set_origin(gfx::Point( gfx 118 ash/root_window_controller.cc const gfx::Size src_size = window->parent()->bounds().size(); gfx 119 ash/root_window_controller.cc const gfx::Size dst_size = new_parent->bounds().size(); gfx 122 ash/root_window_controller.cc gfx::Rect restore_bounds; gfx 127 ash/root_window_controller.cc gfx::Rect local_bounds; gfx 194 ash/root_window_controller.cc gfx::Insets mouse_extend(-kResizeOutsideBoundsSize, gfx 198 ash/root_window_controller.cc gfx::Insets touch_extend = mouse_extend.Scale( gfx 213 ash/root_window_controller.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 214 ash/root_window_controller.cc return gfx::Size(); gfx 216 ash/root_window_controller.cc virtual gfx::Size GetMaximumSize() const OVERRIDE { gfx 217 ash/root_window_controller.cc return gfx::Size(); gfx 219 ash/root_window_controller.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 220 ash/root_window_controller.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 222 ash/root_window_controller.cc virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { gfx 223 ash/root_window_controller.cc return gfx::kNullCursor; gfx 226 ash/root_window_controller.cc const gfx::Point& point) const OVERRIDE { gfx 231 ash/root_window_controller.cc const gfx::Point& location) OVERRIDE { gfx 239 ash/root_window_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 253 ash/root_window_controller.cc virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} gfx 350 ash/root_window_controller.cc gfx::Display::kInvalidDisplayID; gfx 536 ash/root_window_controller.cc void RootWindowController::ShowContextMenu(const gfx::Point& location_in_screen, gfx 553 ash/root_window_controller.cc NULL, gfx::Rect(location_in_screen, gfx::Size()), gfx 642 ash/root_window_controller.cc keyboard_controller->NotifyKeyboardBoundsChanging(gfx::Rect()); gfx 27 ash/root_window_controller.h namespace gfx { gfx 169 ash/root_window_controller.h void ShowContextMenu(const gfx::Point& location_in_screen, gfx 96 ash/root_window_controller_unittest.cc views::Widget* CreateTestWidget(const gfx::Rect& bounds) { gfx 103 ash/root_window_controller_unittest.cc views::Widget* CreateModalWidget(const gfx::Rect& bounds) { gfx 110 ash/root_window_controller_unittest.cc views::Widget* CreateModalWidgetWithParent(const gfx::Rect& bounds, gfx 111 ash/root_window_controller_unittest.cc gfx::NativeWindow parent) { gfx 138 ash/root_window_controller_unittest.cc views::Widget* normal = CreateTestWidget(gfx::Rect(650, 10, 100, 100)); gfx 144 ash/root_window_controller_unittest.cc views::Widget* maximized = CreateTestWidget(gfx::Rect(700, 10, 100, 100)); gfx 151 ash/root_window_controller_unittest.cc views::Widget* minimized = CreateTestWidget(gfx::Rect(800, 10, 100, 100)); gfx 157 ash/root_window_controller_unittest.cc views::Widget* fullscreen = CreateTestWidget(gfx::Rect(850, 10, 100, 100)); gfx 168 ash/root_window_controller_unittest.cc params.bounds = gfx::Rect(650, 10, 100, 100); gfx 178 ash/root_window_controller_unittest.cc NULL, ui::wm::WINDOW_TYPE_PANEL, 0, gfx::Rect(700, 100, 100, 100)); gfx 187 ash/root_window_controller_unittest.cc &delete_on_blur_delegate, 0, gfx::Rect(50, 50, 100, 100)); gfx 265 ash/root_window_controller_unittest.cc root_windows[0]->SetBounds(gfx::Rect(0, 0, 500, 500)); gfx 266 ash/root_window_controller_unittest.cc root_windows[1]->SetBounds(gfx::Rect(500, 0, 500, 500)); gfx 268 ash/root_window_controller_unittest.cc views::Widget* normal = CreateTestWidget(gfx::Rect(300, 10, 100, 100)); gfx 272 ash/root_window_controller_unittest.cc views::Widget* modal = CreateModalWidget(gfx::Rect(650, 10, 100, 100)); gfx 301 ash/root_window_controller_unittest.cc CreateModalWidget(gfx::Rect(300, 10, 100, 100)); gfx 319 ash/root_window_controller_unittest.cc CreateModalWidgetWithParent(gfx::Rect(300, 10, 100, 100), lock_container); gfx 354 ash/root_window_controller_unittest.cc CreateModalWidgetWithParent(gfx::Rect(300, 10, 100, 100), lock_container); gfx 375 ash/root_window_controller_unittest.cc CreateModalWidget(gfx::Rect(300, 10, 100, 100)); gfx 393 ash/root_window_controller_unittest.cc CreateModalWidget(gfx::Rect(300, 10, 100, 100)); gfx 413 ash/root_window_controller_unittest.cc CreateModalWidgetWithParent(gfx::Rect(300, 10, 100, 100), gfx 422 ash/root_window_controller_unittest.cc CreateModalWidget(gfx::Rect(300, 10, 100, 100)); gfx 440 ash/root_window_controller_unittest.cc Widget* w1 = CreateTestWidget(gfx::Rect(0, 0, 100, 100)); gfx 442 ash/root_window_controller_unittest.cc Widget* w2 = CreateTestWidget(gfx::Rect(0, 0, 100, 100)); gfx 446 ash/root_window_controller_unittest.cc w2->GetNativeWindow(), gfx::Rect(0, 0, 100, 100)); gfx 475 ash/root_window_controller_unittest.cc Widget* w1 = CreateTestWidget(gfx::Rect(0, 0, 100, 100)); gfx 477 ash/root_window_controller_unittest.cc Widget* w2 = CreateTestWidget(gfx::Rect(0, 0, 100, 100)); gfx 479 ash/root_window_controller_unittest.cc Widget* w3 = CreateTestWidget(gfx::Rect(600, 0, 100, 100)); gfx 514 ash/root_window_controller_unittest.cc lock_container, gfx::Rect(0, 0, 100, 100))->GetNativeView(); gfx 517 ash/root_window_controller_unittest.cc CreateTestWidget(gfx::Rect(0, 0, 100, 100))->GetNativeView(); gfx 577 ash/root_window_controller_unittest.cc window1, Shell::GetInstance()->GetPrimaryRootWindow(), gfx::Rect()); gfx 600 ash/root_window_controller_unittest.cc const gfx::Size size = root->bounds().size(); gfx 601 ash/root_window_controller_unittest.cc aura::Window* event_target = root->GetEventHandlerForPoint(gfx::Point(0, 0)); gfx 604 ash/root_window_controller_unittest.cc root->GetEventHandlerForPoint(gfx::Point(0, size.height() - 1))); gfx 606 ash/root_window_controller_unittest.cc root->GetEventHandlerForPoint(gfx::Point(size.width() - 1, 0))); gfx 608 ash/root_window_controller_unittest.cc root->GetEventHandlerForPoint(gfx::Point(0, size.height() - 1))); gfx 611 ash/root_window_controller_unittest.cc gfx::Point(size.width() - 1, size.height() - 1))); gfx 667 ash/root_window_controller_unittest.cc keyboard_window->SetBounds(gfx::Rect()); gfx 721 ash/root_window_controller_unittest.cc gfx::Rect before = ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); gfx 727 ash/root_window_controller_unittest.cc gfx::Rect after = ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); gfx 748 ash/root_window_controller_unittest.cc keyboard_window->SetBounds(gfx::Rect()); gfx 758 ash/root_window_controller_unittest.cc CreateModalWidget(gfx::Rect(300, 10, 100, 100)); gfx 19 ash/root_window_settings.cc : display_id(gfx::Display::kInvalidDisplayID), gfx 47 ash/rotator/screen_rotation.cc new ui::InterpolatedConstantTransform(gfx::Transform())); gfx 52 ash/rotator/screen_rotation.cc const gfx::Transform& current_transform = layer->GetTargetTransform(); gfx 53 ash/rotator/screen_rotation.cc const gfx::Rect& bounds = layer->GetTargetBounds(); gfx 55 ash/rotator/screen_rotation.cc gfx::Point old_pivot; gfx 56 ash/rotator/screen_rotation.cc gfx::Point new_pivot; gfx 63 ash/rotator/screen_rotation.cc new_origin_ = new_pivot = gfx::Point(width, 0); gfx 66 ash/rotator/screen_rotation.cc new_origin_ = new_pivot = gfx::Point(0, height); gfx 70 ash/rotator/screen_rotation.cc new_pivot = old_pivot = gfx::Point(width / 2, height / 2); gfx 87 ash/rotator/screen_rotation.cc gfx::Point(0, 0), gfx 88 ash/rotator/screen_rotation.cc gfx::Point(new_pivot.x() - old_pivot.x(), gfx 54 ash/rotator/screen_rotation.h gfx::Point new_origin_; gfx 29 ash/screen_util.cc gfx::Display ScreenUtil::FindDisplayContainingPoint(const gfx::Point& point) { gfx 34 ash/screen_util.cc gfx::Rect ScreenUtil::GetMaximizedWindowBoundsInParent(aura::Window* window) { gfx 42 ash/screen_util.cc gfx::Rect ScreenUtil::GetDisplayBoundsInParent(aura::Window* window) { gfx 49 ash/screen_util.cc gfx::Rect ScreenUtil::GetDisplayWorkAreaBoundsInParent(aura::Window* window) { gfx 56 ash/screen_util.cc gfx::Rect ScreenUtil::ConvertRectToScreen(aura::Window* window, gfx 57 ash/screen_util.cc const gfx::Rect& rect) { gfx 58 ash/screen_util.cc gfx::Point point = rect.origin(); gfx 61 ash/screen_util.cc return gfx::Rect(point, rect.size()); gfx 65 ash/screen_util.cc gfx::Rect ScreenUtil::ConvertRectFromScreen(aura::Window* window, gfx 66 ash/screen_util.cc const gfx::Rect& rect) { gfx 67 ash/screen_util.cc gfx::Point point = rect.origin(); gfx 70 ash/screen_util.cc return gfx::Rect(point, rect.size()); gfx 74 ash/screen_util.cc const gfx::Display& ScreenUtil::GetSecondaryDisplay() { gfx 83 ash/screen_util.cc const gfx::Display& ScreenUtil::GetDisplayForId(int64 display_id) { gfx 15 ash/screen_util.h namespace gfx { gfx 28 ash/screen_util.h static gfx::Display FindDisplayContainingPoint(const gfx::Point& point); gfx 32 ash/screen_util.h static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window); gfx 35 ash/screen_util.h static gfx::Rect GetDisplayBoundsInParent(aura::Window* window); gfx 38 ash/screen_util.h static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window); gfx 43 ash/screen_util.h static gfx::Rect ConvertRectToScreen(aura::Window* window, gfx 44 ash/screen_util.h const gfx::Rect& rect); gfx 48 ash/screen_util.h static gfx::Rect ConvertRectFromScreen(aura::Window* window, gfx 49 ash/screen_util.h const gfx::Rect& rect); gfx 53 ash/screen_util.h static const gfx::Display& GetSecondaryDisplay(); gfx 57 ash/screen_util.h static const gfx::Display& GetDisplayForId(int64 display_id); gfx 33 ash/screen_util_unittest.cc NULL, CurrentContext(), gfx::Rect(10, 10, 100, 100)); gfx 36 ash/screen_util_unittest.cc NULL, CurrentContext(), gfx::Rect(610, 10, 100, 100)); gfx 72 ash/screen_util_unittest.cc NULL, CurrentContext(), gfx::Rect(610, 10, 100, 100)); gfx 90 ash/screen_util_unittest.cc NULL, CurrentContext(), gfx::Rect(10, 10, 100, 100)); gfx 93 ash/screen_util_unittest.cc NULL, CurrentContext(), gfx::Rect(610, 10, 100, 100)); gfx 99 ash/screen_util_unittest.cc primary->GetNativeView(), gfx::Rect(10, 10, 100, 100)).ToString()); gfx 103 ash/screen_util_unittest.cc secondary->GetNativeView(), gfx::Rect(620, 20, 100, 100)).ToString()); gfx 108 ash/screen_util_unittest.cc primary->GetNativeView(), gfx::Rect(30, 30, 100, 100)).ToString()); gfx 112 ash/screen_util_unittest.cc secondary->GetNativeView(), gfx::Rect(40, 40, 100, 100)).ToString()); gfx 139 ash/screensaver/screensaver_view.cc gfx::Rect screen_rect = gfx 12 ash/screenshot_delegate.h namespace gfx { gfx 30 ash/screenshot_delegate.h aura::Window* window, const gfx::Rect& rect) = 0; gfx 22 ash/session_state_delegate.h namespace gfx { gfx 109 ash/session_state_delegate.h virtual const gfx::ImageSkia& GetUserImage( gfx 87 ash/session_state_delegate_stub.cc const gfx::ImageSkia& SessionStateDelegateStub::GetUserImage( gfx 41 ash/session_state_delegate_stub.h virtual const gfx::ImageSkia& GetUserImage( gfx 55 ash/session_state_delegate_stub.h gfx::ImageSkia user_image_; gfx 41 ash/shelf/alternate_app_list_button.cc SetSize(gfx::Size(ShelfLayoutManager::kShelfSize, gfx 44 ash/shelf/alternate_app_list_button.cc kFocusBorderColor, gfx::Insets(1, 1, 1, 1))); gfx 108 ash/shelf/alternate_app_list_button.cc void AlternateAppListButton::OnPaint(gfx::Canvas* canvas) { gfx 122 ash/shelf/alternate_app_list_button.cc const gfx::ImageSkia* background_image = gfx 124 ash/shelf/alternate_app_list_button.cc const gfx::ImageSkia* forground_image = gfx 127 ash/shelf/alternate_app_list_button.cc gfx::Rect contents_bounds = GetContentsBounds(); gfx 128 ash/shelf/alternate_app_list_button.cc gfx::Rect background_bounds, forground_bounds; gfx 37 ash/shelf/alternate_app_list_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 45 ash/shelf/app_list_button.cc SetSize(gfx::Size(kShelfPreferredSize, kShelfPreferredSize)); gfx 48 ash/shelf/app_list_button.cc kFocusBorderColor, gfx::Insets(1, 1, 1, 1))); gfx 85 ash/shelf/app_list_button.cc layer()->SetTransform(gfx::Transform()); gfx 51 ash/shelf/background_animator.cc void BackgroundAnimator::AnimationProgressed(const gfx::Animation* animation) { gfx 31 ash/shelf/background_animator.h class ASH_EXPORT BackgroundAnimator : public gfx::AnimationDelegate { gfx 51 ash/shelf/background_animator.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 59 ash/shelf/background_animator.h gfx::SlideAnimation animation_; gfx 73 ash/shelf/overflow_bubble.cc gfx::Point event_location_in_screen = event->location(); gfx 50 ash/shelf/overflow_bubble_view.cc set_margins(gfx::Insets(kPadding, kPadding, kPadding, kPadding)); gfx 76 ash/shelf/overflow_bubble_view.cc const gfx::Size OverflowBubbleView::GetContentsSize() const { gfx 93 ash/shelf/overflow_bubble_view.cc const gfx::Rect visible_bounds(GetContentsBounds()); gfx 94 ash/shelf/overflow_bubble_view.cc const gfx::Size contents_size(GetContentsSize()); gfx 103 ash/shelf/overflow_bubble_view.cc const gfx::Rect visible_bounds(GetContentsBounds()); gfx 104 ash/shelf/overflow_bubble_view.cc const gfx::Size contents_size(GetContentsSize()); gfx 112 ash/shelf/overflow_bubble_view.cc gfx::Size OverflowBubbleView::GetPreferredSize() { gfx 113 ash/shelf/overflow_bubble_view.cc gfx::Size preferred_size = GetContentsSize(); gfx 115 ash/shelf/overflow_bubble_view.cc const gfx::Rect monitor_rect = Shell::GetScreen()->GetDisplayNearestPoint( gfx 135 ash/shelf/overflow_bubble_view.cc shelf_view_->SetBoundsRect(gfx::Rect( gfx 136 ash/shelf/overflow_bubble_view.cc gfx::PointAtOffsetFromOrigin(-scroll_offset_), GetContentsSize())); gfx 179 ash/shelf/overflow_bubble_view.cc gfx::Rect OverflowBubbleView::GetBubbleBounds() { gfx 181 ash/shelf/overflow_bubble_view.cc gfx::Insets bubble_insets = border->GetInsets(); gfx 189 ash/shelf/overflow_bubble_view.cc const gfx::Size content_size = GetPreferredSize(); gfx 192 ash/shelf/overflow_bubble_view.cc const gfx::Rect anchor_rect = GetAnchorRect(); gfx 193 ash/shelf/overflow_bubble_view.cc gfx::Rect bubble_rect = GetBubbleFrameView()->GetUpdatedWindowBounds( gfx 198 ash/shelf/overflow_bubble_view.cc gfx::Rect monitor_rect = Shell::GetScreen()->GetDisplayNearestPoint( gfx 31 ash/shelf/overflow_bubble_view.h virtual gfx::Rect GetBubbleBounds() OVERRIDE; gfx 38 ash/shelf/overflow_bubble_view.h const gfx::Size GetContentsSize() const; gfx 47 ash/shelf/overflow_bubble_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 58 ash/shelf/overflow_bubble_view.h gfx::Vector2d scroll_offset_; gfx 54 ash/shelf/overflow_button.cc void OverflowButton::PaintBackground(gfx::Canvas* canvas, int alpha) { gfx 55 ash/shelf/overflow_button.cc gfx::Rect bounds(GetContentsBounds()); gfx 56 ash/shelf/overflow_button.cc gfx::Rect rect(0, 0, kButtonHoverSize, kButtonHoverSize); gfx 62 ash/shelf/overflow_button.cc rect.set_origin(gfx::Point( gfx 67 ash/shelf/overflow_button.cc rect.set_origin(gfx::Point( gfx 81 ash/shelf/overflow_button.cc path.addRoundRect(gfx::RectToSkRect(rect), radius, radius); gfx 85 ash/shelf/overflow_button.cc void OverflowButton::OnPaint(gfx::Canvas* canvas) { gfx 90 ash/shelf/overflow_button.cc gfx::Rect bounds(GetContentsBounds()); gfx 101 ash/shelf/overflow_button.cc const gfx::ImageSkia* background = gfx 104 ash/shelf/overflow_button.cc bounds = gfx::Rect( gfx 110 ash/shelf/overflow_button.cc bounds = gfx::Rect( gfx 115 ash/shelf/overflow_button.cc bounds = gfx::Rect( gfx 123 ash/shelf/overflow_button.cc bounds = gfx::Rect( gfx 128 ash/shelf/overflow_button.cc bounds = gfx::Rect( gfx 145 ash/shelf/overflow_button.cc const gfx::ImageSkia* image = NULL; gfx 150 ash/shelf/overflow_button.cc left_image_ = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 157 ash/shelf/overflow_button.cc right_image_ = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 25 ash/shelf/overflow_button.h void PaintBackground(gfx::Canvas* canvas, int alpha); gfx 28 ash/shelf/overflow_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 32 ash/shelf/overflow_button.h gfx::ImageSkia left_image_; gfx 33 ash/shelf/overflow_button.h gfx::ImageSkia right_image_; gfx 35 ash/shelf/overflow_button.h const gfx::ImageSkia* bottom_image_; gfx 83 ash/shelf/shelf.cc gfx::Rect Shelf::GetScreenBoundsOfItemIconForWindow(aura::Window* window) { gfx 85 ash/shelf/shelf.cc gfx::Rect bounds(shelf_view_->GetIdealBoundsOfItemIcon(id)); gfx 86 ash/shelf/shelf.cc gfx::Point screen_origin; gfx 88 ash/shelf/shelf.cc return gfx::Rect(screen_origin.x() + bounds.x(), gfx 181 ash/shelf/shelf.cc void Shelf::SetShelfViewBounds(gfx::Rect bounds) { gfx 185 ash/shelf/shelf.cc gfx::Rect Shelf::GetShelfViewBounds() const { gfx 189 ash/shelf/shelf.cc gfx::Rect Shelf::GetVisibleItemsBoundsInScreen() const { gfx 24 ash/shelf/shelf.h namespace gfx { gfx 66 ash/shelf/shelf.h gfx::Rect GetScreenBoundsOfItemIconForWindow(aura::Window* window); gfx 101 ash/shelf/shelf.h void SetShelfViewBounds(gfx::Rect bounds); gfx 102 ash/shelf/shelf.h gfx::Rect GetShelfViewBounds() const; gfx 106 ash/shelf/shelf.h gfx::Rect GetVisibleItemsBoundsInScreen() const; gfx 27 ash/shelf/shelf_bezel_event_filter.cc gfx::Point point_in_screen(event->location()); gfx 30 ash/shelf/shelf_bezel_event_filter.cc gfx::Rect screen = gfx 53 ash/shelf/shelf_bezel_event_filter.cc const gfx::Rect& screen, gfx 54 ash/shelf/shelf_bezel_event_filter.cc const gfx::Point& point) const{ gfx 26 ash/shelf/shelf_bezel_event_filter.h bool IsShelfOnBezel(const gfx::Rect& screen, gfx 27 ash/shelf/shelf_bezel_event_filter.h const gfx::Point& point) const; gfx 50 ash/shelf/shelf_button.cc class ShelfButtonAnimation : public gfx::AnimationDelegate { gfx 87 ash/shelf/shelf_button.cc animation_.SetTweenType(gfx::Tween::SMOOTH_IN_OUT); gfx 93 ash/shelf/shelf_button.cc gfx::ThrobAnimation& GetThrobAnimation() { gfx 102 ash/shelf/shelf_button.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 110 ash/shelf/shelf_button.cc gfx::ThrobAnimation animation_; gfx 137 ash/shelf/shelf_button.cc virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE { gfx 142 ash/shelf/shelf_button.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 159 ash/shelf/shelf_button.cc void SetBarBoundsRect(const gfx::Rect& bounds) { gfx 177 ash/shelf/shelf_button.cc gfx::Rect bounds = base_bounds_; gfx 200 ash/shelf/shelf_button.cc gfx::Rect base_bounds_; gfx 214 ash/shelf/shelf_button.cc bool ShelfButton::IconView::HitTestRect(const gfx::Rect& rect) const { gfx 242 ash/shelf/shelf_button.cc const gfx::ShadowValue kShadows[] = { gfx 243 ash/shelf/shelf_button.cc gfx::ShadowValue(gfx::Point(0, 2), 0, SkColorSetARGB(0x1A, 0, 0, 0)), gfx 244 ash/shelf/shelf_button.cc gfx::ShadowValue(gfx::Point(0, 3), 1, SkColorSetARGB(0x1A, 0, 0, 0)), gfx 245 ash/shelf/shelf_button.cc gfx::ShadowValue(gfx::Point(0, 0), 1, SkColorSetARGB(0x54, 0, 0, 0)), gfx 257 ash/shelf/shelf_button.cc void ShelfButton::SetShadowedImage(const gfx::ImageSkia& image) { gfx 258 ash/shelf/shelf_button.cc icon_view_->SetImage(gfx::ImageSkiaOperations::CreateImageWithDropShadow( gfx 262 ash/shelf/shelf_button.cc void ShelfButton::SetImage(const gfx::ImageSkia& image) { gfx 290 ash/shelf/shelf_button.cc SetShadowedImage(gfx::ImageSkiaOperations::CreateResizedImage(image, gfx 291 ash/shelf/shelf_button.cc skia::ImageOperations::RESIZE_BEST, gfx::Size(width, height))); gfx 294 ash/shelf/shelf_button.cc const gfx::ImageSkia& ShelfButton::GetImage() const { gfx 320 ash/shelf/shelf_button.cc scoped_setter.SetTweenType(gfx::Tween::LINEAR); gfx 331 ash/shelf/shelf_button.cc gfx::Rect ShelfButton::GetIconBounds() const { gfx 335 ash/shelf/shelf_button.cc void ShelfButton::ShowContextMenu(const gfx::Point& p, gfx 400 ash/shelf/shelf_button.cc const gfx::Rect button_bounds(GetContentsBounds()); gfx 442 ash/shelf/shelf_button.cc icon_view_->SetBoundsRect(gfx::Rect( gfx 473 ash/shelf/shelf_button.cc void ShelfButton::OnPaint(gfx::Canvas* canvas) { gfx 476 ash/shelf/shelf_button.cc gfx::Rect paint_bounds(GetLocalBounds()); gfx 563 ash/shelf/shelf_button.cc const gfx::ImageSkia* image = rb.GetImageNamed(bar_id).ToImageSkia(); gfx 567 ash/shelf/shelf_button.cc bar_->SetImage(gfx::ImageSkiaOperations::CreateRotatedImage(*image, gfx 46 ash/shelf/shelf_button.h void SetImage(const gfx::ImageSkia& image); gfx 49 ash/shelf/shelf_button.h const gfx::ImageSkia& GetImage() const; gfx 60 ash/shelf/shelf_button.h gfx::Rect GetIconBounds() const; gfx 63 ash/shelf/shelf_button.h virtual void ShowContextMenu(const gfx::Point& p, gfx 86 ash/shelf/shelf_button.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 108 ash/shelf/shelf_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 114 ash/shelf/shelf_button.h void SetShadowedImage(const gfx::ImageSkia& bitmap); gfx 146 ash/shelf/shelf_button.h gfx::ShadowValues icon_shadows_; gfx 64 ash/shelf/shelf_item_types.h gfx::ImageSkia image; gfx 274 ash/shelf/shelf_layout_manager.cc gfx::Rect ShelfLayoutManager::GetIdealBounds() { gfx 275 ash/shelf/shelf_layout_manager.cc gfx::Rect bounds( gfx 280 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.x(), bounds.bottom() - height, bounds.width(), height), gfx 281 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.x(), bounds.y(), width, bounds.height()), gfx 282 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.right() - width, bounds.y(), width, bounds.height()), gfx 283 ash/shelf/shelf_layout_manager.cc gfx::Rect(bounds.x(), bounds.y(), bounds.width(), height)); gfx 455 ash/shelf/shelf_layout_manager.cc gfx::Rect bounds = GetIdealBounds(); gfx 548 ash/shelf/shelf_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 707 ash/shelf/shelf_layout_manager.cc shelf_animation_setter.SetTweenType(gfx::Tween::EASE_OUT); gfx 712 ash/shelf/shelf_layout_manager.cc status_animation_setter.SetTweenType(gfx::Tween::EASE_OUT); gfx 732 ash/shelf/shelf_layout_manager.cc gfx::Rect status_bounds = target_bounds.status_bounds_in_shelf; gfx 758 ash/shelf/shelf_layout_manager.cc gfx::Size status_size( gfx 767 ash/shelf/shelf_layout_manager.cc gfx::Rect* bounds) const { gfx 769 ash/shelf/shelf_layout_manager.cc gfx::Insets(0, 0, inset, 0), gfx 770 ash/shelf/shelf_layout_manager.cc gfx::Insets(0, inset, 0, 0), gfx 771 ash/shelf/shelf_layout_manager.cc gfx::Insets(0, 0, 0, inset), gfx 772 ash/shelf/shelf_layout_manager.cc gfx::Insets(inset, 0, 0, 0))); gfx 778 ash/shelf/shelf_layout_manager.cc const gfx::Rect available_bounds(GetAvailableBounds()); gfx 779 ash/shelf/shelf_layout_manager.cc gfx::Rect status_size( gfx 806 ash/shelf/shelf_layout_manager.cc gfx::Rect(available_bounds.x(), available_bounds.bottom() - shelf_height, gfx 808 ash/shelf/shelf_layout_manager.cc gfx::Rect(available_bounds.x(), available_bounds.y(), gfx 810 ash/shelf/shelf_layout_manager.cc gfx::Rect(available_bounds.right() - shelf_width, available_bounds.y(), gfx 812 ash/shelf/shelf_layout_manager.cc gfx::Rect(available_bounds.x(), available_bounds.y(), gfx 827 ash/shelf/shelf_layout_manager.cc gfx::Rect(base::i18n::IsRTL() ? 0 : shelf_width - status_size.width(), gfx 829 ash/shelf/shelf_layout_manager.cc gfx::Rect(shelf_width - (status_size.width() + status_inset), gfx 832 ash/shelf/shelf_layout_manager.cc gfx::Rect(status_inset, shelf_height - status_size.height(), gfx 834 ash/shelf/shelf_layout_manager.cc gfx::Rect(base::i18n::IsRTL() ? 0 : shelf_width - status_size.width(), gfx 839 ash/shelf/shelf_layout_manager.cc gfx::Insets(0, 0, GetWorkAreaSize(state, shelf_height), 0), gfx 840 ash/shelf/shelf_layout_manager.cc gfx::Insets(0, GetWorkAreaSize(state, shelf_width), 0, 0), gfx 841 ash/shelf/shelf_layout_manager.cc gfx::Insets(0, 0, 0, GetWorkAreaSize(state, shelf_width)), gfx 842 ash/shelf/shelf_layout_manager.cc gfx::Insets(GetWorkAreaSize(state, shelf_height), 0, 0, 0)); gfx 850 ash/shelf/shelf_layout_manager.cc gfx::Insets keyboard_insets(0, 0, keyboard_bounds_.height(), 0); gfx 856 ash/shelf/shelf_layout_manager.cc gfx::Insets dock_insets( gfx 878 ash/shelf/shelf_layout_manager.cc gfx::Rect(0, 0, gfx 881 ash/shelf/shelf_layout_manager.cc gfx::Rect(0, 0, target_bounds->shelf_bounds_in_root.width(), gfx 883 ash/shelf/shelf_layout_manager.cc gfx::Rect(0, 0, target_bounds->shelf_bounds_in_root.width(), gfx 885 ash/shelf/shelf_layout_manager.cc gfx::Rect(0, 0, gfx 894 ash/shelf/shelf_layout_manager.cc const gfx::Rect& available_bounds(root_window_->bounds()); gfx 939 ash/shelf/shelf_layout_manager.cc gfx::Rect status_y = target_bounds->shelf_bounds_in_root; gfx 969 ash/shelf/shelf_layout_manager.cc gfx::Rect status_x = target_bounds->shelf_bounds_in_root; gfx 1013 ash/shelf/shelf_layout_manager.cc gfx::Rect ShelfLayoutManager::GetAutoHideShowShelfRegionInScreen() const { gfx 1014 ash/shelf/shelf_layout_manager.cc gfx::Rect shelf_bounds_in_screen = shelf_->GetWindowBoundsInScreen(); gfx 1015 ash/shelf/shelf_layout_manager.cc gfx::Vector2d offset = SelectValueForShelfAlignment( gfx 1016 ash/shelf/shelf_layout_manager.cc gfx::Vector2d(0, shelf_bounds_in_screen.height()), gfx 1017 ash/shelf/shelf_layout_manager.cc gfx::Vector2d(-kMaxAutoHideShowShelfRegionSize, 0), gfx 1018 ash/shelf/shelf_layout_manager.cc gfx::Vector2d(shelf_bounds_in_screen.width(), 0), gfx 1019 ash/shelf/shelf_layout_manager.cc gfx::Vector2d(0, -kMaxAutoHideShowShelfRegionSize)); gfx 1021 ash/shelf/shelf_layout_manager.cc gfx::Rect show_shelf_region_in_screen = shelf_bounds_in_screen; gfx 1088 ash/shelf/shelf_layout_manager.cc gfx::Rect shelf_region = shelf_->GetWindowBoundsInScreen(); gfx 1105 ash/shelf/shelf_layout_manager.cc gfx::Point cursor_position_in_screen = gfx 1148 ash/shelf/shelf_layout_manager.cc gfx::Rect ShelfLayoutManager::GetAvailableBounds() const { gfx 1149 ash/shelf/shelf_layout_manager.cc gfx::Rect bounds(root_window_->bounds()); gfx 1154 ash/shelf/shelf_layout_manager.cc void ShelfLayoutManager::OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) { gfx 1170 ash/shelf/shelf_layout_manager.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root_window_, gfx::Insets()); gfx 1175 ash/shelf/shelf_layout_manager.cc const gfx::Rect& dock_bounds, gfx 120 ash/shelf/shelf_layout_manager.h gfx::Rect GetIdealBounds(); gfx 123 ash/shelf/shelf_layout_manager.h const gfx::Rect& dock_bounds() const { return dock_bounds_; } gfx 180 ash/shelf/shelf_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 240 ash/shelf/shelf_layout_manager.h gfx::Rect shelf_bounds_in_root; gfx 241 ash/shelf/shelf_layout_manager.h gfx::Rect shelf_bounds_in_shelf; gfx 242 ash/shelf/shelf_layout_manager.h gfx::Rect status_bounds_in_shelf; gfx 243 ash/shelf/shelf_layout_manager.h gfx::Insets work_area_insets; gfx 288 ash/shelf/shelf_layout_manager.h void AdjustBoundsBasedOnAlignment(int inset, gfx::Rect* bounds) const; gfx 314 ash/shelf/shelf_layout_manager.h gfx::Rect GetAutoHideShowShelfRegionInScreen() const; gfx 328 ash/shelf/shelf_layout_manager.h gfx::Rect GetAvailableBounds() const; gfx 331 ash/shelf/shelf_layout_manager.h virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) OVERRIDE; gfx 335 ash/shelf/shelf_layout_manager.h const gfx::Rect& dock_bounds, gfx 405 ash/shelf/shelf_layout_manager.h gfx::Rect keyboard_bounds_; gfx 408 ash/shelf/shelf_layout_manager.h gfx::Rect dock_bounds_; gfx 53 ash/shelf/shelf_layout_manager_unittest.cc gfx::AnimationContainerElement* element = gfx 54 ash/shelf/shelf_layout_manager_unittest.cc static_cast<gfx::AnimationContainerElement*>( gfx 75 ash/shelf/shelf_layout_manager_unittest.cc explicit ShelfAnimationWaiter(const gfx::Rect& target_bounds) gfx 103 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect current_bounds = GetShelfWidget()->GetWindowBoundsInScreen(); gfx 113 ash/shelf/shelf_layout_manager_unittest.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 124 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect target_bounds_; gfx 133 ash/shelf/shelf_layout_manager_unittest.cc ShelfDragCallback(const gfx::Rect& not_visible, const gfx::Rect& visible) gfx 143 ash/shelf/shelf_layout_manager_unittest.cc void ProcessScroll(ui::EventType type, const gfx::Vector2dF& delta) { gfx 148 ash/shelf/shelf_layout_manager_unittest.cc scroll_ = gfx::Vector2dF(); gfx 160 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect shelf_bounds = GetShelfWidget()->GetWindowBoundsInScreen(); gfx 228 ash/shelf/shelf_layout_manager_unittest.cc const gfx::Rect not_visible_bounds_; gfx 229 ash/shelf/shelf_layout_manager_unittest.cc const gfx::Rect visible_bounds_; gfx 230 ash/shelf/shelf_layout_manager_unittest.cc gfx::Vector2dF scroll_; gfx 365 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 377 ash/shelf/shelf_layout_manager_unittest.cc void RunGestureDragTests(gfx::Vector2d); gfx 383 ash/shelf/shelf_layout_manager_unittest.cc void ShelfLayoutManagerTest::RunGestureDragTests(gfx::Vector2d delta) { gfx 388 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 397 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect shelf_shown = GetShelfWidget()->GetWindowBoundsInScreen(); gfx 398 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_shelf = window->bounds(); gfx 405 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_noshelf = window->bounds(); gfx 406 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect shelf_hidden = GetShelfWidget()->GetWindowBoundsInScreen(); gfx 416 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point start = GetShelfWidget()->GetWindowBoundsInScreen().CenterPoint(); gfx 417 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point end = start + delta; gfx 487 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(GetShelfWidget()->GetDimmerBoundsForTest(), gfx::Rect()); gfx 493 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point extended_start = start; gfx 523 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(GetShelfWidget()->GetDimmerBoundsForTest(), gfx::Rect()); gfx 529 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point outside_start = gfx::Point( gfx 546 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point below_start = start; gfx 576 ash/shelf/shelf_layout_manager_unittest.cc EXPECT_EQ(GetShelfWidget()->GetDimmerBoundsForTest(), gfx::Rect()); gfx 587 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_fullscreen = window->bounds(); gfx 669 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect status_bounds( gfx 671 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect shelf_bounds( gfx 674 ash/shelf/shelf_layout_manager_unittest.cc gfx::Screen* screen = Shell::GetScreen(); gfx 675 ash/shelf/shelf_layout_manager_unittest.cc gfx::Display display = screen->GetDisplayNearestWindow( gfx 738 ash/shelf/shelf_layout_manager_unittest.cc gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( gfx 754 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect initial_shelf_bounds = shelf->GetWindowBoundsInScreen(); gfx 755 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect initial_status_bounds = gfx 763 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect current_shelf_bounds = shelf->GetWindowBoundsInScreen(); gfx 764 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect current_status_bounds = gfx 784 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect(0, 0, 200, 200)); gfx 807 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 872 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 992 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 999 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1021 ash/shelf/shelf_layout_manager_unittest.cc lock_params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1045 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1051 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1057 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect display_bounds( gfx 1090 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1098 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1104 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect display_bounds( gfx 1107 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point off_shelf = display_bounds.CenterPoint(); gfx 1108 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point on_shelf = gfx 1164 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1172 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1178 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect display_bounds( gfx 1184 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point off_shelf = display_bounds.CenterPoint(); gfx 1185 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point on_shelf = gfx 1234 ash/shelf/shelf_layout_manager_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1240 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1277 ash/shelf/shelf_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1304 ash/shelf/shelf_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1338 ash/shelf/shelf_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1365 ash/shelf/shelf_layout_manager_unittest.cc window1->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1370 ash/shelf/shelf_layout_manager_unittest.cc window2->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1398 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect(0, 0, 100, 100), gfx 1405 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect(800, 0, 100, 100), gfx 1436 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect shelf_bounds( gfx 1438 ash/shelf/shelf_layout_manager_unittest.cc const gfx::Screen* screen = Shell::GetScreen(); gfx 1439 ash/shelf/shelf_layout_manager_unittest.cc gfx::Display display = gfx 1449 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect status_bounds(status_area_widget->GetWindowBoundsInScreen()); gfx 1477 ash/shelf/shelf_layout_manager_unittest.cc status_bounds = gfx::Rect(status_area_widget->GetWindowBoundsInScreen()); gfx 1506 ash/shelf/shelf_layout_manager_unittest.cc status_bounds = gfx::Rect(status_area_widget->GetWindowBoundsInScreen()); gfx 1531 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1540 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect shelf_shown = GetShelfWidget()->GetWindowBoundsInScreen(); gfx 1541 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_shelf = window->bounds(); gfx 1558 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect bounds_fullscreen = window->bounds(); gfx 1574 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1610 ash/shelf/shelf_layout_manager_unittest.cc RunGestureDragTests(gfx::Vector2d(0, 120)); gfx 1616 ash/shelf/shelf_layout_manager_unittest.cc RunGestureDragTests(gfx::Vector2d(-120, 0)); gfx 1622 ash/shelf/shelf_layout_manager_unittest.cc RunGestureDragTests(gfx::Vector2d(120, 0)); gfx 1672 ash/shelf/shelf_layout_manager_unittest.cc window2->SetBounds(gfx::Rect(850, 50, 50, 50)); gfx 1675 ash/shelf/shelf_layout_manager_unittest.cc window2->SetBounds(gfx::Rect(50, 50, 50, 50)); gfx 1691 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect visible_bounds = GetShelfWidget()->GetWindowBoundsInScreen(); gfx 1698 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect shelf_bounds_in_screen = gfx 1700 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point start(shelf_bounds_in_screen.CenterPoint()); gfx 1701 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point end(start.x(), shelf_bounds_in_screen.bottom()); gfx 1719 ash/shelf/shelf_layout_manager_unittest.cc gfx::Rect auto_hidden_bounds = GetShelfWidget()->GetWindowBoundsInScreen(); gfx 1726 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point start = gfx 1728 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point end(start.x(), start.y() - 100); gfx 1771 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point start = GetShelfWidget()->status_area_widget()-> gfx 1773 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point end(start.x(), start.y() - 100); gfx 1827 ash/shelf/shelf_layout_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1914 ash/shelf/shelf_layout_manager_unittest.cc gfx::Point center = gfx 63 ash/shelf/shelf_tooltip_manager.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 78 ash/shelf/shelf_tooltip_manager.cc gfx::Insets insets = gfx::Insets(kArrowOffsetTopBottom, gfx 92 ash/shelf/shelf_tooltip_manager.cc set_margins(gfx::Insets(kTooltipTopBottomMargin, kTooltipLeftRightMargin, gfx 104 ash/shelf/shelf_tooltip_manager.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 129 ash/shelf/shelf_tooltip_manager.cc gfx::Size ShelfTooltipManager::ShelfTooltipBubble::GetPreferredSize() { gfx 130 ash/shelf/shelf_tooltip_manager.cc gfx::Size pref_size = views::BubbleDelegateView::GetPreferredSize(); gfx 269 ash/shelf/shelf_tooltip_manager.cc gfx::Point location_in_shelf_view = event->location(); gfx 325 ash/shelf/shelf_tooltip_manager.cc gfx::NativeView native_view = widget_->GetNativeView(); gfx 360 ash/shelf/shelf_tooltip_manager.cc gfx::NativeView native_view = widget_->GetNativeView(); gfx 150 ash/shelf/shelf_tooltip_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 194 ash/shelf/shelf_tooltip_manager_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(), 0, base::TimeDelta()); gfx 227 ash/shelf/shelf_tooltip_manager_unittest.cc gfx::Rect tooltip_rect = GetTooltipWidget()->GetNativeWindow()->bounds(); gfx 242 ash/shelf/shelf_tooltip_manager_unittest.cc test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1)); gfx 257 ash/shelf/shelf_tooltip_manager_unittest.cc gfx::Rect tooltip_rect = GetTooltipWidget()->GetNativeWindow()->bounds(); gfx 276 ash/shelf/shelf_tooltip_manager_unittest.cc test_api.set_location(tooltip_rect.origin() + gfx::Vector2d(-1, -1)); gfx 130 ash/shelf/shelf_unittest.cc button->ShowContextMenu(gfx::Point(), ui::MENU_SOURCE_MOUSE); gfx 60 ash/shelf/shelf_view.cc using gfx::Animation; gfx 152 ash/shelf/shelf_view.cc virtual const gfx::FontList* GetLabelFontList(int command_id) const OVERRIDE; gfx 178 ash/shelf/shelf_view.cc const gfx::FontList* ShelfMenuModelAdapter::GetLabelFontList( gfx 481 ash/shelf/shelf_view.cc gfx::Rect ShelfView::GetIdealBoundsOfItemIcon(ShelfID id) { gfx 485 ash/shelf/shelf_view.cc return gfx::Rect(); gfx 486 ash/shelf/shelf_view.cc const gfx::Rect& ideal_bounds(view_model_->ideal_bounds(index)); gfx 489 ash/shelf/shelf_view.cc gfx::Rect icon_bounds = button->GetIconBounds(); gfx 490 ash/shelf/shelf_view.cc return gfx::Rect(GetMirroredXWithWidthInView( gfx 498 ash/shelf/shelf_view.cc const gfx::Point& midpoint) { gfx 504 ash/shelf/shelf_view.cc gfx::Point midpoint_in_view(GetMirroredXInView(midpoint.x()), gfx 562 ash/shelf/shelf_view.cc const gfx::Point& location_in_screen_coordinates, gfx 563 ash/shelf/shelf_view.cc const gfx::ImageSkia& icon, gfx 565 ash/shelf/shelf_view.cc const gfx::Vector2d& cursor_offset_from_center, gfx 572 ash/shelf/shelf_view.cc gfx::Size size = drag_image_->GetPreferredSize(); gfx 575 ash/shelf/shelf_view.cc drag_image_offset_ = gfx::Vector2d(size.width() / 2, size.height() / 2) + gfx 577 ash/shelf/shelf_view.cc gfx::Rect drag_image_bounds( gfx 585 ash/shelf/shelf_view.cc const gfx::Point& location_in_screen_coordinates) { gfx 596 ash/shelf/shelf_view.cc drag_image_offset_ = gfx::Vector2d(0, 0); gfx 600 ash/shelf/shelf_view.cc const gfx::Point& location_in_screen_coordinates) { gfx 637 ash/shelf/shelf_view.cc drag_and_drop_view->SetSize(gfx::Size()); gfx 640 ash/shelf/shelf_view.cc gfx::Point pt = drag_and_drop_view->GetBoundsInScreen().CenterPoint(); gfx 642 ash/shelf/shelf_view.cc gfx::Point point_in_root = location_in_screen_coordinates; gfx 656 ash/shelf/shelf_view.cc bool ShelfView::Drag(const gfx::Point& location_in_screen_coordinates) { gfx 661 ash/shelf/shelf_view.cc gfx::Point pt = location_in_screen_coordinates; gfx 665 ash/shelf/shelf_view.cc gfx::Point point_in_root = location_in_screen_coordinates; gfx 758 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, 0, 0)); gfx 762 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, w, h)); gfx 778 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(0, gfx::Rect(gfx::Size( gfx 792 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, w, h)); gfx 811 ash/shelf/shelf_view.cc gfx::Size(layout_manager_->PrimaryAxisValue(w, width()), gfx 865 ash/shelf/shelf_view.cc view_model_->set_ideal_bounds(i, gfx::Rect(x, y, w, h)); gfx 878 ash/shelf/shelf_view.cc gfx::Rect app_list_bounds = view_model_->ideal_bounds(last_button_index); gfx 1046 ash/shelf/shelf_view.cc gfx::Point drag_point(event.location()); gfx 1103 ash/shelf/shelf_view.cc gfx::Point screen_location = event.root_location(); gfx 1168 ash/shelf/shelf_view.cc gfx::Vector2d(0, 0), gfx 1238 ash/shelf/shelf_view.cc gfx::Rect drag_bounds = drag_image_->GetBoundsInScreen(); gfx 1239 ash/shelf/shelf_view.cc gfx::Point relative_to = GetBoundsInScreen().origin(); gfx 1240 ash/shelf/shelf_view.cc gfx::Rect target( gfx 1241 ash/shelf/shelf_view.cc gfx::PointAtOffsetFromOrigin(drag_bounds.origin()- relative_to), gfx 1387 ash/shelf/shelf_view.cc bool ShelfView::ShouldHideTooltip(const gfx::Point& cursor_location) { gfx 1388 ash/shelf/shelf_view.cc gfx::Rect active_bounds; gfx 1397 ash/shelf/shelf_view.cc gfx::Rect child_bounds = child->GetMirroredBounds(); gfx 1404 ash/shelf/shelf_view.cc gfx::Rect ShelfView::GetVisibleItemsBoundsInScreen() { gfx 1405 ash/shelf/shelf_view.cc gfx::Size preferred_size = GetPreferredSize(); gfx 1406 ash/shelf/shelf_view.cc gfx::Point origin(GetMirroredXWithWidthInView(0, preferred_size.width()), 0); gfx 1408 ash/shelf/shelf_view.cc return gfx::Rect(origin, preferred_size); gfx 1411 ash/shelf/shelf_view.cc gfx::Rect ShelfView::GetBoundsForDragInsertInScreen() { gfx 1412 ash/shelf/shelf_view.cc gfx::Size preferred_size; gfx 1415 ash/shelf/shelf_view.cc gfx::Rect bubble_bounds = gfx 1422 ash/shelf/shelf_view.cc gfx::Rect last_button_bounds = gfx 1432 ash/shelf/shelf_view.cc preferred_size = gfx::Size(last_button_bounds.right() + leading_inset_, gfx 1435 ash/shelf/shelf_view.cc preferred_size = gfx::Size(preferred_shelf_size, gfx 1439 ash/shelf/shelf_view.cc gfx::Point origin(GetMirroredXWithWidthInView(0, preferred_size.width()), 0); gfx 1450 ash/shelf/shelf_view.cc return gfx::Rect(origin, preferred_size); gfx 1482 ash/shelf/shelf_view.cc gfx::Size ShelfView::GetPreferredSize() { gfx 1502 ash/shelf/shelf_view.cc const gfx::Rect last_button_bounds = gfx 1505 ash/shelf/shelf_view.cc gfx::Rect(gfx::Size(preferred_size, preferred_size)); gfx 1508 ash/shelf/shelf_view.cc return gfx::Size(last_button_bounds.right() + leading_inset_, gfx 1512 ash/shelf/shelf_view.cc return gfx::Size(preferred_size, gfx 1516 ash/shelf/shelf_view.cc void ShelfView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 1631 ash/shelf/shelf_view.cc gfx::Rect old_ideal_bounds = view_model_->ideal_bounds(model_index); gfx 1855 ash/shelf/shelf_view.cc gfx::Point(), gfx 1862 ash/shelf/shelf_view.cc const gfx::Point& point, gfx 1892 ash/shelf/shelf_view.cc const gfx::Point& click_point, gfx 1905 ash/shelf/shelf_view.cc gfx::Rect anchor_point = gfx::Rect(click_point, gfx::Size()); gfx 1916 ash/shelf/shelf_view.cc gfx::Vector2d offset = gfx 2036 ash/shelf/shelf_view.cc int ShelfView::CalculateShelfDistance(const gfx::Point& coordinate) const { gfx 2040 ash/shelf/shelf_view.cc const gfx::Rect bounds = GetBoundsInScreen(); gfx 78 ash/shelf/shelf_view.h gfx::Rect GetIdealBoundsOfItemIcon(ShelfID id); gfx 81 ash/shelf/shelf_view.h void UpdatePanelIconPosition(ShelfID id, const gfx::Point& midpoint); gfx 104 ash/shelf/shelf_view.h bool ShouldHideTooltip(const gfx::Point& cursor_location); gfx 108 ash/shelf/shelf_view.h gfx::Rect GetVisibleItemsBoundsInScreen(); gfx 117 ash/shelf/shelf_view.h const gfx::Point& location_in_screen_coordinates, gfx 118 ash/shelf/shelf_view.h const gfx::ImageSkia& icon, gfx 120 ash/shelf/shelf_view.h const gfx::Vector2d& cursor_offset_from_center, gfx 123 ash/shelf/shelf_view.h const gfx::Point& location_in_screen_coordinates) OVERRIDE; gfx 127 ash/shelf/shelf_view.h const gfx::Point& location_in_screen_coordinates) OVERRIDE; gfx 128 ash/shelf/shelf_view.h virtual bool Drag(const gfx::Point& location_in_screen_coordinates) OVERRIDE; gfx 143 ash/shelf/shelf_view.h gfx::Rect overflow_bounds; gfx 226 ash/shelf/shelf_view.h gfx::Rect GetBoundsForDragInsertInScreen(); gfx 255 ash/shelf/shelf_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 256 ash/shelf/shelf_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 301 ash/shelf/shelf_view.h const gfx::Point& point, gfx 310 ash/shelf/shelf_view.h const gfx::Point& click_point, gfx 331 ash/shelf/shelf_view.h int CalculateShelfDistance(const gfx::Point& coordinate) const; gfx 415 ash/shelf/shelf_view.h gfx::Size pre_drag_and_drop_size_; gfx 422 ash/shelf/shelf_view.h gfx::Vector2d drag_image_offset_; gfx 129 ash/shelf/shelf_view_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 165 ash/shelf/shelf_view_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 189 ash/shelf/shelf_view_unittest.cc gfx::Size shelf_size = widget->GetWindowBoundsInScreen().size(); gfx 192 ash/shelf/shelf_view_unittest.cc shelf->SetShelfViewBounds(gfx::Rect(shelf_size)); gfx 387 ash/shelf/shelf_view_unittest.cc gfx::Rect shelf_view_bounds = shelf_view_->GetLocalBounds(); gfx 388 ash/shelf/shelf_view_unittest.cc gfx::Rect item_bounds = test_api_->GetBoundsByIndex(i); gfx 491 ash/shelf/shelf_view_unittest.cc gfx::Point center_point_of_drag_item = gfx 498 ash/shelf/shelf_view_unittest.cc gfx::Point rip_off_point(center_point_of_drag_item.x(), 0); gfx 506 ash/shelf/shelf_view_unittest.cc gfx::Point drop_point = gfx 511 ash/shelf/shelf_view_unittest.cc gfx::Point modified_drop_point(drop_point.x() - item_width / 4, gfx 649 ash/shelf/shelf_view_unittest.cc gfx::Rect item_bounds = button->GetBoundsInScreen(); gfx 650 ash/shelf/shelf_view_unittest.cc gfx::Point icon_offset = button->GetIconBounds().origin(); gfx 652 ash/shelf/shelf_view_unittest.cc gfx::Rect ideal_bounds = shelf_view_->GetIdealBoundsOfItemIcon(id); gfx 653 ash/shelf/shelf_view_unittest.cc gfx::Point screen_origin; gfx 1337 ash/shelf/shelf_view_unittest.cc gfx::Rect app_button_rect = GetButtonByID(app_button_id)->GetMirroredBounds(); gfx 1338 ash/shelf/shelf_view_unittest.cc gfx::Rect platform_button_rect = gfx 1342 ash/shelf/shelf_view_unittest.cc gfx::UnionRects(app_button_rect, platform_button_rect).CenterPoint())); gfx 1345 ash/shelf/shelf_view_unittest.cc gfx::Rect all_area; gfx 1356 ash/shelf/shelf_view_unittest.cc gfx::Point(all_area.right() - 1, all_area.bottom() - 1))); gfx 1358 ash/shelf/shelf_view_unittest.cc gfx::Point(all_area.right(), all_area.y()))); gfx 1360 ash/shelf/shelf_view_unittest.cc gfx::Point(all_area.x() - 1, all_area.y()))); gfx 1362 ash/shelf/shelf_view_unittest.cc gfx::Point(all_area.x(), all_area.y() - 1))); gfx 1364 ash/shelf/shelf_view_unittest.cc gfx::Point(all_area.x(), all_area.bottom()))); gfx 1396 ash/shelf/shelf_view_unittest.cc generator.MoveMouseTo(gfx::Point(0, 0)); gfx 1401 ash/shelf/shelf_view_unittest.cc gfx::Rect bounds = app_list_button->GetBoundsInScreen(); gfx 1448 ash/shelf/shelf_view_unittest.cc gfx::Rect bounds = shelf_view_->bounds(); gfx 1458 ash/shelf/shelf_view_unittest.cc const gfx::Rect& app_list_ideal_bounds = gfx 1460 ash/shelf/shelf_view_unittest.cc const gfx::Rect& app_list_bounds = gfx 1481 ash/shelf/shelf_view_unittest.cc gfx::Size bubble_size = test_for_overflow_view.GetPreferredSize(); gfx 1486 ash/shelf/shelf_view_unittest.cc gfx::Point()); gfx 1489 ash/shelf/shelf_view_unittest.cc gfx::Point start_point = button->GetBoundsInScreen().CenterPoint(); gfx 1490 ash/shelf/shelf_view_unittest.cc gfx::Point rip_off_point(start_point.x(), 0); gfx 1527 ash/shelf/shelf_view_unittest.cc gfx::Rect ideal_bounds_0 = test_api_->GetIdealBoundsByIndex(0); gfx 1528 ash/shelf/shelf_view_unittest.cc gfx::Rect ideal_bounds_1 = test_api_->GetIdealBoundsByIndex(1); gfx 1566 ash/shelf/shelf_view_unittest.cc gfx::Point first_point = first_button->GetBoundsInScreen().CenterPoint(); gfx 1567 ash/shelf/shelf_view_unittest.cc gfx::Point last_point = last_button->GetBoundsInScreen().CenterPoint(); gfx 1568 ash/shelf/shelf_view_unittest.cc gfx::Rect drag_reinsert_bounds = gfx 1617 ash/shelf/shelf_view_unittest.cc gfx::Point point_in_shelf_view = button->GetBoundsInScreen().CenterPoint(); gfx 1618 ash/shelf/shelf_view_unittest.cc gfx::Rect drag_reinsert_bounds = gfx 1623 ash/shelf/shelf_view_unittest.cc gfx::Point(point_in_shelf_view.x(), 0))); gfx 1639 ash/shelf/shelf_view_unittest.cc gfx::Point point_in_secondary_shelf_view = gfx 1641 ash/shelf/shelf_view_unittest.cc gfx::Rect drag_reinsert_bounds_in_secondary = gfx 1647 ash/shelf/shelf_view_unittest.cc gfx::Point(point_in_secondary_shelf_view.x(), 0))); gfx 1682 ash/shelf/shelf_view_unittest.cc gfx::Point start_point = button->GetBoundsInScreen().CenterPoint(); gfx 1711 ash/shelf/shelf_view_unittest.cc gfx::Rect visible_bounds = shelf_view_->GetVisibleItemsBoundsInScreen(); gfx 1712 ash/shelf/shelf_view_unittest.cc gfx::Rect shelf_bounds = shelf_view_->GetBoundsInScreen(); gfx 1721 ash/shelf/shelf_view_unittest.cc gfx::Rect visible_bounds = shelf_view_->GetVisibleItemsBoundsInScreen(); gfx 1722 ash/shelf/shelf_view_unittest.cc gfx::Rect app_list_button_bounds = shelf_view_->GetAppListButtonView()-> gfx 84 ash/shelf/shelf_widget.cc virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 176 ash/shelf/shelf_widget.cc void DimmerView::OnPaintBackground(gfx::Canvas* canvas) { gfx 179 ash/shelf/shelf_widget.cc gfx::ImageSkia shelf_background = gfx 183 ash/shelf/shelf_widget.cc shelf_background = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 247 ash/shelf/shelf_widget.cc : wm::EasyResizeWindowTargeter(container, gfx::Insets(), gfx::Insets()), gfx 260 ash/shelf/shelf_widget.cc gfx::Insets GetInsetsForAlignment(int distance, gfx 264 ash/shelf/shelf_widget.cc return gfx::Insets(distance, 0, 0, 0); gfx 266 ash/shelf/shelf_widget.cc return gfx::Insets(0, 0, 0, distance); gfx 268 ash/shelf/shelf_widget.cc return gfx::Insets(0, distance, 0, 0); gfx 270 ash/shelf/shelf_widget.cc return gfx::Insets(0, 0, distance, 0); gfx 273 ash/shelf/shelf_widget.cc return gfx::Insets(); gfx 283 ash/shelf/shelf_widget.cc gfx::Insets mouse_insets; gfx 284 ash/shelf/shelf_widget.cc gfx::Insets touch_insets; gfx 336 ash/shelf/shelf_widget.cc virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 350 ash/shelf/shelf_widget.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds) OVERRIDE; gfx 358 ash/shelf/shelf_widget.cc const gfx::Rect& old_bounds, gfx 359 ash/shelf/shelf_widget.cc const gfx::Rect& new_bounds) OVERRIDE; gfx 373 ash/shelf/shelf_widget.cc gfx::Rect GetDimmerBoundsForTest(); gfx 456 ash/shelf/shelf_widget.cc void ShelfWidget::DelegateView::OnPaintBackground(gfx::Canvas* canvas) { gfx 458 ash/shelf/shelf_widget.cc gfx::ImageSkia shelf_background = gfx 461 ash/shelf/shelf_widget.cc shelf_background = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 468 ash/shelf/shelf_widget.cc const gfx::Rect dock_bounds(shelf_->shelf_layout_manager()->dock_bounds()); gfx 492 ash/shelf/shelf_widget.cc gfx::ImageSkia shelf_corner = gfx 495 ash/shelf/shelf_widget.cc shelf_corner = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 525 ash/shelf/shelf_widget.cc gfx::Rect black_rect = gfx 527 ash/shelf/shelf_widget.cc gfx::Rect(0, height() - kNumBlackPixels, width(), kNumBlackPixels), gfx 528 ash/shelf/shelf_widget.cc gfx::Rect(0, 0, kNumBlackPixels, height()), gfx 529 ash/shelf/shelf_widget.cc gfx::Rect(width() - kNumBlackPixels, 0, kNumBlackPixels, height()), gfx 530 ash/shelf/shelf_widget.cc gfx::Rect(0, 0, width(), kNumBlackPixels)); gfx 562 ash/shelf/shelf_widget.cc void ShelfWidget::DelegateView::OnBoundsChanged(const gfx::Rect& old_bounds) { gfx 570 ash/shelf/shelf_widget.cc const gfx::Rect& old_bounds, gfx 571 ash/shelf/shelf_widget.cc const gfx::Rect& new_bounds) { gfx 589 ash/shelf/shelf_widget.cc gfx::Rect ShelfWidget::DelegateView::GetDimmerBoundsForTest() { gfx 592 ash/shelf/shelf_widget.cc return gfx::Rect(); gfx 795 ash/shelf/shelf_widget.cc gfx::Rect ShelfWidget::GetDimmerBoundsForTest() { gfx 798 ash/shelf/shelf_widget.cc return gfx::Rect(); gfx 88 ash/shelf/shelf_widget.h gfx::Rect GetDimmerBoundsForTest(); gfx 45 ash/shelf/shelf_widget_unittest.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(root); gfx 135 ash/shelf/shelf_widget_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 182 ash/shelf/shelf_widget_unittest.cc gfx::Rect shelf_bounds = shelf_widget->GetWindowBoundsInScreen(); gfx 194 ash/shelf/shelf_widget_unittest.cc params.bounds = gfx::Rect(0, shelf_bounds.y() - kWindowHeight + kOverlapSize, gfx 200 ash/shelf/shelf_widget_unittest.cc gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); gfx 210 ash/shelf/shelf_widget_unittest.cc gfx::Point event_location(20, shelf_bounds.y() + 1); gfx 226 ash/shelf/shelf_widget_unittest.cc widget->SetBounds(gfx::Rect(0, shelf_bounds.y() - kWindowHeight + gfx 233 ash/shelf/shelf_widget_unittest.cc gfx::Point event_location(20, shelf_bounds.y() + 1); gfx 245 ash/shelf/shelf_widget_unittest.cc gfx::Rect shelf_bounds = shelf_widget->GetWindowBoundsInScreen(); gfx 255 ash/shelf/shelf_widget_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 266 ash/shelf/shelf_widget_unittest.cc gfx::Point event_location(20, shelf_bounds.y() - 1); gfx 284 ash/shelf/shelf_widget_unittest.cc gfx::Point event_location(20, shelf_bounds.y() - 1); gfx 270 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::OnDisplayBoundsChanged(const gfx::Display& display) { gfx 273 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::OnDisplayAdded(const gfx::Display& new_display) { gfx 284 ash/shelf/shelf_window_watcher.cc void ShelfWindowWatcher::OnDisplayRemoved(const gfx::Display& old_display) { gfx 36 ash/shelf/shelf_window_watcher.h public gfx::DisplayObserver { gfx 118 ash/shelf/shelf_window_watcher.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 119 ash/shelf/shelf_window_watcher.h virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; gfx 120 ash/shelf/shelf_window_watcher.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 229 ash/shelf/shelf_window_watcher_unittest.cc gfx::Point(), gfx 233 ash/shelf/shelf_window_watcher_unittest.cc resizer->Drag(gfx::Point(50, 50), 0); gfx 270 ash/shelf/shelf_window_watcher_unittest.cc gfx::Point(), gfx 274 ash/shelf/shelf_window_watcher_unittest.cc resizer->Drag(gfx::Point(50, 50), 0); gfx 225 ash/shell.cc gfx::Screen* Shell::GetScreen() { gfx 226 ash/shell.cc return gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_ALTERNATE); gfx 266 ash/shell.cc void Shell::ShowContextMenu(const gfx::Point& location_in_screen, gfx 276 ash/shell.cc wm::GetRootWindowMatching(gfx::Rect(location_in_screen, gfx::Size())); gfx 333 ash/shell.cc const gfx::Insets& insets) { gfx 943 ash/shell.cc new views::corewm::TooltipAura(gfx::SCREEN_TYPE_ALTERNATE)))); gfx 44 ash/shell.h namespace gfx { gfx 210 ash/shell.h static gfx::Screen* GetScreen(); gfx 233 ash/shell.h void ShowContextMenu(const gfx::Point& location_in_screen, gfx 271 ash/shell.h const gfx::Insets& insets); gfx 575 ash/shell.h typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; gfx 59 ash/shell/app_list.cc static gfx::ImageSkia GetIcon(Type type) { gfx 73 ash/shell/app_list.cc return gfx::ImageSkia::CreateFrom1xBitmap(icon); gfx 218 ash/shell/app_list.cc gfx::ImageSkia CreateSearchBoxIcon() { gfx 220 ash/shell/app_list.cc const gfx::Size icon_size(32, 32); gfx 222 ash/shell/app_list.cc gfx::Canvas canvas(icon_size, 1.0f, false /* is_opaque */); gfx 225 ash/shell/app_list.cc gfx::FontList(), gfx 227 ash/shell/app_list.cc gfx::Rect(icon_size), gfx 228 ash/shell/app_list.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 230 ash/shell/app_list.cc return gfx::ImageSkia(canvas.ExtractImageRep()); gfx 328 ash/shell/app_list.cc virtual gfx::ImageSkia GetWindowIcon() OVERRIDE { gfx 329 ash/shell/app_list.cc return gfx::ImageSkia(); gfx 131 ash/shell/content_client/shell_browser_main_parts.cc gfx::Screen* screen = Shell::GetInstance()->GetScreen(); gfx 144 ash/shell/content_client/shell_browser_main_parts.cc gfx::Screen* screen = Shell::GetInstance()->GetScreen(); gfx 38 ash/shell/lock_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 39 ash/shell/lock_view.cc return gfx::Size(500, 400); gfx 44 ash/shell/lock_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 47 ash/shell/lock_view.cc int string_width = gfx::GetStringWidth(text, font_list_); gfx 49 ash/shell/lock_view.cc gfx::Rect((width() - string_width)/ 2, gfx 54 ash/shell/lock_view.cc gfx::Rect bounds = GetLocalBounds(); gfx 55 ash/shell/lock_view.cc gfx::Size ps = unlock_button_->GetPreferredSize(); gfx 79 ash/shell/lock_view.cc gfx::FontList font_list_; gfx 90 ash/shell/lock_view.cc gfx::Size ps = lock_view->GetPreferredSize(); gfx 92 ash/shell/lock_view.cc gfx::Size root_window_size = Shell::GetPrimaryRootWindow()->bounds().size(); gfx 93 ash/shell/lock_view.cc params.bounds = gfx::Rect((root_window_size.width() - ps.width()) / 2, gfx 26 ash/shell/panel_window.cc views::Widget* PanelWindow::CreatePanelWindow(const gfx::Rect& rect) { gfx 60 ash/shell/panel_window.cc gfx::Size PanelWindow::GetPreferredSize() { gfx 61 ash/shell/panel_window.cc return gfx::Size(kMinWidth, kMinHeight); gfx 64 ash/shell/panel_window.cc void PanelWindow::OnPaint(gfx::Canvas* canvas) { gfx 32 ash/shell/panel_window.h static views::Widget* CreatePanelWindow(const gfx::Rect& rect); gfx 36 ash/shell/panel_window.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 37 ash/shell/panel_window.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 22 ash/shell/toplevel_window.cc gfx::Rect bounds; gfx 61 ash/shell/toplevel_window.cc void ToplevelWindow::OnPaint(gfx::Canvas* canvas) { gfx 69 ash/shell/toplevel_window.cc void ToplevelWindow::SaveWindowPlacement(const gfx::Rect& bounds, gfx 79 ash/shell/toplevel_window.cc gfx::Rect* bounds, gfx 33 ash/shell/toplevel_window.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 38 ash/shell/toplevel_window.h const gfx::Rect& bounds, gfx 42 ash/shell/toplevel_window.h gfx::Rect* bounds, gfx 33 ash/shell/widgets.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 35 ash/shell/widgets.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 100 ash/shell/widgets.cc void WidgetsWindow::OnPaint(gfx::Canvas* canvas) { gfx 110 ash/shell/widgets.cc gfx::Size preferred = view->GetPreferredSize(); gfx 116 ash/shell/widgets.cc gfx::Size WidgetsWindow::GetPreferredSize() { gfx 117 ash/shell/widgets.cc return gfx::Size(kWindowWidth, kWindowHeight); gfx 138 ash/shell/widgets.cc gfx::Rect bounds(kWindowLeft, kWindowTop, kWindowWidth, kWindowHeight); gfx 76 ash/shell/window_type_launcher.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 79 ash/shell/window_type_launcher.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 80 ash/shell/window_type_launcher.cc return gfx::Size(200, 200); gfx 83 ash/shell/window_type_launcher.cc gfx::Size open_ps = open_button_->GetPreferredSize(); gfx 84 ash/shell/window_type_launcher.cc gfx::Rect local_bounds = GetLocalBounds(); gfx 148 ash/shell/window_type_launcher.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 151 ash/shell/window_type_launcher.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 152 ash/shell/window_type_launcher.cc return gfx::Size(250, 250); gfx 196 ash/shell/window_type_launcher.cc gfx::Rect(120, 150, 300, 410)); gfx 277 ash/shell/window_type_launcher.cc void WindowTypeLauncher::OnPaint(gfx::Canvas* canvas) { gfx 310 ash/shell/window_type_launcher.cc PanelWindow::CreatePanelWindow(gfx::Rect()); gfx 346 ash/shell/window_type_launcher.cc gfx::Image(), gfx 379 ash/shell/window_type_launcher.cc const gfx::Point& point, gfx 391 ash/shell/window_type_launcher.cc gfx::Rect(point, gfx::Size()), gfx 32 ash/shell/window_type_launcher.h typedef std::pair<aura::Window*, gfx::Rect> WindowAndBoundsPair; gfx 40 ash/shell/window_type_launcher.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 58 ash/shell/window_type_launcher.h const gfx::Point& point, gfx 115 ash/shell/window_watcher.cc item.image = gfx::ImageSkia(gfx::ImageSkiaRep(icon_bitmap, 1.0f)); gfx 141 ash/shell/window_watcher.cc void WindowWatcher::OnDisplayBoundsChanged(const gfx::Display& display) { gfx 144 ash/shell/window_watcher.cc void WindowWatcher::OnDisplayAdded(const gfx::Display& new_display) { gfx 150 ash/shell/window_watcher.cc void WindowWatcher::OnDisplayRemoved(const gfx::Display& old_display) { gfx 29 ash/shell/window_watcher.h public gfx::DisplayObserver { gfx 41 ash/shell/window_watcher.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 42 ash/shell/window_watcher.h virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 43 ash/shell/window_watcher.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 14 ash/shell_factory.h namespace gfx { gfx 383 ash/shell_unittest.cc menu_runner->RunMenuAt(widget, NULL, gfx::Rect(), gfx 58 ash/sticky_keys/sticky_keys_overlay.cc virtual void PaintText(gfx::Canvas* canvas, gfx 60 ash/sticky_keys/sticky_keys_overlay.cc const gfx::Rect& text_bounds, gfx 73 ash/sticky_keys/sticky_keys_overlay.cc SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 90 ash/sticky_keys/sticky_keys_overlay.cc style = gfx::Font::NORMAL; gfx 94 ash/sticky_keys/sticky_keys_overlay.cc style = gfx::Font::UNDERLINE; gfx 98 ash/sticky_keys/sticky_keys_overlay.cc style = gfx::Font::NORMAL; gfx 107 ash/sticky_keys/sticky_keys_overlay.cc void StickyKeyOverlayLabel::PaintText(gfx::Canvas* canvas, gfx 109 ash/sticky_keys/sticky_keys_overlay.cc const gfx::Rect& text_bounds, gfx 114 ash/sticky_keys/sticky_keys_overlay.cc flags | gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 127 ash/sticky_keys/sticky_keys_overlay.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 145 ash/sticky_keys/sticky_keys_overlay.cc const gfx::Font& font = gfx 172 ash/sticky_keys/sticky_keys_overlay.cc void StickyKeysOverlayView::OnPaint(gfx::Canvas* canvas) { gfx 252 ash/sticky_keys/sticky_keys_overlay.cc gfx::Transform transform; gfx 261 ash/sticky_keys/sticky_keys_overlay.cc settings.SetTweenType(visible ? gfx::Tween::EASE_OUT : gfx::Tween::EASE_IN); gfx 265 ash/sticky_keys/sticky_keys_overlay.cc overlay_widget_->GetLayer()->SetTransform(gfx::Transform()); gfx 284 ash/sticky_keys/sticky_keys_overlay.cc gfx::Rect StickyKeysOverlay::CalculateOverlayBounds() { gfx 286 ash/sticky_keys/sticky_keys_overlay.cc return gfx::Rect(gfx::Point(x, kVerticalOverlayOffset), widget_size_); gfx 15 ash/sticky_keys/sticky_keys_overlay.h namespace gfx { gfx 54 ash/sticky_keys/sticky_keys_overlay.h gfx::Rect CalculateOverlayBounds(); gfx 68 ash/sticky_keys/sticky_keys_overlay.h gfx::Size widget_size_; gfx 180 ash/sticky_keys/sticky_keys_unittest.cc return GenerateMouseEventAt(is_button_press, gfx::Point()); gfx 186 ash/sticky_keys/sticky_keys_unittest.cc const gfx::Point& location) { gfx 251 ash/sticky_keys/sticky_keys_unittest.cc gfx::Point(0, 0), gfx 252 ash/sticky_keys/sticky_keys_unittest.cc gfx::Point(0, 0), gfx 264 ash/sticky_keys/sticky_keys_unittest.cc gfx::Point(x, y), gfx 265 ash/sticky_keys/sticky_keys_unittest.cc gfx::Point(x, y), gfx 857 ash/sticky_keys/sticky_keys_unittest.cc gfx::Point physical_location(400, 400); gfx 858 ash/sticky_keys/sticky_keys_unittest.cc gfx::Point dip_location(physical_location.x() / scale_factor, gfx 50 ash/system/audio/volume_view.cc SetPreferredSize(gfx::Size(kTrayPopupItemHeight, kTrayPopupItemHeight)); gfx 64 ash/system/audio/volume_view.cc gfx::Rect region(0, image_index * kVolumeImageHeight, gfx 66 ash/system/audio/volume_view.cc gfx::ImageSkia image_skia = gfx::ImageSkiaOperations::ExtractSubset( gfx 76 ash/system/audio/volume_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 77 ash/system/audio/volume_view.cc gfx::Size size = views::ToggleImageButton::GetPreferredSize(); gfx 83 ash/system/audio/volume_view.cc gfx::Image image_; gfx 122 ash/system/audio/volume_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 123 ash/system/audio/volume_view.cc return gfx::Size(kBarSeparatorWidth, kBarSeparatorHeight); gfx 127 ash/system/audio/volume_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 128 ash/system/audio/volume_view.cc canvas->FillRect(gfx::Rect(width() / 2, 0, 1, height()), gfx 248 ash/system/audio/volume_view.cc slider_->SetSize(gfx::Size(w, slider_->height())); gfx 253 ash/system/audio/volume_view.cc gfx::Size size = more_->GetPreferredSize(); gfx 254 ash/system/audio/volume_view.cc gfx::Rect bounds(size); gfx 265 ash/system/audio/volume_view.cc gfx::Size view_size = view_left_to_more->GetPreferredSize(); gfx 266 ash/system/audio/volume_view.cc gfx::Rect view_bounds(view_size); gfx 274 ash/system/audio/volume_view.cc gfx::Size bar_size = bar_->GetPreferredSize(); gfx 275 ash/system/audio/volume_view.cc gfx::Rect bar_bounds(bar_size); gfx 282 ash/system/audio/volume_view.cc gfx::Rect slider_bounds = slider_->bounds(); gfx 243 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::NORMAL, false, true); gfx 263 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::NORMAL, false, true); gfx 278 ash/system/bluetooth/tray_bluetooth.cc bold? gfx::Font::BOLD : gfx::Font::NORMAL, gfx 285 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::FontStyle style, gfx 313 ash/system/bluetooth/tray_bluetooth.cc gfx::Font::NORMAL); gfx 346 ash/system/bluetooth/tray_bluetooth.cc AddCheckableLabel(display_name, gfx::Font::BOLD, false); gfx 91 ash/system/chromeos/audio/audio_detailed_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 99 ash/system/chromeos/audio/audio_detailed_view.cc gfx::Font::FontStyle style, gfx 140 ash/system/chromeos/audio/audio_detailed_view.cc gfx::Font::NORMAL, gfx 153 ash/system/chromeos/audio/audio_detailed_view.cc gfx::Font::NORMAL, gfx 37 ash/system/chromeos/audio/audio_detailed_view.h gfx::Font::FontStyle style, gfx 66 ash/system/chromeos/brightness/tray_brightness.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds) OVERRIDE; gfx 101 ash/system/chromeos/brightness/tray_brightness.cc gfx::Image image = ui::ResourceBundle::GetSharedInstance().GetImageNamed( gfx 139 ash/system/chromeos/brightness/tray_brightness.cc void BrightnessView::OnBoundsChanged(const gfx::Rect& old_bounds) { gfx 141 ash/system/chromeos/brightness/tray_brightness.cc slider_->SetSize(gfx::Size(w, slider_->height())); gfx 48 ash/system/chromeos/label_tray_view.cc const gfx::ImageSkia* icon = rb.GetImageSkiaNamed(icon_resource_id_); gfx 49 ash/system/chromeos/label_tray_view.cc child->AddIconAndLabel(*icon, message, gfx::Font::NORMAL); gfx 55 ash/system/chromeos/label_tray_view.cc child->AddLabel(message, gfx::Font::NORMAL); gfx 69 ash/system/chromeos/network/network_connect.cc gfx::NativeWindow parent_window) { gfx 139 ash/system/chromeos/network/network_connect.cc gfx::NativeWindow parent_window, gfx 212 ash/system/chromeos/network/network_connect.cc gfx::NativeWindow parent_window) { gfx 249 ash/system/chromeos/network/network_connect.cc const gfx::NativeWindow parent_window = NULL; gfx 300 ash/system/chromeos/network/network_connect.cc const gfx::NativeWindow parent_window = NULL; gfx 341 ash/system/chromeos/network/network_connect.cc gfx::NativeWindow parent_window) { gfx 34 ash/system/chromeos/network/network_connect.h gfx::NativeWindow parent_window); gfx 49 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* top_left; gfx 50 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* top_right; gfx 51 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* bottom_left; gfx 52 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* bottom_right; gfx 65 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia& image() const { return image_; } gfx 96 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* technology_badge_; gfx 99 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* vpn_badge_; gfx 108 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia image_; gfx 181 ash/system/chromeos/network/network_icon.cc const SkBitmap GetEmptyBitmap(const gfx::Size pixel_size) { gfx 200 ash/system/chromeos/network/network_icon.cc class EmptyImageSource: public gfx::ImageSkiaSource { gfx 202 ash/system/chromeos/network/network_icon.cc explicit EmptyImageSource(const gfx::Size& size) gfx 206 ash/system/chromeos/network/network_icon.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 207 ash/system/chromeos/network/network_icon.cc gfx::Size pixel_size = gfx::ToFlooredSize(gfx::ScaleSize(size_, scale)); gfx 209 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkiaRep(empty_bitmap, scale); gfx 213 ash/system/chromeos/network/network_icon.cc const gfx::Size size_; gfx 219 ash/system/chromeos/network/network_icon.cc class NetworkIconImageSource : public gfx::ImageSkiaSource { gfx 221 ash/system/chromeos/network/network_icon.cc NetworkIconImageSource(const gfx::ImageSkia& icon, const Badges& badges) gfx 229 ash/system/chromeos/network/network_icon.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 230 ash/system/chromeos/network/network_icon.cc gfx::ImageSkiaRep icon_rep = icon_.GetRepresentation(scale); gfx 232 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkiaRep(); gfx 233 ash/system/chromeos/network/network_icon.cc gfx::Canvas canvas(icon_rep, false); gfx 252 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia icon_; gfx 273 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* BaseImageForType(ImageType image_type, IconType icon_type) { gfx 274 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* image; gfx 297 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetImageForIndex(ImageType image_type, gfx 302 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkia(); gfx 303 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* images = BaseImageForType(image_type, icon_type); gfx 306 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkiaOperations::ExtractSubset(*images, gfx 307 ash/system/chromeos/network/network_icon.cc gfx::Rect(0, index * height, width, height)); gfx 310 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia GetConnectedImage(const std::string& type, gfx 321 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia GetDisconnectedImage(const std::string& type, gfx 333 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* ConnectingWirelessImage(ImageType image_type, gfx 336 ash/system/chromeos/network/network_icon.cc static gfx::ImageSkia* s_bars_images_dark[kNumBarsImages - 1]; gfx 337 ash/system/chromeos/network/network_icon.cc static gfx::ImageSkia* s_bars_images_light[kNumBarsImages - 1]; gfx 338 ash/system/chromeos/network/network_icon.cc static gfx::ImageSkia* s_arcs_images_dark[kNumArcsImages - 1]; gfx 339 ash/system/chromeos/network/network_icon.cc static gfx::ImageSkia* s_arcs_images_light[kNumArcsImages - 1]; gfx 343 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia** images; gfx 351 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia source = GetImageForIndex(image_type, icon_type, index + 1); gfx 352 ash/system/chromeos/network/network_icon.cc images[index] = new gfx::ImageSkia( gfx 353 ash/system/chromeos/network/network_icon.cc gfx::ImageSkiaOperations::CreateBlendedImage( gfx 354 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia(new EmptyImageSource(source.size()), source.size()), gfx 361 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* ConnectingVpnImage(double animation) { gfx 363 ash/system/chromeos/network/network_icon.cc static gfx::ImageSkia* s_vpn_images[kNumFadeImages]; gfx 367 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* icon = rb.GetImageSkiaNamed(IDR_AURA_UBER_TRAY_NETWORK_VPN); gfx 368 ash/system/chromeos/network/network_icon.cc s_vpn_images[index] = new gfx::ImageSkia( gfx 369 ash/system/chromeos/network/network_icon.cc gfx::ImageSkiaOperations::CreateBlendedImage( gfx 370 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia(new EmptyImageSource(icon->size()), icon->size()), gfx 377 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* ConnectingVpnBadge(double animation) { gfx 379 ash/system/chromeos/network/network_icon.cc static gfx::ImageSkia* s_vpn_badges[kNumFadeImages]; gfx 383 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* icon = gfx 385 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* badge = gfx 387 ash/system/chromeos/network/network_icon.cc s_vpn_badges[index] = new gfx::ImageSkia( gfx 388 ash/system/chromeos/network/network_icon.cc gfx::ImageSkiaOperations::CreateBlendedImage( gfx 389 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia(new EmptyImageSource(icon->size()), icon->size()), gfx 414 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* BadgeForNetworkTechnology(const NetworkState* network, gfx 464 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* BadgeForVPN(IconType icon_type) { gfx 469 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetIcon(const NetworkState* network, gfx 491 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetConnectingVpnImage(IconType icon_type) { gfx 501 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia icon = GetImageForNetwork(connected_network, icon_type); gfx 504 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkia( gfx 507 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* icon = ConnectingVpnImage(animation); gfx 508 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkia( gfx 513 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetConnectingImage(const std::string& network_type, gfx 521 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* icon = ConnectingWirelessImage( gfx 523 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkia( gfx 584 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* technology_badge = gfx 663 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* badge = rb.GetImageSkiaNamed( gfx 673 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia icon = GetIcon(network, icon_type_, strength_index_); gfx 676 ash/system/chromeos/network/network_icon.cc image_ = gfx::ImageSkia( gfx 683 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetImageForNetwork(const NetworkState* network, gfx 706 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetImageForConnectedNetwork(IconType icon_type, gfx 711 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetImageForConnectingNetwork(IconType icon_type, gfx 716 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetImageForDisconnectedNetwork(IconType icon_type, gfx 794 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia* image, gfx 825 ash/system/chromeos/network/network_icon.cc *image = gfx::ImageSkia(); gfx 33 ash/system/chromeos/network/network_icon.h ASH_EXPORT gfx::ImageSkia GetImageForNetwork( gfx 38 ash/system/chromeos/network/network_icon.h ASH_EXPORT gfx::ImageSkia GetImageForConnectedNetwork( gfx 43 ash/system/chromeos/network/network_icon.h ASH_EXPORT gfx::ImageSkia GetImageForConnectingNetwork( gfx 48 ash/system/chromeos/network/network_icon.h ASH_EXPORT gfx::ImageSkia GetImageForDisconnectedNetwork( gfx 64 ash/system/chromeos/network/network_icon.h gfx::ImageSkia* image, gfx 20 ash/system/chromeos/network/network_icon_animation.cc animation_.SetTweenType(gfx::Tween::LINEAR); gfx 27 ash/system/chromeos/network/network_icon_animation.cc const gfx::Animation* animation) { gfx 22 ash/system/chromeos/network/network_icon_animation.h class ASH_EXPORT NetworkIconAnimation : public gfx::AnimationDelegate { gfx 36 ash/system/chromeos/network/network_icon_animation.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 41 ash/system/chromeos/network/network_icon_animation.h gfx::ThrobAnimation animation_; gfx 77 ash/system/chromeos/network/network_state_list_detailed_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 108 ash/system/chromeos/network/network_state_list_detailed_view.cc gfx::ImageSkia image; gfx 562 ash/system/chromeos/network/network_state_list_detailed_view.cc gfx::Font::FontStyle font = gfx 563 ash/system/chromeos/network/network_state_list_detailed_view.cc info->highlight ? gfx::Font::BOLD : gfx::Font::NORMAL; gfx 75 ash/system/chromeos/network/network_state_notifier.cc const gfx::Image& icon = gfx 191 ash/system/chromeos/network/network_state_notifier.cc const gfx::Image& icon = gfx 71 ash/system/chromeos/network/tray_network.cc gfx::ImageSkia image; gfx 128 ash/system/chromeos/network/tray_network.cc void UpdateIcon(bool tray_icon_visible, const gfx::ImageSkia& image) { gfx 155 ash/system/chromeos/network/tray_network.cc gfx::ImageSkia image; gfx 193 ash/system/chromeos/network/tray_network.cc label_view_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 101 ash/system/chromeos/network/tray_sms.cc number_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 104 ash/system/chromeos/network/tray_sms.cc message_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 203 ash/system/chromeos/network/tray_sms.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 204 ash/system/chromeos/network/tray_sms.cc gfx::Size preferred_size = TrayDetailsView::GetPreferredSize(); gfx 54 ash/system/chromeos/network/tray_vpn.cc gfx::ImageSkia image; gfx 73 ash/system/chromeos/network/tray_vpn.cc void GetNetworkStateHandlerImageAndLabel(gfx::ImageSkia* image, gfx 202 ash/system/chromeos/power/power_status.cc gfx::ImageSkia PowerStatus::GetBatteryImage(IconSet icon_set) const { gfx 203 ash/system/chromeos/power/power_status.cc gfx::Image all; gfx 233 ash/system/chromeos/power/power_status.cc gfx::Rect region( gfx 236 ash/system/chromeos/power/power_status.cc return gfx::ImageSkiaOperations::ExtractSubset(*all.ToImageSkia(), region); gfx 129 ash/system/chromeos/power/power_status.h gfx::ImageSkia GetBatteryImage(IconSet icon_set) const; gfx 97 ash/system/chromeos/power/power_status_view.cc status_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 100 ash/system/chromeos/power/power_status_view.cc time_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 200 ash/system/chromeos/power/power_status_view.cc gfx::Size PowerStatusView::GetPreferredSize() { gfx 201 ash/system/chromeos/power/power_status_view.cc gfx::Size size = views::View::GetPreferredSize(); gfx 202 ash/system/chromeos/power/power_status_view.cc return gfx::Size(size.width(), kTrayPopupItemHeight); gfx 31 ash/system/chromeos/power/power_status_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 13 ash/system/chromeos/power/tray_power.h namespace gfx { gfx 63 ash/system/chromeos/screen_security/screen_tray_item.cc gfx::Size stop_size = stop_button_->GetPreferredSize(); gfx 64 ash/system/chromeos/screen_security/screen_tray_item.cc gfx::Rect stop_bounds(stop_size); gfx 71 ash/system/chromeos/screen_security/screen_tray_item.cc gfx::Rect label_bounds = label_->bounds(); gfx 96 ash/system/chromeos/screen_security/screen_tray_item.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 36 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc gfx::Point click_location_in_local = gfx 37 ash/system/chromeos/screen_security/screen_tray_item_unittest.cc gfx::Point(view->width() / 2, view->height() / 2); gfx 82 ash/system/chromeos/session/logout_button_tray.cc gfx::Insets insets = border->GetInsets(); gfx 83 ash/system/chromeos/session/logout_button_tray.cc insets += gfx::Insets(0, kLogoutButtonHorizontalExtraPadding, gfx 89 ash/system/chromeos/session/logout_button_tray.cc set_min_size(gfx::Size(0, GetShelfItemHeight())); gfx 41 ash/system/chromeos/session/logout_confirmation_dialog.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 53 ash/system/chromeos/session/tray_session_length_limit.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 56 ash/system/chromeos/session/tray_session_length_limit.cc label->font_list().GetFontStyle() & ~gfx::Font::BOLD)); gfx 89 ash/system/chromeos/settings/tray_settings.cc gfx::Size size = power_status_view_->GetPreferredSize(); gfx 90 ash/system/chromeos/settings/tray_settings.cc gfx::Rect bounds(size); gfx 54 ash/system/chromeos/tray_caps_lock.cc text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 98 ash/system/chromeos/tray_caps_lock.cc const gfx::Size text_size = text_label_->size(); gfx 99 ash/system/chromeos/tray_caps_lock.cc text_label_->SetSize(gfx::Size(text_size.width() + new_x - old_x, gfx 201 ash/system/chromeos/tray_caps_lock.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 48 ash/system/chromeos/tray_display.cc const gfx::Display* display = &display_manager->GetDisplayForId(display_id); gfx 90 ash/system/chromeos/tray_display.cc int64 internal_id = gfx::Display::kInvalidDisplayID; gfx 148 ash/system/chromeos/tray_display.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 168 ash/system/chromeos/tray_display.cc virtual bool GetTooltipText(const gfx::Point& p, gfx 186 ash/system/chromeos/tray_display.cc int64 external_id = gfx::Display::kInvalidDisplayID; gfx 189 ash/system/chromeos/tray_display.cc if (id != gfx::Display::InternalDisplayId()) { gfx 195 ash/system/chromeos/tray_display.cc if (external_id == gfx::Display::kInvalidDisplayID) { gfx 205 ash/system/chromeos/tray_display.cc if (display_info.rotation() != gfx::Display::ROTATE_0 || gfx 261 ash/system/chromeos/tray_display.cc return display_info.rotation() != gfx::Display::ROTATE_0 || gfx 273 ash/system/chromeos/tray_display.cc virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE { gfx 341 ash/system/chromeos/tray_display.cc case gfx::Display::ROTATE_0: gfx 344 ash/system/chromeos/tray_display.cc case gfx::Display::ROTATE_90: gfx 347 ash/system/chromeos/tray_display.cc case gfx::Display::ROTATE_180: gfx 350 ash/system/chromeos/tray_display.cc case gfx::Display::ROTATE_270: gfx 146 ash/system/chromeos/tray_display_unittest.cc if (!tray_display_->default_view()->GetTooltipText(gfx::Point(), &tooltip)) gfx 207 ash/system/chromeos/tray_display_unittest.cc gfx::Display::SetInternalDisplayId(display_manager->first_display_id()); gfx 241 ash/system/chromeos/tray_display_unittest.cc gfx::Display::SetInternalDisplayId(display_manager->first_display_id()); gfx 282 ash/system/chromeos/tray_display_unittest.cc gfx::Display::SetInternalDisplayId(ScreenUtil::GetSecondaryDisplay().id()); gfx 298 ash/system/chromeos/tray_display_unittest.cc gfx::Display::SetInternalDisplayId(display_manager->first_display_id()); gfx 306 ash/system/chromeos/tray_display_unittest.cc const gfx::Display& secondary_display = ScreenUtil::GetSecondaryDisplay(); gfx 338 ash/system/chromeos/tray_display_unittest.cc gfx::Display::SetInternalDisplayId(display_manager->first_display_id()); gfx 361 ash/system/chromeos/tray_display_unittest.cc ScreenUtil::GetSecondaryDisplay().id(), gfx::Insets()); gfx 420 ash/system/chromeos/tray_display_unittest.cc gfx::Display::SetInternalDisplayId(display_manager->first_display_id()); gfx 520 ash/system/chromeos/tray_display_unittest.cc gfx::Display::SetInternalDisplayId(ScreenUtil::GetSecondaryDisplay().id()); gfx 42 ash/system/chromeos/tray_tracing.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 30 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 43 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc gfx::Size VirtualKeyboardButton::GetPreferredSize() { gfx 45 ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc gfx::Size size = ImageButton::GetPreferredSize(); gfx 75 ash/system/date/date_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 311 ash/system/date/date_view.cc label->font_list().GetFontStyle() & ~gfx::Font::BOLD)); gfx 132 ash/system/drive/tray_drive.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 133 ash/system/drive/tray_drive.cc return gfx::Size(kProgressBarWidth, kProgressBarHeight); gfx 169 ash/system/drive/tray_drive.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 201 ash/system/drive/tray_drive.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 202 ash/system/drive/tray_drive.cc return gfx::Size( gfx 214 ash/system/drive/tray_drive.cc gfx::Rect child_area(GetLocalBounds()); gfx 221 ash/system/drive/tray_drive.cc gfx::Rect bounds_status( gfx 222 ash/system/drive/tray_drive.cc gfx::Point(pos_x, gfx 228 ash/system/drive/tray_drive.cc gfx::IntersectRects(bounds_status, child_area)); gfx 231 ash/system/drive/tray_drive.cc gfx::Rect bounds_label(pos_x, gfx 239 ash/system/drive/tray_drive.cc gfx::IntersectRects(bounds_label, child_area)); gfx 242 ash/system/drive/tray_drive.cc gfx::Rect bounds_button( gfx 243 ash/system/drive/tray_drive.cc gfx::Point(pos_x, gfx 249 ash/system/drive/tray_drive.cc gfx::IntersectRects(bounds_button, child_area)); gfx 277 ash/system/drive/tray_drive.cc gfx::ImageSkia* GetImageForState( gfx 360 ash/system/drive/tray_drive.cc gfx::Font::NORMAL); gfx 378 ash/system/drive/tray_drive.cc gfx::ImageSkia* in_progress_img_; gfx 379 ash/system/drive/tray_drive.cc gfx::ImageSkia* done_img_; gfx 380 ash/system/drive/tray_drive.cc gfx::ImageSkia* failed_img_; gfx 104 ash/system/ime/tray_ime.cc list[i].selected ? gfx::Font::BOLD : gfx::Font::NORMAL); gfx 116 ash/system/ime/tray_ime.cc property_list[i].selected ? gfx::Font::BOLD : gfx::Font::NORMAL); gfx 129 ash/system/ime/tray_ime.cc gfx::Font::NORMAL); gfx 86 ash/system/overview/overview_button_tray_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20))); gfx 24 ash/system/tray/actionable_view.cc void ActionableView::OnPaintFocus(gfx::Canvas* canvas) { gfx 25 ash/system/tray/actionable_view.cc gfx::Rect rect(GetFocusBounds()); gfx 30 ash/system/tray/actionable_view.cc gfx::Rect ActionableView::GetFocusBounds() { gfx 70 ash/system/tray/actionable_view.cc void ActionableView::OnPaint(gfx::Canvas* canvas) { gfx 33 ash/system/tray/actionable_view.h void OnPaintFocus(gfx::Canvas* canvas); gfx 36 ash/system/tray/actionable_view.h virtual gfx::Rect GetFocusBounds(); gfx 50 ash/system/tray/actionable_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 218 ash/system/tray/default_system_tray_delegate.cc gfx::NativeWindow parent_window) { gfx 222 ash/system/tray/default_system_tray_delegate.cc gfx::NativeWindow parent_window) { gfx 72 ash/system/tray/default_system_tray_delegate.h gfx::NativeWindow parent_window) OVERRIDE; gfx 74 ash/system/tray/default_system_tray_delegate.h gfx::NativeWindow parent_window) OVERRIDE; gfx 19 ash/system/tray/fixed_sized_image_view.cc gfx::Size FixedSizedImageView::GetPreferredSize() { gfx 20 ash/system/tray/fixed_sized_image_view.cc gfx::Size size = views::ImageView::GetPreferredSize(); gfx 21 ash/system/tray/fixed_sized_image_view.cc return gfx::Size(width_ ? width_ : size.width(), gfx 23 ash/system/tray/fixed_sized_image_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 18 ash/system/tray/fixed_sized_scroll_view.cc view->SetBoundsRect(gfx::Rect(view->GetPreferredSize())); gfx 21 ash/system/tray/fixed_sized_scroll_view.cc void FixedSizedScrollView::SetFixedSize(const gfx::Size& size) { gfx 28 ash/system/tray/fixed_sized_scroll_view.cc gfx::Size FixedSizedScrollView::GetPreferredSize() { gfx 29 ash/system/tray/fixed_sized_scroll_view.cc gfx::Size size = fixed_size_.IsEmpty() ? gfx 31 ash/system/tray/fixed_sized_scroll_view.cc gfx::Insets insets = GetInsets(); gfx 37 ash/system/tray/fixed_sized_scroll_view.cc gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); gfx 43 ash/system/tray/fixed_sized_scroll_view.cc gfx::Rect bounds = contents()->bounds(); gfx 49 ash/system/tray/fixed_sized_scroll_view.cc void FixedSizedScrollView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 50 ash/system/tray/fixed_sized_scroll_view.cc gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); gfx 24 ash/system/tray/fixed_sized_scroll_view.h void SetFixedSize(const gfx::Size& size); gfx 26 ash/system/tray/fixed_sized_scroll_view.h void set_fixed_size(const gfx::Size& size) { fixed_size_ = size; } gfx 29 ash/system/tray/fixed_sized_scroll_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 34 ash/system/tray/fixed_sized_scroll_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 37 ash/system/tray/fixed_sized_scroll_view.h gfx::Size fixed_size_; gfx 46 ash/system/tray/hover_highlight_view.cc void HoverHighlightView::AddIconAndLabel(const gfx::ImageSkia& image, gfx 48 ash/system/tray/hover_highlight_view.cc gfx::Font::FontStyle style) { gfx 57 ash/system/tray/hover_highlight_view.cc text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 67 ash/system/tray/hover_highlight_view.cc gfx::Font::FontStyle style) { gfx 80 ash/system/tray/hover_highlight_view.cc text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 94 ash/system/tray/hover_highlight_view.cc gfx::Font::FontStyle style, gfx 100 ash/system/tray/hover_highlight_view.cc const gfx::ImageSkia* check = gfx 112 ash/system/tray/hover_highlight_view.cc text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 149 ash/system/tray/hover_highlight_view.cc gfx::Size HoverHighlightView::GetPreferredSize() { gfx 150 ash/system/tray/hover_highlight_view.cc gfx::Size size = ActionableView::GetPreferredSize(); gfx 179 ash/system/tray/hover_highlight_view.cc void HoverHighlightView::OnPaintBackground(gfx::Canvas* canvas) { gfx 184 ash/system/tray/hover_highlight_view.cc ScrollRectToVisible(gfx::Rect(gfx::Point(), size())); gfx 30 ash/system/tray/hover_highlight_view.h void AddIconAndLabel(const gfx::ImageSkia& image, gfx 32 ash/system/tray/hover_highlight_view.h gfx::Font::FontStyle style); gfx 38 ash/system/tray/hover_highlight_view.h gfx::Font::FontStyle style); gfx 44 ash/system/tray/hover_highlight_view.h gfx::Font::FontStyle style, gfx 66 ash/system/tray/hover_highlight_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 71 ash/system/tray/hover_highlight_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 67 ash/system/tray/special_popup_row.cc gfx::Font::BOLD); gfx 99 ash/system/tray/special_popup_row.cc gfx::Size SpecialPopupRow::GetPreferredSize() { gfx 100 ash/system/tray/special_popup_row.cc gfx::Size size = views::View::GetPreferredSize(); gfx 111 ash/system/tray/special_popup_row.cc gfx::Rect content_bounds = GetContentsBounds(); gfx 119 ash/system/tray/special_popup_row.cc gfx::Rect bounds(button_container_->GetPreferredSize()); gfx 121 ash/system/tray/special_popup_row.cc gfx::Rect container_bounds = content_bounds; gfx 38 ash/system/tray/special_popup_row.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 418 ash/system/tray/system_tray.cc gfx::Point point(item_view->width() / 2, 0); gfx 575 ash/system/tray/system_tray.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 662 ash/system/tray/system_tray.cc gfx::Rect SystemTray::GetAnchorRect( gfx 693 ash/system/tray/system_tray.cc gfx::Point point(located_event.x(), 0); gfx 138 ash/system/tray/system_tray.h virtual gfx::Rect GetAnchorRect(views::Widget* anchor_widget, gfx 90 ash/system/tray/system_tray_bubble.cc virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE { gfx 96 ash/system/tray/system_tray_bubble.cc canvas->FillRect(gfx::Rect(size()), (hover_ && change_background_) ? gfx 172 ash/system/tray/system_tray_bubble.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 173 ash/system/tray/system_tray_bubble.cc gfx::Transform transform; gfx 197 ash/system/tray/system_tray_bubble.cc settings.SetTweenType(gfx::Tween::LINEAR); gfx 233 ash/system/tray/system_tray_bubble.cc gfx::Rect bounds = new_layer->bounds(); gfx 234 ash/system/tray/system_tray_bubble.cc gfx::Transform transform; gfx 243 ash/system/tray/system_tray_bubble.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 244 ash/system/tray/system_tray_bubble.cc new_layer->SetTransform(gfx::Transform()); gfx 36 ash/system/tray/system_tray_delegate.h gfx::ImageSkia image; gfx 273 ash/system/tray/system_tray_delegate.h gfx::NativeWindow parent_window) = 0; gfx 279 ash/system/tray/system_tray_delegate.h gfx::NativeWindow parent_window) = 0; gfx 253 ash/system/tray/system_tray_unittest.cc gfx::Size initial_size = tray->GetWidget()->GetWindowBoundsInScreen().size(); gfx 258 ash/system/tray/system_tray_unittest.cc gfx::Size new_size = tray->GetWidget()->GetWindowBoundsInScreen().size(); gfx 324 ash/system/tray/system_tray_unittest.cc gfx::Rect bubble_bounds = widget->GetWindowBoundsInScreen(); gfx 354 ash/system/tray/system_tray_unittest.cc gfx::Rect window_bounds = widget->GetWindowBoundsInScreen(); gfx 355 ash/system/tray/system_tray_unittest.cc gfx::Rect tray_bounds = tray->GetBoundsInScreen(); gfx 401 ash/system/tray/system_tray_unittest.cc gfx::Point(5, 5)); gfx 415 ash/system/tray/system_tray_unittest.cc gfx::Point(5, 5)); gfx 35 ash/system/tray/throbber_view.cc bool SystemTrayThrobber::GetTooltipText(const gfx::Point& p, gfx 59 ash/system/tray/throbber_view.cc gfx::Size ThrobberView::GetPreferredSize() { gfx 60 ash/system/tray/throbber_view.cc return gfx::Size(ash::kTrayPopupItemHeight, ash::kTrayPopupItemHeight); gfx 65 ash/system/tray/throbber_view.cc gfx::Size ps = child->GetPreferredSize(); gfx 72 ash/system/tray/throbber_view.cc bool ThrobberView::GetTooltipText(const gfx::Point& p, gfx 24 ash/system/tray/throbber_view.h const gfx::Point& p, base::string16* tooltip) const OVERRIDE; gfx 44 ash/system/tray/throbber_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 47 ash/system/tray/throbber_view.h const gfx::Point& p, base::string16* tooltip) const OVERRIDE; gfx 66 ash/system/tray/tray_background_view.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 156 ash/system/tray/tray_background_view.cc void PaintForAlternateShelf(gfx::Canvas* canvas, views::View* view) const { gfx 171 ash/system/tray/tray_background_view.cc const gfx::ImageSkia* leading = leading_images_[orientation][state]; gfx 172 ash/system/tray/tray_background_view.cc const gfx::ImageSkia* middle = middle_images_[orientation][state]; gfx 173 ash/system/tray/tray_background_view.cc const gfx::ImageSkia* trailing = trailing_images_[orientation][state]; gfx 175 ash/system/tray/tray_background_view.cc gfx::Rect bounds(view->GetLocalBounds()); gfx 176 ash/system/tray/tray_background_view.cc gfx::Point leading_location, trailing_location; gfx 177 ash/system/tray/tray_background_view.cc gfx::Rect middle_bounds; gfx 180 ash/system/tray/tray_background_view.cc leading_location = gfx::Point(0, 0); gfx 181 ash/system/tray/tray_background_view.cc trailing_location = gfx::Point(bounds.width() - trailing->width(), 0); gfx 182 ash/system/tray/tray_background_view.cc middle_bounds = gfx::Rect( gfx 188 ash/system/tray/tray_background_view.cc leading_location = gfx::Point(0, 0); gfx 189 ash/system/tray/tray_background_view.cc trailing_location = gfx::Point(0, bounds.height() - trailing->height()); gfx 190 ash/system/tray/tray_background_view.cc middle_bounds = gfx::Rect( gfx 213 ash/system/tray/tray_background_view.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE { gfx 222 ash/system/tray/tray_background_view.cc gfx::Rect bounds(view->GetLocalBounds()); gfx 224 ash/system/tray/tray_background_view.cc path.addRoundRect(gfx::RectToSkRect(bounds), radius, radius); gfx 235 ash/system/tray/tray_background_view.cc const gfx::ImageSkia* leading_images_[kNumOrientations][kNumStates]; gfx 236 ash/system/tray/tray_background_view.cc const gfx::ImageSkia* middle_images_[kNumOrientations][kNumStates]; gfx 237 ash/system/tray/tray_background_view.cc const gfx::ImageSkia* trailing_images_[kNumOrientations][kNumStates]; gfx 254 ash/system/tray/tray_background_view.cc gfx::Size TrayBackgroundView::TrayContainer::GetPreferredSize() { gfx 396 ash/system/tray/tray_background_view.cc gfx::Rect TrayBackgroundView::GetFocusBounds() { gfx 513 ash/system/tray/tray_background_view.cc gfx::Rect TrayBackgroundView::GetBubbleAnchorRect( gfx 517 ash/system/tray/tray_background_view.cc gfx::Rect rect; gfx 576 ash/system/tray/tray_background_view.cc rect = gfx::Rect( gfx 39 ash/system/tray/tray_background_view.h void set_size(const gfx::Size& size) { size_ = size; } gfx 42 ash/system/tray/tray_background_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 55 ash/system/tray/tray_background_view.h gfx::Size size_; gfx 76 ash/system/tray/tray_background_view.h virtual gfx::Rect GetFocusBounds() OVERRIDE; gfx 119 ash/system/tray/tray_background_view.h gfx::Rect GetBubbleAnchorRect( gfx 43 ash/system/tray/tray_bar_button_with_title.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 87 ash/system/tray/tray_bar_button_with_title.cc gfx::Size TrayBarButtonWithTitle::GetPreferredSize() { gfx 88 ash/system/tray/tray_bar_button_with_title.cc return gfx::Size(width_, kTrayPopupItemHeight); gfx 92 ash/system/tray/tray_bar_button_with_title.cc gfx::Rect rect(GetContentsBounds()); gfx 94 ash/system/tray/tray_bar_button_with_title.cc gfx::Rect bar_image_rect(rect.x(), gfx 102 ash/system/tray/tray_bar_button_with_title.cc gfx::Size title_size = title_->GetPreferredSize(); gfx 34 ash/system/tray/tray_bar_button_with_title.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 57 ash/system/tray/tray_bubble_wrapper.cc const gfx::Rect& new_bounds) { gfx 31 ash/system/tray/tray_bubble_wrapper.h const gfx::Rect& new_bounds) OVERRIDE; gfx 27 ash/system/tray/tray_details_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 28 ash/system/tray/tray_details_view.cc canvas->FillRect(gfx::Rect(0, height() / 2, width(), 1), kBorderLightColor); gfx 30 ash/system/tray/tray_details_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 31 ash/system/tray/tray_details_view.cc return gfx::Size(1, kTrayPopupScrollSeparatorHeight); gfx 46 ash/system/tray/tray_details_view.cc virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE { gfx 49 ash/system/tray/tray_details_view.cc canvas->FillRect(gfx::Rect(0, view.height() - 1, view.width(), 1), gfx 53 ash/system/tray/tray_details_view.cc virtual gfx::Insets GetInsets() const OVERRIDE { gfx 54 ash/system/tray/tray_details_view.cc return gfx::Insets(0, 0, 1, 0); gfx 57 ash/system/tray/tray_details_view.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 58 ash/system/tray/tray_details_view.cc return gfx::Size(0, 1); gfx 134 ash/system/tray/tray_details_view.cc scroller_->set_fixed_size(gfx::Size()); gfx 135 ash/system/tray/tray_details_view.cc gfx::Size size = GetPreferredSize(); gfx 139 ash/system/tray/tray_details_view.cc gfx::Size scroller_size = scroll_content_->GetPreferredSize(); gfx 140 ash/system/tray/tray_details_view.cc scroller_->set_fixed_size(gfx::Size( gfx 146 ash/system/tray/tray_details_view.cc gfx::Rect fbounds = footer_->bounds(); gfx 151 ash/system/tray/tray_details_view.cc void TrayDetailsView::OnPaintBorder(gfx::Canvas* canvas) { gfx 54 ash/system/tray/tray_details_view.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; gfx 20 ash/system/tray/tray_empty.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE { gfx 76 ash/system/tray/tray_event_filter.cc gfx::Rect bounds = bubble_widget->GetWindowBoundsInScreen(); gfx 81 ash/system/tray/tray_event_filter.cc gfx::Point screen_point(event->root_location()); gfx 33 ash/system/tray/tray_item_more.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 54 ash/system/tray/tray_item_more.cc void TrayItemMore::SetImage(const gfx::ImageSkia* image_skia) { gfx 86 ash/system/tray/tray_item_more.cc gfx::Size size = more_->GetPreferredSize(); gfx 87 ash/system/tray/tray_item_more.cc gfx::Rect bounds(size); gfx 94 ash/system/tray/tray_item_more.cc gfx::Rect bounds = label_->bounds(); gfx 30 ash/system/tray/tray_item_more.h void SetImage(const gfx::ImageSkia* image_skia); gfx 62 ash/system/tray/tray_item_view.cc animation_.reset(new gfx::SlideAnimation(this)); gfx 64 ash/system/tray/tray_item_view.cc animation_->SetTweenType(gfx::Tween::LINEAR); gfx 78 ash/system/tray/tray_item_view.cc gfx::Size TrayItemView::DesiredSize() { gfx 86 ash/system/tray/tray_item_view.cc gfx::Size TrayItemView::GetPreferredSize() { gfx 87 ash/system/tray/tray_item_view.cc gfx::Size size = DesiredSize(); gfx 114 ash/system/tray/tray_item_view.cc void TrayItemView::AnimationProgressed(const gfx::Animation* animation) { gfx 115 ash/system/tray/tray_item_view.cc gfx::Transform transform; gfx 130 ash/system/tray/tray_item_view.cc void TrayItemView::AnimationEnded(const gfx::Animation* animation) { gfx 135 ash/system/tray/tray_item_view.cc void TrayItemView::AnimationCanceled(const gfx::Animation* animation) { gfx 12 ash/system/tray/tray_item_view.h namespace gfx { gfx 28 ash/system/tray/tray_item_view.h public gfx::AnimationDelegate { gfx 45 ash/system/tray/tray_item_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 57 ash/system/tray/tray_item_view.h virtual gfx::Size DesiredSize(); gfx 67 ash/system/tray/tray_item_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 68 ash/system/tray/tray_item_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 69 ash/system/tray/tray_item_view.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 72 ash/system/tray/tray_item_view.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 84 ash/system/tray/tray_notification_view.cc void TrayNotificationView::SetIconImage(const gfx::ImageSkia& image) { gfx 89 ash/system/tray/tray_notification_view.cc const gfx::ImageSkia& TrayNotificationView::GetIconImage() const { gfx 102 ash/system/tray/tray_notification_view.cc const gfx::ImageSkia& image) { gfx 12 ash/system/tray/tray_notification_view.h namespace gfx { gfx 40 ash/system/tray/tray_notification_view.h void SetIconImage(const gfx::ImageSkia& image); gfx 43 ash/system/tray/tray_notification_view.h const gfx::ImageSkia& GetIconImage() const; gfx 50 ash/system/tray/tray_notification_view.h const gfx::ImageSkia& image); gfx 43 ash/system/tray/tray_popup_header_button.cc gfx::Insets(1, 2, 2, 3))); gfx 52 ash/system/tray/tray_popup_header_button.cc gfx::Size TrayPopupHeaderButton::GetPreferredSize() { gfx 53 ash/system/tray/tray_popup_header_button.cc return gfx::Size(ash::kTrayPopupItemHeight, ash::kTrayPopupItemHeight); gfx 56 ash/system/tray/tray_popup_header_button.cc void TrayPopupHeaderButton::OnPaintBorder(gfx::Canvas* canvas) { gfx 60 ash/system/tray/tray_popup_header_button.cc canvas->FillRect(gfx::Rect(0, padding, 1, height() - padding * 2), gfx 32 ash/system/tray/tray_popup_header_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 33 ash/system/tray/tray_popup_header_button.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; gfx 22 ash/system/tray/tray_popup_label_button.cc SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 25 ash/system/tray/tray_popup_label_button.cc gfx::Insets(1, 1, 2, 2))); gfx 57 ash/system/tray/tray_popup_label_button_border.cc set_insets(gfx::Insets(kTrayPopupLabelButtonPaddingVertical, gfx 66 ash/system/tray/tray_popup_label_button_border.cc gfx::Canvas* canvas) { gfx 90 ash/system/tray/tray_popup_label_button_border.cc canvas->Translate(gfx::Vector2d(view.width(), 0)); gfx 22 ash/system/tray/tray_popup_label_button_border.h virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; gfx 18 ash/system/tray/tray_utils.cc static const gfx::FontList label_font_list( gfx 19 ash/system/tray/tray_utils.cc gfx::FontList().Derive(1, gfx::Font::BOLD)); gfx 118 ash/system/tray_accessibility.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 163 ash/system/tray_accessibility.cc spoken_feedback_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, gfx 172 ash/system/tray_accessibility.cc large_cursor_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, gfx 180 ash/system/tray_accessibility.cc high_contrast_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, gfx 186 ash/system/tray_accessibility.cc screen_magnifier_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, gfx 195 ash/system/tray_accessibility.cc autoclick_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, gfx 203 ash/system/tray_accessibility.cc virtual_keyboard_enabled_ ? gfx::Font::BOLD : gfx::Font::NORMAL, gfx 244 ash/system/tray_accessibility.cc gfx::Font::FontStyle style, gfx 76 ash/system/tray_accessibility.h gfx::Font::FontStyle style, gfx 150 ash/system/user/tray_user.cc void SetImage(const gfx::ImageSkia& img, const gfx::Size& size); gfx 160 ash/system/user/tray_user.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 161 ash/system/user/tray_user.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 163 ash/system/user/tray_user.cc gfx::ImageSkia image_; gfx 164 ash/system/user/tray_user.cc gfx::ImageSkia resized_; gfx 165 ash/system/user/tray_user.cc gfx::Size image_size_; gfx 187 ash/system/user/tray_user.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 188 ash/system/user/tray_user.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 200 ash/system/user/tray_user.cc gfx::Size preferred_size_; gfx 201 ash/system/user/tray_user.cc ScopedVector<gfx::RenderText> lines_; gfx 240 ash/system/user/tray_user.cc explicit UserViewMouseWatcherHost(const gfx::Rect& screen_area) gfx 245 ash/system/user/tray_user.cc virtual bool Contains(const gfx::Point& screen_point, gfx 251 ash/system/user/tray_user.cc gfx::Rect screen_area_; gfx 270 ash/system/user/tray_user.cc gfx::Rect GetBoundsInScreenOfUserButtonForTest(); gfx 274 ash/system/user/tray_user.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 343 ash/system/user/tray_user.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 373 ash/system/user/tray_user.cc void RoundedImageView::SetImage(const gfx::ImageSkia& img, gfx 374 ash/system/user/tray_user.cc const gfx::Size& size) { gfx 379 ash/system/user/tray_user.cc resized_ = gfx::ImageSkiaOperations::CreateResizedImage(image_, gfx 397 ash/system/user/tray_user.cc gfx::Size RoundedImageView::GetPreferredSize() { gfx 398 ash/system/user/tray_user.cc return gfx::Size(image_size_.width() + GetInsets().width(), gfx 402 ash/system/user/tray_user.cc void RoundedImageView::OnPaint(gfx::Canvas* canvas) { gfx 404 ash/system/user/tray_user.cc gfx::Rect image_bounds(size()); gfx 418 ash/system/user/tray_user.cc path.addRoundRect(gfx::RectToSkRect(image_bounds), kRadius); gfx 466 ash/system/user/tray_user.cc const gfx::Rect contents_area = GetContentsBounds(); gfx 471 ash/system/user/tray_user.cc const gfx::FontList font_list; gfx 473 ash/system/user/tray_user.cc gfx::ElideRectangleText(text_, font_list, contents_area.width(), gfx 474 ash/system/user/tray_user.cc contents_area.height(), gfx::ELIDE_LONG_WORDS, gfx 477 ash/system/user/tray_user.cc gfx::Point position = contents_area.origin(); gfx 478 ash/system/user/tray_user.cc gfx::Range display_name(gfx::Range::InvalidRange()); gfx 481 ash/system/user/tray_user.cc gfx::RenderText* line = gfx::RenderText::CreateInstance(); gfx 482 ash/system/user/tray_user.cc line->SetDirectionalityMode(gfx::DIRECTIONALITY_FROM_UI); gfx 484 ash/system/user/tray_user.cc const gfx::Size size(contents_area.width(), line->GetStringSize().height()); gfx 485 ash/system/user/tray_user.cc line->SetDisplayRect(gfx::Rect(position, size)); gfx 498 ash/system/user/tray_user.cc gfx::Range line_range(0, it->size()); gfx 505 ash/system/user/tray_user.cc display_name = gfx::Range::InvalidRange(); gfx 513 ash/system/user/tray_user.cc const gfx::Size last_line_size = lines_.back()->GetStringSize(); gfx 515 ash/system/user/tray_user.cc gfx::GetStringWidth(base::ASCIIToUTF16(" "), font_list); gfx 516 ash/system/user/tray_user.cc const gfx::Size link_size = learn_more_->GetPreferredSize(); gfx 523 ash/system/user/tray_user.cc gfx::Rect learn_more_bounds(position, link_size); gfx 526 ash/system/user/tray_user.cc const gfx::Insets insets = GetInsets(); gfx 532 ash/system/user/tray_user.cc gfx::Size PublicAccountUserDetails::GetPreferredSize() { gfx 536 ash/system/user/tray_user.cc void PublicAccountUserDetails::OnPaint(gfx::Canvas* canvas) { gfx 537 ash/system/user/tray_user.cc for (ScopedVector<gfx::RenderText>::const_iterator it = lines_.begin(); gfx 552 ash/system/user/tray_user.cc const gfx::FontList font_list; gfx 553 ash/system/user/tray_user.cc const gfx::Size link_size = learn_more_->GetPreferredSize(); gfx 555 ash/system/user/tray_user.cc gfx::GetStringWidth(base::ASCIIToUTF16(" "), font_list); gfx 556 ash/system/user/tray_user.cc const gfx::Insets insets = GetInsets(); gfx 563 ash/system/user/tray_user.cc gfx::GetStringWidth(text_, font_list) + space_width + link_size.width(), gfx 575 ash/system/user/tray_user.cc gfx::ElideRectangleText(text_, font_list, width, INT_MAX, gfx 576 ash/system/user/tray_user.cc gfx::TRUNCATE_LONG_WORDS, &lines) != 0; gfx 579 ash/system/user/tray_user.cc width - gfx::GetStringWidth(lines.back(), font_list) <= gfx 590 ash/system/user/tray_user.cc gfx::ElideRectangleText( gfx 591 ash/system/user/tray_user.cc text_, font_list, min_width, INT_MAX, gfx::TRUNCATE_LONG_WORDS, &lines); gfx 593 ash/system/user/tray_user.cc if (min_width - gfx::GetStringWidth(lines.back(), font_list) <= gfx 600 ash/system/user/tray_user.cc preferred_size_ = gfx::Size( gfx 697 ash/system/user/tray_user.cc gfx::Rect UserView::GetBoundsInScreenOfUserButtonForTest() { gfx 702 ash/system/user/tray_user.cc gfx::Size UserView::GetPreferredSize() { gfx 703 ash/system/user/tray_user.cc gfx::Size size = views::View::GetPreferredSize(); gfx 717 ash/system/user/tray_user.cc gfx::Rect contents_area(GetContentsBounds()); gfx 720 ash/system/user/tray_user.cc gfx::Rect logout_area = contents_area; gfx 725 ash/system/user/tray_user.cc gfx::Rect user_card_area = contents_area; gfx 868 ash/system/user/tray_user.cc username->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 883 ash/system/user/tray_user.cc additional->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 920 ash/system/user/tray_user.cc gfx::Size(kUserIconSize, kUserIconSize)); gfx 927 ash/system/user/tray_user.cc gfx::Size(kUserIconSize, kUserIconSize)); gfx 938 ash/system/user/tray_user.cc details->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 979 ash/system/user/tray_user.cc gfx::Rect bounds = user_card_view_->GetBoundsInScreen(); gfx 997 ash/system/user/tray_user.cc gfx::Size(parent()->bounds().width() - kPopupMessageOffset, 0), gfx 1002 ash/system/user/tray_user.cc gfx::Rect area = user_card_view_->GetBoundsInScreen(); gfx 1031 ash/system/user/tray_user.cc gfx::Size AddUserView::GetPreferredSize() { gfx 1040 ash/system/user/tray_user.cc gfx::Rect contents_area(GetContentsBounds()); gfx 1083 ash/system/user/tray_user.cc gfx::Size(kUserIconSize, kUserIconSize)); gfx 1089 ash/system/user/tray_user.cc command_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1115 ash/system/user/tray_user.cc gfx::Size TrayUser::GetLayoutSizeForTest() const { gfx 1117 ash/system/user/tray_user.cc return gfx::Size(0, 0); gfx 1123 ash/system/user/tray_user.cc gfx::Rect TrayUser::GetUserPanelBoundsInScreenForTest() const { gfx 1338 ash/system/user/tray_user.cc gfx::Size(icon_size, icon_size)); gfx 1342 ash/system/user/tray_user.cc avatar_->SetSize(gfx::Size(icon_size, icon_size)); gfx 14 ash/system/user/tray_user.h namespace gfx { gfx 51 ash/system/user/tray_user.h gfx::Size GetLayoutSizeForTest() const; gfx 55 ash/system/user/tray_user.h gfx::Rect GetUserPanelBoundsInScreenForTest() const; gfx 109 ash/system/user/tray_user_unittest.cc gfx::Point center = tray()->GetBoundsInScreen().CenterPoint(); gfx 118 ash/system/user/tray_user_unittest.cc gfx::Point center = gfx 134 ash/system/user/tray_user_unittest.cc gfx::Size size = tray_user(0)->GetLayoutSizeForTest(); gfx 168 ash/system/web_notification/web_notification_tray.cc gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( gfx 170 ash/system/web_notification/web_notification_tray.cc gfx::Rect work_area = display.work_area(); gfx 180 ash/system/web_notification/web_notification_tray.cc gfx::Insets(0, 0, width, 0), gfx 181 ash/system/web_notification/web_notification_tray.cc gfx::Insets(0, width, 0, 0), gfx 182 ash/system/web_notification/web_notification_tray.cc gfx::Insets(0, 0, 0, width), gfx 183 ash/system/web_notification/web_notification_tray.cc gfx::Insets(width, 0, 0, 0))); gfx 216 ash/system/web_notification/web_notification_tray.cc gfx::Point bounds(anchor->width() / 2, 0); gfx 274 ash/system/web_notification/web_notification_tray.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 276 ash/system/web_notification/web_notification_tray.cc return gfx::Size(notification_item_size, notification_item_size); gfx 353 ash/system/web_notification/web_notification_tray.cc gfx::Rect shelf_bounds = GetShelfLayoutManager()->GetIdealBounds(); gfx 505 ash/system/web_notification/web_notification_tray.cc gfx::Rect WebNotificationTray::GetAnchorRect( gfx 93 ash/system/web_notification/web_notification_tray.h virtual gfx::Rect GetAnchorRect(views::Widget* anchor_widget, gfx 113 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Image(), gfx 129 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Image(), gfx 145 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect GetPopupWorkArea() { gfx 149 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect GetPopupWorkAreaForTray(WebNotificationTray* tray) { gfx 330 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area = GetPopupWorkArea(); gfx 336 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_with_tray = GetPopupWorkArea(); gfx 343 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_with_tray_notificaiton = GetPopupWorkArea(); gfx 352 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_with_notification = GetPopupWorkArea(); gfx 367 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area = GetPopupWorkArea(); gfx 371 ash/system/web_notification/web_notification_tray_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 3, 4))); gfx 377 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_auto_hidden = GetPopupWorkArea(); gfx 383 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_auto_shown = GetPopupWorkArea(); gfx 387 ash/system/web_notification/web_notification_tray_unittest.cc window.reset(CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 3, 4))); gfx 394 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_with_tray = GetPopupWorkArea(); gfx 401 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_with_tray_notification = GetPopupWorkArea(); gfx 410 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_hidden_with_tray_notification = GetPopupWorkArea(); gfx 419 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_shown_with_tray_notification = GetPopupWorkArea(); gfx 429 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area = GetPopupWorkArea(); gfx 433 ash/system/web_notification/web_notification_tray_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 3, 4))); gfx 438 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_auto_hidden = GetPopupWorkArea(); gfx 451 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_fullscreen_hidden = GetPopupWorkArea(); gfx 457 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Point bottom_right = gfx 475 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area = GetPopupWorkArea(); gfx 476 ash/system/web_notification/web_notification_tray_unittest.cc gfx::Rect work_area_second = GetPopupWorkAreaForTray(GetSecondaryTray()); gfx 66 ash/test/ash_test_base.cc const gfx::Point& point_in_screen) const OVERRIDE { gfx 67 ash/test/ash_test_base.cc gfx::Screen* screen = Shell::GetScreen(); gfx 68 ash/test/ash_test_base.cc gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen); gfx 141 ash/test/ash_test_base.cc Shell::GetPrimaryRootWindow()->MoveCursorTo(gfx::Point(-1000, -1000)); gfx 199 ash/test/ash_test_base.cc gfx::Display::SetInternalDisplayId(gfx::Display::kInvalidDisplayID); gfx 239 ash/test/ash_test_base.cc return CreateTestWindowInShellWithDelegate(NULL, id, gfx::Rect()); gfx 243 ash/test/ash_test_base.cc const gfx::Rect& bounds) { gfx 249 ash/test/ash_test_base.cc const gfx::Rect& bounds) { gfx 257 ash/test/ash_test_base.cc const gfx::Rect& bounds) { gfx 266 ash/test/ash_test_base.cc const gfx::Rect& bounds) { gfx 276 ash/test/ash_test_base.cc gfx::Display display = gfx 280 ash/test/ash_test_base.cc gfx::Point origin = bounds.origin(); gfx 282 ash/test/ash_test_base.cc window->SetBounds(gfx::Rect(origin, bounds.size())); gfx 291 ash/test/ash_test_base.cc window, Shell::GetPrimaryRootWindow(), gfx::Rect()); gfx 74 ash/test/ash_test_base.h aura::Window* CreateTestWindowInShellWithBounds(const gfx::Rect& bounds); gfx 77 ash/test/ash_test_base.h const gfx::Rect& bounds); gfx 81 ash/test/ash_test_base.h const gfx::Rect& bounds); gfx 86 ash/test/ash_test_base.h const gfx::Rect& bounds); gfx 34 ash/test/cursor_manager_test_api.cc gfx::NativeCursor CursorManagerTestApi::GetCurrentCursor() const { gfx 38 ash/test/cursor_manager_test_api.cc gfx::Display CursorManagerTestApi::GetDisplay() const { gfx 12 ash/test/cursor_manager_test_api.h namespace gfx { gfx 31 ash/test/cursor_manager_test_api.h gfx::NativeCursor GetCurrentCursor() const; gfx 32 ash/test/cursor_manager_test_api.h gfx::Display GetDisplay() const; gfx 18 ash/test/display_manager_test_api.cc typedef std::vector<gfx::Display> DisplayList; gfx 35 ash/test/display_manager_test_api.cc gfx::Display::kInvalidDisplayID; gfx 56 ash/test/display_manager_test_api.cc if (display_info.bounds_in_native().origin() != gfx::Point(0, 0)) { gfx 72 ash/test/display_manager_test_api.cc gfx::Rect bounds(iter->bounds_in_native().size()); gfx 84 ash/test/display_manager_test_api.cc const gfx::Display& internal = display_manager_->displays_[0]; gfx 85 ash/test/display_manager_test_api.cc gfx::Display::SetInternalDisplayId(internal.id()); gfx 86 ash/test/display_manager_test_api.cc return gfx::Display::InternalDisplayId(); gfx 27 ash/test/mirror_window_test_api.cc const gfx::Point& MirrorWindowTestApi::GetCursorHotPoint() const { gfx 17 ash/test/mirror_window_test_api.h namespace gfx { gfx 32 ash/test/mirror_window_test_api.h const gfx::Point& GetCursorHotPoint() const; gfx 19 ash/test/overflow_bubble_view_test_api.cc gfx::Size OverflowBubbleViewTestAPI::GetContentsSize() { gfx 10 ash/test/overflow_bubble_view_test_api.h namespace gfx { gfx 25 ash/test/overflow_bubble_view_test_api.h gfx::Size GetContentsSize(); gfx 74 ash/test/shelf_view_test_api.cc const gfx::Rect& ShelfViewTestAPI::GetBoundsByIndex(int index) { gfx 78 ash/test/shelf_view_test_api.cc const gfx::Rect& ShelfViewTestAPI::GetIdealBoundsByIndex(int index) { gfx 104 ash/test/shelf_view_test_api.cc gfx::Size ShelfViewTestAPI::GetPreferredSize() { gfx 125 ash/test/shelf_view_test_api.cc gfx::Rect ShelfViewTestAPI::GetBoundsForDragInsertInScreen() { gfx 11 ash/test/shelf_view_test_api.h namespace gfx { gfx 43 ash/test/shelf_view_test_api.h const gfx::Rect& GetBoundsByIndex(int index); gfx 44 ash/test/shelf_view_test_api.h const gfx::Rect& GetIdealBoundsByIndex(int index); gfx 65 ash/test/shelf_view_test_api.h gfx::Size GetPreferredSize(); gfx 80 ash/test/shelf_view_test_api.h gfx::Rect GetBoundsForDragInsertInScreen(); gfx 29 ash/test/test_metro_viewer_process_host.cc gfx::NativeViewId target_surface) { gfx 26 ash/test/test_metro_viewer_process_host.h virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE; gfx 24 ash/test/test_screenshot_delegate.cc aura::Window* window, const gfx::Rect& rect) { gfx 24 ash/test/test_screenshot_delegate.h aura::Window* window, const gfx::Rect& rect) OVERRIDE; gfx 35 ash/test/test_screenshot_delegate.h const gfx::Rect& last_rect() const { return last_rect_; } gfx 44 ash/test/test_screenshot_delegate.h gfx::Rect last_rect_; gfx 128 ash/test/test_session_state_delegate.cc const gfx::ImageSkia& user_image) { gfx 152 ash/test/test_session_state_delegate.cc const gfx::ImageSkia& TestSessionStateDelegate::GetUserImage( gfx 44 ash/test/test_session_state_delegate.h virtual const gfx::ImageSkia& GetUserImage( gfx 81 ash/test/test_session_state_delegate.h void SetUserImage(const gfx::ImageSkia& user_image); gfx 112 ash/test/test_session_state_delegate.h gfx::ImageSkia user_image_; gfx 33 ash/test/test_suite.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 49 ash/test/test_suite.cc gfx::RegisterPathProvider(); gfx 20 ash/test/test_user_wallpaper_delegate.h void set_custom_wallpaper(const gfx::ImageSkia& wallpaper) { gfx 35 ash/test/test_user_wallpaper_delegate.h gfx::ImageSkia custom_wallpaper_; gfx 46 ash/test/ui_controls_factory_ash.cc UIControlsAura* GetUIControlsAt(const gfx::Point& point_in_screen) { gfx 61 ash/test/ui_controls_factory_ash.cc virtual bool SendKeyPress(gfx::NativeWindow window, gfx 72 ash/test/ui_controls_factory_ash.cc gfx::NativeWindow window, gfx 87 ash/test/ui_controls_factory_ash.cc gfx::Point p(x, y); gfx 96 ash/test/ui_controls_factory_ash.cc gfx::Point p(x, y); gfx 103 ash/test/ui_controls_factory_ash.cc gfx::Point p(ash::Shell::GetScreen()->GetCursorScreenPoint()); gfx 110 ash/test/ui_controls_factory_ash.cc gfx::Point p(aura::Env::GetInstance()->last_mouse_location()); gfx 117 ash/test/ui_controls_factory_ash.cc gfx::Point p(ash::Shell::GetScreen()->GetCursorScreenPoint()); gfx 35 ash/tooltips/tooltip_controller_unittest.cc const gfx::Rect& bounds) { gfx 50 ash/tooltips/tooltip_controller_unittest.cc return CreateNewWidgetWithBoundsOn(display, gfx::Rect()); gfx 62 ash/tooltips/tooltip_controller_unittest.cc gfx::Rect contents_view_bounds = contents_view->bounds(); gfx 65 ash/tooltips/tooltip_controller_unittest.cc widget->SetBounds(gfx::Rect(widget->GetWindowBoundsInScreen().origin(), gfx 138 ash/tooltips/tooltip_controller_unittest.cc 0, gfx::Rect(10, 10, 100, 100))); gfx 145 ash/tooltips/tooltip_controller_unittest.cc 1, gfx::Rect(1200, 10, 100, 100))); gfx 132 ash/touch/touch_hud_debug.cc gfx::Point location; gfx 266 ash/touch/touch_hud_debug.cc gfx::Transform transform; gfx 299 ash/touch/touch_hud_debug.cc const gfx::Point& location = point.location; gfx 311 ash/touch/touch_hud_debug.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 337 ash/touch/touch_hud_debug.cc const gfx::Display& display = gfx 345 ash/touch/touch_hud_debug.cc const gfx::Size& display_size = display.size(); gfx 448 ash/touch/touch_hud_debug.cc gfx::Point touch_position = point->location; gfx 468 ash/touch/touch_hud_debug.cc void TouchHudDebug::OnDisplayBoundsChanged(const gfx::Display& display) { gfx 473 ash/touch/touch_hud_debug.cc const gfx::Size& size = display.size(); gfx 63 ash/touch/touch_hud_debug.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 30 ash/touch/touch_hud_projection.cc public gfx::AnimationDelegate, gfx 40 ash/touch/touch_hud_projection.cc SetSize(gfx::Size(2 * kPointRadius + 2, 2 * kPointRadius + 2)); gfx 59 ash/touch/touch_hud_projection.cc fadeout_.reset(new gfx::LinearAnimation(kFadeoutDurationInMs, gfx 81 ash/touch/touch_hud_projection.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 104 ash/touch/touch_hud_projection.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE { gfx 109 ash/touch/touch_hud_projection.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 114 ash/touch/touch_hud_projection.cc virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE { gfx 126 ash/touch/touch_hud_projection.cc const gfx::Point circle_center_; gfx 134 ash/touch/touch_hud_projection.cc scoped_ptr<gfx::Animation> fadeout_; gfx 24 ash/touch/touch_observer_hud.cc const gfx::Display& display = gfx 29 ash/touch/touch_observer_hud.cc const gfx::Size& display_size = display.size(); gfx 89 ash/touch/touch_observer_hud.cc void TouchObserverHUD::OnDisplayBoundsChanged(const gfx::Display& display) { gfx 95 ash/touch/touch_observer_hud.cc void TouchObserverHUD::OnDisplayAdded(const gfx::Display& new_display) {} gfx 97 ash/touch/touch_observer_hud.cc void TouchObserverHUD::OnDisplayRemoved(const gfx::Display& old_display) { gfx 28 ash/touch/touch_observer_hud.h public gfx::DisplayObserver, gfx 62 ash/touch/touch_observer_hud.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 63 ash/touch/touch_observer_hud.h virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 64 ash/touch/touch_observer_hud.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 39 ash/touch/touch_observer_hud_unittest.cc CreateDisplayInfo(internal_display_id_, gfx::Rect(0, 0, 500, 500)); gfx 41 ash/touch/touch_observer_hud_unittest.cc CreateDisplayInfo(external_display_id_, gfx::Rect(1, 1, 100, 100)); gfx 43 ash/touch/touch_observer_hud_unittest.cc CreateDisplayInfo(mirrored_display_id_, gfx::Rect(0, 0, 100, 100)); gfx 46 ash/touch/touch_observer_hud_unittest.cc gfx::Display GetPrimaryDisplay() { gfx 50 ash/touch/touch_observer_hud_unittest.cc const gfx::Display& GetSecondaryDisplay() { gfx 68 ash/touch/touch_observer_hud_unittest.cc const gfx::Display& internal_display = gfx 74 ash/touch/touch_observer_hud_unittest.cc const gfx::Display& external_display = gfx 137 ash/touch/touch_observer_hud_unittest.cc const gfx::Display& GetInternalDisplay() { gfx 141 ash/touch/touch_observer_hud_unittest.cc const gfx::Display& GetExternalDisplay() { gfx 156 ash/touch/touch_observer_hud_unittest.cc const gfx::Display& display = GetPrimaryDisplay(); gfx 161 ash/touch/touch_observer_hud_unittest.cc const gfx::Display& display = GetSecondaryDisplay(); gfx 185 ash/touch/touch_observer_hud_unittest.cc DisplayInfo CreateDisplayInfo(int64 id, const gfx::Rect& bounds) { gfx 293 ash/touch/touch_observer_hud_unittest.cc const gfx::Point& location, gfx 502 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 1); gfx 505 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_MOVED, gfx::Point(10, 20), 1); gfx 508 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_RELEASED, gfx::Point(10, 20), 1); gfx 527 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 1); gfx 530 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_MOVED, gfx::Point(10, 20), 1); gfx 533 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_CANCELLED, gfx::Point(10, 20), 1); gfx 551 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 1); gfx 554 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_PRESSED, gfx::Point(20, 10), 2); gfx 557 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_MOVED, gfx::Point(10, 20), 1); gfx 560 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_MOVED, gfx::Point(20, 20), 2); gfx 563 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_RELEASED, gfx::Point(10, 20), 1); gfx 566 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_RELEASED, gfx::Point(20, 20), 2); gfx 585 ash/touch/touch_observer_hud_unittest.cc SendTouchEventToInternalHud(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 1); gfx 78 ash/touch/touch_uma.cc std::map<int, gfx::Point> start_touch_position_; gfx 79 ash/touch/touch_uma.cc std::map<int, gfx::Point> last_touch_position_; gfx 244 ash/touch/touch_uma.cc const gfx::Rect bounds = target->GetRootWindow()->bounds(); gfx 250 ash/touch/touch_uma.cc gfx::Point position = event.root_location(); gfx 271 ash/touch/touch_uma.cc position = gfx::ToFlooredPoint( gfx 272 ash/touch/touch_uma.cc gfx::ScalePoint(position, 1. / target->layer()->device_scale_factor())); gfx 328 ash/touch/touch_uma.cc gfx::Vector2d distance = event.root_location() - gfx 347 ash/touch/touch_uma.cc gfx::Point lastpos = details->last_touch_position_[event.touch_id()]; gfx 62 ash/wm/app_list_controller.cc gfx::Rect OffsetTowardsShelf(const gfx::Rect& rect, views::Widget* widget) { gfx 66 ash/wm/app_list_controller.cc gfx::Rect offseted(rect); gfx 87 ash/wm/app_list_controller.cc gfx::Vector2d GetAnchorPositionOffsetToShelf( gfx 88 ash/wm/app_list_controller.cc const gfx::Rect& button_bounds, views::Widget* widget) { gfx 92 ash/wm/app_list_controller.cc gfx::Point anchor(button_bounds.CenterPoint()); gfx 98 ash/wm/app_list_controller.cc return gfx::Vector2d( gfx 102 ash/wm/app_list_controller.cc return gfx::Vector2d( gfx 105 ash/wm/app_list_controller.cc return gfx::Vector2d( gfx 108 ash/wm/app_list_controller.cc return gfx::Vector2d( gfx 112 ash/wm/app_list_controller.cc return gfx::Vector2d(); gfx 177 ash/wm/app_list_controller.cc gfx::Rect applist_button_bounds = Shelf::ForWindow(container)-> gfx 198 ash/wm/app_list_controller.cc gfx::Vector2d(), gfx 266 ash/wm/app_list_controller.cc gfx::Rect target_bounds; gfx 349 ash/wm/app_list_controller.cc const gfx::Rect& old_bounds, gfx 350 ash/wm/app_list_controller.cc const gfx::Rect& new_bounds) { gfx 425 ash/wm/app_list_controller.cc gfx::Rect shifted(view_bounds_); gfx 102 ash/wm/app_list_controller.h const gfx::Rect& old_bounds, gfx 103 ash/wm/app_list_controller.h const gfx::Rect& new_bounds) OVERRIDE; gfx 132 ash/wm/app_list_controller.h gfx::Rect view_bounds_; gfx 59 ash/wm/app_list_controller_unittest.cc gfx::Rect app_window_bounds = app_window->GetBoundsInRootWindow(); gfx 60 ash/wm/app_list_controller_unittest.cc gfx::Point point_outside = gfx 61 ash/wm/app_list_controller_unittest.cc gfx::Point(app_window_bounds.right(), app_window_bounds.y()) + gfx 62 ash/wm/app_list_controller_unittest.cc gfx::Vector2d(10, 0); gfx 76 ash/wm/app_list_controller_unittest.cc gfx::Rect app_window_bounds = app_window->GetBoundsInRootWindow(); gfx 84 ash/wm/app_list_controller_unittest.cc gfx::Point point_outside = gfx 85 ash/wm/app_list_controller_unittest.cc gfx::Point(app_window_bounds.right(), app_window_bounds.y()) + gfx 86 ash/wm/app_list_controller_unittest.cc gfx::Vector2d(10, 0); gfx 20 ash/wm/ash_native_cursor_manager.cc void SetCursorOnAllRootWindows(gfx::NativeCursor cursor) { gfx 73 ash/wm/ash_native_cursor_manager.cc const gfx::Display& display, gfx 84 ash/wm/ash_native_cursor_manager.cc gfx::NativeCursor cursor, gfx 86 ash/wm/ash_native_cursor_manager.cc gfx::NativeCursor new_cursor = cursor; gfx 90 ash/wm/ash_native_cursor_manager.cc gfx::NativeCursor invisible_cursor(ui::kCursorNone); gfx 141 ash/wm/ash_native_cursor_manager.cc gfx::NativeCursor invisible_cursor(ui::kCursorNone); gfx 47 ash/wm/ash_native_cursor_manager.h const gfx::Display& display, gfx 50 ash/wm/ash_native_cursor_manager.h gfx::NativeCursor cursor, gfx 66 ash/wm/ash_native_cursor_manager.h gfx::Point disabled_cursor_location_; gfx 36 ash/wm/ash_native_cursor_manager_interactive_uitest.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 54 ash/wm/ash_native_cursor_manager_interactive_uitest.cc const gfx::Rect& bounds, gfx 98 ash/wm/ash_native_cursor_manager_interactive_uitest.cc CreateDisplayInfo(10, gfx::Rect(0, 0, 500, 300), 1.0f); gfx 100 ash/wm/ash_native_cursor_manager_interactive_uitest.cc CreateDisplayInfo(20, gfx::Rect(500, 0, 500, 300), 2.0f); gfx 35 ash/wm/ash_native_cursor_manager_unittest.cc gfx::Point GetMouseEventLocationAndReset() { gfx 36 ash/wm/ash_native_cursor_manager_unittest.cc gfx::Point p = mouse_event_location_; gfx 47 ash/wm/ash_native_cursor_manager_unittest.cc gfx::Point mouse_event_location_; gfx 59 ash/wm/ash_native_cursor_manager_unittest.cc gfx::Display display(0); gfx 66 ash/wm/ash_native_cursor_manager_unittest.cc display.set_rotation(gfx::Display::ROTATE_90); gfx 72 ash/wm/ash_native_cursor_manager_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, test_api.GetDisplay().rotation()); gfx 100 ash/wm/ash_native_cursor_manager_unittest.cc display.set_rotation(gfx::Display::ROTATE_180); gfx 103 ash/wm/ash_native_cursor_manager_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_180, test_api.GetDisplay().rotation()); gfx 162 ash/wm/ash_native_cursor_manager_unittest.cc gfx::Display display(0); gfx 166 ash/wm/ash_native_cursor_manager_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, test_api.GetDisplay().rotation()); gfx 169 ash/wm/ash_native_cursor_manager_unittest.cc display.set_rotation(gfx::Display::ROTATE_270); gfx 172 ash/wm/ash_native_cursor_manager_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, test_api.GetDisplay().rotation()); gfx 186 ash/wm/ash_native_cursor_manager_unittest.cc root_window->MoveCursorTo(gfx::Point(10, 10)); gfx 197 ash/wm/ash_native_cursor_manager_unittest.cc gfx::Point mouse_location; gfx 29 ash/wm/boot_splash_screen_chromeos.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 38 ash/wm/boot_splash_screen_chromeos.cc host_->GetBounds(), gfx::Point(), canvas); gfx 59 ash/wm/boot_splash_screen_chromeos.cc layer_->SetBounds(gfx::Rect(host->window()->bounds().size())); gfx 18 ash/wm/coordinate_conversion.cc aura::Window* GetRootWindowAt(const gfx::Point& point) { gfx 19 ash/wm/coordinate_conversion.cc const gfx::Display& display = gfx 28 ash/wm/coordinate_conversion.cc aura::Window* GetRootWindowMatching(const gfx::Rect& rect) { gfx 29 ash/wm/coordinate_conversion.cc const gfx::Display& display = Shell::GetScreen()->GetDisplayMatching(rect); gfx 34 ash/wm/coordinate_conversion.cc void ConvertPointToScreen(aura::Window* window, gfx::Point* point) { gfx 43 ash/wm/coordinate_conversion.cc gfx::Point* point_in_screen) { gfx 14 ash/wm/coordinate_conversion.h namespace gfx { gfx 25 ash/wm/coordinate_conversion.h ASH_EXPORT aura::Window* GetRootWindowAt(const gfx::Point& point); gfx 29 ash/wm/coordinate_conversion.h ASH_EXPORT aura::Window* GetRootWindowMatching(const gfx::Rect& rect); gfx 33 ash/wm/coordinate_conversion.h ASH_EXPORT void ConvertPointToScreen(aura::Window* window, gfx::Point* point); gfx 38 ash/wm/coordinate_conversion.h gfx::Point* point_in_screen); gfx 40 ash/wm/default_state.cc const gfx::Rect& restore_bounds = window_state->GetRestoreBoundsInScreen(); gfx 48 ash/wm/default_state.cc gfx::Rect display_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 52 ash/wm/default_state.cc const gfx::Display& display = gfx 124 ash/wm/default_state.cc gfx::Rect snapped_bounds = event->type() == WM_EVENT_SNAP_LEFT ? gfx 147 ash/wm/default_state.cc gfx::Display current_display = Shell::GetScreen()-> gfx 163 ash/wm/default_state.cc window_state->GetRestoreBoundsInParent() : gfx::Rect(); gfx 200 ash/wm/default_state.cc gfx::Rect work_area = gfx 218 ash/wm/default_state.cc window->SetBounds(gfx::Rect(window->bounds().x(), gfx 233 ash/wm/default_state.cc gfx::Rect work_area = gfx 241 ash/wm/default_state.cc gfx::Rect new_bounds(work_area.x(), gfx 246 ash/wm/default_state.cc gfx::Rect restore_bounds = window->bounds(); gfx 316 ash/wm/default_state.cc gfx::Rect bounds = window->bounds(); gfx 327 ash/wm/default_state.cc gfx::Rect display_area = ScreenUtil::GetDisplayBoundsInParent(window); gfx 342 ash/wm/default_state.cc gfx::Rect work_area_in_parent = gfx 344 ash/wm/default_state.cc gfx::Rect bounds = window_state->window()->bounds(); gfx 358 ash/wm/default_state.cc gfx::Rect work_area_in_parent = gfx 360 ash/wm/default_state.cc gfx::Rect bounds = window_state->window()->bounds(); gfx 408 ash/wm/default_state.cc gfx::Rect work_area_in_parent = gfx 410 ash/wm/default_state.cc gfx::Rect child_bounds(event->requested_bounds()); gfx 449 ash/wm/default_state.cc gfx::Rect restore_bounds_in_screen; gfx 501 ash/wm/default_state.cc gfx::Rect bounds_in_parent; gfx 511 ash/wm/default_state.cc gfx::Rect work_area_in_parent = gfx 586 ash/wm/default_state.cc gfx::Rect center_in_screen = gfx 588 ash/wm/default_state.cc gfx::Size size = window_state->HasRestoreBounds() ? gfx 595 ash/wm/default_state.cc gfx::Rect center_in_parent = gfx 66 ash/wm/default_state.h gfx::Rect stored_bounds_; gfx 67 ash/wm/default_state.h gfx::Rect stored_restore_bounds_; gfx 70 ash/wm/default_state.h gfx::Display stored_display_state_; gfx 29 ash/wm/default_window_resizer.cc void DefaultWindowResizer::Drag(const gfx::Point& location, int event_flags) { gfx 30 ash/wm/default_window_resizer.cc gfx::Rect bounds(CalculateBoundsForDrag(location)); gfx 32 ash/wm/default_window_resizer.h virtual void Drag(const gfx::Point& location, int event_flags) OVERRIDE; gfx 73 ash/wm/dock/docked_window_layout_manager.cc void SetBackgroundBounds(const gfx::Rect bounds, DockedAlignment alignment) { gfx 75 ash/wm/dock/docked_window_layout_manager.cc opaque_background_.SetBounds(gfx::Rect(bounds.size())); gfx 96 ash/wm/dock/docked_window_layout_manager.cc virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE { gfx 97 ash/wm/dock/docked_window_layout_manager.cc const gfx::ImageSkia& shelf_background( gfx 100 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect rect = gfx::Rect(GetWindowBoundsInScreen().size()); gfx 133 ash/wm/dock/docked_window_layout_manager.cc SchedulePaintInRect(gfx::Rect(GetWindowBoundsInScreen().size())); gfx 151 ash/wm/dock/docked_window_layout_manager.cc opaque_background_.SetBounds(gfx::Rect(GetWindowBoundsInScreen().size())); gfx 157 ash/wm/dock/docked_window_layout_manager.cc gfx::ImageSkia shelf_background = gfx 159 ash/wm/dock/docked_window_layout_manager.cc shelf_background_left_ = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 161 ash/wm/dock/docked_window_layout_manager.cc shelf_background_right_ = gfx::ImageSkiaOperations::CreateRotatedImage( gfx 190 ash/wm/dock/docked_window_layout_manager.cc SchedulePaintInRect(gfx::Rect(GetWindowBoundsInScreen().size())); gfx 205 ash/wm/dock/docked_window_layout_manager.cc gfx::ImageSkia shelf_background_left_; gfx 206 ash/wm/dock/docked_window_layout_manager.cc gfx::ImageSkia shelf_background_right_; gfx 234 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect previous_bounds = window->bounds(); gfx 236 ash/wm/dock/docked_window_layout_manager.cc aura::client::ParentWindowWithContext(window, window, gfx::Rect()); gfx 316 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect win1_bounds = ScreenUtil::ConvertRectToScreen( gfx 318 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect win2_bounds = ScreenUtil::ConvertRectToScreen( gfx 337 ash/wm/dock/docked_window_layout_manager.cc bool compare_bounds(const gfx::Rect dragged, const gfx::Rect other) { gfx 344 ash/wm/dock/docked_window_layout_manager.cc bool compare_two_windows(const gfx::Rect bounds1, const gfx::Rect bounds2) { gfx 386 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& old_bounds, gfx 387 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 393 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& shelf_bounds_in_screen() const { gfx 399 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect shelf_bounds_in_screen_; gfx 539 ash/wm/dock/docked_window_layout_manager.cc dragged_bounds_ = gfx::Rect(); gfx 558 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& bounds(window->GetBoundsInScreen()); gfx 567 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect container_bounds = dock_container_->GetBoundsInScreen(); gfx 619 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect work_area = gfx 709 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 825 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& old_bounds, gfx 826 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& new_bounds) { gfx 886 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect work_area = gfx 932 ash/wm/dock/docked_window_layout_manager.cc gfx::Display display = Shell::GetScreen()->GetDisplayNearestWindow( gfx 934 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect work_area = display.work_area(); gfx 942 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect bounds(window->bounds()); gfx 981 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect restore_bounds = window_state->GetRestoreBoundsInScreen(); gfx 1015 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& bounds(window->GetBoundsInScreen()); gfx 1016 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect container_bounds = dock_container_->GetBoundsInScreen(); gfx 1029 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect dock_bounds = dock_container_->GetBoundsInScreen(); gfx 1062 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect work_area = gfx 1080 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect work_area, gfx 1135 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& work_area, gfx 1139 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect dock_bounds = dock_container_->GetBoundsInScreen(); gfx 1166 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect bounds = ScreenUtil::ConvertRectToScreen( gfx 1226 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect work_area = gfx 1228 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect bounds = gfx::Rect( gfx 1242 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect background_bounds(docked_bounds_); gfx 1279 ash/wm/dock/docked_window_layout_manager.cc gfx::Rect bounds = (*it)->bounds(); gfx 1311 ash/wm/dock/docked_window_layout_manager.cc const gfx::Rect& keyboard_bounds) { gfx 32 ash/wm/dock/docked_window_layout_manager.h namespace gfx { gfx 127 ash/wm/dock/docked_window_layout_manager.h const gfx::Rect& docked_bounds() const { return docked_bounds_; } gfx 130 ash/wm/dock/docked_window_layout_manager.h const gfx::Rect dragged_bounds() const { return dragged_bounds_;} gfx 146 ash/wm/dock/docked_window_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 166 ash/wm/dock/docked_window_layout_manager.h const gfx::Rect& old_bounds, gfx 167 ash/wm/dock/docked_window_layout_manager.h const gfx::Rect& new_bounds) OVERRIDE; gfx 225 ash/wm/dock/docked_window_layout_manager.h const gfx::Rect work_area, gfx 235 ash/wm/dock/docked_window_layout_manager.h void FanOutChildren(const gfx::Rect& work_area, gfx 251 ash/wm/dock/docked_window_layout_manager.h const gfx::Rect& keyboard_bounds) OVERRIDE; gfx 283 ash/wm/dock/docked_window_layout_manager.h gfx::Rect docked_bounds_; gfx 286 ash/wm/dock/docked_window_layout_manager.h gfx::Rect dragged_bounds_; gfx 10 ash/wm/dock/docked_window_layout_manager_observer.h namespace gfx { gfx 30 ash/wm/dock/docked_window_layout_manager_observer.h virtual void OnDockBoundsChanging(const gfx::Rect& new_bounds, gfx 69 ash/wm/dock/docked_window_layout_manager_unittest.cc aura::Window* CreateTestWindow(const gfx::Rect& bounds) { gfx 85 ash/wm/dock/docked_window_layout_manager_unittest.cc const gfx::Rect& bounds, gfx 108 ash/wm/dock/docked_window_layout_manager_unittest.cc const gfx::Point& point_in_parent, gfx 124 ash/wm/dock/docked_window_layout_manager_unittest.cc window->bounds().origin() + gfx::Vector2d(dx, dy); gfx 132 ash/wm/dock/docked_window_layout_manager_unittest.cc resizer_->Drag(initial_location_in_parent_ + gfx::Vector2d(dx, dy), 0); gfx 175 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 184 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 188 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 190 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Point initial_location_in_screen = initial_location_in_parent_; gfx 216 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Point initial_location_in_parent_; gfx 227 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 245 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 259 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 262 ash/wm/dock/docked_window_layout_manager_unittest.cc window1->SetBounds(gfx::Rect(250, 32, 231, 320)); gfx 276 ash/wm/dock/docked_window_layout_manager_unittest.cc window2->SetBounds(gfx::Rect(250, 48, 150, 300)); gfx 295 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 309 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 312 ash/wm/dock/docked_window_layout_manager_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 231, 320)); gfx 326 ash/wm/dock/docked_window_layout_manager_unittest.cc window2->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 348 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect bounds(600, 0, 201, 201); gfx 362 ash/wm/dock/docked_window_layout_manager_unittest.cc bounds = gfx::Rect(616, 32, 231, 320); gfx 365 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 376 ash/wm/dock/docked_window_layout_manager_unittest.cc bounds = gfx::Rect(632, 48, 256, 512); gfx 399 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 400 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 202))); gfx 413 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 428 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 429 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 202))); gfx 447 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 463 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 310))); gfx 465 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 310))); gfx 467 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w3(CreateTestWindow(gfx::Rect(0, 0, 220, 310))); gfx 483 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 532 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 1000, 201, 310))); gfx 534 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 1000, 210, 310))); gfx 536 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w3(CreateTestWindow(gfx::Rect(0, 1000, 220, 310))); gfx 550 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 593 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 594 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 280, 202))); gfx 609 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 611 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 280, 202))); gfx 626 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 627 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 280, 202))); gfx 647 ash/wm/dock/docked_window_layout_manager_unittest.cc delegate1.set_maximum_size(gfx::Size(240, 0)); gfx 649 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect(0, 0, 201, 201), &delegate1)); gfx 651 ash/wm/dock/docked_window_layout_manager_unittest.cc delegate2.set_minimum_size(gfx::Size(260, 0)); gfx 653 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect(0, 0, 280, 202), &delegate2)); gfx 672 ash/wm/dock/docked_window_layout_manager_unittest.cc delegate.set_minimum_size(gfx::Size(400, 0)); gfx 674 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect(0, 0, 400, 201), &delegate)); gfx 695 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 697 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 202))); gfx 699 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w3(CreateTestWindow(gfx::Rect(0, 0, 220, 204))); gfx 723 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 725 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 202))); gfx 737 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 746 ash/wm/dock/docked_window_layout_manager_unittest.cc scoped_ptr<aura::Window> w3(CreateTestWindow(gfx::Rect(0, 0, 220, 204))); gfx 772 ash/wm/dock/docked_window_layout_manager_unittest.cc delegate1.set_minimum_size(gfx::Size(0, 300)); gfx 773 ash/wm/dock/docked_window_layout_manager_unittest.cc delegate1.set_maximum_size(gfx::Size(0, 300)); gfx 775 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect(0, 0, 201, 300), &delegate1)); gfx 778 ash/wm/dock/docked_window_layout_manager_unittest.cc delegate2.set_maximum_size(gfx::Size(0, 100)); gfx 780 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect(0, 0, 280, 90), &delegate2)); gfx 799 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 814 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect bounds(600, 0, 201, 201); gfx 828 ash/wm/dock/docked_window_layout_manager_unittest.cc gfx::Rect work_area = gfx 38 ash/wm/dock/docked_window_resizer.cc const gfx::Point& point) { gfx 39 ash/wm/dock/docked_window_resizer.cc gfx::Display display = ScreenUtil::FindDisplayContainingPoint(point); gfx 62 ash/wm/dock/docked_window_resizer.cc void DockedWindowResizer::Drag(const gfx::Point& location, int event_flags) { gfx 69 ash/wm/dock/docked_window_resizer.cc gfx::Point offset; gfx 70 ash/wm/dock/docked_window_resizer.cc gfx::Rect bounds(CalculateBoundsForDrag(location)); gfx 72 ash/wm/dock/docked_window_resizer.cc gfx::Point modified_location(location); gfx 152 ash/wm/dock/docked_window_resizer.cc void DockedWindowResizer::MaybeSnapToEdge(const gfx::Rect& bounds, gfx 153 ash/wm/dock/docked_window_resizer.cc gfx::Point* offset) { gfx 158 ash/wm/dock/docked_window_resizer.cc gfx::Rect dock_bounds = ScreenUtil::ConvertRectFromScreen( gfx 231 ash/wm/dock/docked_window_resizer.cc gfx::Rect bounds = ScreenUtil::ConvertRectFromScreen( gfx 240 ash/wm/dock/docked_window_resizer.cc gfx::Rect restore_bounds = window->GetBoundsInScreen(); gfx 288 ash/wm/dock/docked_window_resizer.cc gfx::Rect near_last_location(last_location_, gfx::Size()); gfx 14 ash/wm/dock/docked_window_resizer.h namespace gfx { gfx 39 ash/wm/dock/docked_window_resizer.h virtual void Drag(const gfx::Point& location, int event_flags) OVERRIDE; gfx 52 ash/wm/dock/docked_window_resizer.h void MaybeSnapToEdge(const gfx::Rect& bounds, gfx::Point* offset); gfx 72 ash/wm/dock/docked_window_resizer.h gfx::Point last_location_; gfx 75 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* CreateTestWindow(const gfx::Rect& bounds) { gfx 93 ash/wm/dock/docked_window_resizer_unittest.cc aura::Window* CreateModalWindow(const gfx::Rect& bounds) { gfx 103 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Display display = gfx 107 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Point origin = bounds.origin(); gfx 109 ash/wm/dock/docked_window_resizer_unittest.cc window->SetBounds(gfx::Rect(origin, bounds.size())); gfx 117 ash/wm/dock/docked_window_resizer_unittest.cc const gfx::Point& point_in_parent, gfx 133 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().origin() + gfx::Vector2d(dx, dy); gfx 144 ash/wm/dock/docked_window_resizer_unittest.cc window->bounds().origin() + gfx::Vector2d(dx, dy); gfx 152 ash/wm/dock/docked_window_resizer_unittest.cc resizer_->Drag(initial_location_in_parent_ + gfx::Vector2d(dx, dy), 0); gfx 198 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 211 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 216 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect work_area = gfx 218 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Point initial_location_in_screen = initial_location_in_parent_; gfx 244 ash/wm/dock/docked_window_resizer_unittest.cc const gfx::Point& initial_location_in_parent() const { gfx 255 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Point initial_location_in_parent_; gfx 265 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 280 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 295 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 320 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 335 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 350 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 351 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds(window->bounds()); gfx 366 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 406 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect(0, 0, ideal_width() + 10, 201))); gfx 452 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect(0, 0, ideal_width() + 10, 201))); gfx 494 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 520 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 543 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 544 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 585 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 594 ash/wm/dock/docked_window_resizer_unittest.cc NULL, ui::wm::WINDOW_TYPE_NORMAL, 0, gfx::Rect(20, 20, 150, 20))); gfx 599 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect work_area = gfx 627 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 628 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 630 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds(w2->bounds()); gfx 651 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 676 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 725 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 726 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 786 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 787 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 201))); gfx 858 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 859 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 201))); gfx 901 ash/wm/dock/docked_window_resizer_unittest.cc const gfx::Rect restored_bounds = w2->bounds(); gfx 957 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 958 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 201))); gfx 1057 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1058 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 201))); gfx 1202 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1260 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1318 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1319 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w2(CreateTestWindow(gfx::Rect(0, 0, 210, 201))); gfx 1386 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1434 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1436 ash/wm/dock/docked_window_resizer_unittest.cc NULL, ui::wm::WINDOW_TYPE_NORMAL, 0, gfx::Rect(20, 20, 150, 20))); gfx 1452 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(gfx::Point(20 + 500, 20 + 20).ToString(), gfx 1464 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(gfx::Point(20 + 500, 20 + 20).ToString(), gfx 1475 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1476 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect bounds(window->bounds()); gfx 1480 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Vector2d move_vector(40, test_panels() ? -60 : 60); gfx 1486 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> child(CreateModalWindow(gfx::Rect(20, 20, 150, 20))); gfx 1503 ash/wm/dock/docked_window_resizer_unittest.cc EXPECT_EQ(gfx::Point(20, 20).ToString(), gfx 1514 ash/wm/dock/docked_window_resizer_unittest.cc scoped_ptr<aura::Window> w1(CreateTestWindow(gfx::Rect(0, 0, 201, 201))); gfx 1532 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect work_area(ScreenUtil::GetDisplayWorkAreaBoundsInParent(w1.get())); gfx 1572 ash/wm/dock/docked_window_resizer_unittest.cc gfx::Rect(0, 0, ideal_width(), 201))); gfx 45 ash/wm/drag_details.cc const gfx::Point& location, gfx 27 ash/wm/drag_details.h const gfx::Point& location, gfx 35 ash/wm/drag_details.h const gfx::Rect initial_bounds_in_parent; gfx 39 ash/wm/drag_details.h gfx::Rect restore_bounds; gfx 42 ash/wm/drag_details.h const gfx::Point initial_location_in_parent; gfx 32 ash/wm/drag_window_controller.cc const gfx::Display& dst_display) { gfx 42 ash/wm/drag_window_controller.cc void DragWindowController::SetBounds(const gfx::Rect& bounds) { gfx 63 ash/wm/drag_window_controller.cc void DragWindowController::CreateDragWidget(const gfx::Rect& bounds) { gfx 98 ash/wm/drag_window_controller.cc void DragWindowController::SetBoundsInternal(const gfx::Rect& bounds) { gfx 113 ash/wm/drag_window_controller.cc gfx::Rect layer_bounds = layer_owner_->root()->bounds(); gfx 114 ash/wm/drag_window_controller.cc layer_bounds.set_origin(gfx::Point(0, 0)); gfx 38 ash/wm/drag_window_controller.h void SetDestinationDisplay(const gfx::Display& dst_display); gfx 51 ash/wm/drag_window_controller.h void SetBounds(const gfx::Rect& bounds); gfx 62 ash/wm/drag_window_controller.h void CreateDragWidget(const gfx::Rect& bounds); gfx 66 ash/wm/drag_window_controller.h void SetBoundsInternal(const gfx::Rect& bounds); gfx 77 ash/wm/drag_window_controller.h gfx::Display dst_display_; gfx 83 ash/wm/drag_window_controller.h gfx::Rect bounds_; gfx 71 ash/wm/drag_window_resizer.cc void DragWindowResizer::Drag(const gfx::Point& location, int event_flags) { gfx 81 ash/wm/drag_window_resizer.cc gfx::Point location_in_screen = location; gfx 98 ash/wm/drag_window_resizer.cc gfx::Point last_mouse_location_in_screen = last_mouse_location_; gfx 101 ash/wm/drag_window_resizer.cc gfx::Screen* screen = Shell::GetScreen(); gfx 102 ash/wm/drag_window_resizer.cc const gfx::Display dst_display = gfx 109 ash/wm/drag_window_resizer.cc const gfx::Size& size = dst_display.work_area().size(); gfx 110 ash/wm/drag_window_resizer.cc gfx::Rect bounds = GetTarget()->bounds(); gfx 119 ash/wm/drag_window_resizer.cc gfx::Rect dst_bounds = gfx 164 ash/wm/drag_window_resizer.cc void DragWindowResizer::UpdateDragWindow(const gfx::Rect& bounds, gfx 172 ash/wm/drag_window_resizer.cc const gfx::Rect root_bounds_in_screen(another_root->GetBoundsInScreen()); gfx 173 ash/wm/drag_window_resizer.cc const gfx::Rect bounds_in_screen = gfx 175 ash/wm/drag_window_resizer.cc gfx::Rect bounds_in_another_root = gfx 176 ash/wm/drag_window_resizer.cc gfx::IntersectRects(root_bounds_in_screen, bounds_in_screen); gfx 31 ash/wm/drag_window_resizer.h virtual void Drag(const gfx::Point& location, int event_flags) OVERRIDE; gfx 46 ash/wm/drag_window_resizer.h void UpdateDragWindow(const gfx::Rect& bounds, bool in_original_root); gfx 56 ash/wm/drag_window_resizer.h gfx::Point last_mouse_location_; gfx 46 ash/wm/drag_window_resizer_unittest.cc gfx::Rect root_bounds(root->bounds()); gfx 49 ash/wm/drag_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 100 ash/wm/drag_window_resizer_unittest.cc gfx::Point CalculateDragPoint(const WindowResizer& resizer, gfx 103 ash/wm/drag_window_resizer_unittest.cc gfx::Point location = resizer.GetInitialLocation(); gfx 115 ash/wm/drag_window_resizer_unittest.cc const gfx::Point& point_in_parent, gfx 125 ash/wm/drag_window_resizer_unittest.cc const gfx::Point& point_in_screen) { gfx 163 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 169 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 181 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 187 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 200 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 207 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(49, 0), HTCAPTION)); gfx 222 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 700, 500), gfx 229 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(699, 0), HTCAPTION)); gfx 236 ash/wm/drag_window_resizer_unittest.cc gfx::Rect window_bounds_in_screen = window_->GetBoundsInScreen(); gfx 237 ash/wm/drag_window_resizer_unittest.cc gfx::Rect intersect(window_->GetRootWindow()->GetBoundsInScreen()); gfx 242 ash/wm/drag_window_resizer_unittest.cc EXPECT_TRUE(window_bounds_in_screen.Contains(gfx::Point(800, 10))); gfx 247 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 700, 500), gfx 255 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(0, 0), HTCAPTION)); gfx 263 ash/wm/drag_window_resizer_unittest.cc gfx::Rect window_bounds_in_screen = window_->GetBoundsInScreen(); gfx 264 ash/wm/drag_window_resizer_unittest.cc gfx::Rect intersect(window_->GetRootWindow()->GetBoundsInScreen()); gfx 268 ash/wm/drag_window_resizer_unittest.cc EXPECT_TRUE(window_bounds_in_screen.Contains(gfx::Point(850, 10))); gfx 289 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 299 ash/wm/drag_window_resizer_unittest.cc window.get(), gfx::Point(), HTCAPTION)); gfx 322 ash/wm/drag_window_resizer_unittest.cc gfx::Rect(800, 00, 50, 60), gfx 328 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 350 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 356 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 402 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 408 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 427 ash/wm/drag_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 50, 60)); gfx 433 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 444 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 454 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT)); gfx 465 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT)); gfx 491 ash/wm/drag_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 496 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 500 ash/wm/drag_window_resizer_unittest.cc WarpMouseCursorIfNecessary(root_windows[0], gfx::Point(399, 200)); gfx 515 ash/wm/drag_window_resizer_unittest.cc gfx::Rect(600, 0, 50, 60), gfx 520 ash/wm/drag_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 524 ash/wm/drag_window_resizer_unittest.cc WarpMouseCursorIfNecessary(root_windows[1], gfx::Point(400, 200)); gfx 546 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 550 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); gfx 554 ash/wm/drag_window_resizer_unittest.cc gfx::Point(399, 200))); gfx 561 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 565 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); gfx 569 ash/wm/drag_window_resizer_unittest.cc gfx::Point(399, 200))); gfx 576 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 580 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); gfx 584 ash/wm/drag_window_resizer_unittest.cc gfx::Point(399, 200))); gfx 591 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 595 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); gfx 600 ash/wm/drag_window_resizer_unittest.cc gfx::Point(399, 200))); gfx 607 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 611 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); gfx 615 ash/wm/drag_window_resizer_unittest.cc gfx::Point(399, 200))); gfx 622 ash/wm/drag_window_resizer_unittest.cc window->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 626 ash/wm/drag_window_resizer_unittest.cc window, gfx::Point(), HTCAPTION)); gfx 630 ash/wm/drag_window_resizer_unittest.cc gfx::Point(399, 200))); gfx 77 ash/wm/gestures/long_press_affordance_handler.cc void PaintAffordanceArc(gfx::Canvas* canvas, gfx 78 ash/wm/gestures/long_press_affordance_handler.cc gfx::Point& center, gfx 97 ash/wm/gestures/long_press_affordance_handler.cc void PaintAffordanceGlow(gfx::Canvas* canvas, gfx 98 ash/wm/gestures/long_press_affordance_handler.cc gfx::Point& center, gfx 141 ash/wm/gestures/long_press_affordance_handler.cc LongPressAffordanceView(const gfx::Point& event_location, gfx 152 ash/wm/gestures/long_press_affordance_handler.cc gfx::Point point = event_location; gfx 155 ash/wm/gestures/long_press_affordance_handler.cc widget_->SetBounds(gfx::Rect( gfx 167 ash/wm/gestures/long_press_affordance_handler.cc void UpdateWithGrowAnimation(gfx::Animation* animation) { gfx 179 ash/wm/gestures/long_press_affordance_handler.cc void UpdateWithShrinkAnimation(gfx::Animation* animation) { gfx 190 ash/wm/gestures/long_press_affordance_handler.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 191 ash/wm/gestures/long_press_affordance_handler.cc return gfx::Size(2 * (kAffordanceOuterRadius + kAffordanceGlowWidth), gfx 195 ash/wm/gestures/long_press_affordance_handler.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 196 ash/wm/gestures/long_press_affordance_handler.cc gfx::Point center(GetPreferredSize().width() / 2, gfx 200 ash/wm/gestures/long_press_affordance_handler.cc gfx::Transform scale; gfx 238 ash/wm/gestures/long_press_affordance_handler.cc : gfx::LinearAnimation(kAffordanceFrameRateHz, NULL), gfx 30 ash/wm/gestures/long_press_affordance_handler.h class LongPressAffordanceHandler : public gfx::LinearAnimation, gfx 62 ash/wm/gestures/long_press_affordance_handler.h gfx::Point tap_down_location_; gfx 85 ash/wm/gestures/overview_gesture_handler.cc gfx::Point point_in_screen(event.location()); gfx 22 ash/wm/gestures/overview_gesture_handler_unittest.cc aura::Window* CreateWindow(const gfx::Rect& bounds) { gfx 40 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 45 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), gfx 50 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), gfx 55 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), gfx 60 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), gfx 67 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 72 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), gfx 76 ash/wm/gestures/overview_gesture_handler_unittest.cc generator.ScrollSequence(gfx::Point(), base::TimeDelta::FromMilliseconds(5), gfx 84 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 91 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Point start; gfx 144 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 149 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Point start_points[3]; gfx 150 ash/wm/gestures/overview_gesture_handler_unittest.cc start_points[0] = start_points[1] = start_points[2] = gfx::Point(); gfx 161 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Rect bounds(100, 100, 400, 400); gfx 166 ash/wm/gestures/overview_gesture_handler_unittest.cc gfx::Point start_points[3]; gfx 167 ash/wm/gestures/overview_gesture_handler_unittest.cc start_points[0] = start_points[1] = start_points[2] = gfx::Point(105, 105); gfx 33 ash/wm/gestures/tray_gesture_handler.cc gfx::Rect bounds = widget_->GetWindowBoundsInScreen(); gfx 56 ash/wm/gestures/tray_gesture_handler.cc gfx::Rect bounds = widget_->GetWindowBoundsInScreen(); gfx 65 ash/wm/image_cursors.cc gfx::Display ImageCursors::GetDisplay() const { gfx 70 ash/wm/image_cursors.cc return gfx::Display(); gfx 75 ash/wm/image_cursors.cc bool ImageCursors::SetDisplay(const gfx::Display& display) { gfx 92 ash/wm/image_cursors.cc const gfx::Display& display = cursor_loader_->display(); gfx 99 ash/wm/image_cursors.cc gfx::Point hot_point; gfx 110 ash/wm/image_cursors.cc gfx::Point hot_point; gfx 148 ash/wm/image_cursors.cc void ImageCursors::SetPlatformCursor(gfx::NativeCursor* cursor) { gfx 14 ash/wm/image_cursors.h namespace gfx { gfx 33 ash/wm/image_cursors.h gfx::Display GetDisplay() const; gfx 39 ash/wm/image_cursors.h bool SetDisplay(const gfx::Display& display); gfx 48 ash/wm/image_cursors.h void SetPlatformCursor(gfx::NativeCursor* cursor); gfx 98 ash/wm/immersive_fullscreen_controller.cc gfx::Point GetEventLocationInScreen(const ui::LocatedEvent& event) { gfx 99 ash/wm/immersive_fullscreen_controller.cc gfx::Point location_in_screen = event.location(); gfx 108 ash/wm/immersive_fullscreen_controller.cc gfx::Rect GetDisplayBoundsInScreen(aura::Window* window) { gfx 242 ash/wm/immersive_fullscreen_controller.cc animation_(new gfx::SlideAnimation(this)), gfx 338 ash/wm/immersive_fullscreen_controller.cc std::vector<gfx::Rect> bounds_in_screen( gfx 346 ash/wm/immersive_fullscreen_controller.cc gfx::Point cursor_pos(0, bottommost_in_screen + 100); gfx 460 ash/wm/immersive_fullscreen_controller.cc const gfx::Animation* animation) { gfx 469 ash/wm/immersive_fullscreen_controller.cc const gfx::Animation* animation) { gfx 570 ash/wm/immersive_fullscreen_controller.cc gfx::Point location_in_screen = GetEventLocationInScreen(*event); gfx 576 ash/wm/immersive_fullscreen_controller.cc gfx::Rect hit_bounds_in_screen = GetDisplayBoundsInScreen(native_window_); gfx 628 ash/wm/immersive_fullscreen_controller.cc gfx::Point location_in_screen; gfx 650 ash/wm/immersive_fullscreen_controller.cc std::vector<gfx::Rect> hit_bounds_in_screen = gfx 867 ash/wm/immersive_fullscreen_controller.cc const gfx::Point& location) const { gfx 881 ash/wm/immersive_fullscreen_controller.cc gfx::Rect dead_region = GetDisplayBoundsInScreen(native_window_); gfx 888 ash/wm/immersive_fullscreen_controller.cc const gfx::Point& location) const { gfx 891 ash/wm/immersive_fullscreen_controller.cc std::vector<gfx::Rect> hit_bounds_in_screen( gfx 902 ash/wm/immersive_fullscreen_controller.cc gfx::Rect hit_bounds_in_screen(GetDisplayBoundsInScreen(native_window_)); gfx 911 ash/wm/immersive_fullscreen_controller.cc gfx::Rect screen_bounds = gfx 24 ash/wm/immersive_fullscreen_controller.h namespace gfx { gfx 42 ash/wm/immersive_fullscreen_controller.h : public gfx::AnimationDelegate, gfx 80 ash/wm/immersive_fullscreen_controller.h virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const = 0; gfx 143 ash/wm/immersive_fullscreen_controller.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 144 ash/wm/immersive_fullscreen_controller.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 229 ash/wm/immersive_fullscreen_controller.h const gfx::Point& location_in_screen) const; gfx 237 ash/wm/immersive_fullscreen_controller.h bool ShouldHandleGestureEvent(const gfx::Point& location) const; gfx 283 ash/wm/immersive_fullscreen_controller.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 60 ash/wm/immersive_fullscreen_controller_unittest.cc virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const OVERRIDE { gfx 61 ash/wm/immersive_fullscreen_controller_unittest.cc std::vector<gfx::Rect> bounds_in_screen; gfx 158 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Size window_size = widget_->GetWindowBoundsInScreen().size(); gfx 208 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Point screen_position(x, y); gfx 226 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Point event_position(0, revealed ? 0 : top_container_->height() + 100); gfx 233 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Point screen_position = event_position; gfx 242 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Point start(0, revealed ? 0 : top_container_->height() - 2); gfx 243 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Vector2d scroll_delta(0, 40); gfx 244 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Point end = revealed ? start + scroll_delta : start - scroll_delta; gfx 361 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect top_container_bounds_in_screen = gfx 364 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Point top_edge_pos(top_container_bounds_in_screen.x() + 100, gfx 457 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect(0, 0, 200, 200)); gfx 465 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect top_container_bounds_in_screen = gfx 467 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect popup_bounds_in_screen = popup_widget->GetWindowBoundsInScreen(); gfx 529 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect primary_root_window_bounds_in_screen = gfx 589 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect(0, 200, 100, 100)); gfx 725 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect())); gfx 747 ash/wm/immersive_fullscreen_controller_unittest.cc gfx::Rect window_bounds = window()->GetBoundsInScreen(); gfx 759 ash/wm/immersive_fullscreen_controller_unittest.cc ui::TouchEvent touch(ui::ET_TOUCH_MOVED, gfx::Point(10, top), 0, gfx 770 ash/wm/immersive_fullscreen_controller_unittest.cc ui::TouchEvent touch2(ui::ET_TOUCH_MOVED, gfx::Point(10, top), 0, gfx 860 ash/wm/immersive_fullscreen_controller_unittest.cc transient_params.bounds = gfx::Rect(0, 100, 100, 100); gfx 879 ash/wm/immersive_fullscreen_controller_unittest.cc non_transient_params.bounds = gfx::Rect(0, 100, 100, 100); gfx 20 ash/wm/lock_state_controller.h namespace gfx { gfx 319 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); gfx 340 ash/wm/lock_state_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); gfx 391 ash/wm/lock_state_controller_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 615 ash/wm/lock_state_controller_unittest.cc gfx::Transform transform_before_button_released = gfx 623 ash/wm/lock_state_controller_unittest.cc gfx::Transform transform_after_button_released = gfx 997 ash/wm/lock_state_controller_unittest.cc modes.push_back(new ui::DisplayMode(gfx::Size(1, 1), false, 60.0f)); gfx 49 ash/wm/maximize_mode/maximize_mode_controller.cc float AngleBetweenVectorsInDegrees(const gfx::Vector3dF& base, gfx 50 ash/wm/maximize_mode/maximize_mode_controller.cc const gfx::Vector3dF& other) { gfx 51 ash/wm/maximize_mode/maximize_mode_controller.cc return acos(gfx::DotProduct(base, other) / gfx 57 ash/wm/maximize_mode/maximize_mode_controller.cc float ClockwiseAngleBetweenVectorsInDegrees(const gfx::Vector3dF& base, gfx 58 ash/wm/maximize_mode/maximize_mode_controller.cc const gfx::Vector3dF& other, gfx 59 ash/wm/maximize_mode/maximize_mode_controller.cc const gfx::Vector3dF& normal) { gfx 61 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Vector3dF cross(base); gfx 66 ash/wm/maximize_mode/maximize_mode_controller.cc if (gfx::DotProduct(cross, normal) > 0.0f) gfx 82 ash/wm/maximize_mode/maximize_mode_controller.cc const gfx::Vector3dF& base, gfx 83 ash/wm/maximize_mode/maximize_mode_controller.cc const gfx::Vector3dF& lid) { gfx 90 ash/wm/maximize_mode/maximize_mode_controller.cc void MaximizeModeController::HandleHingeRotation(const gfx::Vector3dF& base, gfx 91 ash/wm/maximize_mode/maximize_mode_controller.cc const gfx::Vector3dF& lid) { gfx 92 ash/wm/maximize_mode/maximize_mode_controller.cc static const gfx::Vector3dF hinge_vector(0.0f, 1.0f, 0.0f); gfx 122 ash/wm/maximize_mode/maximize_mode_controller.cc void MaximizeModeController::HandleScreenRotation(const gfx::Vector3dF& lid) { gfx 128 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Display::Rotation current_rotation = display_manager->GetDisplayInfo( gfx 129 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Display::InternalDisplayId()).rotation(); gfx 134 ash/wm/maximize_mode/maximize_mode_controller.cc if (current_rotation != gfx::Display::ROTATE_0) { gfx 141 ash/wm/maximize_mode/maximize_mode_controller.cc display_manager->SetDisplayRotation(gfx::Display::InternalDisplayId(), gfx 142 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Display::ROTATE_0); gfx 149 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Vector3dF lid_flattened(lid.x(), lid.y(), 0.0f); gfx 159 ash/wm/maximize_mode/maximize_mode_controller.cc static gfx::Vector3dF rotation_reference(-1.0f, 1.0f, 0.0f); gfx 165 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Vector3dF down(0.0f, 0.0f, 0.0f); gfx 166 ash/wm/maximize_mode/maximize_mode_controller.cc if (current_rotation == gfx::Display::ROTATE_0) gfx 168 ash/wm/maximize_mode/maximize_mode_controller.cc else if (current_rotation == gfx::Display::ROTATE_90) gfx 170 ash/wm/maximize_mode/maximize_mode_controller.cc else if (current_rotation == gfx::Display::ROTATE_180) gfx 182 ash/wm/maximize_mode/maximize_mode_controller.cc lid_flattened, gfx::Vector3dF(0.0f, 0.0f, -1.0f)); gfx 184 ash/wm/maximize_mode/maximize_mode_controller.cc gfx::Display::Rotation new_rotation = gfx::Display::ROTATE_90; gfx 186 ash/wm/maximize_mode/maximize_mode_controller.cc new_rotation = gfx::Display::ROTATE_0; gfx 188 ash/wm/maximize_mode/maximize_mode_controller.cc new_rotation = gfx::Display::ROTATE_270; gfx 190 ash/wm/maximize_mode/maximize_mode_controller.cc new_rotation = gfx::Display::ROTATE_180; gfx 194 ash/wm/maximize_mode/maximize_mode_controller.cc if (new_rotation == gfx::Display::ROTATE_0 || gfx 196 ash/wm/maximize_mode/maximize_mode_controller.cc display_manager->SetDisplayRotation(gfx::Display::InternalDisplayId(), gfx 21 ash/wm/maximize_mode/maximize_mode_controller.h virtual void OnAccelerometerUpdated(const gfx::Vector3dF& base, gfx 22 ash/wm/maximize_mode/maximize_mode_controller.h const gfx::Vector3dF& lid) OVERRIDE; gfx 26 ash/wm/maximize_mode/maximize_mode_controller.h void HandleHingeRotation(const gfx::Vector3dF& base, gfx 27 ash/wm/maximize_mode/maximize_mode_controller.h const gfx::Vector3dF& lid); gfx 31 ash/wm/maximize_mode/maximize_mode_controller.h void HandleScreenRotation(const gfx::Vector3dF& lid); gfx 48 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc void TriggerAccelerometerUpdate(const gfx::Vector3dF& base, gfx 49 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc const gfx::Vector3dF& lid) { gfx 57 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Display::Rotation GetInternalDisplayRotation() const { gfx 59 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Display::InternalDisplayId()).rotation(); gfx 71 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF base(0.0f, 0.0f, 1.0f); gfx 74 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); gfx 78 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(0.05f, 0.0f, -1.0f)); gfx 82 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(1.0f, 0.0f, 0.0f)); gfx 87 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-0.05f, 0.0f, 1.0f)); gfx 91 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-0.05f, 0.0f, -1.0f)); gfx 95 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(base, gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); gfx 103 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.0f, 1.0f), gfx 104 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); gfx 108 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, -1.0f, 0.0f), gfx 109 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(0.0f, -1.0f, 0.0f)); gfx 113 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, -1.0f, 0.01f), gfx 114 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(0.01f, -1.0f, 0.0f)); gfx 118 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.0f, 1.0f), gfx 119 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(1.0f, 0.0f, 0.0f)); gfx 124 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, -1.0f, 0.01f), gfx 125 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-0.01f, -1.0f, 0.0f)); gfx 133 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.0f, -1.0f), gfx 134 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); gfx 138 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 1.0f, 0.0f), gfx 139 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(0.0f, 1.0f, 0.0f)); gfx 140 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetInternalDisplayRotation()); gfx 141 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(1.0f, 0.0f, 0.0f), gfx 142 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(1.0f, 0.0f, 0.0f)); gfx 143 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_180, GetInternalDisplayRotation()); gfx 144 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, -1.0f, 0.0f), gfx 145 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(0.0f, -1.0f, 0.0f)); gfx 146 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, GetInternalDisplayRotation()); gfx 147 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(-1.0f, 0.0f, 0.0f), gfx 148 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); gfx 149 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 156 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.0f, -1.0f), gfx 157 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); gfx 160 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(-1.0f, 0.0f, -1.0f), gfx 161 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-1.0f, 0.0f, -1.0f)); gfx 162 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 163 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.2f, -1.0f), gfx 164 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(0.0f, 0.2f, -1.0f)); gfx 165 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 166 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.2f, 0.0f, -1.0f), gfx 167 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(0.2f, 0.0f, -1.0f)); gfx 168 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 169 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, -0.2f, -1.0f), gfx 170 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(0.0f, -0.2f, -1.0f)); gfx 171 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 172 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(-0.2f, 0.0f, -1.0f), gfx 173 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-0.2f, 0.0f, -1.0f)); gfx 174 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 181 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.0f, -1.0f), gfx 182 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-1.0f, 0.0f, 0.0f)); gfx 185 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF gravity(-1.0f, 0.0f, 0.0f); gfx 187 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 195 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 202 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetInternalDisplayRotation()); gfx 210 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetInternalDisplayRotation()); gfx 217 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.8f, 0.3f), gfx 218 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-0.3f, 0.8f, 0.0f)); gfx 220 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 223 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.8f, -0.3f), gfx 224 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-0.3f, 0.8f, 0.0f)); gfx 226 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, GetInternalDisplayRotation()); gfx 229 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc TriggerAccelerometerUpdate(gfx::Vector3dF(0.0f, 0.8f, 0.3f), gfx 230 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc gfx::Vector3dF(-0.3f, 0.8f, 0.0f)); gfx 232 ash/wm/maximize_mode/maximize_mode_controller_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, GetInternalDisplayRotation()); gfx 75 ash/wm/maximize_mode/maximize_mode_window_manager.cc const gfx::Rect& old_bounds, gfx 76 ash/wm/maximize_mode/maximize_mode_window_manager.cc const gfx::Rect& new_bounds) { gfx 88 ash/wm/maximize_mode/maximize_mode_window_manager.cc const gfx::Display& display) { gfx 92 ash/wm/maximize_mode/maximize_mode_window_manager.cc void MaximizeModeWindowManager::OnDisplayAdded(const gfx::Display& display) { gfx 96 ash/wm/maximize_mode/maximize_mode_window_manager.cc void MaximizeModeWindowManager::OnDisplayRemoved(const gfx::Display& display) { gfx 30 ash/wm/maximize_mode/maximize_mode_window_manager.h public gfx::DisplayObserver, gfx 46 ash/wm/maximize_mode/maximize_mode_window_manager.h const gfx::Rect& old_bounds, gfx 47 ash/wm/maximize_mode/maximize_mode_window_manager.h const gfx::Rect& new_bounds) OVERRIDE; gfx 51 ash/wm/maximize_mode/maximize_mode_window_manager.h const gfx::Display& display) OVERRIDE; gfx 52 ash/wm/maximize_mode/maximize_mode_window_manager.h virtual void OnDisplayAdded(const gfx::Display& display) OVERRIDE; gfx 53 ash/wm/maximize_mode/maximize_mode_window_manager.h virtual void OnDisplayRemoved(const gfx::Display& display) OVERRIDE; gfx 37 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc const gfx::Rect& bounds) { gfx 43 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc const gfx::Rect bounds) { gfx 68 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Size size = Shell::GetScreen()->GetDisplayNearestWindow( gfx 78 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc const gfx::Rect& bounds, gfx 111 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect1(10, 10, 200, 50); gfx 112 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect2(10, 60, 200, 50); gfx 113 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect3(20, 140, 100, 100); gfx 115 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(80, 90, 100, 110); gfx 179 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect1(10, 10, 200, 50); gfx 180 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect2(10, 60, 200, 50); gfx 181 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect3(20, 140, 100, 100); gfx 183 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(80, 90, 100, 110); gfx 233 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect1(10, 10, 200, 50); gfx 234 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect2(10, 60, 200, 50); gfx 235 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect3(20, 140, 100, 100); gfx 237 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(80, 90, 100, 110); gfx 263 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect1(10, 10, 200, 50); gfx 264 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect2(10, 60, 200, 50); gfx 265 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect3(20, 140, 100, 100); gfx 267 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, gfx::Rect(10, 10, 200, 50))); gfx 269 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc CreateWindow(ui::wm::WINDOW_TYPE_NORMAL, gfx::Rect(10, 60, 200, 50))); gfx 272 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect(20, 140, 100, 100))); gfx 286 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(10, 10, 200, 50); gfx 309 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(10, 10, 200, 50); gfx 354 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(20, 300, 100, 100); gfx 360 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect2(20, 140, 100, 100); gfx 368 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect moved_bounds(window1->bounds()); gfx 374 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect new_moved_bounds(window1->bounds()); gfx 389 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(20, 140, 100, 100); gfx 397 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect moved_bounds(window->bounds()); gfx 403 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect new_moved_bounds(window->bounds()); gfx 418 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(20, 140, 100, 100); gfx 469 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(20, 140, 100, 100); gfx 486 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(20, 140, 100, 100); gfx 510 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(20, 140, 100, 100); gfx 537 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect rect(10, 10, 100, 100); gfx 545 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc generator.MoveMouseTo(gfx::Point(rect.x() + 2, rect.y() + 2)); gfx 550 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Point first_dragged_origin = window->bounds().origin(); gfx 557 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc gfx::Rect center_bounds(window->bounds()); gfx 559 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc generator.MoveMouseTo(gfx::Point(center_bounds.x() + 1, gfx 571 ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc generator.MoveMouseTo(gfx::Point(first_dragged_origin.x() + 1, gfx 30 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Size GetMaximumSizeOfWindow(wm::WindowState* window_state) { gfx 33 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Size workspace_size = ScreenUtil::GetMaximizedWindowBoundsInParent( gfx 40 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Size size = delegate->GetMaximumSize(); gfx 49 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect GetMaximizedAndCenteredBounds(wm::WindowState* state_object) { gfx 50 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect bounds_in_parent; gfx 62 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect work_area_in_parent = gfx 74 ash/wm/maximize_mode/maximize_mode_window_state.cc bounds_in_parent.set_origin(gfx::Point(x, y)); gfx 84 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect bounds_in_parent = GetMaximizedAndCenteredBounds(window_state); gfx 142 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect bounds_in_parent = gfx 191 ash/wm/maximize_mode/maximize_mode_window_state.cc gfx::Rect bounds_in_parent = GetMaximizedAndCenteredBounds(window_state); gfx 57 ash/wm/maximize_mode/workspace_backdrop_delegate.cc const gfx::Rect& old_bounds, gfx 58 ash/wm/maximize_mode/workspace_backdrop_delegate.cc const gfx::Rect& new_bounds) { gfx 129 ash/wm/maximize_mode/workspace_backdrop_delegate.cc gfx::Rect target_rect(gfx::Point(0, 0), container_->bounds().size()); gfx 36 ash/wm/maximize_mode/workspace_backdrop_delegate.h const gfx::Rect& old_bounds, gfx 37 ash/wm/maximize_mode/workspace_backdrop_delegate.h const gfx::Rect& new_bounds) OVERRIDE; gfx 23 ash/wm/mru_window_tracker_unittest.cc return CreateTestWindowInShellWithBounds(gfx::Rect(0, 0, 400, 400)); gfx 34 ash/wm/overview/scoped_transform_overview_window.cc SetTweenType(gfx::Tween::FAST_OUT_SLOW_IN); gfx 42 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Transform& transform, gfx 52 ash/wm/overview/scoped_transform_overview_window.cc gfx::Transform TranslateTransformOrigin(const gfx::Vector2d& new_origin, gfx 53 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Transform& transform) { gfx 54 ash/wm/overview/scoped_transform_overview_window.cc gfx::Transform result; gfx 63 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Transform& transform, gfx 72 ash/wm/overview/scoped_transform_overview_window.cc gfx::Rect window_bounds = window->bounds(); gfx 73 ash/wm/overview/scoped_transform_overview_window.cc gfx::Rect child_bounds = transient_child->bounds(); gfx 74 ash/wm/overview/scoped_transform_overview_window.cc gfx::Transform transient_window_transform( gfx 104 ash/wm/overview/scoped_transform_overview_window.cc gfx::Transform transform; gfx 138 ash/wm/overview/scoped_transform_overview_window.cc gfx::Rect ScopedTransformOverviewWindow::GetBoundsInScreen() const { gfx 139 ash/wm/overview/scoped_transform_overview_window.cc gfx::Rect bounds; gfx 158 ash/wm/overview/scoped_transform_overview_window.cc original_transform_ = gfx::Transform(); gfx 165 ash/wm/overview/scoped_transform_overview_window.cc gfx::Rect ScopedTransformOverviewWindow::ShrinkRectToFitPreservingAspectRatio( gfx 166 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Rect& rect, gfx 167 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Rect& bounds) { gfx 173 ash/wm/overview/scoped_transform_overview_window.cc return gfx::Rect(bounds.x() + 0.5 * (bounds.width() - scale * rect.width()), gfx 179 ash/wm/overview/scoped_transform_overview_window.cc gfx::Transform ScopedTransformOverviewWindow::GetTransformForRect( gfx 180 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Rect& src_rect, gfx 181 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Rect& dst_rect) { gfx 184 ash/wm/overview/scoped_transform_overview_window.cc gfx::Transform transform; gfx 194 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Transform& transform, gfx 238 ash/wm/overview/scoped_transform_overview_window.cc const gfx::Transform& transform, gfx 240 ash/wm/overview/scoped_transform_overview_window.cc gfx::Point origin(GetBoundsInScreen().origin()); gfx 40 ash/wm/overview/scoped_transform_overview_window.h static gfx::Rect ShrinkRectToFitPreservingAspectRatio( gfx 41 ash/wm/overview/scoped_transform_overview_window.h const gfx::Rect& rect, gfx 42 ash/wm/overview/scoped_transform_overview_window.h const gfx::Rect& bounds); gfx 45 ash/wm/overview/scoped_transform_overview_window.h static gfx::Transform GetTransformForRect(const gfx::Rect& src_rect, gfx 46 ash/wm/overview/scoped_transform_overview_window.h const gfx::Rect& dst_rect); gfx 56 ash/wm/overview/scoped_transform_overview_window.h gfx::Rect GetBoundsInScreen() const; gfx 77 ash/wm/overview/scoped_transform_overview_window.h const gfx::Transform& transform, gfx 91 ash/wm/overview/scoped_transform_overview_window.h void SetTransformOnWindowAndTransientChildren(const gfx::Transform& transform, gfx 111 ash/wm/overview/scoped_transform_overview_window.h gfx::Transform original_transform_; gfx 30 ash/wm/overview/scoped_window_copy.cc gfx::Transform transform = recreated_layer->transform(); gfx 31 ash/wm/overview/scoped_window_copy.cc recreated_layer->SetTransform(gfx::Transform()); gfx 49 ash/wm/overview/scoped_window_copy.cc gfx::Display target_display = gfx 63 ash/wm/overview/scoped_window_copy.cc gfx::Rect layer_bounds = recreated_layer->bounds(); gfx 64 ash/wm/overview/scoped_window_copy.cc layer_bounds.set_origin(gfx::Point(0, 0)); gfx 177 ash/wm/overview/window_overview.cc gfx::Rect target_bounds(GetSelectionBounds(index)); gfx 199 ash/wm/overview/window_overview.cc gfx::Display dst_display = gfx::Screen::GetScreenFor( gfx 202 ash/wm/overview/window_overview.cc gfx::Vector2d fade_out_direction( gfx 391 ash/wm/overview/window_overview.cc gfx::Size window_size; gfx 392 ash/wm/overview/window_overview.cc gfx::Rect total_bounds = ScreenUtil::ConvertRectToScreen( gfx 416 ash/wm/overview/window_overview.cc gfx::Transform transform; gfx 419 ash/wm/overview/window_overview.cc gfx::Rect target_bounds(window_size.width() * column + x_offset, gfx 453 ash/wm/overview/window_overview.cc gfx::Rect WindowOverview::GetSelectionBounds(size_t index) { gfx 454 ash/wm/overview/window_overview.cc gfx::Rect bounds((*windows_)[index]->bounds()); gfx 91 ash/wm/overview/window_overview.h gfx::Rect GetSelectionBounds(size_t index); gfx 409 ash/wm/overview/window_selector.cc const gfx::Rect& old_bounds, gfx 410 ash/wm/overview/window_selector.cc const gfx::Rect& new_bounds) { gfx 74 ash/wm/overview/window_selector.h const gfx::Rect& old_bounds, gfx 75 ash/wm/overview/window_selector.h const gfx::Rect& new_bounds) OVERRIDE; gfx 20 ash/wm/overview/window_selector_item.cc const gfx::Rect& target_bounds) { gfx 58 ash/wm/overview/window_selector_item.h const gfx::Rect& target_bounds); gfx 64 ash/wm/overview/window_selector_item.h const gfx::Rect& bounds() { return bounds_; } gfx 65 ash/wm/overview/window_selector_item.h const gfx::Rect& target_bounds() { return target_bounds_; } gfx 71 ash/wm/overview/window_selector_item.h const gfx::Rect& target_bounds, gfx 75 ash/wm/overview/window_selector_item.h void set_bounds(const gfx::Rect& bounds) { bounds_ = bounds; } gfx 82 ash/wm/overview/window_selector_item.h gfx::Rect target_bounds_; gfx 86 ash/wm/overview/window_selector_item.h gfx::Rect bounds_; gfx 155 ash/wm/overview/window_selector_panels.cc const gfx::Rect& target_bounds, gfx 157 ash/wm/overview/window_selector_panels.cc gfx::Rect bounding_rect; gfx 164 ash/wm/overview/window_selector_panels.cc gfx::Transform bounding_transform = gfx 169 ash/wm/overview/window_selector_panels.cc gfx::Transform transform; gfx 170 ash/wm/overview/window_selector_panels.cc gfx::Rect bounds = (*iter)->GetBoundsInScreen(); gfx 39 ash/wm/overview/window_selector_panels.h const gfx::Rect& target_bounds, gfx 124 ash/wm/overview/window_selector_unittest.cc aura::Window* CreateWindow(const gfx::Rect& bounds) { gfx 128 ash/wm/overview/window_selector_unittest.cc aura::Window* CreateNonActivatableWindow(const gfx::Rect& bounds) { gfx 136 ash/wm/overview/window_selector_unittest.cc aura::Window* CreatePanelWindow(const gfx::Rect& bounds) { gfx 145 ash/wm/overview/window_selector_unittest.cc gfx::RectF window1_bounds = GetTransformedTargetBounds(window1); gfx 146 ash/wm/overview/window_selector_unittest.cc gfx::RectF window2_bounds = GetTransformedTargetBounds(window2); gfx 173 ash/wm/overview/window_selector_unittest.cc gfx::Transform GetTransformRelativeTo(gfx::PointF origin, gfx 174 ash/wm/overview/window_selector_unittest.cc const gfx::Transform& transform) { gfx 175 ash/wm/overview/window_selector_unittest.cc gfx::Transform t; gfx 182 ash/wm/overview/window_selector_unittest.cc gfx::RectF GetTransformedBounds(aura::Window* window) { gfx 183 ash/wm/overview/window_selector_unittest.cc gfx::RectF bounds(ScreenUtil::ConvertRectToScreen( gfx 185 ash/wm/overview/window_selector_unittest.cc gfx::Transform transform(GetTransformRelativeTo(bounds.origin(), gfx 191 ash/wm/overview/window_selector_unittest.cc gfx::RectF GetTransformedTargetBounds(aura::Window* window) { gfx 192 ash/wm/overview/window_selector_unittest.cc gfx::RectF bounds(ScreenUtil::ConvertRectToScreen( gfx 194 ash/wm/overview/window_selector_unittest.cc gfx::Transform transform(GetTransformRelativeTo(bounds.origin(), gfx 200 ash/wm/overview/window_selector_unittest.cc gfx::RectF GetTransformedBoundsInRootWindow(aura::Window* window) { gfx 201 ash/wm/overview/window_selector_unittest.cc gfx::RectF bounds = gfx::Rect(window->bounds().size()); gfx 205 ash/wm/overview/window_selector_unittest.cc gfx::Transform transform; gfx 208 ash/wm/overview/window_selector_unittest.cc return gfx::RectF(); gfx 216 ash/wm/overview/window_selector_unittest.cc gfx::RectF target = GetTransformedBounds(window); gfx 244 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 287 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 333 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 347 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 372 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 396 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window(CreateWindow(gfx::Rect(0, 0, 400, 400))); gfx 398 ash/wm/overview/window_selector_unittest.cc gfx::Rect overview_bounds = gfx 400 ash/wm/overview/window_selector_unittest.cc window->SetBounds(gfx::Rect(200, 0, 200, 200)); gfx 401 ash/wm/overview/window_selector_unittest.cc gfx::Rect new_overview_bounds = gfx 412 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 439 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 470 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 492 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 509 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 534 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 548 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 574 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 598 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 611 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 629 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 648 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 664 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 677 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 679 ash/wm/overview/window_selector_unittest.cc gfx::Rect initial_bounds = ToEnclosingRect( gfx 701 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 725 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 742 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window1(CreateWindow(gfx::Rect(0, 0, 180, 180))); gfx 743 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> child1(CreateWindow(gfx::Rect(200, 0, 180, 180))); gfx 767 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds1(0, 0, 400, 400); gfx 768 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds2(650, 0, 400, 400); gfx 830 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window1(CreateWindow(gfx::Rect(0, 0, 100, 100))); gfx 831 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window2(CreateWindow(gfx::Rect(450, 0, 100, 100))); gfx 856 ash/wm/overview/window_selector_unittest.cc gfx::Rect root1_rect(0, 0, 100, 100); gfx 857 ash/wm/overview/window_selector_unittest.cc gfx::Rect root2_rect(450, 0, 100, 100); gfx 925 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window1(CreateWindow(gfx::Rect(0, 0, 100, 100))); gfx 926 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window2(CreateWindow(gfx::Rect(450, 0, 100, 100))); gfx 954 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window1(CreateWindow(gfx::Rect(0, 0, 100, 100))); gfx 955 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window2(CreateWindow(gfx::Rect(450, 0, 100, 100))); gfx 956 ash/wm/overview/window_selector_unittest.cc scoped_ptr<aura::Window> window3(CreateWindow(gfx::Rect(450, 0, 100, 100))); gfx 967 ash/wm/overview/window_selector_unittest.cc gfx::Rect overview_bounds( gfx 973 ash/wm/overview/window_selector_unittest.cc window1->SetBounds(gfx::Rect(100, 0, 200, 200)); gfx 974 ash/wm/overview/window_selector_unittest.cc gfx::Rect new_overview_bounds = gfx 985 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 1007 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds1(0, 0, 100, 100); gfx 1008 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds2(450, 0, 100, 100); gfx 1036 ash/wm/overview/window_selector_unittest.cc gfx::Rect bounds(0, 0, 400, 400); gfx 1049 ash/wm/overview/window_selector_unittest.cc window.get(), gfx::Point(5, 5), ui::DragDropTypes::DRAG_MOVE, gfx 1058 ash/wm/overview/window_selector_unittest.cc gfx::Rect window_bounds(20, 10, 200, 300); gfx 1064 ash/wm/overview/window_selector_unittest.cc gfx::RectF bounds1 = GetTransformedBoundsInRootWindow(window1.get()); gfx 1065 ash/wm/overview/window_selector_unittest.cc gfx::RectF bounds2 = GetTransformedBoundsInRootWindow(window2.get()); gfx 1072 ash/wm/overview/window_selector_unittest.cc gfx::RectF bounds = GetTransformedBoundsInRootWindow(windows[w]); gfx 1075 ash/wm/overview/window_selector_unittest.cc gfx::Point points[] = { gfx 1076 ash/wm/overview/window_selector_unittest.cc gfx::Point(bounds.x(), bounds.y()), gfx 1077 ash/wm/overview/window_selector_unittest.cc gfx::Point(bounds.x(), bounds.bottom() - 1), gfx 1078 ash/wm/overview/window_selector_unittest.cc gfx::Point(bounds.right() - 1, bounds.bottom() - 1), gfx 102 ash/wm/overview/window_selector_window.cc const gfx::Rect& target_bounds, gfx 104 ash/wm/overview/window_selector_window.cc gfx::Rect src_rect = transform_window_.GetBoundsInScreen(); gfx 121 ash/wm/overview/window_selector_window.cc gfx::Rect align_bounds(bounds()); gfx 122 ash/wm/overview/window_selector_window.cc gfx::Transform close_button_transform; gfx 134 ash/wm/overview/window_selector_window.cc gfx::Rect close_button_rect(close_button_->GetNativeWindow()->bounds()); gfx 43 ash/wm/overview/window_selector_window.h const gfx::Rect& target_bounds, gfx 62 ash/wm/panels/panel_frame_view.cc gfx::Size PanelFrameView::GetMinimumSize() { gfx 64 ash/wm/panels/panel_frame_view.cc return gfx::Size(); gfx 65 ash/wm/panels/panel_frame_view.cc gfx::Size min_client_view_size(frame_->client_view()->GetMinimumSize()); gfx 66 ash/wm/panels/panel_frame_view.cc return gfx::Size( gfx 78 ash/wm/panels/panel_frame_view.cc void PanelFrameView::GetWindowMask(const gfx::Size&, gfx::Path*) { gfx 101 ash/wm/panels/panel_frame_view.cc int PanelFrameView::NonClientHitTest(const gfx::Point& point) { gfx 108 ash/wm/panels/panel_frame_view.cc void PanelFrameView::OnPaint(gfx::Canvas* canvas) { gfx 119 ash/wm/panels/panel_frame_view.cc gfx::Rect PanelFrameView::GetBoundsForClientView() const { gfx 120 ash/wm/panels/panel_frame_view.cc gfx::Rect client_bounds = bounds(); gfx 125 ash/wm/panels/panel_frame_view.cc gfx::Rect PanelFrameView::GetWindowBoundsForClientBounds( gfx 126 ash/wm/panels/panel_frame_view.cc const gfx::Rect& client_bounds) const { gfx 127 ash/wm/panels/panel_frame_view.cc gfx::Rect window_bounds = client_bounds; gfx 44 ash/wm/panels/panel_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 45 ash/wm/panels/panel_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 46 ash/wm/panels/panel_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 47 ash/wm/panels/panel_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 48 ash/wm/panels/panel_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 49 ash/wm/panels/panel_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 55 ash/wm/panels/panel_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 57 ash/wm/panels/panel_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 64 ash/wm/panels/panel_frame_view.h gfx::Rect client_view_bounds_; gfx 64 ash/wm/panels/panel_layout_manager.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE { gfx 173 ash/wm/panels/panel_layout_manager.cc bool BoundsAdjacent(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { gfx 180 ash/wm/panels/panel_layout_manager.cc gfx::Vector2d GetSlideInAnimationOffset(ShelfAlignment alignment) { gfx 181 ash/wm/panels/panel_layout_manager.cc gfx::Vector2d offset; gfx 209 ash/wm/panels/panel_layout_manager.cc gfx::Rect callout_bounds = GetWindowBoundsInScreen(); gfx 221 ash/wm/panels/panel_layout_manager.cc SchedulePaintInRect(gfx::Rect(gfx::Point(), callout_bounds.size())); gfx 234 ash/wm/panels/panel_layout_manager.cc params.bounds = ScreenUtil::ConvertRectToScreen(parent, gfx::Rect()); gfx 408 ash/wm/panels/panel_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 409 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds(requested_bounds); gfx 410 ash/wm/panels/panel_layout_manager.cc const gfx::Rect& max_bounds = panel_container_->GetRootWindow()->bounds(); gfx 427 ash/wm/panels/panel_layout_manager.cc const gfx::Rect& bounds = (*new_position).window->bounds(); gfx 550 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds(panel->bounds()); gfx 583 ash/wm/panels/panel_layout_manager.cc gfx::Rect shelf_bounds = ash::ScreenUtil::ConvertRectFromScreen( gfx 614 ash/wm/panels/panel_layout_manager.cc gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); gfx 631 ash/wm/panels/panel_layout_manager.cc gfx::Point icon_origin = icon_bounds.origin(); gfx 674 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds = visible_panels[i].window->GetTargetBounds(); gfx 702 ash/wm/panels/panel_layout_manager.cc gfx::Rect initial_bounds(bounds); gfx 753 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds = it->window->bounds(); gfx 794 ash/wm/panels/panel_layout_manager.cc gfx::Rect current_bounds = panel->GetBoundsInScreen(); gfx 795 ash/wm/panels/panel_layout_manager.cc gfx::Rect bounds = ScreenUtil::ConvertRectToScreen( gfx 798 ash/wm/panels/panel_layout_manager.cc gfx::Rect icon_bounds = shelf_->GetScreenBoundsOfItemIconForWindow(panel); gfx 806 ash/wm/panels/panel_layout_manager.cc gfx::Rect callout_bounds = callout_widget->GetWindowBoundsInScreen(); gfx 807 ash/wm/panels/panel_layout_manager.cc gfx::Vector2d slide_vector = bounds.origin() - current_bounds.origin(); gfx 881 ash/wm/panels/panel_layout_manager.cc const gfx::Rect& keyboard_bounds) { gfx 30 ash/wm/panels/panel_layout_manager.h namespace gfx { gfx 87 ash/wm/panels/panel_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 157 ash/wm/panels/panel_layout_manager.h const gfx::Rect& keyboard_bounds) OVERRIDE; gfx 58 ash/wm/panels/panel_layout_manager_unittest.cc aura::Window* CreateNormalWindow(const gfx::Rect& bounds) { gfx 62 ash/wm/panels/panel_layout_manager_unittest.cc aura::Window* CreatePanelWindow(const gfx::Rect& bounds) { gfx 94 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect panel_bounds = panel->GetBoundsInRootWindow(); gfx 95 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Point root_point = gfx::Point(panel_bounds.x(), panel_bounds.y()); gfx 96 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Display display = ScreenUtil::FindDisplayContainingPoint(root_point); gfx 98 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect panel_bounds_in_screen = panel->GetBoundsInScreen(); gfx 99 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Point screen_bottom_right = gfx::Point( gfx 102 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect display_bounds = display.bounds(); gfx 110 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect window1_bounds = panel1->GetBoundsInRootWindow(); gfx 111 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect window2_bounds = panel2->GetBoundsInRootWindow(); gfx 123 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect icon_bounds = shelf->GetScreenBoundsOfItemIconForWindow(panel); gfx 126 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect window_bounds = panel->GetBoundsInScreen(); gfx 129 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); gfx 166 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect icon_bounds = shelf->GetScreenBoundsOfItemIconForWindow(panel); gfx 169 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect panel_bounds = panel->GetBoundsInScreen(); gfx 170 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect callout_bounds = widget->GetWindowBoundsInScreen(); gfx 219 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds = test_api.GetButton(index)->GetBoundsInScreen(); gfx 302 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 312 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 331 ash/wm/panels/panel_layout_manager_unittest.cc CreateNormalWindow(gfx::Rect(450, 0, 100, 100))); gfx 332 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> panel(CreatePanelWindow(gfx::Rect(400, 0, 50, 50))); gfx 335 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect shelf_visible_position = panel->GetBoundsInScreen(); gfx 348 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect odd_bounds(0, 0, 201, 201); gfx 349 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect even_bounds(0, 0, 200, 200); gfx 365 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 397 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> w1(CreatePanelWindow(gfx::Rect(0, 0, 210, 201))); gfx 398 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> w2(CreatePanelWindow(gfx::Rect(0, 0, 220, 201))); gfx 399 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> w3(CreatePanelWindow(gfx::Rect(0, 0, 200, 201))); gfx 423 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 200, 200); gfx 427 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> w4(CreateNormalWindow(gfx::Rect())); gfx 447 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 463 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 478 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 493 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 508 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 90, 201); gfx 523 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 600, 201); gfx 532 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 550 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect small_bounds(0, 0, 201, 201); gfx 551 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect large_bounds(0, 0, 501, 201); gfx 567 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 597 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> p1_d1(CreatePanelWindow(gfx::Rect(0, 0, 50, 50))); gfx 598 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> p2_d1(CreatePanelWindow(gfx::Rect(0, 0, 50, 50))); gfx 599 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> p1_d2(CreatePanelWindow(gfx::Rect(600, 0, 50, 50))); gfx 600 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> p2_d2(CreatePanelWindow(gfx::Rect(600, 0, 50, 50))); gfx 677 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> p1_d1(CreatePanelWindow(gfx::Rect(0, 0, 50, 50))); gfx 678 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> p1_d2(CreatePanelWindow(gfx::Rect(600, 0, 50, 50))); gfx 696 ash/wm/panels/panel_layout_manager_unittest.cc scoped_ptr<aura::Window> p1_d2(CreatePanelWindow(gfx::Rect(600, 0, 50, 50))); gfx 714 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 722 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 730 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 741 ash/wm/panels/panel_layout_manager_unittest.cc gfx::Rect bounds(0, 0, 201, 201); gfx 52 ash/wm/panels/panel_window_resizer.cc void PanelWindowResizer::Drag(const gfx::Point& location, int event_flags) { gfx 61 ash/wm/panels/panel_window_resizer.cc gfx::Screen* screen = Shell::GetScreen(); gfx 62 ash/wm/panels/panel_window_resizer.cc const gfx::Display dst_display = gfx 83 ash/wm/panels/panel_window_resizer.cc gfx::Point offset; gfx 84 ash/wm/panels/panel_window_resizer.cc gfx::Rect bounds(CalculateBoundsForDrag(location)); gfx 89 ash/wm/panels/panel_window_resizer.cc gfx::Point modified_location(location.x() + offset.x(), gfx 130 ash/wm/panels/panel_window_resizer.cc bool PanelWindowResizer::AttachToLauncher(const gfx::Rect& bounds, gfx 131 ash/wm/panels/panel_window_resizer.cc gfx::Point* offset) { gfx 136 ash/wm/panels/panel_window_resizer.cc gfx::Rect launcher_bounds = ScreenUtil::ConvertRectFromScreen( gfx 204 ash/wm/panels/panel_window_resizer.cc target, target_root, gfx::Rect(last_location_, gfx::Size())); gfx 12 ash/wm/panels/panel_window_resizer.h namespace gfx { gfx 33 ash/wm/panels/panel_window_resizer.h virtual void Drag(const gfx::Point& location, int event_flags) OVERRIDE; gfx 47 ash/wm/panels/panel_window_resizer.h bool AttachToLauncher(const gfx::Rect& bounds, gfx::Point* offset); gfx 61 ash/wm/panels/panel_window_resizer.h gfx::Point last_location_; gfx 53 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Point CalculateDragPoint(const WindowResizer& resizer, gfx 56 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Point location = resizer.GetInitialLocation(); gfx 62 ash/wm/panels/panel_window_resizer_unittest.cc aura::Window* CreatePanelWindow(const gfx::Point& origin) { gfx 63 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect bounds(origin, gfx::Size(101, 101)); gfx 105 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 152 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Point origin(0, 0); gfx 242 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 253 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 265 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 276 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 287 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(600, 0))); gfx 299 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 300 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 328 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 329 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 348 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 349 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 381 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 382 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 407 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 409 ash/wm/panels/panel_window_resizer_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(600, 0, 101, 101))); gfx 415 ash/wm/panels/panel_window_resizer_unittest.cc gfx::Rect initial_bounds = window->GetBoundsInScreen(); gfx 438 ash/wm/panels/panel_window_resizer_unittest.cc CreatePanelWindow(gfx::Point(0, 0))); gfx 465 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0))); gfx 503 ash/wm/panels/panel_window_resizer_unittest.cc scoped_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0))); gfx 505 ash/wm/panels/panel_window_resizer_unittest.cc NULL, transient_window_type_, 0, gfx::Rect(20, 20, 150, 40))); gfx 512 ash/wm/panels/panel_window_resizer_unittest.cc const gfx::Rect attached_bounds(window->GetBoundsInScreen()); gfx 521 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(gfx::Point(20 + 50, 20 + dy).ToString(), gfx 533 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(gfx::Point(20 + 50 + 350, 20 + dy).ToString(), gfx 138 ash/wm/partial_screenshot_view.cc gfx::Rect PartialScreenshotView::GetScreenshotRect() const { gfx 143 ash/wm/partial_screenshot_view.cc return gfx::Rect(left, top, width, height); gfx 146 ash/wm/partial_screenshot_view.cc void PartialScreenshotView::OnSelectionStarted(const gfx::Point& position) { gfx 150 ash/wm/partial_screenshot_view.cc void PartialScreenshotView::OnSelectionChanged(const gfx::Point& position) { gfx 169 ash/wm/partial_screenshot_view.cc gfx::IntersectRects(root_window->bounds(), GetScreenshotRect())); gfx 173 ash/wm/partial_screenshot_view.cc gfx::NativeCursor PartialScreenshotView::GetCursor( gfx 179 ash/wm/partial_screenshot_view.cc void PartialScreenshotView::OnPaint(gfx::Canvas* canvas) { gfx 184 ash/wm/partial_screenshot_view.cc gfx::Rect screenshot_rect = GetScreenshotRect(); gfx 44 ash/wm/partial_screenshot_view.h gfx::Rect GetScreenshotRect() const; gfx 46 ash/wm/partial_screenshot_view.h void OnSelectionStarted(const gfx::Point& position); gfx 47 ash/wm/partial_screenshot_view.h void OnSelectionChanged(const gfx::Point& position); gfx 51 ash/wm/partial_screenshot_view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 52 ash/wm/partial_screenshot_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 61 ash/wm/partial_screenshot_view.h gfx::Point start_position_; gfx 62 ash/wm/partial_screenshot_view.h gfx::Point current_position_; gfx 58 ash/wm/partial_screenshot_view_unittest.cc generator.set_current_location(gfx::Point(100,100)); gfx 59 ash/wm/partial_screenshot_view_unittest.cc generator.GestureTapDownAndUp(gfx::Point(100,100)); gfx 67 ash/wm/partial_screenshot_view_unittest.cc generator.MoveTouch(gfx::Point(200, 200)); gfx 16 ash/wm/power_button_controller.h namespace gfx { gfx 36 ash/wm/resize_handle_window_targeter.cc frame_border_inset_ = gfx::Insets(); gfx 38 ash/wm/resize_handle_window_targeter.cc frame_border_inset_ = gfx::Insets(kResizeInsideBoundsSize, gfx 56 ash/wm/resize_handle_window_targeter.cc gfx::Insets insets; gfx 66 ash/wm/resize_handle_window_targeter.cc insets = gfx::Insets(kImmersiveFullscreenTopEdgeInset, 0, 0, 0); gfx 74 ash/wm/resize_handle_window_targeter.cc gfx::Rect bounds = gfx::Rect(window_->bounds().size()); gfx 49 ash/wm/resize_handle_window_targeter.h gfx::Insets frame_border_inset_; gfx 103 ash/wm/resize_shadow.cc void ResizeShadow::Layout(const gfx::Rect& content_bounds) { gfx 104 ash/wm/resize_shadow.cc gfx::Rect local_bounds(content_bounds.size()); gfx 14 ash/wm/resize_shadow.h namespace gfx { gfx 45 ash/wm/resize_shadow.h void Layout(const gfx::Rect& bounds); gfx 62 ash/wm/resize_shadow_and_cursor_unittest.cc new TestWidgetDelegate(), CurrentContext(), gfx::Rect(0, 0, 200, 100))); gfx 70 ash/wm/resize_shadow_and_cursor_unittest.cc SK_ColorWHITE, 0, gfx::Rect(0, 10, 200, 90)); gfx 97 ash/wm/resize_shadow_and_cursor_unittest.cc const gfx::Vector2dF& delta) { gfx 126 ash/wm/resize_shadow_and_cursor_unittest.cc generator.MoveMouseTo(gfx::Point(50, 0)); gfx 164 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Size initial_size(window()->bounds().size()); gfx 179 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Size new_size(window()->bounds().size()); gfx 191 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Point(start_x, start_y), gfx 192 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Point(start_x + 50, start_y + 50), gfx 213 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Rect bounds(window()->GetBoundsInRootWindow()); gfx 214 ash/wm/resize_shadow_and_cursor_unittest.cc gfx::Point right_center(bounds.right() - 1, gfx 44 ash/wm/resize_shadow_controller.cc const gfx::Rect& old_bounds, gfx 45 ash/wm/resize_shadow_controller.cc const gfx::Rect& new_bounds) { gfx 41 ash/wm/resize_shadow_controller.h const gfx::Rect& old_bounds, gfx 42 ash/wm/resize_shadow_controller.h const gfx::Rect& new_bounds) OVERRIDE; gfx 35 ash/wm/root_window_layout_manager.cc gfx::Rect fullscreen_bounds = gfx 36 ash/wm/root_window_layout_manager.cc gfx::Rect(owner_->bounds().width(), owner_->bounds().height()); gfx 77 ash/wm/root_window_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 17 ash/wm/root_window_layout_manager.h namespace gfx { gfx 44 ash/wm/root_window_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 60 ash/wm/screen_dimmer.cc const gfx::Rect& old_bounds, gfx 61 ash/wm/screen_dimmer.cc const gfx::Rect& new_bounds) { gfx 63 ash/wm/screen_dimmer.cc dimming_layer_->SetBounds(gfx::Rect(root->bounds().size())); gfx 49 ash/wm/screen_dimmer.h const gfx::Rect& old_bounds, gfx 50 ash/wm/screen_dimmer.h const gfx::Rect& new_bounds) OVERRIDE; gfx 68 ash/wm/screen_dimmer_unittest.cc EXPECT_EQ(gfx::Rect(root_layer->bounds().size()).ToString(), gfx 73 ash/wm/screen_dimmer_unittest.cc gfx::Rect kNewBounds(400, 300); gfx 32 ash/wm/session_state_animator.cc gfx::Transform GetSlowCloseTransform() { gfx 33 ash/wm/session_state_animator.cc gfx::Size root_size = Shell::GetPrimaryRootWindow()->bounds().size(); gfx 34 ash/wm/session_state_animator.cc gfx::Transform transform; gfx 44 ash/wm/session_state_animator.cc gfx::Transform GetFastCloseTransform() { gfx 45 ash/wm/session_state_animator.cc gfx::Size root_size = Shell::GetPrimaryRootWindow()->bounds().size(); gfx 46 ash/wm/session_state_animator.cc gfx::Transform transform; gfx 79 ash/wm/session_state_animator.cc gfx::Transform(), gfx 147 ash/wm/session_state_animator.cc window->layer()->SetTransform(gfx::Transform()); gfx 164 ash/wm/session_state_animator.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 168 ash/wm/session_state_animator.cc settings.SetTweenType(gfx::Tween::EASE_IN_OUT); gfx 176 ash/wm/session_state_animator.cc layer->SetTransform(gfx::Transform()); gfx 204 ash/wm/session_state_animator.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 205 ash/wm/session_state_animator.cc layer->SetTransform(gfx::Transform()); gfx 207 ash/wm/session_state_animator.cc settings.SetTweenType(gfx::Tween::EASE_IN_OUT); gfx 247 ash/wm/session_state_animator.cc gfx::Tween::Type tween_type, gfx 324 ash/wm/session_state_animator.cc if (layer->GetTargetTransform() != gfx::Transform()) gfx 345 ash/wm/session_state_animator.cc if (layer->opacity() < 0.9999 || layer->transform() != gfx::Transform()) gfx 599 ash/wm/session_state_animator.cc window, 1.0, duration, gfx::Tween::EASE_IN, observer); gfx 603 ash/wm/session_state_animator.cc window, 0.0, duration, gfx::Tween::EASE_IN_OUT, observer); gfx 15 ash/wm/session_state_animator.h namespace gfx { gfx 27 ash/wm/stacking_controller.cc aura::Window* FindContainerRoot(const gfx::Rect& bounds) { gfx 67 ash/wm/stacking_controller.cc const gfx::Rect& bounds) { gfx 25 ash/wm/stacking_controller.h const gfx::Rect& bounds) OVERRIDE; gfx 41 ash/wm/stacking_controller_unittest.cc w2->SetBounds(gfx::Rect(10, 11, 250, 251)); gfx 52 ash/wm/stacking_controller_unittest.cc w1->SetBounds(gfx::Rect(10, 11, 250, 251)); gfx 50 ash/wm/status_area_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 31 ash/wm/status_area_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 22 ash/wm/system_background_controller.cc layer_->SetBounds(gfx::Rect(root_layer->bounds().size())); gfx 37 ash/wm/system_background_controller.cc const gfx::Rect& old_bounds, gfx 38 ash/wm/system_background_controller.cc const gfx::Rect& new_bounds) { gfx 40 ash/wm/system_background_controller.cc layer_->SetBounds(gfx::Rect(root_window_->layer()->bounds().size())); gfx 37 ash/wm/system_background_controller.h const gfx::Rect& old_bounds, gfx 38 ash/wm/system_background_controller.h const gfx::Rect& new_bounds) OVERRIDE; gfx 63 ash/wm/system_gesture_event_filter_unittest.cc virtual gfx::Size GetMaximumSize() OVERRIDE { gfx 64 ash/wm/system_gesture_event_filter_unittest.cc return gfx::Size(200, 200); gfx 66 ash/wm/system_gesture_event_filter_unittest.cc virtual gfx::Rect GetBoundsForClientView() const OVERRIDE { gfx 67 ash/wm/system_gesture_event_filter_unittest.cc return gfx::Rect(); gfx 70 ash/wm/system_gesture_event_filter_unittest.cc virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 71 ash/wm/system_gesture_event_filter_unittest.cc const gfx::Rect& client_bounds) const OVERRIDE { gfx 72 ash/wm/system_gesture_event_filter_unittest.cc return gfx::Rect(); gfx 79 ash/wm/system_gesture_event_filter_unittest.cc virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE { gfx 82 ash/wm/system_gesture_event_filter_unittest.cc virtual void GetWindowMask(const gfx::Size& size, gfx 83 ash/wm/system_gesture_event_filter_unittest.cc gfx::Path* window_mask) OVERRIDE {} gfx 173 ash/wm/system_gesture_event_filter_unittest.cc &delegate, 9, gfx::Rect(0, 0, 100, 100), root_window)); gfx 176 ash/wm/system_gesture_event_filter_unittest.cc &delegate, 10, gfx::Rect(0, 0, 100, 50), window0.get())); gfx 179 ash/wm/system_gesture_event_filter_unittest.cc &delegate, 11, gfx::Rect(0, 50, 100, 50), window0.get())); gfx 189 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(10, 10), gfx 229 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect bounds(0, 0, 600, 600); gfx 237 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 238 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(250, 250), gfx 239 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(350, 350), gfx 262 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect normal_bounds = toplevel->GetWindowBoundsInScreen(); gfx 264 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect right_tile_bounds = toplevel->GetWindowBoundsInScreen(); gfx 268 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point left_points[kTouchPoints]; gfx 275 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect left_tile_bounds = toplevel->GetWindowBoundsInScreen(); gfx 281 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect current_bounds = toplevel->GetWindowBoundsInScreen(); gfx 290 ash/wm/system_gesture_event_filter_unittest.cc new ResizableWidgetDelegate, root_window, gfx::Rect(10, 0, 50, 100)); gfx 293 ash/wm/system_gesture_event_filter_unittest.cc new ResizableWidgetDelegate, root_window, gfx::Rect(100, 0, 100, 100)); gfx 298 ash/wm/system_gesture_event_filter_unittest.cc const gfx::Rect& first_bounds = first->GetWindowBoundsInScreen(); gfx 299 ash/wm/system_gesture_event_filter_unittest.cc const gfx::Rect& second_bounds = second->GetWindowBoundsInScreen(); gfx 302 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 303 ash/wm/system_gesture_event_filter_unittest.cc first_bounds.origin() + gfx::Vector2d(5, 5), gfx 304 ash/wm/system_gesture_event_filter_unittest.cc first_bounds.origin() + gfx::Vector2d(30, 10), gfx 305 ash/wm/system_gesture_event_filter_unittest.cc second_bounds.origin() + gfx::Vector2d(5, 5), gfx 306 ash/wm/system_gesture_event_filter_unittest.cc second_bounds.origin() + gfx::Vector2d(40, 20) gfx 321 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect bounds(250, 150, 100, 100); gfx 329 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 330 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + 10, bounds.y() + 30), gfx 331 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + 30, bounds.y() + 20), gfx 354 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect normal_bounds = toplevel->GetWindowBoundsInScreen(); gfx 380 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect bounds(0, 0, 100, 100); gfx 388 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 389 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(30, 20), // Caption gfx 390 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(0, 40), // Left edge gfx 411 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect initial_bounds(0, 0, 400, 400); gfx 419 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 420 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(0, 40), // Left edge gfx 421 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(399, 40), // Right edge gfx 438 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect bounds(0, 0, 100, 100); gfx 446 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 447 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(30, 20), // Caption gfx 448 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(34, 20), // Caption gfx 467 ash/wm/system_gesture_event_filter_unittest.cc bounds += gfx::Vector2d(150 + (points[1].x() - points[0].x()) / 2, 150); gfx 473 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect bounds(0, 0, 100, 100); gfx 481 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 482 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(30, 20), // Caption gfx 483 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(34, 20), // Caption gfx 484 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(38, 20), // Caption gfx 504 ash/wm/system_gesture_event_filter_unittest.cc bounds += gfx::Vector2d(expected_drag, expected_drag); gfx 510 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect bounds(200, 150, 400, 100); gfx 518 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 519 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), gfx 520 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), gfx 526 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect work_area = gfx 538 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect bounds(200, 150, 400, 100); gfx 546 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point points[kTouchPoints] = { gfx 547 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), gfx 548 ash/wm/system_gesture_event_filter_unittest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), gfx 554 ash/wm/system_gesture_event_filter_unittest.cc gfx::Rect work_area = gfx 570 ash/wm/system_gesture_event_filter_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(100, 100))); gfx 578 ash/wm/system_gesture_event_filter_unittest.cc child->SetBounds(gfx::Rect(100, 100)); gfx 55 ash/wm/system_modal_container_layout_manager.cc gfx::Rect bounds = (*it)->bounds(); gfx 94 ash/wm/system_modal_container_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 21 ash/wm/system_modal_container_layout_manager.h namespace gfx { gfx 48 ash/wm/system_modal_container_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 69 ash/wm/system_modal_container_layout_manager_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 70 ash/wm/system_modal_container_layout_manager_unittest.cc return gfx::Size(50, 50); gfx 257 ash/wm/system_modal_container_layout_manager_unittest.cc unrelated->SetBounds(gfx::Rect(100, 100, 50, 50)); gfx 363 ash/wm/system_modal_container_layout_manager_unittest.cc gfx::Point center(view->width() / 2, view->height() / 2); gfx 377 ash/wm/system_modal_container_layout_manager_unittest.cc GetModalContainer()->SetBounds(gfx::Rect(0, 0, 1024, 768)); gfx 380 ash/wm/system_modal_container_layout_manager_unittest.cc main->SetBounds(gfx::Rect(924, 668, 100, 100)); gfx 383 ash/wm/system_modal_container_layout_manager_unittest.cc GetModalContainer()->SetBounds(gfx::Rect(0, 0, 800, 600)); gfx 385 ash/wm/system_modal_container_layout_manager_unittest.cc gfx::Rect bounds = main->bounds(); gfx 386 ash/wm/system_modal_container_layout_manager_unittest.cc EXPECT_EQ(bounds, gfx::Rect(700, 500, 100, 100)); gfx 446 ash/wm/system_modal_container_layout_manager_unittest.cc normal->SetBounds(gfx::Rect(100, 100, 50, 50)); gfx 70 ash/wm/toplevel_window_event_handler.cc gfx::Point ConvertPointToParent(aura::Window* window, gfx 71 ash/wm/toplevel_window_event_handler.cc const gfx::Point& point) { gfx 72 ash/wm/toplevel_window_event_handler.cc gfx::Point result(point); gfx 272 ash/wm/toplevel_window_event_handler.cc gfx::Point location_in_parent = gfx 292 ash/wm/toplevel_window_event_handler.cc gfx::Point location_in_parent( gfx 373 ash/wm/toplevel_window_event_handler.cc const gfx::Vector2d& drag_offset, gfx 379 ash/wm/toplevel_window_event_handler.cc gfx::Point drag_location; gfx 382 ash/wm/toplevel_window_event_handler.cc gfx::PointF drag_location_f; gfx 385 ash/wm/toplevel_window_event_handler.cc drag_location = gfx::ToFlooredPoint(drag_location_f); gfx 429 ash/wm/toplevel_window_event_handler.cc const gfx::Point& point_in_parent, gfx 475 ash/wm/toplevel_window_event_handler.cc gfx::Point location_in_parent( gfx 49 ash/wm/toplevel_window_event_handler.h const gfx::Vector2d& drag_offset, gfx 67 ash/wm/toplevel_window_event_handler.h const gfx::Point& point_in_parent, gfx 101 ash/wm/toplevel_window_event_handler.h gfx::Rect pre_drag_window_bounds_; gfx 76 ash/wm/toplevel_window_event_handler_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 101 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Size size = w1->bounds().size(); gfx 117 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = w1->bounds().origin(); gfx 122 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(200, 200).ToString(), w1->bounds().size().ToString()); gfx 129 ash/wm/toplevel_window_event_handler_unittest.cc window_delegate->set_minimum_size(gfx::Size(40, 40)); gfx 131 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = w1->bounds().origin(); gfx 138 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(200, 200).ToString(), w1->bounds().size().ToString()); gfx 145 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(100, 100).ToString(), w1->bounds().size().ToString()); gfx 150 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(40, 40).ToString(), w1->bounds().size().ToString()); gfx 155 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = w1->bounds().origin(); gfx 160 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(200, 100).ToString(), w1->bounds().size().ToString()); gfx 165 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = w1->bounds().origin(); gfx 170 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(100, 200).ToString(), w1->bounds().size().ToString()); gfx 177 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(0, 50).ToString(), w1->bounds().origin().ToString()); gfx 179 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(50, 50).ToString(), w1->bounds().size().ToString()); gfx 186 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(0, 50).ToString(), w1->bounds().origin().ToString()); gfx 188 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(100, 50).ToString(), w1->bounds().size().ToString()); gfx 195 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(50, 0).ToString(), w1->bounds().origin().ToString()); gfx 197 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(50, 100).ToString(), w1->bounds().size().ToString()); gfx 204 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(50, 0).ToString(), w1->bounds().origin().ToString()); gfx 206 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(50, 50).ToString(), w1->bounds().size().ToString()); gfx 213 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(50, 50).ToString(), w1->bounds().origin().ToString()); gfx 215 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(50, 50).ToString(), w1->bounds().size().ToString()); gfx 220 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect bounds = w1->bounds(); gfx 230 ash/wm/toplevel_window_event_handler_unittest.cc window_delegate->set_minimum_size(gfx::Size(40, 40)); gfx 235 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(60, 0).ToString(), w1->bounds().origin().ToString()); gfx 236 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(40, 100).ToString(), w1->bounds().size().ToString()); gfx 243 ash/wm/toplevel_window_event_handler_unittest.cc window_delegate->set_minimum_size(gfx::Size(40, 40)); gfx 244 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = w1->bounds().origin(); gfx 250 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(40, 100).ToString(), w1->bounds().size().ToString()); gfx 257 ash/wm/toplevel_window_event_handler_unittest.cc window_delegate->set_minimum_size(gfx::Size(40, 40)); gfx 262 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(60, 60).ToString(), w1->bounds().origin().ToString()); gfx 263 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(40, 40).ToString(), w1->bounds().size().ToString()); gfx 270 ash/wm/toplevel_window_event_handler_unittest.cc window_delegate->set_minimum_size(gfx::Size(40, 40)); gfx 276 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(0, 60).ToString(), w1->bounds().origin().ToString()); gfx 277 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(40, 40).ToString(), w1->bounds().size().ToString()); gfx 284 ash/wm/toplevel_window_event_handler_unittest.cc window_delegate->set_minimum_size(gfx::Size(40, 40)); gfx 290 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Point(60, 0).ToString(), w1->bounds().origin().ToString()); gfx 291 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(40, 40).ToString(), w1->bounds().size().ToString()); gfx 298 ash/wm/toplevel_window_event_handler_unittest.cc window_delegate->set_minimum_size(gfx::Size(40, 40)); gfx 299 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = w1->bounds().origin(); gfx 305 ash/wm/toplevel_window_event_handler_unittest.cc EXPECT_EQ(gfx::Size(40, 40).ToString(), w1->bounds().size().ToString()); gfx 310 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 312 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = target->bounds().origin(); gfx 319 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Size(200, work_area.height() - target->bounds().y()).ToString(), gfx 325 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 327 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = target->bounds().origin(); gfx 335 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Size(130, work_area.height() - target->bounds().y()).ToString(), gfx 341 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 343 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point position = target->bounds().origin(); gfx 350 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Size(100, work_area.height() - target->bounds().y()).ToString(), gfx 357 ash/wm/toplevel_window_event_handler_unittest.cc w2->SetBounds(gfx::Rect(100, 0, 100, 100)); gfx 360 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Size size = w1->bounds().size(); gfx 388 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 401 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect(0, 0, 100, 100))); gfx 405 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect old_bounds = target->bounds(); gfx 406 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point location(5, 5); gfx 409 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point end = location; gfx 435 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect bounds_before_maximization = target->bounds(); gfx 485 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect old_bounds = target->bounds(); gfx 486 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point location(5, 5); gfx 489 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point end = location; gfx 503 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect(10, 20, 30, 40))); gfx 510 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect old_bounds = window->bounds(); gfx 511 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point location, end; gfx 532 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect old_bounds = target->bounds(); gfx 533 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point location(5, 5); gfx 537 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point end = location; gfx 547 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect expected_bounds(old_bounds); gfx 548 ash/wm/toplevel_window_event_handler_unittest.cc expected_bounds.Offset(gfx::Vector2d(100, 0)); gfx 566 ash/wm/toplevel_window_event_handler_unittest.cc expected_bounds.Offset(gfx::Vector2d(-100, 0)); gfx 579 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect(0, 0, 100, 100))); gfx 583 ash/wm/toplevel_window_event_handler_unittest.cc 1, gfx::Rect(100, 0, 100, 100))); gfx 587 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect old_bounds = target->bounds(); gfx 588 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point location(5, 5); gfx 599 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Rect bounds = notmoved->bounds(); gfx 602 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point start = notmoved->bounds().origin() + gfx::Vector2d(10, 10); gfx 603 ash/wm/toplevel_window_event_handler_unittest.cc gfx::Point end = start + gfx::Vector2d(100, 10); gfx 701 ash/wm/toplevel_window_event_handler_unittest.cc move_client->RunMoveLoop(window2.get(), gfx::Vector2d(), gfx 31 ash/wm/video_detector.cc bool RecordUpdateAndCheckForVideo(const gfx::Rect& region, gfx 88 ash/wm/video_detector.cc const gfx::Rect& region) { gfx 122 ash/wm/video_detector.cc gfx::Rect root_bounds = window->GetRootWindow()->bounds(); gfx 25 ash/wm/video_detector.h namespace gfx { gfx 73 ash/wm/video_detector.h const gfx::Rect& region) OVERRIDE; gfx 102 ash/wm/video_detector_unittest.cc gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); gfx 107 ash/wm/video_detector_unittest.cc gfx::Rect update_region( gfx 108 ash/wm/video_detector_unittest.cc gfx::Point(), gfx 109 ash/wm/video_detector_unittest.cc gfx::Size(VideoDetector::kMinUpdateWidth - 1, gfx 119 ash/wm/video_detector_unittest.cc gfx::Size(VideoDetector::kMinUpdateWidth, gfx 171 ash/wm/video_detector_unittest.cc gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); gfx 174 ash/wm/video_detector_unittest.cc gfx::Rect update_region( gfx 175 ash/wm/video_detector_unittest.cc gfx::Point(), gfx 176 ash/wm/video_detector_unittest.cc gfx::Size(VideoDetector::kMinUpdateWidth, gfx 187 ash/wm/video_detector_unittest.cc gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); gfx 197 ash/wm/video_detector_unittest.cc gfx::Rect update_region( gfx 198 ash/wm/video_detector_unittest.cc gfx::Point(), gfx 199 ash/wm/video_detector_unittest.cc gfx::Size(VideoDetector::kMinUpdateWidth, gfx 218 ash/wm/video_detector_unittest.cc gfx::Rect offscreen_bounds( gfx 219 ash/wm/video_detector_unittest.cc gfx::Point(Shell::GetPrimaryRootWindow()->bounds().width(), 0), gfx 230 ash/wm/video_detector_unittest.cc gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); gfx 238 ash/wm/video_detector_unittest.cc gfx::Rect update_region( gfx 239 ash/wm/video_detector_unittest.cc gfx::Point(), gfx 240 ash/wm/video_detector_unittest.cc gfx::Size(VideoDetector::kMinUpdateWidth, gfx 253 ash/wm/video_detector_unittest.cc gfx::Rect window_bounds(gfx::Point(), gfx::Size(1024, 768)); gfx 257 ash/wm/video_detector_unittest.cc gfx::Rect update_region( gfx 258 ash/wm/video_detector_unittest.cc gfx::Point(), gfx 259 ash/wm/video_detector_unittest.cc gfx::Size(VideoDetector::kMinUpdateWidth, gfx 284 ash/wm/video_detector_unittest.cc const gfx::Rect kLeftBounds(gfx::Point(), gfx::Size(1024, 768)); gfx 292 ash/wm/video_detector_unittest.cc const gfx::Rect kUpdateRegion( gfx 293 ash/wm/video_detector_unittest.cc gfx::Point(), gfx 294 ash/wm/video_detector_unittest.cc gfx::Size(VideoDetector::kMinUpdateWidth, gfx 306 ash/wm/video_detector_unittest.cc const gfx::Rect kRightBounds(gfx::Point(1024, 0), gfx::Size(1024, 768)); gfx 70 ash/wm/window_animations.cc const gfx::Rect& old_bounds, gfx 71 ash/wm/window_animations.cc const gfx::Rect& new_bounds) { gfx 101 ash/wm/window_animations.cc gfx::Rect bounds = window->bounds(); gfx 102 ash/wm/window_animations.cc gfx::Rect target_bounds = GetMinimizeAnimationTargetBoundsInScreen(window); gfx 110 ash/wm/window_animations.cc new ui::InterpolatedScale(gfx::Point3F(1, 1, 1), gfx 111 ash/wm/window_animations.cc gfx::Point3F(scale_x, scale_y, 1))); gfx 115 ash/wm/window_animations.cc gfx::Point(), gfx 116 ash/wm/window_animations.cc gfx::Point(target_bounds.x() - bounds.x(), gfx 130 ash/wm/window_animations.cc show ? gfx::Tween::EASE_IN : gfx::Tween::EASE_IN_OUT); gfx 153 ash/wm/window_animations.cc gfx::Transform(), gfx 327 ash/wm/window_animations.cc gfx::Tween::Type tween_type) { gfx 329 ash/wm/window_animations.cc const gfx::Rect old_bounds(old_layer_owner->root()->bounds()); gfx 330 ash/wm/window_animations.cc const gfx::Rect new_bounds(window->bounds()); gfx 347 ash/wm/window_animations.cc gfx::Transform out_transform; gfx 367 ash/wm/window_animations.cc gfx::Transform in_transform; gfx 387 ash/wm/window_animations.cc window->layer()->SetTransform(gfx::Transform()); gfx 415 ash/wm/window_animations.cc gfx::Tween::Type animation_type = gfx::Tween::EASE_OUT; gfx 446 ash/wm/window_animations.cc gfx::Transform transform; gfx 453 ash/wm/window_animations.cc gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) { gfx 457 ash/wm/window_animations.cc return gfx::Rect(); gfx 458 ash/wm/window_animations.cc gfx::Rect item_rect = shelf->GetScreenBoundsOfItemIconForWindow(window); gfx 473 ash/wm/window_animations.cc gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen(); gfx 494 ash/wm/window_animations.cc gfx::Rect work_area = gfx 496 ash/wm/window_animations.cc return gfx::Rect(work_area.right(), work_area.bottom(), 0, 0); gfx 55 ash/wm/window_animations.h gfx::Tween::Type tween_type); gfx 75 ash/wm/window_animations.h ASH_EXPORT gfx::Rect GetMinimizeAnimationTargetBoundsInScreen( gfx 92 ash/wm/window_animations_unittest.cc gfx::AnimationContainerElement* element = gfx 93 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>( gfx 121 ash/wm/window_animations_unittest.cc window->SetBounds(gfx::Rect(5, 10, 320, 240)); gfx 129 ash/wm/window_animations_unittest.cc gfx::Rect(0, 0, 640, 480)); gfx 135 ash/wm/window_animations_unittest.cc gfx::Transform grow_transform; gfx 141 ash/wm/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->GetTargetTransform()); gfx 144 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(old_layer->GetAnimator())->Step( gfx 146 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(window->layer()->GetAnimator())-> gfx 152 ash/wm/window_animations_unittest.cc gfx::Rect(5, 10, 320, 240)); gfx 158 ash/wm/window_animations_unittest.cc gfx::Transform shrink_transform; gfx 164 ash/wm/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->GetTargetTransform()); gfx 166 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(old_layer->GetAnimator())->Step( gfx 168 ash/wm/window_animations_unittest.cc static_cast<gfx::AnimationContainerElement*>(window->layer()->GetAnimator())-> gfx 180 ash/wm/window_animations_unittest.cc window->SetBounds(gfx::Rect(5, 10, 320, 240)); gfx 129 ash/wm/window_manager_unittest.cc virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { gfx 146 ash/wm/window_manager_unittest.cc root_window->SetBounds(gfx::Rect(0, 0, 510, 510)); gfx 152 ash/wm/window_manager_unittest.cc SK_ColorWHITE, -1, gfx::Rect(10, 10, 500, 500))); gfx 154 ash/wm/window_manager_unittest.cc SK_ColorGREEN, -11, gfx::Rect(5, 5, 100, 100), w1.get())); gfx 156 ash/wm/window_manager_unittest.cc SK_ColorCYAN, -111, gfx::Rect(5, 5, 75, 75), w11.get())); gfx 158 ash/wm/window_manager_unittest.cc SK_ColorRED, -1111, gfx::Rect(5, 5, 50, 50), w111.get())); gfx 160 ash/wm/window_manager_unittest.cc SK_ColorMAGENTA, -12, gfx::Rect(10, 420, 25, 25), w1.get())); gfx 164 ash/wm/window_manager_unittest.cc w121delegate, -121, gfx::Rect(5, 5, 5, 5), w12.get())); gfx 168 ash/wm/window_manager_unittest.cc w122delegate, -122, gfx::Rect(10, 5, 5, 5), w12.get())); gfx 172 ash/wm/window_manager_unittest.cc w123delegate, -123, gfx::Rect(15, 5, 5, 5), w12.get())); gfx 174 ash/wm/window_manager_unittest.cc SK_ColorGRAY, -13, gfx::Rect(5, 470, 50, 50), w1.get())); gfx 194 ash/wm/window_manager_unittest.cc gfx::Point click_point = w122->bounds().CenterPoint(); gfx 267 ash/wm/window_manager_unittest.cc &wd, -1, gfx::Rect(10, 10, 50, 50))); gfx 271 ash/wm/window_manager_unittest.cc &wd, -2, gfx::Rect(70, 70, 50, 50))); gfx 337 ash/wm/window_manager_unittest.cc &wd, -11, gfx::Rect(10, 10, 10, 10), w1.get())); gfx 346 ash/wm/window_manager_unittest.cc gfx::Point left_top = w1->bounds().origin(); gfx 360 ash/wm/window_manager_unittest.cc &nfd, -1, gfx::Rect(10, 10, 10, 10), w1.get())); gfx 363 ash/wm/window_manager_unittest.cc &wd, -1, gfx::Rect(70, 70, 50, 50))); gfx 380 ash/wm/window_manager_unittest.cc &wd, -1, gfx::Rect(10, 10, 50, 50))); gfx 383 ash/wm/window_manager_unittest.cc &pd, ui::wm::WINDOW_TYPE_PANEL, -1, gfx::Rect(10, 10, 50, 50))); gfx 405 ash/wm/window_manager_unittest.cc &nfd, -1, gfx::Rect(70, 70, 50, 50))); gfx 422 ash/wm/window_manager_unittest.cc &wd, -1, gfx::Rect(10, 10, 50, 50))); gfx 426 ash/wm/window_manager_unittest.cc &wd, -2, gfx::Rect(70, 70, 50, 50))); gfx 444 ash/wm/window_manager_unittest.cc gfx::Point press_point = w2->bounds().CenterPoint(); gfx 501 ash/wm/window_manager_unittest.cc gfx::Rect(kWindowLeft, kWindowTop, 640, 480))); gfx 504 ash/wm/window_manager_unittest.cc gfx::Point point1(kWindowLeft, kWindowTop); gfx 507 ash/wm/window_manager_unittest.cc gfx::Point point2(kWindowLeft + 1, kWindowTop + 1); gfx 598 ash/wm/window_manager_unittest.cc gfx::Size size = root_window->bounds().size(); gfx 599 ash/wm/window_manager_unittest.cc EXPECT_EQ(gfx::Rect(size).ToString(), gfx 601 ash/wm/window_manager_unittest.cc gfx::Point()).bounds().ToString()); gfx 604 ash/wm/window_manager_unittest.cc gfx::Transform transform; gfx 612 ash/wm/window_manager_unittest.cc CreateTestWindowInShellWithDelegate(&wd, 1, gfx::Rect(0, 15, 50, 50))); gfx 616 ash/wm/window_manager_unittest.cc gfx::Point miss_point(5, 5); gfx 635 ash/wm/window_manager_unittest.cc gfx::Point hit_point(5, 15); gfx 660 ash/wm/window_manager_unittest.cc SK_ColorWHITE, -1, gfx::Rect(0, 0, 100, 100))); gfx 679 ash/wm/window_manager_unittest.cc ui::ET_MOUSE_PRESSED, gfx::Point(0, 0), gfx::Point(0, 0), 0, 0); gfx 700 ash/wm/window_manager_unittest.cc ui::ET_MOUSE_RELEASED, gfx::Point(0, 0), gfx::Point(0, 0), 0, 0); gfx 738 ash/wm/window_manager_unittest.cc generator.MoveMouseTo(gfx::Point(0, 0)); gfx 744 ash/wm/window_manager_unittest.cc generator.MoveMouseTo(gfx::Point(0, 0)); gfx 766 ash/wm/window_manager_unittest.cc generator.MoveMouseTo(gfx::Point(0, 0)); gfx 774 ash/wm/window_manager_unittest.cc generator.MoveMouseTo(gfx::Point(0, 0)); gfx 785 ash/wm/window_manager_unittest.cc SK_ColorWHITE, -1, gfx::Rect(0, 0, 100, 100))); gfx 826 ash/wm/window_manager_unittest.cc generator.GestureTapAt(gfx::Point(25, 25)); gfx 47 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -1, gfx::Rect())); gfx 49 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -11, gfx::Rect())); gfx 51 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -12, gfx::Rect())); gfx 92 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -1, gfx::Rect())); gfx 94 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -11, gfx::Rect())); gfx 96 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -111, gfx::Rect())); gfx 98 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -2, gfx::Rect())); gfx 145 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -1, gfx::Rect())); gfx 147 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -11, gfx::Rect())); gfx 150 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -111, gfx::Rect()); gfx 152 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -2, gfx::Rect())); gfx 184 ash/wm/window_modality_controller_unittest.cc gfx::Rect(0, 0, 100, 100))); gfx 186 ash/wm/window_modality_controller_unittest.cc gfx::Rect(20, 20, 50, 50))); gfx 193 ash/wm/window_modality_controller_unittest.cc gfx::Point(10, 10)); gfx 203 ash/wm/window_modality_controller_unittest.cc gfx::Point(10, 10)); gfx 215 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -1, gfx::Rect())); gfx 217 ash/wm/window_modality_controller_unittest.cc aura::test::CreateTestWindowWithDelegate(&d, -11, gfx::Rect(), w1.get())); gfx 219 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -2, gfx::Rect())); gfx 249 ash/wm/window_modality_controller_unittest.cc widget->SetBounds(gfx::Rect(0, 0, 200, 200)); gfx 253 ash/wm/window_modality_controller_unittest.cc gfx::Point center(view->width() / 2, view->height() / 2); gfx 266 ash/wm/window_modality_controller_unittest.cc modal_widget->SetBounds(gfx::Rect(50, 50, 200, 200)); gfx 278 ash/wm/window_modality_controller_unittest.cc gfx::Point modal_center(modal_view->width() / 2, modal_view->height() / 2); gfx 322 ash/wm/window_modality_controller_unittest.cc -1, gfx::Rect(0, 0, 100, 100))); gfx 325 ash/wm/window_modality_controller_unittest.cc -11, gfx::Rect(20, 20, 50, 50))); gfx 327 ash/wm/window_modality_controller_unittest.cc gfx::Point(10, 10)); gfx 335 ash/wm/window_modality_controller_unittest.cc generator.PressMoveAndReleaseTouchTo(gfx::Point(10, 10)); gfx 344 ash/wm/window_modality_controller_unittest.cc generator.MoveTouch(gfx::Point(10, 10)); gfx 374 ash/wm/window_modality_controller_unittest.cc delegate, CurrentContext(), gfx::Rect(0, 0, 400, 400)); gfx 434 ash/wm/window_modality_controller_unittest.cc delegate, CurrentContext(), gfx::Rect(0, 0, 400, 400)); gfx 461 ash/wm/window_modality_controller_unittest.cc gfx::Vector2d(10, parent->bounds().height() - 10)); gfx 477 ash/wm/window_modality_controller_unittest.cc parent->bounds().origin() + gfx::Vector2d(10, 10)); gfx 492 ash/wm/window_modality_controller_unittest.cc child->bounds().origin() + gfx::Vector2d(10, 10)); gfx 510 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -1, gfx::Rect())); gfx 512 ash/wm/window_modality_controller_unittest.cc aura::test::CreateTestWindowWithDelegate(&d, -11, gfx::Rect(), w1.get())); gfx 514 ash/wm/window_modality_controller_unittest.cc aura::test::CreateTestWindowWithDelegate(&d, -11, gfx::Rect(), w2.get())); gfx 516 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -2, gfx::Rect())); gfx 538 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -1, gfx::Rect())); gfx 540 ash/wm/window_modality_controller_unittest.cc aura::test::CreateTestWindowWithDelegate(&d, -11, gfx::Rect(), w1.get())); gfx 542 ash/wm/window_modality_controller_unittest.cc aura::test::CreateTestWindowWithDelegate(&d, -11, gfx::Rect(), w2.get())); gfx 544 ash/wm/window_modality_controller_unittest.cc CreateTestWindowInShellWithDelegate(&d, -2, gfx::Rect())); gfx 77 ash/wm/window_positioner.cc gfx::Rect GetWorkAreaForWindowInParent(aura::Window* window) { gfx 82 ash/wm/window_positioner.cc gfx::Rect work_area = gfx::Rect(window->parent()->bounds().size()); gfx 94 ash/wm/window_positioner.cc bool MoveRectToOneSide(const gfx::Rect& work_area, gfx 96 ash/wm/window_positioner.cc gfx::Rect* bounds) { gfx 113 ash/wm/window_positioner.cc void SetBoundsAnimated(aura::Window* window, const gfx::Rect& bounds) { gfx 131 ash/wm/window_positioner.cc gfx::Rect work_area = GetWorkAreaForWindowInParent(window); gfx 132 ash/wm/window_positioner.cc gfx::Rect bounds = window->bounds(); gfx 133 ash/wm/window_positioner.cc const gfx::Rect* user_defined_area = gfx 208 ash/wm/window_positioner.cc const gfx::Screen* screen, gfx 212 ash/wm/window_positioner.cc gfx::Rect* bounds_in_out, gfx 226 ash/wm/window_positioner.cc gfx::Rect work_area = screen->GetDisplayNearestWindow(target).work_area(); gfx 286 ash/wm/window_positioner.cc gfx::Rect work_area = GetWorkAreaForWindowInParent(added_window); gfx 287 ash/wm/window_positioner.cc gfx::Rect bounds = added_window->bounds(); gfx 288 ash/wm/window_positioner.cc gfx::Rect new_bounds = bounds; gfx 311 ash/wm/window_positioner.cc gfx::Rect other_bounds = other_shown_window->bounds(); gfx 312 ash/wm/window_positioner.cc gfx::Rect work_area = GetWorkAreaForWindowInParent(added_window); gfx 340 ash/wm/window_positioner.cc gfx::Rect added_bounds = added_window->bounds(); gfx 359 ash/wm/window_positioner.cc gfx::Rect WindowPositioner::GetDefaultWindowBounds( gfx 360 ash/wm/window_positioner.cc const gfx::Display& display) { gfx 361 ash/wm/window_positioner.cc const gfx::Rect work_area = display.work_area(); gfx 374 ash/wm/window_positioner.cc return gfx::Rect(work_area.x() + offset_x, gfx 380 ash/wm/window_positioner.cc gfx::Rect WindowPositioner::GetPopupPosition(const gfx::Rect& old_pos) { gfx 395 ash/wm/window_positioner.cc const gfx::Rect work_area = window && window->IsVisible() ? gfx 405 ash/wm/window_positioner.cc const gfx::Rect result = SmartPopupPosition(old_pos, work_area, grid); gfx 416 ash/wm/window_positioner.cc gfx::Rect WindowPositioner::NormalPopupPosition( gfx 417 ash/wm/window_positioner.cc const gfx::Rect& old_pos, gfx 418 ash/wm/window_positioner.cc const gfx::Rect& work_area) { gfx 446 ash/wm/window_positioner.cc return gfx::Rect(x + work_area.x(), y + work_area.y(), w, h); gfx 449 ash/wm/window_positioner.cc gfx::Rect WindowPositioner::SmartPopupPosition( gfx 450 ash/wm/window_positioner.cc const gfx::Rect& old_pos, gfx 451 ash/wm/window_positioner.cc const gfx::Rect& work_area, gfx 456 ash/wm/window_positioner.cc std::vector<const gfx::Rect*> regions; gfx 466 ash/wm/window_positioner.cc return gfx::Rect(0, 0, 0, 0); gfx 473 ash/wm/window_positioner.cc return gfx::Rect(0, 0, 0, 0); gfx 503 ash/wm/window_positioner.cc if (regions[i]->Intersects(gfx::Rect(x + work_area.x(), gfx 510 ash/wm/window_positioner.cc return gfx::Rect(x + work_area.x(), y + work_area.y(), w, h); gfx 514 ash/wm/window_positioner.cc return gfx::Rect(0, 0, 0, 0); gfx 517 ash/wm/window_positioner.cc gfx::Rect WindowPositioner::AlignPopupPosition( gfx 518 ash/wm/window_positioner.cc const gfx::Rect& pos, gfx 519 ash/wm/window_positioner.cc const gfx::Rect& work_area, gfx 535 ash/wm/window_positioner.cc return gfx::Rect(x, y, w, h); gfx 18 ash/wm/window_positioner.h namespace gfx { gfx 53 ash/wm/window_positioner.h const gfx::Screen* screen, gfx 57 ash/wm/window_positioner.h gfx::Rect* bounds_in_out, gfx 61 ash/wm/window_positioner.h static gfx::Rect GetDefaultWindowBounds(const gfx::Display& display); gfx 86 ash/wm/window_positioner.h gfx::Rect GetPopupPosition(const gfx::Rect& old_pos); gfx 97 ash/wm/window_positioner.h gfx::Rect SmartPopupPosition(const gfx::Rect& old_pos, gfx 98 ash/wm/window_positioner.h const gfx::Rect& work_area, gfx 102 ash/wm/window_positioner.h gfx::Rect NormalPopupPosition(const gfx::Rect& old_pos, gfx 103 ash/wm/window_positioner.h const gfx::Rect& work_area); gfx 106 ash/wm/window_positioner.h gfx::Rect AlignPopupPosition(const gfx::Rect &pos, gfx 107 ash/wm/window_positioner.h const gfx::Rect &work_area, gfx 50 ash/wm/window_positioner_unittest.cc gfx::Rect bounds = widget->GetWindowBoundsInScreen(); gfx 81 ash/wm/window_positioner_unittest.cc gfx::Rect* bounds, gfx 106 ash/wm/window_positioner_unittest.cc widget->SetBounds(gfx::Rect(450,10, 100, 100)); gfx 120 ash/wm/window_resizer.cc gfx::Rect WindowResizer::CalculateBoundsForDrag( gfx 121 ash/wm/window_resizer.cc const gfx::Point& passed_location) { gfx 125 ash/wm/window_resizer.cc gfx::Point location = passed_location; gfx 134 ash/wm/window_resizer.cc gfx::Size size = GetSizeForDrag(&delta_x, &delta_y); gfx 135 ash/wm/window_resizer.cc gfx::Point origin = GetOriginForDrag(delta_x, delta_y); gfx 136 ash/wm/window_resizer.cc gfx::Rect new_bounds(origin, size); gfx 142 ash/wm/window_resizer.cc gfx::Rect work_area = gfx 206 ash/wm/window_resizer.cc gfx::Point passed_location_in_screen(passed_location); gfx 208 ash/wm/window_resizer.cc gfx::Rect near_passed_location(passed_location_in_screen, gfx::Size()); gfx 211 ash/wm/window_resizer.cc const gfx::Display& display = gfx 220 ash/wm/window_resizer.cc gfx::Rect screen_work_area = display.work_area(); gfx 223 ash/wm/window_resizer.cc gfx::Rect new_bounds_in_screen = gfx 272 ash/wm/window_resizer.cc gfx::Point WindowResizer::GetOriginForDrag(int delta_x, int delta_y) { gfx 273 ash/wm/window_resizer.cc gfx::Point origin = details().initial_bounds_in_parent.origin(); gfx 285 ash/wm/window_resizer.cc gfx::Size WindowResizer::GetSizeForDrag(int* delta_x, int* delta_y) { gfx 286 ash/wm/window_resizer.cc gfx::Size size = details().initial_bounds_in_parent.size(); gfx 288 ash/wm/window_resizer.cc gfx::Size min_size = GetTarget()->delegate()->GetMinimumSize(); gfx 315 ash/wm/window_resizer.cc gfx::Size max_size = GetTarget()->delegate()->GetMaximumSize(); gfx 345 ash/wm/window_resizer.cc gfx::Size max_size = GetTarget()->delegate()->GetMaximumSize(); gfx 50 ash/wm/window_resizer.h virtual void Drag(const gfx::Point& location, int event_flags) = 0; gfx 64 ash/wm/window_resizer.h const gfx::Point& GetInitialLocation() const { gfx 72 ash/wm/window_resizer.h gfx::Rect CalculateBoundsForDrag(const gfx::Point& location); gfx 86 ash/wm/window_resizer.h gfx::Point GetOriginForDrag(int delta_x, int delta_y); gfx 89 ash/wm/window_resizer.h gfx::Size GetSizeForDrag(int* delta_x, int* delta_y); gfx 102 ash/wm/window_resizer.h const gfx::Point& point_in_parent, gfx 50 ash/wm/window_state.cc aura::Window* child, const gfx::Rect& requested_bounds) OVERRIDE {} gfx 52 ash/wm/window_state.cc void SetBounds(aura::Window* window, const gfx::Rect& bounds) { gfx 229 ash/wm/window_state.cc gfx::Rect bounds_in_screen = gfx 235 ash/wm/window_state.cc gfx::Rect WindowState::GetRestoreBoundsInScreen() const { gfx 239 ash/wm/window_state.cc gfx::Rect WindowState::GetRestoreBoundsInParent() const { gfx 244 ash/wm/window_state.cc void WindowState::SetRestoreBoundsInScreen(const gfx::Rect& bounds) { gfx 245 ash/wm/window_state.cc window_->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds)); gfx 248 ash/wm/window_state.cc void WindowState::SetRestoreBoundsInParent(const gfx::Rect& bounds) { gfx 267 ash/wm/window_state.cc const gfx::Rect& bounds) { gfx 268 ash/wm/window_state.cc pre_auto_manage_window_bounds_.reset(new gfx::Rect(bounds)); gfx 280 ash/wm/window_state.cc const gfx::Point& point_in_parent, gfx 308 ash/wm/window_state.cc const gfx::Rect& bounds_in_screen) { gfx 309 ash/wm/window_state.cc gfx::Rect bounds_in_parent = gfx 319 ash/wm/window_state.cc void WindowState::AdjustSnappedBounds(gfx::Rect* bounds) { gfx 322 ash/wm/window_state.cc gfx::Rect maximized_bounds = ScreenUtil::GetMaximizedWindowBoundsInParent( gfx 353 ash/wm/window_state.cc void WindowState::SetBoundsDirect(const gfx::Rect& bounds) { gfx 357 ash/wm/window_state.cc void WindowState::SetBoundsConstrained(const gfx::Rect& bounds) { gfx 358 ash/wm/window_state.cc gfx::Rect work_area_in_parent = gfx 360 ash/wm/window_state.cc gfx::Rect child_bounds(bounds); gfx 365 ash/wm/window_state.cc void WindowState::SetBoundsDirectAnimated(const gfx::Rect& bounds) { gfx 377 ash/wm/window_state.cc void WindowState::SetBoundsDirectCrossFade(const gfx::Rect& new_bounds) { gfx 386 ash/wm/window_state.cc const gfx::Rect old_bounds = window_->bounds(); gfx 409 ash/wm/window_state.cc CrossFadeAnimation(window_, old_layer_owner.Pass(), gfx::Tween::EASE_OUT); gfx 22 ash/wm/window_state.h namespace gfx { gfx 147 ash/wm/window_state.h gfx::Rect GetRestoreBoundsInParent() const; gfx 152 ash/wm/window_state.h gfx::Rect GetRestoreBoundsInScreen() const; gfx 156 ash/wm/window_state.h void SetRestoreBoundsInParent(const gfx::Rect& bounds_in_parent); gfx 160 ash/wm/window_state.h void SetRestoreBoundsInScreen(const gfx::Rect& bounds_in_screen); gfx 212 ash/wm/window_state.h const gfx::Rect* pre_auto_manage_window_bounds() const { gfx 215 ash/wm/window_state.h void SetPreAutoManageWindowBounds(const gfx::Rect& bounds); gfx 275 ash/wm/window_state.h const gfx::Point& point_in_parent, gfx 306 ash/wm/window_state.h void SetBoundsInScreen(const gfx::Rect& bounds_in_screen); gfx 310 ash/wm/window_state.h void AdjustSnappedBounds(gfx::Rect* bounds); gfx 320 ash/wm/window_state.h void SetBoundsDirect(const gfx::Rect& bounds); gfx 324 ash/wm/window_state.h void SetBoundsConstrained(const gfx::Rect& bounds); gfx 328 ash/wm/window_state.h void SetBoundsDirectAnimated(const gfx::Rect& bounds); gfx 332 ash/wm/window_state.h void SetBoundsDirectCrossFade(const gfx::Rect& bounds); gfx 354 ash/wm/window_state.h scoped_ptr<gfx::Rect> pre_auto_manage_window_bounds_; gfx 61 ash/wm/window_state_unittest.cc const gfx::Rect kPrimaryDisplayWorkAreaBounds = gfx 63 ash/wm/window_state_unittest.cc const gfx::Rect kSecondaryDisplayWorkAreaBounds = gfx 67 ash/wm/window_state_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(100, 100, 100, 100))); gfx 71 ash/wm/window_state_unittest.cc gfx::Rect expected = gfx::Rect( gfx 84 ash/wm/window_state_unittest.cc window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), gfx 88 ash/wm/window_state_unittest.cc expected = gfx::Rect( gfx 108 ash/wm/window_state_unittest.cc const gfx::Rect kWorkAreaBounds = gfx 113 ash/wm/window_state_unittest.cc &delegate, -1, gfx::Rect(0, 100, kWorkAreaBounds.width() - 1, 100))); gfx 116 ash/wm/window_state_unittest.cc delegate.set_minimum_size(gfx::Size(kWorkAreaBounds.width() - 1, 0)); gfx 121 ash/wm/window_state_unittest.cc gfx::Rect expected = gfx::Rect(kWorkAreaBounds.x() + 1, gfx 128 ash/wm/window_state_unittest.cc delegate.set_minimum_size(gfx::Size()); gfx 129 ash/wm/window_state_unittest.cc delegate.set_maximum_size(gfx::Size(kWorkAreaBounds.width() - 1, INT_MAX)); gfx 139 ash/wm/window_state_unittest.cc const gfx::Rect kWorkAreaBounds = gfx 143 ash/wm/window_state_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(100, 100, 100, 100))); gfx 148 ash/wm/window_state_unittest.cc gfx::Rect expected = gfx::Rect(kWorkAreaBounds.x(), gfx 156 ash/wm/window_state_unittest.cc window->SetBounds(gfx::Rect(10, 10, 500, 300)); gfx 164 ash/wm/window_state_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(100, 100, 100, 100))); gfx 170 ash/wm/window_state_unittest.cc gfx::Rect restore_bounds = window->GetBoundsInScreen(); gfx 185 ash/wm/window_state_unittest.cc gfx::Rect maximized_bounds = window->GetBoundsInScreen(); gfx 208 ash/wm/window_state_unittest.cc window->SetBounds(gfx::Rect(100, 100, 100, 100)); gfx 215 ash/wm/window_state_unittest.cc const gfx::Rect kWorkAreaBounds = gfx 217 ash/wm/window_state_unittest.cc gfx::Rect expected_snapped_bounds( gfx 83 ash/wm/window_util.cc gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(aura::Window* window) { gfx 84 ash/wm/window_util.cc gfx::Rect work_area_in_parent(ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 86 ash/wm/window_util.cc return gfx::Rect(work_area_in_parent.x(), gfx 92 ash/wm/window_util.cc gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(aura::Window* window) { gfx 93 ash/wm/window_util.cc gfx::Rect work_area_in_parent(ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 96 ash/wm/window_util.cc return gfx::Rect(work_area_in_parent.right() - width, gfx 102 ash/wm/window_util.cc void AdjustBoundsSmallerThan(const gfx::Size& max_size, gfx::Rect* bounds) { gfx 107 ash/wm/window_util.cc void AdjustBoundsToEnsureMinimumWindowVisibility(const gfx::Rect& visible_area, gfx 108 ash/wm/window_util.cc gfx::Rect* bounds) { gfx 113 ash/wm/window_util.cc void AdjustBoundsToEnsureWindowVisibility(const gfx::Rect& visible_area, gfx 116 ash/wm/window_util.cc gfx::Rect* bounds) { gfx 16 ash/wm/window_util.h namespace gfx { gfx 53 ash/wm/window_util.h ASH_EXPORT gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent( gfx 58 ash/wm/window_util.h ASH_EXPORT gfx::Rect GetDefaultRightSnappedWindowBoundsInParent( gfx 62 ash/wm/window_util.h ASH_EXPORT void AdjustBoundsSmallerThan(const gfx::Size& max_size, gfx 63 ash/wm/window_util.h gfx::Rect* bounds); gfx 69 ash/wm/window_util.h const gfx::Rect& visible_area, gfx 70 ash/wm/window_util.h gfx::Rect* bounds); gfx 76 ash/wm/window_util.h const gfx::Rect& visible_area, gfx 79 ash/wm/window_util.h gfx::Rect* bounds); gfx 16 ash/wm/window_util_unittest.cc std::string GetAdjustedBounds(const gfx::Rect& visible, gfx 17 ash/wm/window_util_unittest.cc gfx::Rect to_be_adjusted) { gfx 32 ash/wm/window_util_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(12, 20, 100, 100))); gfx 42 ash/wm/window_util_unittest.cc window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), gfx 50 ash/wm/window_util_unittest.cc const gfx::Rect visible_bounds(0, 0, 100, 100); gfx 53 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds, gfx::Rect(0, 0, 90, 90))); gfx 55 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds, gfx::Rect(0, 0, 150, 150))); gfx 57 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds, gfx::Rect(-50, -50, 150, 150))); gfx 59 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds, gfx::Rect(-100, 10, 150, 150))); gfx 61 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds, gfx::Rect(100, 100, 150, 150))); gfx 63 ash/wm/window_util_unittest.cc const gfx::Rect visible_bounds_right(200, 50, 100, 100); gfx 67 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_right, gfx::Rect(210, 60, 90, 90))); gfx 70 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_right, gfx::Rect(210, 60, 150, 150))); gfx 73 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_right, gfx::Rect(0, 0, 150, 150))); gfx 76 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_right, gfx::Rect(300, 20, 150, 150))); gfx 79 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_right, gfx::Rect(-100, 150, 150, 150))); gfx 81 ash/wm/window_util_unittest.cc const gfx::Rect visible_bounds_left(-200, -50, 100, 100); gfx 84 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_left, gfx::Rect(-190, -40, 90, 90))); gfx 87 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_left, gfx::Rect(-190, -40, 150, 150))); gfx 90 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_left, gfx::Rect(-250, -40, 150, 150))); gfx 93 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_left, gfx::Rect(-400, -60, 150, 150))); gfx 96 ash/wm/window_util_unittest.cc GetAdjustedBounds(visible_bounds_left, gfx::Rect(0, 0, 150, 150))); gfx 17 ash/wm/wm_event.cc SetBoundsEvent::SetBoundsEvent(WMEventType type, const gfx::Rect& bounds) gfx 93 ash/wm/wm_event.h SetBoundsEvent(WMEventType type, const gfx::Rect& requested_bounds); gfx 96 ash/wm/wm_event.h const gfx::Rect& requested_bounds() const { return requested_bounds_; } gfx 99 ash/wm/wm_event.h gfx::Rect requested_bounds_; gfx 53 ash/wm/workspace/magnetism_matcher.cc MagnetismEdgeMatcher::MagnetismEdgeMatcher(const gfx::Rect& bounds, gfx 63 ash/wm/workspace/magnetism_matcher.cc bool MagnetismEdgeMatcher::ShouldAttach(const gfx::Rect& bounds) { gfx 123 ash/wm/workspace/magnetism_matcher.cc MagnetismMatcher::MagnetismMatcher(const gfx::Rect& bounds, uint32 edges) gfx 140 ash/wm/workspace/magnetism_matcher.cc bool MagnetismMatcher::ShouldAttach(const gfx::Rect& bounds, gfx 162 ash/wm/workspace/magnetism_matcher.cc const gfx::Rect& bounds, gfx 165 ash/wm/workspace/magnetism_matcher.cc const gfx::Rect& src_bounds(matchers_[0]->bounds()); gfx 37 ash/wm/workspace/magnetism_matcher.h MagnetismEdgeMatcher(const gfx::Rect& bounds, MagnetismEdge edge); gfx 41 ash/wm/workspace/magnetism_matcher.h const gfx::Rect& bounds() const { return bounds_; } gfx 48 ash/wm/workspace/magnetism_matcher.h bool ShouldAttach(const gfx::Rect& bounds); gfx 57 ash/wm/workspace/magnetism_matcher.h static int GetPrimaryCoordinate(const gfx::Rect& bounds, MagnetismEdge edge) { gfx 87 ash/wm/workspace/magnetism_matcher.h Range GetPrimaryRange(const gfx::Rect& bounds) const { gfx 100 ash/wm/workspace/magnetism_matcher.h Range GetSecondaryRange(const gfx::Rect& bounds) const { gfx 118 ash/wm/workspace/magnetism_matcher.h const gfx::Rect bounds_; gfx 162 ash/wm/workspace/magnetism_matcher.h MagnetismMatcher(const gfx::Rect& bounds, uint32 edges); gfx 168 ash/wm/workspace/magnetism_matcher.h bool ShouldAttach(const gfx::Rect& bounds, MatchedEdge* edge); gfx 175 ash/wm/workspace/magnetism_matcher.h void AttachToSecondaryEdge(const gfx::Rect& bounds, gfx 14 ash/wm/workspace/magnetism_matcher_unittest.cc const gfx::Rect initial_bounds(20, 10, 50, 60); gfx 19 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - distance - 10, gfx 23 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - 2, initial_bounds.y(), 1, 1), gfx 29 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - 2, gfx 39 ash/wm/workspace/magnetism_matcher_unittest.cc const gfx::Rect initial_bounds(20, 10, 50, 60); gfx 44 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - distance - 10, gfx 48 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - 2, gfx 54 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() + distance + 1, gfx 60 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.right() - 10 - 1, gfx 69 ash/wm/workspace/magnetism_matcher_unittest.cc const gfx::Rect initial_bounds(20, 10, 150, 160); gfx 74 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.right() - distance * 2, gfx 81 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.right() + 1, gfx 87 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.right() + 1, gfx 98 ash/wm/workspace/magnetism_matcher_unittest.cc const gfx::Rect initial_bounds(20, 10, 150, 160); gfx 103 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - distance + 1, gfx 110 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.right() - 1, gfx 121 ash/wm/workspace/magnetism_matcher_unittest.cc const gfx::Rect initial_bounds(20, 10, 150, 160); gfx 126 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(100, initial_bounds.bottom() - distance - 2, gfx 132 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(110, initial_bounds.bottom() + 1, gfx 136 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(90, gfx 146 ash/wm/workspace/magnetism_matcher_unittest.cc const gfx::Rect initial_bounds(20, 10, 150, 160); gfx 151 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - distance - 2, gfx 158 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - 4, gfx 162 ash/wm/workspace/magnetism_matcher_unittest.cc gfx::Rect(initial_bounds.x() - 4, gfx 74 ash/wm/workspace/multi_window_resize_controller.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 75 ash/wm/workspace/multi_window_resize_controller.cc return gfx::Size(image_->width(), image_->height()); gfx 77 ash/wm/workspace/multi_window_resize_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 81 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point location(event.location()); gfx 87 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point location(event.location()); gfx 98 ash/wm/workspace/multi_window_resize_controller.cc virtual gfx::NativeCursor GetCursor( gfx 108 ash/wm/workspace/multi_window_resize_controller.cc const gfx::ImageSkia* image_; gfx 121 ash/wm/workspace/multi_window_resize_controller.cc virtual bool Contains(const gfx::Point& point_in_screen, gfx 158 ash/wm/workspace/multi_window_resize_controller.cc const gfx::Point& point_in_window) { gfx 229 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point mouse_location( gfx 230 ash/wm/workspace/multi_window_resize_controller.cc gfx::Screen::GetScreenFor(window)->GetCursorScreenPoint()); gfx 241 ash/wm/workspace/multi_window_resize_controller.cc const gfx::Point& point) const { gfx 243 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point point_in_parent(point); gfx 416 ash/wm/workspace/multi_window_resize_controller.cc const gfx::Point& location_in_screen) { gfx 420 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point location_in_parent(location_in_screen); gfx 441 ash/wm/workspace/multi_window_resize_controller.cc void MultiWindowResizeController::Resize(const gfx::Point& location_in_screen, gfx 443 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point location_in_parent(location_in_screen); gfx 447 ash/wm/workspace/multi_window_resize_controller.cc gfx::Rect bounds = ScreenUtil::ConvertRectToScreen( gfx 464 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point screen_loc = Shell::GetScreen()->GetCursorScreenPoint(); gfx 486 ash/wm/workspace/multi_window_resize_controller.cc gfx::Rect MultiWindowResizeController::CalculateResizeWidgetBounds( gfx 487 ash/wm/workspace/multi_window_resize_controller.cc const gfx::Point& location_in_parent) const { gfx 488 ash/wm/workspace/multi_window_resize_controller.cc gfx::Size pref = resize_widget_->GetContentsView()->GetPreferredSize(); gfx 505 ash/wm/workspace/multi_window_resize_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); gfx 509 ash/wm/workspace/multi_window_resize_controller.cc const gfx::Point& location_in_screen) const { gfx 531 ash/wm/workspace/multi_window_resize_controller.cc const gfx::Point& location_in_screen, gfx 536 ash/wm/workspace/multi_window_resize_controller.cc gfx::Point window_loc(location_in_screen); gfx 47 ash/wm/workspace/multi_window_resize_controller.h void Show(aura::Window* window, int component, const gfx::Point& point); gfx 94 ash/wm/workspace/multi_window_resize_controller.h const gfx::Point& point) const; gfx 129 ash/wm/workspace/multi_window_resize_controller.h void StartResize(const gfx::Point& location_in_screen); gfx 132 ash/wm/workspace/multi_window_resize_controller.h void Resize(const gfx::Point& location_in_screen, int event_flags); gfx 141 ash/wm/workspace/multi_window_resize_controller.h gfx::Rect CalculateResizeWidgetBounds( gfx 142 ash/wm/workspace/multi_window_resize_controller.h const gfx::Point& location_in_parent) const; gfx 146 ash/wm/workspace/multi_window_resize_controller.h bool IsOverWindows(const gfx::Point& location_in_screen) const; gfx 150 ash/wm/workspace/multi_window_resize_controller.h const gfx::Point& location_in_screen, gfx 168 ash/wm/workspace/multi_window_resize_controller.h gfx::Point show_location_in_parent_; gfx 171 ash/wm/workspace/multi_window_resize_controller.h gfx::Rect show_bounds_in_screen_; gfx 40 ash/wm/workspace/multi_window_resize_controller_unittest.cc const gfx::Rect& bounds) { gfx 84 ash/wm/workspace/multi_window_resize_controller_unittest.cc bool IsOverWindows(const gfx::Point& loc) { gfx 102 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate1, gfx::Rect(0, 0, 100, 100))); gfx 106 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate2, gfx::Rect(100, 0, 100, 100))); gfx 120 ash/wm/workspace/multi_window_resize_controller_unittest.cc EXPECT_FALSE(IsOverWindows(gfx::Point(200, 200))); gfx 133 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate1, gfx::Rect(0, 0, 100, 100))); gfx 137 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate2, gfx::Rect(100, 0, 100, 100))); gfx 153 ash/wm/workspace/multi_window_resize_controller_unittest.cc gfx::Rect bounds(resize_widget()->GetWindowBoundsInScreen()); gfx 176 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate1, gfx::Rect(0, 0, 100, 100))); gfx 180 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate2, gfx::Rect(100, 0, 100, 100))); gfx 196 ash/wm/workspace/multi_window_resize_controller_unittest.cc gfx::Rect bounds(resize_widget()->GetWindowBoundsInScreen()); gfx 219 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate1, gfx::Rect(0, 0, 100, 100))); gfx 223 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate2, gfx::Rect(100, 0, 100, 100))); gfx 227 ash/wm/workspace/multi_window_resize_controller_unittest.cc CreateTestWindow(&delegate3, gfx::Rect(200, 0, 100, 100))); gfx 243 ash/wm/workspace/multi_window_resize_controller_unittest.cc gfx::Rect bounds(resize_widget()->GetWindowBoundsInScreen()); gfx 50 ash/wm/workspace/phantom_window_controller.cc gfx::Rect GetAdjustedBoundsForAlternateStyle(const gfx::Rect& bounds) { gfx 60 ash/wm/workspace/phantom_window_controller.cc gfx::Rect adjusted_bounds(bounds); gfx 68 ash/wm/workspace/phantom_window_controller.cc const gfx::Rect& new_bounds_in_screen) { gfx 74 ash/wm/workspace/phantom_window_controller.cc scoped_setter.SetTweenType(gfx::Tween::EASE_IN); gfx 91 ash/wm/workspace/phantom_window_controller.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 92 ash/wm/workspace/phantom_window_controller.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; gfx 104 ash/wm/workspace/phantom_window_controller.cc gfx::Size EdgePainter::GetMinimumSize() const { gfx 105 ash/wm/workspace/phantom_window_controller.cc return gfx::Size(); gfx 108 ash/wm/workspace/phantom_window_controller.cc void EdgePainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { gfx 127 ash/wm/workspace/phantom_window_controller.cc gfx::RectToSkRect(gfx::Rect(x, y, w, h)), gfx 136 ash/wm/workspace/phantom_window_controller.cc gfx::RectToSkRect(gfx::Rect(x, y, w, h)), SkIntToScalar(kRoundRectSize), gfx 152 ash/wm/workspace/phantom_window_controller.cc void PhantomWindowController::Show(const gfx::Rect& bounds_in_screen) { gfx 159 ash/wm/workspace/phantom_window_controller.cc void PhantomWindowController::ShowAlternate(const gfx::Rect& bounds_in_screen) { gfx 160 ash/wm/workspace/phantom_window_controller.cc gfx::Rect adjusted_bounds_in_screen = gfx 166 ash/wm/workspace/phantom_window_controller.cc gfx::Rect start_bounds_in_screen = target_bounds_in_screen_; gfx 186 ash/wm/workspace/phantom_window_controller.cc void PhantomWindowController::ShowLegacy(const gfx::Rect& bounds_in_screen) { gfx 191 ash/wm/workspace/phantom_window_controller.cc gfx::Rect start_bounds_in_screen; gfx 241 ash/wm/workspace/phantom_window_controller.cc const gfx::Rect& bounds_in_screen) { gfx 35 ash/wm/workspace/phantom_window_controller.h void Show(const gfx::Rect& bounds_in_screen); gfx 48 ash/wm/workspace/phantom_window_controller.h void ShowAlternate(const gfx::Rect& bounds_in_screen); gfx 52 ash/wm/workspace/phantom_window_controller.h void ShowLegacy(const gfx::Rect& bounds_in_screen); gfx 58 ash/wm/workspace/phantom_window_controller.h const gfx::Rect& bounds_in_screen); gfx 68 ash/wm/workspace/phantom_window_controller.h gfx::Rect target_bounds_in_screen_; gfx 66 ash/wm/workspace/phantom_window_controller_unittest.cc window_ = CreateTestWindowInShellWithBounds(gfx::Rect(0, 0, 50, 60)); gfx 115 ash/wm/workspace/phantom_window_controller_unittest.cc controller()->Show(gfx::Rect(100, 100, 50, 60)); gfx 122 ash/wm/workspace/phantom_window_controller_unittest.cc controller()->Show(gfx::Rect(600, 100, 50, 60)); gfx 129 ash/wm/workspace/phantom_window_controller_unittest.cc controller()->Show(gfx::Rect(700, 100, 50, 60)); gfx 135 ash/wm/workspace/phantom_window_controller_unittest.cc controller()->Show(gfx::Rect(100, 100, 50, 60)); gfx 142 ash/wm/workspace/phantom_window_controller_unittest.cc controller()->Show(gfx::Rect(200, 100, 50, 60)); gfx 149 ash/wm/workspace/phantom_window_controller_unittest.cc controller()->Show(gfx::Rect(495, 100, 50, 60)); gfx 157 ash/wm/workspace/phantom_window_controller_unittest.cc controller()->Show(gfx::Rect(200, 100, 50, 60)); gfx 24 ash/wm/workspace/two_step_edge_cycler.cc TwoStepEdgeCycler::TwoStepEdgeCycler(const gfx::Point& start) gfx 34 ash/wm/workspace/two_step_edge_cycler.cc void TwoStepEdgeCycler::OnMove(const gfx::Point& location) { gfx 22 ash/wm/workspace/two_step_edge_cycler.h explicit TwoStepEdgeCycler(const gfx::Point& start); gfx 27 ash/wm/workspace/two_step_edge_cycler.h void OnMove(const gfx::Point& location); gfx 39 ash/wm/workspace/workspace_event_handler_unittest.cc const gfx::Rect& bounds) { gfx 87 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect restored_bounds(10, 10, 50, 50); gfx 93 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 110 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect bounds_in_screen = window->GetBoundsInScreen(); gfx 151 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect work_area2 = ScreenUtil::GetSecondaryDisplay().work_area(); gfx 195 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect restored_bounds(10, 10, 50, 50); gfx 199 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect work_area_in_screen = Shell::GetScreen()->GetDisplayNearestWindow( gfx 206 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect snapped_bounds_in_screen = window->GetBoundsInScreen(); gfx 234 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect restored_bounds(10, 10, 50, 50); gfx 240 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 243 ash/wm/workspace/workspace_event_handler_unittest.cc wd.set_maximum_size(gfx::Size(0, 100)); gfx 258 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect restored_bounds(10, 10, 50, 50); gfx 264 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 267 ash/wm/workspace/workspace_event_handler_unittest.cc wd.set_maximum_size(gfx::Size(100, 0)); gfx 285 ash/wm/workspace/workspace_event_handler_unittest.cc CreateTestWindow(&wd1, gfx::Rect(10, 20, 30, 40))); gfx 287 ash/wm/workspace/workspace_event_handler_unittest.cc CreateTestWindow(&wd2, gfx::Rect(0, 0, 1, 1))); gfx 302 ash/wm/workspace/workspace_event_handler_unittest.cc generator.GestureTapAt(gfx::Point(25, 25)); gfx 303 ash/wm/workspace/workspace_event_handler_unittest.cc generator.GestureTapAt(gfx::Point(25, 25)); gfx 313 ash/wm/workspace/workspace_event_handler_unittest.cc CreateTestWindow(&wd, gfx::Rect(1, 2, 30, 40))); gfx 317 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect restore_bounds = window->bounds(); gfx 318 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect work_area_in_parent = ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 371 ash/wm/workspace/workspace_event_handler_unittest.cc CreateTestWindow(&wd, gfx::Rect(1, 2, 30, 40))); gfx 399 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Rect bounds(10, 20, 30, 40); gfx 408 ash/wm/workspace/workspace_event_handler_unittest.cc generator.GestureTapAt(gfx::Point(25, 25)); gfx 409 ash/wm/workspace/workspace_event_handler_unittest.cc generator.GestureTapAt(gfx::Point(25, 25)); gfx 414 ash/wm/workspace/workspace_event_handler_unittest.cc generator.GestureTapAt(gfx::Point(5, 5)); gfx 415 ash/wm/workspace/workspace_event_handler_unittest.cc generator.GestureTapAt(gfx::Point(10, 10)); gfx 427 ash/wm/workspace/workspace_event_handler_unittest.cc CreateTestWindow(&wd2, gfx::Rect(0, 0, 500, 500))); gfx 430 ash/wm/workspace/workspace_event_handler_unittest.cc const gfx::Rect bounds(10, 20, 30, 40); gfx 436 ash/wm/workspace/workspace_event_handler_unittest.cc generator.MoveMouseTo(generator.current_location() + gfx::Vector2d(50, 50)); gfx 439 ash/wm/workspace/workspace_event_handler_unittest.cc generator.MoveMouseTo(generator.current_location() + gfx::Vector2d(50, 50)); gfx 445 ash/wm/workspace/workspace_event_handler_unittest.cc const gfx::Rect bounds(10, 20, 30, 40); gfx 453 ash/wm/workspace/workspace_event_handler_unittest.cc gfx::Vector2d(), gfx 119 ash/wm/workspace/workspace_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 130 ash/wm/workspace/workspace_layout_manager.cc const gfx::Rect work_area(ScreenUtil::ConvertRectFromScreen( gfx 187 ash/wm/workspace/workspace_layout_manager.cc const gfx::Rect& old_bounds, gfx 188 ash/wm/workspace/workspace_layout_manager.cc const gfx::Rect& new_bounds) { gfx 67 ash/wm/workspace/workspace_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 81 ash/wm/workspace/workspace_layout_manager.h const gfx::Rect& old_bounds, gfx 82 ash/wm/workspace/workspace_layout_manager.h const gfx::Rect& new_bounds) OVERRIDE; gfx 122 ash/wm/workspace/workspace_layout_manager.h void SetChildBoundsAnimated(aura::Window* child, const gfx::Rect& bounds); gfx 132 ash/wm/workspace/workspace_layout_manager.h gfx::Rect work_area_in_parent_; gfx 40 ash/wm/workspace/workspace_layout_manager_unittest.cc MaximizeDelegateView(const gfx::Rect& initial_bounds) gfx 47 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect* bounds, gfx 55 ash/wm/workspace/workspace_layout_manager_unittest.cc const gfx::Rect initial_bounds_; gfx 101 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 3, 4))); gfx 102 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds(10, 15, 25, 35); gfx 108 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(0, 0, 100, 100)); gfx 118 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100), gfx 123 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(0, 0, 100, 100)); gfx 150 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(10, -400, 200, 200))); gfx 155 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(10, -600, 200, 200))); gfx 163 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 30, 40))); gfx 168 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(-100, -100, 30, 40)); gfx 176 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(gfx::Rect(-100, -100, 30, 40)); gfx 188 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(gfx::Rect(0, 0, 30, 40)); // reset bounds. gfx 192 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(-100, -100, 30, 40)); gfx 208 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 30, 40))); gfx 212 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(400, 0, 30, 40)); gfx 225 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(280, 0, 30, 40)); gfx 238 ash/wm/workspace/workspace_layout_manager_unittest.cc params.delegate = new MaximizeDelegateView(gfx::Rect(400, 0, 30, 40)); gfx 258 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 30, 40))); gfx 262 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(400, 0, 30, 40)); gfx 276 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(280, 0, 30, 40)); gfx 307 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect shelf_bounds(Shell::GetPrimaryRootWindowController()-> gfx 309 ash/wm/workspace/workspace_layout_manager_unittest.cc const gfx::Rect& window_bounds(w->bounds()); gfx 310 ash/wm/workspace/workspace_layout_manager_unittest.cc w->SetBounds(gfx::Rect(window_bounds.x(), shelf_bounds.y() - 1, gfx 329 ash/wm/workspace/workspace_layout_manager_unittest.cc window->SetBounds(gfx::Rect(10, 20, 30, 40)); gfx 340 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(12, 20, 30, 40))); gfx 354 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(10, 20, 30, 40))); gfx 359 ash/wm/workspace/workspace_layout_manager_unittest.cc aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 6, 7, 8), gfx 370 ash/wm/workspace/workspace_layout_manager_unittest.cc aura::test::CreateTestWindowWithBounds(gfx::Rect(0, 0, 0, 0), gfx 377 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect work_area( gfx 384 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect window_bounds(100, 100, 200, 200); gfx 390 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect root_window_bounds = gfx 397 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds = out_window->bounds(); gfx 406 ash/wm/workspace/workspace_layout_manager_unittest.cc out_window->SetBounds(gfx::Rect(-200, -200, 200, 200)); gfx 452 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Size work_area( gfx 454 ash/wm/workspace/workspace_layout_manager_unittest.cc const gfx::Rect window_bounds( gfx 458 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(gfx::Rect(gfx::Point(100, 101), work_area).ToString(), gfx 464 ash/wm/workspace/workspace_layout_manager_unittest.cc EXPECT_EQ(gfx::Rect(gfx::Point(100, 101), work_area).ToString(), gfx 471 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 30, 40))); gfx 473 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(1, 2, 30, 40))); gfx 525 ash/wm/workspace/workspace_layout_manager_unittest.cc aura::Window* CreateTestWindow(const gfx::Rect& bounds) { gfx 537 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds(100, 100, 200, 200); gfx 550 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds(100, 100, 200, 200); gfx 601 ash/wm/workspace/workspace_layout_manager_unittest.cc &delegate, 0, gfx::Rect(100, 100, 100, 100))); gfx 613 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds(100, 100, 200, 200); gfx 616 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect initial_work_area_bounds = gfx 631 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds(100, 100, 200, 200); gfx 644 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds(100, 100, 200, 200); gfx 662 ash/wm/workspace/workspace_layout_manager_unittest.cc CreateTestWindow(gfx::Rect(10, 20, 500, 400))); gfx 663 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect work_area = Shell::GetScreen()->GetDisplayNearestWindow( gfx 684 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect old_bounds = window->bounds(); gfx 693 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(10, 20, 30, 40))); gfx 708 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); gfx 711 ash/wm/workspace/workspace_layout_manager_unittest.cc window_state->SetRestoreBoundsInParent(gfx::Rect(10, 11, 12, 13)); gfx 722 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); gfx 723 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect bounds(10, 15, 25, 35); gfx 750 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); gfx 759 ash/wm/workspace/workspace_layout_manager_unittest.cc gfx::Rect window_bounds = window->bounds(); gfx 791 ash/wm/workspace/workspace_layout_manager_unittest.cc default_container_->SetBounds(gfx::Rect(0, 0, 800, 500)); gfx 794 ash/wm/workspace/workspace_layout_manager_unittest.cc aura::Window* CreateTestWindow(const gfx::Rect& bounds) { gfx 868 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); gfx 889 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window1(CreateTestWindow(gfx::Rect(1, 2, 3, 4))); gfx 898 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window2(CreateTestWindow(gfx::Rect(10, 2, 3, 4))); gfx 899 ash/wm/workspace/workspace_layout_manager_unittest.cc scoped_ptr<aura::Window> window3(CreateTestWindow(gfx::Rect(20, 2, 3, 4))); gfx 48 ash/wm/workspace/workspace_window_resizer.cc const gfx::Point& point_in_parent, gfx 139 ash/wm/workspace/workspace_window_resizer.cc gfx::Point OriginForMagneticAttach(const gfx::Rect& src, gfx 140 ash/wm/workspace/workspace_window_resizer.cc const gfx::Rect& attach_to, gfx 171 ash/wm/workspace/workspace_window_resizer.cc return gfx::Point(x, y); gfx 177 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect BoundsForMagneticResizeAttach(const gfx::Rect& src, gfx 178 ash/wm/workspace/workspace_window_resizer.cc const gfx::Rect& attach_to, gfx 184 ash/wm/workspace/workspace_window_resizer.cc gfx::Point attach_origin(OriginForMagneticAttach(src, attach_to, edge)); gfx 221 ash/wm/workspace/workspace_window_resizer.cc return gfx::Rect(x, y, w, h); gfx 348 ash/wm/workspace/workspace_window_resizer.cc void WorkspaceWindowResizer::Drag(const gfx::Point& location_in_parent, gfx 362 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect bounds = CalculateBoundsForDrag(location_in_parent); gfx 374 ash/wm/workspace/workspace_window_resizer.cc gfx::Point location_in_screen = location_in_parent; gfx 378 ash/wm/workspace/workspace_window_resizer.cc gfx::Display display = gfx 426 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect initial_bounds = ScreenUtil::ConvertRectToScreen( gfx 483 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect bounds(attached_windows_[i]->bounds()); gfx 492 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect bounds(attached_windows_[i]->bounds()); gfx 540 ash/wm/workspace/workspace_window_resizer.cc gfx::Size min(attached_windows_[i]->delegate()->GetMinimumSize()); gfx 555 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect* bounds) { gfx 556 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect work_area(ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 586 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect attached_bounds(attached_windows_[i]->bounds()); gfx 694 ash/wm/workspace/workspace_window_resizer.cc void WorkspaceWindowResizer::MagneticallySnapToOtherWindows(gfx::Rect* bounds) { gfx 696 ash/wm/workspace/workspace_window_resizer.cc gfx::Point point = OriginForMagneticAttach( gfx 707 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect* bounds) { gfx 720 ash/wm/workspace/workspace_window_resizer.cc bool WorkspaceWindowResizer::UpdateMagnetismWindow(const gfx::Rect& bounds, gfx 723 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect bounds_in_screen = gfx 773 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect* bounds) { gfx 774 ash/wm/workspace/workspace_window_resizer.cc gfx::Point last_mouse_location_in_screen = last_mouse_location_; gfx 777 ash/wm/workspace/workspace_window_resizer.cc gfx::Display display = Shell::GetScreen()->GetDisplayNearestPoint( gfx 779 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect work_area = gfx 823 ash/wm/workspace/workspace_window_resizer.cc const gfx::Rect& work_area, gfx 825 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect* bounds) const { gfx 853 ash/wm/workspace/workspace_window_resizer.cc const gfx::Rect& work_area, gfx 855 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect* bounds) const { gfx 882 ash/wm/workspace/workspace_window_resizer.cc int WorkspaceWindowResizer::PrimaryAxisSize(const gfx::Size& size) const { gfx 898 ash/wm/workspace/workspace_window_resizer.cc void WorkspaceWindowResizer::UpdateSnapPhantomWindow(const gfx::Point& location, gfx 899 ash/wm/workspace/workspace_window_resizer.cc const gfx::Rect& bounds) { gfx 937 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect phantom_bounds; gfx 994 ash/wm/workspace/workspace_window_resizer.cc const gfx::Point& location) const { gfx 997 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect area(ScreenUtil::GetDisplayWorkAreaBoundsInParent(GetTarget())); gfx 1001 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect display_bounds(ScreenUtil::GetDisplayBoundsInParent(GetTarget())); gfx 1033 ash/wm/workspace/workspace_window_resizer.cc const gfx::Rect& bounds_in_parent) const { gfx 1036 ash/wm/workspace/workspace_window_resizer.cc gfx::Rect snapped_bounds = ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 60 ash/wm/workspace/workspace_window_resizer.h virtual void Drag(const gfx::Point& location_in_parent, gfx 73 ash/wm/workspace/workspace_window_resizer.h void LayoutAttachedWindows(gfx::Rect* bounds); gfx 106 ash/wm/workspace/workspace_window_resizer.h void MagneticallySnapToOtherWindows(gfx::Rect* bounds); gfx 110 ash/wm/workspace/workspace_window_resizer.h void MagneticallySnapResizeToOtherWindows(gfx::Rect* bounds); gfx 116 ash/wm/workspace/workspace_window_resizer.h bool UpdateMagnetismWindow(const gfx::Rect& bounds, uint32 edges); gfx 122 ash/wm/workspace/workspace_window_resizer.h void AdjustBoundsForMainWindow(int snap_size, gfx::Rect* bounds); gfx 125 ash/wm/workspace/workspace_window_resizer.h bool StickToWorkAreaOnMove(const gfx::Rect& work_area, gfx 127 ash/wm/workspace/workspace_window_resizer.h gfx::Rect* bounds) const; gfx 130 ash/wm/workspace/workspace_window_resizer.h void StickToWorkAreaOnResize(const gfx::Rect& work_area, gfx 132 ash/wm/workspace/workspace_window_resizer.h gfx::Rect* bounds) const; gfx 136 ash/wm/workspace/workspace_window_resizer.h int PrimaryAxisSize(const gfx::Size& size) const; gfx 140 ash/wm/workspace/workspace_window_resizer.h void UpdateSnapPhantomWindow(const gfx::Point& location, gfx 141 ash/wm/workspace/workspace_window_resizer.h const gfx::Rect& bounds); gfx 149 ash/wm/workspace/workspace_window_resizer.h SnapType GetSnapType(const gfx::Point& location) const; gfx 154 ash/wm/workspace/workspace_window_resizer.h const gfx::Rect& bounds_in_parent) const; gfx 198 ash/wm/workspace/workspace_window_resizer.h gfx::Point last_mouse_location_; gfx 46 ash/wm/workspace/workspace_window_resizer_unittest.cc void set_min_size(const gfx::Size& size) { gfx 50 ash/wm/workspace/workspace_window_resizer_unittest.cc void set_max_size(const gfx::Size& size) { gfx 56 ash/wm/workspace/workspace_window_resizer_unittest.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 60 ash/wm/workspace/workspace_window_resizer_unittest.cc virtual gfx::Size GetMaximumSize() const OVERRIDE { gfx 64 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Size min_size_; gfx 65 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Size max_size_; gfx 84 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect root_bounds(root->bounds()); gfx 91 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 146 ash/wm/workspace/workspace_window_resizer_unittest.cc const gfx::Point& point_in_parent, gfx 158 ash/wm/workspace/workspace_window_resizer_unittest.cc const gfx::Point& point_in_parent, gfx 172 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point CalculateDragPoint(const WindowResizer& resizer, gfx 175 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point location = resizer.GetInitialLocation(); gfx 189 ash/wm/workspace/workspace_window_resizer_unittest.cc void InitTouchResizeWindow(const gfx::Rect& bounds, int window_component) { gfx 216 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 300, 400, 300)); gfx 217 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(400, 200, 100, 200)); gfx 222 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 231 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_min_size(gfx::Size(20, 20)); gfx 250 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 0, 300, 400, 300)); gfx 251 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(400, 200, 100, 200)); gfx 256 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 265 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_min_size(gfx::Size(20, 20)); gfx 284 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 300, 200, 300)); gfx 285 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(300, 300, 150, 200)); gfx 286 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(450, 300, 100, 200)); gfx 287 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_min_size(gfx::Size(52, 50)); gfx 288 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_min_size(gfx::Size(38, 50)); gfx 294 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 325 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 300, 200, 300)); gfx 326 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(300, 300, 200, 200)); gfx 327 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(450, 300, 100, 200)); gfx 328 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_min_size(gfx::Size(52, 50)); gfx 329 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_min_size(gfx::Size(38, 50)); gfx 335 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 359 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 0, 100, 400, 300)); gfx 360 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(400, 400, 100, 200)); gfx 365 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM, gfx 374 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_min_size(gfx::Size(20, 20)); gfx 393 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 0, 50, 400, 200)); gfx 394 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(0, 250, 200, 100)); gfx 399 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM, gfx 408 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_min_size(gfx::Size(20, 20)); gfx 437 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 439 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 300, 100, 300, 200)); gfx 440 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(300, 300, 200, 150)); gfx 441 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 450, 200, 100)); gfx 442 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_min_size(gfx::Size(50, 52)); gfx 443 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_min_size(gfx::Size(50, 38)); gfx 449 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM, gfx 480 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 0, 0, 200, 200)); gfx 481 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(10, 200, 200, 200)); gfx 482 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(20, 400, 100, 100)); gfx 483 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_min_size(gfx::Size(52, 50)); gfx 484 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_min_size(gfx::Size(38, 50)); gfx 490 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM, gfx 515 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 300, 400, 300)); gfx 516 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(400, 200, 100, 200)); gfx 527 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 560 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(20, 30, 400, 60)); gfx 564 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect expected_bounds_in_parent( gfx 568 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 581 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect expected_bounds_in_parent( gfx 585 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 607 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(800, 10, 400, 60), gfx 614 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 632 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(20, 30, 50, 60)); gfx 636 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 651 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBoundsInScreen(gfx::Rect(0, 0, 50, 60), gfx 657 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 677 ash/wm/workspace/workspace_window_resizer_unittest.cc const gfx::Rect kInitialBounds(100, 100, 100, 100); gfx 683 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect snapped_bounds = window_->bounds(); gfx 690 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 702 ash/wm/workspace/workspace_window_resizer_unittest.cc const gfx::Rect kInitialBounds(100, 100, 100, 100); gfx 709 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect snapped_bounds = window_->bounds(); gfx 718 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT)); gfx 732 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM)); gfx 746 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM)); gfx 750 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect expected_bounds(snapped_bounds); gfx 759 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 0, 0, 200, 300)); gfx 760 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(200, 0, 100, 200)); gfx 761 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 0, 100, 100)); gfx 767 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 781 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_.get(), gfx::Point(), HTRIGHT, gfx 795 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 10, 0)); gfx 799 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 300, 400)); gfx 801 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 819 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 10, 0)); gfx 826 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 300, 20)); gfx 831 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(10, 0), HTCAPTION)); gfx 845 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 10, 0)); gfx 847 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 300, 400)); gfx 849 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(10, 0), HTCAPTION)); gfx 863 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 300, 400)); gfx 879 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(10, 0, 0, 0)); gfx 881 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 300, 400)); gfx 883 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 891 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 50, 0)); gfx 893 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 300, 380)); gfx 895 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOP)); gfx 903 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 50, 0)); gfx 908 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(window_x, 100, window_width, 380)); gfx 910 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(pixels_to_left_border, 0), HTRIGHT)); gfx 920 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 50, 0)); gfx 926 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(window_x, 100, window_width, 380)); gfx 928 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(window_x, 0), HTLEFT)); gfx 940 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 50, 0)); gfx 945 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, bottom - delta_to_bottom, 300, height)); gfx 947 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(0, bottom - delta_to_bottom), HTTOP)); gfx 964 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 50, 0)); gfx 970 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(window_x, 100, window_width, 380)); gfx 972 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(window_x, 0), HTCAPTION)); gfx 987 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Insets(0, 0, 50, 0)); gfx 988 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(window_x, 100, window_width, 380)); gfx 1000 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(96, 112, 320, 160)); gfx 1005 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->bounds().origin() + gfx::Vector2d(50, 0), gfx 1070 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1072 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOPLEFT)); gfx 1080 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1081 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect work_area(ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 1084 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOPRIGHT)); gfx 1096 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1097 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect work_area(ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 1100 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMRIGHT)); gfx 1113 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1114 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect work_area(ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 1117 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMLEFT)); gfx 1129 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(10, 10, 20, 50)); gfx 1131 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(150, 160, 25, 1000)); gfx 1135 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(10, 10), HTCAPTION)); gfx 1140 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect expected(130, 160, 20, 50); gfx 1143 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Rect work_area(ScreenUtil::GetDisplayWorkAreaBoundsInParent( gfx 1176 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(96, 112, 320, 160)); gfx 1178 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMRIGHT)); gfx 1188 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 1000, 1000)); gfx 1190 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(96, 112, 320, 160)); gfx 1192 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1205 ash/wm/workspace/workspace_window_resizer_unittest.cc const gfx::Rect initial_bounds(0, 0, 200, 400); gfx 1209 ash/wm/workspace/workspace_window_resizer_unittest.cc window_state->SetRestoreBoundsInScreen(gfx::Rect(96, 112, 320, 160)); gfx 1211 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1224 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(10, 10, 20, 30)); gfx 1225 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(150, 160, 25, 20)); gfx 1229 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1254 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1255 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(99, 179, 10, 20)); gfx 1259 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOP)); gfx 1266 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1267 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(99, 179, 10, 20)); gfx 1272 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOPLEFT)); gfx 1280 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(88, 201, 10, 20)); gfx 1282 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOPLEFT)); gfx 1291 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1295 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(111, 179, 10, 20)); gfx 1297 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOPRIGHT)); gfx 1305 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(121, 199, 10, 20)); gfx 1307 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTTOPRIGHT)); gfx 1316 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1317 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(121, 199, 10, 20)); gfx 1321 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT)); gfx 1328 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1332 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(122, 212, 10, 20)); gfx 1334 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMRIGHT)); gfx 1342 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(111, 233, 10, 20)); gfx 1344 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMRIGHT)); gfx 1353 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1354 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(111, 233, 10, 20)); gfx 1358 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM)); gfx 1365 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1369 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(99, 231, 10, 20)); gfx 1371 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMLEFT)); gfx 1379 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(89, 209, 10, 20)); gfx 1381 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMLEFT)); gfx 1390 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(89, 209, 10, 20)); gfx 1391 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(100, 200, 20, 30)); gfx 1395 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTLEFT)); gfx 1403 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 0, 50, 400, 200)); gfx 1409 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1422 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1434 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 400, 300)); gfx 1435 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_max_size(gfx::Size(401, 301)); gfx 1438 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMRIGHT)); gfx 1446 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 400, 300)); gfx 1447 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_max_size(gfx::Size(401, 0)); gfx 1450 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOMRIGHT)); gfx 1462 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 400, 200)); gfx 1465 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1474 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 400, 200)); gfx 1475 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_max_size(gfx::Size(400, 200)); gfx 1478 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1488 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect(0, 0, 400, 200)); gfx 1489 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_max_size(gfx::Size(400, 200)); gfx 1491 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_min_size(gfx::Size(400, 200)); gfx 1494 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTCAPTION)); gfx 1504 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1507 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1508 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(200, 100, 100, 100)); gfx 1509 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 100, 100, 100)); gfx 1510 ash/wm/workspace/workspace_window_resizer_unittest.cc window4_->SetBounds(gfx::Rect(400, 100, 100, 100)); gfx 1511 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_max_size(gfx::Size(101, 0)); gfx 1518 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 1535 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1538 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1539 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(200, 100, 100, 100)); gfx 1540 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 100, 100, 100)); gfx 1541 ash/wm/workspace/workspace_window_resizer_unittest.cc window4_->SetBounds(gfx::Rect(400, 100, 100, 100)); gfx 1542 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_max_size(gfx::Size(101, 0)); gfx 1543 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_max_size(gfx::Size(101, 0)); gfx 1550 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 1564 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1567 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1568 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(100, 200, 100, 100)); gfx 1569 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(100, 300, 100, 100)); gfx 1570 ash/wm/workspace/workspace_window_resizer_unittest.cc window4_->SetBounds(gfx::Rect(100, 400, 100, 100)); gfx 1571 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_max_size(gfx::Size(0, 101)); gfx 1572 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_max_size(gfx::Size(0, 101)); gfx 1579 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM, gfx 1600 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1603 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1604 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(100, 200, 100, 100)); gfx 1605 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(100, 300, 100, 100)); gfx 1606 ash/wm/workspace/workspace_window_resizer_unittest.cc window4_->SetBounds(gfx::Rect(100, 400, 100, 100)); gfx 1607 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_min_size(gfx::Size(0, 99)); gfx 1608 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_min_size(gfx::Size(0, 99)); gfx 1615 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTBOTTOM, gfx 1629 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1632 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1633 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(200, 100, 100, 100)); gfx 1634 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 100, 100, 100)); gfx 1635 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_max_size(gfx::Size(101, 0)); gfx 1642 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 1655 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1658 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1659 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(200, 100, 100, 100)); gfx 1660 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 100, 100, 100)); gfx 1661 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate2_.set_max_size(gfx::Size(101, 0)); gfx 1662 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate3_.set_max_size(gfx::Size(101, 0)); gfx 1669 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 1689 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1692 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1693 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(200, 100, 100, 100)); gfx 1694 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 100, 100, 100)); gfx 1695 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_max_size(gfx::Size(102, 0)); gfx 1702 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 1716 ash/wm/workspace/workspace_window_resizer_unittest.cc Shell::GetInstance()->SetDisplayWorkAreaInsets(root, gfx::Insets()); gfx 1719 ash/wm/workspace/workspace_window_resizer_unittest.cc window_->SetBounds(gfx::Rect( 100, 100, 100, 100)); gfx 1720 ash/wm/workspace/workspace_window_resizer_unittest.cc window2_->SetBounds(gfx::Rect(200, 100, 100, 100)); gfx 1721 ash/wm/workspace/workspace_window_resizer_unittest.cc window3_->SetBounds(gfx::Rect(300, 100, 100, 100)); gfx 1722 ash/wm/workspace/workspace_window_resizer_unittest.cc delegate_.set_min_size(gfx::Size(98, 0)); gfx 1728 ash/wm/workspace/workspace_window_resizer_unittest.cc window_.get(), gfx::Point(), HTRIGHT, gfx 1743 ash/wm/workspace/workspace_window_resizer_unittest.cc InitTouchResizeWindow(gfx::Rect(100, 100, 600, kRootHeight - 200), HTRIGHT); gfx 1744 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 200).ToString(), gfx 1752 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(715, kRootHeight / 2), gfx 1753 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(725, kRootHeight / 2), gfx 1756 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 625, kRootHeight - 200).ToString(), gfx 1759 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(725, kRootHeight / 2), gfx 1760 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(760, kRootHeight / 2), gfx 1763 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 660, kRootHeight - 200).ToString(), gfx 1766 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(760, kRootHeight / 2), gfx 1767 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(775, kRootHeight / 2), gfx 1770 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 700, kRootHeight - 200).ToString(), gfx 1777 ash/wm/workspace/workspace_window_resizer_unittest.cc InitTouchResizeWindow(gfx::Rect(100, 100, 600, kRootHeight - 200), HTLEFT); gfx 1778 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 200).ToString(), gfx 1786 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(85, kRootHeight / 2), gfx 1787 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(75, kRootHeight / 2), gfx 1790 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(75, 100, 625, kRootHeight - 200).ToString(), gfx 1793 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(75, kRootHeight / 2), gfx 1794 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(40, kRootHeight / 2), gfx 1797 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(40, 100, 660, kRootHeight - 200).ToString(), gfx 1800 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(40, kRootHeight / 2), gfx 1801 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(25, kRootHeight / 2), gfx 1804 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(0, 100, 700, kRootHeight - 200).ToString(), gfx 1811 ash/wm/workspace/workspace_window_resizer_unittest.cc InitTouchResizeWindow(gfx::Rect(100, 100, 600, kRootHeight - 200), HTTOP); gfx 1812 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 200).ToString(), gfx 1820 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(400, 85), gfx 1821 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(400, 75), gfx 1824 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 75, 600, kRootHeight - 175).ToString(), gfx 1827 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(400, 75), gfx 1828 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(400, 40), gfx 1831 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 40, 600, kRootHeight - 140).ToString(), gfx 1834 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(400, 40), gfx 1835 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(400, 25), gfx 1838 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 0, 600, kRootHeight - 100).ToString(), gfx 1845 ash/wm/workspace/workspace_window_resizer_unittest.cc InitTouchResizeWindow(gfx::Rect(100, 100, 600, kRootHeight - 200), HTBOTTOM); gfx 1846 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 200).ToString(), gfx 1854 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(400, kRootHeight - 85), gfx 1855 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(400, kRootHeight - 75), gfx 1858 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 175).ToString(), gfx 1861 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(400, kRootHeight - 75), gfx 1862 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(400, kRootHeight - 40), gfx 1865 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 140).ToString(), gfx 1868 ash/wm/workspace/workspace_window_resizer_unittest.cc generator.GestureScrollSequence(gfx::Point(400, kRootHeight - 40), gfx 1869 ash/wm/workspace/workspace_window_resizer_unittest.cc gfx::Point(400, kRootHeight - 25), gfx 1872 ash/wm/workspace/workspace_window_resizer_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 100).ToString(), gfx 74 ash/wm/workspace_controller.cc const gfx::Rect shelf_bounds(shelf_->GetIdealBounds()); gfx 128 ash/wm/workspace_controller.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 131 ash/wm/workspace_controller.cc viewport_->layer()->SetTransform(gfx::Transform()); gfx 105 ash/wm/workspace_controller_unittest.cc aura::Window* CreateBrowserLikeWindow(const gfx::Rect& bounds) { gfx 114 ash/wm/workspace_controller_unittest.cc aura::Window* CreatePopupLikeWindow(const gfx::Rect& bounds) { gfx 121 ash/wm/workspace_controller_unittest.cc const gfx::Rect& bounds) { gfx 142 ash/wm/workspace_controller_unittest.cc gfx::Rect GetFullscreenBounds(aura::Window* window) { gfx 165 ash/wm/workspace_controller_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 250, 251)); gfx 186 ash/wm/workspace_controller_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 250, 251)); gfx 220 ash/wm/workspace_controller_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 250, 251)); gfx 226 ash/wm/workspace_controller_unittest.cc w2->SetBounds(gfx::Rect(0, 0, 50, 51)); gfx 235 ash/wm/workspace_controller_unittest.cc gfx::Rect work_area( gfx 254 ash/wm/workspace_controller_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 200, 500)); gfx 262 ash/wm/workspace_controller_unittest.cc w1->SetBounds(gfx::Rect(1, 6, 25, 30)); gfx 274 ash/wm/workspace_controller_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 250, 251)); gfx 372 ash/wm/workspace_controller_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 376 ash/wm/workspace_controller_unittest.cc const gfx::Rect w1_bounds(0, 1, 101, 102); gfx 379 ash/wm/workspace_controller_unittest.cc const gfx::Rect touches_shelf_bounds( gfx 445 ash/wm/workspace_controller_unittest.cc gfx::Rect restore = window_state->GetRestoreBoundsInScreen(); gfx 458 ash/wm/workspace_controller_unittest.cc w2->SetBounds(gfx::Rect(10, 11, 250, 251)); gfx 580 ash/wm/workspace_controller_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 585 ash/wm/workspace_controller_unittest.cc const gfx::Rect touches_shelf_bounds( gfx 594 ash/wm/workspace_controller_unittest.cc w2->SetBounds(gfx::Rect(10, 11, 250, 251)); gfx 608 ash/wm/workspace_controller_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 613 ash/wm/workspace_controller_unittest.cc const gfx::Rect w1_bounds(0, shelf->GetIdealBounds().y(), 100, 200); gfx 622 ash/wm/workspace_controller_unittest.cc w2->SetBounds(gfx::Rect(10, 11, 250, 251)); gfx 629 ash/wm/workspace_controller_unittest.cc gfx::Insets insets = gfx 650 ash/wm/workspace_controller_unittest.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 651 ash/wm/workspace_controller_unittest.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 678 ash/wm/workspace_controller_unittest.cc &delegate, 1000, gfx::Rect(10, 11, 250, 251))); gfx 701 ash/wm/workspace_controller_unittest.cc w2->SetBounds(gfx::Rect(10, 11, 250, 251)); gfx 710 ash/wm/workspace_controller_unittest.cc w1->SetBounds(gfx::Rect(10, 11, 250, 251)); gfx 727 ash/wm/workspace_controller_unittest.cc gfx::Rect source_browser_bounds(16, 32, 640, 320); gfx 733 ash/wm/workspace_controller_unittest.cc gfx::Rect(16, 32, 128, 256))); gfx 748 ash/wm/workspace_controller_unittest.cc gfx::Rect source_browser_bounds(gfx::Rect(1000, 600, 640, 320)); gfx 763 ash/wm/workspace_controller_unittest.cc gfx::Rect(50, 100, 300, 150))); gfx 770 ash/wm/workspace_controller_unittest.cc gfx::Rect(50, 100, 300, 150))); gfx 781 ash/wm/workspace_controller_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 782 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 788 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 809 ash/wm/workspace_controller_unittest.cc window3->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 830 ash/wm/workspace_controller_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 831 ash/wm/workspace_controller_unittest.cc window4->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 856 ash/wm/workspace_controller_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 857 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 859 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 902 ash/wm/workspace_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(100, 100, 100, 100))); gfx 904 ash/wm/workspace_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(110, 110, 100, 100))); gfx 906 ash/wm/workspace_controller_unittest.cc CreateTestWindowInShellWithBounds(gfx::Rect(120, 120, 100, 100))); gfx 951 ash/wm/workspace_controller_unittest.cc gfx::Rect user_pos = gfx::Rect(16, 42, 640, 320); gfx 956 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 960 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 990 ash/wm/workspace_controller_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 991 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 996 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 1020 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 1025 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 1041 ash/wm/workspace_controller_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 1044 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 1049 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 40, 256, 512)); gfx 1075 ash/wm/workspace_controller_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 1078 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 1082 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 40, 256, 512)); gfx 1110 ash/wm/workspace_controller_unittest.cc window1->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 1111 ash/wm/workspace_controller_unittest.cc gfx::Rect desktop_area = window1->parent()->bounds(); gfx 1114 ash/wm/workspace_controller_unittest.cc window2->SetBounds(gfx::Rect(32, 48, 256, 512)); gfx 1148 ash/wm/workspace_controller_unittest.cc NULL, ui::wm::WINDOW_TYPE_NORMAL, gfx::Rect(5, 6, 7, 8), NULL)); gfx 1162 ash/wm/workspace_controller_unittest.cc gfx::Rect(5, 6, 7, 8), gfx 1169 ash/wm/workspace_controller_unittest.cc NULL, ui::wm::WINDOW_TYPE_NORMAL, gfx::Rect(5, 6, 7, 8), NULL)); gfx 1258 ash/wm/workspace_controller_unittest.cc modal_window->SetBounds(gfx::Rect(10, 11, 21, 22)); gfx 1306 ash/wm/workspace_controller_unittest.cc &delegate, ui::wm::WINDOW_TYPE_NORMAL, gfx::Rect(5, 5, 100, 50), NULL)); gfx 1314 ash/wm/workspace_controller_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1336 ash/wm/workspace_controller_unittest.cc &delegate, ui::wm::WINDOW_TYPE_NORMAL, gfx::Rect(5, 5, 100, 50), NULL)); gfx 1345 ash/wm/workspace_controller_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1363 ash/wm/workspace_controller_unittest.cc 123, gfx::Rect(20, 10, 100, 50), NULL)); gfx 1368 ash/wm/workspace_controller_unittest.cc 234, gfx::Rect(30, 40, 40, 10), NULL)); gfx 1382 ash/wm/workspace_controller_unittest.cc gfx::Point location; gfx 1384 ash/wm/workspace_controller_unittest.cc { "left", gfx::Point(28, 45) }, // outside the left edge. gfx 1385 ash/wm/workspace_controller_unittest.cc { "top", gfx::Point(50, 38) }, // outside the top edge. gfx 1386 ash/wm/workspace_controller_unittest.cc { "right", gfx::Point(72, 45) }, // outside the right edge. gfx 1387 ash/wm/workspace_controller_unittest.cc { "bottom", gfx::Point(50, 52) }, // outside the bottom edge. gfx 1397 ash/wm/workspace_controller_unittest.cc const gfx::Point& location = points[i].location; gfx 1410 ash/wm/workspace_controller_unittest.cc gfx::Transform transform; gfx 1420 ash/wm/workspace_controller_unittest.cc gfx::Rect(20, 10, 100, 50))); gfx 1423 ash/wm/workspace_controller_unittest.cc const gfx::Rect bounds = window->bounds(); gfx 1427 ash/wm/workspace_controller_unittest.cc gfx::Point location; gfx 1430 ash/wm/workspace_controller_unittest.cc { "left", gfx::Point(bounds.x() - 2, bounds.y() + 10), true }, gfx 1431 ash/wm/workspace_controller_unittest.cc { "top", gfx::Point(bounds.x() + 10, bounds.y() - 2), true }, gfx 1432 ash/wm/workspace_controller_unittest.cc { "right", gfx::Point(bounds.right() + 2, bounds.y() + 10), true }, gfx 1433 ash/wm/workspace_controller_unittest.cc { "bottom", gfx::Point(bounds.x() + 10, bounds.bottom() + 2), true }, gfx 1434 ash/wm/workspace_controller_unittest.cc { "outside", gfx::Point(bounds.x() + 10, bounds.y() - 31), false }, gfx 1438 ash/wm/workspace_controller_unittest.cc const gfx::Point& location = points[i].location; gfx 1464 ash/wm/workspace_controller_unittest.cc delegate.set_maximum_size(gfx::Size(180, 200)); gfx 1466 ash/wm/workspace_controller_unittest.cc 123, gfx::Rect(20, 10, 100, 50), NULL)); gfx 1474 ash/wm/workspace_controller_unittest.cc const gfx::Rect bounds = window->bounds(); gfx 1478 ash/wm/workspace_controller_unittest.cc gfx::Point location; gfx 1481 ash/wm/workspace_controller_unittest.cc { "left", gfx::Point(bounds.x() - 2, bounds.y() + 10), true }, gfx 1482 ash/wm/workspace_controller_unittest.cc { "top", gfx::Point(bounds.x() + 10, bounds.y() - 2), true }, gfx 1483 ash/wm/workspace_controller_unittest.cc { "right", gfx::Point(bounds.right() + 2, bounds.y() + 10), true }, gfx 1484 ash/wm/workspace_controller_unittest.cc { "bottom", gfx::Point(bounds.x() + 10, bounds.bottom() + 2), true }, gfx 1485 ash/wm/workspace_controller_unittest.cc { "outside", gfx::Point(bounds.x() + 10, bounds.y() - 31), false }, gfx 1489 ash/wm/workspace_controller_unittest.cc const gfx::Point& location = points[i].location; gfx 13 cc/animation/animation_curve.h namespace gfx { gfx 70 cc/animation/animation_curve.h virtual gfx::Transform GetValue(double t) const = 0; gfx 75 cc/animation/animation_curve.h virtual bool AnimatedBoundsForBox(const gfx::BoxF& box, gfx 76 cc/animation/animation_curve.h gfx::BoxF* bounds) const = 0; gfx 33 cc/animation/animation_events.h gfx::Transform transform; gfx 210 cc/animation/keyframed_animation_curve.cc return gfx::Tween::ColorValueBetween( gfx 306 cc/animation/keyframed_animation_curve.cc gfx::Transform KeyframedTransformAnimationCurve::GetValue(double t) const { gfx 313 cc/animation/keyframed_animation_curve.cc return GetCurveValue<gfx::Transform, TransformKeyframe>(&keyframes_, t); gfx 317 cc/animation/keyframed_animation_curve.cc const gfx::BoxF& box, gfx 318 cc/animation/keyframed_animation_curve.cc gfx::BoxF* bounds) const { gfx 320 cc/animation/keyframed_animation_curve.cc *bounds = gfx::BoxF(); gfx 322 cc/animation/keyframed_animation_curve.cc gfx::BoxF bounds_for_step; gfx 183 cc/animation/keyframed_animation_curve.h virtual gfx::Transform GetValue(double t) const OVERRIDE; gfx 184 cc/animation/keyframed_animation_curve.h virtual bool AnimatedBoundsForBox(const gfx::BoxF& box, gfx 185 cc/animation/keyframed_animation_curve.h gfx::BoxF* bounds) const OVERRIDE; gfx 17 cc/animation/keyframed_animation_curve_unittest.cc void ExpectTranslateX(SkMScalar translate_x, const gfx::Transform& transform) { gfx 46 cc/animation/keyframed_animation_curve_unittest.cc SkColor color_midpoint = gfx::Tween::ColorValueBetween(0.5, color_a, color_b); gfx 67 cc/animation/keyframed_animation_curve_unittest.cc gfx::Tween::ColorValueBetween(0.5, color_a, color_b); gfx 69 cc/animation/keyframed_animation_curve_unittest.cc gfx::Tween::ColorValueBetween(0.5, color_b, color_c); gfx 281 cc/animation/keyframed_animation_curve_unittest.cc gfx::Transform value = curve->GetValue(1.f); gfx 446 cc/animation/keyframed_animation_curve_unittest.cc gfx::BoxF box(2.f, 3.f, 4.f, 1.f, 3.f, 2.f); gfx 447 cc/animation/keyframed_animation_curve_unittest.cc gfx::BoxF bounds; gfx 450 cc/animation/keyframed_animation_curve_unittest.cc EXPECT_EQ(gfx::BoxF(2.f, 3.f, 3.f, 5.f, 6.f, 5.f).ToString(), gfx 404 cc/animation/layer_animation_controller.cc const gfx::BoxF& box, gfx::BoxF* bounds) const { gfx 410 cc/animation/layer_animation_controller.cc const gfx::BoxF& box, gfx 411 cc/animation/layer_animation_controller.cc gfx::BoxF* bounds) const { gfx 421 cc/animation/layer_animation_controller.cc *bounds = gfx::BoxF(); gfx 429 cc/animation/layer_animation_controller.cc gfx::BoxF animation_bounds; gfx 510 cc/animation/layer_animation_controller.cc gfx::Vector2dF current_scroll_offset; gfx 762 cc/animation/layer_animation_controller.cc const gfx::Transform transform = gfx 793 cc/animation/layer_animation_controller.cc const gfx::Vector2dF scroll_offset = gfx 833 cc/animation/layer_animation_controller.cc const gfx::Transform& transform) { gfx 847 cc/animation/layer_animation_controller.cc const gfx::Vector2dF& scroll_offset) { gfx 20 cc/animation/layer_animation_controller.h namespace gfx { gfx 117 cc/animation/layer_animation_controller.h bool FilterAnimationBoundsForBox(const gfx::BoxF& box, gfx 118 cc/animation/layer_animation_controller.h gfx::BoxF* bounds) const; gfx 119 cc/animation/layer_animation_controller.h bool TransformAnimationBoundsForBox(const gfx::BoxF& box, gfx 120 cc/animation/layer_animation_controller.h gfx::BoxF* bounds) const; gfx 163 cc/animation/layer_animation_controller.h void NotifyObserversTransformAnimated(const gfx::Transform& transform); gfx 165 cc/animation/layer_animation_controller.h void NotifyObserversScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset); gfx 443 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(gfx::Transform(), dummy_impl.transform()); gfx 448 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(gfx::Transform(), start_transform_event->transform); gfx 451 cc/animation/layer_animation_controller_unittest.cc gfx::Transform expected_transform; gfx 579 cc/animation/layer_animation_controller_unittest.cc gfx::Vector2dF initial_value(100.f, 300.f); gfx 580 cc/animation/layer_animation_controller_unittest.cc gfx::Vector2dF target_value(300.f, 200.f); gfx 618 cc/animation/layer_animation_controller_unittest.cc EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(200.f, 250.f), dummy.scroll_offset()); gfx 622 cc/animation/layer_animation_controller_unittest.cc EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(200.f, 250.f), gfx 657 cc/animation/layer_animation_controller_unittest.cc gfx::Vector2dF initial_value(500.f, 100.f); gfx 658 cc/animation/layer_animation_controller_unittest.cc gfx::Vector2dF target_value(300.f, 200.f); gfx 696 cc/animation/layer_animation_controller_unittest.cc EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(400.f, 150.f), dummy.scroll_offset()); gfx 700 cc/animation/layer_animation_controller_unittest.cc EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(400.f, 150.f), gfx 726 cc/animation/layer_animation_controller_unittest.cc gfx::Vector2dF initial_value(100.f, 300.f); gfx 727 cc/animation/layer_animation_controller_unittest.cc gfx::Vector2dF target_value(300.f, 200.f); gfx 750 cc/animation/layer_animation_controller_unittest.cc EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(200.f, 250.f), gfx 1405 cc/animation/layer_animation_controller_unittest.cc gfx::BoxF box(1.f, 2.f, -1.f, 3.f, 4.f, 5.f); gfx 1406 cc/animation/layer_animation_controller_unittest.cc gfx::BoxF bounds; gfx 1409 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(gfx::BoxF(1.f, 2.f, -4.f, 13.f, 19.f, 20.f).ToString(), gfx 1417 cc/animation/layer_animation_controller_unittest.cc EXPECT_EQ(gfx::BoxF(1.f, 2.f, -4.f, 7.f, 16.f, 20.f).ToString(), gfx 1430 cc/animation/layer_animation_controller_unittest.cc gfx::Transform transform3; gfx 18 cc/animation/layer_animation_value_observer.h virtual void OnTransformAnimated(const gfx::Transform& transform) = 0; gfx 19 cc/animation/layer_animation_value_observer.h virtual void OnScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset) = 0; gfx 20 cc/animation/layer_animation_value_provider.h virtual gfx::Vector2dF ScrollOffsetForAnimation() const = 0; gfx 19 cc/animation/scroll_offset_animation_curve.cc const gfx::Vector2dF& target_value, gfx 26 cc/animation/scroll_offset_animation_curve.cc const gfx::Vector2dF& target_value, gfx 35 cc/animation/scroll_offset_animation_curve.cc const gfx::Vector2dF& initial_value) { gfx 49 cc/animation/scroll_offset_animation_curve.cc gfx::Vector2dF ScrollOffsetAnimationCurve::GetValue(double t) const { gfx 57 cc/animation/scroll_offset_animation_curve.cc return gfx::Vector2dF(gfx::Tween::FloatValueBetween( gfx 59 cc/animation/scroll_offset_animation_curve.cc gfx::Tween::FloatValueBetween( gfx 19 cc/animation/scroll_offset_animation_curve.h const gfx::Vector2dF& target_value, gfx 24 cc/animation/scroll_offset_animation_curve.h void SetInitialValue(const gfx::Vector2dF& initial_value); gfx 25 cc/animation/scroll_offset_animation_curve.h gfx::Vector2dF GetValue(double t) const; gfx 33 cc/animation/scroll_offset_animation_curve.h ScrollOffsetAnimationCurve(const gfx::Vector2dF& target_value, gfx 36 cc/animation/scroll_offset_animation_curve.h gfx::Vector2dF initial_value_; gfx 37 cc/animation/scroll_offset_animation_curve.h gfx::Vector2dF target_value_; gfx 15 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF target_value(100.f, 200.f); gfx 25 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(136.f, 200.f)); gfx 29 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(19.f, 200.f)); gfx 33 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(100.f, 344.f)); gfx 37 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(100.f, 191.f)); gfx 41 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(32500.f, 500.f)); gfx 45 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(150.f, 119.f)); gfx 49 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(0.f, 14600.f)); gfx 53 cc/animation/scroll_offset_animation_curve_unittest.cc curve->SetInitialValue(gfx::Vector2dF(95.f, 191.f)); gfx 58 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF initial_value(2.f, 40.f); gfx 59 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF target_value(10.f, 20.f); gfx 75 cc/animation/scroll_offset_animation_curve_unittest.cc EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(6.f, 30.f), curve->GetValue(duration/2.0)); gfx 80 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF value = curve->GetValue(duration/4.0); gfx 87 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF initial_value(2.f, 40.f); gfx 88 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF target_value(10.f, 20.f); gfx 106 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF(6.f, 30.f), gfx 116 cc/animation/scroll_offset_animation_curve_unittest.cc gfx::Vector2dF value = gfx 43 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc clip_layer_->SetBounds(gfx::Size(100, 100)); gfx 44 cc/animation/scrollbar_animation_controller_linear_fade_unittest.cc scroll_layer_ptr->SetBounds(gfx::Size(50, 50)); gfx 44 cc/animation/scrollbar_animation_controller_thinning_unittest.cc clip_layer_->SetBounds(gfx::Size(100, 100)); gfx 45 cc/animation/scrollbar_animation_controller_thinning_unittest.cc scroll_layer_ptr->SetBounds(gfx::Size(50, 50)); gfx 48 cc/animation/timing_function.h gfx::CubicBezier bezier_; gfx 97 cc/animation/transform_operation.cc gfx::Transform* result) { gfx 128 cc/animation/transform_operation.cc result->RotateAbout(gfx::Vector3dF(axis_x, axis_y, axis_z), gfx 131 cc/animation/transform_operation.cc gfx::Transform to_matrix; gfx 134 cc/animation/transform_operation.cc gfx::Transform from_matrix; gfx 184 cc/animation/transform_operation.cc gfx::Transform to_matrix; gfx 187 cc/animation/transform_operation.cc gfx::Transform from_matrix; gfx 231 cc/animation/transform_operation.cc static void BoundingBoxForArc(const gfx::Point3F& point, gfx 236 cc/animation/transform_operation.cc gfx::BoxF* box) { gfx 238 cc/animation/transform_operation.cc gfx::Vector3dF axis(exemplar->rotate.axis.x, gfx 262 cc/animation/transform_operation.cc gfx::Vector3dF other_axis( gfx 264 cc/animation/transform_operation.cc if (gfx::DotProduct(axis, other_axis) < 0.f) gfx 275 cc/animation/transform_operation.cc gfx::Transform from_transform; gfx 277 cc/animation/transform_operation.cc gfx::Transform to_transform; gfx 280 cc/animation/transform_operation.cc *box = gfx::BoxF(); gfx 282 cc/animation/transform_operation.cc gfx::Point3F point_rotated_from = point; gfx 284 cc/animation/transform_operation.cc gfx::Point3F point_rotated_to = point; gfx 300 cc/animation/transform_operation.cc gfx::Vector3dF normal = axis; gfx 304 cc/animation/transform_operation.cc gfx::Point3F origin; gfx 305 cc/animation/transform_operation.cc gfx::Vector3dF to_point = point - origin; gfx 306 cc/animation/transform_operation.cc gfx::Point3F center = gfx 307 cc/animation/transform_operation.cc origin + gfx::ScaleVector3d(normal, gfx::DotProduct(to_point, normal)); gfx 311 cc/animation/transform_operation.cc gfx::Vector3dF v1 = point - center; gfx 318 cc/animation/transform_operation.cc gfx::Vector3dF v2 = gfx::CrossProduct(normal, v1); gfx 322 cc/animation/transform_operation.cc gfx::Point3F px(1.f, 0.f, 0.f); gfx 323 cc/animation/transform_operation.cc gfx::Vector3dF to_px = px - center; gfx 324 cc/animation/transform_operation.cc gfx::Point3F px_projected = gfx 325 cc/animation/transform_operation.cc px - gfx::ScaleVector3d(normal, gfx::DotProduct(to_px, normal)); gfx 326 cc/animation/transform_operation.cc gfx::Vector3dF vx = px_projected - origin; gfx 328 cc/animation/transform_operation.cc gfx::Point3F pz(0.f, 0.f, 1.f); gfx 329 cc/animation/transform_operation.cc gfx::Vector3dF to_pz = pz - center; gfx 330 cc/animation/transform_operation.cc gfx::Point3F pz_projected = gfx 331 cc/animation/transform_operation.cc pz - ScaleVector3d(normal, gfx::DotProduct(to_pz, normal)); gfx 332 cc/animation/transform_operation.cc gfx::Vector3dF vz = pz_projected - origin; gfx 334 cc/animation/transform_operation.cc double phi_x = atan2(gfx::DotProduct(v2, vx), gfx::DotProduct(v1, vx)); gfx 335 cc/animation/transform_operation.cc double phi_z = atan2(gfx::DotProduct(v2, vz), gfx::DotProduct(v1, vz)); gfx 357 cc/animation/transform_operation.cc gfx::Transform rotation; gfx 359 cc/animation/transform_operation.cc gfx::Point3F rotated = point; gfx 366 cc/animation/transform_operation.cc bool TransformOperation::BlendedBoundsForBox(const gfx::BoxF& box, gfx 371 cc/animation/transform_operation.cc gfx::BoxF* bounds) { gfx 394 cc/animation/transform_operation.cc gfx::Transform from_transform; gfx 395 cc/animation/transform_operation.cc gfx::Transform to_transform; gfx 403 cc/animation/transform_operation.cc gfx::BoxF to_box = box; gfx 419 cc/animation/transform_operation.cc gfx::Point3F corner = box.origin(); gfx 420 cc/animation/transform_operation.cc corner += gfx::Vector3dF(i & 1 ? box.width() : 0.f, gfx 423 cc/animation/transform_operation.cc gfx::BoxF box_for_arc; gfx 10 cc/animation/transform_operation.h namespace gfx { gfx 32 cc/animation/transform_operation.h gfx::Transform matrix; gfx 62 cc/animation/transform_operation.h gfx::Transform* result); gfx 64 cc/animation/transform_operation.h static bool BlendedBoundsForBox(const gfx::BoxF& box, gfx 69 cc/animation/transform_operation.h gfx::BoxF* bounds); gfx 25 cc/animation/transform_operations.cc new gfx::DecomposedTransform(*other.decomposed_transform_.get())); gfx 32 cc/animation/transform_operations.cc gfx::Transform TransformOperations::Apply() const { gfx 33 cc/animation/transform_operations.cc gfx::Transform to_return; gfx 39 cc/animation/transform_operations.cc gfx::Transform TransformOperations::Blend(const TransformOperations& from, gfx 41 cc/animation/transform_operations.cc gfx::Transform to_return; gfx 46 cc/animation/transform_operations.cc bool TransformOperations::BlendedBoundsForBox(const gfx::BoxF& box, gfx 50 cc/animation/transform_operations.cc gfx::BoxF* bounds) const { gfx 65 cc/animation/transform_operations.cc gfx::BoxF bounds_for_operation; gfx 120 cc/animation/transform_operations.cc gfx::Vector3dF from_scale; gfx 121 cc/animation/transform_operations.cc gfx::Vector3dF to_scale; gfx 126 cc/animation/transform_operations.cc gfx::Vector3dF scale_at_min_progress( gfx 127 cc/animation/transform_operations.cc std::abs(gfx::Tween::FloatValueBetween( gfx 129 cc/animation/transform_operations.cc std::abs(gfx::Tween::FloatValueBetween( gfx 131 cc/animation/transform_operations.cc std::abs(gfx::Tween::FloatValueBetween( gfx 133 cc/animation/transform_operations.cc gfx::Vector3dF scale_at_max_progress( gfx 134 cc/animation/transform_operations.cc std::abs(gfx::Tween::FloatValueBetween( gfx 136 cc/animation/transform_operations.cc std::abs(gfx::Tween::FloatValueBetween( gfx 138 cc/animation/transform_operations.cc std::abs(gfx::Tween::FloatValueBetween( gfx 141 cc/animation/transform_operations.cc gfx::Vector3dF max_scale_3d = scale_at_min_progress; gfx 148 cc/animation/transform_operations.cc bool TransformOperations::ScaleComponent(gfx::Vector3dF* scale) const { gfx 149 cc/animation/transform_operations.cc *scale = gfx::Vector3dF(1.f, 1.f, 1.f); gfx 195 cc/animation/transform_operations.cc gfx::Transform dummy; gfx 217 cc/animation/transform_operations.cc to_add.matrix.RotateAbout(gfx::Vector3dF(x, y, z), degrees); gfx 258 cc/animation/transform_operations.cc void TransformOperations::AppendMatrix(const gfx::Transform& matrix) { gfx 280 cc/animation/transform_operations.cc gfx::Transform* result) const { gfx 291 cc/animation/transform_operations.cc gfx::Transform blended; gfx 306 cc/animation/transform_operations.cc gfx::DecomposedTransform to_return; gfx 307 cc/animation/transform_operations.cc if (!gfx::BlendDecomposedTransforms(&to_return, gfx 320 cc/animation/transform_operations.cc decomposed_transform_.reset(new gfx::DecomposedTransform()); gfx 321 cc/animation/transform_operations.cc gfx::Transform transform = Apply(); gfx 322 cc/animation/transform_operations.cc if (!gfx::DecomposeTransform(decomposed_transform_.get(), transform)) gfx 15 cc/animation/transform_operations.h namespace gfx { gfx 38 cc/animation/transform_operations.h gfx::Transform Apply() const; gfx 47 cc/animation/transform_operations.h gfx::Transform Blend(const TransformOperations& from, gfx 54 cc/animation/transform_operations.h bool BlendedBoundsForBox(const gfx::BoxF& box, gfx 58 cc/animation/transform_operations.h gfx::BoxF* bounds) const; gfx 88 cc/animation/transform_operations.h void AppendMatrix(const gfx::Transform& matrix); gfx 95 cc/animation/transform_operations.h gfx::Transform* result) const; gfx 104 cc/animation/transform_operations.h bool ScaleComponent(gfx::Vector3dF* scale) const; gfx 107 cc/animation/transform_operations.h mutable scoped_ptr<gfx::DecomposedTransform> decomposed_transform_; gfx 133 cc/animation/transform_operations_unittest.cc to_add->AppendMatrix(gfx::Transform()); gfx 137 cc/animation/transform_operations_unittest.cc to_add->AppendMatrix(gfx::Transform()); gfx 138 cc/animation/transform_operations_unittest.cc to_add->AppendMatrix(gfx::Transform()); gfx 158 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 170 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 171 cc/animation/transform_operations_unittest.cc expected.RotateAbout(gfx::Vector3dF(x, y, z), degrees); gfx 181 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 191 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 201 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 210 cc/animation/transform_operations_unittest.cc gfx::Transform expected_matrix; gfx 230 cc/animation/transform_operations_unittest.cc gfx::Transform expected_scale_matrix; gfx 233 cc/animation/transform_operations_unittest.cc gfx::Transform expected_translate_matrix; gfx 236 cc/animation/transform_operations_unittest.cc gfx::Transform expected_combined_matrix = expected_scale_matrix; gfx 267 cc/animation/transform_operations_unittest.cc gfx::Transform scale_from; gfx 269 cc/animation/transform_operations_unittest.cc gfx::Transform translate_from; gfx 272 cc/animation/transform_operations_unittest.cc gfx::Transform scale_to; gfx 274 cc/animation/transform_operations_unittest.cc gfx::Transform translate_to; gfx 279 cc/animation/transform_operations_unittest.cc gfx::Transform blended_scale = scale_to; gfx 282 cc/animation/transform_operations_unittest.cc gfx::Transform blended_translate = translate_to; gfx 285 cc/animation/transform_operations_unittest.cc gfx::Transform expected = blended_scale; gfx 293 cc/animation/transform_operations_unittest.cc const gfx::Transform& from_matrix, gfx 294 cc/animation/transform_operations_unittest.cc const gfx::Transform& to_matrix, gfx 297 cc/animation/transform_operations_unittest.cc gfx::Transform expected_matrix = to_matrix; gfx 310 cc/animation/transform_operations_unittest.cc gfx::Transform matrix_from; gfx 319 cc/animation/transform_operations_unittest.cc gfx::Transform matrix_to; gfx 355 cc/animation/transform_operations_unittest.cc gfx::Transform from; gfx 359 cc/animation/transform_operations_unittest.cc gfx::Transform to; gfx 365 cc/animation/transform_operations_unittest.cc gfx::Transform expected = to; gfx 381 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 382 cc/animation/transform_operations_unittest.cc expected.RotateAbout(gfx::Vector3dF(0, 0, 1), 180); gfx 397 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 411 cc/animation/transform_operations_unittest.cc gfx::Transform matrix_from; gfx 412 cc/animation/transform_operations_unittest.cc matrix_from.RotateAbout(gfx::Vector3dF(0, 0, 1), 175); gfx 414 cc/animation/transform_operations_unittest.cc gfx::Transform matrix_to; gfx 415 cc/animation/transform_operations_unittest.cc matrix_to.RotateAbout(gfx::Vector3dF(0, 1, 0), 175); gfx 417 cc/animation/transform_operations_unittest.cc gfx::Transform expected = matrix_to; gfx 434 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 435 cc/animation/transform_operations_unittest.cc expected.RotateAbout(gfx::Vector3dF(0, 0, 1), 180); gfx 443 cc/animation/transform_operations_unittest.cc expected.RotateAbout(gfx::Vector3dF(0, 0, 1), -180); gfx 451 cc/animation/transform_operations_unittest.cc expected.RotateAbout(gfx::Vector3dF(0, 0, 1), 540); gfx 468 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 502 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 536 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 573 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 591 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 592 cc/animation/transform_operations_unittest.cc expected.RotateAbout(gfx::Vector3dF(0, 0, 1), 180); gfx 609 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 627 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 645 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 664 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 679 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 693 cc/animation/transform_operations_unittest.cc gfx::Transform transform1; gfx 698 cc/animation/transform_operations_unittest.cc gfx::Transform transform2; gfx 703 cc/animation/transform_operations_unittest.cc gfx::Transform expected; gfx 721 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 1.f, 1.f); gfx 722 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 737 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 2.f, 3.f); gfx 738 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 754 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 2.f, 3.f, 4.f, 4.f, 4.f); gfx 755 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 761 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(2.f, -6.f, -1.f, 12.f, 20.f, 12.f).ToString(), gfx 768 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(4.f, -2.f, 1.f, 8.f, 12.f, 8.f).ToString(), gfx 774 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(1.f, 2.f, 1.f, 11.f, 8.f, 6.f).ToString(), gfx 779 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(1.f, -2.f, 3.f, 7.f, 8.f, 6.f).ToString(), gfx 789 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 2.f, 3.f, 4.f, 4.f, 4.f); gfx 790 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 796 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(1.f, -7.5f, -28.f, 44.f, 42.f, 56.f).ToString(), gfx 803 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(3.f, 1.f, -14.f, 32.f, 23.f, 28.f).ToString(), gfx 809 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(1.f, 2.f, -14.f, 34.f, 22.f, 21.f).ToString(), gfx 814 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(1.f, 1.f, 3.f, 14.f, 5.f, 11.f).ToString(), gfx 824 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 2.f, 3.f, 4.f, 4.f, 4.f); gfx 825 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 831 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(0.f, -24.f, 0.f, 10.f, 24.f, 35.f).ToString(), gfx 836 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(0.f, -24.f, 0.f, 10.f, 24.f, 35.f).ToString(), gfx 841 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF().ToString(), bounds.ToString()); gfx 851 cc/animation/transform_operations_unittest.cc gfx::BoxF box( gfx 853 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 864 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(-2.f, -2.f, 0.f, 4.f, 4.f, 0.f).ToString(), gfx 878 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 0.f, 0.f, 0.f, 0.f, 0.f); gfx 879 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 886 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(min, min, min, size, size, size).ToString(), gfx 903 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 0.f, 0.f, 0.f, 0.f, 0.f); gfx 904 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 922 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 1.f, 1.f, 0.f, 0.f, 0.f); gfx 923 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 937 cc/animation/transform_operations_unittest.cc gfx::BoxF expected; gfx 951 cc/animation/transform_operations_unittest.cc { 0.f, 0.f, 0.f, gfx::BoxF(1.f, 1.f, 1.f, 0.f, 0.f, 0.f) }, gfx 952 cc/animation/transform_operations_unittest.cc { 1.f, 0.f, 0.f, gfx::BoxF(1.f, -dim2, -dim2, 0.f, dim3, dim3) }, gfx 953 cc/animation/transform_operations_unittest.cc { 0.f, 1.f, 0.f, gfx::BoxF(-dim2, 1.f, -dim2, dim3, 0.f, dim3) }, gfx 954 cc/animation/transform_operations_unittest.cc { 0.f, 0.f, 1.f, gfx::BoxF(-dim2, -dim2, 1.f, dim3, dim3, 0.f) }, gfx 955 cc/animation/transform_operations_unittest.cc { 1.f, 1.f, 0.f, gfx::BoxF(dim1, dim1, -1.f, dim2, dim2, 2.f) }, gfx 956 cc/animation/transform_operations_unittest.cc { 0.f, 1.f, 1.f, gfx::BoxF(-1.f, dim1, dim1, 2.f, dim2, dim2) }, gfx 957 cc/animation/transform_operations_unittest.cc { 1.f, 0.f, 1.f, gfx::BoxF(dim1, -1.f, dim1, dim2, 2.f, dim2) } gfx 968 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 1.f, 1.f, 0.f, 0.f, 0.f); gfx 969 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 996 cc/animation/transform_operations_unittest.cc static void ExpectBoxesApproximatelyEqual(const gfx::BoxF& lhs, gfx 997 cc/animation/transform_operations_unittest.cc const gfx::BoxF& rhs, gfx 1012 cc/animation/transform_operations_unittest.cc gfx::BoxF box(200.f, 500.f, 100.f, 100.f, 300.f, 200.f); gfx 1013 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 1018 cc/animation/transform_operations_unittest.cc gfx::BoxF empirical_bounds; gfx 1022 cc/animation/transform_operations_unittest.cc t = gfx::Tween::FloatValueBetween(t, min_progress, max_progress); gfx 1023 cc/animation/transform_operations_unittest.cc gfx::Transform partial_transform = to.Blend(from, t); gfx 1024 cc/animation/transform_operations_unittest.cc gfx::BoxF transformed = box; gfx 1036 cc/animation/transform_operations_unittest.cc gfx::BoxF unified_bounds = bounds; gfx 1039 cc/animation/transform_operations_unittest.cc gfx::Rect bounds_rect = ToEnclosingRect( gfx 1040 cc/animation/transform_operations_unittest.cc gfx::RectF(bounds.x(), bounds.y(), bounds.width(), bounds.height())); gfx 1041 cc/animation/transform_operations_unittest.cc gfx::Rect unified_bounds_rect = gfx 1042 cc/animation/transform_operations_unittest.cc ToEnclosingRect(gfx::RectF(unified_bounds.x(), gfx 1139 cc/animation/transform_operations_unittest.cc gfx::Transform from_transform; gfx 1142 cc/animation/transform_operations_unittest.cc gfx::Transform to_transform; gfx 1149 cc/animation/transform_operations_unittest.cc gfx::Transform blended_matrix = to_transform; gfx 1152 cc/animation/transform_operations_unittest.cc gfx::Transform blended_transform = gfx 1232 cc/animation/transform_operations_unittest.cc gfx::BoxF box(1.f, 2.f, 3.f, 4.f, 4.f, 4.f); gfx 1233 cc/animation/transform_operations_unittest.cc gfx::BoxF bounds; gfx 1239 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(-57.f, -59.f, -1.f, 76.f, 112.f, 80.f).ToString(), gfx 1246 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(-32.f, -25.f, 7.f, 42.f, 44.f, 48.f).ToString(), gfx 1252 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(-33.f, -13.f, 3.f, 57.f, 19.f, 52.f).ToString(), gfx 1257 cc/animation/transform_operations_unittest.cc EXPECT_EQ(gfx::BoxF(-7.f, -3.f, 2.f, 15.f, 23.f, 20.f).ToString(), gfx 1290 cc/animation/transform_operations_unittest.cc identity_matrix.AppendMatrix(gfx::Transform()); gfx 1294 cc/animation/transform_operations_unittest.cc gfx::Transform translation_transform; gfx 1300 cc/animation/transform_operations_unittest.cc gfx::Transform scaling_transform; gfx 1349 cc/animation/transform_operations_unittest.cc identity_matrix.AppendMatrix(gfx::Transform()); gfx 1353 cc/animation/transform_operations_unittest.cc gfx::Transform translation_transform; gfx 1359 cc/animation/transform_operations_unittest.cc gfx::Transform scaling_transform; gfx 1375 cc/animation/transform_operations_unittest.cc gfx::Transform translation_transform; gfx 1419 cc/animation/transform_operations_unittest.cc gfx::Transform translation_transform; gfx 1465 cc/animation/transform_operations_unittest.cc gfx::Transform scaling_transform; gfx 1470 cc/animation/transform_operations_unittest.cc gfx::Transform translation_transform; gfx 17 cc/base/float_quad_unittest.cc gfx::Transform rectilinear_trans[kNumRectilinear]; gfx 28 cc/base/float_quad_unittest.cc gfx::QuadF original( gfx 29 cc/base/float_quad_unittest.cc gfx::RectF(0.01010101f, 0.01010101f, 100.01010101f, 100.01010101f)); gfx 33 cc/base/float_quad_unittest.cc gfx::QuadF quad = gfx 40 cc/base/float_quad_unittest.cc gfx::Transform non_rectilinear_trans[kNumNonRectilinear]; gfx 54 cc/base/float_quad_unittest.cc gfx::QuadF quad = gfx 29 cc/base/invalidation_region.cc void InvalidationRegion::Union(const gfx::Rect& rect) { gfx 24 cc/base/invalidation_region.h void Union(const gfx::Rect& rect); gfx 25 cc/base/math_util.cc const gfx::Transform& transform, gfx 26 cc/base/math_util.cc const gfx::PointF& p) { gfx 45 cc/base/math_util.cc const gfx::Transform& transform, gfx 46 cc/base/math_util.cc const gfx::Point3F& p) { gfx 90 cc/base/math_util.cc const gfx::PointF& p) { gfx 97 cc/base/math_util.cc static inline void AddVertexToClippedQuad(const gfx::PointF& new_vertex, gfx 98 cc/base/math_util.cc gfx::PointF clipped_quad[8], gfx 104 cc/base/math_util.cc gfx::Rect MathUtil::MapEnclosingClippedRect(const gfx::Transform& transform, gfx 105 cc/base/math_util.cc const gfx::Rect& src_rect) { gfx 108 cc/base/math_util.cc gfx::Vector2d( gfx 113 cc/base/math_util.cc return gfx::ToEnclosingRect(MapClippedRect(transform, gfx::RectF(src_rect))); gfx 116 cc/base/math_util.cc gfx::RectF MathUtil::MapClippedRect(const gfx::Transform& transform, gfx 117 cc/base/math_util.cc const gfx::RectF& src_rect) { gfx 120 cc/base/math_util.cc gfx::Vector2dF(SkMScalarToFloat(transform.matrix().get(0, 3)), gfx 146 cc/base/math_util.cc gfx::Rect MathUtil::ProjectEnclosingClippedRect(const gfx::Transform& transform, gfx 147 cc/base/math_util.cc const gfx::Rect& src_rect) { gfx 150 cc/base/math_util.cc gfx::Vector2d( gfx 155 cc/base/math_util.cc return gfx::ToEnclosingRect( gfx 156 cc/base/math_util.cc ProjectClippedRect(transform, gfx::RectF(src_rect))); gfx 159 cc/base/math_util.cc gfx::RectF MathUtil::ProjectClippedRect(const gfx::Transform& transform, gfx 160 cc/base/math_util.cc const gfx::RectF& src_rect) { gfx 163 cc/base/math_util.cc gfx::Vector2dF(SkMScalarToFloat(transform.matrix().get(0, 3)), gfx 168 cc/base/math_util.cc gfx::QuadF q = gfx::QuadF(src_rect); gfx 177 cc/base/math_util.cc void MathUtil::MapClippedQuad(const gfx::Transform& transform, gfx 178 cc/base/math_util.cc const gfx::QuadF& src_quad, gfx 179 cc/base/math_util.cc gfx::PointF clipped_quad[8], gfx 182 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p1())); gfx 184 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p2())); gfx 186 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p3())); gfx 188 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(src_quad.p4())); gfx 246 cc/base/math_util.cc gfx::RectF MathUtil::ComputeEnclosingRectOfVertices( gfx 247 cc/base/math_util.cc const gfx::PointF vertices[], gfx 250 cc/base/math_util.cc return gfx::RectF(); gfx 260 cc/base/math_util.cc return gfx::RectF(gfx::PointF(xmin, ymin), gfx 261 cc/base/math_util.cc gfx::SizeF(xmax - xmin, ymax - ymin)); gfx 264 cc/base/math_util.cc gfx::RectF MathUtil::ComputeEnclosingClippedRect( gfx 278 cc/base/math_util.cc gfx::QuadF mapped_quad = gfx::QuadF(h1.CartesianPoint2d(), gfx 288 cc/base/math_util.cc return gfx::RectF(); gfx 343 cc/base/math_util.cc return gfx::RectF(gfx::PointF(xmin, ymin), gfx 344 cc/base/math_util.cc gfx::SizeF(xmax - xmin, ymax - ymin)); gfx 347 cc/base/math_util.cc gfx::QuadF MathUtil::MapQuad(const gfx::Transform& transform, gfx 348 cc/base/math_util.cc const gfx::QuadF& q, gfx 351 cc/base/math_util.cc gfx::QuadF mapped_quad(q); gfx 353 cc/base/math_util.cc gfx::Vector2dF(SkMScalarToFloat(transform.matrix().get(0, 3)), gfx 360 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(q.p1())); gfx 362 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(q.p2())); gfx 364 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(q.p3())); gfx 366 cc/base/math_util.cc MapHomogeneousPoint(transform, gfx::Point3F(q.p4())); gfx 373 cc/base/math_util.cc return gfx::QuadF(h1.CartesianPoint2d(), gfx 379 cc/base/math_util.cc gfx::PointF MathUtil::MapPoint(const gfx::Transform& transform, gfx 380 cc/base/math_util.cc const gfx::PointF& p, gfx 382 cc/base/math_util.cc HomogeneousCoordinate h = MapHomogeneousPoint(transform, gfx::Point3F(p)); gfx 394 cc/base/math_util.cc return gfx::PointF(); gfx 403 cc/base/math_util.cc gfx::Point3F MathUtil::MapPoint(const gfx::Transform& transform, gfx 404 cc/base/math_util.cc const gfx::Point3F& p, gfx 418 cc/base/math_util.cc return gfx::Point3F(); gfx 427 cc/base/math_util.cc gfx::QuadF MathUtil::ProjectQuad(const gfx::Transform& transform, gfx 428 cc/base/math_util.cc const gfx::QuadF& q, gfx 430 cc/base/math_util.cc gfx::QuadF projected_quad; gfx 444 cc/base/math_util.cc gfx::PointF MathUtil::ProjectPoint(const gfx::Transform& transform, gfx 445 cc/base/math_util.cc const gfx::PointF& p, gfx 460 cc/base/math_util.cc return gfx::PointF(); gfx 469 cc/base/math_util.cc gfx::RectF MathUtil::ScaleRectProportional(const gfx::RectF& input_outer_rect, gfx 470 cc/base/math_util.cc const gfx::RectF& scale_outer_rect, gfx 471 cc/base/math_util.cc const gfx::RectF& scale_inner_rect) { gfx 472 cc/base/math_util.cc gfx::RectF output_inner_rect = input_outer_rect; gfx 478 cc/base/math_util.cc gfx::Vector2dF top_left_diff = gfx 480 cc/base/math_util.cc gfx::Vector2dF bottom_right_diff = gfx 501 cc/base/math_util.cc gfx::Vector2dF MathUtil::ComputeTransform2dScaleComponents( gfx 502 cc/base/math_util.cc const gfx::Transform& transform, gfx 505 cc/base/math_util.cc return gfx::Vector2dF(fallback_value, fallback_value); gfx 512 cc/base/math_util.cc return gfx::Vector2dF(x_scale, y_scale); gfx 515 cc/base/math_util.cc float MathUtil::SmallestAngleBetweenVectors(const gfx::Vector2dF& v1, gfx 516 cc/base/math_util.cc const gfx::Vector2dF& v2) { gfx 517 cc/base/math_util.cc double dot_product = gfx::DotProduct(v1, v2) / v1.Length() / v2.Length(); gfx 523 cc/base/math_util.cc gfx::Vector2dF MathUtil::ProjectVector(const gfx::Vector2dF& source, gfx 524 cc/base/math_util.cc const gfx::Vector2dF& destination) { gfx 526 cc/base/math_util.cc gfx::DotProduct(source, destination) / destination.LengthSquared(); gfx 527 cc/base/math_util.cc return gfx::Vector2dF(projected_length * destination.x(), gfx 531 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Size& s) { gfx 538 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::SizeF& s) { gfx 545 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Rect& r) { gfx 554 cc/base/math_util.cc bool MathUtil::FromValue(const base::Value* raw_value, gfx::Rect* out_rect) { gfx 571 cc/base/math_util.cc *out_rect = gfx::Rect(x, y, w, h); gfx 575 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::PointF& pt) { gfx 582 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Vector2d& v) { gfx 589 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::QuadF& q) { gfx 602 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::RectF& rect) { gfx 611 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Transform& transform) { gfx 621 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::BoxF& box) { gfx 22 cc/base/math_util.h namespace gfx { gfx 43 cc/base/math_util.h gfx::PointF CartesianPoint2d() const { gfx 45 cc/base/math_util.h return gfx::PointF(x(), y()); gfx 51 cc/base/math_util.h return gfx::PointF(x() * inv_w, y() * inv_w); gfx 54 cc/base/math_util.h gfx::Point3F CartesianPoint3d() const { gfx 56 cc/base/math_util.h return gfx::Point3F(x(), y(), z()); gfx 62 cc/base/math_util.h return gfx::Point3F(x() * inv_w, y() * inv_w, z() * inv_w); gfx 103 cc/base/math_util.h static gfx::Rect MapEnclosingClippedRect(const gfx::Transform& transform, gfx 104 cc/base/math_util.h const gfx::Rect& rect); gfx 105 cc/base/math_util.h static gfx::RectF MapClippedRect(const gfx::Transform& transform, gfx 106 cc/base/math_util.h const gfx::RectF& rect); gfx 107 cc/base/math_util.h static gfx::Rect ProjectEnclosingClippedRect(const gfx::Transform& transform, gfx 108 cc/base/math_util.h const gfx::Rect& rect); gfx 109 cc/base/math_util.h static gfx::RectF ProjectClippedRect(const gfx::Transform& transform, gfx 110 cc/base/math_util.h const gfx::RectF& rect); gfx 117 cc/base/math_util.h static void MapClippedQuad(const gfx::Transform& transform, gfx 118 cc/base/math_util.h const gfx::QuadF& src_quad, gfx 119 cc/base/math_util.h gfx::PointF clipped_quad[8], gfx 122 cc/base/math_util.h static gfx::RectF ComputeEnclosingRectOfVertices(const gfx::PointF vertices[], gfx 124 cc/base/math_util.h static gfx::RectF ComputeEnclosingClippedRect( gfx 132 cc/base/math_util.h static gfx::QuadF MapQuad(const gfx::Transform& transform, gfx 133 cc/base/math_util.h const gfx::QuadF& quad, gfx 135 cc/base/math_util.h static gfx::PointF MapPoint(const gfx::Transform& transform, gfx 136 cc/base/math_util.h const gfx::PointF& point, gfx 138 cc/base/math_util.h static gfx::Point3F MapPoint(const gfx::Transform&, gfx 139 cc/base/math_util.h const gfx::Point3F&, gfx 141 cc/base/math_util.h static gfx::QuadF ProjectQuad(const gfx::Transform& transform, gfx 142 cc/base/math_util.h const gfx::QuadF& quad, gfx 144 cc/base/math_util.h static gfx::PointF ProjectPoint(const gfx::Transform& transform, gfx 145 cc/base/math_util.h const gfx::PointF& point, gfx 148 cc/base/math_util.h static gfx::Vector2dF ComputeTransform2dScaleComponents(const gfx::Transform&, gfx 156 cc/base/math_util.h static gfx::RectF ScaleRectProportional(const gfx::RectF& input_outer_rect, gfx 157 cc/base/math_util.h const gfx::RectF& scale_outer_rect, gfx 158 cc/base/math_util.h const gfx::RectF& scale_inner_rect); gfx 162 cc/base/math_util.h static float SmallestAngleBetweenVectors(const gfx::Vector2dF& v1, gfx 163 cc/base/math_util.h const gfx::Vector2dF& v2); gfx 167 cc/base/math_util.h static gfx::Vector2dF ProjectVector(const gfx::Vector2dF& source, gfx 168 cc/base/math_util.h const gfx::Vector2dF& destination); gfx 171 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Size& s); gfx 172 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::SizeF& s); gfx 173 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Rect& r); gfx 174 cc/base/math_util.h static bool FromValue(const base::Value*, gfx::Rect* out_rect); gfx 175 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::PointF& q); gfx 176 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Vector2d& v); gfx 177 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::QuadF& q); gfx 178 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::RectF& rect); gfx 179 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Transform& transform); gfx 180 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::BoxF& box); gfx 23 cc/base/math_util_unittest.cc gfx::Transform transform; gfx 27 cc/base/math_util_unittest.cc gfx::RectF rect = gfx::RectF(0, 0, 1, 1); gfx 28 cc/base/math_util_unittest.cc gfx::RectF projected_rect = MathUtil::ProjectClippedRect(transform, rect); gfx 45 cc/base/math_util_unittest.cc gfx::RectF result = MathUtil::ComputeEnclosingClippedRect(h1, h2, h3, h4); gfx 50 cc/base/math_util_unittest.cc gfx::RectF(gfx::PointF(-100, -100), gfx::SizeF(90, 90)), result, 0.15f); gfx 54 cc/base/math_util_unittest.cc gfx::PointF vertices[3]; gfx 57 cc/base/math_util_unittest.cc vertices[0] = gfx::PointF(-10, -100); gfx 58 cc/base/math_util_unittest.cc vertices[1] = gfx::PointF(-100, -10); gfx 59 cc/base/math_util_unittest.cc vertices[2] = gfx::PointF(-30, -30); gfx 65 cc/base/math_util_unittest.cc gfx::RectF result = gfx 68 cc/base/math_util_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(gfx::PointF(-100, -100), gfx::SizeF(90, 90)), gfx 73 cc/base/math_util_unittest.cc gfx::Vector2dF x(1, 0); gfx 74 cc/base/math_util_unittest.cc gfx::Vector2dF y(0, 1); gfx 75 cc/base/math_util_unittest.cc gfx::Vector2dF test_vector(0.5, 0.5); gfx 99 cc/base/math_util_unittest.cc gfx::Vector2dF x(1, 0); gfx 100 cc/base/math_util_unittest.cc gfx::Vector2dF y(0, 1); gfx 101 cc/base/math_util_unittest.cc gfx::Vector2dF test_vector(0.3f, 0.7f); gfx 104 cc/base/math_util_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 0), MathUtil::ProjectVector(x, y)); gfx 105 cc/base/math_util_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 0), MathUtil::ProjectVector(y, x)); gfx 109 cc/base/math_util_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(test_vector.x(), 0), gfx 111 cc/base/math_util_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, test_vector.y()), gfx 116 cc/base/math_util_unittest.cc gfx::Vector2dF target_vector(0.5, 0.2f); gfx 117 cc/base/math_util_unittest.cc gfx::Vector2dF projected_vector = gfx 17 cc/base/region.cc Region::Region(const gfx::Rect& rect) gfx 18 cc/base/region.cc : skregion_(gfx::RectToSkIRect(rect)) { gfx 24 cc/base/region.cc const Region& Region::operator=(const gfx::Rect& rect) { gfx 25 cc/base/region.cc skregion_ = SkRegion(gfx::RectToSkIRect(rect)); gfx 50 cc/base/region.cc bool Region::Contains(const gfx::Point& point) const { gfx 54 cc/base/region.cc bool Region::Contains(const gfx::Rect& rect) const { gfx 57 cc/base/region.cc return skregion_.contains(gfx::RectToSkIRect(rect)); gfx 66 cc/base/region.cc bool Region::Intersects(const gfx::Rect& rect) const { gfx 67 cc/base/region.cc return skregion_.intersects(gfx::RectToSkIRect(rect)); gfx 74 cc/base/region.cc void Region::Subtract(const gfx::Rect& rect) { gfx 75 cc/base/region.cc skregion_.op(gfx::RectToSkIRect(rect), SkRegion::kDifference_Op); gfx 82 cc/base/region.cc void Region::Union(const gfx::Rect& rect) { gfx 83 cc/base/region.cc skregion_.op(gfx::RectToSkIRect(rect), SkRegion::kUnion_Op); gfx 90 cc/base/region.cc void Region::Intersect(const gfx::Rect& rect) { gfx 91 cc/base/region.cc skregion_.op(gfx::RectToSkIRect(rect), SkRegion::kIntersect_Op); gfx 100 cc/base/region.cc return gfx::Rect().ToString(); gfx 114 cc/base/region.cc gfx::Rect rect(it.rect()); gfx 27 cc/base/region.h Region(const gfx::Rect& rect); // NOLINT(runtime/explicit) gfx 30 cc/base/region.h const Region& operator=(const gfx::Rect& rect); gfx 38 cc/base/region.h bool Contains(const gfx::Point& point) const; gfx 39 cc/base/region.h bool Contains(const gfx::Rect& rect) const; gfx 42 cc/base/region.h bool Intersects(const gfx::Rect& rect) const; gfx 45 cc/base/region.h void Subtract(const gfx::Rect& rect); gfx 47 cc/base/region.h void Union(const gfx::Rect& rect); gfx 49 cc/base/region.h void Intersect(const gfx::Rect& rect); gfx 56 cc/base/region.h gfx::Rect bounds() const { gfx 57 cc/base/region.h return gfx::SkIRectToRect(skregion_.getBounds()); gfx 69 cc/base/region.h gfx::Rect rect() const { gfx 70 cc/base/region.h return gfx::SkIRectToRect(it_.rect()); gfx 103 cc/base/region.h inline Region SubtractRegions(const Region& a, const gfx::Rect& b) { gfx 115 cc/base/region.h inline Region IntersectRegions(const Region& a, const gfx::Rect& b) { gfx 127 cc/base/region.h inline Region UnionRegions(const Region& a, const gfx::Rect& b) { gfx 13 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x, y))); \ gfx 14 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x + w - 1, y))); \ gfx 15 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x, y + h - 1))); \ gfx 16 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x + w - 1, y + h - 1))); \ gfx 17 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x, y + h / 2))); \ gfx 18 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x + w - 1, y + h / 2))); \ gfx 19 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x + w / 2, y))); \ gfx 20 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x + w / 2, y + h - 1))); \ gfx 21 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(x + w / 2, y + h / 2))); \ gfx 24 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x - 1, y))); \ gfx 25 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x - 1, y + h - 1))); \ gfx 28 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x + w, y))); \ gfx 29 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x + w, y + h - 1))); \ gfx 32 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x, y - 1))); \ gfx 33 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x + w - 1, y - 1))); \ gfx 36 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x, y + h))); \ gfx 37 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(x + w - 1, y + h))); \ gfx 42 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(0, 0))); gfx 44 cc/base/region_unittest.cc r.Union(gfx::Rect(35, 35, 1, 1)); gfx 51 cc/base/region_unittest.cc r.Union(gfx::Rect(30, 30, 10, 10)); gfx 58 cc/base/region_unittest.cc r.Union(gfx::Rect(31, 40, 10, 10)); gfx 59 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(30, 40))); gfx 60 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(31, 40))); gfx 61 cc/base/region_unittest.cc EXPECT_FALSE(r.Contains(gfx::Point(40, 39))); gfx 62 cc/base/region_unittest.cc EXPECT_TRUE(r.Contains(gfx::Point(40, 40))); gfx 73 cc/base/region_unittest.cc r.Union(gfx::Rect(42, 40, 10, 10)); gfx 93 cc/base/region_unittest.cc r.Union(gfx::Rect(5, 0, 10, 10)); gfx 94 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 5, 10, 10)); gfx 95 cc/base/region_unittest.cc r.Subtract(gfx::Rect(7, 7, 10, 0)); gfx 122 cc/base/region_unittest.cc TEST_NO_INTERSECT(gfx::Rect(), gfx::Rect()); gfx 123 cc/base/region_unittest.cc TEST_NO_INTERSECT(gfx::Rect(), gfx::Rect(0, 0, 1, 1)); gfx 124 cc/base/region_unittest.cc TEST_NO_INTERSECT(gfx::Rect(), gfx::Rect(1, 1, 1, 1)); gfx 126 cc/base/region_unittest.cc TEST_NO_INTERSECT(gfx::Rect(-1, -1, 2, 2), gfx::Rect()); gfx 128 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 0, 1, 1)); gfx 129 cc/base/region_unittest.cc TEST_NO_INTERSECT(r, gfx::Rect()); gfx 130 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 0, 1, 1)); gfx 131 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 0, 2, 2)); gfx 132 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(-1, 0, 2, 2)); gfx 133 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(-1, -1, 2, 2)); gfx 134 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, -1, 2, 2)); gfx 135 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(-1, -1, 3, 3)); gfx 137 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 0, 3, 3)); gfx 138 cc/base/region_unittest.cc r.Union(gfx::Rect(10, 0, 3, 3)); gfx 139 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 10, 13, 3)); gfx 140 cc/base/region_unittest.cc TEST_NO_INTERSECT(r, gfx::Rect()); gfx 141 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(1, 1, 1, 1)); gfx 142 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 0, 2, 2)); gfx 143 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(1, 0, 2, 2)); gfx 144 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(1, 1, 2, 2)); gfx 145 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 1, 2, 2)); gfx 146 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 0, 3, 3)); gfx 147 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(-1, -1, 2, 2)); gfx 148 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(2, -1, 2, 2)); gfx 149 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(2, 2, 2, 2)); gfx 150 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(-1, 2, 2, 2)); gfx 152 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(11, 1, 1, 1)); gfx 153 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(10, 0, 2, 2)); gfx 154 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(11, 0, 2, 2)); gfx 155 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(11, 1, 2, 2)); gfx 156 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(10, 1, 2, 2)); gfx 157 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(10, 0, 3, 3)); gfx 158 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(9, -1, 2, 2)); gfx 159 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(12, -1, 2, 2)); gfx 160 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(12, 2, 2, 2)); gfx 161 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(9, 2, 2, 2)); gfx 163 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, -1, 13, 5)); gfx 164 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(1, -1, 11, 5)); gfx 165 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(2, -1, 9, 5)); gfx 166 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(2, -1, 8, 5)); gfx 167 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(3, -1, 8, 5)); gfx 168 cc/base/region_unittest.cc TEST_NO_INTERSECT(r, gfx::Rect(3, -1, 7, 5)); gfx 170 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 1, 13, 1)); gfx 171 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(1, 1, 11, 1)); gfx 172 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(2, 1, 9, 1)); gfx 173 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(2, 1, 8, 1)); gfx 174 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(3, 1, 8, 1)); gfx 175 cc/base/region_unittest.cc TEST_NO_INTERSECT(r, gfx::Rect(3, 1, 7, 1)); gfx 177 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 0, 13, 13)); gfx 178 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 1, 13, 11)); gfx 179 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 2, 13, 9)); gfx 180 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 2, 13, 8)); gfx 181 cc/base/region_unittest.cc TEST_INTERSECT(r, gfx::Rect(0, 3, 13, 8)); gfx 182 cc/base/region_unittest.cc TEST_NO_INTERSECT(r, gfx::Rect(0, 3, 13, 7)); gfx 189 cc/base/region_unittest.cc r.Union(gfx::Rect(400, 300, 1, 800)); gfx 190 cc/base/region_unittest.cc r.Union(gfx::Rect(785, 585, 1, 1)); gfx 191 cc/base/region_unittest.cc r.Union(gfx::Rect(787, 585, 1, 1)); gfx 192 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 587, 16, 162)); gfx 193 cc/base/region_unittest.cc r.Union(gfx::Rect(26, 590, 300, 150)); gfx 194 cc/base/region_unittest.cc r.Union(gfx::Rect(196, 750, 1, 1)); gfx 195 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 766, 1, 1)); gfx 196 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 782, 1, 1)); gfx 197 cc/base/region_unittest.cc r.Union(gfx::Rect(745, 798, 1, 1)); gfx 198 cc/base/region_unittest.cc r.Union(gfx::Rect(795, 882, 10, 585)); gfx 199 cc/base/region_unittest.cc r.Union(gfx::Rect(100, 1499, 586, 1)); gfx 200 cc/base/region_unittest.cc r.Union(gfx::Rect(100, 1500, 585, 784)); gfx 204 cc/base/region_unittest.cc TEST_NO_INTERSECT(r, gfx::Rect(0, 2184, 1, 150)); gfx 224 cc/base/region_unittest.cc TEST_CONTAINS(gfx::Rect(), gfx::Rect()); gfx 225 cc/base/region_unittest.cc TEST_CONTAINS(gfx::Rect(0, 0, 1, 1), gfx::Rect()); gfx 226 cc/base/region_unittest.cc TEST_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect()); gfx 228 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(), gfx::Rect(0, 0, 1, 1)); gfx 229 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(), gfx::Rect(1, 1, 1, 1)); gfx 231 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(11, 10, 1, 1)); gfx 232 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(10, 11, 1, 1)); gfx 233 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(9, 10, 1, 1)); gfx 234 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(10, 9, 1, 1)); gfx 235 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(9, 9, 2, 2)); gfx 236 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(10, 9, 2, 2)); gfx 237 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(9, 10, 2, 2)); gfx 238 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(10, 10, 2, 2)); gfx 239 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 1, 1), gfx::Rect(9, 9, 3, 3)); gfx 243 cc/base/region_unittest.cc h_lines.Union(gfx::Rect(i, 10, 1, 10)); gfx 245 cc/base/region_unittest.cc TEST_CONTAINS(gfx::Rect(10, 10, 9, 10), h_lines); gfx 246 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 9, 9), h_lines); gfx 247 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 11, 9, 9), h_lines); gfx 248 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 8, 10), h_lines); gfx 249 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(11, 10, 8, 10), h_lines); gfx 253 cc/base/region_unittest.cc v_lines.Union(gfx::Rect(10, i, 10, 1)); gfx 255 cc/base/region_unittest.cc TEST_CONTAINS(gfx::Rect(10, 10, 10, 9), v_lines); gfx 256 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 9, 9), v_lines); gfx 257 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(11, 10, 9, 9), v_lines); gfx 258 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 10, 8), v_lines); gfx 259 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 11, 10, 8), v_lines); gfx 264 cc/base/region_unittest.cc grid.Union(gfx::Rect(i, j, 1, 1)); gfx 266 cc/base/region_unittest.cc TEST_CONTAINS(gfx::Rect(10, 10, 9, 9), grid); gfx 267 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 9, 8), grid); gfx 268 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 11, 9, 8), grid); gfx 269 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(10, 10, 8, 9), grid); gfx 270 cc/base/region_unittest.cc TEST_NO_CONTAINS(gfx::Rect(11, 10, 8, 9), grid); gfx 283 cc/base/region_unittest.cc TEST_CONTAINS(h_lines, gfx::Rect(i, 10, 1, 10)); gfx 286 cc/base/region_unittest.cc TEST_CONTAINS(v_lines, gfx::Rect(10, i, 10, 1)); gfx 290 cc/base/region_unittest.cc TEST_CONTAINS(grid, gfx::Rect(i, j, 1, 1)); gfx 293 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 40, 20)); gfx 294 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 20, 41, 20)); gfx 295 cc/base/region_unittest.cc TEST_CONTAINS(container, gfx::Rect(5, 5, 30, 30)); gfx 298 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 10, 10)); gfx 299 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 30, 10, 10)); gfx 300 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 30, 10, 10)); gfx 301 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 0, 10, 10)); gfx 302 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(5, 5, 30, 30)); gfx 305 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 10, 10)); gfx 306 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 30, 10, 10)); gfx 307 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 0, 10, 40)); gfx 308 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(5, 5, 30, 30)); gfx 311 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 0, 10, 10)); gfx 312 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 30, 10, 10)); gfx 313 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 10, 40)); gfx 314 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(5, 5, 30, 30)); gfx 317 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 10, 40)); gfx 318 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 0, 10, 40)); gfx 319 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(5, 5, 30, 30)); gfx 322 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 40, 40)); gfx 323 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(10, -1, 20, 10)); gfx 326 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 40, 40)); gfx 327 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(10, 31, 20, 10)); gfx 330 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 40, 20)); gfx 331 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 20, 41, 20)); gfx 332 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(-1, 10, 10, 20)); gfx 335 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 40, 20)); gfx 336 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 20, 41, 20)); gfx 337 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(31, 10, 10, 20)); gfx 340 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 40, 40)); gfx 341 cc/base/region_unittest.cc container.Subtract(gfx::Rect(0, 20, 60, 0)); gfx 342 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(31, 10, 10, 20)); gfx 345 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 0, 60, 20)); gfx 346 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 20, 10, 20)); gfx 347 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(0, 0, 10, 39)); gfx 348 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(0, 0, 10, 40)); gfx 349 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(0, 0, 10, 41)); gfx 350 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(29, 0, 10, 39)); gfx 351 cc/base/region_unittest.cc TEST_CONTAINS(container, gfx::Rect(30, 0, 10, 40)); gfx 352 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(31, 0, 10, 41)); gfx 353 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(49, 0, 10, 39)); gfx 354 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(50, 0, 10, 40)); gfx 355 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(51, 0, 10, 41)); gfx 358 cc/base/region_unittest.cc container.Union(gfx::Rect(30, 0, 10, 20)); gfx 359 cc/base/region_unittest.cc container.Union(gfx::Rect(0, 20, 60, 20)); gfx 360 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(0, 0, 10, 39)); gfx 361 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(0, 0, 10, 40)); gfx 362 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(0, 0, 10, 41)); gfx 363 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(29, 0, 10, 39)); gfx 364 cc/base/region_unittest.cc TEST_CONTAINS(container, gfx::Rect(30, 0, 10, 40)); gfx 365 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(31, 0, 10, 41)); gfx 366 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(49, 0, 10, 39)); gfx 367 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(50, 0, 10, 40)); gfx 368 cc/base/region_unittest.cc TEST_NO_CONTAINS(container, gfx::Rect(51, 0, 10, 41)); gfx 376 cc/base/region_unittest.cc r2 = r = gfx::Rect(0, 0, 50, 50); gfx 377 cc/base/region_unittest.cc r2.Union(gfx::Rect(20, 20, 10, 10)); gfx 381 cc/base/region_unittest.cc r = gfx::Rect(0, 0, 50, 50); gfx 382 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 0, 100, 100)); gfx 383 cc/base/region_unittest.cc EXPECT_EQ(Region(gfx::Rect(0, 0, 100, 100)), r); gfx 386 cc/base/region_unittest.cc r = gfx::Rect(0, 0, 50, 50); gfx 387 cc/base/region_unittest.cc r.Union(gfx::Rect(100, 0, 50, 50)); gfx 389 cc/base/region_unittest.cc r2.Union(gfx::Rect(20, 20, 10, 10)); gfx 393 cc/base/region_unittest.cc r = gfx::Rect(0, 0, 50, 50); gfx 394 cc/base/region_unittest.cc r.Union(gfx::Rect(100, 0, 50, 50)); gfx 395 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 0, 500, 500)); gfx 396 cc/base/region_unittest.cc EXPECT_EQ(Region(gfx::Rect(0, 0, 500, 500)), r); gfx 401 cc/base/region_unittest.cc EXPECT_TRUE(Region(gfx::Rect()).IsEmpty()); gfx 403 cc/base/region_unittest.cc EXPECT_TRUE(Region(gfx::Rect(10, 10, 10, 0)).IsEmpty()); gfx 404 cc/base/region_unittest.cc EXPECT_TRUE(Region(gfx::Rect(10, 10, 0, 10)).IsEmpty()); gfx 405 cc/base/region_unittest.cc EXPECT_TRUE(Region(gfx::Rect(-10, 10, 10, 0)).IsEmpty()); gfx 406 cc/base/region_unittest.cc EXPECT_TRUE(Region(gfx::Rect(-10, 10, 0, 10)).IsEmpty()); gfx 407 cc/base/region_unittest.cc EXPECT_FALSE(Region(gfx::Rect(-1, -1, 1, 1)).IsEmpty()); gfx 408 cc/base/region_unittest.cc EXPECT_FALSE(Region(gfx::Rect(0, 0, 1, 1)).IsEmpty()); gfx 409 cc/base/region_unittest.cc EXPECT_FALSE(Region(gfx::Rect(0, 0, 2, 2)).IsEmpty()); gfx 423 cc/base/region_unittest.cc r = gfx::Rect(0, 0, 50, 50); gfx 428 cc/base/region_unittest.cc r = gfx::Rect(0, 0, 50, 50); gfx 429 cc/base/region_unittest.cc r.Union(gfx::Rect(100, 0, 50, 50)); gfx 430 cc/base/region_unittest.cc r.Union(gfx::Rect(0, 0, 500, 500)); gfx 439 cc/base/region_unittest.cc r1 = gfx::Rect(0, 0, 50, 50); gfx 442 cc/base/region_unittest.cc EXPECT_EQ(r2.ToString(), Region(gfx::Rect(0, 0, 50, 50)).ToString()); gfx 444 cc/base/region_unittest.cc r1 = gfx::Rect(0, 0, 50, 50); gfx 445 cc/base/region_unittest.cc r1.Union(gfx::Rect(100, 0, 50, 50)); gfx 446 cc/base/region_unittest.cc r1.Union(gfx::Rect(0, 0, 500, 500)); gfx 449 cc/base/region_unittest.cc EXPECT_EQ(r1.ToString(), Region(gfx::Rect(0, 0, 50, 50)).ToString()); gfx 32 cc/base/tiling_data.cc const gfx::Size& max_texture_size, gfx 33 cc/base/tiling_data.cc const gfx::Size& total_size, gfx 42 cc/base/tiling_data.cc const gfx::Size& max_texture_size, gfx 43 cc/base/tiling_data.cc const gfx::Size& total_size, gfx 51 cc/base/tiling_data.cc void TilingData::SetTotalSize(const gfx::Size& total_size) { gfx 56 cc/base/tiling_data.cc void TilingData::SetMaxTextureSize(const gfx::Size& max_texture_size) { gfx 131 cc/base/tiling_data.cc gfx::Rect TilingData::TileBounds(int i, int j) const { gfx 167 cc/base/tiling_data.cc return gfx::Rect(x, y, width, height); gfx 170 cc/base/tiling_data.cc gfx::Rect TilingData::TileBoundsWithBorder(int i, int j) const { gfx 196 cc/base/tiling_data.cc return gfx::Rect(x, y, width, height); gfx 255 cc/base/tiling_data.cc gfx::Vector2d TilingData::TextureOffset(int x_index, int y_index) const { gfx 259 cc/base/tiling_data.cc return gfx::Vector2d(left, top); gfx 278 cc/base/tiling_data.cc const gfx::Rect& tiling_rect, gfx 286 cc/base/tiling_data.cc gfx::Rect rect(tiling_rect); gfx 287 cc/base/tiling_data.cc rect.Intersect(gfx::Rect(tiling_data_->total_size())); gfx 289 cc/base/tiling_data.cc gfx::Rect top_left_tile; gfx 328 cc/base/tiling_data.cc const gfx::Rect& consider_rect, gfx 329 cc/base/tiling_data.cc const gfx::Rect& ignore_rect) gfx 344 cc/base/tiling_data.cc gfx::Rect bounds(tiling_data_->total_size()); gfx 345 cc/base/tiling_data.cc gfx::Rect consider(consider_rect); gfx 346 cc/base/tiling_data.cc gfx::Rect ignore(ignore_rect); gfx 429 cc/base/tiling_data.cc const gfx::Rect& consider_rect, gfx 430 cc/base/tiling_data.cc const gfx::Rect& ignore_rect, gfx 431 cc/base/tiling_data.cc const gfx::Rect& center_rect) gfx 452 cc/base/tiling_data.cc gfx::Rect bounds(tiling_data_->total_size()); gfx 453 cc/base/tiling_data.cc gfx::Rect consider(consider_rect); gfx 454 cc/base/tiling_data.cc gfx::Rect ignore(ignore_rect); gfx 455 cc/base/tiling_data.cc gfx::Rect center(center_rect); gfx 16 cc/base/tiling_data.h namespace gfx { gfx 26 cc/base/tiling_data.h const gfx::Size& max_texture_size, gfx 27 cc/base/tiling_data.h const gfx::Size& total_size, gfx 30 cc/base/tiling_data.h const gfx::Size& max_texture_size, gfx 31 cc/base/tiling_data.h const gfx::Size& total_size, gfx 34 cc/base/tiling_data.h gfx::Size total_size() const { return total_size_; } gfx 35 cc/base/tiling_data.h void SetTotalSize(const gfx::Size& total_size); gfx 37 cc/base/tiling_data.h gfx::Size max_texture_size() const { return max_texture_size_; } gfx 38 cc/base/tiling_data.h void SetMaxTextureSize(const gfx::Size& max_texture_size); gfx 57 cc/base/tiling_data.h gfx::Rect TileBounds(int i, int j) const; gfx 58 cc/base/tiling_data.h gfx::Rect TileBoundsWithBorder(int i, int j) const; gfx 65 cc/base/tiling_data.h gfx::Vector2d TextureOffset(int x_index, int y_index) const; gfx 94 cc/base/tiling_data.h const gfx::Rect& tiling_rect, gfx 110 cc/base/tiling_data.h const gfx::Rect& consider_rect, gfx 111 cc/base/tiling_data.h const gfx::Rect& ignore_rect); gfx 137 cc/base/tiling_data.h const gfx::Rect& consider_rect, gfx 138 cc/base/tiling_data.h const gfx::Rect& ignore_rect, gfx 139 cc/base/tiling_data.h const gfx::Rect& center_rect); gfx 195 cc/base/tiling_data.h gfx::Size max_texture_size_; gfx 196 cc/base/tiling_data.h gfx::Size total_size_; gfx 17 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 18 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 32 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 33 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 41 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 42 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 50 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 51 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 59 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 60 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 68 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 69 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 77 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 78 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 86 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 87 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 95 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 96 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 104 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 105 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 113 cc/base/tiling_data_unittest.cc const gfx::Size& max_texture_size, gfx 114 cc/base/tiling_data_unittest.cc const gfx::Size& total_size, gfx 122 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(16, 16), false)); gfx 123 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(15, 15), true)); gfx 124 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(16, 16), true)); gfx 125 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(1, 16), false)); gfx 126 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(15, 15), gfx::Size(15, 15), true)); gfx 127 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(32, 16), gfx::Size(32, 16), false)); gfx 128 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(32, 16), gfx::Size(32, 16), true)); gfx 132 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 0), false)); gfx 133 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(4, 0), false)); gfx 134 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 4), false)); gfx 135 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(4, 0), false)); gfx 136 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(0, 4), false)); gfx 137 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(1, 1), false)); gfx 139 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(1, 1), gfx::Size(1, 1), false)); gfx 140 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(1, 1), gfx::Size(1, 2), false)); gfx 141 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(1, 1), gfx::Size(2, 1), false)); gfx 142 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 1), false)); gfx 143 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 2), false)); gfx 144 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 1), false)); gfx 145 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 2), false)); gfx 146 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(3, 3), false)); gfx 148 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(1, 4), false)); gfx 149 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(2, 4), false)); gfx 150 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(3, 4), false)); gfx 151 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(4, 4), false)); gfx 152 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(5, 4), false)); gfx 153 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(6, 4), false)); gfx 154 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(7, 4), false)); gfx 155 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(8, 4), false)); gfx 156 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(9, 4), false)); gfx 157 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(10, 4), false)); gfx 158 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(11, 4), false)); gfx 160 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(1, 5), false)); gfx 161 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(2, 5), false)); gfx 162 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(3, 5), false)); gfx 163 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(4, 5), false)); gfx 164 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(5, 5), false)); gfx 165 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(6, 5), false)); gfx 166 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(7, 5), false)); gfx 167 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(8, 5), false)); gfx 168 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(9, 5), false)); gfx 169 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(10, 5), false)); gfx 170 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(11, 5), false)); gfx 172 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(16, 16), false)); gfx 173 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(17, 17), gfx::Size(16, 16), false)); gfx 174 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(15, 15), gfx::Size(16, 16), false)); gfx 175 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(8, 8), gfx::Size(16, 16), false)); gfx 176 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, NumTiles(gfx::Size(8, 8), gfx::Size(17, 16), false)); gfx 178 cc/base/tiling_data_unittest.cc EXPECT_EQ(8, NumTiles(gfx::Size(5, 8), gfx::Size(17, 16), false)); gfx 182 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 0), true)); gfx 183 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(4, 0), true)); gfx 184 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 4), true)); gfx 185 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(4, 0), true)); gfx 186 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(0, 4), true)); gfx 187 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(1, 1), true)); gfx 189 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(1, 1), gfx::Size(1, 1), true)); gfx 190 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(1, 1), gfx::Size(1, 2), true)); gfx 191 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(1, 1), gfx::Size(2, 1), true)); gfx 192 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 1), true)); gfx 193 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 2), true)); gfx 194 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 1), true)); gfx 195 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 2), true)); gfx 197 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(1, 3), true)); gfx 198 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(2, 3), true)); gfx 199 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(3, 3), true)); gfx 200 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(3, 3), gfx::Size(4, 3), true)); gfx 201 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(3, 3), gfx::Size(5, 3), true)); gfx 202 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(3, 3), gfx::Size(6, 3), true)); gfx 203 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, NumTiles(gfx::Size(3, 3), gfx::Size(7, 3), true)); gfx 205 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(1, 4), true)); gfx 206 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(2, 4), true)); gfx 207 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(3, 4), true)); gfx 208 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(4, 4), true)); gfx 209 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(5, 4), true)); gfx 210 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(6, 4), true)); gfx 211 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(7, 4), true)); gfx 212 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(8, 4), true)); gfx 213 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(4, 4), gfx::Size(9, 4), true)); gfx 214 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(4, 4), gfx::Size(10, 4), true)); gfx 215 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, NumTiles(gfx::Size(4, 4), gfx::Size(11, 4), true)); gfx 217 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(1, 5), true)); gfx 218 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(2, 5), true)); gfx 219 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(3, 5), true)); gfx 220 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(4, 5), true)); gfx 221 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(5, 5), true)); gfx 222 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(6, 5), true)); gfx 223 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(7, 5), true)); gfx 224 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(8, 5), true)); gfx 225 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(9, 5), true)); gfx 226 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(10, 5), true)); gfx 227 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(11, 5), true)); gfx 229 cc/base/tiling_data_unittest.cc EXPECT_EQ(30, NumTiles(gfx::Size(8, 5), gfx::Size(16, 32), true)); gfx 233 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 0)); gfx 234 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 1)); gfx 235 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 2)); gfx 236 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 3)); gfx 237 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 4)); gfx 238 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 5)); gfx 239 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 6)); gfx 240 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 7)); gfx 241 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 8)); gfx 242 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 9)); gfx 243 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 10)); gfx 244 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 11)); gfx 246 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 0)); gfx 247 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 1)); gfx 248 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 2)); gfx 249 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 3)); gfx 250 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 4)); gfx 251 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 5)); gfx 252 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 6)); gfx 253 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 7)); gfx 254 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 8)); gfx 255 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 9)); gfx 256 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 10)); gfx 257 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, XIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 11)); gfx 259 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(1, 1), gfx::Size(1, 1), false, 0)); gfx 260 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 0)); gfx 261 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 1)); gfx 262 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 0)); gfx 263 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 1)); gfx 264 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 2)); gfx 266 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 0)); gfx 267 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 1)); gfx 268 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 2)); gfx 269 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 3)); gfx 271 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(1, 1), gfx::Size(1, 1), true, 0)); gfx 272 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 0)); gfx 273 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 1)); gfx 274 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 0)); gfx 275 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 1)); gfx 276 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 2)); gfx 278 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 0)); gfx 279 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 1)); gfx 280 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 2)); gfx 281 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, XIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 3)); gfx 285 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 0)); gfx 286 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 1)); gfx 287 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 2)); gfx 288 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 3)); gfx 289 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 4)); gfx 290 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 5)); gfx 291 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 6)); gfx 292 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 7)); gfx 293 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 8)); gfx 294 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 9)); gfx 295 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 10)); gfx 296 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 11)); gfx 298 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 0)); gfx 299 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 1)); gfx 300 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 2)); gfx 301 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 3)); gfx 302 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 4)); gfx 303 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 5)); gfx 304 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 6)); gfx 305 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 7)); gfx 306 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 8)); gfx 307 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 9)); gfx 308 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 10)); gfx 309 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 11)); gfx 311 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(1, 1), gfx::Size(1, 1), false, 0)); gfx 312 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 0)); gfx 313 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 1)); gfx 314 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 0)); gfx 315 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 1)); gfx 316 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 2)); gfx 318 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 0)); gfx 319 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 1)); gfx 320 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 2)); gfx 321 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 3)); gfx 323 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(1, 1), gfx::Size(1, 1), true, 0)); gfx 324 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 0)); gfx 325 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 1)); gfx 326 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 0)); gfx 327 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 1)); gfx 328 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 2)); gfx 330 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 0)); gfx 331 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 1)); gfx 332 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 2)); gfx 333 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 3)); gfx 337 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 0)); gfx 338 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 1)); gfx 339 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 2)); gfx 340 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 3)); gfx 341 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 4)); gfx 342 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 5)); gfx 343 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 6)); gfx 344 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 7)); gfx 345 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 8)); gfx 346 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 9)); gfx 347 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 10)); gfx 348 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 11)); gfx 350 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 0)); gfx 351 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 1)); gfx 352 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 2)); gfx 353 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 3)); gfx 354 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 4)); gfx 355 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 5)); gfx 356 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 6)); gfx 357 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 7)); gfx 358 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 8)); gfx 359 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 9)); gfx 360 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 10)); gfx 361 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 11)); gfx 363 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(1, 1), gfx::Size(1, 1), false, 0)); gfx 364 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 0)); gfx 365 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 1)); gfx 366 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 0)); gfx 367 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 1)); gfx 368 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 2)); gfx 370 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 0)); gfx 371 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 1)); gfx 372 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 2)); gfx 373 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), false, 3)); gfx 375 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(1, 1), gfx::Size(1, 1), true, 0)); gfx 376 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 0)); gfx 377 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 1)); gfx 378 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 0)); gfx 379 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 1)); gfx 380 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 2)); gfx 382 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 0)); gfx 383 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 1)); gfx 384 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 2)); gfx 385 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderXIndex(gfx::Size(3, 3), gfx::Size(4, 3), true, 3)); gfx 389 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 0)); gfx 390 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 1)); gfx 391 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 2)); gfx 392 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 3)); gfx 393 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 4)); gfx 394 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 5)); gfx 395 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 6)); gfx 396 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 7)); gfx 397 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 8)); gfx 398 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 9)); gfx 399 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 10)); gfx 400 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 11)); gfx 402 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 0)); gfx 403 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 1)); gfx 404 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 2)); gfx 405 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 3)); gfx 406 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 4)); gfx 407 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 5)); gfx 408 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 6)); gfx 409 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 7)); gfx 410 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 8)); gfx 411 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 9)); gfx 412 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 10)); gfx 413 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, YIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 11)); gfx 415 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(1, 1), gfx::Size(1, 1), false, 0)); gfx 416 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 0)); gfx 417 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 1)); gfx 418 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 0)); gfx 419 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 1)); gfx 420 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 2)); gfx 422 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 0)); gfx 423 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 1)); gfx 424 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 2)); gfx 425 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 3)); gfx 427 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(1, 1), gfx::Size(1, 1), true, 0)); gfx 428 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 0)); gfx 429 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 1)); gfx 430 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 0)); gfx 431 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 1)); gfx 432 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 2)); gfx 434 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 0)); gfx 435 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 1)); gfx 436 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 2)); gfx 437 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, YIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 3)); gfx 441 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 0)); gfx 442 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 1)); gfx 443 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 2)); gfx 444 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 3)); gfx 445 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 4)); gfx 446 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 5)); gfx 447 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 6)); gfx 448 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 7)); gfx 449 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 8)); gfx 450 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 9)); gfx 451 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 10)); gfx 452 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 11)); gfx 454 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 0)); gfx 455 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 1)); gfx 456 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 2)); gfx 457 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 3)); gfx 458 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 4)); gfx 459 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 5)); gfx 460 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 6)); gfx 461 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 7)); gfx 462 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 8)); gfx 463 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 9)); gfx 464 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 10)); gfx 465 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 11)); gfx 467 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(1, 1), gfx::Size(1, 1), false, 0)); gfx 468 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 0)); gfx 469 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 1)); gfx 470 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 0)); gfx 471 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 1)); gfx 472 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 2)); gfx 474 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 0)); gfx 475 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 1)); gfx 476 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 2)); gfx 477 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 3)); gfx 479 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(1, 1), gfx::Size(1, 1), true, 0)); gfx 480 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 0)); gfx 481 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 1)); gfx 482 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 0)); gfx 483 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 1)); gfx 484 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 2)); gfx 486 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 0)); gfx 487 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 1)); gfx 488 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 2)); gfx 489 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MinBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 3)); gfx 493 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 0)); gfx 494 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 1)); gfx 495 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 2)); gfx 496 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 3)); gfx 497 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 4)); gfx 498 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 5)); gfx 499 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 6)); gfx 500 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 7)); gfx 501 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 8)); gfx 502 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 9)); gfx 503 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 10)); gfx 504 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), false, 11)); gfx 506 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 0)); gfx 507 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 1)); gfx 508 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 2)); gfx 509 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 3)); gfx 510 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 4)); gfx 511 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 5)); gfx 512 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 6)); gfx 513 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 7)); gfx 514 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 8)); gfx 515 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 9)); gfx 516 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 10)); gfx 517 cc/base/tiling_data_unittest.cc EXPECT_EQ(7, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(10, 10), true, 11)); gfx 519 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(1, 1), gfx::Size(1, 1), false, 0)); gfx 520 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 0)); gfx 521 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), false, 1)); gfx 522 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 0)); gfx 523 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 1)); gfx 524 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), false, 2)); gfx 526 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 0)); gfx 527 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 1)); gfx 528 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 2)); gfx 529 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), false, 3)); gfx 531 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(1, 1), gfx::Size(1, 1), true, 0)); gfx 532 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 0)); gfx 533 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(2, 2), gfx::Size(2, 2), true, 1)); gfx 534 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 0)); gfx 535 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 1)); gfx 536 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 3), true, 2)); gfx 538 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 0)); gfx 539 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 1)); gfx 540 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 2)); gfx 541 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, MaxBorderYIndex(gfx::Size(3, 3), gfx::Size(3, 4), true, 3)); gfx 545 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeX(gfx::Size(5, 5), gfx::Size(5, 5), false, 0)); gfx 546 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeX(gfx::Size(5, 5), gfx::Size(5, 5), true, 0)); gfx 548 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeX(gfx::Size(5, 5), gfx::Size(6, 6), false, 0)); gfx 549 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(5, 5), gfx::Size(6, 6), false, 1)); gfx 550 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeX(gfx::Size(5, 5), gfx::Size(6, 6), true, 0)); gfx 551 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeX(gfx::Size(5, 5), gfx::Size(6, 6), true, 1)); gfx 553 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeX(gfx::Size(5, 5), gfx::Size(8, 8), false, 0)); gfx 554 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(5, 5), gfx::Size(8, 8), false, 1)); gfx 555 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeX(gfx::Size(5, 5), gfx::Size(8, 8), true, 0)); gfx 556 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeX(gfx::Size(5, 5), gfx::Size(8, 8), true, 1)); gfx 558 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeX(gfx::Size(5, 5), gfx::Size(10, 10), false, 0)); gfx 559 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeX(gfx::Size(5, 5), gfx::Size(10, 10), false, 1)); gfx 560 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeX(gfx::Size(5, 5), gfx::Size(10, 10), true, 0)); gfx 561 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(5, 5), gfx::Size(10, 10), true, 1)); gfx 562 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(5, 5), gfx::Size(10, 10), true, 2)); gfx 564 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeX(gfx::Size(5, 5), gfx::Size(11, 11), true, 2)); gfx 565 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(5, 5), gfx::Size(12, 12), true, 2)); gfx 567 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(5, 9), gfx::Size(12, 17), true, 2)); gfx 571 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeY(gfx::Size(5, 5), gfx::Size(5, 5), false, 0)); gfx 572 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeY(gfx::Size(5, 5), gfx::Size(5, 5), true, 0)); gfx 574 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeY(gfx::Size(5, 5), gfx::Size(6, 6), false, 0)); gfx 575 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(5, 5), gfx::Size(6, 6), false, 1)); gfx 576 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeY(gfx::Size(5, 5), gfx::Size(6, 6), true, 0)); gfx 577 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeY(gfx::Size(5, 5), gfx::Size(6, 6), true, 1)); gfx 579 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeY(gfx::Size(5, 5), gfx::Size(8, 8), false, 0)); gfx 580 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(5, 5), gfx::Size(8, 8), false, 1)); gfx 581 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeY(gfx::Size(5, 5), gfx::Size(8, 8), true, 0)); gfx 582 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeY(gfx::Size(5, 5), gfx::Size(8, 8), true, 1)); gfx 584 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeY(gfx::Size(5, 5), gfx::Size(10, 10), false, 0)); gfx 585 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, SizeY(gfx::Size(5, 5), gfx::Size(10, 10), false, 1)); gfx 586 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeY(gfx::Size(5, 5), gfx::Size(10, 10), true, 0)); gfx 587 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(5, 5), gfx::Size(10, 10), true, 1)); gfx 588 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(5, 5), gfx::Size(10, 10), true, 2)); gfx 590 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, SizeY(gfx::Size(5, 5), gfx::Size(11, 11), true, 2)); gfx 591 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(5, 5), gfx::Size(12, 12), true, 2)); gfx 593 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(9, 5), gfx::Size(17, 12), true, 2)); gfx 598 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 3), gfx::Size(1, 1), false, 0)); gfx 599 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(1, 1), false, 0)); gfx 600 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 3), gfx::Size(1, 100), false, 0)); gfx 601 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(1, 100), false, 0)); gfx 602 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(3, 1), false, 0)); gfx 603 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(3, 1), false, 0)); gfx 604 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(3, 100), false, 0)); gfx 605 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(3, 100), false, 0)); gfx 606 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 3), gfx::Size(1, 1), true, 0)); gfx 607 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(1, 1), true, 0)); gfx 608 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 3), gfx::Size(1, 100), true, 0)); gfx 609 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(1, 100), true, 0)); gfx 610 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(3, 1), true, 0)); gfx 611 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(3, 1), true, 0)); gfx 612 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(3, 100), true, 0)); gfx 613 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(3, 100), true, 0)); gfx 618 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(3, 3), gfx::Size(6, 1), false)); gfx 619 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(6, 1), false, 0)); gfx 620 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(6, 1), false, 1)); gfx 621 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(6, 1), false, 0)); gfx 622 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosX(gfx::Size(3, 3), gfx::Size(6, 1), false, 1)); gfx 623 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(6, 100), false, 0)); gfx 624 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeX(gfx::Size(3, 3), gfx::Size(6, 100), false, 1)); gfx 625 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(6, 100), false, 0)); gfx 626 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosX(gfx::Size(3, 3), gfx::Size(6, 100), false, 1)); gfx 631 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(3, 3), gfx::Size(6, 1), true)); gfx 632 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeX(gfx::Size(3, 3), gfx::Size(6, 1), true, 0)); gfx 633 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 3), gfx::Size(6, 1), true, 1)); gfx 634 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 3), gfx::Size(6, 1), true, 2)); gfx 635 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeX(gfx::Size(3, 3), gfx::Size(6, 1), true, 3)); gfx 636 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 3), gfx::Size(6, 1), true, 0)); gfx 637 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, PosX(gfx::Size(3, 3), gfx::Size(6, 1), true, 1)); gfx 638 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosX(gfx::Size(3, 3), gfx::Size(6, 1), true, 2)); gfx 639 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, PosX(gfx::Size(3, 3), gfx::Size(6, 1), true, 3)); gfx 640 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeX(gfx::Size(3, 7), gfx::Size(6, 100), true, 0)); gfx 641 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 7), gfx::Size(6, 100), true, 1)); gfx 642 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeX(gfx::Size(3, 7), gfx::Size(6, 100), true, 2)); gfx 643 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeX(gfx::Size(3, 7), gfx::Size(6, 100), true, 3)); gfx 644 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosX(gfx::Size(3, 7), gfx::Size(6, 100), true, 0)); gfx 645 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, PosX(gfx::Size(3, 7), gfx::Size(6, 100), true, 1)); gfx 646 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosX(gfx::Size(3, 7), gfx::Size(6, 100), true, 2)); gfx 647 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, PosX(gfx::Size(3, 7), gfx::Size(6, 100), true, 3)); gfx 652 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(3, 3), gfx::Size(1, 1), false, 0)); gfx 653 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(1, 1), false, 0)); gfx 654 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(3, 3), gfx::Size(100, 1), false, 0)); gfx 655 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(100, 1), false, 0)); gfx 656 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(1, 3), false, 0)); gfx 657 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(1, 3), false, 0)); gfx 658 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(100, 3), false, 0)); gfx 659 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(100, 3), false, 0)); gfx 660 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(3, 3), gfx::Size(1, 1), true, 0)); gfx 661 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(1, 1), true, 0)); gfx 662 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(3, 3), gfx::Size(100, 1), true, 0)); gfx 663 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(100, 1), true, 0)); gfx 664 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(1, 3), true, 0)); gfx 665 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(1, 3), true, 0)); gfx 666 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(100, 3), true, 0)); gfx 667 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(100, 3), true, 0)); gfx 672 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(3, 3), gfx::Size(1, 6), false)); gfx 673 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(1, 6), false, 0)); gfx 674 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(1, 6), false, 1)); gfx 675 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(1, 6), false, 0)); gfx 676 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosY(gfx::Size(3, 3), gfx::Size(1, 6), false, 1)); gfx 677 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(100, 6), false, 0)); gfx 678 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, SizeY(gfx::Size(3, 3), gfx::Size(100, 6), false, 1)); gfx 679 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(100, 6), false, 0)); gfx 680 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosY(gfx::Size(3, 3), gfx::Size(100, 6), false, 1)); gfx 685 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(3, 3), gfx::Size(1, 6), true)); gfx 686 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeY(gfx::Size(3, 3), gfx::Size(1, 6), true, 0)); gfx 687 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(3, 3), gfx::Size(1, 6), true, 1)); gfx 688 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(3, 3), gfx::Size(1, 6), true, 2)); gfx 689 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeY(gfx::Size(3, 3), gfx::Size(1, 6), true, 3)); gfx 690 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(3, 3), gfx::Size(1, 6), true, 0)); gfx 691 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, PosY(gfx::Size(3, 3), gfx::Size(1, 6), true, 1)); gfx 692 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosY(gfx::Size(3, 3), gfx::Size(1, 6), true, 2)); gfx 693 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, PosY(gfx::Size(3, 3), gfx::Size(1, 6), true, 3)); gfx 694 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeY(gfx::Size(7, 3), gfx::Size(100, 6), true, 0)); gfx 695 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(7, 3), gfx::Size(100, 6), true, 1)); gfx 696 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, SizeY(gfx::Size(7, 3), gfx::Size(100, 6), true, 2)); gfx 697 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, SizeY(gfx::Size(7, 3), gfx::Size(100, 6), true, 3)); gfx 698 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, PosY(gfx::Size(7, 3), gfx::Size(100, 6), true, 0)); gfx 699 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, PosY(gfx::Size(7, 3), gfx::Size(100, 6), true, 1)); gfx 700 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, PosY(gfx::Size(7, 3), gfx::Size(100, 6), true, 2)); gfx 701 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, PosY(gfx::Size(7, 3), gfx::Size(100, 6), true, 3)); gfx 705 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(5, 5), gfx::Size(5, 5), false); gfx 713 cc/base/tiling_data_unittest.cc data.SetTotalSize(gfx::Size(6, 5)); gfx 722 cc/base/tiling_data_unittest.cc data.SetTotalSize(gfx::Size(5, 12)); gfx 734 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(8, 8), gfx::Size(16, 32), false); gfx 738 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(32, 32)); gfx 739 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(32, 32), data.max_texture_size()); gfx 743 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(2, 2)); gfx 744 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(2, 2), data.max_texture_size()); gfx 748 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(5, 5)); gfx 749 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(5, 5), data.max_texture_size()); gfx 753 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(8, 5)); gfx 754 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(8, 5), data.max_texture_size()); gfx 760 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(8, 8), gfx::Size(16, 32), true); gfx 764 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(32, 32)); gfx 765 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(32, 32), data.max_texture_size()); gfx 769 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(2, 2)); gfx 770 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(2, 2), data.max_texture_size()); gfx 774 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(5, 5)); gfx 775 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(5, 5), data.max_texture_size()); gfx 779 cc/base/tiling_data_unittest.cc data.SetMaxTextureSize(gfx::Size(8, 5)); gfx 780 cc/base/tiling_data_unittest.cc EXPECT_EQ(gfx::Size(8, 5), data.max_texture_size()); gfx 787 cc/base/tiling_data_unittest.cc TilingData source(gfx::Size(8, 8), gfx::Size(16, 32), true); gfx 797 cc/base/tiling_data_unittest.cc TilingData source(gfx::Size(7, 3), gfx::Size(6, 100), false); gfx 809 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(8, 8), gfx::Size(16, 32), false); gfx 827 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(100, 80), gfx::Size(200, 145), 30); gfx 843 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 70, 50), data.TileBounds(0, 0)); gfx 844 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(70, 50, 40, 20), data.TileBounds(1, 1)); gfx 845 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(110, 110, 40, 35), data.TileBounds(2, 4)); gfx 846 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(150, 70, 50, 20), data.TileBounds(3, 2)); gfx 847 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(150, 110, 50, 35), data.TileBounds(3, 4)); gfx 849 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 80), data.TileBoundsWithBorder(0, 0)); gfx 850 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(40, 20, 100, 80), data.TileBoundsWithBorder(1, 1)); gfx 851 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(80, 80, 100, 65), data.TileBoundsWithBorder(2, 4)); gfx 852 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(120, 40, 80, 80), data.TileBoundsWithBorder(3, 2)); gfx 853 cc/base/tiling_data_unittest.cc EXPECT_RECT_EQ(gfx::Rect(120, 80, 80, 65), data.TileBoundsWithBorder(3, 4)); gfx 917 cc/base/tiling_data_unittest.cc gfx::Rect rect, gfx 931 cc/base/tiling_data_unittest.cc gfx::Rect bounds; gfx 969 cc/base/tiling_data_unittest.cc for (TilingData::DifferenceIterator iter(&data, rect, gfx::Rect()); gfx 987 cc/base/tiling_data_unittest.cc gfx::Rect rect, gfx 1003 cc/base/tiling_data_unittest.cc gfx::Rect rect, gfx 1019 cc/base/tiling_data_unittest.cc gfx::Rect rect, gfx 1031 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 10), gfx::Size(40, 25), false); gfx 1034 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(0, 0, 40, 25), 0, 0, 3, 2); gfx 1035 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(15, 15, 8, 8), 1, 1, 2, 2); gfx 1038 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 3, 2); gfx 1039 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(-100, 20, 1000, 1), 0, 2, 3, 2); gfx 1040 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(29, -100, 31, 1000), 2, 0, 3, 2); gfx 1042 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(60, 80, 100, 100), 0, 0, -1, -1); gfx 1046 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 20), gfx::Size(25, 45), true); gfx 1049 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(0, 0, 25, 45), 0, 0, 2, 2); gfx 1050 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(18, 19, 3, 17), 2, 0, 2, 1); gfx 1051 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(10, 20, 6, 16), 1, 1, 1, 1); gfx 1052 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(9, 19, 8, 18), 0, 0, 2, 2); gfx 1054 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 2); gfx 1055 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, 20, 1000, 1), 0, 1, 2, 1); gfx 1056 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(18, -100, 6, 1000), 2, 0, 2, 2); gfx 1058 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(60, 80, 100, 100), 0, 0, -1, -1); gfx 1062 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 20), gfx::Size(25, 45), true); gfx 1065 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(0, 0, 25, 45), 0, 0, 2, 2); gfx 1066 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(17, 19, 3, 18), 2, 1, 2, 1); gfx 1067 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(17, 19, 3, 19), 2, 1, 2, 2); gfx 1068 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(8, 18, 9, 19), 0, 0, 1, 1); gfx 1069 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(9, 19, 9, 19), 1, 1, 2, 2); gfx 1071 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 2); gfx 1072 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, 20, 1000, 1), 0, 1, 2, 1); gfx 1073 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(18, -100, 6, 1000), 2, 0, 2, 2); gfx 1075 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(60, 80, 100, 100), 0, 0, -1, -1); gfx 1079 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(50, 60), gfx::Size(65, 110), 20); gfx 1082 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(0, 0, 65, 110), 0, 0, 2, 3); gfx 1083 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(50, 60, 15, 65), 1, 1, 2, 3); gfx 1084 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(60, 30, 2, 10), 2, 0, 2, 1); gfx 1086 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 3); gfx 1087 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(-100, 10, 1000, 10), 0, 0, 2, 0); gfx 1088 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(10, -100, 10, 1000), 0, 0, 1, 3); gfx 1090 cc/base/tiling_data_unittest.cc TestIterateBorders(data, gfx::Rect(65, 110, 100, 100), 0, 0, -1, -1); gfx 1094 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(50, 60), gfx::Size(65, 110), 20); gfx 1097 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(0, 0, 65, 110), 0, 0, 2, 3); gfx 1098 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(30, 40, 15, 65), 1, 1, 2, 3); gfx 1099 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(60, 20, 2, 21), 2, 0, 2, 1); gfx 1101 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, -100, 1000, 1000), 0, 0, 2, 3); gfx 1102 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(-100, 10, 1000, 10), 0, 0, 2, 0); gfx 1103 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(10, -100, 10, 1000), 0, 0, 0, 3); gfx 1105 cc/base/tiling_data_unittest.cc TestIterateNoBorders(data, gfx::Rect(65, 110, 100, 100), 0, 0, -1, -1); gfx 1109 cc/base/tiling_data_unittest.cc TilingData no_border(gfx::Size(1000, 1000), gfx::Size(30, 40), false); gfx 1110 cc/base/tiling_data_unittest.cc TestIterateAll(no_border, gfx::Rect(0, 0, 30, 40), 0, 0, 0, 0); gfx 1111 cc/base/tiling_data_unittest.cc TestIterateAll(no_border, gfx::Rect(10, 10, 20, 20), 0, 0, 0, 0); gfx 1112 cc/base/tiling_data_unittest.cc TestIterateAll(no_border, gfx::Rect(30, 40, 100, 100), 0, 0, -1, -1); gfx 1114 cc/base/tiling_data_unittest.cc TilingData one_border(gfx::Size(1000, 1000), gfx::Size(30, 40), true); gfx 1115 cc/base/tiling_data_unittest.cc TestIterateAll(one_border, gfx::Rect(0, 0, 30, 40), 0, 0, 0, 0); gfx 1116 cc/base/tiling_data_unittest.cc TestIterateAll(one_border, gfx::Rect(10, 10, 20, 20), 0, 0, 0, 0); gfx 1117 cc/base/tiling_data_unittest.cc TestIterateAll(one_border, gfx::Rect(30, 40, 100, 100), 0, 0, -1, -1); gfx 1119 cc/base/tiling_data_unittest.cc TilingData big_border(gfx::Size(1000, 1000), gfx::Size(30, 40), 50); gfx 1120 cc/base/tiling_data_unittest.cc TestIterateAll(big_border, gfx::Rect(0, 0, 30, 40), 0, 0, 0, 0); gfx 1121 cc/base/tiling_data_unittest.cc TestIterateAll(big_border, gfx::Rect(10, 10, 20, 20), 0, 0, 0, 0); gfx 1122 cc/base/tiling_data_unittest.cc TestIterateAll(big_border, gfx::Rect(30, 40, 100, 100), 0, 0, -1, -1); gfx 1126 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(100, 100), gfx::Size(), false); gfx 1127 cc/base/tiling_data_unittest.cc TestIterateAll(data, gfx::Rect(0, 0, 100, 100), 0, 0, -1, -1); gfx 1132 cc/base/tiling_data_unittest.cc gfx::Rect consider, gfx 1133 cc/base/tiling_data_unittest.cc gfx::Rect ignore, gfx 1139 cc/base/tiling_data_unittest.cc gfx::Rect bounds = data.TileBoundsWithBorder(x, y); gfx 1172 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(10, 10), gfx::Size(40, 25), false); gfx 1175 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 0, 40, 25), 0); gfx 1176 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(-100, -100, 200, 200), 0); gfx 1177 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(9, 9, 30, 15), 0); gfx 1178 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(15, 15, 8, 8), gfx::Rect(15, 15, 8, 8), 0); gfx 1181 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(-30, -20, 8, 8), 12); gfx 1182 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(), 12); gfx 1185 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 0, 20, 19), 8); gfx 1187 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(20, 15, 20, 6), 8); gfx 1189 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 15, 20, 6), 8); gfx 1191 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(20, 0, 20, 19), 8); gfx 1193 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(10, 10, 5, 5), 11); gfx 1196 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 0, 11, 25), 6); gfx 1198 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(11, 0, 11, 25), 6); gfx 1200 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(30, 0, 2, 25), 9); gfx 1203 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 5, 40, 5), 8); gfx 1205 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 13, 40, 5), 8); gfx 1207 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 40, 25), gfx::Rect(0, 13, 40, 12), 4); gfx 1210 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(8, 0, 32, 25), gfx::Rect(0, 12, 5, 12), 10); gfx 1213 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(5, 2, 20, 10), gfx::Rect(25, 15, 5, 10), 5); gfx 1219 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(50, 60), gfx::Size(65, 110), 20); gfx 1222 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 30, 55, 80), gfx::Rect(5, 30, 5, 15), 9); gfx 1225 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(10, 30, 55, 80), gfx::Rect(30, 59, 20, 1), 3); gfx 1228 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 65, 110), gfx::Rect(30, 59, 1, 2), 0); gfx 1232 cc/base/tiling_data_unittest.cc TilingData no_border(gfx::Size(1000, 1000), gfx::Size(30, 40), false); gfx 1233 cc/base/tiling_data_unittest.cc TestDiff(no_border, gfx::Rect(0, 0, 30, 40), gfx::Rect(), 1); gfx 1234 cc/base/tiling_data_unittest.cc TestDiff(no_border, gfx::Rect(5, 5, 100, 100), gfx::Rect(5, 5, 1, 1), 0); gfx 1236 cc/base/tiling_data_unittest.cc TilingData one_border(gfx::Size(1000, 1000), gfx::Size(30, 40), true); gfx 1237 cc/base/tiling_data_unittest.cc TestDiff(one_border, gfx::Rect(0, 0, 30, 40), gfx::Rect(), 1); gfx 1238 cc/base/tiling_data_unittest.cc TestDiff(one_border, gfx::Rect(5, 5, 100, 100), gfx::Rect(5, 5, 1, 1), 0); gfx 1240 cc/base/tiling_data_unittest.cc TilingData big_border(gfx::Size(1000, 1000), gfx::Size(30, 40), 50); gfx 1241 cc/base/tiling_data_unittest.cc TestDiff(big_border, gfx::Rect(0, 0, 30, 40), gfx::Rect(), 1); gfx 1242 cc/base/tiling_data_unittest.cc TestDiff(big_border, gfx::Rect(5, 5, 100, 100), gfx::Rect(5, 5, 1, 1), 0); gfx 1246 cc/base/tiling_data_unittest.cc TilingData data(gfx::Size(100, 100), gfx::Size(), false); gfx 1247 cc/base/tiling_data_unittest.cc TestDiff(data, gfx::Rect(0, 0, 100, 100), gfx::Rect(0, 0, 5, 5), 0); gfx 1252 cc/base/tiling_data_unittest.cc const gfx::Rect& consider, gfx 1253 cc/base/tiling_data_unittest.cc const gfx::Rect& ignore, gfx 1254 cc/base/tiling_data_unittest.cc const gfx::Rect& center, gfx 1275 cc/base/tiling_data_unittest.cc TilingData tiling_data(gfx::Size(10, 10), gfx::Size(30, 30), false); gfx 1276 cc/base/tiling_data_unittest.cc gfx::Rect consider(0, 0, 30, 30); gfx 1277 cc/base/tiling_data_unittest.cc gfx::Rect ignore; gfx 1281 cc/base/tiling_data_unittest.cc gfx::Rect center(15, 15, 1, 1); gfx 1301 cc/base/tiling_data_unittest.cc center = gfx::Rect(100, 15, 1, 1); gfx 1323 cc/base/tiling_data_unittest.cc center = gfx::Rect(25, 25, 1, 1); gfx 1344 cc/base/tiling_data_unittest.cc center = gfx::Rect(-60, -50, 1, 1); gfx 1366 cc/base/tiling_data_unittest.cc center = gfx::Rect(15, 15, 1, 10); gfx 1387 cc/base/tiling_data_unittest.cc TilingData tiling_data(gfx::Size(10, 10), gfx::Size(50, 50), false); gfx 1388 cc/base/tiling_data_unittest.cc gfx::Rect ignore; gfx 1390 cc/base/tiling_data_unittest.cc gfx::Rect center(15, 15, 1, 1); gfx 1393 cc/base/tiling_data_unittest.cc gfx::Rect consider(0, 0, 1, 1); gfx 1408 cc/base/tiling_data_unittest.cc consider = gfx::Rect(25, 25, 10, 10); gfx 1427 cc/base/tiling_data_unittest.cc consider = gfx::Rect(11, 0, 1, 100); gfx 1447 cc/base/tiling_data_unittest.cc TilingData tiling_data(gfx::Size(10, 10), gfx::Size(50, 50), false); gfx 1448 cc/base/tiling_data_unittest.cc gfx::Rect consider(0, 0, 50, 50); gfx 1450 cc/base/tiling_data_unittest.cc gfx::Rect center(15, 15, 1, 1); gfx 1453 cc/base/tiling_data_unittest.cc gfx::Rect ignore(0, 0, 50, 50); gfx 1468 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(15, 0, 20, 100); gfx 1494 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(0, 0, 50, 25); gfx 1521 cc/base/tiling_data_unittest.cc TilingData tiling_data(gfx::Size(10, 10), gfx::Size(50, 50), false); gfx 1522 cc/base/tiling_data_unittest.cc gfx::Rect consider(0, 0, 50, 50); gfx 1524 cc/base/tiling_data_unittest.cc gfx::Rect ignore; gfx 1527 cc/base/tiling_data_unittest.cc gfx::Rect center(25, 25, 1, 10); gfx 1566 cc/base/tiling_data_unittest.cc center = gfx::Rect(15, 25, 20, 10); gfx 1601 cc/base/tiling_data_unittest.cc center = gfx::Rect(-50, 0, 30, 50); gfx 1643 cc/base/tiling_data_unittest.cc TilingData tiling_data(gfx::Size(10, 10), gfx::Size(30, 30), false); gfx 1645 cc/base/tiling_data_unittest.cc gfx::Rect center; gfx 1646 cc/base/tiling_data_unittest.cc gfx::Rect consider; gfx 1647 cc/base/tiling_data_unittest.cc gfx::Rect ignore; gfx 1650 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(15, 0, 20, 30); gfx 1651 cc/base/tiling_data_unittest.cc consider = gfx::Rect(20, 10, 10, 20); gfx 1652 cc/base/tiling_data_unittest.cc center = gfx::Rect(25, 0, 5, 5); gfx 1665 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(); gfx 1666 cc/base/tiling_data_unittest.cc center = gfx::Rect(0, 15, 30, 15); gfx 1667 cc/base/tiling_data_unittest.cc consider = gfx::Rect(0, 0, 15, 30); gfx 1683 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(0, 0, 5, 30); gfx 1684 cc/base/tiling_data_unittest.cc consider = gfx::Rect(25, 0, 5, 30); gfx 1685 cc/base/tiling_data_unittest.cc center = gfx::Rect(15, 0, 1, 1); gfx 1702 cc/base/tiling_data_unittest.cc consider = gfx::Rect(0, 0, 30, 30); gfx 1703 cc/base/tiling_data_unittest.cc center = gfx::Rect(15, 0, 1, 30); gfx 1704 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(0, 15, 30, 1); gfx 1722 cc/base/tiling_data_unittest.cc consider = gfx::Rect(0, 0, 30, 30); gfx 1723 cc/base/tiling_data_unittest.cc center = gfx::Rect(15, 0, 1, 30); gfx 1744 cc/base/tiling_data_unittest.cc TilingData empty_data(gfx::Size(0, 0), gfx::Size(0, 0), false); gfx 1750 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(); gfx 1751 cc/base/tiling_data_unittest.cc center = gfx::Rect(1, 1, 1, 1); gfx 1752 cc/base/tiling_data_unittest.cc consider = gfx::Rect(); gfx 1759 cc/base/tiling_data_unittest.cc consider = gfx::Rect(0, 0, 30, 30); gfx 1760 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(); gfx 1761 cc/base/tiling_data_unittest.cc center = gfx::Rect(); gfx 1784 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(); gfx 1785 cc/base/tiling_data_unittest.cc center = gfx::Rect(); gfx 1786 cc/base/tiling_data_unittest.cc consider = gfx::Rect(); gfx 1792 cc/base/tiling_data_unittest.cc consider = gfx::Rect(0, 0, 30, 30); gfx 1793 cc/base/tiling_data_unittest.cc ignore = gfx::Rect(); gfx 1794 cc/base/tiling_data_unittest.cc center = gfx::Rect(-20, 0, 19, 30); gfx 31 cc/debug/debug_rect_history.cc const std::vector<gfx::Rect>& occluding_screen_space_rects, gfx 32 cc/debug/debug_rect_history.cc const std::vector<gfx::Rect>& non_occluding_screen_space_rects, gfx 83 cc/debug/debug_rect_history.cc gfx::RectF update_content_rect = gfx 84 cc/debug/debug_rect_history.cc gfx::ScaleRect(layer->update_rect(), width_scale, height_scale); gfx 123 cc/debug/debug_rect_history.cc gfx::Rect(layer->content_bounds())))); gfx 171 cc/debug/debug_rect_history.cc const std::vector<gfx::Rect>& occluding_rects) { gfx 177 cc/debug/debug_rect_history.cc const std::vector<gfx::Rect>& non_occluding_rects) { gfx 195 cc/debug/debug_rect_history.cc gfx::RectF touch_rect = gfx::ScaleRect(iter.rect(), gfx 216 cc/debug/debug_rect_history.cc gfx::RectF wheel_rect = gfx::RectF(layer->content_bounds()); gfx 235 cc/debug/debug_rect_history.cc gfx::RectF scroll_rect = gfx::RectF(layer->content_bounds()); gfx 253 cc/debug/debug_rect_history.cc gfx::RectF scroll_rect = gfx::ScaleRect(iter.rect(), gfx 275 cc/debug/debug_rect_history.cc gfx::BoxF inflated_bounds; gfx 280 cc/debug/debug_rect_history.cc gfx::RectF(inflated_bounds.x(), gfx 61 cc/debug/debug_rect_history.h DebugRect(DebugRectType new_type, const gfx::RectF& new_rect) gfx 65 cc/debug/debug_rect_history.h gfx::RectF rect; gfx 83 cc/debug/debug_rect_history.h const std::vector<gfx::Rect>& occluding_screen_space_rects, gfx 84 cc/debug/debug_rect_history.h const std::vector<gfx::Rect>& non_occluding_screen_space_rects, gfx 100 cc/debug/debug_rect_history.h const std::vector<gfx::Rect>& occluding_screen_space_rects); gfx 102 cc/debug/debug_rect_history.h const std::vector<gfx::Rect>& non_occluding_screen_space_rects); gfx 92 cc/debug/picture_record_benchmark.cc gfx::Size content_bounds = layer->content_bounds(); gfx 109 cc/debug/picture_record_benchmark.cc gfx::Rect rect = gfx::Rect(x, y, width, height); gfx 106 cc/debug/rasterize_and_record_benchmark.cc gfx::Size content_bounds = layer->content_bounds(); gfx 109 cc/debug/rasterize_and_record_benchmark.cc gfx::Size tile_grid_size = host_->settings().default_tile_size; gfx 114 cc/debug/rasterize_and_record_benchmark.cc gfx::Rect visible_content_rect = gfx::ScaleToEnclosingRect( gfx 34 cc/debug/rasterize_and_record_benchmark_impl.cc const gfx::Rect& content_rect, gfx 77 cc/debug/rasterize_and_record_benchmark_impl.cc gfx::Rect content_rect_; gfx 163 cc/debug/rasterize_and_record_benchmark_impl.cc gfx::Rect content_rect = (*it)->content_rect(); gfx 14 cc/input/input_handler.h namespace gfx { gfx 38 cc/input/input_handler.h virtual void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll, gfx 39 cc/input/input_handler.h const gfx::Vector2dF& latest_overscroll_delta) = 0; gfx 67 cc/input/input_handler.h virtual ScrollStatus ScrollBegin(const gfx::Point& viewport_point, gfx 82 cc/input/input_handler.h virtual bool ScrollBy(const gfx::Point& viewport_point, gfx 83 cc/input/input_handler.h const gfx::Vector2dF& scroll_delta) = 0; gfx 85 cc/input/input_handler.h virtual bool ScrollVerticallyByPage(const gfx::Point& viewport_point, gfx 92 cc/input/input_handler.h virtual void MouseMoveAt(const gfx::Point& mouse_position) = 0; gfx 110 cc/input/input_handler.h const gfx::Point& anchor) = 0; gfx 113 cc/input/input_handler.h virtual void StartPageScaleAnimation(const gfx::Vector2d& target_offset, gfx 121 cc/input/input_handler.h virtual bool HaveTouchEventHandlersAt(const gfx::Point& viewport_point) = 0; gfx 22 cc/input/layer_scroll_offset_delegate.h virtual void SetMaxScrollOffset(const gfx::Vector2dF& max_scroll_offset) = 0; gfx 26 cc/input/layer_scroll_offset_delegate.h virtual void SetTotalScrollOffset(const gfx::Vector2dF& new_value) = 0; gfx 35 cc/input/layer_scroll_offset_delegate.h virtual gfx::Vector2dF GetTotalScrollOffset() = 0; gfx 50 cc/input/layer_scroll_offset_delegate.h virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) = 0; gfx 19 cc/input/page_scale_animation.cc gfx::Vector2dF NormalizeFromViewport(const gfx::Vector2dF& denormalized, gfx 20 cc/input/page_scale_animation.cc const gfx::SizeF& viewport_size) { gfx 21 cc/input/page_scale_animation.cc return gfx::ScaleVector2d(denormalized, gfx 26 cc/input/page_scale_animation.cc gfx::Vector2dF DenormalizeToViewport(const gfx::Vector2dF& normalized, gfx 27 cc/input/page_scale_animation.cc const gfx::SizeF& viewport_size) { gfx 28 cc/input/page_scale_animation.cc return gfx::ScaleVector2d(normalized, gfx 33 cc/input/page_scale_animation.cc gfx::Vector2dF InterpolateBetween(const gfx::Vector2dF& start, gfx 34 cc/input/page_scale_animation.cc const gfx::Vector2dF& end, gfx 36 cc/input/page_scale_animation.cc return start + gfx::ScaleVector2d(end - start, interp); gfx 44 cc/input/page_scale_animation.cc const gfx::Vector2dF& start_scroll_offset, gfx 46 cc/input/page_scale_animation.cc const gfx::SizeF& viewport_size, gfx 47 cc/input/page_scale_animation.cc const gfx::SizeF& root_layer_size, gfx 57 cc/input/page_scale_animation.cc const gfx::Vector2dF& start_scroll_offset, gfx 59 cc/input/page_scale_animation.cc const gfx::SizeF& viewport_size, gfx 60 cc/input/page_scale_animation.cc const gfx::SizeF& root_layer_size, gfx 75 cc/input/page_scale_animation.cc void PageScaleAnimation::ZoomTo(const gfx::Vector2dF& target_scroll_offset, gfx 95 cc/input/page_scale_animation.cc void PageScaleAnimation::ZoomWithAnchor(const gfx::Vector2dF& anchor, gfx 117 cc/input/page_scale_animation.cc gfx::Vector2dF normalized = NormalizeFromViewport( gfx 138 cc/input/page_scale_animation.cc gfx::Vector2dF normalized = gfx::ScaleVector2d( gfx 146 cc/input/page_scale_animation.cc gfx::Vector2dF max_scroll_offset = gfx 147 cc/input/page_scale_animation.cc gfx::RectF(root_layer_size_).bottom_right() - gfx 148 cc/input/page_scale_animation.cc gfx::RectF(TargetViewportSize()).bottom_right(); gfx 149 cc/input/page_scale_animation.cc target_scroll_offset_.SetToMax(gfx::Vector2dF()); gfx 153 cc/input/page_scale_animation.cc gfx::SizeF PageScaleAnimation::StartViewportSize() const { gfx 154 cc/input/page_scale_animation.cc return gfx::ScaleSize(viewport_size_, 1.f / start_page_scale_factor_); gfx 157 cc/input/page_scale_animation.cc gfx::SizeF PageScaleAnimation::TargetViewportSize() const { gfx 158 cc/input/page_scale_animation.cc return gfx::ScaleSize(viewport_size_, 1.f / target_page_scale_factor_); gfx 161 cc/input/page_scale_animation.cc gfx::SizeF PageScaleAnimation::ViewportSizeAt(float interp) const { gfx 162 cc/input/page_scale_animation.cc return gfx::ScaleSize(viewport_size_, 1.f / PageScaleFactorAt(interp)); gfx 174 cc/input/page_scale_animation.cc gfx::Vector2dF PageScaleAnimation::ScrollOffsetAtTime(double time) const { gfx 199 cc/input/page_scale_animation.cc gfx::Vector2dF PageScaleAnimation::ScrollOffsetAt(float interp) const { gfx 208 cc/input/page_scale_animation.cc gfx::Vector2dF PageScaleAnimation::AnchorAt(float interp) const { gfx 213 cc/input/page_scale_animation.cc gfx::Vector2dF PageScaleAnimation::ViewportRelativeAnchorAt( gfx 216 cc/input/page_scale_animation.cc gfx::Vector2dF start_normalized = gfx 219 cc/input/page_scale_animation.cc gfx::Vector2dF target_normalized = gfx 222 cc/input/page_scale_animation.cc gfx::Vector2dF interp_normalized = gfx 28 cc/input/page_scale_animation.h const gfx::Vector2dF& start_scroll_offset, gfx 30 cc/input/page_scale_animation.h const gfx::SizeF& viewport_size, gfx 31 cc/input/page_scale_animation.h const gfx::SizeF& root_layer_size, gfx 40 cc/input/page_scale_animation.h void ZoomTo(const gfx::Vector2dF& target_scroll_offset, gfx 48 cc/input/page_scale_animation.h void ZoomWithAnchor(const gfx::Vector2dF& anchor, gfx 59 cc/input/page_scale_animation.h gfx::Vector2dF ScrollOffsetAtTime(double time) const; gfx 68 cc/input/page_scale_animation.h gfx::Vector2dF target_scroll_offset() const { return target_scroll_offset_; } gfx 72 cc/input/page_scale_animation.h PageScaleAnimation(const gfx::Vector2dF& start_scroll_offset, gfx 74 cc/input/page_scale_animation.h const gfx::SizeF& viewport_size, gfx 75 cc/input/page_scale_animation.h const gfx::SizeF& root_layer_size, gfx 83 cc/input/page_scale_animation.h gfx::SizeF StartViewportSize() const; gfx 84 cc/input/page_scale_animation.h gfx::SizeF TargetViewportSize() const; gfx 86 cc/input/page_scale_animation.h gfx::SizeF ViewportSizeAt(float interp) const; gfx 87 cc/input/page_scale_animation.h gfx::Vector2dF ScrollOffsetAt(float interp) const; gfx 88 cc/input/page_scale_animation.h gfx::Vector2dF AnchorAt(float interp) const; gfx 89 cc/input/page_scale_animation.h gfx::Vector2dF ViewportRelativeAnchorAt(float interp) const; gfx 94 cc/input/page_scale_animation.h gfx::Vector2dF start_scroll_offset_; gfx 95 cc/input/page_scale_animation.h gfx::Vector2dF target_scroll_offset_; gfx 97 cc/input/page_scale_animation.h gfx::Vector2dF start_anchor_; gfx 98 cc/input/page_scale_animation.h gfx::Vector2dF target_anchor_; gfx 100 cc/input/page_scale_animation.h gfx::SizeF viewport_size_; gfx 101 cc/input/page_scale_animation.h gfx::SizeF root_layer_size_; gfx 28 cc/input/scrollbar.h virtual gfx::Point Location() const = 0; gfx 33 cc/input/scrollbar.h virtual gfx::Rect TrackRect() const = 0; gfx 36 cc/input/scrollbar.h const gfx::Rect& content_rect) = 0; gfx 100 cc/input/top_controls_manager.cc gfx::Vector2dF TopControlsManager::ScrollBy( gfx 101 cc/input/top_controls_manager.cc const gfx::Vector2dF& pending_delta) { gfx 124 cc/input/top_controls_manager.cc gfx::Vector2dF applied_delta(0.f, old_offset - controls_top_offset_); gfx 159 cc/input/top_controls_manager.cc gfx::Vector2dF TopControlsManager::Animate(base::TimeTicks monotonic_time) { gfx 161 cc/input/top_controls_manager.cc return gfx::Vector2dF(); gfx 171 cc/input/top_controls_manager.cc gfx::Vector2dF scroll_delta(0.f, controls_top_offset_ - old_offset); gfx 198 cc/input/top_controls_manager.cc (gfx::FrameTime::Now() - base::TimeTicks()).InMillisecondsF(); gfx 56 cc/input/top_controls_manager.h gfx::Vector2dF ScrollBy(const gfx::Vector2dF& pending_delta); gfx 64 cc/input/top_controls_manager.h gfx::Vector2dF Animate(base::TimeTicks monotonic_time); gfx 83 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 30.f)); gfx 86 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 30.f)); gfx 89 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 100.f)); gfx 94 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -10.f)); gfx 97 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -50.f)); gfx 102 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -10.f)); gfx 105 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -50.f)); gfx 110 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -100.f)); gfx 114 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 20.f)); gfx 124 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 300.f)); gfx 130 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -15.f)); gfx 137 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); gfx 154 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 300.f)); gfx 160 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -70.f)); gfx 167 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); gfx 186 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 20.f)); gfx 193 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); gfx 212 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 30.f)); gfx 219 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); gfx 236 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 200.f)); gfx 242 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -20.f)); gfx 249 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); gfx 266 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 200.f)); gfx 272 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -30.f)); gfx 279 cc/input/top_controls_manager_unittest.cc base::TimeTicks time = gfx::FrameTime::Now(); gfx 300 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 300.f)); gfx 307 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -15.f)); gfx 313 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -15.f)); gfx 326 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, 300.f)); gfx 335 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -15.f)); gfx 355 cc/input/top_controls_manager_unittest.cc manager->ScrollBy(gfx::Vector2dF(0.f, -55.f)); gfx 27 cc/layers/content_layer.cc const gfx::Rect& content_rect, gfx 28 cc/layers/content_layer.cc gfx::RectF* opaque) { gfx 161 cc/layers/content_layer.cc gfx::RectF opaque; gfx 165 cc/layers/content_layer.cc client_->PaintContents(canvas, gfx::Rect(width, height), &opaque); gfx 25 cc/layers/content_layer.h const gfx::Rect& content_rect, gfx 26 cc/layers/content_layer.h gfx::RectF* opaque) OVERRIDE; gfx 12 cc/layers/content_layer_client.h namespace gfx { gfx 22 cc/layers/content_layer_client.h const gfx::Rect& clip, gfx 23 cc/layers/content_layer_client.h gfx::RectF* opaque) = 0; gfx 20 cc/layers/content_layer_unittest.cc explicit MockContentLayerClient(const gfx::Rect& opaque_layer_rect) gfx 24 cc/layers/content_layer_unittest.cc const gfx::Rect& clip, gfx 25 cc/layers/content_layer_unittest.cc gfx::RectF* opaque) OVERRIDE { gfx 26 cc/layers/content_layer_unittest.cc *opaque = gfx::RectF(opaque_layer_rect_); gfx 32 cc/layers/content_layer_unittest.cc gfx::Rect opaque_layer_rect_; gfx 37 cc/layers/content_layer_unittest.cc gfx::Rect content_rect(10, 10, 100, 100); gfx 38 cc/layers/content_layer_unittest.cc gfx::Rect opaque_rect_in_layer_space(5, 5, 20, 20); gfx 39 cc/layers/content_layer_unittest.cc gfx::Rect opaque_rect_in_content_space = gfx::ScaleToEnclosingRect( gfx 49 cc/layers/content_layer_unittest.cc gfx::Rect resulting_opaque_rect; gfx 51 cc/layers/content_layer_unittest.cc gfx::Size(256, 256), gfx 10 cc/layers/contents_scaling_layer.cc gfx::Size ContentsScalingLayer::ComputeContentBoundsForScale( gfx 13 cc/layers/contents_scaling_layer.cc return gfx::ToCeiledSize(gfx::ScaleSize(bounds(), scale_x, scale_y)); gfx 30 cc/layers/contents_scaling_layer.cc gfx::Size* content_bounds) { gfx 49 cc/layers/contents_scaling_layer.cc SetNeedsDisplayRect(gfx::Rect(paint_properties().bounds)); gfx 24 cc/layers/contents_scaling_layer.h gfx::Size* content_bounds) OVERRIDE; gfx 33 cc/layers/contents_scaling_layer.h gfx::Size ComputeContentBoundsForScale(float scale_x, float scale_y) const; gfx 21 cc/layers/contents_scaling_layer_unittest.cc virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE { gfx 26 cc/layers/contents_scaling_layer_unittest.cc const gfx::RectF& LastNeedsDisplayRect() const { gfx 33 cc/layers/contents_scaling_layer_unittest.cc gfx::RectF last_needs_display_rect_; gfx 39 cc/layers/contents_scaling_layer_unittest.cc host->root_layer(), gfx::Size(500, 500), &render_surface_layer_list); gfx 54 cc/layers/contents_scaling_layer_unittest.cc test_layer->SetBounds(gfx::Size(320, 240)); gfx 66 cc/layers/contents_scaling_layer_unittest.cc test_layer->SetBounds(gfx::Size(10, 20)); gfx 36 cc/layers/delegated_frame_provider.cc observers_.push_back(Observer(layer, gfx::RectF(frame_size_))); gfx 76 cc/layers/delegated_frame_provider.cc gfx::UnionRects(observers_[i].damage, root_pass->damage_rect); gfx 83 cc/layers/delegated_frame_provider.cc gfx::RectF* damage) { gfx 91 cc/layers/delegated_frame_provider.cc observers_[i].damage = gfx::RectF(); gfx 44 cc/layers/delegated_frame_provider.h gfx::RectF* damage); gfx 49 cc/layers/delegated_frame_provider.h gfx::Size frame_size() const { return frame_size_; } gfx 61 cc/layers/delegated_frame_provider.h gfx::RectF damage; gfx 63 cc/layers/delegated_frame_provider.h Observer(DelegatedRendererLayer* layer, const gfx::RectF& damage) gfx 68 cc/layers/delegated_frame_provider.h gfx::Size frame_size_; gfx 24 cc/layers/delegated_frame_provider_unittest.cc const gfx::Rect& root_output_rect, gfx 25 cc/layers/delegated_frame_provider_unittest.cc const gfx::Rect& root_damage_rect) { gfx 32 cc/layers/delegated_frame_provider_unittest.cc gfx::Transform()); gfx 51 cc/layers/delegated_frame_provider_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 52 cc/layers/delegated_frame_provider_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 53 cc/layers/delegated_frame_provider_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 56 cc/layers/delegated_frame_provider_unittest.cc gfx::PointF(0.f, 0.f), gfx 57 cc/layers/delegated_frame_provider_unittest.cc gfx::PointF(1.f, 1.f), gfx 96 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(1, 1), gfx::Rect(1, 1)); gfx 101 cc/layers/delegated_frame_provider_unittest.cc frame = CreateFrameData(gfx::Rect(1, 1), gfx::Rect(1, 1)); gfx 118 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(1, 1), gfx::Rect(1, 1)); gfx 125 cc/layers/delegated_frame_provider_unittest.cc frame = CreateFrameData(gfx::Rect(1, 1), gfx::Rect(1, 1)); gfx 144 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(5, 5), gfx::Rect(2, 2)); gfx 159 cc/layers/delegated_frame_provider_unittest.cc gfx::RectF damage; gfx 163 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF(5.f, 5.f).ToString(), damage.ToString()); gfx 165 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF(5.f, 5.f).ToString(), damage.ToString()); gfx 170 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF().ToString(), damage.ToString()); gfx 172 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF().ToString(), damage.ToString()); gfx 176 cc/layers/delegated_frame_provider_unittest.cc frame = CreateFrameData(gfx::Rect(5, 5), gfx::Rect(2, 2)); gfx 202 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(5, 5), gfx::Rect(2, 2)); gfx 217 cc/layers/delegated_frame_provider_unittest.cc gfx::RectF damage; gfx 232 cc/layers/delegated_frame_provider_unittest.cc frame = CreateFrameData(gfx::Rect(5, 5), gfx::Rect(2, 2)); gfx 244 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(5, 5), gfx::Rect(2, 2)); gfx 259 cc/layers/delegated_frame_provider_unittest.cc gfx::RectF damage; gfx 288 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(5, 5), gfx::Rect(2, 2)); gfx 303 cc/layers/delegated_frame_provider_unittest.cc gfx::RectF damage; gfx 307 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF(5.f, 5.f).ToString(), damage.ToString()); gfx 309 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF(5.f, 5.f).ToString(), damage.ToString()); gfx 313 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF().ToString(), damage.ToString()); gfx 315 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF().ToString(), damage.ToString()); gfx 317 cc/layers/delegated_frame_provider_unittest.cc frame = CreateFrameData(gfx::Rect(5, 5), gfx::Rect(2, 2)); gfx 324 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF(2.f, 2.f).ToString(), damage.ToString()); gfx 326 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF(2.f, 2.f).ToString(), damage.ToString()); gfx 330 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF().ToString(), damage.ToString()); gfx 332 cc/layers/delegated_frame_provider_unittest.cc EXPECT_EQ(gfx::RectF().ToString(), damage.ToString()); gfx 337 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(5, 5), gfx::Rect(5, 5)); gfx 352 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(5, 5), gfx::Rect(5, 5)); gfx 359 cc/layers/delegated_frame_provider_unittest.cc frame = CreateFrameData(gfx::Rect(5, 5), gfx::Rect(5, 5)); gfx 377 cc/layers/delegated_frame_provider_unittest.cc CreateFrameData(gfx::Rect(1, 1), gfx::Rect(1, 1)); gfx 78 cc/layers/delegated_renderer_layer.cc frame_damage_ = gfx::RectF(); gfx 89 cc/layers/delegated_renderer_layer.cc void DelegatedRendererLayer::SetDisplaySize(const gfx::Size& size) { gfx 36 cc/layers/delegated_renderer_layer.h void SetDisplaySize(const gfx::Size& size); gfx 53 cc/layers/delegated_renderer_layer.h gfx::RectF frame_damage_; gfx 55 cc/layers/delegated_renderer_layer.h gfx::Size display_size_; gfx 103 cc/layers/delegated_renderer_layer_impl.cc const gfx::RectF& damage_in_frame) { gfx 148 cc/layers/delegated_renderer_layer_impl.cc gfx::Size frame_size = new_root_pass->output_rect.size(); gfx 149 cc/layers/delegated_renderer_layer_impl.cc gfx::RectF damage_in_layer = MathUtil::MapClippedRect( gfx 151 cc/layers/delegated_renderer_layer_impl.cc SetUpdateRect(gfx::IntersectRects( gfx 152 cc/layers/delegated_renderer_layer_impl.cc gfx::UnionRects(update_rect(), damage_in_layer), gfx::Rect(bounds()))); gfx 158 cc/layers/delegated_renderer_layer_impl.cc void DelegatedRendererLayerImpl::SetDisplaySize(const gfx::Size& size) { gfx 199 cc/layers/delegated_renderer_layer_impl.cc gfx::Transform DelegatedRendererLayerImpl::DelegatedFrameToLayerSpaceTransform( gfx 200 cc/layers/delegated_renderer_layer_impl.cc const gfx::Size& frame_size) const { gfx 201 cc/layers/delegated_renderer_layer_impl.cc gfx::Size display_size = display_size_.IsEmpty() ? bounds() : display_size_; gfx 203 cc/layers/delegated_renderer_layer_impl.cc gfx::Transform delegated_frame_to_layer_space_transform; gfx 244 cc/layers/delegated_renderer_layer_impl.cc gfx::Size frame_size = root_delegated_render_pass->output_rect.size(); gfx 245 cc/layers/delegated_renderer_layer_impl.cc gfx::Transform delegated_frame_to_root_transform = gfx 290 cc/layers/delegated_renderer_layer_impl.cc gfx::Size frame_size = root_delegated_render_pass->output_rect.size(); gfx 351 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect top(x, 0, width, border_width); gfx 352 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect bottom(x, gfx 356 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect left(0, y, border_width, height); gfx 357 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect right(content_bounds().width() - border_width, gfx 400 cc/layers/delegated_renderer_layer_impl.cc const gfx::Size& frame_size) const { gfx 418 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect(display_size_).Contains(gfx::Rect(bounds()))); gfx 419 cc/layers/delegated_renderer_layer_impl.cc gfx::Transform delegated_frame_to_target_transform = gfx 434 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect clip_rect = drawable_content_rect(); gfx 449 cc/layers/delegated_renderer_layer_impl.cc gfx::Rect quad_visible_rect = quad_sink->UnoccludedContentRect( gfx 49 cc/layers/delegated_renderer_layer_impl.h const gfx::RectF& damage_in_frame); gfx 51 cc/layers/delegated_renderer_layer_impl.h void SetDisplaySize(const gfx::Size& size); gfx 80 cc/layers/delegated_renderer_layer_impl.h gfx::Transform DelegatedFrameToLayerSpaceTransform( gfx 81 cc/layers/delegated_renderer_layer_impl.h const gfx::Size& frame_size) const; gfx 87 cc/layers/delegated_renderer_layer_impl.h const gfx::Size& frame_size) const; gfx 97 cc/layers/delegated_renderer_layer_impl.h gfx::Size display_size_; gfx 41 cc/layers/delegated_renderer_layer_impl_unittest.cc settings.minimum_occlusion_tracking_size = gfx::Size(); gfx 47 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(10, 10)); gfx 72 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 73 cc/layers/delegated_renderer_layer_impl_unittest.cc root_layer->SetBounds(gfx::Size(100, 100)); gfx 75 cc/layers/delegated_renderer_layer_impl_unittest.cc layer_before->SetPosition(gfx::Point(20, 20)); gfx 76 cc/layers/delegated_renderer_layer_impl_unittest.cc layer_before->SetBounds(gfx::Size(14, 14)); gfx 77 cc/layers/delegated_renderer_layer_impl_unittest.cc layer_before->SetContentBounds(gfx::Size(14, 14)); gfx 81 cc/layers/delegated_renderer_layer_impl_unittest.cc layer_after->SetPosition(gfx::Point(5, 5)); gfx 82 cc/layers/delegated_renderer_layer_impl_unittest.cc layer_after->SetBounds(gfx::Size(15, 15)); gfx 83 cc/layers/delegated_renderer_layer_impl_unittest.cc layer_after->SetContentBounds(gfx::Size(15, 15)); gfx 87 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetPosition(gfx::Point(3, 3)); gfx 88 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetBounds(gfx::Size(10, 10)); gfx 89 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetContentBounds(gfx::Size(10, 10)); gfx 91 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform transform; gfx 98 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(6, 6, 6, 6), gfx 99 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(1, 0, 0, 1, 5, 6)); gfx 100 cc/layers/delegated_renderer_layer_impl_unittest.cc AddQuad(pass1, gfx::Rect(0, 0, 6, 6), 33u); gfx 103 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(7, 7, 7, 7), gfx 104 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(1, 0, 0, 1, 7, 8)); gfx 105 cc/layers/delegated_renderer_layer_impl_unittest.cc AddQuad(pass2, gfx::Rect(0, 0, 7, 7), 22u); gfx 109 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 0, 8, 8), gfx 110 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(1, 0, 0, 1, 9, 10)); gfx 144 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 166 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(6, 6, 6, 6).ToString(), gfx 168 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(7, 7, 7, 7).ToString(), gfx 171 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 179 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 195 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 6, 6).ToString(), gfx 200 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 7, 7).ToString(), gfx 202 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(6, 6, 6, 6).ToString(), gfx 205 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 6, 6).ToString(), gfx 208 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 215 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 229 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(7, 7, 7, 7).ToString(), gfx 233 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 15, 15).ToString(), gfx 236 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 244 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 255 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform transform; gfx 264 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(), frame.render_passes[2]->quad_list[0]->quadTransform()); gfx 266 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(), frame.render_passes[2]->quad_list[1]->quadTransform()); gfx 269 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(), frame.render_passes[1]->quad_list[0]->quadTransform()); gfx 271 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 278 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 292 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform transform; gfx 297 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform five_six(1, 0, 0, 1, 5, 6); gfx 300 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform seven_eight(1, 0, 0, 1, 7, 8); gfx 315 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 321 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 330 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 337 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 343 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform rotation; gfx 349 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 356 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 372 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 399 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(6, 6, 6, 6).ToString(), gfx 401 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(7, 7, 7, 7).ToString(), gfx 404 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 412 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 429 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 6, 6).ToString(), gfx 434 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 7, 7).ToString(), gfx 436 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(6, 6, 6, 6).ToString(), gfx 439 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 6, 6).ToString(), gfx 442 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 449 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 465 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(7, 7, 7, 7).ToString(), gfx 468 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 476 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 486 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform transform; gfx 494 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(), frame.render_passes[2]->quad_list[0]->quadTransform()); gfx 496 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(), frame.render_passes[2]->quad_list[1]->quadTransform()); gfx 499 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform(), frame.render_passes[1]->quad_list[0]->quadTransform()); gfx 501 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 516 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(200, 200)); gfx 517 cc/layers/delegated_renderer_layer_impl_unittest.cc root_layer->SetBounds(gfx::Size(100, 100)); gfx 519 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetPosition(gfx::Point(20, 20)); gfx 520 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetBounds(gfx::Size(75, 75)); gfx 521 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetContentBounds(gfx::Size(75, 75)); gfx 523 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform transform; gfx 530 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Size child_pass_content_bounds(7, 7); gfx 531 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect child_pass_rect(20, 20, 7, 7); gfx 532 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform child_pass_transform; gfx 535 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect child_pass_clip_rect(21, 21, 3, 3); gfx 543 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform()); gfx 558 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(20, 20, 3, 7), gfx 559 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(20, 20, 3, 7), gfx 566 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(23, 20, 4, 7), gfx 567 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(23, 20, 4, 7), gfx 573 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Size root_pass_content_bounds(100, 100); gfx 574 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect root_pass_rect(0, 0, 100, 100); gfx 575 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform root_pass_transform; gfx 578 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect root_pass_clip_rect(10, 10, 35, 35); gfx 585 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform()); gfx 601 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(5, 5, 7, 7), // quad_rect gfx 602 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(5, 5, 7, 7), // visible_rect gfx 607 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::RectF(), // mask_uv_rect gfx 615 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 616 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 623 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 10, 10, 10), gfx 624 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 10, 10, 10), gfx 631 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 0, 10, 10), gfx 632 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 0, 10, 10), gfx 639 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 10, 10, 10), gfx 640 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 10, 10, 10), gfx 712 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 732 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform expected; gfx 749 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(21, 21, 3, 3).ToString(), gfx 759 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 769 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 790 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(27, 27, 105, 105).ToString(), gfx 796 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform expected; gfx 813 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(21, 21, 3, 3).ToString(), gfx 823 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 835 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 851 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(15, 15, 53, 53).ToString(), gfx 858 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform expected; gfx 870 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(21, 21, 3, 3).ToString(), gfx 880 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 892 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 908 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(15, 15, 53, 53).ToString(), gfx 914 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform expected; gfx 926 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(21, 21, 3, 3).ToString(), gfx 936 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 953 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 954 cc/layers/delegated_renderer_layer_impl_unittest.cc root_layer->SetBounds(gfx::Size(100, 100)); gfx 956 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetPosition(gfx::Point(20, 20)); gfx 957 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetBounds(gfx::Size(50, 50)); gfx 958 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetContentBounds(gfx::Size(50, 50)); gfx 963 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Size child_pass_content_bounds(7, 7); gfx 964 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect child_pass_rect(20, 20, 7, 7); gfx 965 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform child_pass_transform; gfx 966 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect child_pass_clip_rect(21, 21, 3, 3); gfx 974 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform()); gfx 989 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(20, 20, 3, 7), gfx 990 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(20, 20, 3, 7), gfx 997 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(23, 20, 4, 7), gfx 998 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(23, 20, 4, 7), gfx 1004 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Size root_pass_content_bounds(50, 50); gfx 1005 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect root_pass_rect(0, 0, 50, 50); gfx 1006 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform root_pass_transform; gfx 1007 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect root_pass_clip_rect(5, 5, 40, 40); gfx 1014 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform()); gfx 1030 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(5, 5, 7, 7), // quad_rect gfx 1031 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(5, 5, 7, 7), // visible_quad_rect gfx 1036 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::RectF(), // mask_uv_rect gfx 1044 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 1045 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 1052 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 10, 10, 10), gfx 1053 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 10, 10, 10), gfx 1060 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 0, 10, 10), gfx 1061 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 0, 10, 10), gfx 1068 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 10, 10, 10), gfx 1069 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(10, 10, 10, 10), gfx 1084 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect clip_rect(21, 27, 23, 21); gfx 1092 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::PointAtOffsetFromOrigin(-clip_rect.OffsetFromOrigin())); gfx 1119 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1132 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(20, 20, 50, 50).ToString(), gfx 1137 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1149 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1162 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(25, 25, 40, 40).ToString(), gfx 1167 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1179 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1193 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(21, 27, 23, 21).ToString(), gfx 1198 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1210 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1223 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(25, 27, 19, 21).ToString(), gfx 1228 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1242 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1258 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1272 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1284 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(5, 5, 40, 40).ToString(), gfx 1289 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1303 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1319 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1332 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1346 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(5, 5, 40, 40).ToString(), gfx 1351 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1361 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 1363 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetPosition(gfx::Point(3, 3)); gfx 1364 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetBounds(gfx::Size(10, 10)); gfx 1365 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer->SetContentBounds(gfx::Size(10, 10)); gfx 1372 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 1373 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform()); gfx 1374 cc/layers/delegated_renderer_layer_impl_unittest.cc AddQuad(pass1, gfx::Rect(0, 0, 6, 6), 33u); gfx 1379 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(7, 7, 7, 7), gfx 1380 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(7, 7, 7, 7), gfx 1381 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform()); gfx 1397 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1405 cc/layers/delegated_renderer_layer_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1410 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 1411 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 1412 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect quad_rect(200, 300, 400, 500); gfx 1414 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform transform; gfx 1421 cc/layers/delegated_renderer_layer_impl_unittest.cc delegated_renderer_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 1433 cc/layers/delegated_renderer_layer_impl_unittest.cc AddQuad(pass2, gfx::Rect(quad_rect.size()), SK_ColorRED); gfx 1438 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(layer_size), gfx 1439 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Transform()); gfx 1447 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect quad_screen_rect = quad_rect + gfx::Vector2d(11, 0); gfx 1451 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect occluded; gfx 1467 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(quad_rect.size())); gfx 1476 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect occluded(delegated_renderer_layer_impl->visible_content_rect()); gfx 1482 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect()); gfx 1486 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect occluded(delegated_renderer_layer_impl->visible_content_rect()); gfx 1494 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect()); gfx 1502 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect occluded(0, 0, 500, 1000); gfx 1518 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect occluded(0, 0, 500, 1000); gfx 1520 cc/layers/delegated_renderer_layer_impl_unittest.cc occluded -= quad_rect.OffsetFromOrigin() + gfx::Vector2d(11, 0); gfx 1528 cc/layers/delegated_renderer_layer_impl_unittest.cc gfx::Rect(quad_rect.size()), gfx 1537 cc/layers/delegated_renderer_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(300 - 11, 0, 100 + 11, 500).ToString(), gfx 41 cc/layers/draw_properties.h gfx::Transform target_space_transform; gfx 44 cc/layers/draw_properties.h gfx::Transform screen_space_transform; gfx 75 cc/layers/draw_properties.h gfx::Rect visible_content_rect; gfx 79 cc/layers/draw_properties.h gfx::Rect drawable_content_rect; gfx 83 cc/layers/draw_properties.h gfx::Rect clip_rect; gfx 91 cc/layers/draw_properties.h gfx::Size content_bounds; gfx 24 cc/layers/heads_up_display_layer.cc const gfx::Size& device_viewport, float device_scale_factor) { gfx 25 cc/layers/heads_up_display_layer.cc gfx::Size device_viewport_in_layout_pixels = gfx::Size( gfx 29 cc/layers/heads_up_display_layer.cc gfx::Size bounds; gfx 30 cc/layers/heads_up_display_layer.cc gfx::Transform matrix; gfx 21 cc/layers/heads_up_display_layer.h const gfx::Size& device_viewport, float device_scale_factor); gfx 116 cc/layers/heads_up_display_layer_impl.cc gfx::Rect quad_rect(content_bounds()); gfx 117 cc/layers/heads_up_display_layer_impl.cc gfx::Rect opaque_rect(contents_opaque() ? quad_rect : gfx::Rect()); gfx 118 cc/layers/heads_up_display_layer_impl.cc gfx::Rect visible_quad_rect(quad_rect); gfx 120 cc/layers/heads_up_display_layer_impl.cc gfx::PointF uv_top_left(0.f, 0.f); gfx 121 cc/layers/heads_up_display_layer_impl.cc gfx::PointF uv_bottom_right(1.f, 1.f); gfx 177 cc/layers/heads_up_display_layer_impl.cc gfx::Rect content_rect(content_bounds()); gfx 183 cc/layers/heads_up_display_layer_impl.cc gfx::Vector2d()); gfx 602 cc/layers/heads_up_display_layer_impl.cc gfx::RectF debug_layer_rect = gfx::ScaleRect( gfx 42 cc/layers/heads_up_display_layer_impl_unittest.cc layer->SetContentBounds(gfx::Size(100, 100)); gfx 41 cc/layers/heads_up_display_unittest.cc root_layer1_->SetBounds(gfx::Size(30, 30)); gfx 42 cc/layers/heads_up_display_unittest.cc root_layer2_->SetBounds(gfx::Size(30, 30)); gfx 49 cc/layers/image_layer.cc InvalidateContentRect(gfx::Rect(content_bounds())); gfx 73 cc/layers/image_layer.cc gfx::Size* content_bounds) { gfx 76 cc/layers/image_layer.cc *content_bounds = gfx::Size(bitmap_.width(), bitmap_.height()); gfx 33 cc/layers/image_layer.h gfx::Size* content_bounds) OVERRIDE; gfx 20 cc/layers/io_surface_layer.cc const gfx::Size& size) { gfx 17 cc/layers/io_surface_layer.h void SetIOSurfaceProperties(uint32_t io_surface_id, const gfx::Size& size); gfx 33 cc/layers/io_surface_layer.h gfx::Size io_surface_size_; gfx 114 cc/layers/io_surface_layer_impl.cc gfx::Rect quad_rect(content_bounds()); gfx 115 cc/layers/io_surface_layer_impl.cc gfx::Rect opaque_rect(contents_opaque() ? quad_rect : gfx::Rect()); gfx 116 cc/layers/io_surface_layer_impl.cc gfx::Rect visible_quad_rect = quad_sink->UnoccludedContentRect( gfx 140 cc/layers/io_surface_layer_impl.cc const gfx::Size& size) { gfx 24 cc/layers/io_surface_layer_impl.h void SetIOSurfaceProperties(unsigned io_surface_id, const gfx::Size& size); gfx 45 cc/layers/io_surface_layer_impl.h gfx::Size io_surface_size_; gfx 14 cc/layers/io_surface_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 15 cc/layers/io_surface_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 21 cc/layers/io_surface_layer_impl_unittest.cc io_surface_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 30 cc/layers/io_surface_layer_impl_unittest.cc gfx::Rect occluded; gfx 34 cc/layers/io_surface_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 40 cc/layers/io_surface_layer_impl_unittest.cc gfx::Rect occluded(io_surface_layer_impl->visible_content_rect()); gfx 43 cc/layers/io_surface_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 49 cc/layers/io_surface_layer_impl_unittest.cc gfx::Rect occluded(200, 0, 800, 1000); gfx 55 cc/layers/io_surface_layer_impl_unittest.cc gfx::Rect(layer_size), gfx 213 cc/layers/layer.cc gfx::Rect Layer::LayerRectToContentRect(const gfx::RectF& layer_rect) const { gfx 214 cc/layers/layer.cc gfx::RectF content_rect = gfx 215 cc/layers/layer.cc gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); gfx 218 cc/layers/layer.cc content_rect.Intersect(gfx::Rect(content_bounds())); gfx 219 cc/layers/layer.cc return gfx::ToEnclosingRect(content_rect); gfx 330 cc/layers/layer.cc void Layer::SetBounds(const gfx::Size& size) { gfx 382 cc/layers/layer.cc void Layer::SetAnchorPoint(const gfx::PointF& anchor_point) { gfx 432 cc/layers/layer.cc gfx::Size* content_bounds) { gfx 587 cc/layers/layer.cc void Layer::SetPosition(const gfx::PointF& position) { gfx 603 cc/layers/layer.cc void Layer::SetTransform(const gfx::Transform& transform) { gfx 675 cc/layers/layer.cc void Layer::SetScrollOffset(gfx::Vector2d scroll_offset) { gfx 684 cc/layers/layer.cc void Layer::SetScrollOffsetFromImplSide(const gfx::Vector2d& scroll_offset) { gfx 815 cc/layers/layer.cc void Layer::SetNeedsDisplayRect(const gfx::RectF& dirty_rect) { gfx 983 cc/layers/layer.cc layer->SetSentScrollDelta(gfx::Vector2d()); gfx 1020 cc/layers/layer.cc update_rect_ = gfx::RectF(); gfx 1074 cc/layers/layer.cc gfx::Vector2dF Layer::ScrollOffsetForAnimation() const { gfx 1090 cc/layers/layer.cc void Layer::OnTransformAnimated(const gfx::Transform& transform) { gfx 1094 cc/layers/layer.cc void Layer::OnScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset) { gfx 36 cc/layers/layer.h namespace gfx { gfx 106 cc/layers/layer.h void SetAnchorPoint(const gfx::PointF& anchor_point); gfx 107 cc/layers/layer.h gfx::PointF anchor_point() const { return anchor_point_; } gfx 120 cc/layers/layer.h void SetBounds(const gfx::Size& bounds); gfx 121 cc/layers/layer.h gfx::Size bounds() const { return bounds_; } gfx 130 cc/layers/layer.h virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect); gfx 131 cc/layers/layer.h void SetNeedsDisplay() { SetNeedsDisplayRect(gfx::RectF(bounds())); } gfx 169 cc/layers/layer.h void SetPosition(const gfx::PointF& position); gfx 170 cc/layers/layer.h gfx::PointF position() const { return position_; } gfx 180 cc/layers/layer.h void SetTransform(const gfx::Transform& transform); gfx 181 cc/layers/layer.h const gfx::Transform& transform() const { return transform_; } gfx 219 cc/layers/layer.h const gfx::Transform& draw_transform() const { gfx 222 cc/layers/layer.h const gfx::Transform& screen_space_transform() const { gfx 240 cc/layers/layer.h gfx::Rect clip_rect() const { return draw_properties_.clip_rect; } gfx 241 cc/layers/layer.h gfx::Rect drawable_content_rect() const { gfx 244 cc/layers/layer.h gfx::Rect visible_content_rect() const { gfx 264 cc/layers/layer.h void SetScrollOffset(gfx::Vector2d scroll_offset); gfx 265 cc/layers/layer.h gfx::Vector2d scroll_offset() const { return scroll_offset_; } gfx 266 cc/layers/layer.h void SetScrollOffsetFromImplSide(const gfx::Vector2d& scroll_offset); gfx 312 cc/layers/layer.h gfx::Vector2d ScrollDelta() const { return gfx::Vector2d(); } gfx 313 cc/layers/layer.h gfx::Vector2dF TotalScrollOffset() const { gfx 381 cc/layers/layer.h gfx::Size content_bounds() const { return draw_properties_.content_bounds; } gfx 389 cc/layers/layer.h gfx::Size* content_bounds); gfx 422 cc/layers/layer.h gfx::Rect LayerRectToContentRect(const gfx::RectF& layer_rect) const; gfx 430 cc/layers/layer.h void ResetNeedsDisplayForTesting() { update_rect_ = gfx::RectF(); } gfx 524 cc/layers/layer.h gfx::RectF update_rect_; gfx 547 cc/layers/layer.h virtual gfx::Vector2dF ScrollOffsetForAnimation() const OVERRIDE; gfx 552 cc/layers/layer.h virtual void OnTransformAnimated(const gfx::Transform& transform) OVERRIDE; gfx 554 cc/layers/layer.h const gfx::Vector2dF& scroll_offset) OVERRIDE; gfx 569 cc/layers/layer.h gfx::Size bounds_; gfx 571 cc/layers/layer.h gfx::Vector2d scroll_offset_; gfx 596 cc/layers/layer.h gfx::PointF position_; gfx 597 cc/layers/layer.h gfx::PointF anchor_point_; gfx 611 cc/layers/layer.h gfx::Transform transform_; gfx 221 cc/layers/layer_impl.cc gfx::Rect request_in_layer_space = request->area(); gfx 222 cc/layers/layer_impl.cc gfx::Rect request_in_content_space = gfx 308 cc/layers/layer_impl.cc gfx::Rect quad_rect(content_bounds()); gfx 309 cc/layers/layer_impl.cc gfx::Rect visible_quad_rect(quad_rect); gfx 339 cc/layers/layer_impl.cc void LayerImpl::SetSentScrollDelta(const gfx::Vector2d& sent_scroll_delta) { gfx 349 cc/layers/layer_impl.cc gfx::Vector2dF LayerImpl::ScrollBy(const gfx::Vector2dF& scroll) { gfx 351 cc/layers/layer_impl.cc gfx::Vector2dF min_delta = -scroll_offset_; gfx 352 cc/layers/layer_impl.cc gfx::Vector2dF max_delta = MaxScrollOffset() - scroll_offset_; gfx 354 cc/layers/layer_impl.cc gfx::Vector2dF new_delta = (ScrollDelta() + scroll); gfx 357 cc/layers/layer_impl.cc gfx::Vector2dF unscrolled = gfx 385 cc/layers/layer_impl.cc sent_scroll_delta_ = gfx::Vector2d(); gfx 408 cc/layers/layer_impl.cc const gfx::PointF& screen_space_point, gfx 422 cc/layers/layer_impl.cc gfx::Transform inverse_screen_space_transform( gfx 423 cc/layers/layer_impl.cc gfx::Transform::kSkipInitialization); gfx 430 cc/layers/layer_impl.cc gfx::PointF hit_test_point_in_content_space = gfx 434 cc/layers/layer_impl.cc gfx::PointF hit_test_point_in_layer_space = gfx 435 cc/layers/layer_impl.cc gfx::ScalePoint(hit_test_point_in_content_space, gfx 440 cc/layers/layer_impl.cc gfx::ToRoundedPoint(hit_test_point_in_layer_space))) { gfx 457 cc/layers/layer_impl.cc gfx::Vector2d max_scroll_offset = MaxScrollOffset(); gfx 468 cc/layers/layer_impl.cc gfx::Rect LayerImpl::LayerRectToContentRect( gfx 469 cc/layers/layer_impl.cc const gfx::RectF& layer_rect) const { gfx 470 cc/layers/layer_impl.cc gfx::RectF content_rect = gfx 471 cc/layers/layer_impl.cc gfx::ScaleRect(layer_rect, contents_scale_x(), contents_scale_y()); gfx 474 cc/layers/layer_impl.cc content_rect.Intersect(gfx::Rect(content_bounds())); gfx 475 cc/layers/layer_impl.cc return gfx::ToEnclosingRect(content_rect); gfx 530 cc/layers/layer_impl.cc layer->SetSentScrollDelta(gfx::Vector2d()); gfx 587 cc/layers/layer_impl.cc update_rect_ = gfx::RectF(); gfx 592 cc/layers/layer_impl.cc gfx::Vector2dF LayerImpl::FixedContainerSizeDelta() const { gfx 594 cc/layers/layer_impl.cc return gfx::Vector2dF(); gfx 599 cc/layers/layer_impl.cc gfx::Vector2dF delta_from_scroll = scroll_clip_layer_->BoundsDelta(); gfx 609 cc/layers/layer_impl.cc gfx::Vector2dF delta_from_pinch = gfx 610 cc/layers/layer_impl.cc gfx::Rect(scroll_clip_layer_->bounds()).bottom_right() - gfx::PointF(); gfx 630 cc/layers/layer_impl.cc const gfx::Transform& gfx_transform = draw_properties_.target_space_transform; gfx 703 cc/layers/layer_impl.cc update_rect_ = gfx::RectF(); gfx 723 cc/layers/layer_impl.cc gfx::Vector2dF LayerImpl::ScrollOffsetForAnimation() const { gfx 735 cc/layers/layer_impl.cc void LayerImpl::OnTransformAnimated(const gfx::Transform& transform) { gfx 739 cc/layers/layer_impl.cc void LayerImpl::OnScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset) { gfx 758 cc/layers/layer_impl.cc gfx::Size LayerImpl::bounds() const { gfx 762 cc/layers/layer_impl.cc void LayerImpl::SetBounds(const gfx::Size& bounds) { gfx 776 cc/layers/layer_impl.cc void LayerImpl::SetTemporaryImplBounds(const gfx::SizeF& bounds) { gfx 853 cc/layers/layer_impl.cc void LayerImpl::SetAnchorPoint(const gfx::PointF& anchor_point) { gfx 973 cc/layers/layer_impl.cc void LayerImpl::SetPosition(const gfx::PointF& position) { gfx 997 cc/layers/layer_impl.cc void LayerImpl::SetTransform(const gfx::Transform& transform) { gfx 1015 cc/layers/layer_impl.cc void LayerImpl::SetUpdateRect(const gfx::RectF& update_rect) { gfx 1020 cc/layers/layer_impl.cc void LayerImpl::SetContentBounds(const gfx::Size& content_bounds) { gfx 1046 cc/layers/layer_impl.cc gfx::Size* content_bounds) { gfx 1062 cc/layers/layer_impl.cc gfx::Vector2dF total_offset = TotalScrollOffset(); gfx 1073 cc/layers/layer_impl.cc void LayerImpl::SetScrollOffset(const gfx::Vector2d& scroll_offset) { gfx 1077 cc/layers/layer_impl.cc void LayerImpl::SetScrollOffsetAndDelta(const gfx::Vector2d& scroll_offset, gfx 1078 cc/layers/layer_impl.cc const gfx::Vector2dF& scroll_delta) { gfx 1121 cc/layers/layer_impl.cc gfx::Vector2dF LayerImpl::ScrollDelta() const { gfx 1127 cc/layers/layer_impl.cc void LayerImpl::SetScrollDelta(const gfx::Vector2dF& scroll_delta) { gfx 1131 cc/layers/layer_impl.cc gfx::Vector2dF LayerImpl::TotalScrollOffset() const { gfx 1153 cc/layers/layer_impl.cc gfx::Vector2d LayerImpl::MaxScrollOffset() const { gfx 1155 cc/layers/layer_impl.cc return gfx::Vector2d(); gfx 1163 cc/layers/layer_impl.cc gfx::SizeF scaled_scroll_bounds(bounds()); gfx 1172 cc/layers/layer_impl.cc const gfx::Transform& layer_transform = current_layer->transform(); gfx 1179 cc/layers/layer_impl.cc gfx::Vector2dF layer_scale = layer_transform.Scale2d(); gfx 1197 cc/layers/layer_impl.cc gfx::Vector2dF max_offset( gfx 1202 cc/layers/layer_impl.cc max_offset.SetToMax(gfx::Vector2dF()); gfx 1203 cc/layers/layer_impl.cc return gfx::ToFlooredVector2d(max_offset); gfx 1206 cc/layers/layer_impl.cc gfx::Vector2dF LayerImpl::ClampScrollToMaxScrollOffset() { gfx 1207 cc/layers/layer_impl.cc gfx::Vector2dF max_offset = MaxScrollOffset(); gfx 1208 cc/layers/layer_impl.cc gfx::Vector2dF old_offset = TotalScrollOffset(); gfx 1209 cc/layers/layer_impl.cc gfx::Vector2dF clamped_offset = old_offset; gfx 1212 cc/layers/layer_impl.cc clamped_offset.SetToMax(gfx::Vector2d()); gfx 1213 cc/layers/layer_impl.cc gfx::Vector2dF delta = clamped_offset - old_offset; gfx 1229 cc/layers/layer_impl.cc gfx::RectF clip_rect(gfx::PointF(), scrollbar_clip_layer->bounds()); gfx 1233 cc/layers/layer_impl.cc gfx::RectF scroll_rect(gfx::PointF(), bounds()); gfx 1240 cc/layers/layer_impl.cc gfx::Vector2dF current_offset; gfx 1245 cc/layers/layer_impl.cc const gfx::Transform& layer_transform = current_layer->transform(); gfx 1253 cc/layers/layer_impl.cc gfx::Vector2dF layer_scale = layer_transform.Scale2d(); gfx 1255 cc/layers/layer_impl.cc gfx::Vector2dF new_offset = gfx 1427 cc/layers/layer_impl.cc gfx::QuadF layer_quad = MathUtil::MapQuad( gfx 1429 cc/layers/layer_impl.cc gfx::QuadF(gfx::Rect(content_bounds())), gfx 1438 cc/layers/layer_impl.cc gfx::Rect wheel_rect(content_bounds()); gfx 1444 cc/layers/layer_impl.cc gfx::Rect scroll_rect(content_bounds()); gfx 1476 cc/layers/layer_impl.cc gfx::BoxF box; gfx 82 cc/layers/layer_impl.h virtual gfx::Vector2dF ScrollOffsetForAnimation() const OVERRIDE; gfx 87 cc/layers/layer_impl.h virtual void OnTransformAnimated(const gfx::Transform& transform) OVERRIDE; gfx 89 cc/layers/layer_impl.h const gfx::Vector2dF& scroll_offset) OVERRIDE; gfx 194 cc/layers/layer_impl.h void SetAnchorPoint(const gfx::PointF& anchor_point); gfx 195 cc/layers/layer_impl.h gfx::PointF anchor_point() const { return anchor_point_; } gfx 238 cc/layers/layer_impl.h void SetPosition(const gfx::PointF& position); gfx 239 cc/layers/layer_impl.h gfx::PointF position() const { return position_; } gfx 249 cc/layers/layer_impl.h gfx::Vector2dF FixedContainerSizeDelta() const; gfx 288 cc/layers/layer_impl.h const gfx::Transform& draw_transform() const { gfx 291 cc/layers/layer_impl.h const gfx::Transform& screen_space_transform() const { gfx 309 cc/layers/layer_impl.h gfx::Rect clip_rect() const { return draw_properties_.clip_rect; } gfx 310 cc/layers/layer_impl.h gfx::Rect drawable_content_rect() const { gfx 313 cc/layers/layer_impl.h gfx::Rect visible_content_rect() const { gfx 337 cc/layers/layer_impl.h void SetBounds(const gfx::Size& bounds); gfx 338 cc/layers/layer_impl.h void SetTemporaryImplBounds(const gfx::SizeF& bounds); gfx 339 cc/layers/layer_impl.h gfx::Size bounds() const; gfx 340 cc/layers/layer_impl.h gfx::Vector2dF BoundsDelta() const { gfx 341 cc/layers/layer_impl.h return gfx::Vector2dF(temporary_impl_bounds_.width() - bounds_.width(), gfx 345 cc/layers/layer_impl.h void SetContentBounds(const gfx::Size& content_bounds); gfx 346 cc/layers/layer_impl.h gfx::Size content_bounds() const { return draw_properties_.content_bounds; } gfx 358 cc/layers/layer_impl.h gfx::Size* content_bounds); gfx 364 cc/layers/layer_impl.h void SetScrollOffset(const gfx::Vector2d& scroll_offset); gfx 365 cc/layers/layer_impl.h void SetScrollOffsetAndDelta(const gfx::Vector2d& scroll_offset, gfx 366 cc/layers/layer_impl.h const gfx::Vector2dF& scroll_delta); gfx 367 cc/layers/layer_impl.h gfx::Vector2d scroll_offset() const { return scroll_offset_; } gfx 369 cc/layers/layer_impl.h gfx::Vector2d MaxScrollOffset() const; gfx 370 cc/layers/layer_impl.h gfx::Vector2dF ClampScrollToMaxScrollOffset(); gfx 373 cc/layers/layer_impl.h void SetScrollDelta(const gfx::Vector2dF& scroll_delta); gfx 374 cc/layers/layer_impl.h gfx::Vector2dF ScrollDelta() const; gfx 376 cc/layers/layer_impl.h gfx::Vector2dF TotalScrollOffset() const; gfx 378 cc/layers/layer_impl.h void SetSentScrollDelta(const gfx::Vector2d& sent_scroll_delta); gfx 379 cc/layers/layer_impl.h gfx::Vector2d sent_scroll_delta() const { return sent_scroll_delta_; } gfx 383 cc/layers/layer_impl.h gfx::Vector2dF ScrollBy(const gfx::Vector2dF& scroll); gfx 440 cc/layers/layer_impl.h const gfx::PointF& screen_space_point, gfx 446 cc/layers/layer_impl.h void SetTransform(const gfx::Transform& transform); gfx 447 cc/layers/layer_impl.h const gfx::Transform& transform() const { return transform_; } gfx 452 cc/layers/layer_impl.h void SetUpdateRect(const gfx::RectF& update_rect); gfx 454 cc/layers/layer_impl.h const gfx::RectF& update_rect() const { return update_rect_; } gfx 497 cc/layers/layer_impl.h gfx::Rect LayerRectToContentRect(const gfx::RectF& layer_rect) const; gfx 579 cc/layers/layer_impl.h gfx::PointF anchor_point_; gfx 581 cc/layers/layer_impl.h gfx::Size bounds_; gfx 582 cc/layers/layer_impl.h gfx::SizeF temporary_impl_bounds_; gfx 583 cc/layers/layer_impl.h gfx::Vector2d scroll_offset_; gfx 618 cc/layers/layer_impl.h gfx::PointF position_; gfx 619 cc/layers/layer_impl.h gfx::Transform transform_; gfx 623 cc/layers/layer_impl.h gfx::Vector2dF scroll_delta_; gfx 624 cc/layers/layer_impl.h gfx::Vector2d sent_scroll_delta_; gfx 625 cc/layers/layer_impl.h gfx::Vector2dF last_scroll_offset_; gfx 652 cc/layers/layer_impl.h gfx::RectF update_rect_; gfx 123 cc/layers/layer_impl_unittest.cc gfx::PointF arbitrary_point_f = gfx::PointF(0.125f, 0.25f); gfx 125 cc/layers/layer_impl_unittest.cc gfx::Size arbitrary_size = gfx::Size(111, 222); gfx 126 cc/layers/layer_impl_unittest.cc gfx::Point arbitrary_point = gfx::Point(333, 444); gfx 127 cc/layers/layer_impl_unittest.cc gfx::Vector2d arbitrary_vector2d = gfx::Vector2d(111, 222); gfx 128 cc/layers/layer_impl_unittest.cc gfx::Rect arbitrary_rect = gfx::Rect(arbitrary_point, arbitrary_size); gfx 129 cc/layers/layer_impl_unittest.cc gfx::RectF arbitrary_rect_f = gfx 130 cc/layers/layer_impl_unittest.cc gfx::RectF(arbitrary_point_f, gfx::SizeF(1.234f, 5.678f)); gfx 132 cc/layers/layer_impl_unittest.cc gfx::Transform arbitrary_transform; gfx 161 cc/layers/layer_impl_unittest.cc EXECUTE_AND_VERIFY_SUBTREE_CHANGED(root->SetScrollDelta(gfx::Vector2d())); gfx 181 cc/layers/layer_impl_unittest.cc EXECUTE_AND_VERIFY_ONLY_LAYER_CHANGED(root->SetBounds(gfx::Size(135, 246))); gfx 219 cc/layers/layer_impl_unittest.cc root->SetScrollDelta(gfx::Vector2d())); gfx 260 cc/layers/layer_impl_unittest.cc gfx::PointF arbitrary_point_f = gfx::PointF(0.125f, 0.25f); gfx 262 cc/layers/layer_impl_unittest.cc gfx::Size arbitrary_size = gfx::Size(111, 222); gfx 263 cc/layers/layer_impl_unittest.cc gfx::Point arbitrary_point = gfx::Point(333, 444); gfx 264 cc/layers/layer_impl_unittest.cc gfx::Vector2d arbitrary_vector2d = gfx::Vector2d(111, 222); gfx 265 cc/layers/layer_impl_unittest.cc gfx::Size large_size = gfx::Size(1000, 1000); gfx 266 cc/layers/layer_impl_unittest.cc gfx::Rect arbitrary_rect = gfx::Rect(arbitrary_point, arbitrary_size); gfx 267 cc/layers/layer_impl_unittest.cc gfx::RectF arbitrary_rect_f = gfx 268 cc/layers/layer_impl_unittest.cc gfx::RectF(arbitrary_point_f, gfx::SizeF(1.234f, 5.678f)); gfx 270 cc/layers/layer_impl_unittest.cc gfx::Transform arbitrary_transform; gfx 286 cc/layers/layer_impl_unittest.cc VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->ScrollBy(gfx::Vector2d())); gfx 287 cc/layers/layer_impl_unittest.cc layer->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 401 cc/layers/layer_impl_unittest.cc host_impl_.active_tree()->root_layer()->SetBounds(gfx::Size(1, 1)); gfx 402 cc/layers/layer_impl_unittest.cc gfx::Vector2d max_scroll_offset(51, 81); gfx 403 cc/layers/layer_impl_unittest.cc layer()->SetBounds(gfx::Size(max_scroll_offset.x(), max_scroll_offset.y())); gfx 421 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->TotalScrollOffset()); gfx 422 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); gfx 423 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); gfx 425 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); gfx 426 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); gfx 429 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); gfx 431 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(100, -100)); gfx 432 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(50, 0), layer()->TotalScrollOffset()); gfx 435 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->scroll_offset()); gfx 439 cc/layers/layer_impl_unittest.cc gfx::Vector2d scroll_offset(10, 5); gfx 444 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); gfx 446 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); gfx 447 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); gfx 453 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(100, -100)); gfx 454 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(50, 0), layer()->TotalScrollOffset()); gfx 464 cc/layers/layer_impl_unittest.cc const gfx::Vector2dF& max_scroll_offset) OVERRIDE {} gfx 465 cc/layers/layer_impl_unittest.cc virtual void SetTotalScrollOffset(const gfx::Vector2dF& new_value) OVERRIDE {} gfx 466 cc/layers/layer_impl_unittest.cc virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE { gfx 471 cc/layers/layer_impl_unittest.cc void set_fixed_offset(const gfx::Vector2dF& fixed_offset) { gfx 479 cc/layers/layer_impl_unittest.cc virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) OVERRIDE {} gfx 482 cc/layers/layer_impl_unittest.cc gfx::Vector2dF fixed_offset_; gfx 486 cc/layers/layer_impl_unittest.cc gfx::Vector2d scroll_offset(10, 5); gfx 491 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); gfx 494 cc/layers/layer_impl_unittest.cc gfx::Vector2dF fixed_offset(32, 12); gfx 501 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); gfx 511 cc/layers/layer_impl_unittest.cc gfx::Vector2dF scroll_delta(1, 1); gfx 521 cc/layers/layer_impl_unittest.cc const gfx::Vector2dF& max_scroll_offset) OVERRIDE {} gfx 522 cc/layers/layer_impl_unittest.cc virtual void SetTotalScrollOffset(const gfx::Vector2dF& new_value) OVERRIDE { gfx 525 cc/layers/layer_impl_unittest.cc virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE { gfx 533 cc/layers/layer_impl_unittest.cc virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) OVERRIDE {} gfx 536 cc/layers/layer_impl_unittest.cc gfx::Vector2dF current_offset_; gfx 540 cc/layers/layer_impl_unittest.cc gfx::Vector2d scroll_offset(10, 5); gfx 545 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); gfx 552 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), layer()->ScrollDelta()); gfx 554 cc/layers/layer_impl_unittest.cc layer()->ScrollBy(gfx::Vector2dF(-100, 100)); gfx 556 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); gfx 561 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 80), layer()->TotalScrollOffset()); gfx 564 cc/layers/layer_impl_unittest.cc gfx::Vector2dF scroll_delta(1, 1); gfx 567 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(1, 80), layer()->TotalScrollOffset()); gfx 572 cc/layers/layer_impl_unittest.cc gfx::Vector2d scroll_offset(10, 5); gfx 573 cc/layers/layer_impl_unittest.cc gfx::Vector2dF scroll_delta(20.5f, 8.5f); gfx 574 cc/layers/layer_impl_unittest.cc gfx::Vector2d sent_scroll_delta(12, -3); gfx 590 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); gfx 594 cc/layers/layer_impl_unittest.cc gfx::Vector2d scroll_offset(10, 5); gfx 595 cc/layers/layer_impl_unittest.cc gfx::Vector2d sent_scroll_delta(12, -3); gfx 596 cc/layers/layer_impl_unittest.cc gfx::Vector2dF fixed_offset(32, 12); gfx 612 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); gfx 616 cc/layers/layer_impl_unittest.cc gfx::Vector2d scroll_offset(10, 5); gfx 617 cc/layers/layer_impl_unittest.cc gfx::Vector2d sent_scroll_delta(12, -3); gfx 618 cc/layers/layer_impl_unittest.cc gfx::Vector2dF scroll_delta(20.5f, 8.5f); gfx 634 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), layer()->sent_scroll_delta()); gfx 640 cc/layers/layer_impl_unittest.cc gfx::Vector2d scroll_offset(10, 5); gfx 641 cc/layers/layer_impl_unittest.cc gfx::Vector2dF scroll_delta(20.5f, 8.5f); gfx 645 cc/layers/layer_impl_unittest.cc gfx::Vector2dF unscrolled = layer()->ScrollBy(scroll_delta); gfx 647 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(0, 8.5f), unscrolled); gfx 648 cc/layers/layer_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(30.5f, 5), layer()->TotalScrollOffset()); gfx 39 cc/layers/layer_iterator_unittest.cc SetBounds(gfx::Size(100, 100)); gfx 40 cc/layers/layer_iterator_unittest.cc SetPosition(gfx::Point()); gfx 41 cc/layers/layer_iterator_unittest.cc SetAnchorPoint(gfx::Point()); gfx 27 cc/layers/layer_perftest.cc const gfx::Rect& content_rect, gfx 28 cc/layers/layer_perftest.cc gfx::RectF* opaque) OVERRIDE {} gfx 78 cc/layers/layer_perftest.cc test_layer->SetNeedsDisplayRect(gfx::RectF(0.f, 0.f, 5.f, 5.f)); gfx 21 cc/layers/layer_position_constraint_unittest.cc const gfx::Transform& transform, gfx 22 cc/layers/layer_position_constraint_unittest.cc const gfx::PointF& anchor, gfx 23 cc/layers/layer_position_constraint_unittest.cc const gfx::PointF& position, gfx 24 cc/layers/layer_position_constraint_unittest.cc const gfx::Size& bounds, gfx 41 cc/layers/layer_position_constraint_unittest.cc gfx::Transform identity_matrix; gfx 44 cc/layers/layer_position_constraint_unittest.cc gfx::Size device_viewport_size = gfx 45 cc/layers/layer_position_constraint_unittest.cc gfx::Size(root_layer->bounds().width() * device_scale_factor, gfx 89 cc/layers/layer_position_constraint_unittest.cc gfx::Transform IdentityMatrix; gfx 90 cc/layers/layer_position_constraint_unittest.cc gfx::PointF anchor; gfx 91 cc/layers/layer_position_constraint_unittest.cc gfx::PointF position; gfx 92 cc/layers/layer_position_constraint_unittest.cc gfx::Size bounds(200, 200); gfx 93 cc/layers/layer_position_constraint_unittest.cc gfx::Size clip_bounds(100, 100); gfx 150 cc/layers/layer_position_constraint_unittest.cc const gfx::Vector2d& delta) { gfx 155 cc/layers/layer_position_constraint_unittest.cc gfx::Size container_size(container_layer->bounds()); gfx 156 cc/layers/layer_position_constraint_unittest.cc gfx::Size new_container_size(container_size.width() + delta.x(), gfx 173 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 176 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 177 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform = expected_child_transform; gfx 185 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 10)); gfx 199 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 239 cc/layers/layer_position_constraint_unittest.cc gfx::Transform non_uniform_scale; gfx 247 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 250 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 253 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform = expected_child_transform; gfx 261 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 20)); gfx 276 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 311 cc/layers/layer_position_constraint_unittest.cc grand_child->SetPosition(gfx::PointF(8.f, 6.f)); gfx 315 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 318 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 319 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 322 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_great_grand_child_transform = gfx 333 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 10)); gfx 350 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 390 cc/layers/layer_position_constraint_unittest.cc gfx::Transform rotation_about_z; gfx 395 cc/layers/layer_position_constraint_unittest.cc grand_child->SetPosition(gfx::PointF(8.f, 6.f)); gfx 402 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 405 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 408 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 416 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_great_grand_child_transform = gfx 427 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 20)); gfx 454 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 502 cc/layers/layer_position_constraint_unittest.cc gfx::Transform rotation_about_z; gfx 507 cc/layers/layer_position_constraint_unittest.cc grand_child->SetPosition(gfx::PointF(8.f, 6.f)); gfx 514 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 517 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 520 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 528 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_great_grand_child_transform = gfx 539 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 0)); gfx 540 cc/layers/layer_position_constraint_unittest.cc grand_child->SetScrollDelta(gfx::Vector2d(5, 0)); gfx 569 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 614 cc/layers/layer_position_constraint_unittest.cc grand_child->SetPosition(gfx::PointF(8.f, 6.f)); gfx 619 cc/layers/layer_position_constraint_unittest.cc gfx::Transform rotation_about_z; gfx 624 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 627 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 628 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_surface_draw_transform; gfx 631 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 632 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_great_grand_child_transform; gfx 645 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 30)); gfx 688 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 739 cc/layers/layer_position_constraint_unittest.cc gfx::Transform identity; gfx 744 cc/layers/layer_position_constraint_unittest.cc gfx::PointF(), gfx 745 cc/layers/layer_position_constraint_unittest.cc gfx::PointF(), gfx 746 cc/layers/layer_position_constraint_unittest.cc gfx::Size(100, 100), gfx 755 cc/layers/layer_position_constraint_unittest.cc grand_child->SetPosition(gfx::PointF(8.f, 6.f)); gfx 757 cc/layers/layer_position_constraint_unittest.cc great_grand_child->SetPosition(gfx::PointF(40.f, 60.f)); gfx 766 cc/layers/layer_position_constraint_unittest.cc gfx::Transform rotation_about_z; gfx 774 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 777 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 779 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_surface_draw_transform; gfx 784 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 786 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_great_grand_child_surface_draw_transform; gfx 791 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_great_grand_child_transform; gfx 793 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_fixed_position_child_transform; gfx 813 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 30)); gfx 836 cc/layers/layer_position_constraint_unittest.cc gfx::Transform compound_draw_transform; gfx 874 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 929 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 932 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_surface_draw_transform; gfx 934 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 935 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 945 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 10)); gfx 965 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 1009 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 1012 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 1013 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 1020 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 10)); gfx 1033 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 1078 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(10, 10)); gfx 1083 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_child_transform; gfx 1086 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_grand_child_transform; gfx 1087 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_great_grand_child_transform; gfx 1097 cc/layers/layer_position_constraint_unittest.cc child->SetScrollDelta(gfx::Vector2d(0, 0)); gfx 1098 cc/layers/layer_position_constraint_unittest.cc SetFixedContainerSizeDelta(child, gfx::Vector2d(20, 20)); gfx 1142 cc/layers/layer_position_constraint_unittest.cc container1->SetScrollDelta(gfx::Vector2d(0, 15)); gfx 1143 cc/layers/layer_position_constraint_unittest.cc container2->SetScrollDelta(gfx::Vector2d(30, 0)); gfx 1146 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_container1_transform; gfx 1149 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_fixed_to_container1_transform; gfx 1154 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_container2_transform; gfx 1157 cc/layers/layer_position_constraint_unittest.cc gfx::Transform expected_fixed_to_container2_transform; gfx 55 cc/layers/layer_unittest.cc const gfx::Rect& content_rect, gfx 56 cc/layers/layer_unittest.cc gfx::RectF* opaque) OVERRIDE {} gfx 481 cc/layers/layer_unittest.cc gfx::Size test_bounds = gfx::Size(501, 508); gfx 483 cc/layers/layer_unittest.cc gfx::RectF dirty1 = gfx::RectF(10.f, 15.f, 1.f, 2.f); gfx 484 cc/layers/layer_unittest.cc gfx::RectF dirty2 = gfx::RectF(20.f, 25.f, 3.f, 4.f); gfx 485 cc/layers/layer_unittest.cc gfx::RectF empty_dirty_rect = gfx::RectF(40.f, 45.f, 0.f, 0.f); gfx 486 cc/layers/layer_unittest.cc gfx::RectF out_of_bounds_dirty_rect = gfx::RectF(400.f, 405.f, 500.f, 502.f); gfx 518 cc/layers/layer_unittest.cc EXPECT_SET_NEEDS_COMMIT(0, test_layer->SetNeedsDisplayRect(gfx::Rect())); gfx 545 cc/layers/layer_unittest.cc gfx::PointF(1.23f, 4.56f))); gfx 553 cc/layers/layer_unittest.cc EXPECT_SET_NEEDS_COMMIT(1, test_layer->SetPosition(gfx::PointF(4.f, 9.f))); gfx 559 cc/layers/layer_unittest.cc gfx::Vector2d(10, 10))); gfx 562 cc/layers/layer_unittest.cc Region(gfx::Rect(1, 1, 2, 2)))); gfx 566 cc/layers/layer_unittest.cc gfx::Transform(0.0, 0.0, 0.0, 0.0, 0.0, 0.0))); gfx 569 cc/layers/layer_unittest.cc gfx::Rect(10, 10))); gfx 597 cc/layers/layer_unittest.cc test_layer->SetNeedsDisplayRect(gfx::RectF(0.f, 0.f, 5.f, 5.f)); gfx 599 cc/layers/layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 5.f, 5.f), gfx 604 cc/layers/layer_unittest.cc test_layer->SetNeedsDisplayRect(gfx::RectF(10.f, 10.f, 5.f, 5.f)); gfx 606 cc/layers/layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 15.f, 15.f), gfx 612 cc/layers/layer_unittest.cc test_layer->SetNeedsDisplayRect(gfx::RectF(10.f, 10.f, 5.f, 5.f)); gfx 614 cc/layers/layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10.f, 10.f, 5.f, 5.f), gfx 626 cc/layers/layer_unittest.cc gfx::Transform transform; gfx 672 cc/layers/layer_unittest.cc gfx::Transform transform; gfx 45 cc/layers/layer_utils.cc bool LayerUtils::GetAnimationBounds(const LayerImpl& layer_in, gfx::BoxF* out) { gfx 67 cc/layers/layer_utils.cc gfx::BoxF box(layer_in.bounds().width(), layer_in.bounds().height(), 0.f); gfx 75 cc/layers/layer_utils.cc gfx::Transform coalesced_transform; gfx 80 cc/layers/layer_utils.cc gfx::PointF position = layer->position(); gfx 86 cc/layers/layer_utils.cc gfx::Transform composite_layer_transform; gfx 106 cc/layers/layer_utils.cc box.set_origin(box.origin() + gfx::Vector3dF(-anchor_x, gfx 112 cc/layers/layer_utils.cc gfx::BoxF inflated; gfx 120 cc/layers/layer_utils.cc gfx::BoxF inflated; gfx 128 cc/layers/layer_utils.cc box.set_origin(box.origin() + gfx::Vector3dF(anchor_x + position.x(), gfx 10 cc/layers/layer_utils.h namespace gfx { gfx 24 cc/layers/layer_utils.h static bool GetAnimationBounds(const LayerImpl& layer, gfx::BoxF* out); gfx 63 cc/layers/layer_utils_unittest.cc root()->SetPosition(gfx::PointF()); gfx 64 cc/layers/layer_utils_unittest.cc parent()->SetPosition(gfx::PointF()); gfx 65 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(350, 200)); gfx 69 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(150.f, 50.f)); gfx 70 cc/layers/layer_utils_unittest.cc child()->SetBounds(gfx::Size(100, 200)); gfx 72 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 75 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(150.f, 50.f, 0.f, 350.f, 450.f, 0.f); gfx 88 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(350, 200)); gfx 92 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(150.f, 50.f)); gfx 93 cc/layers/layer_utils_unittest.cc child()->SetBounds(gfx::Size(100, 200)); gfx 95 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 98 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(150.f, 50.f, 0.f, 150.f, 250.f, 0.f); gfx 111 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(350, 200)); gfx 115 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(150.f, 50.f)); gfx 116 cc/layers/layer_utils_unittest.cc child()->SetBounds(gfx::Size(100, 200)); gfx 118 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 121 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(150.f, 50.f, 0.f, 150.f, 250.f, 0.f); gfx 138 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(350, 200)); gfx 142 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(150.f, 50.f)); gfx 143 cc/layers/layer_utils_unittest.cc child()->SetBounds(gfx::Size(100, 200)); gfx 145 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 148 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(150.f, 50.f, 0.f, 150.f, 250.f, 0.f); gfx 161 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(350, 200)); gfx 163 cc/layers/layer_utils_unittest.cc gfx::Size bounds(100, 100); gfx 166 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(150.f, 50.f)); gfx 169 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 172 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(150.f, 50.f, -50.f, 100.f, 100.f, 100.f); gfx 187 cc/layers/layer_utils_unittest.cc parent()->SetAnchorPoint(gfx::PointF(0.375f, 0.375f)); gfx 188 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(400, 400)); gfx 190 cc/layers/layer_utils_unittest.cc gfx::Transform perspective; gfx 194 cc/layers/layer_utils_unittest.cc gfx::Size bounds(100, 100); gfx 197 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(100.f, 100.f)); gfx 200 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 203 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(50.f, 50.f, -33.333336f, 200.f, 200.f, 133.333344f); gfx 216 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(350, 200)); gfx 218 cc/layers/layer_utils_unittest.cc gfx::Size bounds(100, 100); gfx 221 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(150.f, 50.f)); gfx 224 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 228 cc/layers/layer_utils_unittest.cc gfx::BoxF expected(150.f + 0.5f * (bounds.width() - diag), gfx 246 cc/layers/layer_utils_unittest.cc parent()->SetBounds(gfx::Size(350, 200)); gfx 248 cc/layers/layer_utils_unittest.cc gfx::Size bounds(100, 100); gfx 251 cc/layers/layer_utils_unittest.cc child()->SetPosition(gfx::PointF(150.f, 50.f)); gfx 254 cc/layers/layer_utils_unittest.cc gfx::BoxF box; gfx 30 cc/layers/nine_patch_layer.cc void NinePatchLayer::SetBorder(const gfx::Rect& border) { gfx 37 cc/layers/nine_patch_layer.cc void NinePatchLayer::SetAperture(const gfx::Rect& aperture) { gfx 31 cc/layers/nine_patch_layer.h void SetBorder(const gfx::Rect& border); gfx 39 cc/layers/nine_patch_layer.h void SetAperture(const gfx::Rect& aperture); gfx 48 cc/layers/nine_patch_layer.h gfx::Rect border_; gfx 53 cc/layers/nine_patch_layer.h gfx::Rect image_aperture_; gfx 35 cc/layers/nine_patch_layer_impl.cc static gfx::RectF NormalizedRect(float x, gfx 41 cc/layers/nine_patch_layer_impl.cc return gfx::RectF(x / total_width, gfx 47 cc/layers/nine_patch_layer_impl.cc void NinePatchLayerImpl::SetLayout(const gfx::Rect& aperture, gfx 48 cc/layers/nine_patch_layer_impl.cc const gfx::Rect& border, gfx 84 cc/layers/nine_patch_layer_impl.cc DCHECK(gfx::Rect(image_bounds_.width(), image_bounds_.height()) gfx 126 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_top_left(0, 0, layer_left_width, layer_top_height); gfx 127 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_top_right(bounds().width() - layer_right_width, gfx 131 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_bottom_left(0, gfx 135 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_bottom_right(layer_top_right.x(), gfx 139 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_top( gfx 141 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_left( gfx 143 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_right(layer_top_right.x(), gfx 147 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_bottom(layer_top.x(), gfx 151 cc/layers/nine_patch_layer_impl.cc gfx::Rect layer_center(layer_left_width, gfx 165 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_top_left = NormalizedRect(0, gfx 171 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_top_right = gfx 178 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_bottom_left = gfx 185 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_bottom_right = gfx 192 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_top( gfx 198 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_left(0, gfx 204 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_right(uv_top_right.x(), gfx 208 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_bottom(uv_top.x(), gfx 212 cc/layers/nine_patch_layer_impl.cc gfx::RectF uv_center(uv_top_left.right(), gfx 219 cc/layers/nine_patch_layer_impl.cc gfx::Rect opaque_rect; gfx 56 cc/layers/nine_patch_layer_impl.h void SetLayout(const gfx::Rect& image_aperture, gfx 57 cc/layers/nine_patch_layer_impl.h const gfx::Rect& border, gfx 79 cc/layers/nine_patch_layer_impl.h gfx::Rect image_aperture_; gfx 82 cc/layers/nine_patch_layer_impl.h gfx::Rect border_; gfx 26 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Rect ToRoundedIntRect(const gfx::RectF& rect_f) { gfx 27 cc/layers/nine_patch_layer_impl_unittest.cc return gfx::Rect(gfx::ToRoundedInt(rect_f.x()), gfx 28 cc/layers/nine_patch_layer_impl_unittest.cc gfx::ToRoundedInt(rect_f.y()), gfx 29 cc/layers/nine_patch_layer_impl_unittest.cc gfx::ToRoundedInt(rect_f.width()), gfx 30 cc/layers/nine_patch_layer_impl_unittest.cc gfx::ToRoundedInt(rect_f.height())); gfx 33 cc/layers/nine_patch_layer_impl_unittest.cc void NinePatchLayerLayoutTest(const gfx::Size& bitmap_size, gfx 34 cc/layers/nine_patch_layer_impl_unittest.cc const gfx::Rect& aperture_rect, gfx 35 cc/layers/nine_patch_layer_impl_unittest.cc const gfx::Size& layer_size, gfx 36 cc/layers/nine_patch_layer_impl_unittest.cc const gfx::Rect& border, gfx 40 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Rect visible_content_rect(layer_size); gfx 41 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Rect expected_remaining(border.x(), gfx 75 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Rect quad_rect = quad->rect; gfx 85 cc/layers/nine_patch_layer_impl_unittest.cc EXPECT_RECT_EQ(expected_remaining, gfx::ToEnclosedRect(remaining.bounds())); gfx 91 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Rect bitmap_rect(bitmap_size); gfx 96 cc/layers/nine_patch_layer_impl_unittest.cc gfx::RectF tex_rect = gfx 97 cc/layers/nine_patch_layer_impl_unittest.cc gfx::BoundingRect(tex_quad->uv_top_left, tex_quad->uv_bottom_right); gfx 114 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Size bitmap_size(100, 100); gfx 115 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Size layer_size(400, 500); gfx 116 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Rect aperture_rect(20, 30, 40, 50); gfx 117 cc/layers/nine_patch_layer_impl_unittest.cc gfx::Rect border(40, 40, 80, 80); gfx 128 cc/layers/nine_patch_layer_impl_unittest.cc bitmap_size = gfx::Size(100, 100); gfx 129 cc/layers/nine_patch_layer_impl_unittest.cc layer_size = gfx::Size(40, 50); gfx 130 cc/layers/nine_patch_layer_impl_unittest.cc aperture_rect = gfx::Rect(20, 30, 40, 50); gfx 131 cc/layers/nine_patch_layer_impl_unittest.cc border = gfx::Rect(10, 10, 25, 15); gfx 142 cc/layers/nine_patch_layer_impl_unittest.cc bitmap_size = gfx::Size(100, 100); gfx 143 cc/layers/nine_patch_layer_impl_unittest.cc layer_size = gfx::Size(100, 100); gfx 144 cc/layers/nine_patch_layer_impl_unittest.cc aperture_rect = gfx::Rect(20, 30, 40, 50); gfx 145 cc/layers/nine_patch_layer_impl_unittest.cc border = gfx::Rect(20, 30, 40, 50); gfx 53 cc/layers/nine_patch_layer_unittest.cc test_layer->SetBounds(gfx::Size(100, 100)); gfx 60 cc/layers/nine_patch_layer_unittest.cc gfx::Rect screen_space_clip_rect; gfx 69 cc/layers/nine_patch_layer_unittest.cc layer_tree_host_.get(), UIResourceBitmap(gfx::Size(10, 10), is_opaque)); gfx 70 cc/layers/nine_patch_layer_unittest.cc gfx::Rect aperture(5, 5, 1, 1); gfx 16 cc/layers/paint_properties.h gfx::Size bounds; gfx 88 cc/layers/painted_scrollbar_layer.cc gfx::Size scaled_bounds = ComputeContentBoundsForScale(scale, scale); gfx 106 cc/layers/painted_scrollbar_layer.cc gfx::Size* content_bounds) { gfx 168 cc/layers/painted_scrollbar_layer.cc gfx::Rect PaintedScrollbarLayer::ScrollbarLayerRectToContentRect( gfx 169 cc/layers/painted_scrollbar_layer.cc const gfx::Rect& layer_rect) const { gfx 172 cc/layers/painted_scrollbar_layer.cc gfx::Rect expanded_rect = gfx::ScaleToEnclosingRect( gfx 175 cc/layers/painted_scrollbar_layer.cc gfx::Size clamped_size = expanded_rect.size(); gfx 181 cc/layers/painted_scrollbar_layer.cc gfx::Rect PaintedScrollbarLayer::OriginThumbRect() const { gfx 182 cc/layers/painted_scrollbar_layer.cc gfx::Size thumb_size; gfx 185 cc/layers/painted_scrollbar_layer.cc gfx::Size(scrollbar_->ThumbLength(), scrollbar_->ThumbThickness()); gfx 188 cc/layers/painted_scrollbar_layer.cc gfx::Size(scrollbar_->ThumbThickness(), scrollbar_->ThumbLength()); gfx 190 cc/layers/painted_scrollbar_layer.cc return gfx::Rect(thumb_size); gfx 208 cc/layers/painted_scrollbar_layer.cc gfx::Rect track_layer_rect = gfx::Rect(location_, bounds()); gfx 209 cc/layers/painted_scrollbar_layer.cc gfx::Rect scaled_track_rect = ScrollbarLayerRectToContentRect( gfx 228 cc/layers/painted_scrollbar_layer.cc gfx::Rect thumb_layer_rect = OriginThumbRect(); gfx 229 cc/layers/painted_scrollbar_layer.cc gfx::Rect scaled_thumb_rect = gfx 243 cc/layers/painted_scrollbar_layer.cc const gfx::Rect& layer_rect, gfx 244 cc/layers/painted_scrollbar_layer.cc const gfx::Rect& content_rect, gfx 51 cc/layers/painted_scrollbar_layer.h gfx::Size* content_bounds) OVERRIDE; gfx 67 cc/layers/painted_scrollbar_layer.h gfx::Rect ScrollbarLayerRectToContentRect(const gfx::Rect& layer_rect) const; gfx 68 cc/layers/painted_scrollbar_layer.h gfx::Rect OriginThumbRect() const; gfx 80 cc/layers/painted_scrollbar_layer.h UIResourceBitmap RasterizeScrollbarPart(const gfx::Rect& layer_rect, gfx 81 cc/layers/painted_scrollbar_layer.h const gfx::Rect& content_rect, gfx 92 cc/layers/painted_scrollbar_layer.h gfx::Point location_; gfx 93 cc/layers/painted_scrollbar_layer.h gfx::Rect track_rect_; gfx 76 cc/layers/painted_scrollbar_layer_impl.cc gfx::PointF uv_top_left(0.f, 0.f); gfx 77 cc/layers/painted_scrollbar_layer_impl.cc gfx::PointF uv_bottom_right(1.f, 1.f); gfx 78 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect bounds_rect(bounds()); gfx 79 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect content_bounds_rect(content_bounds()); gfx 85 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect thumb_quad_rect = ComputeThumbQuadRect(); gfx 86 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect visible_thumb_quad_rect = thumb_quad_rect; gfx 94 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect opaque_rect; gfx 111 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect track_quad_rect = content_bounds_rect; gfx 112 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect visible_track_quad_rect = track_quad_rect; gfx 114 cc/layers/painted_scrollbar_layer_impl.cc gfx::Rect opaque_rect(contents_opaque() ? track_quad_rect : gfx::Rect()); gfx 44 cc/layers/picture_image_layer.cc const gfx::Rect& clip, gfx 45 cc/layers/picture_image_layer.cc gfx::RectF* opaque) { gfx 30 cc/layers/picture_image_layer.h const gfx::Rect& clip, gfx 31 cc/layers/picture_image_layer.h gfx::RectF* opaque) OVERRIDE; gfx 37 cc/layers/picture_image_layer_impl.cc gfx::Size* content_bounds) { gfx 30 cc/layers/picture_image_layer_impl.h gfx::Size* content_bounds) OVERRIDE; gfx 62 cc/layers/picture_image_layer_impl_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 86 cc/layers/picture_image_layer_impl_unittest.cc gfx::Size content_bounds; gfx 97 cc/layers/picture_image_layer_impl_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 104 cc/layers/picture_image_layer_impl_unittest.cc gfx::Size content_bounds; gfx 126 cc/layers/picture_image_layer_impl_unittest.cc gfx::Size content_bounds; gfx 155 cc/layers/picture_image_layer_impl_unittest.cc gfx::Rect(active_layer->bounds()); gfx 45 cc/layers/picture_layer.cc pile_->Resize(gfx::Size()); gfx 74 cc/layers/picture_layer.cc void PictureLayer::SetNeedsDisplayRect(const gfx::RectF& layer_rect) { gfx 75 cc/layers/picture_layer.cc gfx::Rect rect = gfx::ToEnclosedRect(layer_rect); gfx 78 cc/layers/picture_layer.cc rect.Intersect(gfx::Rect(bounds())); gfx 107 cc/layers/picture_layer.cc gfx::Rect visible_layer_rect = gfx::ScaleToEnclosingRect( gfx 112 cc/layers/picture_layer.cc visible_layer_rect = gfx::Rect(bounds()); gfx 161 cc/layers/picture_layer.cc gfx::RectF opaque; gfx 165 cc/layers/picture_layer.cc client_->PaintContents(canvas, gfx::Rect(width, height), &opaque); gfx 32 cc/layers/picture_layer.h virtual void SetNeedsDisplayRect(const gfx::RectF& layer_rect) OVERRIDE; gfx 58 cc/layers/picture_layer.h gfx::Rect last_updated_visible_content_rect_; gfx 132 cc/layers/picture_layer_impl.cc gfx::Rect rect(visible_content_rect()); gfx 133 cc/layers/picture_layer_impl.cc gfx::Rect content_rect(content_bounds()); gfx 146 cc/layers/picture_layer_impl.cc gfx::Rect geometry_rect = rect; gfx 147 cc/layers/picture_layer_impl.cc gfx::Rect opaque_rect = contents_opaque() ? geometry_rect : gfx::Rect(); gfx 148 cc/layers/picture_layer_impl.cc gfx::Rect visible_geometry_rect = geometry_rect; gfx 149 cc/layers/picture_layer_impl.cc gfx::Size texture_size = rect.size(); gfx 150 cc/layers/picture_layer_impl.cc gfx::RectF texture_rect = gfx::RectF(texture_size); gfx 151 cc/layers/picture_layer_impl.cc gfx::Rect quad_content_rect = rect; gfx 208 cc/layers/picture_layer_impl.cc gfx::Rect geometry_rect = iter.geometry_rect(); gfx 209 cc/layers/picture_layer_impl.cc gfx::Rect visible_geometry_rect = geometry_rect; gfx 227 cc/layers/picture_layer_impl.cc gfx::Rect geometry_rect = iter.geometry_rect(); gfx 228 cc/layers/picture_layer_impl.cc gfx::Rect visible_geometry_rect = geometry_rect; gfx 259 cc/layers/picture_layer_impl.cc gfx::RectF texture_rect = iter.texture_rect(); gfx 260 cc/layers/picture_layer_impl.cc gfx::Rect opaque_rect = iter->opaque_rect(); gfx 279 cc/layers/picture_layer_impl.cc gfx::RectF texture_rect = iter.texture_rect(); gfx 280 cc/layers/picture_layer_impl.cc gfx::Rect opaque_rect = iter->opaque_rect(); gfx 368 cc/layers/picture_layer_impl.cc gfx::Rect visible_rect_in_content_space = visible_content_rect(); gfx 370 cc/layers/picture_layer_impl.cc gfx::Transform screen_to_layer(gfx::Transform::kSkipInitialization); gfx 372 cc/layers/picture_layer_impl.cc gfx::Size viewport_size = layer_tree_impl()->DrawViewportSize(); gfx 374 cc/layers/picture_layer_impl.cc gfx::ToEnclosingRect(MathUtil::ProjectClippedRect( gfx 375 cc/layers/picture_layer_impl.cc screen_to_layer, gfx::Rect(viewport_size))); gfx 376 cc/layers/picture_layer_impl.cc visible_rect_in_content_space.Intersect(gfx::Rect(content_bounds())); gfx 419 cc/layers/picture_layer_impl.cc gfx::Size* content_bounds) { gfx 434 cc/layers/picture_layer_impl.cc *content_bounds = gfx::ToCeiledSize(gfx::ScaleSize(bounds(), gfx 474 cc/layers/picture_layer_impl.cc *content_bounds = gfx::ToCeiledSize( gfx 475 cc/layers/picture_layer_impl.cc gfx::ScaleSize(bounds(), max_contents_scale, max_contents_scale)); gfx 503 cc/layers/picture_layer_impl.cc const gfx::Rect& content_rect) { gfx 516 cc/layers/picture_layer_impl.cc contents_opaque() ? content_rect : gfx::Rect(), gfx 558 cc/layers/picture_layer_impl.cc gfx::Size PictureLayerImpl::CalculateTileSize( gfx 559 cc/layers/picture_layer_impl.cc const gfx::Size& content_bounds) const { gfx 562 cc/layers/picture_layer_impl.cc return gfx::Size( gfx 570 cc/layers/picture_layer_impl.cc gfx::Size default_tile_size = layer_tree_impl()->settings().default_tile_size; gfx 571 cc/layers/picture_layer_impl.cc default_tile_size.SetToMin(gfx::Size(max_texture_size, max_texture_size)); gfx 573 cc/layers/picture_layer_impl.cc gfx::Size max_untiled_content_size = gfx 576 cc/layers/picture_layer_impl.cc gfx::Size(max_texture_size, max_texture_size)); gfx 604 cc/layers/picture_layer_impl.cc return gfx::Size(width, height); gfx 639 cc/layers/picture_layer_impl.cc gfx::Rect layer_rect = pile_->tile_bounds(x, y); gfx 645 cc/layers/picture_layer_impl.cc Region difference_region = Region(gfx::Rect(bounds())); gfx 646 cc/layers/picture_layer_impl.cc difference_region.Subtract(gfx::Rect(other->bounds())); gfx 690 cc/layers/picture_layer_impl.cc gfx::Rect content_rect(content_bounds()); gfx 722 cc/layers/picture_layer_impl.cc gfx::Rect rect(visible_content_rect()); gfx 819 cc/layers/picture_layer_impl.cc const gfx::Rect& rect, gfx 1084 cc/layers/picture_layer_impl.cc gfx::Size content_bounds = gfx 1085 cc/layers/picture_layer_impl.cc gfx::ToCeiledSize(gfx::ScaleSize(bounds(), raster_contents_scale_)); gfx 1086 cc/layers/picture_layer_impl.cc gfx::Size tile_size = CalculateTileSize(content_bounds); gfx 1244 cc/layers/picture_layer_impl.cc gfx::Rect(content_bounds()), gfx 80 cc/layers/picture_layer_impl.h gfx::Size* content_bounds) OVERRIDE; gfx 86 cc/layers/picture_layer_impl.h const gfx::Rect& content_rect) OVERRIDE; gfx 88 cc/layers/picture_layer_impl.h virtual gfx::Size CalculateTileSize( gfx 89 cc/layers/picture_layer_impl.h const gfx::Size& content_bounds) const OVERRIDE; gfx 144 cc/layers/picture_layer_impl.h const gfx::Rect& rect, gfx 39 cc/layers/picture_layer_impl_perftest.cc void SetupPendingTree(const gfx::Size& layer_bounds, gfx 40 cc/layers/picture_layer_impl_perftest.cc const gfx::Size& tile_size) { gfx 76 cc/layers/picture_layer_impl_perftest.cc const gfx::Size& viewport_size) { gfx 115 cc/layers/picture_layer_impl_perftest.cc SetupPendingTree(gfx::Size(10000, 10000), gfx::Size(256, 256)); gfx 125 cc/layers/picture_layer_impl_perftest.cc RunLayerRasterTileIteratorTest("32_100x100", 32, gfx::Size(100, 100)); gfx 126 cc/layers/picture_layer_impl_perftest.cc RunLayerRasterTileIteratorTest("32_500x500", 32, gfx::Size(500, 500)); gfx 127 cc/layers/picture_layer_impl_perftest.cc RunLayerRasterTileIteratorTest("64_100x100", 64, gfx::Size(100, 100)); gfx 128 cc/layers/picture_layer_impl_perftest.cc RunLayerRasterTileIteratorTest("64_500x500", 64, gfx::Size(500, 500)); gfx 70 cc/layers/picture_layer_impl_unittest.cc void SetupDefaultTrees(const gfx::Size& layer_bounds) { gfx 71 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 89 cc/layers/picture_layer_impl_unittest.cc void SetupDefaultTreesWithFixedTileSize(const gfx::Size& layer_bounds, gfx 90 cc/layers/picture_layer_impl_unittest.cc const gfx::Size& tile_size) { gfx 157 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 199 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_size( gfx 211 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 223 cc/layers/picture_layer_impl_unittest.cc gfx::Point tile_center = (*tile_iter)->content_rect().CenterPoint(); gfx 224 cc/layers/picture_layer_impl_unittest.cc gfx::Rect rect(tile_center.x(), tile_center.y(), 1, 1); gfx 270 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 271 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 293 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 294 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 310 cc/layers/picture_layer_impl_unittest.cc gfx::Size dummy_content_bounds; gfx 372 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 373 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 386 cc/layers/picture_layer_impl_unittest.cc gfx::Size dummy_content_bounds; gfx 405 cc/layers/picture_layer_impl_unittest.cc host_impl_.SetExternalDrawConstraints(gfx::Transform(), gfx 406 cc/layers/picture_layer_impl_unittest.cc gfx::Rect(layer_bounds), gfx 407 cc/layers/picture_layer_impl_unittest.cc gfx::Rect(layer_bounds), gfx 416 cc/layers/picture_layer_impl_unittest.cc host_impl_.SetExternalDrawConstraints(gfx::Transform(), gfx 417 cc/layers/picture_layer_impl_unittest.cc gfx::Rect(layer_bounds), gfx 418 cc/layers/picture_layer_impl_unittest.cc gfx::Rect(layer_bounds), gfx 425 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 426 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 427 cc/layers/picture_layer_impl_unittest.cc gfx::Rect layer_invalidation(150, 200, 30, 180); gfx 443 cc/layers/picture_layer_impl_unittest.cc gfx::Rect content_invalidation = gfx::ScaleToEnclosingRect( gfx 463 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(90, 80); gfx 464 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(300, 500); gfx 473 cc/layers/picture_layer_impl_unittest.cc Region invalidation((gfx::Rect(layer_bounds))); gfx 486 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(90, 80); gfx 487 cc/layers/picture_layer_impl_unittest.cc gfx::Size active_layer_bounds(300, 500); gfx 488 cc/layers/picture_layer_impl_unittest.cc gfx::Size pending_layer_bounds(400, 800); gfx 497 cc/layers/picture_layer_impl_unittest.cc pending_layer_->set_fixed_tile_size(gfx::Size(100, 100)); gfx 506 cc/layers/picture_layer_impl_unittest.cc gfx::Rect active_content_bounds = gfx::ScaleToEnclosingRect( gfx 507 cc/layers/picture_layer_impl_unittest.cc gfx::Rect(active_layer_bounds), gfx 533 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 534 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 589 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 590 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 598 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 609 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 610 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 618 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 712 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 713 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 728 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 783 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 784 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 802 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 803 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 860 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 861 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 869 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 983 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(host_impl_.settings().default_tile_size); gfx 984 cc/layers/picture_layer_impl_unittest.cc SetupDefaultTrees(gfx::Size(tile_size.width() + 1, tile_size.height() + 1)); gfx 1029 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(host_impl_.settings().default_tile_size); gfx 1077 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 1078 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 1086 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 1119 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 1120 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(5000, 5000); gfx 1128 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 1140 cc/layers/picture_layer_impl_unittest.cc EXPECT_EQ(gfx::Size(256, 256).ToString(), gfx 1144 cc/layers/picture_layer_impl_unittest.cc EXPECT_EQ(gfx::Size(256, 256).ToString(), gfx 1171 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 1172 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(500, 500); gfx 1180 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 1192 cc/layers/picture_layer_impl_unittest.cc EXPECT_EQ(gfx::Size(512, 512).ToString(), gfx 1229 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(400, 400); gfx 1230 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1300, 1900); gfx 1241 cc/layers/picture_layer_impl_unittest.cc gfx::Rect(layer_bounds); gfx 1243 cc/layers/picture_layer_impl_unittest.cc gfx::Rect layer_invalidation(150, 200, 30, 180); gfx 1257 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1258 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1000, 1000); gfx 1278 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1279 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(200, 200); gfx 1292 cc/layers/picture_layer_impl_unittest.cc gfx::Rect(0, 0, 100, 200); gfx 1296 cc/layers/picture_layer_impl_unittest.cc tiling, pending_layer_->contents_scale_x(), gfx::Rect(layer_bounds)); gfx 1304 cc/layers/picture_layer_impl_unittest.cc gfx::Rect tile_bounds = iter.geometry_rect(); gfx 1321 cc/layers/picture_layer_impl_unittest.cc tiling, pending_layer_->contents_scale_x(), gfx::Rect(layer_bounds)); gfx 1341 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 1342 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1346 cc/layers/picture_layer_impl_unittest.cc pending_layer_->set_invalidation(gfx::Rect(layer_bounds)); gfx 1360 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 1361 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1381 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 1382 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1399 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 1400 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1429 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 1430 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1454 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1455 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 1489 cc/layers/picture_layer_impl_unittest.cc SetupDefaultTrees(gfx::Size(10, 10)); gfx 1504 cc/layers/picture_layer_impl_unittest.cc gfx::Size default_tile_size(host_impl_.settings().default_tile_size); gfx 1505 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(default_tile_size.width() * 4, gfx 1508 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 1521 cc/layers/picture_layer_impl_unittest.cc SetupDefaultTrees(gfx::Size(10, 10)); gfx 1540 cc/layers/picture_layer_impl_unittest.cc SetupDefaultTrees(gfx::Size(10, 10)); gfx 1551 cc/layers/picture_layer_impl_unittest.cc SetupDefaultTrees(gfx::Size(10, 10)); gfx 1564 cc/layers/picture_layer_impl_unittest.cc SetupDefaultTrees(gfx::Size(10, 10)); gfx 1598 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1599 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 1639 cc/layers/picture_layer_impl_unittest.cc gfx::Size default_tile_size(host_impl_.settings().default_tile_size); gfx 1640 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(default_tile_size.width() * 4, gfx 1643 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 1664 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(host_impl_.settings().default_tile_size); gfx 1696 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(host_impl_.settings().default_tile_size); gfx 1741 cc/layers/picture_layer_impl_unittest.cc gfx::Size default_tile_size(host_impl_.settings().default_tile_size); gfx 1742 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(default_tile_size.width() * 4, gfx 1745 cc/layers/picture_layer_impl_unittest.cc gfx::Size result_bounds; gfx 1767 cc/layers/picture_layer_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 1768 cc/layers/picture_layer_impl_unittest.cc gfx::Size layer_bounds(1000, 1000); gfx 1785 cc/layers/picture_layer_impl_unittest.cc host_impl_.SetViewportSize(gfx::Size(500, 500)); gfx 24 cc/layers/picture_layer_unittest.cc const gfx::Rect& clip, gfx 25 cc/layers/picture_layer_unittest.cc gfx::RectF* opaque) OVERRIDE {} gfx 35 cc/layers/picture_layer_unittest.cc layer->SetBounds(gfx::Size(10, 10)); gfx 42 cc/layers/picture_layer_unittest.cc OcclusionTracker<Layer> occlusion(gfx::Rect(0, 0, 1000, 1000)); gfx 46 cc/layers/picture_layer_unittest.cc layer->SetBounds(gfx::Size(0, 0)); gfx 64 cc/layers/picture_layer_unittest.cc EXPECT_TRUE(layer_impl->bounds() == gfx::Size(0, 0)); gfx 65 cc/layers/picture_layer_unittest.cc EXPECT_TRUE(layer_impl->pile()->size() == gfx::Size(0, 0)); gfx 11 cc/layers/quad_sink.h namespace gfx { gfx 32 cc/layers/quad_sink.h virtual gfx::Rect UnoccludedContentRect( gfx 33 cc/layers/quad_sink.h const gfx::Rect& content_rect, gfx 34 cc/layers/quad_sink.h const gfx::Transform& draw_transform) = 0; gfx 36 cc/layers/quad_sink.h virtual gfx::Rect UnoccludedContributingSurfaceContentRect( gfx 37 cc/layers/quad_sink.h const gfx::Rect& content_rect, gfx 38 cc/layers/quad_sink.h const gfx::Transform& draw_transform) = 0; gfx 34 cc/layers/render_surface.cc gfx::RectF RenderSurface::DrawableContentRect() const { gfx 35 cc/layers/render_surface.cc gfx::RectF drawable_content_rect = gfx 32 cc/layers/render_surface.h gfx::RectF DrawableContentRect() const; gfx 34 cc/layers/render_surface.h void SetContentRect(const gfx::Rect& content_rect) { gfx 37 cc/layers/render_surface.h gfx::Rect content_rect() const { return content_rect_; } gfx 47 cc/layers/render_surface.h void SetDrawTransform(const gfx::Transform& draw_transform) { gfx 50 cc/layers/render_surface.h const gfx::Transform& draw_transform() const { return draw_transform_; } gfx 52 cc/layers/render_surface.h void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { gfx 55 cc/layers/render_surface.h const gfx::Transform& screen_space_transform() const { gfx 59 cc/layers/render_surface.h void SetReplicaDrawTransform(const gfx::Transform& replica_draw_transform) { gfx 62 cc/layers/render_surface.h const gfx::Transform& replica_draw_transform() const { gfx 67 cc/layers/render_surface.h const gfx::Transform& replica_screen_space_transform) { gfx 70 cc/layers/render_surface.h const gfx::Transform& replica_screen_space_transform() const { gfx 90 cc/layers/render_surface.h gfx::Rect clip_rect() const { return clip_rect_; } gfx 91 cc/layers/render_surface.h void SetClipRect(const gfx::Rect& clip_rect) { clip_rect_ = clip_rect; } gfx 122 cc/layers/render_surface.h gfx::Rect content_rect_; gfx 126 cc/layers/render_surface.h gfx::Transform draw_transform_; gfx 127 cc/layers/render_surface.h gfx::Transform screen_space_transform_; gfx 128 cc/layers/render_surface.h gfx::Transform replica_draw_transform_; gfx 129 cc/layers/render_surface.h gfx::Transform replica_screen_space_transform_; gfx 137 cc/layers/render_surface.h gfx::Rect clip_rect_; gfx 45 cc/layers/render_surface_impl.cc gfx::RectF RenderSurfaceImpl::DrawableContentRect() const { gfx 46 cc/layers/render_surface_impl.cc gfx::RectF drawable_content_rect = gfx 61 cc/layers/render_surface_impl.cc void RenderSurfaceImpl::SetClipRect(const gfx::Rect& clip_rect) { gfx 73 cc/layers/render_surface_impl.cc void RenderSurfaceImpl::SetContentRect(const gfx::Rect& content_rect) { gfx 144 cc/layers/render_surface_impl.cc const gfx::Transform& draw_transform = gfx 146 cc/layers/render_surface_impl.cc gfx::Rect visible_content_rect = gfx 197 cc/layers/render_surface_impl.cc gfx::RectF mask_uv_rect(0.f, 0.f, 1.f, 1.f); gfx 199 cc/layers/render_surface_impl.cc gfx::Vector2dF owning_layer_draw_scale = gfx 202 cc/layers/render_surface_impl.cc gfx::SizeF unclipped_mask_target_size = gfx::ScaleSize( gfx 212 cc/layers/render_surface_impl.cc mask_uv_rect = gfx::RectF( gfx 221 cc/layers/render_surface_impl.cc gfx::Rect contents_changed_since_last_frame = gfx 222 cc/layers/render_surface_impl.cc ContentsChanged() ? content_rect_ : gfx::Rect(); gfx 38 cc/layers/render_surface_impl.h gfx::PointF ContentRectCenter() const { gfx 39 cc/layers/render_surface_impl.h return gfx::RectF(content_rect_).CenterPoint(); gfx 44 cc/layers/render_surface_impl.h gfx::RectF DrawableContentRect() const; gfx 61 cc/layers/render_surface_impl.h void SetDrawTransform(const gfx::Transform& draw_transform) { gfx 64 cc/layers/render_surface_impl.h const gfx::Transform& draw_transform() const { return draw_transform_; } gfx 66 cc/layers/render_surface_impl.h void SetScreenSpaceTransform(const gfx::Transform& screen_space_transform) { gfx 69 cc/layers/render_surface_impl.h const gfx::Transform& screen_space_transform() const { gfx 73 cc/layers/render_surface_impl.h void SetReplicaDrawTransform(const gfx::Transform& replica_draw_transform) { gfx 76 cc/layers/render_surface_impl.h const gfx::Transform& replica_draw_transform() const { gfx 81 cc/layers/render_surface_impl.h const gfx::Transform& replica_screen_space_transform) { gfx 84 cc/layers/render_surface_impl.h const gfx::Transform& replica_screen_space_transform() const { gfx 104 cc/layers/render_surface_impl.h void SetClipRect(const gfx::Rect& clip_rect); gfx 105 cc/layers/render_surface_impl.h gfx::Rect clip_rect() const { return clip_rect_; } gfx 120 cc/layers/render_surface_impl.h void SetContentRect(const gfx::Rect& content_rect); gfx 121 cc/layers/render_surface_impl.h gfx::Rect content_rect() const { return content_rect_; } gfx 147 cc/layers/render_surface_impl.h gfx::Rect content_rect_; gfx 157 cc/layers/render_surface_impl.h gfx::Transform draw_transform_; gfx 158 cc/layers/render_surface_impl.h gfx::Transform screen_space_transform_; gfx 159 cc/layers/render_surface_impl.h gfx::Transform replica_draw_transform_; gfx 160 cc/layers/render_surface_impl.h gfx::Transform replica_screen_space_transform_; gfx 163 cc/layers/render_surface_impl.h gfx::Rect clip_rect_; gfx 14 cc/layers/render_surface_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 15 cc/layers/render_surface_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 20 cc/layers/render_surface_impl_unittest.cc owning_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 33 cc/layers/render_surface_impl_unittest.cc gfx::Rect occluded; gfx 37 cc/layers/render_surface_impl_unittest.cc gfx::Rect(layer_size)); gfx 43 cc/layers/render_surface_impl_unittest.cc gfx::Rect occluded(owning_layer_impl->visible_content_rect()); gfx 46 cc/layers/render_surface_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 52 cc/layers/render_surface_impl_unittest.cc gfx::Rect occluded(200, 0, 800, 1000); gfx 58 cc/layers/render_surface_impl_unittest.cc gfx::Rect(layer_size), gfx 47 cc/layers/render_surface_unittest.cc gfx::Rect test_rect(3, 4, 5, 6); gfx 68 cc/layers/render_surface_unittest.cc gfx::Transform dummy_matrix; gfx 99 cc/layers/render_surface_unittest.cc gfx::Rect content_rect(0, 0, 50, 50); gfx 100 cc/layers/render_surface_unittest.cc gfx::Rect clip_rect(5, 5, 40, 40); gfx 101 cc/layers/render_surface_unittest.cc gfx::Transform origin; gfx 129 cc/layers/render_surface_unittest.cc gfx::Rect(shared_quad_state->visible_content_rect)); gfx 163 cc/layers/render_surface_unittest.cc gfx::Rect content_rect(0, 0, 50, 50); gfx 164 cc/layers/render_surface_unittest.cc gfx::Transform origin; gfx 74 cc/layers/scrollbar_layer_impl_base.cc gfx::Rect ScrollbarLayerImplBase::ScrollbarLayerRectToContentRect( gfx 75 cc/layers/scrollbar_layer_impl_base.cc const gfx::RectF& layer_rect) const { gfx 78 cc/layers/scrollbar_layer_impl_base.cc gfx::RectF content_rect = gfx::ScaleRect(layer_rect, gfx 81 cc/layers/scrollbar_layer_impl_base.cc return gfx::ToEnclosingRect(content_rect); gfx 122 cc/layers/scrollbar_layer_impl_base.cc gfx::Rect ScrollbarLayerImplBase::ComputeThumbQuadRect() const { gfx 198 cc/layers/scrollbar_layer_impl_base.cc gfx::RectF thumb_rect; gfx 200 cc/layers/scrollbar_layer_impl_base.cc thumb_rect = gfx::RectF(thumb_offset, gfx 205 cc/layers/scrollbar_layer_impl_base.cc thumb_rect = gfx::RectF( gfx 52 cc/layers/scrollbar_layer_impl_base.h virtual gfx::Rect ComputeThumbQuadRect() const; gfx 69 cc/layers/scrollbar_layer_impl_base.h gfx::Rect ScrollbarLayerRectToContentRect(const gfx::RectF& layer_rect) const; gfx 104 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->TryScroll(gfx::Point(0, 0), gfx 118 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->TryScroll(gfx::Point(0, 0), gfx 133 cc/layers/scrollbar_layer_unittest.cc layer_tree_root->SetBounds(gfx::Size(70, 150)); gfx 135 cc/layers/scrollbar_layer_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(10, 20)); gfx 136 cc/layers/scrollbar_layer_unittest.cc scroll_layer->SetBounds(gfx::Size(100, 200)); gfx 137 cc/layers/scrollbar_layer_unittest.cc content_layer->SetBounds(gfx::Size(100, 200)); gfx 158 cc/layers/scrollbar_layer_unittest.cc layer_tree_root->SetBounds(gfx::Size(700, 1500)); gfx 160 cc/layers/scrollbar_layer_unittest.cc scroll_layer->SetBounds(gfx::Size(1000, 2000)); gfx 161 cc/layers/scrollbar_layer_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(100, 200)); gfx 163 cc/layers/scrollbar_layer_unittest.cc content_layer->SetBounds(gfx::Size(1000, 2000)); gfx 176 cc/layers/scrollbar_layer_unittest.cc scroll_layer_impl->ScrollBy(gfx::Vector2d(12, 34)); gfx 202 cc/layers/scrollbar_layer_unittest.cc root_clip_layer->SetBounds(gfx::Size(20, 50)); gfx 203 cc/layers/scrollbar_layer_unittest.cc root_layer->SetBounds(gfx::Size(100, 50)); gfx 204 cc/layers/scrollbar_layer_unittest.cc content_layer->SetBounds(gfx::Size(100, 50)); gfx 211 cc/layers/scrollbar_layer_unittest.cc root_layer->SetScrollOffset(gfx::Vector2d(0, 0)); gfx 212 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->SetBounds(gfx::Size(70, 10)); gfx 215 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->fake_scrollbar()->set_location(gfx::Point(20, 10)); gfx 216 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->fake_scrollbar()->set_track_rect(gfx::Rect(30, 10, 50, 10)); gfx 228 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(gfx::Rect(10, 0, 4, 10).ToString(), gfx 232 cc/layers/scrollbar_layer_unittest.cc root_layer->SetScrollOffset(gfx::Vector2d(-5, 0)); gfx 235 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(gfx::Rect(10, 0, 4, 10).ToString(), gfx 239 cc/layers/scrollbar_layer_unittest.cc root_layer->SetScrollOffset(gfx::Vector2d(85, 0)); gfx 242 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(gfx::Rect(56, 0, 4, 10).ToString(), gfx 250 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(gfx::Rect(54, 0, 6, 4).ToString(), gfx 254 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->SetBounds(gfx::Size(50, 10)); gfx 255 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->fake_scrollbar()->set_location(gfx::Point(30, 10)); gfx 256 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->fake_scrollbar()->set_track_rect(gfx::Rect(30, 10, 50, 10)); gfx 259 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(gfx::Rect(44, 0, 6, 4).ToString(), gfx 265 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->fake_scrollbar()->set_track_rect(gfx::Rect(30, 12, 50, 6)); gfx 268 cc/layers/scrollbar_layer_unittest.cc EXPECT_EQ(gfx::Rect(44, 0, 6, 4).ToString(), gfx 286 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->SetBounds(gfx::Size(kTrackLength, kThumbThickness)); gfx 300 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(6, 0, 40, 3), quads[0]->rect); gfx 314 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(12, 0, 80, 6), quads[0]->rect); gfx 330 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(8, 0, 20, 3), quads[0]->rect); gfx 369 cc/layers/scrollbar_layer_unittest.cc layer_impl_tree_root->SetBounds(gfx::Size(2, 2)); gfx 370 cc/layers/scrollbar_layer_unittest.cc scroll_layer_impl->SetBounds(gfx::Size(10, 10)); gfx 371 cc/layers/scrollbar_layer_unittest.cc scroll_layer_impl->ScrollBy(gfx::Vector2dF(4.f, 0.f)); gfx 373 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer_impl->SetBounds(gfx::Size(kTrackLength, kThumbThickness)); gfx 385 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(3, 0, 3, 3), quads[0]->rect); gfx 431 cc/layers/scrollbar_layer_unittest.cc horizontal_scrollbar_layer_->SetBounds(gfx::Size(100, 3)); gfx 436 cc/layers/scrollbar_layer_unittest.cc horizontal_scrollbar_layer_->SetBounds(gfx::Size(100, 3)); gfx 441 cc/layers/scrollbar_layer_unittest.cc horizontal_scrollbar_layer_->SetBounds(gfx::Size(100, 3)); gfx 468 cc/layers/scrollbar_layer_unittest.cc layers[0]->SetBounds(gfx::Size(100, 3)); gfx 469 cc/layers/scrollbar_layer_unittest.cc layers[1]->SetBounds(gfx::Size(3, 100)); gfx 471 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::RectF(20.f, 0.f, 20.f, 3.f), gfx 473 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::RectF(0.f, 20.f, 3.f, 20.f), gfx 483 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(20.f, 10.f, 20.f, 3.f), gfx 485 cc/layers/scrollbar_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0.f, 22, 3.f, 22.f), gfx 493 cc/layers/scrollbar_layer_unittest.cc void SetScrollbarBounds(const gfx::Size& bounds) { bounds_ = bounds; } gfx 530 cc/layers/scrollbar_layer_unittest.cc gfx::Size bounds_; gfx 538 cc/layers/scrollbar_layer_unittest.cc SetScrollbarBounds(gfx::Size(max_size + 100, max_size + 100)); gfx 547 cc/layers/scrollbar_layer_unittest.cc SetScrollbarBounds(gfx::Size(max_size + 100, max_size + 100)); gfx 583 cc/layers/scrollbar_layer_unittest.cc gfx::Size ui_resource_size(UIResourceId id) { gfx 587 cc/layers/scrollbar_layer_unittest.cc return gfx::Size(); gfx 643 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->SetBounds(gfx::Size(100, 100)); gfx 644 cc/layers/scrollbar_layer_unittest.cc layer_tree_root->SetScrollOffset(gfx::Vector2d(10, 20)); gfx 645 cc/layers/scrollbar_layer_unittest.cc layer_tree_root->SetBounds(gfx::Size(100, 200)); gfx 646 cc/layers/scrollbar_layer_unittest.cc content_layer->SetBounds(gfx::Size(100, 200)); gfx 647 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->draw_properties().content_bounds = gfx::Size(100, 200); gfx 649 cc/layers/scrollbar_layer_unittest.cc gfx::Rect(0, 0, 100, 200); gfx 657 cc/layers/scrollbar_layer_unittest.cc gfx::Rect screen_space_clip_rect; gfx 708 cc/layers/scrollbar_layer_unittest.cc gfx::Point scrollbar_location(0, 185); gfx 720 cc/layers/scrollbar_layer_unittest.cc scrollbar_layer->SetBounds(gfx::Size(100, 15)); gfx 722 cc/layers/scrollbar_layer_unittest.cc layer_tree_root->SetBounds(gfx::Size(100, 200)); gfx 723 cc/layers/scrollbar_layer_unittest.cc content_layer->SetBounds(gfx::Size(100, 200)); gfx 724 cc/layers/scrollbar_layer_unittest.cc gfx::SizeF scaled_size = gfx 725 cc/layers/scrollbar_layer_unittest.cc gfx::ScaleSize(scrollbar_layer->bounds(), test_scale, test_scale); gfx 726 cc/layers/scrollbar_layer_unittest.cc gfx::PointF scaled_location = gfx 727 cc/layers/scrollbar_layer_unittest.cc gfx::ScalePoint(scrollbar_layer->position(), test_scale, test_scale); gfx 729 cc/layers/scrollbar_layer_unittest.cc gfx::Size(scaled_size.width(), scaled_size.height()); gfx 733 cc/layers/scrollbar_layer_unittest.cc gfx::Rect(scaled_location.x(), gfx 744 cc/layers/scrollbar_layer_unittest.cc gfx::Rect screen_space_clip_rect; gfx 752 cc/layers/scrollbar_layer_unittest.cc gfx::Size track_size = layer_tree_host_->ui_resource_size( gfx 754 cc/layers/scrollbar_layer_unittest.cc gfx::Size thumb_size = layer_tree_host_->ui_resource_size( gfx 786 cc/layers/scrollbar_layer_unittest.cc void TestScale(const gfx::Rect scrollbar_rect, const float test_scale) { gfx 806 cc/layers/scrollbar_layer_unittest.cc gfx::SizeF scaled_size = gfx 807 cc/layers/scrollbar_layer_unittest.cc gfx::ScaleSize(scrollbar_layer->bounds(), test_scale, test_scale); gfx 808 cc/layers/scrollbar_layer_unittest.cc gfx::PointF scaled_location = gfx 809 cc/layers/scrollbar_layer_unittest.cc gfx::ScalePoint(scrollbar_layer->position(), test_scale, test_scale); gfx 811 cc/layers/scrollbar_layer_unittest.cc gfx::Size(scaled_size.width(), scaled_size.height()); gfx 815 cc/layers/scrollbar_layer_unittest.cc gfx::Rect(scaled_location.x(), gfx 821 cc/layers/scrollbar_layer_unittest.cc gfx::Rect screen_space_clip_rect; gfx 873 cc/layers/scrollbar_layer_unittest.cc TestScale(gfx::Rect(1240, 0, 15, 1333), 2.7754839f); gfx 874 cc/layers/scrollbar_layer_unittest.cc TestScale(gfx::Rect(1240, 0, 15, 677), 2.46677136f); gfx 877 cc/layers/scrollbar_layer_unittest.cc TestScale(gfx::Rect(0, 1240, 1333, 15), 2.7754839f); gfx 878 cc/layers/scrollbar_layer_unittest.cc TestScale(gfx::Rect(0, 1240, 677, 15), 2.46677136f); gfx 12 cc/layers/scrollbar_theme_painter.h namespace gfx { gfx 23 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 25 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 27 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 29 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 31 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 33 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 35 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 37 cc/layers/scrollbar_theme_painter.h const gfx::Rect& rect) = 0; gfx 38 cc/layers/scrollbar_theme_painter.h virtual void PaintTickmarks(SkCanvas* canvas, const gfx::Rect& rect) = 0; gfx 39 cc/layers/scrollbar_theme_painter.h virtual void PaintThumb(SkCanvas* canvas, const gfx::Rect& rect) = 0; gfx 37 cc/layers/solid_color_layer_impl.cc gfx::Rect quad_rect(x, gfx 41 cc/layers/solid_color_layer_impl.cc gfx::Rect visible_quad_rect = quad_sink->UnoccludedContentRect( gfx 26 cc/layers/solid_color_layer_impl_unittest.cc gfx::Size layer_size = gfx::Size(800, 600); gfx 27 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect visible_content_rect = gfx::Rect(layer_size); gfx 51 cc/layers/solid_color_layer_impl_unittest.cc gfx::Size layer_size = gfx::Size(100, 100); gfx 52 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect visible_content_rect = gfx::Rect(layer_size); gfx 78 cc/layers/solid_color_layer_impl_unittest.cc gfx::Size layer_size = gfx::Size(100, 100); gfx 79 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect visible_content_rect = gfx::Rect(layer_size); gfx 103 cc/layers/solid_color_layer_impl_unittest.cc gfx::Size layer_size = gfx::Size(100, 100); gfx 104 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect visible_content_rect = gfx::Rect(layer_size); gfx 118 cc/layers/solid_color_layer_impl_unittest.cc root, gfx::Size(500, 500), &render_surface_layer_list); gfx 167 cc/layers/solid_color_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 173 cc/layers/solid_color_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 174 cc/layers/solid_color_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 181 cc/layers/solid_color_layer_impl_unittest.cc solid_color_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 190 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect occluded; gfx 194 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 200 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect occluded(solid_color_layer_impl->visible_content_rect()); gfx 203 cc/layers/solid_color_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 209 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect occluded(200, 200, 256 * 3, 256 * 3); gfx 215 cc/layers/solid_color_layer_impl_unittest.cc gfx::Rect(layer_size), gfx 67 cc/layers/solid_color_scrollbar_layer.cc void SolidColorScrollbarLayer::SetNeedsDisplayRect(const gfx::RectF&) { gfx 33 cc/layers/solid_color_scrollbar_layer.h virtual void SetNeedsDisplayRect(const gfx::RectF&) OVERRIDE; gfx 98 cc/layers/solid_color_scrollbar_layer_impl.cc gfx::Rect thumb_quad_rect(ComputeThumbQuadRect()); gfx 99 cc/layers/solid_color_scrollbar_layer_impl.cc gfx::Rect visible_quad_rect = quad_sink->UnoccludedContentRect( gfx 14 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc gfx::Size layer_size(10, 1000); gfx 15 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 30 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc scrollbar_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 40 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc gfx::Rect thumb_rect = scrollbar_layer_impl->ComputeThumbQuadRect(); gfx 41 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 500 / 4, 10, layer_size.height() / 2).ToString(), gfx 46 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc gfx::Rect occluded; gfx 55 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc gfx::Rect occluded(scrollbar_layer_impl->visible_content_rect()); gfx 58 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 64 cc/layers/solid_color_scrollbar_layer_impl_unittest.cc gfx::Rect occluded(0, 0, 5, 1000); gfx 48 cc/layers/surface_layer_impl.cc gfx::Rect quad_rect(content_bounds()); gfx 49 cc/layers/surface_layer_impl.cc gfx::Rect visible_quad_rect = quad_sink->UnoccludedContentRect( gfx 14 cc/layers/surface_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 15 cc/layers/surface_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 21 cc/layers/surface_layer_impl_unittest.cc surface_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 31 cc/layers/surface_layer_impl_unittest.cc gfx::Rect occluded; gfx 35 cc/layers/surface_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 41 cc/layers/surface_layer_impl_unittest.cc gfx::Rect occluded(surface_layer_impl->visible_content_rect()); gfx 44 cc/layers/surface_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 50 cc/layers/surface_layer_impl_unittest.cc gfx::Rect occluded(200, 0, 800, 1000); gfx 56 cc/layers/surface_layer_impl_unittest.cc gfx::Rect(layer_size), gfx 86 cc/layers/texture_layer.cc void TextureLayer::SetUV(const gfx::PointF& top_left, gfx 87 cc/layers/texture_layer.cc const gfx::PointF& bottom_right) { gfx 194 cc/layers/texture_layer.cc void TextureLayer::SetNeedsDisplayRect(const gfx::RectF& dirty_rect) { gfx 115 cc/layers/texture_layer.h void SetUV(const gfx::PointF& top_left, const gfx::PointF& bottom_right); gfx 148 cc/layers/texture_layer.h virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE; gfx 172 cc/layers/texture_layer.h gfx::PointF uv_top_left_; gfx 173 cc/layers/texture_layer.h gfx::PointF uv_bottom_right_; gfx 141 cc/layers/texture_layer_impl.cc gfx::Rect(texture_mailbox_.shared_memory_size()), gfx 142 cc/layers/texture_layer_impl.cc gfx::Rect(texture_mailbox_.shared_memory_size()), gfx 143 cc/layers/texture_layer_impl.cc gfx::Vector2d()); gfx 173 cc/layers/texture_layer_impl.cc gfx::Rect quad_rect(content_bounds()); gfx 174 cc/layers/texture_layer_impl.cc gfx::Rect opaque_rect = opaque ? quad_rect : gfx::Rect(); gfx 175 cc/layers/texture_layer_impl.cc gfx::Rect visible_quad_rect = quad_sink->UnoccludedContentRect( gfx 253 cc/layers/texture_layer_impl.cc void TextureLayerImpl::SetUVTopLeft(const gfx::PointF top_left) { gfx 258 cc/layers/texture_layer_impl.cc void TextureLayerImpl::SetUVBottomRight(const gfx::PointF bottom_right) { gfx 48 cc/layers/texture_layer_impl.h void SetUVTopLeft(const gfx::PointF top_left); gfx 49 cc/layers/texture_layer_impl.h void SetUVBottomRight(const gfx::PointF bottom_right); gfx 70 cc/layers/texture_layer_impl.h gfx::PointF uv_top_left_; gfx 71 cc/layers/texture_layer_impl.h gfx::PointF uv_bottom_right_; gfx 18 cc/layers/texture_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 19 cc/layers/texture_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 31 cc/layers/texture_layer_impl_unittest.cc texture_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 43 cc/layers/texture_layer_impl_unittest.cc gfx::Rect occluded; gfx 47 cc/layers/texture_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 53 cc/layers/texture_layer_impl_unittest.cc gfx::Rect occluded(texture_layer_impl->visible_content_rect()); gfx 56 cc/layers/texture_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 62 cc/layers/texture_layer_impl_unittest.cc gfx::Rect occluded(200, 0, 800, 1000); gfx 68 cc/layers/texture_layer_impl_unittest.cc gfx::Rect(layer_size), gfx 130 cc/layers/texture_layer_unittest.cc gfx::Size size(128, 128); gfx 163 cc/layers/texture_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(10, 10)); gfx 190 cc/layers/texture_layer_unittest.cc test_layer->SetBounds(gfx::Size(10, 10)); gfx 251 cc/layers/texture_layer_unittest.cc test_layer->SetBounds(gfx::Size(10, 10)); gfx 327 cc/layers/texture_layer_unittest.cc test_layer->SetBounds(gfx::Size(10, 10)); gfx 369 cc/layers/texture_layer_unittest.cc gfx::PointF(0.25f, 0.25f), gfx::PointF(0.75f, 0.75f))); gfx 377 cc/layers/texture_layer_unittest.cc const gfx::Size layer_bounds(100, 100); gfx 378 cc/layers/texture_layer_unittest.cc const gfx::Rect layer_rect(layer_bounds); gfx 889 cc/layers/texture_layer_unittest.cc gfx::Size bounds(100, 100); gfx 891 cc/layers/texture_layer_unittest.cc root_->SetAnchorPoint(gfx::PointF()); gfx 896 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); gfx 926 cc/layers/texture_layer_unittest.cc layer_->SetBounds(gfx::Size()); gfx 1005 cc/layers/texture_layer_unittest.cc gfx::Size bounds(100, 100); gfx 1007 cc/layers/texture_layer_unittest.cc root_->SetAnchorPoint(gfx::PointF()); gfx 1012 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); gfx 1105 cc/layers/texture_layer_unittest.cc gfx::Size bounds(100, 100); gfx 1107 cc/layers/texture_layer_unittest.cc root_->SetAnchorPoint(gfx::PointF()); gfx 1112 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); gfx 1473 cc/layers/texture_layer_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 1474 cc/layers/texture_layer_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 1478 cc/layers/texture_layer_unittest.cc texture_layer_->SetBounds(gfx::Size(10, 10)); gfx 1479 cc/layers/texture_layer_unittest.cc texture_layer_->SetAnchorPoint(gfx::PointF()); gfx 1594 cc/layers/texture_layer_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 1595 cc/layers/texture_layer_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 1599 cc/layers/texture_layer_unittest.cc solid_layer_->SetBounds(gfx::Size(10, 10)); gfx 1605 cc/layers/texture_layer_unittest.cc parent_layer_->SetBounds(gfx::Size(10, 10)); gfx 1610 cc/layers/texture_layer_unittest.cc texture_layer_->SetBounds(gfx::Size(10, 10)); gfx 1611 cc/layers/texture_layer_unittest.cc texture_layer_->SetAnchorPoint(gfx::PointF()); gfx 1760 cc/layers/texture_layer_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 1761 cc/layers/texture_layer_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 1765 cc/layers/texture_layer_unittest.cc texture_layer_->SetBounds(gfx::Size(10, 10)); gfx 1766 cc/layers/texture_layer_unittest.cc texture_layer_->SetAnchorPoint(gfx::PointF()); gfx 1866 cc/layers/texture_layer_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 1867 cc/layers/texture_layer_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 1871 cc/layers/texture_layer_unittest.cc solid_layer_->SetBounds(gfx::Size(10, 10)); gfx 1877 cc/layers/texture_layer_unittest.cc parent_layer_->SetBounds(gfx::Size(10, 10)); gfx 1882 cc/layers/texture_layer_unittest.cc texture_layer_->SetBounds(gfx::Size(10, 10)); gfx 1883 cc/layers/texture_layer_unittest.cc texture_layer_->SetAnchorPoint(gfx::PointF()); gfx 2006 cc/layers/texture_layer_unittest.cc texture_layer->SetBounds(gfx::Size(10, 10)); gfx 2007 cc/layers/texture_layer_unittest.cc texture_layer->SetAnchorPoint(gfx::PointF()); gfx 2086 cc/layers/texture_layer_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 2090 cc/layers/texture_layer_unittest.cc texture_layer_->SetBounds(gfx::Size(10, 10)); gfx 2151 cc/layers/texture_layer_unittest.cc gfx::Size bounds(100, 100); gfx 2153 cc/layers/texture_layer_unittest.cc root_->SetAnchorPoint(gfx::PointF()); gfx 2158 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); gfx 2224 cc/layers/texture_layer_unittest.cc gfx::Size bounds(100, 100); gfx 2226 cc/layers/texture_layer_unittest.cc root_->SetAnchorPoint(gfx::PointF()); gfx 2231 cc/layers/texture_layer_unittest.cc layer_->SetAnchorPoint(gfx::PointF()); gfx 54 cc/layers/tiled_layer.cc update_rect = gfx::Rect(); gfx 66 cc/layers/tiled_layer.cc dirty_rect = gfx::Rect(); gfx 69 cc/layers/tiled_layer.cc gfx::Rect dirty_rect; gfx 70 cc/layers/tiled_layer.cc gfx::Rect update_rect; gfx 94 cc/layers/tiled_layer.cc LayerTilingData::Create(gfx::Size(), LayerTilingData::HAS_BORDER_TEXELS); gfx 106 cc/layers/tiled_layer.cc gfx::Size default_tile_size = layer_tree_host()->settings().default_tile_size; gfx 107 cc/layers/tiled_layer.cc gfx::Size max_untiled_layer_size = gfx 112 cc/layers/tiled_layer.cc gfx::Size tile_size(std::min(default_tile_size.width(), layer_width), gfx 137 cc/layers/tiled_layer.cc gfx::Size requested_size = is_tiled ? tile_size : content_bounds(); gfx 140 cc/layers/tiled_layer.cc requested_size.SetToMin(gfx::Size(max_size, max_size)); gfx 145 cc/layers/tiled_layer.cc gfx::Size old_bounds = tiler_->bounds(); gfx 146 cc/layers/tiled_layer.cc gfx::Size new_bounds = content_bounds(); gfx 152 cc/layers/tiled_layer.cc Region old_region = gfx::Rect(old_bounds); gfx 153 cc/layers/tiled_layer.cc Region new_region = gfx::Rect(new_bounds); gfx 161 cc/layers/tiled_layer.cc void TiledLayer::SetTileSize(const gfx::Size& size) { gfx 294 cc/layers/tiled_layer.cc void TiledLayer::SetNeedsDisplayRect(const gfx::RectF& dirty_rect) { gfx 299 cc/layers/tiled_layer.cc void TiledLayer::InvalidateContentRect(const gfx::Rect& content_rect) { gfx 312 cc/layers/tiled_layer.cc gfx::Rect bound = tiler_->TileRect(tile); gfx 339 cc/layers/tiled_layer.cc gfx::Rect update_rect; gfx 340 cc/layers/tiled_layer.cc gfx::Rect paint_rect; gfx 371 cc/layers/tiled_layer.cc gfx::Rect visible_tile_rect = gfx::IntersectRects( gfx 414 cc/layers/tiled_layer.cc void TiledLayer::MarkTilesForUpdate(gfx::Rect* update_rect, gfx 415 cc/layers/tiled_layer.cc gfx::Rect* paint_rect, gfx 458 cc/layers/tiled_layer.cc void TiledLayer::UpdateTileTextures(const gfx::Rect& update_rect, gfx 459 cc/layers/tiled_layer.cc const gfx::Rect& paint_rect, gfx 474 cc/layers/tiled_layer.cc update_rect_ = gfx::ScaleRect(update_rect, width_scale, height_scale); gfx 482 cc/layers/tiled_layer.cc gfx::Rect painted_opaque_rect; gfx 497 cc/layers/tiled_layer.cc gfx::Rect tile_rect = tiler_->tile_bounds(i, j); gfx 501 cc/layers/tiled_layer.cc gfx::Rect dirty_rect = tile->update_rect; gfx 508 cc/layers/tiled_layer.cc gfx::Rect tile_painted_rect = gfx::IntersectRects(tile_rect, paint_rect); gfx 509 cc/layers/tiled_layer.cc gfx::Rect tile_painted_opaque_rect = gfx 510 cc/layers/tiled_layer.cc gfx::IntersectRects(tile_rect, painted_opaque_rect); gfx 512 cc/layers/tiled_layer.cc gfx::Rect paint_inside_tile_opaque_rect = gfx 513 cc/layers/tiled_layer.cc gfx::IntersectRects(tile->opaque_rect(), tile_painted_rect); gfx 527 cc/layers/tiled_layer.cc gfx::Rect source_rect = tiler_->TileRect(tile); gfx 538 cc/layers/tiled_layer.cc const gfx::Point anchor = tiler_->TileRect(tile).origin(); gfx 541 cc/layers/tiled_layer.cc gfx::Vector2d dest_offset = source_rect.origin() - anchor; gfx 546 cc/layers/tiled_layer.cc gfx::Vector2d paint_offset = source_rect.origin() - paint_rect.origin(); gfx 565 cc/layers/tiled_layer.cc gfx::Size viewport_size = gfx 567 cc/layers/tiled_layer.cc : gfx::Size(); gfx 568 cc/layers/tiled_layer.cc gfx::Rect content_rect(content_bounds()); gfx 579 cc/layers/tiled_layer.cc void SetPriorityForTexture(const gfx::Rect& visible_rect, gfx 580 cc/layers/tiled_layer.cc const gfx::Rect& tile_rect, gfx 612 cc/layers/tiled_layer.cc gfx::Rect create_tiles_rect = IdlePaintRect(); gfx 614 cc/layers/tiled_layer.cc create_tiles_rect = gfx::Rect(content_bounds()); gfx 636 cc/layers/tiled_layer.cc gfx::Rect tile_rect = tiler_->TileRect(tile); gfx 670 cc/layers/tiled_layer.cc gfx::Rect ExpandRectByDelta(const gfx::Rect& rect, const gfx::Vector2d& delta) { gfx 675 cc/layers/tiled_layer.cc return gfx::Rect(x, y, width, height); gfx 688 cc/layers/tiled_layer.cc gfx::Vector2d delta = visible_content_rect().CenterPoint() - gfx 696 cc/layers/tiled_layer.cc gfx::Vector2d major_scroll_delta = gfx 698 cc/layers/tiled_layer.cc gfx::Vector2d(delta.x(), 0) : gfx 699 cc/layers/tiled_layer.cc gfx::Vector2d(0, delta.y()); gfx 705 cc/layers/tiled_layer.cc gfx::Rect bound = visible_content_rect(); gfx 708 cc/layers/tiled_layer.cc bound.Intersect(gfx::Rect(content_bounds())); gfx 741 cc/layers/tiled_layer.cc tiler_->ContentRectToTileIndices(gfx::Rect(content_bounds()), gfx 772 cc/layers/tiled_layer.cc gfx::Rect idle_paint_content_rect = IdlePaintRect(); gfx 791 cc/layers/tiled_layer.cc gfx::Vector2d delta = -predicted_scroll_; gfx 792 cc/layers/tiled_layer.cc delta = gfx::Vector2d(delta.x() == 0 ? 1 : delta.x(), gfx 794 cc/layers/tiled_layer.cc gfx::Vector2d major_delta = gfx 795 cc/layers/tiled_layer.cc (std::abs(delta.x()) > std::abs(delta.y())) ? gfx::Vector2d(delta.x(), 0) gfx 796 cc/layers/tiled_layer.cc : gfx::Vector2d(0, delta.y()); gfx 797 cc/layers/tiled_layer.cc gfx::Vector2d minor_delta = gfx 798 cc/layers/tiled_layer.cc (std::abs(delta.x()) <= std::abs(delta.y())) ? gfx::Vector2d(delta.x(), 0) gfx 799 cc/layers/tiled_layer.cc : gfx::Vector2d(0, delta.y()); gfx 800 cc/layers/tiled_layer.cc gfx::Vector2d deltas[4] = { major_delta, minor_delta, -major_delta, gfx 862 cc/layers/tiled_layer.cc gfx::Rect idle_paint_content_rect = IdlePaintRect(); gfx 889 cc/layers/tiled_layer.cc gfx::Rect TiledLayer::IdlePaintRect() { gfx 892 cc/layers/tiled_layer.cc return gfx::Rect(); gfx 894 cc/layers/tiled_layer.cc gfx::Rect prepaint_rect = visible_content_rect(); gfx 897 cc/layers/tiled_layer.cc gfx::Rect content_rect(content_bounds()); gfx 32 cc/layers/tiled_layer.h virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE; gfx 49 cc/layers/tiled_layer.h void SetTileSize(const gfx::Size& size); gfx 60 cc/layers/tiled_layer.h void InvalidateContentRect(const gfx::Rect& content_rect); gfx 67 cc/layers/tiled_layer.h gfx::Rect IdlePaintRect(); gfx 107 cc/layers/tiled_layer.h void MarkTilesForUpdate(gfx::Rect* update_rect, gfx 108 cc/layers/tiled_layer.h gfx::Rect* paint_rect, gfx 114 cc/layers/tiled_layer.h void UpdateTileTextures(const gfx::Rect& update_rect, gfx 115 cc/layers/tiled_layer.h const gfx::Rect& paint_rect, gfx 134 cc/layers/tiled_layer.h gfx::Vector2d predicted_scroll_; gfx 135 cc/layers/tiled_layer.h gfx::Rect predicted_visible_rect_; gfx 136 cc/layers/tiled_layer.h gfx::Rect previous_visible_rect_; gfx 137 cc/layers/tiled_layer.h gfx::Size previous_content_bounds_; gfx 160 cc/layers/tiled_layer_impl.cc gfx::Rect content_rect = visible_content_rect(); gfx 172 cc/layers/tiled_layer_impl.cc gfx::Rect tile_rect = tiler_->tile_bounds(i, j); gfx 173 cc/layers/tiled_layer_impl.cc gfx::Rect visible_tile_rect = tile_rect; gfx 202 cc/layers/tiled_layer_impl.cc gfx::Rect tile_rect = tiler_->tile_bounds(i, j); gfx 203 cc/layers/tiled_layer_impl.cc gfx::Rect display_rect = tile_rect; gfx 205 cc/layers/tiled_layer_impl.cc gfx::Rect visible_tile_rect = tile_rect; gfx 231 cc/layers/tiled_layer_impl.cc gfx::Rect tile_opaque_rect = gfx 232 cc/layers/tiled_layer_impl.cc contents_opaque() ? tile_rect : gfx::IntersectRects( gfx 237 cc/layers/tiled_layer_impl.cc gfx::Vector2d display_offset = tile_rect.origin() - display_rect.origin(); gfx 238 cc/layers/tiled_layer_impl.cc gfx::Vector2d texture_offset = gfx 240 cc/layers/tiled_layer_impl.cc gfx::RectF tex_coord_rect = gfx::RectF(tile_rect.size()) + texture_offset; gfx 244 cc/layers/tiled_layer_impl.cc gfx::Size texture_size(tile_width, tile_height); gfx 276 cc/layers/tiled_layer_impl.cc const gfx::Rect& opaque_rect, gfx 291 cc/layers/tiled_layer_impl.cc tile->set_opaque_rect(gfx::Rect()); gfx 41 cc/layers/tiled_layer_impl.h const gfx::Rect& opaque_rect, gfx 26 cc/layers/tiled_layer_impl_unittest.cc const gfx::Size& tile_size, gfx 27 cc/layers/tiled_layer_impl_unittest.cc const gfx::Size& layer_size, gfx 37 cc/layers/tiled_layer_impl_unittest.cc gfx::Rect(layer_size); gfx 49 cc/layers/tiled_layer_impl_unittest.cc const gfx::Size& tile_size, gfx 50 cc/layers/tiled_layer_impl_unittest.cc const gfx::Size& layer_size, gfx 60 cc/layers/tiled_layer_impl_unittest.cc gfx::Rect opaque_rect( gfx 62 cc/layers/tiled_layer_impl_unittest.cc gfx::Size(1, 1)); gfx 72 cc/layers/tiled_layer_impl_unittest.cc const gfx::Size& tile_size, gfx 73 cc/layers/tiled_layer_impl_unittest.cc const gfx::Size& layer_size, gfx 75 cc/layers/tiled_layer_impl_unittest.cc const gfx::Rect& visible_content_rect) { gfx 93 cc/layers/tiled_layer_impl_unittest.cc gfx::Size tile_size(90, 90); gfx 96 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(tile_size.width() * num_tiles_x, gfx 116 cc/layers/tiled_layer_impl_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(); gfx 127 cc/layers/tiled_layer_impl_unittest.cc gfx::Rect outside_bounds(-100, -100, 50, 50); gfx 152 cc/layers/tiled_layer_impl_unittest.cc gfx::Size tile_size(10, 10); gfx 155 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(tile_size.width() * num_tiles_x, gfx 175 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(i, j, 0, gfx::Rect(), false); gfx 202 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 207 cc/layers/tiled_layer_impl_unittest.cc gfx::Size(100, 100), gfx 210 cc/layers/tiled_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 211 cc/layers/tiled_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(quads, gfx::Rect(layer_size)); gfx 217 cc/layers/tiled_layer_impl_unittest.cc gfx::Point top_left(65, 73); gfx 218 cc/layers/tiled_layer_impl_unittest.cc gfx::Point bottom_right(182, 198); gfx 219 cc/layers/tiled_layer_impl_unittest.cc gfx::Rect visible_content_rect = gfx::BoundingRect(top_left, bottom_right); gfx 221 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(250, 250); gfx 226 cc/layers/tiled_layer_impl_unittest.cc gfx::Size(50, 50), gfx 227 cc/layers/tiled_layer_impl_unittest.cc gfx::Size(250, 250), gfx 235 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(220, 210); gfx 236 cc/layers/tiled_layer_impl_unittest.cc gfx::Rect visible_content_rect(layer_size); gfx 241 cc/layers/tiled_layer_impl_unittest.cc gfx::Size(100, 100), gfx 255 cc/layers/tiled_layer_impl_unittest.cc gfx::Size tile_size(50, 50); gfx 256 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(250, 250); gfx 264 cc/layers/tiled_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 270 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(gfx::RectF(gfx::PointF(), tile_size), quad->tex_coord_rect) gfx 274 cc/layers/tiled_layer_impl_unittest.cc EXPECT_EQ(gfx::Size(1, 1).ToString(), quad->opaque_rect.size().ToString()) gfx 280 cc/layers/tiled_layer_impl_unittest.cc gfx::Size tile_size(20, 30); gfx 283 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(tile_size.width() * num_tiles_x, gfx 292 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(0, 1, resource_id++, gfx::Rect(0, 0, 1, 1), false); gfx 293 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 3, resource_id++, gfx::Rect(0, 0, 1, 1), false); gfx 294 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 0, resource_id++, gfx::Rect(0, 0, 1, 1), false); gfx 301 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(0, 1, empty_resource, gfx::Rect(0, 0, 1, 1), false); gfx 302 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 3, empty_resource, gfx::Rect(0, 0, 1, 1), false); gfx 303 cc/layers/tiled_layer_impl_unittest.cc layer->PushTileProperties(2, 0, empty_resource, gfx::Rect(0, 0, 1, 1), false); gfx 309 cc/layers/tiled_layer_impl_unittest.cc gfx::Size tile_size(20, 20); gfx 310 cc/layers/tiled_layer_impl_unittest.cc gfx::Size layer_size(0, 0); gfx 36 cc/layers/tiled_layer_unittest.cc TestOcclusionTracker() : OcclusionTracker(gfx::Rect(0, 0, 1000, 1000)) { gfx 269 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 278 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 100, 200)); gfx 279 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); gfx 295 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(1000, 1000)); gfx 303 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 316 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 50, 50)); gfx 318 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(0, 0, 50, 50)); gfx 339 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 360 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); gfx 379 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(500, 500)); gfx 381 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(200, 200, 100, 100); gfx 418 cc/layers/tiled_layer_unittest.cc gfx::Vector2d directions[6] = { gfx::Vector2d(-10, 0), gfx::Vector2d(10, 0), gfx 419 cc/layers/tiled_layer_unittest.cc gfx::Vector2d(0, -10), gfx::Vector2d(0, 10), gfx 420 cc/layers/tiled_layer_unittest.cc gfx::Vector2d(10, 20), gfx 421 cc/layers/tiled_layer_unittest.cc gfx::Vector2d(-20, 10) }; gfx 423 cc/layers/tiled_layer_unittest.cc gfx::Rect pushed_visible_tiles[6] = { gfx 424 cc/layers/tiled_layer_unittest.cc gfx::Rect(2, 2, 2, 1), gfx::Rect(1, 2, 2, 1), gfx::Rect(2, 2, 1, 2), gfx 425 cc/layers/tiled_layer_unittest.cc gfx::Rect(2, 1, 1, 2), gfx::Rect(2, 1, 1, 2), gfx::Rect(2, 2, 2, 1) gfx 429 cc/layers/tiled_layer_unittest.cc gfx::Rect pushed_prepaint_tiles[6] = { gfx 430 cc/layers/tiled_layer_unittest.cc gfx::Rect(2, 2, 3, 1), gfx::Rect(0, 2, 3, 1), gfx::Rect(2, 2, 1, 3), gfx 431 cc/layers/tiled_layer_unittest.cc gfx::Rect(2, 0, 1, 3), gfx::Rect(2, 0, 1, 3), gfx::Rect(2, 2, 3, 1) gfx 436 cc/layers/tiled_layer_unittest.cc gfx::Size bounds = gfx::Size(500, 500); gfx 437 cc/layers/tiled_layer_unittest.cc gfx::Rect visible_rect = gfx::Rect(200, 200, 100, 100); gfx 438 cc/layers/tiled_layer_unittest.cc gfx::Rect previous_visible_rect = gfx 439 cc/layers/tiled_layer_unittest.cc gfx::Rect(visible_rect.origin() + directions[k], visible_rect.size()); gfx 440 cc/layers/tiled_layer_unittest.cc gfx::Rect next_visible_rect = gfx 441 cc/layers/tiled_layer_unittest.cc gfx::Rect(visible_rect.origin() - directions[k], visible_rect.size()); gfx 509 cc/layers/tiled_layer_unittest.cc gfx::Rect layer1_rect(0, 0, 100, 2400); gfx 512 cc/layers/tiled_layer_unittest.cc gfx::Rect layer2_rect(0, 0, 100, 300); gfx 519 cc/layers/tiled_layer_unittest.cc layer2->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); gfx 561 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(0, 0, 100, 100)); gfx 563 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 100)); gfx 565 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); gfx 584 cc/layers/tiled_layer_unittest.cc gfx::Rect(0, 50, 100, 50), layer.get()); gfx 585 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 587 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); gfx 611 cc/layers/tiled_layer_unittest.cc gfx::Rect(0, 50, 100, 50), layer1.get()); gfx 612 cc/layers/tiled_layer_unittest.cc layer1->SetBounds(gfx::Size(100, 200)); gfx 613 cc/layers/tiled_layer_unittest.cc layer2->SetBounds(gfx::Size(100, 200)); gfx 615 cc/layers/tiled_layer_unittest.cc layer1->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); gfx 616 cc/layers/tiled_layer_unittest.cc layer2->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); gfx 641 cc/layers/tiled_layer_unittest.cc gfx::Rect(0, 50, 100, 50), layer2.get()); gfx 642 cc/layers/tiled_layer_unittest.cc layer1->SetBounds(gfx::Size(100, 200)); gfx 643 cc/layers/tiled_layer_unittest.cc layer2->SetBounds(gfx::Size(100, 200)); gfx 645 cc/layers/tiled_layer_unittest.cc layer1->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); gfx 646 cc/layers/tiled_layer_unittest.cc layer2->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); gfx 668 cc/layers/tiled_layer_unittest.cc gfx::Size(viewport_width, viewport_height)); gfx 685 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(layer_width, layer_height)); gfx 686 cc/layers/tiled_layer_unittest.cc gfx::Rect visible_rect(0, 0, layer_width / 2, layer_height); gfx 738 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(300, 300)); gfx 740 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(100, 100, 100, 100); gfx 766 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size()); gfx 770 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(); gfx 791 cc/layers/tiled_layer_unittest.cc gfx::Rect v(0, 0, 100, 100); gfx 792 cc/layers/tiled_layer_unittest.cc gfx::Rect nv(0, 0, 0, 0); gfx 793 cc/layers/tiled_layer_unittest.cc gfx::Rect visible_rect[10] = { nv, nv, v, v, nv, nv, v, v, nv, nv }; gfx 805 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 100)); gfx 812 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 100, 100)); gfx 832 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 834 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); gfx 850 cc/layers/tiled_layer_unittest.cc gfx::Rect(25, 25, 50, 50), layer.get()); gfx 852 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 50, 50)); gfx 870 cc/layers/tiled_layer_unittest.cc gfx::Rect layer_bounds(0, 0, 300, 200); gfx 871 cc/layers/tiled_layer_unittest.cc gfx::Rect content_bounds(0, 0, 200, 250); gfx 886 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 300, 300 * 0.8), layer->update_rect()); gfx 896 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(layer_bounds), layer->update_rect()); gfx 901 cc/layers/tiled_layer_unittest.cc gfx::Rect partial_damage(30, 100, 10, 10); gfx 907 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(45, 80, 15, 8), layer->update_rect()); gfx 920 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 100)); gfx 922 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); gfx 925 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 100, 100), gfx 940 cc/layers/tiled_layer_unittest.cc layer->SetNeedsDisplayRect(gfx::Rect()); gfx 941 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(), layer->last_needs_display_rect()); gfx 945 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 200, 200); gfx 961 cc/layers/tiled_layer_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 100, 100), gfx 979 cc/layers/tiled_layer_unittest.cc gfx::Size content_bounds(300, 300); gfx 980 cc/layers/tiled_layer_unittest.cc gfx::Rect content_rect(content_bounds); gfx 993 cc/layers/tiled_layer_unittest.cc root_layer->SetPosition(gfx::PointF(0, 0)); gfx 996 cc/layers/tiled_layer_unittest.cc child_layer->SetPosition(gfx::PointF(0, 0)); gfx 1001 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(300, 300)); gfx 1030 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(700, 700)); gfx 1031 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 700, 700); gfx 1032 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 700, 700)); gfx 1039 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(200, 200)); gfx 1040 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 200, 200)); gfx 1050 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(size, size)); gfx 1051 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 700, 700); gfx 1052 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, size, size)); gfx 1068 cc/layers/tiled_layer_unittest.cc gfx::Size content_bounds(300, 200); gfx 1069 cc/layers/tiled_layer_unittest.cc gfx::Rect content_rect(content_bounds); gfx 1074 cc/layers/tiled_layer_unittest.cc layer->SetPosition(gfx::PointF(0, 0)); gfx 1079 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(300, 200)); gfx 1097 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 300, 150)); gfx 1113 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(50, 50, 200, 100)); gfx 1129 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 300, 200)); gfx 1138 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(50, 50, 200, 100)); gfx 1154 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(50, 50, 100, 100)); gfx 1182 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(100, 200)); gfx 1203 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(600, 600)); gfx 1204 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); gfx 1207 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(200, 200, 300, 100)); gfx 1209 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); gfx 1211 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); gfx 1212 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1224 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(250, 200, 300, 100)); gfx 1225 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1234 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(250, 250, 300, 100)); gfx 1235 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1252 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(600, 600)); gfx 1253 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); gfx 1258 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(200, 200, 300, 150)); gfx 1259 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 360); gfx 1260 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 360); gfx 1261 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1273 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(200, 200, 300, 150)); gfx 1274 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 350); gfx 1275 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 350); gfx 1276 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1287 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(200, 200, 300, 150)); gfx 1288 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 340); gfx 1289 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 340); gfx 1290 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1309 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(600, 600)); gfx 1310 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); gfx 1313 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(200, 200, 300, 100)); gfx 1314 cc/layers/tiled_layer_unittest.cc layer->draw_properties().drawable_content_rect = gfx::Rect(0, 0, 600, 600); gfx 1315 cc/layers/tiled_layer_unittest.cc layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 600, 600); gfx 1316 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1348 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(600, 600)); gfx 1349 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(600, 600)); gfx 1351 cc/layers/tiled_layer_unittest.cc gfx::Transform screen_transform; gfx 1356 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(100, 100, 150, 50)); gfx 1358 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); gfx 1360 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); gfx 1361 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1378 cc/layers/tiled_layer_unittest.cc gfx::Transform scale_transform; gfx 1388 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(600, 600)); gfx 1389 cc/layers/tiled_layer_unittest.cc layer->SetAnchorPoint(gfx::PointF()); gfx 1390 cc/layers/tiled_layer_unittest.cc layer->SetBounds(gfx::Size(300, 300)); gfx 1395 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(gfx::Size(600, 600).ToString(), gfx 1399 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(200, 200, 300, 50)); gfx 1401 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->bounds()); gfx 1403 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); gfx 1404 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1415 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(200, 200, 300, 100)); gfx 1417 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->bounds()); gfx 1419 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); gfx 1420 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1433 cc/layers/tiled_layer_unittest.cc gfx::Transform screen_transform; gfx 1439 cc/layers/tiled_layer_unittest.cc occluded.SetOcclusion(gfx::Rect(100, 100, 150, 100)); gfx 1441 cc/layers/tiled_layer_unittest.cc gfx::Rect layer_bounds_rect(layer->bounds()); gfx 1443 cc/layers/tiled_layer_unittest.cc gfx::ScaleToEnclosingRect(layer_bounds_rect, 0.5f); gfx 1445 cc/layers/tiled_layer_unittest.cc gfx::Rect(layer->content_bounds()); gfx 1446 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 600, 600)); gfx 1461 cc/layers/tiled_layer_unittest.cc layer_tree_host_->SetViewportSize(gfx::Size(1000, 1000)); gfx 1468 cc/layers/tiled_layer_unittest.cc gfx::Rect opaque_paint_rect; gfx 1471 cc/layers/tiled_layer_unittest.cc gfx::Rect content_bounds = gfx::Rect(0, 0, 100, 200); gfx 1472 cc/layers/tiled_layer_unittest.cc gfx::Rect visible_bounds = gfx::Rect(0, 0, 100, 150); gfx 1481 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); gfx 1492 cc/layers/tiled_layer_unittest.cc opaque_paint_rect = gfx::Rect(10, 10, 90, 190); gfx 1501 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(gfx::IntersectRects(opaque_paint_rect, visible_bounds).ToString(), gfx 1505 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); gfx 1512 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(gfx::IntersectRects(opaque_paint_rect, visible_bounds).ToString(), gfx 1517 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); gfx 1518 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(0, 0, 1, 1)); gfx 1525 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(gfx::IntersectRects(opaque_paint_rect, visible_bounds).ToString(), gfx 1530 cc/layers/tiled_layer_unittest.cc layer->fake_layer_updater()->SetOpaquePaintRect(gfx::Rect()); gfx 1531 cc/layers/tiled_layer_unittest.cc layer->InvalidateContentRect(gfx::Rect(10, 10, 1, 1)); gfx 1538 cc/layers/tiled_layer_unittest.cc EXPECT_EQ(gfx::IntersectRects(gfx::Rect(10, 100, 90, 100), gfx 1545 cc/layers/tiled_layer_unittest.cc gfx::Rect root_rect(0, 0, 300, 200); gfx 1546 cc/layers/tiled_layer_unittest.cc gfx::Rect child_rect(0, 0, 300, 100); gfx 1547 cc/layers/tiled_layer_unittest.cc gfx::Rect child2_rect(0, 100, 300, 100); gfx 1558 cc/layers/tiled_layer_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 1564 cc/layers/tiled_layer_unittest.cc surface->SetAnchorPoint(gfx::PointF()); gfx 1570 cc/layers/tiled_layer_unittest.cc child->SetAnchorPoint(gfx::PointF()); gfx 1576 cc/layers/tiled_layer_unittest.cc child2->SetAnchorPoint(gfx::PointF()); gfx 1715 cc/layers/tiled_layer_unittest.cc const gfx::Rect& content_rect, gfx 1716 cc/layers/tiled_layer_unittest.cc gfx::RectF* opaque) OVERRIDE { gfx 1720 cc/layers/tiled_layer_unittest.cc gfx::Rect PaintedRect() const { return painted_rect_; } gfx 1721 cc/layers/tiled_layer_unittest.cc void ResetPaintedRect() { painted_rect_ = gfx::Rect(); } gfx 1724 cc/layers/tiled_layer_unittest.cc gfx::Rect painted_rect_; gfx 1760 cc/layers/tiled_layer_unittest.cc gfx::Rect layer_rect(0, 0, 30, 31); gfx 1765 cc/layers/tiled_layer_unittest.cc gfx::Rect content_rect(0, 0, 45, 47); gfx 1778 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), layer->tracking_layer_painter()->PaintedRect()); gfx 1796 cc/layers/tiled_layer_unittest.cc gfx::Rect layer_rect(0, 0, 30, 31); gfx 1801 cc/layers/tiled_layer_unittest.cc gfx::Rect content_rect(layer->content_bounds()); gfx 1813 cc/layers/tiled_layer_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), layer->tracking_layer_painter()->PaintedRect()); gfx 75 cc/layers/ui_resource_layer.cc void UIResourceLayer::SetUV(const gfx::PointF& top_left, gfx 76 cc/layers/ui_resource_layer.cc const gfx::PointF& bottom_right) { gfx 157 cc/layers/ui_resource_layer.cc gfx::Size image_size = gfx 35 cc/layers/ui_resource_layer.h void SetUV(const gfx::PointF& top_left, const gfx::PointF& bottom_right); gfx 57 cc/layers/ui_resource_layer.h gfx::PointF uv_top_left_; gfx 58 cc/layers/ui_resource_layer.h gfx::PointF uv_bottom_right_; gfx 52 cc/layers/ui_resource_layer_impl.cc void UIResourceLayerImpl::SetImageBounds(const gfx::Size& image_bounds) { gfx 65 cc/layers/ui_resource_layer_impl.cc void UIResourceLayerImpl::SetUV(const gfx::PointF& top_left, gfx 66 cc/layers/ui_resource_layer_impl.cc const gfx::PointF& bottom_right) { gfx 117 cc/layers/ui_resource_layer_impl.cc gfx::Rect quad_rect(bounds()); gfx 118 cc/layers/ui_resource_layer_impl.cc gfx::Rect opaque_rect(opaque ? quad_rect : gfx::Rect()); gfx 119 cc/layers/ui_resource_layer_impl.cc gfx::Rect visible_quad_rect = quad_sink->UnoccludedContentRect( gfx 33 cc/layers/ui_resource_layer_impl.h void SetImageBounds(const gfx::Size& image_bounds); gfx 36 cc/layers/ui_resource_layer_impl.h void SetUV(const gfx::PointF& top_left, const gfx::PointF& bottom_right); gfx 57 cc/layers/ui_resource_layer_impl.h gfx::Size image_bounds_; gfx 61 cc/layers/ui_resource_layer_impl.h gfx::PointF uv_top_left_; gfx 62 cc/layers/ui_resource_layer_impl.h gfx::PointF uv_bottom_right_; gfx 25 cc/layers/ui_resource_layer_impl_unittest.cc const gfx::Size& bitmap_size, gfx 26 cc/layers/ui_resource_layer_impl_unittest.cc const gfx::Size& layer_size, gfx 29 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect visible_content_rect(layer_size); gfx 62 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size bitmap_size(100, 100); gfx 63 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size layer_size(100, 100);; gfx 86 cc/layers/ui_resource_layer_impl_unittest.cc const gfx::Rect& expected_opaque_bounds) { gfx 94 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect opaque_rect = quads.at(0)->opaque_rect; gfx 103 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size bitmap_size(100, 100); gfx 104 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size layer_size(100, 100);; gfx 112 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect expected_opaque_bounds; gfx 121 cc/layers/ui_resource_layer_impl_unittest.cc expected_opaque_bounds = gfx::Rect(layer->bounds()); gfx 130 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size bitmap_size(100, 100); gfx 131 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size layer_size(100, 100); gfx 137 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect expected_opaque_bounds; gfx 143 cc/layers/ui_resource_layer_impl_unittest.cc expected_opaque_bounds = gfx::Rect(layer->bounds()); gfx 148 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 149 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 162 cc/layers/ui_resource_layer_impl_unittest.cc ui_resource_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 172 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect occluded; gfx 176 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 182 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect occluded(ui_resource_layer_impl->visible_content_rect()); gfx 185 cc/layers/ui_resource_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 191 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect occluded(200, 0, 800, 1000); gfx 197 cc/layers/ui_resource_layer_impl_unittest.cc gfx::Rect(layer_size), gfx 53 cc/layers/ui_resource_layer_unittest.cc test_layer->SetBounds(gfx::Size(100, 100)); gfx 60 cc/layers/ui_resource_layer_unittest.cc gfx::Rect screen_space_clip_rect; gfx 81 cc/layers/ui_resource_layer_unittest.cc test_layer->SetBounds(gfx::Size(100, 100)); gfx 88 cc/layers/ui_resource_layer_unittest.cc gfx::Rect screen_space_clip_rect; gfx 97 cc/layers/ui_resource_layer_unittest.cc layer_tree_host_.get(), UIResourceBitmap(gfx::Size(10, 10), is_opaque)); gfx 34 cc/layers/video_frame_provider_client_impl.cc stream_texture_matrix_ = gfx::Transform( gfx 81 cc/layers/video_frame_provider_client_impl.cc stream_texture_matrix_ = gfx::Transform( gfx 36 cc/layers/video_frame_provider_client_impl.h const gfx::Transform& stream_texture_matrix() const { gfx 57 cc/layers/video_frame_provider_client_impl.h gfx::Transform stream_texture_matrix_; gfx 135 cc/layers/video_layer_impl.cc gfx::Rect quad_rect(content_bounds()); gfx 136 cc/layers/video_layer_impl.cc gfx::Rect opaque_rect(contents_opaque() ? quad_rect : gfx::Rect()); gfx 137 cc/layers/video_layer_impl.cc gfx::Rect visible_rect = frame_->visible_rect(); gfx 138 cc/layers/video_layer_impl.cc gfx::Size coded_size = frame_->coded_size(); gfx 140 cc/layers/video_layer_impl.cc gfx::Rect visible_quad_rect = quad_sink->UnoccludedContentRect( gfx 163 cc/layers/video_layer_impl.cc gfx::PointF uv_top_left(0.f, 0.f); gfx 164 cc/layers/video_layer_impl.cc gfx::PointF uv_bottom_right(tex_width_scale, tex_height_scale); gfx 186 cc/layers/video_layer_impl.cc gfx::RectF tex_coord_rect( gfx 207 cc/layers/video_layer_impl.cc gfx::PointF uv_top_left(0.f, 0.f); gfx 208 cc/layers/video_layer_impl.cc gfx::PointF uv_bottom_right(tex_width_scale, tex_height_scale); gfx 230 cc/layers/video_layer_impl.cc gfx::Transform scale; gfx 274 cc/layers/video_layer_impl.cc gfx::Rect opaque_rect = quad_rect; gfx 321 cc/layers/video_layer_impl.cc SetUpdateRect(gfx::UnionRects(update_rect(), gfx::RectF(bounds()))); gfx 20 cc/layers/video_layer_impl_unittest.cc gfx::Size layer_size(1000, 1000); gfx 21 cc/layers/video_layer_impl_unittest.cc gfx::Size viewport_size(1000, 1000); gfx 28 cc/layers/video_layer_impl_unittest.cc gfx::Size(10, 10), gfx 29 cc/layers/video_layer_impl_unittest.cc gfx::Rect(10, 10), gfx 30 cc/layers/video_layer_impl_unittest.cc gfx::Size(10, 10), gfx 37 cc/layers/video_layer_impl_unittest.cc video_layer_impl->SetAnchorPoint(gfx::PointF()); gfx 46 cc/layers/video_layer_impl_unittest.cc gfx::Rect occluded; gfx 50 cc/layers/video_layer_impl_unittest.cc gfx::Rect(layer_size)); gfx 56 cc/layers/video_layer_impl_unittest.cc gfx::Rect occluded(video_layer_impl->visible_content_rect()); gfx 59 cc/layers/video_layer_impl_unittest.cc LayerTestCommon::VerifyQuadsExactlyCoverRect(impl.quad_list(), gfx::Rect()); gfx 65 cc/layers/video_layer_impl_unittest.cc gfx::Rect occluded(200, 0, 800, 1000); gfx 71 cc/layers/video_layer_impl_unittest.cc gfx::Rect(layer_size), gfx 33 cc/output/begin_frame_args.cc return BeginFrameArgs(gfx::FrameTime::Now(), gfx 39 cc/output/begin_frame_args.cc base::TimeTicks now = gfx::FrameTime::Now(); gfx 46 cc/output/begin_frame_args.cc base::TimeTicks now = gfx::FrameTime::Now(); gfx 27 cc/output/compositor_frame_metadata.h gfx::Vector2dF root_scroll_offset; gfx 32 cc/output/compositor_frame_metadata.h gfx::SizeF viewport_size; gfx 33 cc/output/compositor_frame_metadata.h gfx::SizeF root_layer_size; gfx 39 cc/output/compositor_frame_metadata.h gfx::Vector2dF location_bar_offset; gfx 40 cc/output/compositor_frame_metadata.h gfx::Vector2dF location_bar_content_translation; gfx 58 cc/output/copy_output_request.cc const gfx::Size& size, gfx 49 cc/output/copy_output_request.h void set_area(const gfx::Rect& area) { gfx 54 cc/output/copy_output_request.h gfx::Rect area() const { return area_; } gfx 65 cc/output/copy_output_request.h void SendTextureResult(const gfx::Size& size, gfx 79 cc/output/copy_output_request.h gfx::Rect area_; gfx 23 cc/output/copy_output_result.cc const gfx::Size& size, gfx 29 cc/output/copy_output_result.h const gfx::Size& size, gfx 42 cc/output/copy_output_result.h gfx::Size size() const { return size_; } gfx 50 cc/output/copy_output_result.h explicit CopyOutputResult(const gfx::Size& size, gfx 54 cc/output/copy_output_result.h gfx::Size size_; gfx 101 cc/output/delegating_renderer.cc const gfx::Rect& device_viewport_rect, gfx 102 cc/output/delegating_renderer.cc const gfx::Rect& device_clip_rect, gfx 134 cc/output/delegating_renderer.cc const gfx::Rect& rect) { gfx 34 cc/output/delegating_renderer.h const gfx::Rect& device_viewport_rect, gfx 35 cc/output/delegating_renderer.h const gfx::Rect& device_clip_rect, gfx 44 cc/output/delegating_renderer.h const gfx::Rect& rect) OVERRIDE; gfx 102 cc/output/delegating_renderer_unittest.cc gfx::Rect(3, 3, 10, 10), gfx 103 cc/output/delegating_renderer_unittest.cc gfx::Transform()); gfx 110 cc/output/delegating_renderer_unittest.cc gfx::Rect(3, 3, 10, 10), gfx 111 cc/output/delegating_renderer_unittest.cc gfx::Transform()); gfx 21 cc/output/direct_renderer.cc static gfx::Transform OrthoProjectionMatrix(float left, gfx 29 cc/output/direct_renderer.cc gfx::Transform proj; gfx 44 cc/output/direct_renderer.cc static gfx::Transform window_matrix(int x, int y, int width, int height) { gfx 45 cc/output/direct_renderer.cc gfx::Transform canvas; gfx 70 cc/output/direct_renderer.cc gfx::RectF DirectRenderer::QuadVertexRect() { gfx 71 cc/output/direct_renderer.cc return gfx::RectF(-0.5f, -0.5f, 1.f, 1.f); gfx 75 cc/output/direct_renderer.cc void DirectRenderer::QuadRectTransform(gfx::Transform* quad_rect_transform, gfx 76 cc/output/direct_renderer.cc const gfx::Transform& quad_transform, gfx 77 cc/output/direct_renderer.cc const gfx::RectF& quad_rect) { gfx 85 cc/output/direct_renderer.cc const gfx::Rect& draw_rect, gfx 86 cc/output/direct_renderer.cc const gfx::Rect& viewport_rect, gfx 87 cc/output/direct_renderer.cc const gfx::Size& surface_size) { gfx 106 cc/output/direct_renderer.cc gfx::Rect window_rect = viewport_rect; gfx 120 cc/output/direct_renderer.cc gfx::Rect DirectRenderer::MoveFromDrawToWindowSpace( gfx 121 cc/output/direct_renderer.cc const gfx::RectF& draw_rect) const { gfx 122 cc/output/direct_renderer.cc gfx::Rect window_rect = gfx::ToEnclosingRect(draw_rect); gfx 147 cc/output/direct_renderer.cc const gfx::Vector2d& amount) { gfx 156 cc/output/direct_renderer.cc base::hash_map<RenderPass::Id, gfx::Size> render_passes_in_frame; gfx 158 cc/output/direct_renderer.cc render_passes_in_frame.insert(std::pair<RenderPass::Id, gfx::Size>( gfx 168 cc/output/direct_renderer.cc base::hash_map<RenderPass::Id, gfx::Size>::const_iterator it = gfx 175 cc/output/direct_renderer.cc gfx::Size required_size = it->second; gfx 203 cc/output/direct_renderer.cc const gfx::Rect& device_viewport_rect, gfx 204 cc/output/direct_renderer.cc const gfx::Rect& device_clip_rect, gfx 218 cc/output/direct_renderer.cc frame.root_damage_rect.Intersect(gfx::Rect(device_viewport_rect.size())); gfx 257 cc/output/direct_renderer.cc gfx::RectF DirectRenderer::ComputeScissorRectForRenderPass( gfx 259 cc/output/direct_renderer.cc gfx::RectF render_pass_scissor = frame->current_render_pass->output_rect; gfx 265 cc/output/direct_renderer.cc gfx::Transform inverse_transform(gfx::Transform::kSkipInitialization); gfx 269 cc/output/direct_renderer.cc gfx::RectF damage_rect_in_render_pass_space = gfx 285 cc/output/direct_renderer.cc gfx::Rect DirectRenderer::DeviceClipRectInWindowSpace(const DrawingFrame* frame) gfx 287 cc/output/direct_renderer.cc gfx::Rect device_clip_rect = frame->device_clip_rect; gfx 311 cc/output/direct_renderer.cc const gfx::RectF& render_pass_scissor, gfx 313 cc/output/direct_renderer.cc gfx::RectF quad_scissor_rect = render_pass_scissor; gfx 329 cc/output/direct_renderer.cc const gfx::RectF& draw_space_rect) { gfx 330 cc/output/direct_renderer.cc gfx::Rect window_space_rect = MoveFromDrawToWindowSpace(draw_space_rect); gfx 345 cc/output/direct_renderer.cc gfx::RectF render_pass_scissor; gfx 349 cc/output/direct_renderer.cc gfx::Rect(output_surface_->SurfaceSize()))) gfx 413 cc/output/direct_renderer.cc gfx::Size size = RenderPassTextureSize(render_pass); gfx 460 cc/output/direct_renderer.cc gfx::Size DirectRenderer::RenderPassTextureSize(const RenderPass* render_pass) { gfx 39 cc/output/direct_renderer.h const gfx::Rect& device_viewport_rect, gfx 40 cc/output/direct_renderer.h const gfx::Rect& device_clip_rect, gfx 51 cc/output/direct_renderer.h gfx::RectF root_damage_rect; gfx 52 cc/output/direct_renderer.h gfx::Rect device_viewport_rect; gfx 53 cc/output/direct_renderer.h gfx::Rect device_clip_rect; gfx 55 cc/output/direct_renderer.h gfx::Transform projection_matrix; gfx 56 cc/output/direct_renderer.h gfx::Transform window_matrix; gfx 65 cc/output/direct_renderer.h void SetEnlargePassTextureAmountForTesting(const gfx::Vector2d& amount); gfx 73 cc/output/direct_renderer.h static gfx::RectF QuadVertexRect(); gfx 74 cc/output/direct_renderer.h static void QuadRectTransform(gfx::Transform* quad_rect_transform, gfx 75 cc/output/direct_renderer.h const gfx::Transform& quad_transform, gfx 76 cc/output/direct_renderer.h const gfx::RectF& quad_rect); gfx 78 cc/output/direct_renderer.h const gfx::Rect& draw_rect, gfx 79 cc/output/direct_renderer.h const gfx::Rect& viewport_rect, gfx 80 cc/output/direct_renderer.h const gfx::Size& surface_size); gfx 81 cc/output/direct_renderer.h gfx::Rect MoveFromDrawToWindowSpace(const gfx::RectF& draw_rect) const; gfx 84 cc/output/direct_renderer.h gfx::Rect DeviceClipRectInWindowSpace(const DrawingFrame* frame) const; gfx 85 cc/output/direct_renderer.h static gfx::RectF ComputeScissorRectForRenderPass(const DrawingFrame* frame); gfx 90 cc/output/direct_renderer.h const gfx::RectF& render_pass_scissor, gfx 93 cc/output/direct_renderer.h const gfx::RectF& draw_space_rect); gfx 95 cc/output/direct_renderer.h static gfx::Size RenderPassTextureSize(const RenderPass* render_pass); gfx 105 cc/output/direct_renderer.h const gfx::Rect& target_rect) = 0; gfx 106 cc/output/direct_renderer.h virtual void SetDrawViewport(const gfx::Rect& window_space_viewport) = 0; gfx 107 cc/output/direct_renderer.h virtual void SetScissorTestRect(const gfx::Rect& scissor_rect) = 0; gfx 136 cc/output/direct_renderer.h gfx::Rect current_draw_rect_; gfx 137 cc/output/direct_renderer.h gfx::Rect current_viewport_rect_; gfx 138 cc/output/direct_renderer.h gfx::Size current_surface_size_; gfx 141 cc/output/direct_renderer.h gfx::Vector2d enlarge_pass_texture_amount_; gfx 43 cc/output/filter_operation.cc const gfx::Point& offset, gfx 123 cc/output/filter_operation.cc gfx::Point(0, 0), 0.f, SK_ColorTRANSPARENT); gfx 197 cc/output/filter_operation.cc gfx::Tween::FloatValueBetween(progress, from_op.amount(), to_op.amount()), gfx 201 cc/output/filter_operation.cc gfx::Point blended_offset( gfx 202 cc/output/filter_operation.cc gfx::Tween::LinearIntValueBetween(progress, gfx 205 cc/output/filter_operation.cc gfx::Tween::LinearIntValueBetween(progress, gfx 209 cc/output/filter_operation.cc blended_filter.set_drop_shadow_color(gfx::Tween::ColorValueBetween( gfx 213 cc/output/filter_operation.cc std::max(gfx::Tween::LinearIntValueBetween( gfx 55 cc/output/filter_operation.h gfx::Point drop_shadow_offset() const { gfx 116 cc/output/filter_operation.h static FilterOperation CreateDropShadowFilter(const gfx::Point& offset, gfx 158 cc/output/filter_operation.h void set_drop_shadow_offset(const gfx::Point& offset) { gfx 200 cc/output/filter_operation.h const gfx::Point& offset, gfx 213 cc/output/filter_operation.h gfx::Point drop_shadow_offset_; gfx 28 cc/output/filter_operations_unittest.cc ops.Append(FilterOperation::CreateDropShadowFilter(gfx::Point(3, 8), 20, 0)); gfx 134 cc/output/filter_operations_unittest.cc DropShadow, DROP_SHADOW, gfx::Point(3, 4), 0.4f, 0xffffff00); gfx 406 cc/output/filter_operations_unittest.cc gfx::Point(0, 0), 2.f, SkColorSetARGB(15, 34, 68, 136)); gfx 408 cc/output/filter_operations_unittest.cc gfx::Point(3, 5), 6.f, SkColorSetARGB(51, 30, 60, 120)); gfx 412 cc/output/filter_operations_unittest.cc gfx::Point(-2, -4), 0.f, SkColorSetARGB(0, 0, 0, 0)); gfx 417 cc/output/filter_operations_unittest.cc gfx::Point(1, 1), 3.f, SkColorSetARGB(24, 32, 64, 128)); gfx 422 cc/output/filter_operations_unittest.cc gfx::Point(2, 4), 5.f, SkColorSetARGB(42, 30, 61, 121)); gfx 427 cc/output/filter_operations_unittest.cc gfx::Point(5, 8), 8.f, SkColorSetARGB(69, 30, 59, 118)); gfx 433 cc/output/filter_operations_unittest.cc gfx::Point(4, 4), 4.f, SkColorSetARGB(255, 40, 0, 0)); gfx 437 cc/output/filter_operations_unittest.cc gfx::Point(3, 3), 3.f, SkColorSetARGB(191, 40, 0, 0)); gfx 442 cc/output/filter_operations_unittest.cc gfx::Point(1, 1), 1.f, SkColorSetARGB(64, 40, 0, 0)); gfx 15 cc/output/geometry_binding.cc const gfx::RectF& quad_vertex_rect) gfx 11 cc/output/geometry_binding.h namespace gfx { gfx 25 cc/output/geometry_binding.h const gfx::RectF& quad_vertex_rect); gfx 25 cc/output/gl_frame_data.h gfx::Size size; gfx 26 cc/output/gl_frame_data.h gfx::Rect sub_buffer_rect; gfx 86 cc/output/gl_renderer.cc gfx::Rect content_rect, gfx 114 cc/output/gl_renderer.cc const gfx::Rect content_rect_; gfx 131 cc/output/gl_renderer.cc gfx::PointF uv0 = quad->uv_top_left; gfx 132 cc/output/gl_renderer.cc gfx::PointF uv1 = quad->uv_bottom_right; gfx 205 cc/output/gl_renderer.cc shared_geometry_quad_(gfx::RectF(-0.5f, -0.5f, 1.0f, 1.0f)), gfx 428 cc/output/gl_renderer.cc gfx::Rect tile_rect = quad->rect; gfx 463 cc/output/gl_renderer.cc gfx::Rect layer_rect = quad->rect; gfx 464 cc/output/gl_renderer.cc gfx::Transform render_matrix = quad->quadTransform(); gfx 493 cc/output/gl_renderer.cc const gfx::Point& origin, gfx 587 cc/output/gl_renderer.cc gfx::Size source_size = source_texture_resource->size(); gfx 588 cc/output/gl_renderer.cc gfx::Size background_size = background_texture_resource->size(); gfx 699 cc/output/gl_renderer.cc const gfx::Transform& contents_device_transform, gfx 700 cc/output/gl_renderer.cc const gfx::Transform& contents_device_transform_inverse, gfx 739 cc/output/gl_renderer.cc gfx::Rect window_rect = gfx::ToEnclosingRect(MathUtil::MapClippedRect( gfx 801 cc/output/gl_renderer.cc gfx::Transform device_to_framebuffer_transform; gfx 844 cc/output/gl_renderer.cc gfx::Transform quad_rect_matrix; gfx 846 cc/output/gl_renderer.cc gfx::Transform contents_device_transform = gfx 851 cc/output/gl_renderer.cc gfx::Transform contents_device_transform_inverse( gfx 852 cc/output/gl_renderer.cc gfx::Transform::kSkipInitialization); gfx 942 cc/output/gl_renderer.cc gfx::QuadF device_quad = MathUtil::MapQuad( gfx 944 cc/output/gl_renderer.cc LayerQuad device_layer_bounds(gfx::QuadF(device_quad.BoundingBox())); gfx 950 cc/output/gl_renderer.cc !gfx::IsNearestRectWithinDistance(device_quad.BoundingBox(), gfx 1215 cc/output/gl_renderer.cc gfx::QuadF surface_quad = MathUtil::MapQuad(contents_device_transform_inverse, gfx 1252 cc/output/gl_renderer.cc const gfx::Transform& device_transform, gfx 1254 cc/output/gl_renderer.cc gfx::QuadF* local_quad, gfx 1256 cc/output/gl_renderer.cc gfx::Rect tile_rect = quad->visible_rect; gfx 1259 cc/output/gl_renderer.cc gfx::QuadF device_layer_quad = MathUtil::MapQuad( gfx 1260 cc/output/gl_renderer.cc device_transform, gfx::QuadF(quad->visibleContentRect()), &clipped); gfx 1265 cc/output/gl_renderer.cc gfx::IsNearestRectWithinDistance(device_layer_quad.BoundingBox(), gfx 1272 cc/output/gl_renderer.cc LayerQuad device_layer_bounds(gfx::QuadF(device_layer_quad.BoundingBox())); gfx 1281 cc/output/gl_renderer.cc gfx::PointF bottom_right = tile_rect.bottom_right(); gfx 1282 cc/output/gl_renderer.cc gfx::PointF bottom_left = tile_rect.bottom_left(); gfx 1283 cc/output/gl_renderer.cc gfx::PointF top_left = tile_rect.origin(); gfx 1284 cc/output/gl_renderer.cc gfx::PointF top_right = tile_rect.top_right(); gfx 1311 cc/output/gl_renderer.cc float sign = gfx::QuadF(tile_rect).IsCounterClockwise() ? -1 : 1; gfx 1323 cc/output/gl_renderer.cc gfx::Transform inverse_device_transform(gfx::Transform::kSkipInitialization); gfx 1337 cc/output/gl_renderer.cc gfx::Rect tile_rect = quad->visible_rect; gfx 1348 cc/output/gl_renderer.cc gfx::Transform device_transform = gfx 1354 cc/output/gl_renderer.cc gfx::QuadF local_quad = gfx::QuadF(gfx::RectF(tile_rect)); gfx 1395 cc/output/gl_renderer.cc gfx::RectF centered_rect( gfx 1396 cc/output/gl_renderer.cc gfx::PointF(-0.5f * tile_rect.width(), -0.5f * tile_rect.height()), gfx 1438 cc/output/gl_renderer.cc gfx::Rect tile_rect = quad->visible_rect; gfx 1440 cc/output/gl_renderer.cc gfx::RectF tex_coord_rect = MathUtil::ScaleRectProportional( gfx 1446 cc/output/gl_renderer.cc gfx::RectF clamp_geom_rect(tile_rect); gfx 1447 cc/output/gl_renderer.cc gfx::RectF clamp_tex_rect(tex_coord_rect); gfx 1477 cc/output/gl_renderer.cc gfx::Transform device_transform = gfx 1483 cc/output/gl_renderer.cc gfx::QuadF local_quad = gfx::QuadF(gfx::RectF(tile_rect)); gfx 1506 cc/output/gl_renderer.cc gfx::Size texture_size = quad->texture_size; gfx 1601 cc/output/gl_renderer.cc gfx::RectF centered_rect( gfx 1602 cc/output/gl_renderer.cc gfx::PointF(-0.5f * tile_rect.width(), -0.5f * tile_rect.height()), gfx 1792 cc/output/gl_renderer.cc gfx::Rect(quad->texture_size), gfx 1793 cc/output/gl_renderer.cc gfx::Rect(quad->texture_size), gfx 1794 cc/output/gl_renderer.cc gfx::Vector2d()); gfx 1949 cc/output/gl_renderer.cc gfx::Transform quad_rect_matrix; gfx 2006 cc/output/gl_renderer.cc swap_buffer_rect_.Union(gfx::ToEnclosingRect(frame->root_damage_rect)); gfx 2039 cc/output/gl_renderer.cc gfx::Rect copy_rect = frame->current_render_pass->output_rect; gfx 2045 cc/output/gl_renderer.cc void GLRenderer::ToGLMatrix(float* gl_matrix, const gfx::Transform& transform) { gfx 2049 cc/output/gl_renderer.cc void GLRenderer::SetShaderQuadF(const gfx::QuadF& quad, int quad_location) { gfx 2100 cc/output/gl_renderer.cc const gfx::Transform& draw_transform, gfx 2101 cc/output/gl_renderer.cc const gfx::RectF& quad_rect, gfx 2103 cc/output/gl_renderer.cc gfx::Transform quad_rect_matrix; gfx 2114 cc/output/gl_renderer.cc const gfx::Rect& rect, gfx 2115 cc/output/gl_renderer.cc const gfx::Transform& draw_matrix, gfx 2159 cc/output/gl_renderer.cc gfx::Size surface_size = output_surface_->SurfaceSize(); gfx 2168 cc/output/gl_renderer.cc swap_buffer_rect_.Intersect(gfx::Rect(surface_size)); gfx 2173 cc/output/gl_renderer.cc gfx::Rect(swap_buffer_rect_.x(), gfx 2179 cc/output/gl_renderer.cc gfx::Rect(output_surface_->SurfaceSize()); gfx 2188 cc/output/gl_renderer.cc swap_buffer_rect_ = gfx::Rect(); gfx 2229 cc/output/gl_renderer.cc void GLRenderer::GetFramebufferPixels(void* pixels, const gfx::Rect& rect) { gfx 2241 cc/output/gl_renderer.cc gfx::Rect window_rect = MoveFromDrawToWindowSpace(rect); gfx 2248 cc/output/gl_renderer.cc const gfx::Rect& rect, gfx 2256 cc/output/gl_renderer.cc gfx::Rect window_rect = MoveFromDrawToWindowSpace(rect); gfx 2339 cc/output/gl_renderer.cc const gfx::Rect& window_rect, gfx 2373 cc/output/gl_renderer.cc temporary_texture, RGBA_8888, gfx::Rect(current_surface_size_)); gfx 2455 cc/output/gl_renderer.cc const gfx::Size& size) { gfx 2522 cc/output/gl_renderer.cc const gfx::Rect& window_rect) { gfx 2544 cc/output/gl_renderer.cc const gfx::Rect& viewport_rect) { gfx 2566 cc/output/gl_renderer.cc const gfx::Rect& target_rect) { gfx 2586 cc/output/gl_renderer.cc frame, target_rect, gfx::Rect(target_rect.size()), target_rect.size()); gfx 2590 cc/output/gl_renderer.cc void GLRenderer::SetScissorTestRect(const gfx::Rect& scissor_rect) { gfx 2609 cc/output/gl_renderer.cc void GLRenderer::SetDrawViewport(const gfx::Rect& window_space_viewport) { gfx 66 cc/output/gl_renderer.h const gfx::Rect& rect) OVERRIDE; gfx 92 cc/output/gl_renderer.h const gfx::QuadF& SharedGeometryQuad() const { return shared_geometry_quad_; } gfx 97 cc/output/gl_renderer.h void GetFramebufferPixelsAsync(const gfx::Rect& rect, gfx 101 cc/output/gl_renderer.h const gfx::Rect& device_rect); gfx 112 cc/output/gl_renderer.h const gfx::Rect& target_rect) OVERRIDE; gfx 113 cc/output/gl_renderer.h virtual void SetDrawViewport(const gfx::Rect& window_space_viewport) OVERRIDE; gfx 114 cc/output/gl_renderer.h virtual void SetScissorTestRect(const gfx::Rect& scissor_rect) OVERRIDE; gfx 136 cc/output/gl_renderer.h static bool SetupQuadForAntialiasing(const gfx::Transform& device_transform, gfx 138 cc/output/gl_renderer.h gfx::QuadF* local_quad, gfx 145 cc/output/gl_renderer.h static void ToGLMatrix(float* gl_matrix, const gfx::Transform& transform); gfx 154 cc/output/gl_renderer.h const gfx::Transform& contents_device_transform, gfx 155 cc/output/gl_renderer.h const gfx::Transform& contents_device_transformInverse, gfx 177 cc/output/gl_renderer.h void SetShaderQuadF(const gfx::QuadF& quad, int quad_location); gfx 179 cc/output/gl_renderer.h const gfx::Transform& draw_transform, gfx 180 cc/output/gl_renderer.h const gfx::RectF& quad_rect, gfx 186 cc/output/gl_renderer.h const gfx::Rect& rect, gfx 187 cc/output/gl_renderer.h const gfx::Transform& draw_matrix, gfx 192 cc/output/gl_renderer.h const gfx::Rect& viewport_rect); gfx 204 cc/output/gl_renderer.h const gfx::Rect& window_rect, gfx 211 cc/output/gl_renderer.h const gfx::Size& size); gfx 235 cc/output/gl_renderer.h gfx::QuadF shared_geometry_quad_; gfx 414 cc/output/gl_renderer.h gfx::Rect swap_buffer_rect_; gfx 415 cc/output/gl_renderer.h gfx::Rect scissor_rect_; gfx 416 cc/output/gl_renderer.h gfx::Rect viewport_; gfx 331 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 339 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 356 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 364 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 375 cc/output/gl_renderer_unittest.cc renderer_->GetFramebufferPixels(pixels, gfx::Rect(0, 0, 1, 1)); gfx 381 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 389 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 605 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 609 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 652 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 656 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 692 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 696 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 774 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 778 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 844 cc/output/gl_renderer_unittest.cc &render_passes_in_draw_order_, id, gfx::Rect(100, 100), gfx::Transform()); gfx 880 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(100, 100); gfx 921 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(10, 10); gfx 927 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 934 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1013 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 1015 cc/output/gl_renderer_unittest.cc gfx::Rect grand_child_rect(25, 25); gfx 1021 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1024 cc/output/gl_renderer_unittest.cc gfx::Rect child_rect(50, 50); gfx 1029 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1036 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1077 cc/output/gl_renderer_unittest.cc surface_size_ = gfx::Size(500, 500); gfx 1079 cc/output/gl_renderer_unittest.cc virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE {} gfx 1080 cc/output/gl_renderer_unittest.cc void set_fixed_size(const gfx::Size& size) { surface_size_ = size; } gfx 1092 cc/output/gl_renderer_unittest.cc output_surface->set_fixed_size(gfx::Size(100, 100)); gfx 1108 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(100, 100); gfx 1109 cc/output/gl_renderer_unittest.cc gfx::Rect clip_rect(100, 100); gfx 1117 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1119 cc/output/gl_renderer_unittest.cc root_pass->damage_rect = gfx::RectF(2.f, 2.f, 3.f, 3.f); gfx 1137 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1139 cc/output/gl_renderer_unittest.cc root_pass->damage_rect = gfx::RectF(root_pass->output_rect); gfx 1158 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1160 cc/output/gl_renderer_unittest.cc root_pass->damage_rect = gfx::RectF(root_pass->output_rect); gfx 1176 cc/output/gl_renderer_unittest.cc clip_rect = gfx::Rect(10, 10, 10, 10); gfx 1181 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1183 cc/output/gl_renderer_unittest.cc root_pass->damage_rect = gfx::RectF(root_pass->output_rect); gfx 1197 cc/output/gl_renderer_unittest.cc viewport_rect = gfx::Rect(10, 10, 10, 10); gfx 1202 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1204 cc/output/gl_renderer_unittest.cc root_pass->damage_rect = gfx::RectF(root_pass->output_rect); gfx 1218 cc/output/gl_renderer_unittest.cc clip_rect = gfx::Rect(100, 100); gfx 1219 cc/output/gl_renderer_unittest.cc viewport_rect = gfx::Rect(50, 50); gfx 1224 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1226 cc/output/gl_renderer_unittest.cc root_pass->damage_rect = gfx::RectF(root_pass->output_rect); gfx 1298 cc/output/gl_renderer_unittest.cc gfx::Rect device_viewport_rect(10, 10, 100, 100); gfx 1299 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(device_viewport_rect.size()); gfx 1300 cc/output/gl_renderer_unittest.cc gfx::Rect quad_rect = gfx::Rect(20, 20, 20, 20); gfx 1306 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1319 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 1321 cc/output/gl_renderer_unittest.cc gfx::Rect child_rect(50, 50); gfx 1329 cc/output/gl_renderer_unittest.cc gfx::Size(20, 12), gfx 1358 cc/output/gl_renderer_unittest.cc gfx::Transform transform_causing_aa; gfx 1365 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1370 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1373 cc/output/gl_renderer_unittest.cc root_pass, child_pass, 0, FilterOperations(), gfx::Transform()); gfx 1395 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1397 cc/output/gl_renderer_unittest.cc AddRenderPassQuad(root_pass, child_pass, 0, filters, gfx::Transform()); gfx 1414 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1419 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1422 cc/output/gl_renderer_unittest.cc root_pass, child_pass, mask, FilterOperations(), gfx::Transform()); gfx 1439 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1444 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1446 cc/output/gl_renderer_unittest.cc AddRenderPassQuad(root_pass, child_pass, mask, filters, gfx::Transform()); gfx 1468 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1493 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1517 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1559 cc/output/gl_renderer_unittest.cc gfx::Rect child_rect(50, 50); gfx 1563 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 1567 cc/output/gl_renderer_unittest.cc gfx::Transform transform_preventing_aa; gfx 1575 cc/output/gl_renderer_unittest.cc MathUtil::MapQuad(transform_preventing_aa, gfx::QuadF(child_rect), &clipped); gfx 1586 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1605 cc/output/gl_renderer_unittest.cc gfx::Rect viewport_rect(1, 1); gfx 1609 cc/output/gl_renderer_unittest.cc gfx::Transform pixel_aligned_transform_causing_aa; gfx 1616 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1654 cc/output/gl_renderer_unittest.cc surface_size_ = gfx::Size(100, 100); gfx 1660 cc/output/gl_renderer_unittest.cc MOCK_METHOD2(Reshape, void(const gfx::Size& size, float scale_factor)); gfx 1685 cc/output/gl_renderer_unittest.cc const gfx::Rect& device_viewport_rect) { gfx 1690 cc/output/gl_renderer_unittest.cc gfx::Transform()); gfx 1729 cc/output/gl_renderer_unittest.cc gfx::Rect device_viewport_rect(1, 1); gfx 1737 cc/output/gl_renderer_unittest.cc gfx::Rect device_viewport_rect(1, 1); gfx 1743 cc/output/gl_renderer_unittest.cc device_viewport_rect = gfx::Rect(2, 2); gfx 1753 cc/output/gl_renderer_unittest.cc device_viewport_rect = gfx::Rect(1, 1); gfx 93 cc/output/output_surface.cc if (gfx::FrameTime::TimestampsAreHighRes()) gfx 142 cc/output/output_surface.cc void OutputSurface::SetNeedsRedrawRect(const gfx::Rect& damage_rect) { gfx 203 cc/output/output_surface.cc if (gfx::FrameTime::Now() < RetroactiveBeginImplFrameDeadline()) gfx 247 cc/output/output_surface.cc void OutputSurface::SetExternalDrawConstraints(const gfx::Transform& transform, gfx 248 cc/output/output_surface.cc const gfx::Rect& viewport, gfx 249 cc/output/output_surface.cc const gfx::Rect& clip, gfx 361 cc/output/output_surface.cc void OutputSurface::Reshape(const gfx::Size& size, float scale_factor) { gfx 375 cc/output/output_surface.cc gfx::Size OutputSurface::SurfaceSize() const { gfx 396 cc/output/output_surface.cc gfx::Rect(frame->gl_frame_data->size)) { gfx 25 cc/output/output_surface.h namespace gfx { gfx 118 cc/output/output_surface.h virtual void Reshape(const gfx::Size& size, float scale_factor); gfx 119 cc/output/output_surface.h virtual gfx::Size SurfaceSize() const; gfx 164 cc/output/output_surface.h gfx::Size surface_size_; gfx 185 cc/output/output_surface.h void SetNeedsRedrawRect(const gfx::Rect& damage_rect); gfx 192 cc/output/output_surface.h void SetExternalDrawConstraints(const gfx::Transform& transform, gfx 193 cc/output/output_surface.h const gfx::Rect& viewport, gfx 194 cc/output/output_surface.h const gfx::Rect& clip, gfx 16 cc/output/output_surface_client.h namespace gfx { gfx 33 cc/output/output_surface_client.h virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) = 0; gfx 39 cc/output/output_surface_client.h virtual void SetExternalDrawConstraints(const gfx::Transform& transform, gfx 40 cc/output/output_surface_client.h const gfx::Rect& viewport, gfx 41 cc/output/output_surface_client.h const gfx::Rect& clip, gfx 391 cc/output/output_surface_unittest.cc gfx::FrameTime::Now() - base::TimeDelta::FromSeconds(1), big_interval); gfx 12 cc/output/overlay_candidate.cc : transform(gfx::OVERLAY_TRANSFORM_NONE), gfx 22 cc/output/overlay_candidate.cc gfx::OverlayTransform OverlayCandidate::GetOverlayTransform( gfx 23 cc/output/overlay_candidate.cc const gfx::Transform& quad_transform, gfx 26 cc/output/overlay_candidate.cc return gfx::OVERLAY_TRANSFORM_INVALID; gfx 28 cc/output/overlay_candidate.cc return flipped ? gfx::OVERLAY_TRANSFORM_FLIP_VERTICAL gfx 29 cc/output/overlay_candidate.cc : gfx::OVERLAY_TRANSFORM_NONE; gfx 33 cc/output/overlay_candidate.cc gfx::Rect OverlayCandidate::GetOverlayRect(const gfx::Transform& quad_transform, gfx 34 cc/output/overlay_candidate.cc const gfx::Rect& rect) { gfx 37 cc/output/overlay_candidate.cc gfx::RectF float_rect(rect); gfx 39 cc/output/overlay_candidate.cc return gfx::ToNearestRect(float_rect); gfx 21 cc/output/overlay_candidate.h static gfx::OverlayTransform GetOverlayTransform( gfx 22 cc/output/overlay_candidate.h const gfx::Transform& quad_transform, gfx 24 cc/output/overlay_candidate.h static gfx::Rect GetOverlayRect(const gfx::Transform& quad_transform, gfx 25 cc/output/overlay_candidate.h const gfx::Rect& rect); gfx 31 cc/output/overlay_candidate.h gfx::OverlayTransform transform; gfx 35 cc/output/overlay_candidate.h gfx::Rect display_rect; gfx 37 cc/output/overlay_candidate.h gfx::RectF uv_rect; gfx 41 cc/output/overlay_strategy_single_on_top.cc gfx::OverlayTransform overlay_transform = gfx 43 cc/output/overlay_strategy_single_on_top.cc if (overlay_transform == gfx::OVERLAY_TRANSFORM_INVALID || gfx 30 cc/output/overlay_unittest.cc const gfx::Rect kOverlayRect(0, 0, 128, 128); gfx 31 cc/output/overlay_unittest.cc const gfx::PointF kUVTopLeft(0.1f, 0.2f); gfx 32 cc/output/overlay_unittest.cc const gfx::PointF kUVBottomRight(1.0f, 1.0f); gfx 104 cc/output/overlay_unittest.cc gfx::Rect output_rect(0, 0, 256, 256); gfx 111 cc/output/overlay_unittest.cc gfx::Transform(), gfx 500 cc/output/overlay_unittest.cc gfx::OverlayTransform plane_transform, gfx 502 cc/output/overlay_unittest.cc const gfx::Rect& display_bounds, gfx 503 cc/output/overlay_unittest.cc const gfx::RectF& uv_rect)); gfx 546 cc/output/overlay_unittest.cc gfx::Rect viewport_rect(16, 16); gfx 568 cc/output/overlay_unittest.cc gfx::OVERLAY_TRANSFORM_NONE, gfx 585 cc/output/overlay_unittest.cc gfx::Rect viewport_rect(16, 16); gfx 618 cc/output/overlay_unittest.cc gfx::Rect viewport_rect(16, 16); gfx 163 cc/output/render_surface_filters.cc const gfx::SizeF& size) { gfx 17 cc/output/render_surface_filters.h namespace gfx { gfx 29 cc/output/render_surface_filters.h const gfx::SizeF& size, gfx 35 cc/output/render_surface_filters.h const gfx::SizeF& size); gfx 66 cc/output/renderer.h const gfx::Rect& device_viewport_rect, gfx 67 cc/output/renderer.h const gfx::Rect& device_clip_rect, gfx 79 cc/output/renderer.h virtual void GetFramebufferPixels(void* pixels, const gfx::Rect& rect) = 0; gfx 31 cc/output/renderer_pixeltest.cc const gfx::Rect& rect) { gfx 33 cc/output/renderer_pixeltest.cc const gfx::Rect output_rect = rect; gfx 34 cc/output/renderer_pixeltest.cc const gfx::RectF damage_rect = rect; gfx 35 cc/output/renderer_pixeltest.cc const gfx::Transform transform_to_root_target; gfx 42 cc/output/renderer_pixeltest.cc const gfx::Rect& rect, gfx 43 cc/output/renderer_pixeltest.cc const gfx::Transform& transform_to_root_target) { gfx 45 cc/output/renderer_pixeltest.cc const gfx::Rect output_rect = rect; gfx 46 cc/output/renderer_pixeltest.cc const gfx::RectF damage_rect = rect; gfx 52 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform, const gfx::Rect& rect) { gfx 53 cc/output/renderer_pixeltest.cc const gfx::Size content_bounds = rect.size(); gfx 54 cc/output/renderer_pixeltest.cc const gfx::Rect visible_content_rect = rect; gfx 55 cc/output/renderer_pixeltest.cc const gfx::Rect clip_rect = rect; gfx 71 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform, gfx 72 cc/output/renderer_pixeltest.cc const gfx::Rect& rect, gfx 73 cc/output/renderer_pixeltest.cc const gfx::Rect& clip_rect) { gfx 74 cc/output/renderer_pixeltest.cc const gfx::Size content_bounds = rect.size(); gfx 75 cc/output/renderer_pixeltest.cc const gfx::Rect visible_content_rect = clip_rect; gfx 92 cc/output/renderer_pixeltest.cc const gfx::Rect& rect, gfx 102 cc/output/renderer_pixeltest.cc gfx::RectF(1.f, 1.f), // mask_uv_rect gfx 110 cc/output/renderer_pixeltest.cc const gfx::Rect& rect, gfx 134 cc/output/renderer_pixeltest.cc gfx::Vector2d()); gfx 141 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 145 cc/output/renderer_pixeltest.cc gfx::PointF(0.0f, 0.0f), // uv_top_left gfx 146 cc/output/renderer_pixeltest.cc gfx::PointF(1.0f, 1.0f), // uv_bottom_right gfx 203 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 209 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 227 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 228 cc/output/renderer_pixeltest.cc gfx::Rect small_rect(100, 100); gfx 232 cc/output/renderer_pixeltest.cc CreateTestRenderPass(child_id, small_rect, gfx::Transform()); gfx 235 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), small_rect); gfx 244 cc/output/renderer_pixeltest.cc CreateTestRenderPass(root_id, rect, gfx::Transform()); gfx 247 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 270 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 276 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 279 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 302 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 308 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 312 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 321 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 338 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 344 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 347 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 371 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 377 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 381 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 390 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 411 cc/output/renderer_pixeltest.cc const gfx::RectF& tex_coord_rect) { gfx 413 cc/output/renderer_pixeltest.cc const gfx::Rect rect(this->device_viewport_size_); gfx 414 cc/output/renderer_pixeltest.cc const gfx::Rect opaque_rect(0, 0, 0, 0); gfx 506 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 512 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 518 cc/output/renderer_pixeltest.cc gfx::RectF(0.0f, 0.0f, 1.0f, 1.0f)); gfx 533 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 539 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 546 cc/output/renderer_pixeltest.cc gfx::RectF(0.125f, 0.25f, 0.75f, 0.5f)); gfx 561 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 567 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 573 cc/output/renderer_pixeltest.cc gfx::RectF(0.0f, 0.0f, 1.0f, 1.0f)); gfx 593 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 599 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 605 cc/output/renderer_pixeltest.cc gfx::RectF(0.0f, 0.0f, 1.0f, 1.0f)); gfx 625 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 632 cc/output/renderer_pixeltest.cc gfx::Rect pass_rect(this->device_viewport_size_); gfx 633 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 637 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 642 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(0, gfx 648 cc/output/renderer_pixeltest.cc gfx::Rect yellow_rect(0, gfx 668 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), pass_rect); gfx 702 cc/output/renderer_pixeltest.cc gfx::RectF(), gfx 722 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 729 cc/output/renderer_pixeltest.cc gfx::Rect pass_rect(this->device_viewport_size_); gfx 730 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 734 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 739 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(0, gfx 745 cc/output/renderer_pixeltest.cc gfx::Rect yellow_rect(0, gfx 765 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), pass_rect); gfx 779 cc/output/renderer_pixeltest.cc gfx::RectF(), gfx 797 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 804 cc/output/renderer_pixeltest.cc gfx::Rect pass_rect(this->device_viewport_size_); gfx 805 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 809 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 814 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(0, gfx 820 cc/output/renderer_pixeltest.cc gfx::Rect yellow_rect(0, gfx 840 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), pass_rect); gfx 855 cc/output/renderer_pixeltest.cc gfx::RectF(), gfx 873 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 880 cc/output/renderer_pixeltest.cc gfx::Rect pass_rect(this->device_viewport_size_); gfx 881 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 885 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 890 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(0, gfx 896 cc/output/renderer_pixeltest.cc gfx::Rect yellow_rect(0, gfx 916 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), pass_rect); gfx 953 cc/output/renderer_pixeltest.cc gfx::RectF(), gfx 973 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 980 cc/output/renderer_pixeltest.cc gfx::Rect pass_rect(this->device_viewport_size_); gfx 981 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 985 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 989 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(0, gfx 995 cc/output/renderer_pixeltest.cc gfx::Rect yellow_rect(0, gfx 1007 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), pass_rect); gfx 1017 cc/output/renderer_pixeltest.cc this->renderer_->SetEnlargePassTextureAmountForTesting(gfx::Vector2d(50, 75)); gfx 1027 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 1034 cc/output/renderer_pixeltest.cc gfx::Rect pass_rect(this->device_viewport_size_); gfx 1035 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1039 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 1043 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(0, gfx 1049 cc/output/renderer_pixeltest.cc gfx::Rect yellow_rect(0, gfx 1060 cc/output/renderer_pixeltest.cc gfx::Transform aa_transform; gfx 1071 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), viewport_rect); gfx 1074 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 1075 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 1084 cc/output/renderer_pixeltest.cc this->renderer_->SetEnlargePassTextureAmountForTesting(gfx::Vector2d(50, 75)); gfx 1096 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 1102 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), viewport_rect); gfx 1105 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1109 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), viewport_rect); gfx 1122 cc/output/renderer_pixeltest.cc gfx::Rect mask_rect = viewport_rect; gfx 1132 cc/output/renderer_pixeltest.cc gfx::Rect rect = mask_rect; gfx 1154 cc/output/renderer_pixeltest.cc gfx::Vector2d()); gfx 1159 cc/output/renderer_pixeltest.cc gfx::Rect sub_rect = gfx::Rect(50, 50, 100, 100); gfx 1175 cc/output/renderer_pixeltest.cc gfx::RectF(1.f, 1.f), // mask_uv_rect gfx 1205 cc/output/renderer_pixeltest.cc gfx::Rect device_viewport_rect(this->device_viewport_size_); gfx 1212 cc/output/renderer_pixeltest.cc gfx::Transform identity_content_to_target_transform; gfx 1215 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1250 cc/output/renderer_pixeltest.cc gfx::RectF(), // mask_uv_rect gfx 1259 cc/output/renderer_pixeltest.cc gfx::Rect left_rect = gfx::Rect(0, 0, kColumnWidth, 20); gfx 1269 cc/output/renderer_pixeltest.cc left_rect += gfx::Vector2d(0, left_rect.height() + 1); gfx 1272 cc/output/renderer_pixeltest.cc gfx::Rect middle_rect = gfx::Rect(kColumnWidth+1, 0, kColumnWidth, 20); gfx 1282 cc/output/renderer_pixeltest.cc middle_rect += gfx::Vector2d(0, middle_rect.height() + 1); gfx 1285 cc/output/renderer_pixeltest.cc gfx::Rect right_rect = gfx::Rect((kColumnWidth+1)*2, 0, kColumnWidth, 20); gfx 1295 cc/output/renderer_pixeltest.cc right_rect += gfx::Vector2d(0, right_rect.height() + 1); gfx 1317 cc/output/renderer_pixeltest.cc gfx::Transform filter_pass_to_target_transform_; gfx 1318 cc/output/renderer_pixeltest.cc gfx::Rect filter_pass_content_rect_; gfx 1334 cc/output/renderer_pixeltest.cc this->filter_pass_content_rect_ = gfx::Rect(this->device_viewport_size_); gfx 1384 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 1388 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 1408 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 1412 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 1432 cc/output/renderer_pixeltest.cc gfx::Rect viewport_rect(this->device_viewport_size_); gfx 1440 cc/output/renderer_pixeltest.cc gfx::Rect pass_rect(this->device_viewport_size_); gfx 1441 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1445 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 1449 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(0, gfx 1458 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), pass_rect); gfx 1476 cc/output/renderer_pixeltest.cc gfx::Rect clip_rect(gfx::Point(150, 150), gfx::Size(50, 50)); gfx 1481 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 1485 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 1501 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 1506 cc/output/renderer_pixeltest.cc gfx::Transform red_content_to_target_transform; gfx 1516 cc/output/renderer_pixeltest.cc gfx::Transform yellow_content_to_target_transform; gfx 1526 cc/output/renderer_pixeltest.cc gfx::Transform blue_content_to_target_transform; gfx 1548 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 1551 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1555 cc/output/renderer_pixeltest.cc gfx::Transform red_content_to_target_transform; gfx 1568 cc/output/renderer_pixeltest.cc gfx::Transform yellow_content_to_target_transform; gfx 1579 cc/output/renderer_pixeltest.cc gfx::Transform blue_content_to_target_transform; gfx 1601 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 1604 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1608 cc/output/renderer_pixeltest.cc gfx::Transform hole_content_to_target_transform; gfx 1621 cc/output/renderer_pixeltest.cc gfx::Transform green_content_to_target_transform; gfx 1641 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 1646 cc/output/renderer_pixeltest.cc gfx::Rect red_rect(0, 0, 180, 500); gfx 1647 cc/output/renderer_pixeltest.cc gfx::Transform red_content_to_target_transform( gfx 1658 cc/output/renderer_pixeltest.cc gfx::Rect green_rect(19, 7, 180, 10); gfx 1660 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), green_rect); gfx 1667 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 1683 cc/output/renderer_pixeltest.cc gfx::Size pile_tile_size(1000, 1000); gfx 1684 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); gfx 1689 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1695 cc/output/renderer_pixeltest.cc gfx::Rect blue_rect(gfx::Size(100, 100)); gfx 1696 cc/output/renderer_pixeltest.cc gfx::Rect blue_clip_rect(gfx::Point(50, 50), gfx::Size(50, 50)); gfx 1707 cc/output/renderer_pixeltest.cc gfx::Transform blue_content_to_target_transform; gfx 1708 cc/output/renderer_pixeltest.cc gfx::Vector2d offset(viewport.bottom_right() - blue_rect.bottom_right()); gfx 1710 cc/output/renderer_pixeltest.cc gfx::RectF blue_scissor_rect = blue_clip_rect; gfx 1715 cc/output/renderer_pixeltest.cc gfx::ToEnclosingRect(blue_scissor_rect)); gfx 1721 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 1723 cc/output/renderer_pixeltest.cc gfx::RectF(viewport), gfx 1739 cc/output/renderer_pixeltest.cc gfx::Transform green_content_to_target_transform; gfx 1746 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 1748 cc/output/renderer_pixeltest.cc gfx::RectF(0.f, 0.f, 1.f, 1.f), gfx 1768 cc/output/renderer_pixeltest.cc gfx::Size pile_tile_size(1000, 1000); gfx 1769 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); gfx 1773 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1785 cc/output/renderer_pixeltest.cc gfx::Transform green_content_to_target_transform; gfx 1793 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 1795 cc/output/renderer_pixeltest.cc gfx::RectF(0, 0, 1, 1), gfx 1811 cc/output/renderer_pixeltest.cc gfx::Transform white_content_to_target_transform; gfx 1818 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 1820 cc/output/renderer_pixeltest.cc gfx::RectF(0, 0, 1, 1), gfx 1860 cc/output/renderer_pixeltest.cc gfx::Size pile_tile_size(1000, 1000); gfx 1861 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); gfx 1865 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1884 cc/output/renderer_pixeltest.cc pile->add_draw_bitmap_with_paint(bitmap, gfx::Point(), paint); gfx 1887 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 1894 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 1896 cc/output/renderer_pixeltest.cc gfx::RectF(0, 0, 2, 2), gfx 1917 cc/output/renderer_pixeltest.cc gfx::Size pile_tile_size(1000, 1000); gfx 1918 cc/output/renderer_pixeltest.cc gfx::Rect viewport(this->device_viewport_size_); gfx 1923 cc/output/renderer_pixeltest.cc gfx::Transform transform_to_root; gfx 1931 cc/output/renderer_pixeltest.cc gfx::Transform green_content_to_target_transform; gfx 1932 cc/output/renderer_pixeltest.cc gfx::Rect green_rect1(gfx::Point(80, 0), gfx::Size(20, 100)); gfx 1933 cc/output/renderer_pixeltest.cc gfx::Rect green_rect2(gfx::Point(0, 80), gfx::Size(100, 20)); gfx 1951 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 1953 cc/output/renderer_pixeltest.cc gfx::RectF(green_rect1.size()), gfx 1964 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 1966 cc/output/renderer_pixeltest.cc gfx::RectF(green_rect2.size()), gfx 1976 cc/output/renderer_pixeltest.cc gfx::Rect bottom_right_rect( gfx 1977 cc/output/renderer_pixeltest.cc gfx::Point(viewport.width() / 2, viewport.height() / 2), gfx 1978 cc/output/renderer_pixeltest.cc gfx::Size(viewport.width() / 2, viewport.height() / 2)); gfx 1994 cc/output/renderer_pixeltest.cc gfx::Rect layer_rect(gfx::Size(20, 30)); gfx 1997 cc/output/renderer_pixeltest.cc gfx::RectF blue_layer_rect1(gfx::PointF(5.5f, 9.0f), gfx::SizeF(2.5f, 2.5f)); gfx 1998 cc/output/renderer_pixeltest.cc gfx::RectF blue_layer_rect2(gfx::PointF(8.0f, 6.5f), gfx::SizeF(2.5f, 2.5f)); gfx 1999 cc/output/renderer_pixeltest.cc gfx::RectF union_layer_rect = blue_layer_rect1; gfx 2012 cc/output/renderer_pixeltest.cc outside.Subtract(gfx::ToEnclosingRect(union_layer_rect)); gfx 2023 cc/output/renderer_pixeltest.cc gfx::Rect content_rect( gfx 2024 cc/output/renderer_pixeltest.cc gfx::ScaleToEnclosingRect(layer_rect, contents_scale)); gfx 2025 cc/output/renderer_pixeltest.cc gfx::Rect content_union_rect( gfx 2026 cc/output/renderer_pixeltest.cc gfx::ToEnclosingRect(gfx::ScaleRect(union_layer_rect, contents_scale))); gfx 2030 cc/output/renderer_pixeltest.cc gfx::Transform content_to_target_transform; gfx 2032 cc/output/renderer_pixeltest.cc gfx::Rect quad_content_rect(gfx::Size(20, 20)); gfx 2039 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 2041 cc/output/renderer_pixeltest.cc gfx::RectF(quad_content_rect), gfx 2050 cc/output/renderer_pixeltest.cc gfx::Transform half_green_content_to_target_transform; gfx 2051 cc/output/renderer_pixeltest.cc gfx::Rect half_green_rect(gfx::Size(viewport.width() / 2, viewport.height())); gfx 2074 cc/output/renderer_pixeltest.cc gfx::Rect rect(this->device_viewport_size_); gfx 2080 cc/output/renderer_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), rect); gfx 2082 cc/output/renderer_pixeltest.cc gfx::Rect texture_rect(4, 4); gfx 2106 cc/output/renderer_pixeltest.cc gfx::Vector2d()); gfx 2112 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 2113 cc/output/renderer_pixeltest.cc gfx::Rect(), gfx 2114 cc/output/renderer_pixeltest.cc gfx::Rect(this->device_viewport_size_), gfx 2117 cc/output/renderer_pixeltest.cc gfx::PointF(0.0f, 0.0f), // uv_top_left gfx 2118 cc/output/renderer_pixeltest.cc gfx::PointF( // uv_bottom_right gfx 140 cc/output/shader.cc const gfx::Point& max_coordinate) { gfx 149 cc/output/shader.cc const gfx::Size& max_size) { gfx 14 cc/output/shader.h namespace gfx { gfx 50 cc/output/shader.h const gfx::Point& max_coordinate); gfx 56 cc/output/shader.h const gfx::Size& max_size); gfx 24 cc/output/shader_unittest.cc gfx::Point closePoint(512, 512); gfx 25 cc/output/shader_unittest.cc gfx::Size smallSize(512, 512); gfx 26 cc/output/shader_unittest.cc gfx::Point farPoint(2560, 2560); gfx 27 cc/output/shader_unittest.cc gfx::Size bigSize(2560, 2560); gfx 21 cc/output/software_frame_data.h gfx::Size size; gfx 22 cc/output/software_frame_data.h gfx::Rect damage_rect; gfx 19 cc/output/software_output_device.cc void SoftwareOutputDevice::Resize(const gfx::Size& viewport_size) { gfx 29 cc/output/software_output_device.cc SkCanvas* SoftwareOutputDevice::BeginPaint(const gfx::Rect& damage_rect) { gfx 43 cc/output/software_output_device.cc void SoftwareOutputDevice::CopyToPixels(const gfx::Rect& rect, void* pixels) { gfx 49 cc/output/software_output_device.cc void SoftwareOutputDevice::Scroll(const gfx::Vector2d& delta, gfx 50 cc/output/software_output_device.cc const gfx::Rect& clip_rect) { gfx 58 cc/output/software_output_device.cc gfx::VSyncProvider* SoftwareOutputDevice::GetVSyncProvider() { gfx 21 cc/output/software_output_device.h namespace gfx { gfx 39 cc/output/software_output_device.h virtual void Resize(const gfx::Size& size); gfx 45 cc/output/software_output_device.h virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect); gfx 54 cc/output/software_output_device.h virtual void CopyToPixels(const gfx::Rect& rect, void* pixels); gfx 58 cc/output/software_output_device.h virtual void Scroll(const gfx::Vector2d& delta, const gfx::Rect& clip_rect); gfx 74 cc/output/software_output_device.h virtual gfx::VSyncProvider* GetVSyncProvider(); gfx 77 cc/output/software_output_device.h gfx::Size viewport_size_; gfx 78 cc/output/software_output_device.h gfx::Rect damage_rect_; gfx 80 cc/output/software_output_device.h scoped_ptr<gfx::VSyncProvider> vsync_provider_; gfx 44 cc/output/software_renderer.cc gfx::Rect content_rect, gfx 71 cc/output/software_renderer.cc const gfx::Rect content_rect_; gfx 147 cc/output/software_renderer.cc gfx::ToEnclosingRect(frame->root_damage_rect)); gfx 188 cc/output/software_renderer.cc SetClipRect(gfx::Rect(size.width(), size.height())); gfx 202 cc/output/software_renderer.cc const gfx::Rect& target_rect) { gfx 210 cc/output/software_renderer.cc gfx::Rect(target_rect.size()), gfx 215 cc/output/software_renderer.cc void SoftwareRenderer::SetScissorTestRect(const gfx::Rect& scissor_rect) { gfx 221 cc/output/software_renderer.cc void SoftwareRenderer::SetClipRect(const gfx::Rect& rect) { gfx 225 cc/output/software_renderer.cc current_canvas_->clipRect(gfx::RectToSkRect(rect), SkRegion::kReplace_Op); gfx 255 cc/output/software_renderer.cc const gfx::Rect& window_space_viewport) {} gfx 274 cc/output/software_renderer.cc gfx::Transform quad_rect_matrix; gfx 276 cc/output/software_renderer.cc gfx::Transform contents_device_transform = gfx 280 cc/output/software_renderer.cc gfx::TransformToFlattenedSkMatrix(contents_device_transform, gfx 345 cc/output/software_renderer.cc gfx::RectF visible_quad_vertex_rect = MathUtil::ScaleRectProportional( gfx 349 cc/output/software_renderer.cc current_canvas_->drawRect(gfx::RectFToSkRect(visible_quad_vertex_rect), gfx 357 cc/output/software_renderer.cc gfx::RectFToSkRect(QuadVertexRect()).toQuad(vertices); gfx 376 cc/output/software_renderer.cc gfx::RectFToSkRect(quad->tex_coord_rect), gfx 377 cc/output/software_renderer.cc gfx::RectFToSkRect(QuadVertexRect()), gfx 406 cc/output/software_renderer.cc gfx::RectF visible_quad_vertex_rect = MathUtil::ScaleRectProportional( gfx 410 cc/output/software_renderer.cc current_canvas_->drawRect(gfx::RectFToSkRect(visible_quad_vertex_rect), gfx 427 cc/output/software_renderer.cc gfx::RectF uv_rect = gfx::ScaleRect(gfx::BoundingRect(quad->uv_top_left, gfx 431 cc/output/software_renderer.cc gfx::RectF visible_uv_rect = gfx 433 cc/output/software_renderer.cc SkRect sk_uv_rect = gfx::RectFToSkRect(visible_uv_rect); gfx 434 cc/output/software_renderer.cc gfx::RectF visible_quad_vertex_rect = MathUtil::ScaleRectProportional( gfx 436 cc/output/software_renderer.cc SkRect quad_rect = gfx::RectFToSkRect(visible_quad_vertex_rect); gfx 486 cc/output/software_renderer.cc gfx::RectF visible_tex_coord_rect = MathUtil::ScaleRectProportional( gfx 488 cc/output/software_renderer.cc gfx::RectF visible_quad_vertex_rect = MathUtil::ScaleRectProportional( gfx 491 cc/output/software_renderer.cc SkRect uv_rect = gfx::RectFToSkRect(visible_tex_coord_rect); gfx 496 cc/output/software_renderer.cc gfx::RectFToSkRect(visible_quad_vertex_rect), gfx 514 cc/output/software_renderer.cc SkRect dest_rect = gfx::RectFToSkRect(QuadVertexRect()); gfx 515 cc/output/software_renderer.cc SkRect dest_visible_rect = gfx::RectFToSkRect(MathUtil::ScaleRectProportional( gfx 606 cc/output/software_renderer.cc current_canvas_->drawRect(gfx::RectFToSkRect(QuadVertexRect()), gfx 613 cc/output/software_renderer.cc gfx::Rect copy_rect = frame->current_render_pass->output_rect; gfx 616 cc/output/software_renderer.cc gfx::Rect window_copy_rect = MoveFromDrawToWindowSpace(copy_rect); gfx 649 cc/output/software_renderer.cc const gfx::Rect& rect) { gfx 651 cc/output/software_renderer.cc gfx::Rect frame_rect(rect); gfx 41 cc/output/software_renderer.h const gfx::Rect& rect) OVERRIDE; gfx 57 cc/output/software_renderer.h const gfx::Rect& target_rect) OVERRIDE; gfx 58 cc/output/software_renderer.h virtual void SetDrawViewport(const gfx::Rect& window_space_viewport) OVERRIDE; gfx 59 cc/output/software_renderer.h virtual void SetScissorTestRect(const gfx::Rect& scissor_rect) OVERRIDE; gfx 81 cc/output/software_renderer.h void SetClipRect(const gfx::Rect& rect); gfx 105 cc/output/software_renderer.h gfx::Rect scissor_rect_; gfx 62 cc/output/software_renderer_unittest.cc gfx::Size outer_size(100, 100); gfx 63 cc/output/software_renderer_unittest.cc gfx::Size inner_size(98, 98); gfx 64 cc/output/software_renderer_unittest.cc gfx::Rect outer_rect(outer_size); gfx 65 cc/output/software_renderer_unittest.cc gfx::Rect inner_rect(gfx::Point(1, 1), inner_size); gfx 66 cc/output/software_renderer_unittest.cc gfx::Rect visible_rect(gfx::Point(1, 2), gfx::Size(98, 97)); gfx 71 cc/output/software_renderer_unittest.cc shared_quad_state->SetAll(gfx::Transform(), gfx 81 cc/output/software_renderer_unittest.cc root_render_pass_id, outer_rect, outer_rect, gfx::Transform()); gfx 96 cc/output/software_renderer_unittest.cc gfx::Rect device_viewport_rect(outer_size); gfx 120 cc/output/software_renderer_unittest.cc gfx::Size outer_size(100, 100); gfx 121 cc/output/software_renderer_unittest.cc gfx::Size inner_size(98, 98); gfx 122 cc/output/software_renderer_unittest.cc gfx::Rect outer_rect(outer_size); gfx 123 cc/output/software_renderer_unittest.cc gfx::Rect inner_rect(gfx::Point(1, 1), inner_size); gfx 152 cc/output/software_renderer_unittest.cc gfx::Rect(outer_size), gfx 153 cc/output/software_renderer_unittest.cc gfx::Rect(outer_size), gfx 154 cc/output/software_renderer_unittest.cc gfx::Vector2d()); gfx 157 cc/output/software_renderer_unittest.cc gfx::Rect(inner_size), gfx 158 cc/output/software_renderer_unittest.cc gfx::Rect(inner_size), gfx 159 cc/output/software_renderer_unittest.cc gfx::Vector2d()); gfx 161 cc/output/software_renderer_unittest.cc gfx::Rect root_rect = outer_rect; gfx 164 cc/output/software_renderer_unittest.cc shared_quad_state->SetAll(gfx::Transform(), gfx 174 cc/output/software_renderer_unittest.cc root_render_pass_id, root_rect, root_rect, gfx::Transform()); gfx 181 cc/output/software_renderer_unittest.cc gfx::RectF(outer_size), gfx 190 cc/output/software_renderer_unittest.cc gfx::RectF(inner_size), gfx 200 cc/output/software_renderer_unittest.cc gfx::Rect device_viewport_rect(outer_size); gfx 223 cc/output/software_renderer_unittest.cc gfx::Size tile_size(100, 100); gfx 224 cc/output/software_renderer_unittest.cc gfx::Rect tile_rect(tile_size); gfx 225 cc/output/software_renderer_unittest.cc gfx::Rect visible_rect = tile_rect; gfx 247 cc/output/software_renderer_unittest.cc gfx::Rect(tile_size), gfx 248 cc/output/software_renderer_unittest.cc gfx::Rect(tile_size), gfx 249 cc/output/software_renderer_unittest.cc gfx::Vector2d()); gfx 251 cc/output/software_renderer_unittest.cc gfx::Rect root_rect(tile_size); gfx 254 cc/output/software_renderer_unittest.cc shared_quad_state->SetAll(gfx::Transform(), gfx 264 cc/output/software_renderer_unittest.cc root_render_pass_id, root_rect, root_rect, gfx::Transform()); gfx 271 cc/output/software_renderer_unittest.cc gfx::RectF(tile_size), gfx 281 cc/output/software_renderer_unittest.cc gfx::Rect device_viewport_rect(tile_size); gfx 317 cc/output/software_renderer_unittest.cc gfx::Rect viewport_rect(0, 0, 100, 100); gfx 333 cc/output/software_renderer_unittest.cc &list, root_clear_pass_id, viewport_rect, gfx::Transform()); gfx 353 cc/output/software_renderer_unittest.cc gfx::Rect smaller_rect(20, 20, 60, 60); gfx 357 cc/output/software_renderer_unittest.cc &list, root_smaller_pass_id, viewport_rect, gfx::Transform()); gfx 382 cc/output/software_renderer_unittest.cc gfx::Rect viewport_rect(0, 0, 100, 100); gfx 394 cc/output/software_renderer_unittest.cc gfx::Rect smaller_rect(20, 20, 60, 60); gfx 397 cc/output/software_renderer_unittest.cc AddRenderPass(&list, smaller_pass_id, smaller_rect, gfx::Transform()); gfx 403 cc/output/software_renderer_unittest.cc AddRenderPass(&list, root_clear_pass_id, viewport_rect, gfx::Transform()); gfx 408 cc/output/software_renderer_unittest.cc gfx::Rect interior_visible_rect(30, 30, 40, 40); gfx 19 cc/quads/checkerboard_draw_quad.cc const gfx::Rect& rect, gfx 20 cc/quads/checkerboard_draw_quad.cc const gfx::Rect& visible_rect, gfx 22 cc/quads/checkerboard_draw_quad.cc gfx::Rect opaque_rect = SkColorGetA(color) == 255 ? rect : gfx::Rect(); gfx 30 cc/quads/checkerboard_draw_quad.cc const gfx::Rect& rect, gfx 31 cc/quads/checkerboard_draw_quad.cc const gfx::Rect& opaque_rect, gfx 32 cc/quads/checkerboard_draw_quad.cc const gfx::Rect& visible_rect, gfx 20 cc/quads/checkerboard_draw_quad.h const gfx::Rect& rect, gfx 21 cc/quads/checkerboard_draw_quad.h const gfx::Rect& visible_rect, gfx 25 cc/quads/checkerboard_draw_quad.h const gfx::Rect& rect, gfx 26 cc/quads/checkerboard_draw_quad.h const gfx::Rect& opaque_rect, gfx 27 cc/quads/checkerboard_draw_quad.h const gfx::Rect& visible_rect, gfx 22 cc/quads/content_draw_quad_base.cc const gfx::Rect& rect, gfx 23 cc/quads/content_draw_quad_base.cc const gfx::Rect& opaque_rect, gfx 24 cc/quads/content_draw_quad_base.cc const gfx::Rect& visible_rect, gfx 25 cc/quads/content_draw_quad_base.cc const gfx::RectF& tex_coord_rect, gfx 26 cc/quads/content_draw_quad_base.cc const gfx::Size& texture_size, gfx 38 cc/quads/content_draw_quad_base.cc const gfx::Rect& rect, gfx 39 cc/quads/content_draw_quad_base.cc const gfx::Rect& opaque_rect, gfx 40 cc/quads/content_draw_quad_base.cc const gfx::Rect& visible_rect, gfx 42 cc/quads/content_draw_quad_base.cc const gfx::RectF& tex_coord_rect, gfx 43 cc/quads/content_draw_quad_base.cc const gfx::Size& texture_size, gfx 21 cc/quads/content_draw_quad_base.h const gfx::Rect& rect, gfx 22 cc/quads/content_draw_quad_base.h const gfx::Rect& opaque_rect, gfx 23 cc/quads/content_draw_quad_base.h const gfx::Rect& visible_rect, gfx 24 cc/quads/content_draw_quad_base.h const gfx::RectF& tex_coord_rect, gfx 25 cc/quads/content_draw_quad_base.h const gfx::Size& texture_size, gfx 30 cc/quads/content_draw_quad_base.h const gfx::Rect& rect, gfx 31 cc/quads/content_draw_quad_base.h const gfx::Rect& opaque_rect, gfx 32 cc/quads/content_draw_quad_base.h const gfx::Rect& visible_rect, gfx 34 cc/quads/content_draw_quad_base.h const gfx::RectF& tex_coord_rect, gfx 35 cc/quads/content_draw_quad_base.h const gfx::Size& texture_size, gfx 38 cc/quads/content_draw_quad_base.h gfx::RectF tex_coord_rect; gfx 39 cc/quads/content_draw_quad_base.h gfx::Size texture_size; gfx 22 cc/quads/debug_border_draw_quad.cc const gfx::Rect& rect, gfx 23 cc/quads/debug_border_draw_quad.cc const gfx::Rect& visible_rect, gfx 26 cc/quads/debug_border_draw_quad.cc gfx::Rect opaque_rect; gfx 35 cc/quads/debug_border_draw_quad.cc const gfx::Rect& rect, gfx 36 cc/quads/debug_border_draw_quad.cc const gfx::Rect& opaque_rect, gfx 37 cc/quads/debug_border_draw_quad.cc const gfx::Rect& visible_rect, gfx 20 cc/quads/debug_border_draw_quad.h const gfx::Rect& rect, gfx 21 cc/quads/debug_border_draw_quad.h const gfx::Rect& visible_rect, gfx 26 cc/quads/debug_border_draw_quad.h const gfx::Rect& rect, gfx 27 cc/quads/debug_border_draw_quad.h const gfx::Rect& opaque_rect, gfx 28 cc/quads/debug_border_draw_quad.h const gfx::Rect& visible_rect, gfx 40 cc/quads/draw_quad.cc const gfx::Rect& rect, gfx 41 cc/quads/draw_quad.cc const gfx::Rect& opaque_rect, gfx 42 cc/quads/draw_quad.cc const gfx::Rect& visible_rect, gfx 116 cc/quads/draw_quad.cc gfx::QuadF rect_as_target_space_quad = MathUtil::MapQuad( gfx 118 cc/quads/draw_quad.cc gfx::QuadF(rect), gfx 127 cc/quads/draw_quad.cc gfx::QuadF opaque_rect_as_target_space_quad = MathUtil::MapQuad( gfx 129 cc/quads/draw_quad.cc gfx::QuadF(opaque_rect), gfx 138 cc/quads/draw_quad.cc gfx::QuadF visible_rect_as_target_space_quad = MathUtil::MapQuad( gfx 140 cc/quads/draw_quad.cc gfx::QuadF(visible_rect), gfx 55 cc/quads/draw_quad.h const gfx::Transform& quadTransform() const { gfx 58 cc/quads/draw_quad.h gfx::Rect visibleContentRect() const { gfx 61 cc/quads/draw_quad.h gfx::Rect clipRect() const { return shared_quad_state->clip_rect; } gfx 69 cc/quads/draw_quad.h gfx::Rect rect; gfx 73 cc/quads/draw_quad.h gfx::Rect opaque_rect; gfx 77 cc/quads/draw_quad.h gfx::Rect visible_rect; gfx 136 cc/quads/draw_quad.h const gfx::Rect& rect, gfx 137 cc/quads/draw_quad.h const gfx::Rect& opaque_rect, gfx 138 cc/quads/draw_quad.h const gfx::Rect& visible_rect, gfx 34 cc/quads/draw_quad_unittest.cc gfx::Transform quad_transform = gfx::Transform(1.0, 0.0, 0.5, 1.0, 0.5, 0.0); gfx 35 cc/quads/draw_quad_unittest.cc gfx::Size content_bounds(26, 28); gfx 36 cc/quads/draw_quad_unittest.cc gfx::Rect visible_content_rect(10, 12, 14, 16); gfx 37 cc/quads/draw_quad_unittest.cc gfx::Rect clip_rect(19, 21, 23, 25); gfx 61 cc/quads/draw_quad_unittest.cc gfx::Transform quad_transform = gfx::Transform(1.0, 0.0, 0.5, 1.0, 0.5, 0.0); gfx 62 cc/quads/draw_quad_unittest.cc gfx::Size content_bounds(26, 28); gfx 63 cc/quads/draw_quad_unittest.cc gfx::Rect visible_content_rect(10, 12, 14, 16); gfx 64 cc/quads/draw_quad_unittest.cc gfx::Rect clip_rect(19, 21, 23, 25); gfx 96 cc/quads/draw_quad_unittest.cc gfx::Rect quad_rect(30, 40, 50, 60); \ gfx 97 cc/quads/draw_quad_unittest.cc gfx::Rect quad_visible_rect(40, 50, 30, 20); \ gfx 98 cc/quads/draw_quad_unittest.cc gfx::Rect ALLOW_UNUSED quad_opaque_rect(60, 55, 10, 10); \ gfx 332 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 347 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 365 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 366 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 367 cc/quads/draw_quad_unittest.cc gfx::Size size(58, 95); gfx 393 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 397 cc/quads/draw_quad_unittest.cc gfx::Rect contents_changed_since_last_frame(42, 11, 74, 24); gfx 398 cc/quads/draw_quad_unittest.cc gfx::RectF mask_u_v_rect(-45.f, -21.f, 33.f, 19.f); gfx 450 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 469 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 470 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 472 cc/quads/draw_quad_unittest.cc gfx::Transform matrix = gfx::Transform(0.5, 0.25, 1, 0.75, 0, 1); gfx 490 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 506 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 507 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 510 cc/quads/draw_quad_unittest.cc gfx::PointF uv_top_left(0.5f, 224.f); gfx 511 cc/quads/draw_quad_unittest.cc gfx::PointF uv_bottom_right(51.5f, 260.f); gfx 554 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 44, 22, 33); gfx 555 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 557 cc/quads/draw_quad_unittest.cc gfx::RectF tex_coord_rect(31.f, 12.f, 54.f, 20.f); gfx 558 cc/quads/draw_quad_unittest.cc gfx::Size texture_size(85, 32); gfx 590 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 591 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 592 cc/quads/draw_quad_unittest.cc gfx::RectF tex_coord_rect(0.0f, 0.0f, 0.75f, 0.5f); gfx 631 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 44, 22, 33); gfx 632 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 633 cc/quads/draw_quad_unittest.cc gfx::RectF tex_coord_rect(31.f, 12.f, 54.f, 20.f); gfx 634 cc/quads/draw_quad_unittest.cc gfx::Size texture_size(85, 32); gfx 636 cc/quads/draw_quad_unittest.cc gfx::Rect content_rect(30, 40, 20, 30); gfx 696 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 705 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 715 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 716 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 717 cc/quads/draw_quad_unittest.cc gfx::Size size(58, 95); gfx 734 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 738 cc/quads/draw_quad_unittest.cc gfx::Rect contents_changed_since_last_frame(42, 11, 74, 24); gfx 739 cc/quads/draw_quad_unittest.cc gfx::RectF mask_u_v_rect(-45.f, -21.f, 33.f, 19.f); gfx 768 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 779 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 780 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 782 cc/quads/draw_quad_unittest.cc gfx::Transform matrix = gfx::Transform(0.5, 0.25, 1, 0.75, 0, 1); gfx 793 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 802 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 803 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 806 cc/quads/draw_quad_unittest.cc gfx::PointF uv_top_left(0.5f, 224.f); gfx 807 cc/quads/draw_quad_unittest.cc gfx::PointF uv_bottom_right(51.5f, 260.f); gfx 828 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 44, 22, 33); gfx 829 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 831 cc/quads/draw_quad_unittest.cc gfx::RectF tex_coord_rect(31.f, 12.f, 54.f, 20.f); gfx 832 cc/quads/draw_quad_unittest.cc gfx::Size texture_size(85, 32); gfx 849 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 47, 10, 12); gfx 850 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 851 cc/quads/draw_quad_unittest.cc gfx::RectF tex_coord_rect(0.0f, 0.0f, 0.75f, 0.5f); gfx 880 cc/quads/draw_quad_unittest.cc gfx::Rect opaque_rect(33, 44, 22, 33); gfx 881 cc/quads/draw_quad_unittest.cc gfx::Rect visible_rect(40, 50, 30, 20); gfx 882 cc/quads/draw_quad_unittest.cc gfx::RectF tex_coord_rect(31.f, 12.f, 54.f, 20.f); gfx 883 cc/quads/draw_quad_unittest.cc gfx::Size texture_size(85, 32); gfx 885 cc/quads/draw_quad_unittest.cc gfx::Rect content_rect(30, 40, 20, 30); gfx 23 cc/quads/io_surface_draw_quad.cc const gfx::Rect& rect, gfx 24 cc/quads/io_surface_draw_quad.cc const gfx::Rect& opaque_rect, gfx 25 cc/quads/io_surface_draw_quad.cc const gfx::Rect& visible_rect, gfx 26 cc/quads/io_surface_draw_quad.cc const gfx::Size& io_surface_size, gfx 38 cc/quads/io_surface_draw_quad.cc const gfx::Rect& rect, gfx 39 cc/quads/io_surface_draw_quad.cc const gfx::Rect& opaque_rect, gfx 40 cc/quads/io_surface_draw_quad.cc const gfx::Rect& visible_rect, gfx 42 cc/quads/io_surface_draw_quad.cc const gfx::Size& io_surface_size, gfx 26 cc/quads/io_surface_draw_quad.h const gfx::Rect& rect, gfx 27 cc/quads/io_surface_draw_quad.h const gfx::Rect& opaque_rect, gfx 28 cc/quads/io_surface_draw_quad.h const gfx::Rect& visible_rect, gfx 29 cc/quads/io_surface_draw_quad.h const gfx::Size& io_surface_size, gfx 34 cc/quads/io_surface_draw_quad.h const gfx::Rect& rect, gfx 35 cc/quads/io_surface_draw_quad.h const gfx::Rect& opaque_rect, gfx 36 cc/quads/io_surface_draw_quad.h const gfx::Rect& visible_rect, gfx 38 cc/quads/io_surface_draw_quad.h const gfx::Size& io_surface_size, gfx 42 cc/quads/io_surface_draw_quad.h gfx::Size io_surface_size; gfx 24 cc/quads/picture_draw_quad.cc const gfx::Rect& rect, gfx 25 cc/quads/picture_draw_quad.cc const gfx::Rect& opaque_rect, gfx 26 cc/quads/picture_draw_quad.cc const gfx::Rect& visible_rect, gfx 27 cc/quads/picture_draw_quad.cc const gfx::RectF& tex_coord_rect, gfx 28 cc/quads/picture_draw_quad.cc const gfx::Size& texture_size, gfx 30 cc/quads/picture_draw_quad.cc const gfx::Rect& content_rect, gfx 49 cc/quads/picture_draw_quad.cc const gfx::Rect& rect, gfx 50 cc/quads/picture_draw_quad.cc const gfx::Rect& opaque_rect, gfx 51 cc/quads/picture_draw_quad.cc const gfx::Rect& visible_rect, gfx 53 cc/quads/picture_draw_quad.cc const gfx::RectF& tex_coord_rect, gfx 54 cc/quads/picture_draw_quad.cc const gfx::Size& texture_size, gfx 56 cc/quads/picture_draw_quad.cc const gfx::Rect& content_rect, gfx 26 cc/quads/picture_draw_quad.h const gfx::Rect& rect, gfx 27 cc/quads/picture_draw_quad.h const gfx::Rect& opaque_rect, gfx 28 cc/quads/picture_draw_quad.h const gfx::Rect& visible_rect, gfx 29 cc/quads/picture_draw_quad.h const gfx::RectF& tex_coord_rect, gfx 30 cc/quads/picture_draw_quad.h const gfx::Size& texture_size, gfx 32 cc/quads/picture_draw_quad.h const gfx::Rect& content_rect, gfx 37 cc/quads/picture_draw_quad.h const gfx::Rect& rect, gfx 38 cc/quads/picture_draw_quad.h const gfx::Rect& opaque_rect, gfx 39 cc/quads/picture_draw_quad.h const gfx::Rect& visible_rect, gfx 41 cc/quads/picture_draw_quad.h const gfx::RectF& tex_coord_rect, gfx 42 cc/quads/picture_draw_quad.h const gfx::Size& texture_size, gfx 44 cc/quads/picture_draw_quad.h const gfx::Rect& content_rect, gfx 48 cc/quads/picture_draw_quad.h gfx::Rect content_rect; gfx 112 cc/quads/render_pass.cc const gfx::Rect& output_rect, gfx 113 cc/quads/render_pass.cc const gfx::RectF& damage_rect, gfx 114 cc/quads/render_pass.cc const gfx::Transform& transform_to_root_target) { gfx 128 cc/quads/render_pass.cc const gfx::Rect& output_rect, gfx 129 cc/quads/render_pass.cc const gfx::RectF& damage_rect, gfx 130 cc/quads/render_pass.cc const gfx::Transform& transform_to_root_target, gfx 79 cc/quads/render_pass.h const gfx::Rect& output_rect, gfx 80 cc/quads/render_pass.h const gfx::RectF& damage_rect, gfx 81 cc/quads/render_pass.h const gfx::Transform& transform_to_root_target); gfx 84 cc/quads/render_pass.h const gfx::Rect& output_rect, gfx 85 cc/quads/render_pass.h const gfx::RectF& damage_rect, gfx 86 cc/quads/render_pass.h const gfx::Transform& transform_to_root_target, gfx 95 cc/quads/render_pass.h gfx::Rect output_rect; gfx 96 cc/quads/render_pass.h gfx::RectF damage_rect; gfx 100 cc/quads/render_pass.h gfx::Transform transform_to_root_target; gfx 39 cc/quads/render_pass_draw_quad.cc const gfx::Rect& rect, gfx 40 cc/quads/render_pass_draw_quad.cc const gfx::Rect& visible_rect, gfx 44 cc/quads/render_pass_draw_quad.cc const gfx::Rect& contents_changed_since_last_frame, gfx 45 cc/quads/render_pass_draw_quad.cc const gfx::RectF& mask_uv_rect, gfx 51 cc/quads/render_pass_draw_quad.cc gfx::Rect opaque_rect; gfx 61 cc/quads/render_pass_draw_quad.cc const gfx::Rect& rect, gfx 62 cc/quads/render_pass_draw_quad.cc const gfx::Rect& opaque_rect, gfx 63 cc/quads/render_pass_draw_quad.cc const gfx::Rect& visible_rect, gfx 68 cc/quads/render_pass_draw_quad.cc const gfx::Rect& contents_changed_since_last_frame, gfx 69 cc/quads/render_pass_draw_quad.cc const gfx::RectF& mask_uv_rect, gfx 24 cc/quads/render_pass_draw_quad.h const gfx::Rect& rect, gfx 25 cc/quads/render_pass_draw_quad.h const gfx::Rect& visible_rect, gfx 29 cc/quads/render_pass_draw_quad.h const gfx::Rect& contents_changed_since_last_frame, gfx 30 cc/quads/render_pass_draw_quad.h const gfx::RectF& mask_uv_rect, gfx 35 cc/quads/render_pass_draw_quad.h const gfx::Rect& rect, gfx 36 cc/quads/render_pass_draw_quad.h const gfx::Rect& opaque_rect, gfx 37 cc/quads/render_pass_draw_quad.h const gfx::Rect& visible_rect, gfx 42 cc/quads/render_pass_draw_quad.h const gfx::Rect& contents_changed_since_last_frame, gfx 43 cc/quads/render_pass_draw_quad.h const gfx::RectF& mask_uv_rect, gfx 54 cc/quads/render_pass_draw_quad.h gfx::Rect contents_changed_since_last_frame; gfx 55 cc/quads/render_pass_draw_quad.h gfx::RectF mask_uv_rect; gfx 29 cc/quads/render_pass_unittest.cc gfx::Transform transform_to_root_target; gfx 30 cc/quads/render_pass_unittest.cc gfx::Rect output_rect; gfx 31 cc/quads/render_pass_unittest.cc gfx::RectF damage_rect; gfx 67 cc/quads/render_pass_unittest.cc gfx::Rect output_rect(45, 22, 120, 13); gfx 68 cc/quads/render_pass_unittest.cc gfx::Transform transform_to_root = gfx 69 cc/quads/render_pass_unittest.cc gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); gfx 70 cc/quads/render_pass_unittest.cc gfx::Rect damage_rect(56, 123, 19, 43); gfx 83 cc/quads/render_pass_unittest.cc shared_state->SetAll(gfx::Transform(), gfx 84 cc/quads/render_pass_unittest.cc gfx::Size(), gfx 85 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 86 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 95 cc/quads/render_pass_unittest.cc pass->shared_quad_state_list.back(), gfx::Rect(), gfx::Rect(), SkColor()); gfx 119 cc/quads/render_pass_unittest.cc gfx::Rect output_rect(45, 22, 120, 13); gfx 120 cc/quads/render_pass_unittest.cc gfx::Transform transform_to_root = gfx 121 cc/quads/render_pass_unittest.cc gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); gfx 122 cc/quads/render_pass_unittest.cc gfx::Rect damage_rect(56, 123, 19, 43); gfx 134 cc/quads/render_pass_unittest.cc shared_state1->SetAll(gfx::Transform(), gfx 135 cc/quads/render_pass_unittest.cc gfx::Size(1, 1), gfx 136 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 137 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 146 cc/quads/render_pass_unittest.cc gfx::Rect(1, 1, 1, 1), gfx 147 cc/quads/render_pass_unittest.cc gfx::Rect(1, 1, 1, 1), gfx 154 cc/quads/render_pass_unittest.cc gfx::Rect(2, 2, 2, 2), gfx 155 cc/quads/render_pass_unittest.cc gfx::Rect(2, 2, 2, 2), gfx 161 cc/quads/render_pass_unittest.cc shared_state2->SetAll(gfx::Transform(), gfx 162 cc/quads/render_pass_unittest.cc gfx::Size(2, 2), gfx 163 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 164 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 173 cc/quads/render_pass_unittest.cc gfx::Rect(3, 3, 3, 3), gfx 174 cc/quads/render_pass_unittest.cc gfx::Rect(3, 3, 3, 3), gfx 181 cc/quads/render_pass_unittest.cc gfx::Rect(4, 4, 4, 4), gfx 182 cc/quads/render_pass_unittest.cc gfx::Rect(4, 4, 4, 4), gfx 188 cc/quads/render_pass_unittest.cc gfx::Rect contrib_output_rect(10, 15, 12, 17); gfx 189 cc/quads/render_pass_unittest.cc gfx::Transform contrib_transform_to_root = gfx 190 cc/quads/render_pass_unittest.cc gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); gfx 191 cc/quads/render_pass_unittest.cc gfx::Rect contrib_damage_rect(11, 16, 10, 15); gfx 202 cc/quads/render_pass_unittest.cc contrib_shared_state->SetAll(gfx::Transform(), gfx 203 cc/quads/render_pass_unittest.cc gfx::Size(2, 2), gfx 204 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 205 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 214 cc/quads/render_pass_unittest.cc gfx::Rect(3, 3, 3, 3), gfx 215 cc/quads/render_pass_unittest.cc gfx::Rect(3, 3, 3, 3), gfx 228 cc/quads/render_pass_unittest.cc gfx::RectF(), // mask_uv_rect gfx 247 cc/quads/render_pass_unittest.cc gfx::Rect output_rect(45, 22, 120, 13); gfx 248 cc/quads/render_pass_unittest.cc gfx::Transform transform_to_root = gfx 249 cc/quads/render_pass_unittest.cc gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0); gfx 250 cc/quads/render_pass_unittest.cc gfx::Rect damage_rect(56, 123, 19, 43); gfx 262 cc/quads/render_pass_unittest.cc shared_state1->SetAll(gfx::Transform(), gfx 263 cc/quads/render_pass_unittest.cc gfx::Size(1, 1), gfx 264 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 265 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 274 cc/quads/render_pass_unittest.cc gfx::Rect(1, 1, 1, 1), gfx 275 cc/quads/render_pass_unittest.cc gfx::Rect(1, 1, 1, 1), gfx 281 cc/quads/render_pass_unittest.cc shared_state2->SetAll(gfx::Transform(), gfx 282 cc/quads/render_pass_unittest.cc gfx::Size(2, 2), gfx 283 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 284 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 292 cc/quads/render_pass_unittest.cc shared_state3->SetAll(gfx::Transform(), gfx 293 cc/quads/render_pass_unittest.cc gfx::Size(2, 2), gfx 294 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 295 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 303 cc/quads/render_pass_unittest.cc shared_state4->SetAll(gfx::Transform(), gfx 304 cc/quads/render_pass_unittest.cc gfx::Size(2, 2), gfx 305 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 306 cc/quads/render_pass_unittest.cc gfx::Rect(), gfx 315 cc/quads/render_pass_unittest.cc gfx::Rect(3, 3, 3, 3), gfx 316 cc/quads/render_pass_unittest.cc gfx::Rect(3, 3, 3, 3), gfx 30 cc/quads/shared_quad_state.cc void SharedQuadState::SetAll(const gfx::Transform& content_to_target_transform, gfx 31 cc/quads/shared_quad_state.cc const gfx::Size& content_bounds, gfx 32 cc/quads/shared_quad_state.cc const gfx::Rect& visible_content_rect, gfx 33 cc/quads/shared_quad_state.cc const gfx::Rect& clip_rect, gfx 32 cc/quads/shared_quad_state.h void SetAll(const gfx::Transform& content_to_target_transform, gfx 33 cc/quads/shared_quad_state.h const gfx::Size& content_bounds, gfx 34 cc/quads/shared_quad_state.h const gfx::Rect& visible_content_rect, gfx 35 cc/quads/shared_quad_state.h const gfx::Rect& clip_rect, gfx 42 cc/quads/shared_quad_state.h gfx::Transform content_to_target_transform; gfx 44 cc/quads/shared_quad_state.h gfx::Size content_bounds; gfx 46 cc/quads/shared_quad_state.h gfx::Rect visible_content_rect; gfx 48 cc/quads/shared_quad_state.h gfx::Rect clip_rect; gfx 20 cc/quads/solid_color_draw_quad.cc const gfx::Rect& rect, gfx 21 cc/quads/solid_color_draw_quad.cc const gfx::Rect& visible_rect, gfx 24 cc/quads/solid_color_draw_quad.cc gfx::Rect opaque_rect = SkColorGetA(color) == 255 ? rect : gfx::Rect(); gfx 33 cc/quads/solid_color_draw_quad.cc const gfx::Rect& rect, gfx 34 cc/quads/solid_color_draw_quad.cc const gfx::Rect& opaque_rect, gfx 35 cc/quads/solid_color_draw_quad.cc const gfx::Rect& visible_rect, gfx 20 cc/quads/solid_color_draw_quad.h const gfx::Rect& rect, gfx 21 cc/quads/solid_color_draw_quad.h const gfx::Rect& visible_rect, gfx 26 cc/quads/solid_color_draw_quad.h const gfx::Rect& rect, gfx 27 cc/quads/solid_color_draw_quad.h const gfx::Rect& opaque_rect, gfx 28 cc/quads/solid_color_draw_quad.h const gfx::Rect& visible_rect, gfx 20 cc/quads/stream_video_draw_quad.cc const gfx::Rect& rect, gfx 21 cc/quads/stream_video_draw_quad.cc const gfx::Rect& opaque_rect, gfx 22 cc/quads/stream_video_draw_quad.cc const gfx::Rect& visible_rect, gfx 24 cc/quads/stream_video_draw_quad.cc const gfx::Transform& matrix) { gfx 33 cc/quads/stream_video_draw_quad.cc const gfx::Rect& rect, gfx 34 cc/quads/stream_video_draw_quad.cc const gfx::Rect& opaque_rect, gfx 35 cc/quads/stream_video_draw_quad.cc const gfx::Rect& visible_rect, gfx 38 cc/quads/stream_video_draw_quad.cc const gfx::Transform& matrix) { gfx 20 cc/quads/stream_video_draw_quad.h const gfx::Rect& rect, gfx 21 cc/quads/stream_video_draw_quad.h const gfx::Rect& opaque_rect, gfx 22 cc/quads/stream_video_draw_quad.h const gfx::Rect& visible_rect, gfx 24 cc/quads/stream_video_draw_quad.h const gfx::Transform& matrix); gfx 27 cc/quads/stream_video_draw_quad.h const gfx::Rect& rect, gfx 28 cc/quads/stream_video_draw_quad.h const gfx::Rect& opaque_rect, gfx 29 cc/quads/stream_video_draw_quad.h const gfx::Rect& visible_rect, gfx 32 cc/quads/stream_video_draw_quad.h const gfx::Transform& matrix); gfx 35 cc/quads/stream_video_draw_quad.h gfx::Transform matrix; gfx 19 cc/quads/surface_draw_quad.cc const gfx::Rect& rect, gfx 20 cc/quads/surface_draw_quad.cc const gfx::Rect& visible_rect, gfx 22 cc/quads/surface_draw_quad.cc gfx::Rect opaque_rect; gfx 30 cc/quads/surface_draw_quad.cc const gfx::Rect& rect, gfx 31 cc/quads/surface_draw_quad.cc const gfx::Rect& opaque_rect, gfx 32 cc/quads/surface_draw_quad.cc const gfx::Rect& visible_rect, gfx 19 cc/quads/surface_draw_quad.h const gfx::Rect& rect, gfx 20 cc/quads/surface_draw_quad.h const gfx::Rect& visible_rect, gfx 24 cc/quads/surface_draw_quad.h const gfx::Rect& rect, gfx 25 cc/quads/surface_draw_quad.h const gfx::Rect& opaque_rect, gfx 26 cc/quads/surface_draw_quad.h const gfx::Rect& visible_rect, gfx 30 cc/quads/texture_draw_quad.cc const gfx::Rect& rect, gfx 31 cc/quads/texture_draw_quad.cc const gfx::Rect& opaque_rect, gfx 32 cc/quads/texture_draw_quad.cc const gfx::Rect& visible_rect, gfx 35 cc/quads/texture_draw_quad.cc const gfx::PointF& uv_top_left, gfx 36 cc/quads/texture_draw_quad.cc const gfx::PointF& uv_bottom_right, gfx 57 cc/quads/texture_draw_quad.cc const gfx::Rect& rect, gfx 58 cc/quads/texture_draw_quad.cc const gfx::Rect& opaque_rect, gfx 59 cc/quads/texture_draw_quad.cc const gfx::Rect& visible_rect, bool needs_blending, gfx 61 cc/quads/texture_draw_quad.cc const gfx::PointF& uv_top_left, gfx 62 cc/quads/texture_draw_quad.cc const gfx::PointF& uv_bottom_right, gfx 20 cc/quads/texture_draw_quad.h const gfx::Rect& rect, gfx 21 cc/quads/texture_draw_quad.h const gfx::Rect& opaque_rect, gfx 22 cc/quads/texture_draw_quad.h const gfx::Rect& visible_rect, gfx 25 cc/quads/texture_draw_quad.h const gfx::PointF& uv_top_left, gfx 26 cc/quads/texture_draw_quad.h const gfx::PointF& uv_bottom_right, gfx 32 cc/quads/texture_draw_quad.h const gfx::Rect& rect, gfx 33 cc/quads/texture_draw_quad.h const gfx::Rect& opaque_rect, gfx 34 cc/quads/texture_draw_quad.h const gfx::Rect& visible_rect, gfx 38 cc/quads/texture_draw_quad.h const gfx::PointF& uv_top_left, gfx 39 cc/quads/texture_draw_quad.h const gfx::PointF& uv_bottom_right, gfx 46 cc/quads/texture_draw_quad.h gfx::PointF uv_top_left; gfx 47 cc/quads/texture_draw_quad.h gfx::PointF uv_bottom_right; gfx 25 cc/quads/tile_draw_quad.cc const gfx::Rect& rect, gfx 26 cc/quads/tile_draw_quad.cc const gfx::Rect& opaque_rect, gfx 27 cc/quads/tile_draw_quad.cc const gfx::Rect& visible_rect, gfx 29 cc/quads/tile_draw_quad.cc const gfx::RectF& tex_coord_rect, gfx 30 cc/quads/tile_draw_quad.cc const gfx::Size& texture_size, gfx 44 cc/quads/tile_draw_quad.cc const gfx::Rect& rect, gfx 45 cc/quads/tile_draw_quad.cc const gfx::Rect& opaque_rect, gfx 46 cc/quads/tile_draw_quad.cc const gfx::Rect& visible_rect, gfx 49 cc/quads/tile_draw_quad.cc const gfx::RectF& tex_coord_rect, gfx 50 cc/quads/tile_draw_quad.cc const gfx::Size& texture_size, gfx 18 cc/quads/tile_draw_quad.h const gfx::Rect& rect, gfx 19 cc/quads/tile_draw_quad.h const gfx::Rect& opaque_rect, gfx 20 cc/quads/tile_draw_quad.h const gfx::Rect& visible_rect, gfx 22 cc/quads/tile_draw_quad.h const gfx::RectF& tex_coord_rect, gfx 23 cc/quads/tile_draw_quad.h const gfx::Size& texture_size, gfx 27 cc/quads/tile_draw_quad.h const gfx::Rect& rect, gfx 28 cc/quads/tile_draw_quad.h const gfx::Rect& opaque_rect, gfx 29 cc/quads/tile_draw_quad.h const gfx::Rect& visible_rect, gfx 32 cc/quads/tile_draw_quad.h const gfx::RectF& tex_coord_rect, gfx 33 cc/quads/tile_draw_quad.h const gfx::Size& texture_size, gfx 25 cc/quads/yuv_video_draw_quad.cc const gfx::Rect& rect, gfx 26 cc/quads/yuv_video_draw_quad.cc const gfx::Rect& opaque_rect, gfx 27 cc/quads/yuv_video_draw_quad.cc const gfx::Rect& visible_rect, gfx 28 cc/quads/yuv_video_draw_quad.cc const gfx::RectF& tex_coord_rect, gfx 44 cc/quads/yuv_video_draw_quad.cc const gfx::Rect& rect, gfx 45 cc/quads/yuv_video_draw_quad.cc const gfx::Rect& opaque_rect, gfx 46 cc/quads/yuv_video_draw_quad.cc const gfx::Rect& visible_rect, gfx 48 cc/quads/yuv_video_draw_quad.cc const gfx::RectF& tex_coord_rect, gfx 23 cc/quads/yuv_video_draw_quad.h const gfx::Rect& rect, gfx 24 cc/quads/yuv_video_draw_quad.h const gfx::Rect& opaque_rect, gfx 25 cc/quads/yuv_video_draw_quad.h const gfx::Rect& visible_rect, gfx 26 cc/quads/yuv_video_draw_quad.h const gfx::RectF& tex_coord_rect, gfx 33 cc/quads/yuv_video_draw_quad.h const gfx::Rect& rect, gfx 34 cc/quads/yuv_video_draw_quad.h const gfx::Rect& opaque_rect, gfx 35 cc/quads/yuv_video_draw_quad.h const gfx::Rect& visible_rect, gfx 37 cc/quads/yuv_video_draw_quad.h const gfx::RectF& tex_coord_rect, gfx 43 cc/quads/yuv_video_draw_quad.h gfx::RectF tex_coord_rect; gfx 26 cc/resources/bitmap_content_layer_updater.cc const gfx::Rect& source_rect, gfx 27 cc/resources/bitmap_content_layer_updater.cc const gfx::Vector2d& dest_offset, gfx 58 cc/resources/bitmap_content_layer_updater.cc const gfx::Rect& content_rect, gfx 59 cc/resources/bitmap_content_layer_updater.cc const gfx::Size& tile_size, gfx 62 cc/resources/bitmap_content_layer_updater.cc gfx::Rect* resulting_opaque_rect) { gfx 91 cc/resources/bitmap_content_layer_updater.cc const gfx::Rect& source_rect, gfx 92 cc/resources/bitmap_content_layer_updater.cc const gfx::Vector2d& dest_offset, gfx 108 cc/resources/bitmap_content_layer_updater.cc canvas_size_ = gfx::Size(); gfx 114 cc/resources/bitmap_content_layer_updater.cc canvas_size_ = gfx::Size(); gfx 33 cc/resources/bitmap_content_layer_updater.h const gfx::Rect& source_rect, gfx 34 cc/resources/bitmap_content_layer_updater.h const gfx::Vector2d& dest_offset, gfx 50 cc/resources/bitmap_content_layer_updater.h virtual void PrepareToUpdate(const gfx::Rect& content_rect, gfx 51 cc/resources/bitmap_content_layer_updater.h const gfx::Size& tile_size, gfx 54 cc/resources/bitmap_content_layer_updater.h gfx::Rect* resulting_opaque_rect) OVERRIDE; gfx 57 cc/resources/bitmap_content_layer_updater.h const gfx::Rect& source_rect, gfx 58 cc/resources/bitmap_content_layer_updater.h const gfx::Vector2d& dest_offset, gfx 72 cc/resources/bitmap_content_layer_updater.h gfx::Size canvas_size_; gfx 23 cc/resources/bitmap_skpicture_content_layer_updater.cc const gfx::Rect& source_rect, gfx 24 cc/resources/bitmap_skpicture_content_layer_updater.cc const gfx::Vector2d& dest_offset, gfx 71 cc/resources/bitmap_skpicture_content_layer_updater.cc const gfx::Rect& source_rect) { gfx 24 cc/resources/bitmap_skpicture_content_layer_updater.h const gfx::Rect& source_rect, gfx 25 cc/resources/bitmap_skpicture_content_layer_updater.h const gfx::Vector2d& dest_offset, gfx 43 cc/resources/bitmap_skpicture_content_layer_updater.h const gfx::Rect& source_rect); gfx 38 cc/resources/content_layer_updater.cc const gfx::Rect& content_rect, gfx 41 cc/resources/content_layer_updater.cc gfx::Rect* resulting_opaque_rect) { gfx 54 cc/resources/content_layer_updater.cc gfx::Rect layer_rect = content_rect; gfx 59 cc/resources/content_layer_updater.cc layer_rect = gfx::ScaleToEnclosingRect( gfx 75 cc/resources/content_layer_updater.cc gfx::RectF opaque_layer_rect; gfx 79 cc/resources/content_layer_updater.cc gfx::Rect opaque_content_rect = gfx::ToEnclosedRect(gfx::ScaleRect( gfx 35 cc/resources/content_layer_updater.h const gfx::Rect& content_rect, gfx 38 cc/resources/content_layer_updater.h gfx::Rect* resulting_opaque_rect); gfx 39 cc/resources/content_layer_updater.h gfx::Rect content_rect() const { return content_rect_; } gfx 55 cc/resources/content_layer_updater.h gfx::Rect content_rect_; gfx 18 cc/resources/image_layer_updater.cc const gfx::Rect& source_rect, gfx 19 cc/resources/image_layer_updater.cc const gfx::Vector2d& dest_offset, gfx 38 cc/resources/image_layer_updater.cc const gfx::Rect& source_rect, gfx 39 cc/resources/image_layer_updater.cc const gfx::Vector2d& dest_offset, gfx 43 cc/resources/image_layer_updater.cc gfx::Rect clipped_source_rect = source_rect; gfx 44 cc/resources/image_layer_updater.cc gfx::Rect image_rect = gfx::Rect(0, 0, bitmap_.width(), bitmap_.height()); gfx 47 cc/resources/image_layer_updater.cc gfx::Vector2d clipped_dest_offset = gfx 49 cc/resources/image_layer_updater.cc gfx::Vector2d(clipped_source_rect.origin() - source_rect.origin()); gfx 25 cc/resources/image_layer_updater.h const gfx::Rect& source_rect, gfx 26 cc/resources/image_layer_updater.h const gfx::Vector2d& dest_offset, gfx 42 cc/resources/image_layer_updater.h const gfx::Rect& source_rect, gfx 43 cc/resources/image_layer_updater.h const gfx::Vector2d& dest_offset, gfx 12 cc/resources/layer_painter.h namespace gfx { gfx 23 cc/resources/layer_painter.h const gfx::Rect& content_rect, gfx 24 cc/resources/layer_painter.h gfx::RectF* opaque) = 0; gfx 12 cc/resources/layer_quad.cc LayerQuad::Edge::Edge(const gfx::PointF& p, const gfx::PointF& q) { gfx 15 cc/resources/layer_quad.cc gfx::Vector2dF tangent(p.y() - q.y(), q.x() - p.x()); gfx 22 cc/resources/layer_quad.cc LayerQuad::LayerQuad(const gfx::QuadF& quad) { gfx 45 cc/resources/layer_quad.cc gfx::QuadF LayerQuad::ToQuadF() const { gfx 46 cc/resources/layer_quad.cc return gfx::QuadF(left_.Intersect(top_), gfx 13 cc/resources/layer_quad.h namespace gfx { gfx 26 cc/resources/layer_quad.h Edge(const gfx::PointF& p, const gfx::PointF& q); gfx 60 cc/resources/layer_quad.h gfx::PointF Intersect(const Edge& e) const { gfx 61 cc/resources/layer_quad.h return gfx::PointF( gfx 76 cc/resources/layer_quad.h explicit LayerQuad(const gfx::QuadF& quad); gfx 99 cc/resources/layer_quad.h gfx::QuadF ToQuadF() const; gfx 14 cc/resources/layer_quad_unittest.cc gfx::PointF p1(-0.5f, -0.5f); gfx 15 cc/resources/layer_quad_unittest.cc gfx::PointF p2(0.5f, -0.5f); gfx 16 cc/resources/layer_quad_unittest.cc gfx::PointF p3(0.5f, 0.5f); gfx 17 cc/resources/layer_quad_unittest.cc gfx::PointF p4(-0.5f, 0.5f); gfx 19 cc/resources/layer_quad_unittest.cc gfx::QuadF quad_cw(p1, p2, p3, p4); gfx 23 cc/resources/layer_quad_unittest.cc gfx::QuadF quad_ccw(p1, p4, p3, p2); gfx 29 cc/resources/layer_quad_unittest.cc gfx::PointF p1(-0.5f, -0.5f); gfx 30 cc/resources/layer_quad_unittest.cc gfx::PointF p2(0.5f, -0.5f); gfx 31 cc/resources/layer_quad_unittest.cc gfx::PointF p3(0.5f, 0.5f); gfx 32 cc/resources/layer_quad_unittest.cc gfx::PointF p4(-0.5f, 0.5f); gfx 34 cc/resources/layer_quad_unittest.cc gfx::QuadF quad(p1, p2, p3, p4); gfx 13 cc/resources/layer_tiling_data.cc scoped_ptr<LayerTilingData> LayerTilingData::Create(const gfx::Size& tile_size, gfx 18 cc/resources/layer_tiling_data.cc LayerTilingData::LayerTilingData(const gfx::Size& tile_size, gfx 20 cc/resources/layer_tiling_data.cc : tiling_data_(tile_size, gfx::Size(), border == HAS_BORDER_TEXELS) { gfx 26 cc/resources/layer_tiling_data.cc void LayerTilingData::SetTileSize(const gfx::Size& size) { gfx 35 cc/resources/layer_tiling_data.cc gfx::Size LayerTilingData::tile_size() const { gfx 70 cc/resources/layer_tiling_data.cc void LayerTilingData::ContentRectToTileIndices(const gfx::Rect& content_rect, gfx 87 cc/resources/layer_tiling_data.cc gfx::Rect LayerTilingData::TileRect(const Tile* tile) const { gfx 88 cc/resources/layer_tiling_data.cc gfx::Rect tile_rect = tiling_data_.TileBoundsWithBorder(tile->i(), tile->j()); gfx 94 cc/resources/layer_tiling_data.cc const gfx::Rect& content_rect) const { gfx 107 cc/resources/layer_tiling_data.cc gfx::Rect tile_opaque_rect = gfx 108 cc/resources/layer_tiling_data.cc gfx::IntersectRects(content_rect, tile->opaque_rect()); gfx 115 cc/resources/layer_tiling_data.cc void LayerTilingData::SetBounds(const gfx::Size& size) { gfx 126 cc/resources/layer_tiling_data.cc gfx::Rect(size), &left, &top, &right, &bottom); gfx 30 cc/resources/layer_tiling_data.h static scoped_ptr<LayerTilingData> Create(const gfx::Size& tile_size, gfx 36 cc/resources/layer_tiling_data.h gfx::Rect tile_bounds(int i, int j) const { gfx 39 cc/resources/layer_tiling_data.h gfx::Vector2d texture_offset(int x_index, int y_index) const { gfx 44 cc/resources/layer_tiling_data.h void SetTileSize(const gfx::Size& size); gfx 45 cc/resources/layer_tiling_data.h gfx::Size tile_size() const; gfx 66 cc/resources/layer_tiling_data.h gfx::Rect opaque_rect() const { return opaque_rect_; } gfx 67 cc/resources/layer_tiling_data.h void set_opaque_rect(const gfx::Rect& opaque_rect) { gfx 73 cc/resources/layer_tiling_data.h gfx::Rect opaque_rect_; gfx 84 cc/resources/layer_tiling_data.h void SetBounds(const gfx::Size& size); gfx 85 cc/resources/layer_tiling_data.h gfx::Size bounds() const { return tiling_data_.total_size(); } gfx 87 cc/resources/layer_tiling_data.h void ContentRectToTileIndices(const gfx::Rect& rect, gfx 92 cc/resources/layer_tiling_data.h gfx::Rect TileRect(const Tile* tile) const; gfx 94 cc/resources/layer_tiling_data.h Region OpaqueRegionInContentRect(const gfx::Rect& rect) const; gfx 99 cc/resources/layer_tiling_data.h LayerTilingData(const gfx::Size& tile_size, BorderTexelOption option); gfx 32 cc/resources/layer_updater.h const gfx::Rect& source_rect, gfx 33 cc/resources/layer_updater.h const gfx::Vector2d& dest_offset, gfx 52 cc/resources/layer_updater.h virtual void PrepareToUpdate(const gfx::Rect& content_rect, gfx 53 cc/resources/layer_updater.h const gfx::Size& tile_size, gfx 56 cc/resources/layer_updater.h gfx::Rect* resulting_opaque_rect) {} gfx 48 cc/resources/picture.cc encoding_succeeded = gfx::JPEGCodec::Encode( gfx 50 cc/resources/picture.cc gfx::JPEGCodec::FORMAT_SkBitmap, gfx 57 cc/resources/picture.cc encoding_succeeded = gfx::PNGCodec::EncodeBGRASkBitmap(bm, false, &data); gfx 71 cc/resources/picture.cc if (gfx::PNGCodec::Decode(data, size, bm)) gfx 75 cc/resources/picture.cc scoped_ptr<SkBitmap> decoded_jpeg(gfx::JPEGCodec::Decode(data, size)); gfx 86 cc/resources/picture.cc const gfx::Rect& layer_rect, gfx 102 cc/resources/picture.cc Picture::Picture(const gfx::Rect& layer_rect) gfx 124 cc/resources/picture.cc gfx::Rect layer_rect(skpicture->width(), skpicture->height()); gfx 125 cc/resources/picture.cc gfx::Rect opaque_rect(skpicture->width(), skpicture->height()); gfx 148 cc/resources/picture.cc gfx::Rect layer_rect; gfx 156 cc/resources/picture.cc gfx::Rect opaque_rect; gfx 169 cc/resources/picture.cc const gfx::Rect& layer_rect, gfx 170 cc/resources/picture.cc const gfx::Rect& opaque_rect) : gfx 178 cc/resources/picture.cc const gfx::Rect& layer_rect, gfx 179 cc/resources/picture.cc const gfx::Rect& opaque_rect, gfx 274 cc/resources/picture.cc gfx::RectF opaque_layer_rect; gfx 282 cc/resources/picture.cc opaque_rect_ = gfx::ToEnclosedRect(opaque_layer_rect); gfx 297 cc/resources/picture.cc cell_size_ = gfx::Size( gfx 315 cc/resources/picture.cc gfx::Point min( gfx 320 cc/resources/picture.cc gfx::Point max( gfx 339 cc/resources/picture.cc min_pixel_cell_ = gfx::Point(min_x, min_y); gfx 340 cc/resources/picture.cc max_pixel_cell_ = gfx::Point(max_x, max_y); gfx 360 cc/resources/picture.cc canvas->clipRect(gfx::RectToSkRect(it.rect()), SkRegion::kDifference_Op); gfx 434 cc/resources/picture.cc const gfx::Rect& rect, gfx 439 cc/resources/picture.cc gfx::Rect layer_rect = picture->layer_rect_; gfx 440 cc/resources/picture.cc gfx::Size cell_size = picture->cell_size_; gfx 443 cc/resources/picture.cc gfx::Rect query_rect(rect); gfx 446 cc/resources/picture.cc min_point_ = gfx::Point(0, 0); gfx 447 cc/resources/picture.cc max_point_ = gfx::Point(0, 0); gfx 458 cc/resources/picture.cc min_point_ = gfx::Point( gfx 461 cc/resources/picture.cc max_point_ = gfx::Point( gfx 466 cc/resources/picture.cc min_point_ = gfx::Point( gfx 469 cc/resources/picture.cc max_point_ = gfx::Point( gfx 492 cc/resources/picture.cc gfx::Size cell_size = picture_->cell_size_; gfx 55 cc/resources/picture.h const gfx::Rect& layer_rect, gfx 64 cc/resources/picture.h gfx::Rect LayerRect() const { return layer_rect_; } gfx 65 cc/resources/picture.h gfx::Rect OpaqueRect() const { return opaque_rect_; } gfx 92 cc/resources/picture.h PixelRefIterator(const gfx::Rect& layer_rect, const Picture* picture); gfx 116 cc/resources/picture.h gfx::Point min_point_; gfx 117 cc/resources/picture.h gfx::Point max_point_; gfx 128 cc/resources/picture.h explicit Picture(const gfx::Rect& layer_rect); gfx 132 cc/resources/picture.h const gfx::Rect& layer_rect, gfx 133 cc/resources/picture.h const gfx::Rect& opaque_rect, gfx 137 cc/resources/picture.h const gfx::Rect& layer_rect, gfx 138 cc/resources/picture.h const gfx::Rect& opaque_rect); gfx 153 cc/resources/picture.h gfx::Rect layer_rect_; gfx 154 cc/resources/picture.h gfx::Rect opaque_rect_; gfx 161 cc/resources/picture.h gfx::Point min_pixel_cell_; gfx 162 cc/resources/picture.h gfx::Point max_pixel_cell_; gfx 163 cc/resources/picture.h gfx::Size cell_size_; gfx 42 cc/resources/picture_layer_tiling.cc const gfx::Size& layer_bounds, gfx 50 cc/resources/picture_layer_tiling.cc const gfx::Size& layer_bounds, gfx 56 cc/resources/picture_layer_tiling.cc tiling_data_(gfx::Size(), gfx::Size(), true), gfx 59 cc/resources/picture_layer_tiling.cc gfx::Size content_bounds = gfx 60 cc/resources/picture_layer_tiling.cc gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale)); gfx 61 cc/resources/picture_layer_tiling.cc gfx::Size tile_size = client_->CalculateTileSize(content_bounds); gfx 63 cc/resources/picture_layer_tiling.cc DCHECK(!gfx::ToFlooredSize( gfx 64 cc/resources/picture_layer_tiling.cc gfx::ScaleSize(layer_bounds, contents_scale)).IsEmpty()) << gfx 80 cc/resources/picture_layer_tiling.cc gfx::Rect PictureLayerTiling::ContentRect() const { gfx 81 cc/resources/picture_layer_tiling.cc return gfx::Rect(tiling_data_.total_size()); gfx 84 cc/resources/picture_layer_tiling.cc gfx::SizeF PictureLayerTiling::ContentSizeF() const { gfx 85 cc/resources/picture_layer_tiling.cc return gfx::ScaleSize(layer_bounds_, contents_scale_); gfx 94 cc/resources/picture_layer_tiling.cc gfx::Rect paint_rect = tiling_data_.TileBoundsWithBorder(i, j); gfx 95 cc/resources/picture_layer_tiling.cc gfx::Rect tile_rect = paint_rect; gfx 103 cc/resources/picture_layer_tiling.cc gfx::Rect rect = gfx 104 cc/resources/picture_layer_tiling.cc gfx::ScaleToEnclosingRect(paint_rect, 1.0f / contents_scale_); gfx 120 cc/resources/picture_layer_tiling.cc const gfx::Rect& content_rect) const { gfx 146 cc/resources/picture_layer_tiling.cc void PictureLayerTiling::SetLayerBounds(const gfx::Size& layer_bounds) { gfx 152 cc/resources/picture_layer_tiling.cc gfx::Size old_layer_bounds = layer_bounds_; gfx 154 cc/resources/picture_layer_tiling.cc gfx::Size old_content_bounds = tiling_data_.total_size(); gfx 155 cc/resources/picture_layer_tiling.cc gfx::Size content_bounds = gfx 156 cc/resources/picture_layer_tiling.cc gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds_, contents_scale_)); gfx 158 cc/resources/picture_layer_tiling.cc gfx::Size tile_size = client_->CalculateTileSize(content_bounds); gfx 167 cc/resources/picture_layer_tiling.cc gfx::Rect bounded_live_tiles_rect(live_tiles_rect_); gfx 168 cc/resources/picture_layer_tiling.cc bounded_live_tiles_rect.Intersect(gfx::Rect(content_bounds)); gfx 173 cc/resources/picture_layer_tiling.cc Region layer_region((gfx::Rect(layer_bounds_))); gfx 174 cc/resources/picture_layer_tiling.cc layer_region.Subtract(gfx::Rect(old_layer_bounds)); gfx 181 cc/resources/picture_layer_tiling.cc gfx::Rect layer_rect = iter.rect(); gfx 182 cc/resources/picture_layer_tiling.cc gfx::Rect content_rect = gfx 183 cc/resources/picture_layer_tiling.cc gfx::ScaleToEnclosingRect(layer_rect, contents_scale_); gfx 220 cc/resources/picture_layer_tiling.cc const gfx::Rect& dest_rect) gfx 237 cc/resources/picture_layer_tiling.cc gfx::Size dest_content_size = gfx::ToCeiledSize(gfx::ScaleSize( gfx 242 cc/resources/picture_layer_tiling.cc gfx::Rect content_rect = gfx 243 cc/resources/picture_layer_tiling.cc gfx::ScaleToEnclosingRect(dest_rect_, gfx 248 cc/resources/picture_layer_tiling.cc content_rect.Intersect(gfx::Rect(tiling_->tiling_data_.total_size())); gfx 290 cc/resources/picture_layer_tiling.cc gfx::Rect last_geometry_rect = current_geometry_rect_; gfx 292 cc/resources/picture_layer_tiling.cc gfx::Rect content_rect = tiling_->tiling_data_.TileBounds(tile_i_, tile_j_); gfx 295 cc/resources/picture_layer_tiling.cc gfx::ScaleToEnclosingRect(content_rect, gfx 330 cc/resources/picture_layer_tiling.cc gfx::Rect PictureLayerTiling::CoverageIterator::geometry_rect() const { gfx 334 cc/resources/picture_layer_tiling.cc gfx::Rect gfx 336 cc/resources/picture_layer_tiling.cc gfx::Rect rect = tiling_->tiling_data_.TileBoundsWithBorder(tile_i_, tile_j_); gfx 341 cc/resources/picture_layer_tiling.cc gfx::RectF PictureLayerTiling::CoverageIterator::texture_rect() const { gfx 342 cc/resources/picture_layer_tiling.cc gfx::PointF tex_origin = gfx 346 cc/resources/picture_layer_tiling.cc gfx::RectF texture_rect(current_geometry_rect_); gfx 355 cc/resources/picture_layer_tiling.cc gfx::Size PictureLayerTiling::CoverageIterator::texture_size() const { gfx 360 cc/resources/picture_layer_tiling.cc live_tiles_rect_ = gfx::Rect(); gfx 364 cc/resources/picture_layer_tiling.cc gfx::Rect PictureLayerTiling::ComputeSkewport( gfx 366 cc/resources/picture_layer_tiling.cc const gfx::Rect& visible_rect_in_content_space) const { gfx 367 cc/resources/picture_layer_tiling.cc gfx::Rect skewport = visible_rect_in_content_space; gfx 394 cc/resources/picture_layer_tiling.cc gfx::Rect max_skewport = skewport; gfx 414 cc/resources/picture_layer_tiling.cc const gfx::Rect& visible_layer_rect, gfx 423 cc/resources/picture_layer_tiling.cc gfx::Rect visible_rect_in_content_space = gfx 424 cc/resources/picture_layer_tiling.cc gfx::ScaleToEnclosingRect(visible_layer_rect, contents_scale_); gfx 434 cc/resources/picture_layer_tiling.cc gfx::Size tile_size = tiling_data_.max_texture_size(); gfx 438 cc/resources/picture_layer_tiling.cc gfx::Rect skewport = ComputeSkewport(current_frame_time_in_seconds, gfx 442 cc/resources/picture_layer_tiling.cc gfx::Rect eventually_rect = gfx 488 cc/resources/picture_layer_tiling.cc gfx::Rect tile_bounds = gfx 509 cc/resources/picture_layer_tiling.cc gfx::Rect tile_bounds = gfx 522 cc/resources/picture_layer_tiling.cc const gfx::Rect& new_live_tiles_rect) { gfx 638 cc/resources/picture_layer_tiling.cc gfx::Rect PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 639 cc/resources/picture_layer_tiling.cc const gfx::Rect& starting_rect, gfx 641 cc/resources/picture_layer_tiling.cc const gfx::Rect& bounding_rect, gfx 664 cc/resources/picture_layer_tiling.cc gfx::Rect expanded_starting_rect = starting_rect; gfx 668 cc/resources/picture_layer_tiling.cc gfx::Rect rect = IntersectRects(expanded_starting_rect, bounding_rect); gfx 749 cc/resources/picture_layer_tiling.cc gfx::Rect result(origin_x, origin_y, width, height); gfx 31 cc/resources/picture_layer_tiling.h const gfx::Rect& content_rect) = 0; gfx 33 cc/resources/picture_layer_tiling.h virtual gfx::Size CalculateTileSize( gfx 34 cc/resources/picture_layer_tiling.h const gfx::Size& content_bounds) const = 0; gfx 62 cc/resources/picture_layer_tiling.h gfx::Rect TileBounds() const { gfx 82 cc/resources/picture_layer_tiling.h gfx::Rect visible_rect_in_content_space_; gfx 83 cc/resources/picture_layer_tiling.h gfx::Rect skewport_in_content_space_; gfx 84 cc/resources/picture_layer_tiling.h gfx::Rect eventually_rect_in_content_space_; gfx 121 cc/resources/picture_layer_tiling.h const gfx::Size& layer_bounds, gfx 123 cc/resources/picture_layer_tiling.h gfx::Size layer_bounds() const { return layer_bounds_; } gfx 124 cc/resources/picture_layer_tiling.h void SetLayerBounds(const gfx::Size& layer_bounds); gfx 134 cc/resources/picture_layer_tiling.h gfx::Rect ContentRect() const; gfx 135 cc/resources/picture_layer_tiling.h gfx::SizeF ContentSizeF() const; gfx 136 cc/resources/picture_layer_tiling.h gfx::Rect live_tiles_rect() const { return live_tiles_rect_; } gfx 137 cc/resources/picture_layer_tiling.h gfx::Size tile_size() const { return tiling_data_.max_texture_size(); } gfx 146 cc/resources/picture_layer_tiling.h SetLiveTilesRect(gfx::Rect(tiling_data_.total_size())); gfx 166 cc/resources/picture_layer_tiling.h const gfx::Rect& rect); gfx 171 cc/resources/picture_layer_tiling.h gfx::Rect geometry_rect() const; gfx 173 cc/resources/picture_layer_tiling.h gfx::RectF texture_rect() const; gfx 174 cc/resources/picture_layer_tiling.h gfx::Size texture_size() const; gfx 178 cc/resources/picture_layer_tiling.h gfx::Rect full_tile_geometry_rect() const; gfx 191 cc/resources/picture_layer_tiling.h gfx::Rect dest_rect_; gfx 195 cc/resources/picture_layer_tiling.h gfx::Rect current_geometry_rect_; gfx 206 cc/resources/picture_layer_tiling.h Region OpaqueRegionInContentRect(const gfx::Rect& content_rect) const; gfx 211 cc/resources/picture_layer_tiling.h const gfx::Rect& visible_layer_rect, gfx 239 cc/resources/picture_layer_tiling.h gfx::Rect previous_start; gfx 240 cc/resources/picture_layer_tiling.h gfx::Rect previous_bounds; gfx 241 cc/resources/picture_layer_tiling.h gfx::Rect previous_result; gfx 246 cc/resources/picture_layer_tiling.h gfx::Rect ExpandRectEquallyToAreaBoundedBy( gfx 247 cc/resources/picture_layer_tiling.h const gfx::Rect& starting_rect, gfx 249 cc/resources/picture_layer_tiling.h const gfx::Rect& bounding_rect, gfx 265 cc/resources/picture_layer_tiling.h const gfx::Size& layer_bounds, gfx 267 cc/resources/picture_layer_tiling.h void SetLiveTilesRect(const gfx::Rect& live_tiles_rect); gfx 274 cc/resources/picture_layer_tiling.h gfx::Rect ComputeSkewport(double current_frame_time_in_seconds, gfx 275 cc/resources/picture_layer_tiling.h const gfx::Rect& visible_rect_in_content_space) gfx 282 cc/resources/picture_layer_tiling.h gfx::Size layer_bounds_; gfx 289 cc/resources/picture_layer_tiling.h gfx::Rect live_tiles_rect_; gfx 293 cc/resources/picture_layer_tiling.h gfx::Rect last_visible_rect_in_content_space_; gfx 295 cc/resources/picture_layer_tiling.h gfx::Rect current_visible_rect_in_content_space_; gfx 296 cc/resources/picture_layer_tiling.h gfx::Rect current_skewport_; gfx 297 cc/resources/picture_layer_tiling.h gfx::Rect current_eventually_rect_; gfx 24 cc/resources/picture_layer_tiling_perftest.cc picture_layer_tiling_client_.SetTileSize(gfx::Size(256, 256)); gfx 27 cc/resources/picture_layer_tiling_perftest.cc 1, gfx::Size(256 * 50, 256 * 50), &picture_layer_tiling_client_); gfx 66 cc/resources/picture_layer_tiling_perftest.cc const gfx::Transform& transform) { gfx 70 cc/resources/picture_layer_tiling_perftest.cc gfx::Rect viewport_rect(0, 0, 1024, 768); gfx 85 cc/resources/picture_layer_tiling_perftest.cc const gfx::Transform& transform) { gfx 89 cc/resources/picture_layer_tiling_perftest.cc gfx::Size viewport_size(1024, 768); gfx 90 cc/resources/picture_layer_tiling_perftest.cc gfx::Rect viewport_rect(viewport_size); gfx 100 cc/resources/picture_layer_tiling_perftest.cc viewport_rect = gfx::Rect(viewport_rect.x() + xoffsets[offsetIndex], gfx 121 cc/resources/picture_layer_tiling_perftest.cc const gfx::Rect& viewport) { gfx 125 cc/resources/picture_layer_tiling_perftest.cc gfx::Size bounds(10000, 10000); gfx 158 cc/resources/picture_layer_tiling_perftest.cc Region one_tile(gfx::Rect(256, 256)); gfx 161 cc/resources/picture_layer_tiling_perftest.cc Region half_region(gfx::Rect(25 * 256, 50 * 256)); gfx 164 cc/resources/picture_layer_tiling_perftest.cc Region full_region(gfx::Rect(50 * 256, 50 * 256)); gfx 174 cc/resources/picture_layer_tiling_perftest.cc gfx::Transform transform; gfx 189 cc/resources/picture_layer_tiling_perftest.cc RunTilingRasterTileIteratorTest("32_100x100", 32, gfx::Rect(0, 0, 100, 100)); gfx 190 cc/resources/picture_layer_tiling_perftest.cc RunTilingRasterTileIteratorTest("32_500x500", 32, gfx::Rect(0, 0, 500, 500)); gfx 191 cc/resources/picture_layer_tiling_perftest.cc RunTilingRasterTileIteratorTest("64_100x100", 64, gfx::Rect(0, 0, 100, 100)); gfx 192 cc/resources/picture_layer_tiling_perftest.cc RunTilingRasterTileIteratorTest("64_500x500", 64, gfx::Rect(0, 0, 500, 500)); gfx 25 cc/resources/picture_layer_tiling_set.cc const gfx::Size& layer_bounds) gfx 41 cc/resources/picture_layer_tiling_set.cc const gfx::Size& new_layer_bounds, gfx 150 cc/resources/picture_layer_tiling_set.cc const gfx::Rect& content_rect, gfx 182 cc/resources/picture_layer_tiling_set.cc gfx::Rect PictureLayerTilingSet::CoverageIterator::geometry_rect() const { gfx 185 cc/resources/picture_layer_tiling_set.cc return gfx::Rect(); gfx 191 cc/resources/picture_layer_tiling_set.cc gfx::RectF PictureLayerTilingSet::CoverageIterator::texture_rect() const { gfx 193 cc/resources/picture_layer_tiling_set.cc return gfx::RectF(); gfx 197 cc/resources/picture_layer_tiling_set.cc gfx::Size PictureLayerTilingSet::CoverageIterator::texture_size() const { gfx 199 cc/resources/picture_layer_tiling_set.cc return gfx::Size(); gfx 281 cc/resources/picture_layer_tiling_set.cc gfx::Rect last_rect = region_iter_.rect(); gfx 306 cc/resources/picture_layer_tiling_set.cc const gfx::Rect& visible_content_rect, gfx 309 cc/resources/picture_layer_tiling_set.cc gfx::Rect visible_layer_rect = gfx::ScaleToEnclosingRect( gfx 18 cc/resources/picture_layer_tiling_set.h const gfx::Size& layer_bounds); gfx 30 cc/resources/picture_layer_tiling_set.h const gfx::Size& new_layer_bounds, gfx 34 cc/resources/picture_layer_tiling_set.h gfx::Size layer_bounds() const { return layer_bounds_; } gfx 58 cc/resources/picture_layer_tiling_set.h const gfx::Rect& visible_content_rect, gfx 74 cc/resources/picture_layer_tiling_set.h const gfx::Rect& content_rect, gfx 80 cc/resources/picture_layer_tiling_set.h gfx::Rect geometry_rect() const; gfx 82 cc/resources/picture_layer_tiling_set.h gfx::RectF texture_rect() const; gfx 84 cc/resources/picture_layer_tiling_set.h gfx::Size texture_size() const; gfx 114 cc/resources/picture_layer_tiling_set.h gfx::Size layer_bounds_; gfx 25 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size layer_bounds(1000, 800); gfx 27 cc/resources/picture_layer_tiling_set_unittest.cc client.SetTileSize(gfx::Size(256, 256)); gfx 34 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size content_bounds( gfx 35 cc/resources/picture_layer_tiling_set_unittest.cc gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); gfx 36 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Rect content_rect(content_bounds); gfx 45 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Rect geometry_rect = iter.geometry_rect(); gfx 75 cc/resources/picture_layer_tiling_set_unittest.cc client.SetTileSize(gfx::Size(256, 256)); gfx 76 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size layer_bounds(1000, 800); gfx 88 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size content_bounds( gfx 89 cc/resources/picture_layer_tiling_set_unittest.cc gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, max_contents_scale))); gfx 90 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Rect content_rect(content_bounds); gfx 99 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Rect geometry_rect = iter.geometry_rect(); gfx 152 cc/resources/picture_layer_tiling_set_unittest.cc : tile_size_(gfx::Size(10, 10)), gfx 153 cc/resources/picture_layer_tiling_set_unittest.cc source_bounds_(gfx::Size(30, 20)), gfx 154 cc/resources/picture_layer_tiling_set_unittest.cc target_bounds_(gfx::Size(30, 30)) { gfx 162 cc/resources/picture_layer_tiling_set_unittest.cc void SyncTilings(const gfx::Size& new_bounds, gfx 173 cc/resources/picture_layer_tiling_set_unittest.cc void SyncTilings(const gfx::Size& new_bounds) { gfx 177 cc/resources/picture_layer_tiling_set_unittest.cc void SyncTilings(const gfx::Size& new_bounds, const Region& invalidation) { gfx 180 cc/resources/picture_layer_tiling_set_unittest.cc void SyncTilings(const gfx::Size& new_bounds, float minimum_scale) { gfx 185 cc/resources/picture_layer_tiling_set_unittest.cc void VerifyTargetEqualsSource(const gfx::Size& new_bounds) const { gfx 244 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size tile_size_; gfx 247 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size source_bounds_; gfx 251 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size target_bounds_; gfx 260 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size new_bounds; gfx 274 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size new_bounds(15, 40); gfx 282 cc/resources/picture_layer_tiling_set_unittest.cc if (tiles[i]->content_rect().origin() == gfx::Point()) gfx 310 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size new_bounds(15, 40); gfx 328 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size new_bounds(15, 40); gfx 341 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size new_bounds(15, 40); gfx 356 cc/resources/picture_layer_tiling_set_unittest.cc layer_invalidation.Union(gfx::Rect(0, 0, 1, 1)); gfx 357 cc/resources/picture_layer_tiling_set_unittest.cc layer_invalidation.Union(gfx::Rect(0, 15, 1, 1)); gfx 359 cc/resources/picture_layer_tiling_set_unittest.cc layer_invalidation.Union(gfx::Rect(100, 100, 1, 1)); gfx 364 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Rect content_rect = gfx::ScaleToEnclosingRect(iter.rect(), 2.f); gfx 369 cc/resources/picture_layer_tiling_set_unittest.cc std::map<gfx::Point, scoped_refptr<Tile> > old_tile_map; gfx 379 cc/resources/picture_layer_tiling_set_unittest.cc std::map<gfx::Point, scoped_refptr<Tile> >::iterator find = gfx 396 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size new_tile_size(100, 100); gfx 401 cc/resources/picture_layer_tiling_set_unittest.cc gfx::Size new_bounds(15, 40); gfx 24 cc/resources/picture_layer_tiling_unittest.cc static gfx::Rect ViewportInLayerSpace( gfx 25 cc/resources/picture_layer_tiling_unittest.cc const gfx::Transform& transform, gfx 26 cc/resources/picture_layer_tiling_unittest.cc const gfx::Size& device_viewport) { gfx 28 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform inverse; gfx 30 cc/resources/picture_layer_tiling_unittest.cc return gfx::Rect(); gfx 32 cc/resources/picture_layer_tiling_unittest.cc gfx::RectF viewport_in_layer_space = MathUtil::ProjectClippedRect( gfx 33 cc/resources/picture_layer_tiling_unittest.cc inverse, gfx::RectF(gfx::Point(0, 0), device_viewport)); gfx 44 cc/resources/picture_layer_tiling_unittest.cc const gfx::Size& layer_bounds, gfx 56 cc/resources/picture_layer_tiling_unittest.cc const gfx::Size& layer_bounds, gfx 66 cc/resources/picture_layer_tiling_unittest.cc void Initialize(const gfx::Size& tile_size, gfx 68 cc/resources/picture_layer_tiling_unittest.cc const gfx::Size& layer_bounds) { gfx 75 cc/resources/picture_layer_tiling_unittest.cc void SetLiveRectAndVerifyTiles(const gfx::Rect& live_tiles_rect) { gfx 88 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& request_rect, gfx 89 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& expect_rect) { gfx 105 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect geometry = iter.geometry_rect(); gfx 111 cc/resources/picture_layer_tiling_unittest.cc gfx::RectF texture_rect = iter.texture_rect(); gfx 124 cc/resources/picture_layer_tiling_unittest.cc void VerifyTilesExactlyCoverRect(float rect_scale, const gfx::Rect& rect) { gfx 130 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& rect, gfx 132 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& geometry_rect)> callback) { gfx 142 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& rect, gfx 144 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& geometry_rect)> callback) { gfx 156 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& dest_rect) { gfx 158 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect clamped_rect = gfx::ScaleToEnclosingRect( gfx 177 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1, gfx::Size(1099, 801)); gfx 178 cc/resources/picture_layer_tiling_unittest.cc SetLiveRectAndVerifyTiles(gfx::Rect(100, 100)); gfx 179 cc/resources/picture_layer_tiling_unittest.cc SetLiveRectAndVerifyTiles(gfx::Rect(101, 99)); gfx 180 cc/resources/picture_layer_tiling_unittest.cc SetLiveRectAndVerifyTiles(gfx::Rect(1099, 1)); gfx 181 cc/resources/picture_layer_tiling_unittest.cc SetLiveRectAndVerifyTiles(gfx::Rect(1, 801)); gfx 182 cc/resources/picture_layer_tiling_unittest.cc SetLiveRectAndVerifyTiles(gfx::Rect(1099, 1)); gfx 183 cc/resources/picture_layer_tiling_unittest.cc SetLiveRectAndVerifyTiles(gfx::Rect(201, 800)); gfx 187 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1, gfx::Size(1099, 801)); gfx 188 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect()); gfx 189 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 1099, 801)); gfx 190 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(52, 83, 789, 412)); gfx 193 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(3, 3), 1, gfx::Size(10, 10)); gfx 194 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 1, 1)); gfx 195 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 2, 2)); gfx 196 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(1, 1, 2, 2)); gfx 197 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(3, 2, 5, 2)); gfx 201 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(200, 100), 2.0f, gfx::Size(1005, 2010)); gfx 202 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect()); gfx 203 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 1005, 2010)); gfx 204 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(50, 112, 512, 381)); gfx 206 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(3, 3), 2.0f, gfx::Size(10, 10)); gfx 207 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect()); gfx 208 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 1, 1)); gfx 209 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 2, 2)); gfx 210 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(1, 1, 2, 2)); gfx 211 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(3, 2, 5, 2)); gfx 213 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 200), 0.5f, gfx::Size(1005, 2010)); gfx 214 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 1005, 2010)); gfx 215 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(50, 112, 512, 381)); gfx 217 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(150, 250), 0.37f, gfx::Size(1005, 2010)); gfx 218 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 1005, 2010)); gfx 219 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(50, 112, 512, 381)); gfx 221 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(312, 123), 0.01f, gfx::Size(1005, 2010)); gfx 222 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(0, 0, 1005, 2010)); gfx 223 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1, gfx::Rect(50, 112, 512, 381)); gfx 227 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(50, 50), 4.0f, gfx::Size(800, 600)); gfx 228 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(2.0f, gfx::Rect()); gfx 229 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(2.0f, gfx::Rect(0, 0, 1600, 1200)); gfx 230 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(2.0f, gfx::Rect(512, 365, 253, 182)); gfx 233 cc/resources/picture_layer_tiling_unittest.cc gfx::Size bounds(800, 600); gfx 234 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect full_rect(gfx::ToCeiledSize(gfx::ScaleSize(bounds, scale))); gfx 235 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(256, 512), 5.2f, bounds); gfx 237 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(scale, gfx::Rect(2014, 1579, 867, 1033)); gfx 241 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.0f, gfx::Size(800, 600)); gfx 243 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect empty; gfx 249 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.0f, gfx::Size(800, 600)); gfx 250 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect non_intersecting(1000, 1000, 50, 50); gfx 256 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(300, 300), 1.0f, gfx::Size(256, 256)); gfx 258 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1.0f, gfx::Rect(0, 0, 256, 256)); gfx 259 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(0.8f, gfx::Rect(0, 0, 205, 205)); gfx 260 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1.2f, gfx::Rect(0, 0, 308, 308)); gfx 264 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.0f, gfx::Size(400, 400)); gfx 267 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesCoverNonContainedRect(1.0f, gfx::Rect(-1000, -1000, 2000, 2000)); gfx 268 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesCoverNonContainedRect(1.5f, gfx::Rect(-1000, -1000, 2000, 2000)); gfx 269 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesCoverNonContainedRect(0.5f, gfx::Rect(-1000, -1000, 2000, 2000)); gfx 272 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesCoverNonContainedRect(1.0f, gfx::Rect(-1000, 100, 2000, 100)); gfx 273 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesCoverNonContainedRect(1.5f, gfx::Rect(-1000, 100, 2000, 100)); gfx 274 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesCoverNonContainedRect(0.5f, gfx::Rect(-1000, 100, 2000, 100)); gfx 282 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(0, 0, 100, 100); gfx 283 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(200, 200); gfx 285 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 291 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect down_skewport = gfx 292 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(0, 50, 100, 100)); gfx 298 cc/resources/picture_layer_tiling_unittest.cc EXPECT_TRUE(down_skewport.Contains(gfx::Rect(0, 50, 100, 100))); gfx 301 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect down_right_skewport = gfx 302 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(10, 50, 100, 100)); gfx 308 cc/resources/picture_layer_tiling_unittest.cc EXPECT_TRUE(down_right_skewport.Contains(gfx::Rect(10, 50, 100, 100))); gfx 311 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect left_skewport = gfx 312 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(-50, 0, 100, 100)); gfx 318 cc/resources/picture_layer_tiling_unittest.cc EXPECT_TRUE(left_skewport.Contains(gfx::Rect(-50, 0, 100, 100))); gfx 321 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect expand_skewport = gfx 322 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(-50, -50, 200, 200)); gfx 330 cc/resources/picture_layer_tiling_unittest.cc EXPECT_TRUE(expand_skewport.Contains(gfx::Rect(-50, -50, 200, 200))); gfx 333 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect big_expand_skewport = gfx 334 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(-500, -500, 1500, 1500)); gfx 340 cc/resources/picture_layer_tiling_unittest.cc EXPECT_TRUE(big_expand_skewport.Contains(gfx::Rect(-500, -500, 1500, 1500))); gfx 347 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(0, 0, 100, 100); gfx 348 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(200, 200); gfx 350 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 356 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect down_skewport = gfx 357 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(0, 50, 100, 100)); gfx 365 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect shrink_skewport = gfx 366 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(25, 25, 50, 50)); gfx 374 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect down_right_skewport = gfx 375 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(10, 50, 100, 100)); gfx 383 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect left_skewport = gfx 384 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.5, gfx::Rect(-20, 0, 100, 100)); gfx 392 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect expanded_skewport = gfx 393 cc/resources/picture_layer_tiling_unittest.cc tiling->ComputeSkewport(1.2, gfx::Rect(-5, -5, 110, 110)); gfx 405 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(0, 0, 100, 100); gfx 406 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(200, 200); gfx 408 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(10, 10)); gfx 416 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_content_space = gfx 417 cc/resources/picture_layer_tiling_unittest.cc gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); gfx 476 cc/resources/picture_layer_tiling_unittest.cc viewport = gfx::Rect(0, 40, 100, 100); gfx 478 cc/resources/picture_layer_tiling_unittest.cc gfx::ToEnclosedRect(gfx::ScaleRect(viewport, 0.25f)); gfx 479 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect skewport = tiling->ComputeSkewport(2.0, viewport_in_content_space); gfx 548 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 549 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(-1000, -1000, 10000, 10000); gfx 551 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 557 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 558 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(-1000, -1000, 10000, 10000); gfx 560 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 570 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 571 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(-1000, -1000, 10000, 10000); gfx 573 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 583 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 584 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(50, 60, 40, 30); gfx 586 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 592 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 593 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds = in; gfx 595 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 601 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 602 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(45, 0, 90, 300); gfx 604 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 610 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 611 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(40, 0, 100, 300); gfx 613 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 619 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 620 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(0, 55, 180, 190); gfx 622 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 628 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 629 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(0, 50, 180, 200); gfx 631 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 637 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 638 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(20, -1000, 10000, 10000); gfx 640 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 651 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 652 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(-1000, -1000, 1000+120, 10000); gfx 654 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 665 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 666 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(-1000, 30, 10000, 10000); gfx 668 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 679 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 680 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(-1000, -1000, 10000, 1000 + 220); gfx 682 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 693 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 694 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(0, -4000, 100+40+20, 100000); gfx 696 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 708 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 200); gfx 709 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(-4000, 0, 100000, 200+50+30); gfx 711 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 723 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(400, 500, 100, 200); gfx 724 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(0, 0, 10, 10); gfx 726 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 732 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 50, 100, 100); gfx 733 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(0, 0, 10, 10); gfx 735 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 741 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(600, 600, 100, 100); gfx 742 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(0, 0, 500, 500); gfx 744 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 757 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect in(40, 40, 0, 0); gfx 758 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect bounds(0, 0, 10, 10); gfx 760 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect out = PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy( gfx 769 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(50, 50, 100, 100); gfx 770 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(200, 200); gfx 772 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(30, 30)); gfx 871 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(50, 0, 100, 100); gfx 872 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect moved_viewport(50, 0, 100, 250); gfx 873 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(500, 500); gfx 875 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(30, 30)); gfx 924 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& geometry_rect) { gfx 939 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport(50, 50, 100, 100); gfx 940 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(200, 200); gfx 942 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(30, 30)); gfx 989 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(1099, 801); gfx 990 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.f, layer_bounds); gfx 991 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1.f, gfx::Rect(layer_bounds)); gfx 992 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); gfx 996 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), // visible content rect gfx 999 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); gfx 1003 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(), // visible content rect gfx 1006 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); gfx 1010 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(1099, 801); gfx 1011 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.f, layer_bounds); gfx 1012 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1.f, gfx::Rect(layer_bounds)); gfx 1013 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); gfx 1015 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect giant_rect(-10000000, -10000000, 1000000000, 1000000000); gfx 1019 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), // visible content rect gfx 1022 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); gfx 1029 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); gfx 1033 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(1099, 801); gfx 1034 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.f, layer_bounds); gfx 1035 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1.f, gfx::Rect(layer_bounds)); gfx 1036 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); gfx 1040 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_rect(1100, 0, 1000, 1000); gfx 1041 cc/resources/picture_layer_tiling_unittest.cc EXPECT_FALSE(viewport_rect.Intersects(gfx::Rect(layer_bounds))); gfx 1047 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, true)); gfx 1050 cc/resources/picture_layer_tiling_unittest.cc static void TilesIntersectingRectExist(const gfx::Rect& rect, gfx 1053 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& geometry_rect) { gfx 1063 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(10000, 10000); gfx 1064 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.f, layer_bounds); gfx 1065 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1.f, gfx::Rect(layer_bounds)); gfx 1066 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); gfx 1068 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect visible_rect(8000, 8000, 50, 50); gfx 1076 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), gfx 1082 cc/resources/picture_layer_tiling_unittest.cc const gfx::Rect& geometry_rect) { gfx 1089 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(10000, 10000); gfx 1090 cc/resources/picture_layer_tiling_unittest.cc Initialize(gfx::Size(100, 100), 1.f, layer_bounds); gfx 1091 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(1.f, gfx::Rect(layer_bounds)); gfx 1092 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(layer_bounds), base::Bind(&TileExists, false)); gfx 1097 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), // visible content rect gfx 1103 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), gfx 1108 cc/resources/picture_layer_tiling_unittest.cc VerifyTiles(1.f, gfx::Rect(), base::Bind(&TileExists, false)); gfx 1112 cc/resources/picture_layer_tiling_unittest.cc gfx::Size layer_bounds(1099, 801); gfx 1113 cc/resources/picture_layer_tiling_unittest.cc gfx::Size tile_size(100, 100); gfx 1123 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), gfx 1128 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), // visible content rect gfx 1135 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), gfx 1146 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), gfx 1153 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), // visible content rect gfx 1159 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect(layer_bounds), gfx 1170 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1171 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1172 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1174 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1177 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1180 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 1219 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1220 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1221 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1223 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform last_screen_transform; gfx 1224 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1230 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1233 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 1282 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1283 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1284 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1286 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform last_screen_transform; gfx 1287 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1293 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1296 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 1336 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1337 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1338 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1340 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform last_screen_transform; gfx 1341 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1350 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1353 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 1401 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1402 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect visible_layer_rect(0, 0, 0, 0); // offscreen. gfx 1403 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1404 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1406 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform last_screen_transform; gfx 1407 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1427 cc/resources/picture_layer_tiling_unittest.cc gfx::QuadF(gfx::RectF(0, 0, 200, 200)), gfx 1431 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1434 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 1487 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1488 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1489 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1491 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform last_screen_transform; gfx 1492 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1513 cc/resources/picture_layer_tiling_unittest.cc gfx::QuadF(gfx::RectF(0, 0, 100, 200)), gfx 1518 cc/resources/picture_layer_tiling_unittest.cc gfx::QuadF(gfx::RectF(100, 0, 100, 200)), gfx 1522 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1525 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 1568 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1569 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect visible_layer_rect(0, 0, 0, 0); gfx 1570 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1571 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1574 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform last_screen_transform; gfx 1575 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1583 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1586 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 1635 cc/resources/picture_layer_tiling_unittest.cc gfx::Size device_viewport(800, 600); gfx 1636 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect visible_layer_rect(0, 0, 0, 0); // offscren. gfx 1637 cc/resources/picture_layer_tiling_unittest.cc gfx::Size last_layer_bounds(200, 200); gfx 1638 cc/resources/picture_layer_tiling_unittest.cc gfx::Size current_layer_bounds(200, 200); gfx 1641 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform last_screen_transform; gfx 1642 cc/resources/picture_layer_tiling_unittest.cc gfx::Transform current_screen_transform; gfx 1658 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect viewport_in_layer_space = ViewportInLayerSpace( gfx 1661 cc/resources/picture_layer_tiling_unittest.cc client.SetTileSize(gfx::Size(100, 100)); gfx 28 cc/resources/picture_pile.cc bool rect_sort_y(const gfx::Rect &r1, const gfx::Rect &r2) { gfx 32 cc/resources/picture_pile.cc bool rect_sort_x(const gfx::Rect &r1, const gfx::Rect &r2) { gfx 36 cc/resources/picture_pile.cc float do_clustering(const std::vector<gfx::Rect>& tiles, gfx 37 cc/resources/picture_pile.cc std::vector<gfx::Rect>* clustered_rects) { gfx 45 cc/resources/picture_pile.cc gfx::Rect cur_record_rect; gfx 48 cc/resources/picture_pile.cc for (std::vector<gfx::Rect>::const_iterator it = tiles.begin(); gfx 51 cc/resources/picture_pile.cc gfx::Rect invalid_tile = *it; gfx 58 cc/resources/picture_pile.cc gfx::Rect proposed_union = cur_record_rect; gfx 94 cc/resources/picture_pile.cc float ClusterTiles(const std::vector<gfx::Rect>& invalid_tiles, gfx 95 cc/resources/picture_pile.cc std::vector<gfx::Rect>* record_rects) { gfx 109 cc/resources/picture_pile.cc std::vector<gfx::Rect> invalid_tiles_vertical = invalid_tiles; gfx 115 cc/resources/picture_pile.cc std::vector<gfx::Rect> vertical_clustering; gfx 121 cc/resources/picture_pile.cc std::vector<gfx::Rect> invalid_tiles_horizontal = invalid_tiles; gfx 127 cc/resources/picture_pile.cc std::vector<gfx::Rect> horizontal_clustering; gfx 155 cc/resources/picture_pile.cc const gfx::Rect& visible_layer_rect, gfx 162 cc/resources/picture_pile.cc gfx::Rect interest_rect = visible_layer_rect; gfx 169 cc/resources/picture_pile.cc recorded_viewport_.Intersect(gfx::Rect(size())); gfx 173 cc/resources/picture_pile.cc gfx::Rect invalidation = i.rect(); gfx 193 cc/resources/picture_pile.cc std::vector<gfx::Rect> invalid_tiles; gfx 200 cc/resources/picture_pile.cc gfx::Rect rect = PaddedRect(key); gfx 205 cc/resources/picture_pile.cc gfx::Rect tile = tiling_.TileBounds(key.first, key.second); gfx 212 cc/resources/picture_pile.cc recorded_viewport_ = gfx::Rect(); gfx 216 cc/resources/picture_pile.cc std::vector<gfx::Rect> record_rects; gfx 222 cc/resources/picture_pile.cc for (std::vector<gfx::Rect>::iterator it = record_rects.begin(); gfx 225 cc/resources/picture_pile.cc gfx::Rect record_rect = *it; gfx 263 cc/resources/picture_pile.cc gfx::Rect tile = PaddedRect(key); gfx 28 cc/resources/picture_pile.h const gfx::Rect& visible_layer_rect, gfx 50 cc/resources/picture_pile_base.cc tiling_.SetMaxTextureSize(gfx::Size(kBasePictureSize, kBasePictureSize)); gfx 95 cc/resources/picture_pile_base.cc void PicturePileBase::Resize(const gfx::Size& new_size) { gfx 99 cc/resources/picture_pile_base.cc gfx::Size old_size = size(); gfx 125 cc/resources/picture_pile_base.cc recorded_viewport_ = gfx::Rect(); gfx 151 cc/resources/picture_pile_base.cc const gfx::Size& tile_grid_size, gfx 165 cc/resources/picture_pile_base.cc void PicturePileBase::SetTileGridSize(const gfx::Size& tile_grid_size) { gfx 179 cc/resources/picture_pile_base.cc recorded_viewport_ = gfx::Rect(); gfx 190 cc/resources/picture_pile_base.cc const gfx::Rect& content_rect) { gfx 193 cc/resources/picture_pile_base.cc gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( gfx 195 cc/resources/picture_pile_base.cc layer_rect.Intersect(gfx::Rect(tiling_.total_size())); gfx 208 cc/resources/picture_pile_base.cc const gfx::Rect& layer_rect) const { gfx 222 cc/resources/picture_pile_base.cc gfx::Rect PicturePileBase::PaddedRect(const PictureMapKey& key) { gfx 223 cc/resources/picture_pile_base.cc gfx::Rect tile = tiling_.TileBounds(key.first, key.second); gfx 227 cc/resources/picture_pile_base.cc gfx::Rect PicturePileBase::PadRect(const gfx::Rect& rect) { gfx 228 cc/resources/picture_pile_base.cc gfx::Rect padded_rect = rect; gfx 236 cc/resources/picture_pile_base.cc gfx::Rect layer_rect(tiling_.total_size()); gfx 32 cc/resources/picture_pile_base.h void Resize(const gfx::Size& size); gfx 33 cc/resources/picture_pile_base.h gfx::Size size() const { return tiling_.total_size(); } gfx 38 cc/resources/picture_pile_base.h gfx::Rect tile_bounds(int x, int y) const { return tiling_.TileBounds(x, y); } gfx 40 cc/resources/picture_pile_base.h bool CanRaster(float contents_scale, const gfx::Rect& content_rect); gfx 45 cc/resources/picture_pile_base.h static void ComputeTileGridInfo(const gfx::Size& tile_grid_size, gfx 48 cc/resources/picture_pile_base.h void SetTileGridSize(const gfx::Size& tile_grid_size); gfx 90 cc/resources/picture_pile_base.h gfx::Rect PaddedRect(const PictureMapKey& key); gfx 91 cc/resources/picture_pile_base.h gfx::Rect PadRect(const gfx::Rect& rect); gfx 95 cc/resources/picture_pile_base.h bool CanRasterSlowTileCheck(const gfx::Rect& layer_rect) const; gfx 102 cc/resources/picture_pile_base.h gfx::Rect recorded_viewport_; gfx 75 cc/resources/picture_pile_impl.cc const gfx::Rect& canvas_rect, gfx 88 cc/resources/picture_pile_impl.cc const gfx::Rect& canvas_rect, gfx 97 cc/resources/picture_pile_impl.cc const gfx::Rect& canvas_rect, gfx 113 cc/resources/picture_pile_impl.cc gfx::SizeF total_content_size = gfx 114 cc/resources/picture_pile_impl.cc gfx::ScaleSize(tiling_.total_size(), contents_scale); gfx 115 cc/resources/picture_pile_impl.cc gfx::Rect content_rect(gfx::ToCeiledSize(total_content_size)); gfx 120 cc/resources/picture_pile_impl.cc gfx::Rect deflated_content_rect = content_rect; gfx 127 cc/resources/picture_pile_impl.cc gfx::Rect inflated_content_rect = content_rect; gfx 129 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(inflated_content_rect), gfx 131 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(deflated_content_rect), gfx 151 cc/resources/picture_pile_impl.cc void PicturePileImpl::CoalesceRasters(const gfx::Rect& canvas_rect, gfx 152 cc/resources/picture_pile_impl.cc const gfx::Rect& content_rect, gfx 157 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( gfx 165 cc/resources/picture_pile_impl.cc gfx::Rect last_content_rect; gfx 198 cc/resources/picture_pile_impl.cc gfx::Rect chunk_rect = PaddedRect(tile_iter.index()); gfx 199 cc/resources/picture_pile_impl.cc gfx::Rect content_clip = gfx 200 cc/resources/picture_pile_impl.cc gfx::ScaleToEnclosedRect(chunk_rect, contents_scale); gfx 249 cc/resources/picture_pile_impl.cc const gfx::Rect& canvas_rect, gfx 256 cc/resources/picture_pile_impl.cc gfx::SizeF total_content_size = gfx::ScaleSize(tiling_.total_size(), gfx 258 cc/resources/picture_pile_impl.cc gfx::Rect total_content_rect(gfx::ToCeiledSize(total_content_size)); gfx 259 cc/resources/picture_pile_impl.cc gfx::Rect content_rect = total_content_rect; gfx 262 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(content_rect), gfx 325 cc/resources/picture_pile_impl.cc canvas->clipRect(gfx::RectToSkRect(it.rect()), SkRegion::kDifference_Op); gfx 335 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect(tiling_.total_size()); gfx 352 cc/resources/picture_pile_impl.cc const gfx::Rect& content_rect, gfx 359 cc/resources/picture_pile_impl.cc const gfx::Rect& content_rect, gfx 366 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( gfx 369 cc/resources/picture_pile_impl.cc layer_rect.Intersect(gfx::Rect(tiling_.total_size())); gfx 389 cc/resources/picture_pile_impl.cc const gfx::Rect& content_rect, gfx 394 cc/resources/picture_pile_impl.cc gfx::ScaleToEnclosingRect(content_rect, 1.f / contents_scale)), gfx 439 cc/resources/picture_pile_impl.cc gfx::Rect layer_rect(tiling_.total_size()); gfx 42 cc/resources/picture_pile_impl.h const gfx::Rect& canvas_rect, gfx 51 cc/resources/picture_pile_impl.h const gfx::Rect& canvas_rect, gfx 59 cc/resources/picture_pile_impl.h const gfx::Rect& canvas_rect, gfx 74 cc/resources/picture_pile_impl.h void AnalyzeInRect(const gfx::Rect& content_rect, gfx 78 cc/resources/picture_pile_impl.h void AnalyzeInRect(const gfx::Rect& content_rect, gfx 85 cc/resources/picture_pile_impl.h PixelRefIterator(const gfx::Rect& content_rect, gfx 99 cc/resources/picture_pile_impl.h gfx::Rect layer_rect_; gfx 132 cc/resources/picture_pile_impl.h void CoalesceRasters(const gfx::Rect& canvas_rect, gfx 133 cc/resources/picture_pile_impl.h const gfx::Rect& content_rect, gfx 140 cc/resources/picture_pile_impl.h const gfx::Rect& canvas_rect, gfx 32 cc/resources/picture_pile_impl_perftest.cc gfx::Size(kTileSize, kTileSize), gfx::Size(kLayerSize, kLayerSize)); gfx 34 cc/resources/picture_pile_impl_perftest.cc gfx::Rect content_rect(0, 0, kTileSize, kTileSize); gfx 49 cc/resources/picture_pile_impl_perftest.cc gfx::Size(kTileSize, kTileSize), gfx::Size(kLayerSize, kLayerSize)); gfx 51 cc/resources/picture_pile_impl_perftest.cc gfx::Rect content_rect(0, 0, kTileSize, kTileSize); gfx 20 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 21 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 34 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(0, 0, 400, 400), solid_paint); gfx 41 cc/resources/picture_pile_impl_unittest.cc gfx::Rect rect(x, y, 100, 100); gfx 49 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(50, 50, 1, 1), non_solid_paint); gfx 53 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(0, 0, 100, 100), 1.0, &analysis); gfx 56 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(100, 0, 100, 100), 1.0, &analysis); gfx 62 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(350, 0, 100, 100), 1.0, &analysis); gfx 67 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(0, 350, 100, 100), 1.0, &analysis); gfx 72 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(350, 350, 100, 100), 1.0, &analysis); gfx 78 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 79 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 92 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(0, 0, 400, 400), solid_paint); gfx 99 cc/resources/picture_pile_impl_unittest.cc gfx::Rect rect(x, y, 10, 10); gfx 107 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(50, 50, 1, 1), non_solid_paint); gfx 111 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(0, 0, 10, 10), 0.1f, &analysis); gfx 114 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(10, 0, 10, 10), 0.1f, &analysis); gfx 120 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(35, 0, 10, 10), 0.1f, &analysis); gfx 125 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(0, 35, 10, 10), 0.1f, &analysis); gfx 130 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(35, 35, 10, 10), 0.1f, &analysis); gfx 136 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(100, 100); gfx 137 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(400, 400); gfx 144 cc/resources/picture_pile_impl_unittest.cc pile->AnalyzeInRect(gfx::Rect(0, 0, 400, 400), 1.f, &analysis); gfx 151 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(128, 128); gfx 152 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(256, 256); gfx 161 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 1.0, pile.get()); gfx 166 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 2.0, pile.get()); gfx 171 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 64, 64), 0.5, pile.get()); gfx 177 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(140, 140, 128, 128), 1.0, pile.get()); gfx 182 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(280, 280, 256, 256), 2.0, pile.get()); gfx 187 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(70, 70, 64, 64), 0.5, pile.get()); gfx 193 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 1.0, pile.get()); gfx 198 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 2.0, pile.get()); gfx 203 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 0.5, pile.get()); gfx 209 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(128, 128); gfx 210 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(256, 256); gfx 219 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(128, 128), "notdiscardable", &non_discardable_bitmap); gfx 221 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(0, 0, 256, 256), simple_paint); gfx 222 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(128, 128, 512, 512), simple_paint); gfx 223 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(512, 0, 256, 256), simple_paint); gfx 224 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(0, 512, 256, 256), simple_paint); gfx 225 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(non_discardable_bitmap, gfx::Point(128, 0)); gfx 226 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(non_discardable_bitmap, gfx::Point(0, 128)); gfx 227 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(non_discardable_bitmap, gfx::Point(150, 150)); gfx 234 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 1.0, pile.get()); gfx 239 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 2.0, pile.get()); gfx 244 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 64, 64), 0.5, pile.get()); gfx 250 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(140, 140, 128, 128), 1.0, pile.get()); gfx 255 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(280, 280, 256, 256), 2.0, pile.get()); gfx 260 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(70, 70, 64, 64), 0.5, pile.get()); gfx 266 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 1.0, pile.get()); gfx 271 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 2.0, pile.get()); gfx 276 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 0.5, pile.get()); gfx 282 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(128, 128); gfx 283 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(256, 256); gfx 289 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(32, 32), "discardable", &discardable_bitmap[0][0]); gfx 290 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(32, 32), "discardable", &discardable_bitmap[1][0]); gfx 291 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(32, 32), "discardable", &discardable_bitmap[1][1]); gfx 299 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[0][0], gfx::Point(0, 0)); gfx 300 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[1][0], gfx::Point(0, 130)); gfx 301 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[1][1], gfx::Point(140, 140)); gfx 308 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 1.0, pile.get()); gfx 315 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 2.0, pile.get()); gfx 322 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 64, 64), 0.5, pile.get()); gfx 330 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(140, 140, 128, 128), 1.0, pile.get()); gfx 337 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(280, 280, 256, 256), 2.0, pile.get()); gfx 344 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(70, 70, 64, 64), 0.5, pile.get()); gfx 352 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(140, 0, 128, 128), 1.0, pile.get()); gfx 358 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 1.0, pile.get()); gfx 369 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 2.0, pile.get()); gfx 380 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 0.5, pile.get()); gfx 392 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(256, 256); gfx 393 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(512, 512); gfx 399 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(32, 32), "discardable", &discardable_bitmap[0][0]); gfx 400 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(32, 32), "discardable", &discardable_bitmap[0][1]); gfx 401 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(32, 32), "discardable", &discardable_bitmap[1][1]); gfx 409 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[0][0], gfx::Point(0, 0)); gfx 410 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[0][1], gfx::Point(260, 0)); gfx 411 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[1][1], gfx::Point(260, 260)); gfx 418 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 1.0, pile.get()); gfx 425 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 2.0, pile.get()); gfx 432 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 0.5, pile.get()); gfx 440 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(260, 260, 256, 256), 1.0, pile.get()); gfx 447 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(520, 520, 512, 512), 2.0, pile.get()); gfx 454 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(130, 130, 128, 128), 0.5, pile.get()); gfx 462 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 256, 256, 256), 1.0, pile.get()); gfx 468 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 1.0, pile.get()); gfx 479 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 1024, 1024), 2.0, pile.get()); gfx 490 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 0.5, pile.get()); gfx 502 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 1.0, pile.get()); gfx 523 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(256, 256); gfx 524 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(512, 512); gfx 530 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(512, 512), "notdiscardable", &non_discardable_bitmap); gfx 533 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(128, 128), "discardable", &discardable_bitmap[0][0]); gfx 534 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(128, 128), "discardable", &discardable_bitmap[0][1]); gfx 535 cc/resources/picture_pile_impl_unittest.cc CreateBitmap(gfx::Size(128, 128), "discardable", &discardable_bitmap[1][1]); gfx 544 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(non_discardable_bitmap, gfx::Point(0, 0)); gfx 545 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[0][0], gfx::Point(0, 0)); gfx 546 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[0][1], gfx::Point(260, 0)); gfx 547 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_bitmap(discardable_bitmap[1][1], gfx::Point(260, 260)); gfx 554 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 1.0, pile.get()); gfx 561 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 2.0, pile.get()); gfx 568 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 128, 128), 0.5, pile.get()); gfx 576 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(260, 260, 256, 256), 1.0, pile.get()); gfx 583 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(520, 520, 512, 512), 2.0, pile.get()); gfx 590 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(130, 130, 128, 128), 0.5, pile.get()); gfx 598 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 256, 256, 256), 1.0, pile.get()); gfx 604 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 512, 512), 1.0, pile.get()); gfx 615 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 1024, 1024), 2.0, pile.get()); gfx 626 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(0, 0, 256, 256), 0.5, pile.get()); gfx 640 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(1000, 1000); gfx 641 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(3, 5); gfx 655 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::Rect(layer_bounds), white_paint); gfx 664 cc/resources/picture_pile_impl_unittest.cc gfx::Size content_bounds( gfx 665 cc/resources/picture_pile_impl_unittest.cc gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); gfx 674 cc/resources/picture_pile_impl_unittest.cc gfx::Rect content_rect(offset_x, offset_y, step_x, step_y); gfx 675 cc/resources/picture_pile_impl_unittest.cc content_rect.Intersect(gfx::Rect(content_bounds)); gfx 680 cc/resources/picture_pile_impl_unittest.cc gfx::Rect canvas_rect(content_rect); gfx 708 cc/resources/picture_pile_impl_unittest.cc EXPECT_EQ(all_white, gfx::Rect(content_bounds).Contains(canvas_rect)); gfx 718 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(1000, 1000); gfx 719 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(5, 3); gfx 730 cc/resources/picture_pile_impl_unittest.cc gfx::Size content_bounds( gfx 731 cc/resources/picture_pile_impl_unittest.cc gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); gfx 733 cc/resources/picture_pile_impl_unittest.cc gfx::Rect canvas_rect(content_bounds); gfx 757 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(10, 10); gfx 758 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(30, 30); gfx 759 cc/resources/picture_pile_impl_unittest.cc gfx::Size bigger_than_layer_bounds(300, 300); gfx 775 cc/resources/picture_pile_impl_unittest.cc pile->add_draw_rect_with_paint(gfx::RectF(bigger_than_layer_bounds), gfx 779 cc/resources/picture_pile_impl_unittest.cc gfx::Size content_bounds( gfx 780 cc/resources/picture_pile_impl_unittest.cc gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); gfx 791 cc/resources/picture_pile_impl_unittest.cc gfx::Rect(content_bounds), gfx 818 cc/resources/picture_pile_impl_unittest.cc gfx::Size tile_size(128, 128); gfx 819 cc/resources/picture_pile_impl_unittest.cc gfx::Size layer_bounds(320, 128); gfx 830 cc/resources/picture_pile_impl_unittest.cc gfx::Rect bitmap_rects[] = {pile->tiling().TileBounds(0, 0), gfx 25 cc/resources/picture_pile_unittest.cc const gfx::Rect& recorded_viewport() const { return recorded_viewport_; } gfx 27 cc/resources/picture_pile_unittest.cc bool CanRasterLayerRect(const gfx::Rect& layer_rect) { gfx 48 cc/resources/picture_pile_unittest.cc pile_->SetTileGridSize(gfx::Size(1000, 1000)); gfx 52 cc/resources/picture_pile_unittest.cc gfx::Rect layer_rect() const { return gfx::Rect(pile_->size()); } gfx 54 cc/resources/picture_pile_unittest.cc bool Update(const Region& invalidation, const gfx::Rect& visible_layer_rect) { gfx 81 cc/resources/picture_pile_unittest.cc gfx::Rect invalidate_rect(50, 50, 1, 1); gfx 91 cc/resources/picture_pile_unittest.cc gfx::Rect picture_rect = gfx::ScaleToEnclosedRect( gfx 104 cc/resources/picture_pile_unittest.cc gfx::Rect invalidate_rect(50, 50, 100, 100); gfx 117 cc/resources/picture_pile_unittest.cc gfx::Rect base_picture_rect(pile_->size()); gfx 124 cc/resources/picture_pile_unittest.cc gfx::Size layer_size = gfx::ToFlooredSize(gfx::ScaleSize(pile_->size(), 2.f)); gfx 144 cc/resources/picture_pile_unittest.cc gfx::Rect invalidate_rect( gfx 174 cc/resources/picture_pile_unittest.cc gfx::Size layer_size = gfx::ToFlooredSize(gfx::ScaleSize(pile_->size(), 4.f)); gfx 177 cc/resources/picture_pile_unittest.cc gfx::Rect viewport(0, 0, layer_size.width(), 1); gfx 217 cc/resources/picture_pile_unittest.cc Update(gfx::Rect(), layer_rect()); gfx 243 cc/resources/picture_pile_unittest.cc gfx::Rect rect(0, 0, 5, 5); gfx 260 cc/resources/picture_pile_unittest.cc gfx::Size layer_size = gfx::ToFlooredSize(gfx::ScaleSize(pile_->size(), 4.f)); gfx 263 cc/resources/picture_pile_unittest.cc gfx::Rect tile01_borders = pile_->tiling().TileBoundsWithBorder(0, 1); gfx 264 cc/resources/picture_pile_unittest.cc gfx::Rect tile02_borders = pile_->tiling().TileBoundsWithBorder(0, 2); gfx 265 cc/resources/picture_pile_unittest.cc gfx::Rect tile01_noborders = pile_->tiling().TileBounds(0, 1); gfx 266 cc/resources/picture_pile_unittest.cc gfx::Rect tile02_noborders = pile_->tiling().TileBounds(0, 2); gfx 287 cc/resources/picture_pile_unittest.cc gfx::Rect viewport(0, 0, layer_size.width(), 1); gfx 312 cc/resources/picture_pile_unittest.cc Update(gfx::Rect(), layer_rect()); gfx 316 cc/resources/picture_pile_unittest.cc Update(gfx::Rect(gfx::Rect(0, 0, 1, 1)), layer_rect()); gfx 320 cc/resources/picture_pile_unittest.cc Update(gfx::Rect(), gfx::Rect(5, 5, 5, 5)); gfx 26 cc/resources/picture_unittest.cc gfx::Rect layer_rect(100, 100); gfx 79 cc/resources/picture_unittest.cc content_layer_client.add_draw_rect(gfx::Rect(25, 25, 50, 50), green_paint); gfx 111 cc/resources/picture_unittest.cc gfx::Rect layer_rect(2048, 2048); gfx 135 cc/resources/picture_unittest.cc gfx::Size(500, 500), "discardable", &discardable_bitmap[y][x]); gfx 139 cc/resources/picture_unittest.cc gfx::Point(x * 512 + 6, y * 512 + 6), paint); gfx 158 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(x * 512, y * 512, 500, 500), gfx 172 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(512, 512, 2048, 2048), gfx 186 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(512, 512, 2048, 2048), gfx 212 cc/resources/picture_unittest.cc gfx::Rect layer_rect(1024, 0, 2048, 2048); gfx 236 cc/resources/picture_unittest.cc gfx::Size(500, 500), "discardable", &discardable_bitmap[y][x]); gfx 240 cc/resources/picture_unittest.cc gfx::Point(1024 + x * 512 + 6, y * 512 + 6), paint); gfx 260 cc/resources/picture_unittest.cc gfx::Rect(1024 + x * 512, y * 512, 500, 500), picture.get()); gfx 272 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(1024 + 512, 512, 2048, 2048), gfx 287 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(1024 + 512, 512, 2048, 2048), gfx 314 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(0, 0, 1000, 1000), gfx 319 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(3500, 0, 1000, 1000), gfx 324 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(0, 1100, 1000, 1000), gfx 329 cc/resources/picture_unittest.cc Picture::PixelRefIterator iterator(gfx::Rect(3500, 1100, 1000, 1000), gfx 336 cc/resources/picture_unittest.cc gfx::Rect layer_rect(2048, 2048); gfx 360 cc/resources/picture_unittest.cc gfx::Size(500, 500), "discardable", &discardable_bitmap[y][x]); gfx 364 cc/resources/picture_unittest.cc gfx::Point(x * 512 + 6, y * 512 + 6), paint); gfx 379 cc/resources/picture_unittest.cc gfx::Rect(x * 512, y * 512 + 256, 1, 1), picture.get()); gfx 394 cc/resources/picture_unittest.cc gfx::Rect layer_rect(100, 200); gfx 449 cc/resources/picture_unittest.cc gfx::Rect layer_rect(100, 200); gfx 17 cc/resources/prioritized_resource.cc const gfx::Size& size, gfx 48 cc/resources/prioritized_resource.cc void PrioritizedResource::SetDimensions(const gfx::Size& size, gfx 80 cc/resources/prioritized_resource.cc const gfx::Rect& image_rect, gfx 81 cc/resources/prioritized_resource.cc const gfx::Rect& source_rect, gfx 82 cc/resources/prioritized_resource.cc const gfx::Vector2d& dest_offset) { gfx 114 cc/resources/prioritized_resource.cc SetDimensions(gfx::Size(), RGBA_8888); gfx 121 cc/resources/prioritized_resource.cc const gfx::Size& size, gfx 28 cc/resources/prioritized_resource.h const gfx::Size& size, gfx 35 cc/resources/prioritized_resource.h new PrioritizedResource(manager, gfx::Size(), RGBA_8888)); gfx 43 cc/resources/prioritized_resource.h void SetDimensions(const gfx::Size& size, ResourceFormat format); gfx 45 cc/resources/prioritized_resource.h gfx::Size size() const { return size_; } gfx 82 cc/resources/prioritized_resource.h const gfx::Rect& image_rect, gfx 83 cc/resources/prioritized_resource.h const gfx::Rect& source_rect, gfx 84 cc/resources/prioritized_resource.h const gfx::Vector2d& dest_offset); gfx 110 cc/resources/prioritized_resource.h const gfx::Size& size, gfx 153 cc/resources/prioritized_resource.h const gfx::Size& size, gfx 168 cc/resources/prioritized_resource.h gfx::Size size_; gfx 448 cc/resources/prioritized_resource_manager.cc const gfx::Size& size, gfx 43 cc/resources/prioritized_resource_manager.h const gfx::Size& size, ResourceFormat format) { gfx 192 cc/resources/prioritized_resource_manager.h const gfx::Size& size, gfx 110 cc/resources/prioritized_resource_unittest.cc const gfx::Size texture_size_; gfx 260 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 261 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 262 cc/resources/prioritized_resource_unittest.cc gfx::Vector2d()); gfx 330 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 331 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 332 cc/resources/prioritized_resource_unittest.cc gfx::Vector2d()); gfx 479 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 480 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 481 cc/resources/prioritized_resource_unittest.cc gfx::Vector2d()); gfx 532 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 533 cc/resources/prioritized_resource_unittest.cc gfx::Rect(1, 1), gfx 534 cc/resources/prioritized_resource_unittest.cc gfx::Vector2d()); gfx 1008 cc/resources/prioritized_resource_unittest.cc textures[i].get(), NULL, gfx::Rect(), gfx::Rect(), gfx::Vector2d()); gfx 33 cc/resources/prioritized_tile_set.cc gfx::Rect a_rect = a->content_rect(); gfx 34 cc/resources/prioritized_tile_set.cc gfx::Rect b_rect = b->content_rect(); gfx 41 cc/resources/prioritized_tile_set_unittest.cc gfx::Rect a_rect = a->content_rect(); gfx 42 cc/resources/prioritized_tile_set_unittest.cc gfx::Rect b_rect = b->content_rect(); gfx 70 cc/resources/prioritized_tile_set_unittest.cc gfx::Rect(), gfx 71 cc/resources/prioritized_tile_set_unittest.cc gfx::Rect(), gfx 72 cc/resources/priority_calculator.cc int PriorityCalculator::PriorityFromDistance(const gfx::Rect& visible_rect, gfx 73 cc/resources/priority_calculator.cc const gfx::Rect& texture_rect, gfx 11 cc/resources/priority_calculator.h namespace gfx { class Rect; } gfx 23 cc/resources/priority_calculator.h static int PriorityFromDistance(const gfx::Rect& visible_rect, gfx 24 cc/resources/priority_calculator.h const gfx::Rect& texture_rect, gfx 208 cc/resources/raster_worker_pool_perftest.cc const gfx::Size size(1, 1); gfx 211 cc/resources/raster_worker_pool_unittest.cc const gfx::Size size(1, 1); gfx 229 cc/resources/raster_worker_pool_unittest.cc const gfx::Size size(1, 1); gfx 18 cc/resources/resource.h Resource(unsigned id, const gfx::Size& size, ResourceFormat format) gfx 24 cc/resources/resource.h gfx::Size size() const { return size_; } gfx 28 cc/resources/resource.h inline static size_t MemorySizeBytes(const gfx::Size& size, gfx 36 cc/resources/resource.h void set_dimensions(const gfx::Size& size, ResourceFormat format) { gfx 43 cc/resources/resource.h gfx::Size size_; gfx 39 cc/resources/resource_pool.cc const gfx::Size& size) { gfx 29 cc/resources/resource_pool.h scoped_ptr<ScopedResource> AcquireResource(const gfx::Size& size); gfx 241 cc/resources/resource_provider.cc const gfx::Size& size, gfx 288 cc/resources/resource_provider.cc const gfx::Size& size, gfx 332 cc/resources/resource_provider.cc const gfx::Size& size, gfx 620 cc/resources/resource_provider.cc const gfx::Size& size, gfx 645 cc/resources/resource_provider.cc const gfx::Size& size, gfx 671 cc/resources/resource_provider.cc const gfx::Size& size, gfx 697 cc/resources/resource_provider.cc const gfx::Size& size, GLint wrap_mode) { gfx 739 cc/resources/resource_provider.cc gfx::Size(), gfx 762 cc/resources/resource_provider.cc gfx::Size(), gfx 906 cc/resources/resource_provider.cc const gfx::Rect& image_rect, gfx 907 cc/resources/resource_provider.cc const gfx::Rect& source_rect, gfx 908 cc/resources/resource_provider.cc const gfx::Vector2d& dest_offset) { gfx 942 cc/resources/resource_provider.cc gfx::Vector2d source_offset = source_rect.origin() - image_rect.origin(); gfx 998 cc/resources/resource_provider.cc return gfx::FrameTime::Now() + base::TimeDelta::FromMicroseconds( gfx 1008 cc/resources/resource_provider.cc return gfx::FrameTime::Now() + upload_one_texture_time * total_uploads; gfx 2106 cc/resources/resource_provider.cc gfx::Size& size = resource->size; gfx 44 cc/resources/resource_provider.h namespace gfx { gfx 105 cc/resources/resource_provider.h ResourceId CreateResource(const gfx::Size& size, gfx 112 cc/resources/resource_provider.h ResourceId CreateManagedResource(const gfx::Size& size, gfx 119 cc/resources/resource_provider.h ResourceId CreateGLTexture(const gfx::Size& size, gfx 126 cc/resources/resource_provider.h ResourceId CreateBitmap(const gfx::Size& size, GLint wrap_mode); gfx 143 cc/resources/resource_provider.h const gfx::Rect& image_rect, gfx 144 cc/resources/resource_provider.h const gfx::Rect& source_rect, gfx 145 cc/resources/resource_provider.h const gfx::Vector2d& dest_offset); gfx 386 cc/resources/resource_provider.h const gfx::Size& size, gfx 396 cc/resources/resource_provider.h const gfx::Size& size, gfx 401 cc/resources/resource_provider.h const gfx::Size& size, gfx 430 cc/resources/resource_provider.h gfx::Size size; gfx 69 cc/resources/resource_provider_unittest.cc const gfx::Size& size, gfx 198 cc/resources/resource_provider_unittest.cc AllocateTexture(gfx::Size(width, height), format); gfx 216 cc/resources/resource_provider_unittest.cc AllocateTexture(gfx::Size(width, height), format); gfx 269 cc/resources/resource_provider_unittest.cc void GetPixels(const gfx::Size& size, gfx 286 cc/resources/resource_provider_unittest.cc void AllocateTexture(const gfx::Size& size, GLenum format) { gfx 313 cc/resources/resource_provider_unittest.cc size_t in_pitch = TextureSizeBytes(gfx::Size(width, 1), texture->format); gfx 315 cc/resources/resource_provider_unittest.cc TextureSizeBytes(gfx::Size(texture->size.width(), 1), texture->format); gfx 317 cc/resources/resource_provider_unittest.cc TextureSizeBytes(gfx::Size(xoffset, 1), texture->format); gfx 339 cc/resources/resource_provider_unittest.cc const gfx::Size& size, gfx 457 cc/resources/resource_provider_unittest.cc gfx::Size size(64, 64); gfx 491 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 503 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 504 cc/resources/resource_provider_unittest.cc resource_provider->SetPixels(id, data, rect, rect, gfx::Vector2d()); gfx 523 cc/resources/resource_provider_unittest.cc gfx::Size size(2, 2); gfx 532 cc/resources/resource_provider_unittest.cc gfx::Rect image_rect(size); gfx 534 cc/resources/resource_provider_unittest.cc id, image, image_rect, image_rect, gfx::Vector2d()); gfx 541 cc/resources/resource_provider_unittest.cc gfx::Rect source_rect(0, 0, 1, 1); gfx 542 cc/resources/resource_provider_unittest.cc gfx::Vector2d dest_offset(0, 0); gfx 552 cc/resources/resource_provider_unittest.cc gfx::Rect source_rect(0, 0, 1, 1); gfx 553 cc/resources/resource_provider_unittest.cc gfx::Vector2d dest_offset(1, 1); gfx 563 cc/resources/resource_provider_unittest.cc gfx::Rect source_rect(1, 0, 1, 1); gfx 564 cc/resources/resource_provider_unittest.cc gfx::Vector2d dest_offset(0, 1); gfx 574 cc/resources/resource_provider_unittest.cc gfx::Rect offset_image_rect(gfx::Point(100, 100), size); gfx 575 cc/resources/resource_provider_unittest.cc gfx::Rect source_rect(100, 100, 1, 1); gfx 576 cc/resources/resource_provider_unittest.cc gfx::Vector2d dest_offset(1, 0); gfx 592 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 600 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 601 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id1, data1, rect, rect, gfx::Vector2d()); gfx 606 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id2, data2, rect, rect, gfx::Vector2d()); gfx 831 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 837 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 838 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id1, data1, rect, rect, gfx::Vector2d()); gfx 882 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 890 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 891 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id1, data1, rect, rect, gfx::Vector2d()); gfx 896 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id2, data2, rect, rect, gfx::Vector2d()); gfx 911 cc/resources/resource_provider_unittest.cc TextureMailbox(shared_memory_ptr, gfx::Size(1, 1)), gfx 1117 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1125 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 1126 cc/resources/resource_provider_unittest.cc child_resource_provider->SetPixels(id1, data1, rect, rect, gfx::Vector2d()); gfx 1164 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1172 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 1173 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id1, data1, rect, rect, gfx::Vector2d()); gfx 1212 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1220 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 1221 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id1, data1, rect, rect, gfx::Vector2d()); gfx 1226 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id2, data2, rect, rect, gfx::Vector2d()); gfx 1306 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1314 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 1315 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id1, data1, rect, rect, gfx::Vector2d()); gfx 1320 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id2, data2, rect, rect, gfx::Vector2d()); gfx 1417 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1425 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 1426 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id, data, rect, rect, gfx::Vector2d()); gfx 1467 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1475 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 1476 cc/resources/resource_provider_unittest.cc child_resource_provider_->SetPixels(id, data, rect, rect, gfx::Vector2d()); gfx 1613 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1645 cc/resources/resource_provider_unittest.cc gfx::Rect rect(size); gfx 1648 cc/resources/resource_provider_unittest.cc child_resource_provider->SetPixels(id, data, rect, rect, gfx::Vector2d()); gfx 1805 cc/resources/resource_provider_unittest.cc gfx::Size(1, 1), RGBA_8888, test_data); gfx 1855 cc/resources/resource_provider_unittest.cc gfx::Size(1, 1), RGBA_8888, test_data); gfx 1883 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 1936 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 2221 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 2302 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 2351 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 2391 cc/resources/resource_provider_unittest.cc gfx::Size size(64, 64); gfx 2642 cc/resources/resource_provider_unittest.cc gfx::Size size(2, 2); gfx 2643 cc/resources/resource_provider_unittest.cc gfx::Vector2d offset(0, 0); gfx 2644 cc/resources/resource_provider_unittest.cc gfx::Rect rect(0, 0, 2, 2); gfx 2715 cc/resources/resource_provider_unittest.cc gfx::Size size(2, 2); gfx 2752 cc/resources/resource_provider_unittest.cc gfx::Size size(2, 2); gfx 2787 cc/resources/resource_provider_unittest.cc gfx::Size size(2, 2); gfx 2824 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 2872 cc/resources/resource_provider_unittest.cc gfx::Size size(2, 2); gfx 2913 cc/resources/resource_provider_unittest.cc gfx::Size size(2, 2); gfx 2951 cc/resources/resource_provider_unittest.cc gfx::Size size(kWidth, kHeight); gfx 3044 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 3131 cc/resources/resource_provider_unittest.cc gfx::Size size(4, 4); gfx 3165 cc/resources/resource_provider_unittest.cc gfx::Size size(4, 4); gfx 3184 cc/resources/resource_provider_unittest.cc id, pixels, gfx::Rect(size), gfx::Rect(size), gfx::Vector2d(0, 0)); gfx 3220 cc/resources/resource_provider_unittest.cc gfx::Size size(1, 1); gfx 13 cc/resources/resource_update.cc const gfx::Rect& content_rect, gfx 14 cc/resources/resource_update.cc const gfx::Rect& source_rect, gfx 15 cc/resources/resource_update.cc const gfx::Vector2d& dest_offset) { gfx 21 cc/resources/resource_update.h const gfx::Rect& content_rect, gfx 22 cc/resources/resource_update.h const gfx::Rect& source_rect, gfx 23 cc/resources/resource_update.h const gfx::Vector2d& dest_offset); gfx 30 cc/resources/resource_update.h gfx::Rect content_rect; gfx 31 cc/resources/resource_update.h gfx::Rect source_rect; gfx 32 cc/resources/resource_update.h gfx::Vector2d dest_offset; gfx 115 cc/resources/resource_update_controller_unittest.cc gfx::Size(300, 150), gfx 137 cc/resources/resource_update_controller_unittest.cc const gfx::Rect rect(0, 0, 300, 150); gfx 139 cc/resources/resource_update_controller_unittest.cc textures_[texture_index].get(), &bitmap_, rect, rect, gfx::Vector2d()); gfx 153 cc/resources/resource_update_controller_unittest.cc const gfx::Rect rect(0, 0, 100, 100); gfx 155 cc/resources/resource_update_controller_unittest.cc textures_[texture_index].get(), &bitmap_, rect, rect, gfx::Vector2d()); gfx 18 cc/resources/scoped_resource.cc void ScopedResource::Allocate(const gfx::Size& size, gfx 33 cc/resources/scoped_resource.cc void ScopedResource::AllocateManaged(const gfx::Size& size, gfx 28 cc/resources/scoped_resource.h void Allocate(const gfx::Size& size, gfx 31 cc/resources/scoped_resource.h void AllocateManaged(const gfx::Size& size, gfx 33 cc/resources/scoped_resource_unittest.cc EXPECT_EQ(gfx::Size(), texture->size()); gfx 48 cc/resources/scoped_resource_unittest.cc texture->Allocate(gfx::Size(30, 30), gfx 58 cc/resources/scoped_resource_unittest.cc EXPECT_EQ(gfx::Size(30, 30), texture->size()); gfx 75 cc/resources/scoped_resource_unittest.cc texture->Allocate(gfx::Size(30, 30), gfx 87 cc/resources/scoped_resource_unittest.cc texture->Allocate(gfx::Size(30, 30), gfx 111 cc/resources/scoped_resource_unittest.cc texture->Allocate(gfx::Size(30, 30), gfx 21 cc/resources/shared_bitmap.cc bool SharedBitmap::GetSizeInBytes(const gfx::Size& size, gfx 43 cc/resources/shared_bitmap.h static bool GetSizeInBytes(const gfx::Size& size, size_t* size_in_bytes); gfx 20 cc/resources/shared_bitmap_manager.h virtual scoped_ptr<SharedBitmap> AllocateSharedBitmap(const gfx::Size&) = 0; gfx 22 cc/resources/shared_bitmap_manager.h const gfx::Size&, gfx 25 cc/resources/skpicture_content_layer_updater.cc const gfx::Rect& content_rect, gfx 26 cc/resources/skpicture_content_layer_updater.cc const gfx::Size&, gfx 29 cc/resources/skpicture_content_layer_updater.cc gfx::Rect* resulting_opaque_rect) { gfx 27 cc/resources/skpicture_content_layer_updater.h virtual void PrepareToUpdate(const gfx::Rect& content_rect, gfx 28 cc/resources/skpicture_content_layer_updater.h const gfx::Size& tile_size, gfx 31 cc/resources/skpicture_content_layer_updater.h gfx::Rect* resulting_opaque_rect) OVERRIDE; gfx 27 cc/resources/texture_mailbox.cc const gfx::Size& size) gfx 26 cc/resources/texture_mailbox.h TextureMailbox(base::SharedMemory* shared_memory, const gfx::Size& size); gfx 48 cc/resources/texture_mailbox.h gfx::Size shared_memory_size() const { return shared_memory_size_; } gfx 56 cc/resources/texture_mailbox.h gfx::Size shared_memory_size_; gfx 132 cc/resources/texture_uploader.cc const gfx::Rect& image_rect, gfx 133 cc/resources/texture_uploader.cc const gfx::Rect& source_rect, gfx 134 cc/resources/texture_uploader.cc gfx::Vector2d dest_offset, gfx 136 cc/resources/texture_uploader.cc const gfx::Size& size) { gfx 176 cc/resources/texture_uploader.cc const gfx::Rect& image_rect, gfx 177 cc/resources/texture_uploader.cc const gfx::Rect& source_rect, gfx 178 cc/resources/texture_uploader.cc gfx::Vector2d dest_offset, gfx 189 cc/resources/texture_uploader.cc gfx::Vector2d offset(source_rect.origin() - image_rect.origin()); gfx 230 cc/resources/texture_uploader.cc const gfx::Rect& image_rect, gfx 231 cc/resources/texture_uploader.cc const gfx::Rect& source_rect, gfx 232 cc/resources/texture_uploader.cc gfx::Vector2d dest_offset, gfx 245 cc/resources/texture_uploader.cc gfx::Vector2d offset(source_rect.origin() - image_rect.origin()); gfx 290 cc/resources/texture_uploader.cc const gfx::Size& size) { gfx 16 cc/resources/texture_uploader.h namespace gfx { gfx 46 cc/resources/texture_uploader.h const gfx::Rect& content_rect, gfx 47 cc/resources/texture_uploader.h const gfx::Rect& source_rect, gfx 48 cc/resources/texture_uploader.h gfx::Vector2d dest_offset, gfx 50 cc/resources/texture_uploader.h const gfx::Size& size); gfx 91 cc/resources/texture_uploader.h const gfx::Rect& image_rect, gfx 92 cc/resources/texture_uploader.h const gfx::Rect& source_rect, gfx 93 cc/resources/texture_uploader.h gfx::Vector2d dest_offset, gfx 96 cc/resources/texture_uploader.h const gfx::Rect& image_rect, gfx 97 cc/resources/texture_uploader.h const gfx::Rect& source_rect, gfx 98 cc/resources/texture_uploader.h gfx::Vector2d dest_offset, gfx 100 cc/resources/texture_uploader.h void UploadWithTexImageETC1(const uint8* image, const gfx::Size& size); gfx 148 cc/resources/texture_uploader_unittest.cc const gfx::Size& size, gfx 151 cc/resources/texture_uploader_unittest.cc data, gfx::Rect(size), gfx::Rect(size), gfx::Vector2d(), format, size); gfx 160 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 162 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 167 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 169 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 170 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 180 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 181 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 186 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 191 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(), NULL); gfx 209 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(256, 256), buffer); gfx 218 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), RGBA_8888, gfx::Size(41, 43), buffer); gfx 227 cc/resources/texture_uploader_unittest.cc UploadTexture(uploader.get(), LUMINANCE_8, gfx::Size(82, 86), buffer); gfx 20 cc/resources/tile.cc const gfx::Size& tile_size, gfx 21 cc/resources/tile.cc const gfx::Rect& content_rect, gfx 22 cc/resources/tile.cc const gfx::Rect& opaque_rect, gfx 111 cc/resources/tile.h gfx::Rect opaque_rect() const { return opaque_rect_; } gfx 117 cc/resources/tile.h gfx::Rect content_rect() const { return content_rect_; } gfx 130 cc/resources/tile.h gfx::Size size() const { return tile_size_.size(); } gfx 153 cc/resources/tile.h const gfx::Size& tile_size, gfx 154 cc/resources/tile.h const gfx::Rect& content_rect, gfx 155 cc/resources/tile.h const gfx::Rect& opaque_rect, gfx 168 cc/resources/tile.h gfx::Rect tile_size_; gfx 169 cc/resources/tile.h gfx::Rect content_rect_; gfx 171 cc/resources/tile.h gfx::Rect opaque_rect_; gfx 55 cc/resources/tile_manager.cc const gfx::Rect& content_rect, gfx 212 cc/resources/tile_manager.cc gfx::Rect content_rect_; gfx 1177 cc/resources/tile_manager.cc gfx::Size pile_size = tile->picture_pile()->size(); gfx 1269 cc/resources/tile_manager.cc const gfx::Size& tile_size, gfx 1270 cc/resources/tile_manager.cc const gfx::Rect& content_rect, gfx 1271 cc/resources/tile_manager.cc const gfx::Rect& opaque_rect, gfx 128 cc/resources/tile_manager.h const gfx::Size& tile_size, gfx 129 cc/resources/tile_manager.h const gfx::Rect& content_rect, gfx 130 cc/resources/tile_manager.h const gfx::Rect& opaque_rect, gfx 160 cc/resources/tile_manager.h tile_version.resource_ = resource_pool_->AcquireResource(gfx::Size(1, 1)); gfx 61 cc/resources/tile_manager_perftest.cc gfx::Size tile_size = settings_.default_tile_size; gfx 122 cc/resources/tile_manager_perftest.cc gfx::Rect(), gfx 123 cc/resources/tile_manager_perftest.cc gfx::Rect(), gfx 215 cc/resources/tile_manager_perftest.cc gfx::Size tile_size(256, 256); gfx 238 cc/resources/tile_manager_perftest.cc void SetupDefaultTrees(const gfx::Size& layer_bounds) { gfx 239 cc/resources/tile_manager_perftest.cc gfx::Size tile_size(100, 100); gfx 257 cc/resources/tile_manager_perftest.cc void SetupDefaultTreesWithFixedTileSize(const gfx::Size& layer_bounds, gfx 258 cc/resources/tile_manager_perftest.cc const gfx::Size& tile_size) { gfx 337 cc/resources/tile_manager_perftest.cc SetupDefaultTrees(gfx::Size(10000, 10000)); gfx 55 cc/resources/tile_manager_unittest.cc gfx::Size tile_size = settings_.default_tile_size; gfx 87 cc/resources/tile_manager_unittest.cc const gfx::Size& tile_size) { gfx 92 cc/resources/tile_manager_unittest.cc gfx::Rect(), gfx 93 cc/resources/tile_manager_unittest.cc gfx::Rect(), gfx 586 cc/resources/tile_manager_unittest.cc 10, TilePriorityForNowBin(), TilePriority(), gfx::Size(128, 128)); gfx 652 cc/resources/tile_manager_unittest.cc gfx::Size tile_size(256, 256); gfx 675 cc/resources/tile_manager_unittest.cc void SetupDefaultTrees(const gfx::Size& layer_bounds) { gfx 676 cc/resources/tile_manager_unittest.cc gfx::Size tile_size(100, 100); gfx 694 cc/resources/tile_manager_unittest.cc void SetupDefaultTreesWithFixedTileSize(const gfx::Size& layer_bounds, gfx 695 cc/resources/tile_manager_unittest.cc const gfx::Size& tile_size) { gfx 808 cc/resources/tile_manager_unittest.cc SetupDefaultTrees(gfx::Size(1000, 1000)); gfx 848 cc/resources/tile_manager_unittest.cc Region invalidation(gfx::Rect(0, 0, 500, 500)); gfx 859 cc/resources/tile_manager_unittest.cc gfx::Rect viewport(50, 50, 100, 100); gfx 34 cc/resources/transferable_resource.h gfx::Size size; gfx 16 cc/resources/ui_resource_bitmap.cc const gfx::Size& size, gfx 39 cc/resources/ui_resource_bitmap.cc pixel_ref, gfx::Size(info.fWidth, info.fHeight), UIResourceBitmap::RGBA8); gfx 44 cc/resources/ui_resource_bitmap.cc UIResourceBitmap::UIResourceBitmap(const gfx::Size& size, bool is_opaque) { gfx 56 cc/resources/ui_resource_bitmap.cc const gfx::Size& size) { gfx 37 cc/resources/ui_resource_bitmap.h gfx::Size GetSize() const { return size_; } gfx 47 cc/resources/ui_resource_bitmap.h UIResourceBitmap(const gfx::Size& size, bool is_opaque); gfx 49 cc/resources/ui_resource_bitmap.h const gfx::Size& size); gfx 56 cc/resources/ui_resource_bitmap.h const gfx::Size& size, gfx 62 cc/resources/ui_resource_bitmap.h gfx::Size size_; gfx 83 cc/resources/video_resource_updater.cc static gfx::Size SoftwarePlaneDimension( gfx 140 cc/resources/video_resource_updater.cc gfx::Size output_plane_resource_size = gfx 254 cc/resources/video_resource_updater.cc gfx::Rect image_rect(0, gfx 258 cc/resources/video_resource_updater.cc gfx::Rect source_rect(plane_resources[i].resource_size); gfx 263 cc/resources/video_resource_updater.cc gfx::Vector2d()); gfx 78 cc/resources/video_resource_updater.h gfx::Size resource_size; gfx 83 cc/resources/video_resource_updater.h const gfx::Size& resource_size, gfx 101 cc/resources/video_resource_updater.h gfx::Size resource_size; gfx 36 cc/resources/video_resource_updater_unittest.cc gfx::Size size(kDimension, kDimension); gfx 44 cc/resources/video_resource_updater_unittest.cc gfx::Rect(size), // visible_rect gfx 175 cc/scheduler/frame_rate_controller.cc return gfx::FrameTime::Now(); gfx 148 cc/scheduler/scheduler.cc base::TimeTicks now = gfx::FrameTime::Now(); gfx 294 cc/scheduler/scheduler.cc base::TimeDelta delta = deadline - gfx::FrameTime::Now(); gfx 206 cc/scheduler/scheduler_state_machine.cc base::TimeTicks now = gfx::FrameTime::Now(); gfx 14 cc/surfaces/surface.cc const gfx::Size& size) gfx 22 cc/surfaces/surface.h const gfx::Size& size); gfx 25 cc/surfaces/surface.h const gfx::Size& size() const { return size_; } gfx 35 cc/surfaces/surface.h gfx::Size size_; gfx 112 cc/surfaces/surface_aggregator.cc gfx::Transform(), gfx 135 cc/surfaces/surface_aggregator.cc const gfx::Transform& content_to_target_transform, gfx 152 cc/surfaces/surface_aggregator.cc const gfx::Transform& content_to_target_transform, gfx 210 cc/surfaces/surface_aggregator.cc gfx::Transform(), gfx 37 cc/surfaces/surface_aggregator.h const gfx::Transform& content_to_target_transform, gfx 41 cc/surfaces/surface_aggregator.h const gfx::Transform& content_to_target_transform, gfx 27 cc/surfaces/surface_aggregator_test_helpers.cc const gfx::Size& surface_size, gfx 29 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Transform content_to_target_transform; gfx 30 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Size content_bounds = surface_size; gfx 31 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Rect visible_content_rect = gfx::Rect(surface_size); gfx 32 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Rect clip_rect = gfx::Rect(surface_size); gfx 48 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Rect quad_rect = gfx::Rect(surface_size); gfx 50 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Rect(surface_size), gfx 51 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Rect(surface_size), gfx 58 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Rect output_rect = gfx::Rect(0, 0, 5, 5); gfx 61 cc/surfaces/surface_aggregator_test_helpers.cc shared_state->SetAll(gfx::Transform(), gfx 76 cc/surfaces/surface_aggregator_test_helpers.cc gfx::RectF(), gfx 85 cc/surfaces/surface_aggregator_test_helpers.cc AddQuad(pass, gfx::Rect(0, 0, 5, 5), desc.color); gfx 88 cc/surfaces/surface_aggregator_test_helpers.cc AddTestSurfaceQuad(pass, gfx::Size(5, 5), desc.surface_id); gfx 99 cc/surfaces/surface_aggregator_test_helpers.cc const gfx::Rect& output_rect, gfx 102 cc/surfaces/surface_aggregator_test_helpers.cc gfx::Transform root_transform; gfx 152 cc/surfaces/surface_aggregator_test_helpers.cc AddPasses(&pass_list, gfx::Rect(surface->size()), passes, pass_count); gfx 70 cc/surfaces/surface_aggregator_test_helpers.h const gfx::Size& surface_size, gfx 76 cc/surfaces/surface_aggregator_test_helpers.h const gfx::Rect& output_rect, gfx 39 cc/surfaces/surface_aggregator_unittest.cc Surface one(&manager_, NULL, gfx::Size(5, 5)); gfx 47 cc/surfaces/surface_aggregator_unittest.cc : root_surface_(&manager_, NULL, gfx::Size(5, 5)) {} gfx 98 cc/surfaces/surface_aggregator_unittest.cc gfx::Size surface_size(5, 5); gfx 126 cc/surfaces/surface_aggregator_unittest.cc gfx::Size surface_size(5, 5); gfx 277 cc/surfaces/surface_aggregator_unittest.cc Surface surface_with_no_frame(&manager_, NULL, gfx::Size(5, 5)); gfx 310 cc/surfaces/surface_aggregator_unittest.cc gfx::Size surface_size(5, 5); gfx 349 cc/surfaces/surface_aggregator_unittest.cc gfx::Size surface_size(5, 5); gfx 409 cc/surfaces/surface_aggregator_unittest.cc void AddSolidColorQuadWithBlendMode(const gfx::Size& size, gfx 412 cc/surfaces/surface_aggregator_unittest.cc const gfx::Transform content_to_target_transform; gfx 413 cc/surfaces/surface_aggregator_unittest.cc const gfx::Size content_bounds(size); gfx 414 cc/surfaces/surface_aggregator_unittest.cc const gfx::Rect visible_content_rect(size); gfx 415 cc/surfaces/surface_aggregator_unittest.cc const gfx::Rect clip_rect(size); gfx 468 cc/surfaces/surface_aggregator_unittest.cc gfx::Size surface_size(5, 5); gfx 482 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect output_rect(surface_size); gfx 483 cc/surfaces/surface_aggregator_unittest.cc gfx::RectF damage_rect(surface_size); gfx 484 cc/surfaces/surface_aggregator_unittest.cc gfx::Transform transform_to_root_target; gfx 501 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 502 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 527 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 528 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 535 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 536 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 581 cc/surfaces/surface_aggregator_unittest.cc gfx::Size surface_size(5, 5); gfx 594 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 624 cc/surfaces/surface_aggregator_unittest.cc gfx::Rect(surface_size), gfx 669 cc/surfaces/surface_aggregator_unittest.cc gfx::Transform expected_aggregated_first_pass_sqs_transform; gfx 676 cc/surfaces/surface_aggregator_unittest.cc gfx::Transform expected_first_pass_transform_to_root_target; gfx 683 cc/surfaces/surface_aggregator_unittest.cc gfx::Transform expected_root_pass_quad_transforms[2]; gfx 12 cc/surfaces/surface_manager.h namespace gfx { class Size; } gfx 18 cc/surfaces/surface_unittest.cc Surface surface(&manager, NULL, gfx::Size(5, 5)); gfx 27 cc/surfaces/surfaces_pixeltest.cc const gfx::Transform& transform, gfx 28 cc/surfaces/surfaces_pixeltest.cc const gfx::Size& size) { gfx 29 cc/surfaces/surfaces_pixeltest.cc const gfx::Size content_bounds = size; gfx 30 cc/surfaces/surfaces_pixeltest.cc const gfx::Rect visible_content_rect = gfx::Rect(size); gfx 31 cc/surfaces/surfaces_pixeltest.cc const gfx::Rect clip_rect = gfx::Rect(size); gfx 48 cc/surfaces/surfaces_pixeltest.cc gfx::Rect rect(device_viewport_size_); gfx 51 cc/surfaces/surfaces_pixeltest.cc pass->SetNew(id, rect, rect, gfx::Transform()); gfx 54 cc/surfaces/surfaces_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), device_viewport_size_)); gfx 90 cc/surfaces/surfaces_pixeltest.cc gfx::Size child_size(200, 100); gfx 95 cc/surfaces/surfaces_pixeltest.cc gfx::Rect rect(device_viewport_size_); gfx 98 cc/surfaces/surfaces_pixeltest.cc pass->SetNew(id, rect, rect, gfx::Transform()); gfx 101 cc/surfaces/surfaces_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), device_viewport_size_)); gfx 105 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(child_size), gfx 106 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(child_size), gfx 129 cc/surfaces/surfaces_pixeltest.cc gfx::Rect rect(child_size); gfx 132 cc/surfaces/surfaces_pixeltest.cc pass->SetNew(id, rect, rect, gfx::Transform()); gfx 135 cc/surfaces/surfaces_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), child_size)); gfx 171 cc/surfaces/surfaces_pixeltest.cc gfx::Size child_size(100, 200); gfx 172 cc/surfaces/surfaces_pixeltest.cc gfx::Size quad_size(100, 100); gfx 185 cc/surfaces/surfaces_pixeltest.cc gfx::Rect rect(device_viewport_size_); gfx 188 cc/surfaces/surfaces_pixeltest.cc pass->SetNew(id, rect, rect, gfx::Transform()); gfx 190 cc/surfaces/surfaces_pixeltest.cc gfx::Transform surface_transform; gfx 196 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(child_size), gfx 197 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(child_size), gfx 207 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(child_size), gfx 208 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(child_size), gfx 222 cc/surfaces/surfaces_pixeltest.cc gfx::Rect rect(child_size); gfx 225 cc/surfaces/surfaces_pixeltest.cc pass->SetNew(id, rect, rect, gfx::Transform()); gfx 228 cc/surfaces/surfaces_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), child_size)); gfx 234 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(quad_size), gfx 235 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(quad_size), gfx 243 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(0, 100, 100, 100), gfx 244 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(0, 100, 100, 100), gfx 259 cc/surfaces/surfaces_pixeltest.cc gfx::Rect rect(child_size); gfx 262 cc/surfaces/surfaces_pixeltest.cc pass->SetNew(id, rect, rect, gfx::Transform()); gfx 265 cc/surfaces/surfaces_pixeltest.cc CreateTestSharedQuadState(gfx::Transform(), child_size)); gfx 271 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(quad_size), gfx 272 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(quad_size), gfx 280 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(0, 100, 100, 100), gfx 281 cc/surfaces/surfaces_pixeltest.cc gfx::Rect(0, 100, 100, 100), gfx 162 cc/test/animation_test_common.cc gfx::Transform FakeTransformTransition::GetValue(double time) const { gfx 163 cc/test/animation_test_common.cc return gfx::Transform(); gfx 166 cc/test/animation_test_common.cc bool FakeTransformTransition::AnimatedBoundsForBox(const gfx::BoxF& box, gfx 167 cc/test/animation_test_common.cc gfx::BoxF* bounds) const { gfx 218 cc/test/animation_test_common.cc const gfx::Transform& transform) { gfx 223 cc/test/animation_test_common.cc const gfx::Vector2dF& scroll_offset) { gfx 239 cc/test/animation_test_common.cc gfx::Vector2dF FakeLayerAnimationValueProvider::ScrollOffsetForAnimation() gfx 43 cc/test/animation_test_common.h virtual gfx::Transform GetValue(double time) const OVERRIDE; gfx 44 cc/test/animation_test_common.h virtual bool AnimatedBoundsForBox(const gfx::BoxF& box, gfx 45 cc/test/animation_test_common.h gfx::BoxF* bounds) const OVERRIDE; gfx 80 cc/test/animation_test_common.h virtual void OnTransformAnimated(const gfx::Transform& transform) OVERRIDE; gfx 82 cc/test/animation_test_common.h const gfx::Vector2dF& scroll_offset) OVERRIDE; gfx 88 cc/test/animation_test_common.h const gfx::Transform& transform() const { return transform_; } gfx 89 cc/test/animation_test_common.h gfx::Vector2dF scroll_offset() { return scroll_offset_; } gfx 98 cc/test/animation_test_common.h gfx::Transform transform_; gfx 99 cc/test/animation_test_common.h gfx::Vector2dF scroll_offset_; gfx 111 cc/test/animation_test_common.h virtual gfx::Vector2dF ScrollOffsetForAnimation() const OVERRIDE; gfx 113 cc/test/animation_test_common.h void set_scroll_offset(const gfx::Vector2dF& scroll_offset) { gfx 118 cc/test/animation_test_common.h gfx::Vector2dF scroll_offset_; gfx 21 cc/test/cc_test_suite.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 27 cc/test/fake_content_layer.cc SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 28 cc/test/fake_content_layer.cc SetBounds(gfx::Size(1, 1)); gfx 46 cc/test/fake_content_layer.cc gfx::Rect FakeContentLayer::LastPaintRect() const { gfx 31 cc/test/fake_content_layer.h gfx::Rect LastPaintRect() const; gfx 19 cc/test/fake_content_layer_client.cc const gfx::Rect& paint_rect, gfx::RectF* opaque_rect) { gfx 27 cc/test/fake_content_layer_client.cc canvas->clipRect(gfx::RectToSkRect(paint_rect)); gfx 30 cc/test/fake_content_layer_client.cc const gfx::RectF& draw_rect = it->first; gfx 23 cc/test/fake_content_layer_client.h gfx::Point point; gfx 31 cc/test/fake_content_layer_client.h const gfx::Rect& rect, gfx 32 cc/test/fake_content_layer_client.h gfx::RectF* opaque_rect) OVERRIDE; gfx 38 cc/test/fake_content_layer_client.h void add_draw_rect(const gfx::RectF& rect, const SkPaint& paint) { gfx 43 cc/test/fake_content_layer_client.h const gfx::Point& point, gfx 55 cc/test/fake_content_layer_client.h typedef std::vector<std::pair<gfx::RectF, SkPaint> > RectPaintVector; gfx 67 cc/test/fake_delegated_renderer_layer_impl.cc SetFrameData(delegated_frame.get(), gfx::RectF()); gfx 34 cc/test/fake_layer_tree_host_client.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 21 cc/test/fake_layer_tree_host_impl.cc SetViewportSize(gfx::Size(100, 100)); gfx 25 cc/test/fake_layer_tree_host_impl.h PrepareToDraw(&frame_data, gfx::Rect()); gfx 26 cc/test/fake_layer_tree_host_impl_client.h const gfx::Rect& damage_rect) OVERRIDE {} gfx 25 cc/test/fake_output_surface_client.h virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) OVERRIDE {} gfx 32 cc/test/fake_output_surface_client.h const gfx::Transform& transform, gfx 33 cc/test/fake_output_surface_client.h const gfx::Rect& viewport, gfx 34 cc/test/fake_output_surface_client.h const gfx::Rect& clip, gfx 31 cc/test/fake_painted_scrollbar_layer.cc SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 32 cc/test/fake_painted_scrollbar_layer.cc SetBounds(gfx::Size(1, 1)); gfx 16 cc/test/fake_picture_layer.cc SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 17 cc/test/fake_picture_layer.cc SetBounds(gfx::Size(1, 1)); gfx 38 cc/test/fake_picture_layer_impl.cc gfx::Size FakePictureLayerImpl::CalculateTileSize( gfx 39 cc/test/fake_picture_layer_impl.cc const gfx::Size& content_bounds) const { gfx 29 cc/test/fake_picture_layer_impl.h virtual gfx::Size CalculateTileSize( gfx 30 cc/test/fake_picture_layer_impl.h const gfx::Size& content_bounds) const OVERRIDE; gfx 59 cc/test/fake_picture_layer_impl.h void set_fixed_tile_size(const gfx::Size& size) { fixed_tile_size_ = size; } gfx 75 cc/test/fake_picture_layer_impl.h gfx::Size fixed_tile_size_; gfx 38 cc/test/fake_picture_layer_tiling_client.cc const gfx::Rect& rect) { gfx 42 cc/test/fake_picture_layer_tiling_client.cc pile_.get(), tile_size_, rect, gfx::Rect(), 1, 0, 0, Tile::USE_LCD_TEXT); gfx 45 cc/test/fake_picture_layer_tiling_client.cc void FakePictureLayerTilingClient::SetTileSize(const gfx::Size& tile_size) { gfx 49 cc/test/fake_picture_layer_tiling_client.cc gfx::Size FakePictureLayerTilingClient::CalculateTileSize( gfx 50 cc/test/fake_picture_layer_tiling_client.cc const gfx::Size& /* content_bounds */) const { gfx 25 cc/test/fake_picture_layer_tiling_client.h PictureLayerTiling* tiling, const gfx::Rect& rect) OVERRIDE; gfx 27 cc/test/fake_picture_layer_tiling_client.h virtual gfx::Size CalculateTileSize( gfx 28 cc/test/fake_picture_layer_tiling_client.h const gfx::Size& content_bounds) const OVERRIDE; gfx 33 cc/test/fake_picture_layer_tiling_client.h void SetTileSize(const gfx::Size& tile_size); gfx 34 cc/test/fake_picture_layer_tiling_client.h gfx::Size TileSize() const { return tile_size_; } gfx 43 cc/test/fake_picture_layer_tiling_client.h void set_text_rect(const gfx::Rect& rect) { text_rect_ = rect; } gfx 64 cc/test/fake_picture_layer_tiling_client.h gfx::Size tile_size_; gfx 66 cc/test/fake_picture_layer_tiling_client.h gfx::Rect text_rect_; gfx 20 cc/test/fake_picture_pile_impl.cc const gfx::Size& tile_size, gfx 21 cc/test/fake_picture_pile_impl.cc const gfx::Size& layer_bounds) { gfx 26 cc/test/fake_picture_pile_impl.cc pile->recorded_viewport_ = gfx::Rect(layer_bounds); gfx 36 cc/test/fake_picture_pile_impl.cc const gfx::Size& tile_size, gfx 37 cc/test/fake_picture_pile_impl.cc const gfx::Size& layer_bounds) { gfx 42 cc/test/fake_picture_pile_impl.cc pile->recorded_viewport_ = gfx::Rect(); gfx 49 cc/test/fake_picture_pile_impl.cc const gfx::Size& tile_size, gfx 50 cc/test/fake_picture_pile_impl.cc const gfx::Size& layer_bounds) { gfx 56 cc/test/fake_picture_pile_impl.cc pile->recorded_viewport_ = gfx::Rect(); gfx 64 cc/test/fake_picture_pile_impl.cc gfx::Size size(std::numeric_limits<int>::max(), gfx 70 cc/test/fake_picture_pile_impl.cc pile->recorded_viewport_ = gfx::Rect(size); gfx 84 cc/test/fake_picture_pile_impl.cc gfx::Rect bounds(tiling().TileBounds(x, y)); gfx 17 cc/test/fake_picture_pile_impl.h const gfx::Size& tile_size, gfx 18 cc/test/fake_picture_pile_impl.h const gfx::Size& layer_bounds); gfx 20 cc/test/fake_picture_pile_impl.h const gfx::Size& tile_size, gfx 21 cc/test/fake_picture_pile_impl.h const gfx::Size& layer_bounds); gfx 23 cc/test/fake_picture_pile_impl.h CreateEmptyPileThatThinksItHasRecordings(const gfx::Size& tile_size, gfx 24 cc/test/fake_picture_pile_impl.h const gfx::Size& layer_bounds); gfx 33 cc/test/fake_picture_pile_impl.h void add_draw_rect(const gfx::RectF& rect) { gfx 37 cc/test/fake_picture_pile_impl.h void add_draw_bitmap(const SkBitmap& bitmap, const gfx::Point& point) { gfx 41 cc/test/fake_picture_pile_impl.h void add_draw_rect_with_paint(const gfx::RectF& rect, const SkPaint& paint) { gfx 46 cc/test/fake_picture_pile_impl.h const gfx::Point& point, gfx 13 cc/test/fake_proxy.cc bool FakeProxy::CompositeAndReadback(void* pixels, const gfx::Rect& rect) { gfx 25 cc/test/fake_proxy.h const gfx::Rect& rect) OVERRIDE; gfx 35 cc/test/fake_proxy.h virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE {} gfx 15 cc/test/fake_scoped_ui_resource.cc return UIResourceBitmap(gfx::Size(1, 1), is_opaque); gfx 40 cc/test/fake_scrollbar.cc gfx::Point FakeScrollbar::Location() const { return location_; } gfx 54 cc/test/fake_scrollbar.cc gfx::Rect FakeScrollbar::TrackRect() const { gfx 60 cc/test/fake_scrollbar.cc const gfx::Rect& content_rect) { gfx 23 cc/test/fake_scrollbar.h virtual gfx::Point Location() const OVERRIDE; gfx 28 cc/test/fake_scrollbar.h virtual gfx::Rect TrackRect() const OVERRIDE; gfx 31 cc/test/fake_scrollbar.h const gfx::Rect& content_rect) OVERRIDE; gfx 33 cc/test/fake_scrollbar.h void set_location(const gfx::Point& location) { location_ = location; } gfx 34 cc/test/fake_scrollbar.h void set_track_rect(const gfx::Rect& track_rect) { track_rect_ = track_rect; } gfx 47 cc/test/fake_scrollbar.h gfx::Point location_; gfx 48 cc/test/fake_scrollbar.h gfx::Rect track_rect_; gfx 17 cc/test/geometry_test_utils.cc void ExpectTransformationMatrixEq(const gfx::Transform& expected, gfx 18 cc/test/geometry_test_utils.cc const gfx::Transform& actual) { gfx 37 cc/test/geometry_test_utils.cc gfx::Transform Inverse(const gfx::Transform& transform) { gfx 38 cc/test/geometry_test_utils.cc gfx::Transform result(gfx::Transform::kSkipInitialization); gfx 8 cc/test/geometry_test_utils.h namespace gfx { gfx 83 cc/test/geometry_test_utils.h void ExpectTransformationMatrixEq(const gfx::Transform& expected, gfx 84 cc/test/geometry_test_utils.h const gfx::Transform& actual); gfx 94 cc/test/geometry_test_utils.h gfx::Transform Inverse(const gfx::Transform& transform); gfx 25 cc/test/layer_test_common.cc static bool CanRectFBeSafelyRoundedToRect(const gfx::RectF& r) { gfx 31 cc/test/layer_test_common.cc if (gfx::ToFlooredPoint(r.origin()) == r.origin() && gfx 32 cc/test/layer_test_common.cc gfx::ToFlooredSize(r.size()) == r.size()) gfx 39 cc/test/layer_test_common.cc const gfx::Rect& rect) { gfx 44 cc/test/layer_test_common.cc gfx::RectF quad_rectf = gfx 45 cc/test/layer_test_common.cc MathUtil::MapClippedRect(quad->quadTransform(), gfx::RectF(quad->rect)); gfx 51 cc/test/layer_test_common.cc gfx::Rect quad_rect = gfx::ToEnclosingRect(quad_rectf); gfx 64 cc/test/layer_test_common.cc const gfx::Rect& rect, gfx 65 cc/test/layer_test_common.cc const gfx::Rect& occluded, gfx 76 cc/test/layer_test_common.cc gfx::Rect target_rect = gfx 78 cc/test/layer_test_common.cc gfx::Rect target_visible_rect = MathUtil::MapEnclosingClippedRect( gfx 110 cc/test/layer_test_common.cc const gfx::Size& viewport_size) { gfx 119 cc/test/layer_test_common.cc const gfx::Rect& occluded) { gfx 132 cc/test/layer_test_common.cc const gfx::Rect& occluded) { gfx 144 cc/test/layer_test_common.cc const gfx::Rect& occluded) { gfx 28 cc/test/layer_test_common.h namespace gfx { class Rect; } gfx 42 cc/test/layer_test_common.h const gfx::Rect& rect); gfx 46 cc/test/layer_test_common.h const gfx::Rect& rect, gfx 47 cc/test/layer_test_common.h const gfx::Rect& occluded, gfx 80 cc/test/layer_test_common.h void CalcDrawProps(const gfx::Size& viewport_size); gfx 82 cc/test/layer_test_common.h const gfx::Rect& occluded); gfx 85 cc/test/layer_test_common.h const gfx::Rect& occluded); gfx 87 cc/test/layer_test_common.h const gfx::Rect& occluded); gfx 76 cc/test/layer_tree_json_parser.cc gfx::Rect(aperture_x, aperture_y, aperture_width, aperture_height)); gfx 78 cc/test/layer_tree_json_parser.cc gfx::Rect(border_x, border_y, border_width, border_height)); gfx 89 cc/test/layer_tree_json_parser.cc new_layer->SetAnchorPoint(gfx::Point()); gfx 90 cc/test/layer_tree_json_parser.cc new_layer->SetPosition(gfx::PointF(position_x, position_y)); gfx 91 cc/test/layer_tree_json_parser.cc new_layer->SetBounds(gfx::Size(width, height)); gfx 142 cc/test/layer_tree_json_parser.cc touch_region.Union(gfx::Rect(rect_x, rect_y, rect_width, rect_height)); gfx 152 cc/test/layer_tree_json_parser.cc gfx::Transform layer_transform; gfx 77 cc/test/layer_tree_json_parser_unittest.cc root_impl->SetBounds(gfx::Size(100, 100)); gfx 78 cc/test/layer_tree_json_parser_unittest.cc parent->SetBounds(gfx::Size(50, 50)); gfx 79 cc/test/layer_tree_json_parser_unittest.cc child->SetBounds(gfx::Size(40, 40)); gfx 81 cc/test/layer_tree_json_parser_unittest.cc parent->SetPosition(gfx::Point(25, 25)); gfx 105 cc/test/layer_tree_json_parser_unittest.cc root_impl->SetBounds(gfx::Size(100, 100)); gfx 106 cc/test/layer_tree_json_parser_unittest.cc touch_layer->SetBounds(gfx::Size(50, 50)); gfx 109 cc/test/layer_tree_json_parser_unittest.cc touch_region.Union(gfx::Rect(10, 10, 20, 30)); gfx 110 cc/test/layer_tree_json_parser_unittest.cc touch_region.Union(gfx::Rect(40, 10, 20, 20)); gfx 39 cc/test/layer_tree_pixel_test.cc gfx::Size surface_expansion_size(40, 60); gfx 77 cc/test/layer_tree_pixel_test.cc gfx::Rect viewport = impl->DeviceViewport(); gfx 79 cc/test/layer_tree_pixel_test.cc EXPECT_EQ(gfx::Point().ToString(), viewport.origin().ToString()); gfx 81 cc/test/layer_tree_pixel_test.cc viewport += gfx::Vector2d(20, 10); gfx 82 cc/test/layer_tree_pixel_test.cc impl->SetExternalDrawConstraints(gfx::Transform(), viewport, viewport, true); gfx 119 cc/test/layer_tree_pixel_test.cc const gfx::Rect& rect, SkColor color) { gfx 122 cc/test/layer_tree_pixel_test.cc layer->SetAnchorPoint(gfx::PointF()); gfx 150 cc/test/layer_tree_pixel_test.cc const gfx::Rect& rect, SkColor color, gfx 154 cc/test/layer_tree_pixel_test.cc gfx::Rect(0, 0, rect.width(), border_width), border_color); gfx 156 cc/test/layer_tree_pixel_test.cc gfx::Rect(0, gfx 162 cc/test/layer_tree_pixel_test.cc CreateSolidColorLayer(gfx::Rect(rect.width() - border_width, gfx 168 cc/test/layer_tree_pixel_test.cc gfx::Rect(0, rect.height() - border_width, rect.width(), border_width), gfx 178 cc/test/layer_tree_pixel_test.cc const gfx::Rect& rect, const SkBitmap& bitmap) { gfx 181 cc/test/layer_tree_pixel_test.cc layer->SetAnchorPoint(gfx::PointF()); gfx 228 cc/test/layer_tree_pixel_test.cc const gfx::Size& size, gfx 52 cc/test/layer_tree_pixel_test.h scoped_refptr<SolidColorLayer> CreateSolidColorLayer(const gfx::Rect& rect, gfx 55 cc/test/layer_tree_pixel_test.h const gfx::Rect& rect, gfx 59 cc/test/layer_tree_pixel_test.h scoped_refptr<TextureLayer> CreateTextureLayer(const gfx::Rect& rect, gfx 79 cc/test/layer_tree_pixel_test.h const gfx::Size& size, gfx 99 cc/test/layer_tree_pixel_test.h gfx::DisableNullDrawGLBindings enable_pixel_output_; gfx 114 cc/test/layer_tree_test.cc const gfx::Rect& damage_rect) OVERRIDE { gfx 234 cc/test/layer_tree_test.cc virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 446 cc/test/layer_tree_test.cc const gfx::Rect& damage_rect) { gfx 503 cc/test/layer_tree_test.cc root_layer->SetAnchorPoint(gfx::PointF()); gfx 504 cc/test/layer_tree_test.cc root_layer->SetBounds(gfx::Size(1, 1)); gfx 509 cc/test/layer_tree_test.cc gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds(); gfx 510 cc/test/layer_tree_test.cc gfx::Size device_root_bounds = gfx::ToCeiledSize( gfx 511 cc/test/layer_tree_test.cc gfx::ScaleSize(root_bounds, layer_tree_host_->device_scale_factor())); gfx 569 cc/test/layer_tree_test.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 587 cc/test/layer_tree_test.cc void LayerTreeTest::DispatchSetNeedsRedrawRect(const gfx::Rect& damage_rect) { gfx 629 cc/test/layer_tree_test.cc base::TimeTicks now = gfx::FrameTime::Now(); gfx 63 cc/test/layer_tree_test.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 127 cc/test/layer_tree_test.h void PostSetNeedsRedrawRectToMainThread(const gfx::Rect& damage_rect); gfx 150 cc/test/layer_tree_test.h void DispatchSetNeedsRedrawRect(const gfx::Rect& damage_rect); gfx 31 cc/test/mock_quad_culler.cc gfx::Rect MockQuadCuller::UnoccludedContentRect( gfx 32 cc/test/mock_quad_culler.cc const gfx::Rect& content_rect, gfx 33 cc/test/mock_quad_culler.cc const gfx::Transform& draw_transform) { gfx 36 cc/test/mock_quad_culler.cc gfx::Rect target_rect = gfx 39 cc/test/mock_quad_culler.cc gfx::Transform inverse_draw_transform(gfx::Transform::kSkipInitialization); gfx 42 cc/test/mock_quad_culler.cc gfx::Rect result = MathUtil::ProjectEnclosingClippedRect( gfx 47 cc/test/mock_quad_culler.cc gfx::Rect MockQuadCuller::UnoccludedContributingSurfaceContentRect( gfx 48 cc/test/mock_quad_culler.cc const gfx::Rect& content_rect, gfx 49 cc/test/mock_quad_culler.cc const gfx::Transform& draw_transform) { gfx 52 cc/test/mock_quad_culler.cc gfx::Rect target_rect = gfx 55 cc/test/mock_quad_culler.cc gfx::Transform inverse_draw_transform(gfx::Transform::kSkipInitialization); gfx 58 cc/test/mock_quad_culler.cc gfx::Rect result = MathUtil::ProjectEnclosingClippedRect( gfx 26 cc/test/mock_quad_culler.h virtual gfx::Rect UnoccludedContentRect(const gfx::Rect& content_rect, gfx 27 cc/test/mock_quad_culler.h const gfx::Transform& draw_transform) gfx 29 cc/test/mock_quad_culler.h virtual gfx::Rect UnoccludedContributingSurfaceContentRect( gfx 30 cc/test/mock_quad_culler.h const gfx::Rect& content_rect, gfx 31 cc/test/mock_quad_culler.h const gfx::Transform& draw_transform) OVERRIDE; gfx 40 cc/test/mock_quad_culler.h void set_occluded_target_rect(const gfx::Rect& occluded) { gfx 45 cc/test/mock_quad_culler.h const gfx::Rect& occluded) { gfx 59 cc/test/mock_quad_culler.h gfx::Rect occluded_target_rect_; gfx 60 cc/test/mock_quad_culler.h gfx::Rect occluded_target_rect_for_contributing_surface_; gfx 32 cc/test/pixel_test.cc : device_viewport_size_(gfx::Size(200, 200)), gfx 73 cc/test/pixel_test.cc gfx::Rect device_viewport_rect = gfx 74 cc/test/pixel_test.cc gfx::Rect(device_viewport_size_) + external_device_viewport_offset_; gfx 75 cc/test/pixel_test.cc gfx::Rect device_clip_rect = external_device_clip_rect_.IsEmpty() gfx 119 cc/test/pixel_test.cc enable_pixel_output_.reset(new gfx::DisableNullDrawGLBindings); gfx 140 cc/test/pixel_test.cc void PixelTest::ForceExpandedViewport(const gfx::Size& surface_expansion) { gfx 150 cc/test/pixel_test.cc void PixelTest::ForceViewportOffset(const gfx::Vector2d& viewport_offset) { gfx 154 cc/test/pixel_test.cc void PixelTest::ForceDeviceClip(const gfx::Rect& clip) { gfx 49 cc/test/pixel_test.h gfx::Size device_viewport_size_; gfx 59 cc/test/pixel_test.h gfx::Vector2d external_device_viewport_offset_; gfx 60 cc/test/pixel_test.h gfx::Rect external_device_clip_rect_; gfx 65 cc/test/pixel_test.h void ForceExpandedViewport(const gfx::Size& surface_expansion); gfx 66 cc/test/pixel_test.h void ForceViewportOffset(const gfx::Vector2d& viewport_offset); gfx 67 cc/test/pixel_test.h void ForceDeviceClip(const gfx::Rect& clip); gfx 80 cc/test/pixel_test.h scoped_ptr<gfx::DisableNullDrawGLBindings> enable_pixel_output_; gfx 142 cc/test/pixel_test.h ForceExpandedViewport(gfx::Size(50, 50)); gfx 143 cc/test/pixel_test.h ForceViewportOffset(gfx::Vector2d(10, 20)); gfx 176 cc/test/pixel_test.h ForceExpandedViewport(gfx::Size(50, 50)); gfx 177 cc/test/pixel_test.h ForceViewportOffset(gfx::Vector2d(10, 20)); gfx 20 cc/test/pixel_test_output_surface.cc void PixelTestOutputSurface::Reshape(const gfx::Size& size, gfx 22 cc/test/pixel_test_output_surface.cc gfx::Size expanded_size(size.width() + surface_expansion_size_.width(), gfx 19 cc/test/pixel_test_output_surface.h virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE; gfx 22 cc/test/pixel_test_output_surface.h void set_surface_expansion_size(const gfx::Size& surface_expansion_size) { gfx 30 cc/test/pixel_test_output_surface.h gfx::Size surface_expansion_size_; gfx 9 cc/test/pixel_test_software_output_device.cc void PixelTestSoftwareOutputDevice::Resize(const gfx::Size& size) { gfx 10 cc/test/pixel_test_software_output_device.cc gfx::Size expanded_size(size.width() + surface_expansion_size_.width(), gfx 14 cc/test/pixel_test_software_output_device.h virtual void Resize(const gfx::Size& size) OVERRIDE; gfx 16 cc/test/pixel_test_software_output_device.h void set_surface_expansion_size(const gfx::Size& surface_expansion_size) { gfx 21 cc/test/pixel_test_software_output_device.h gfx::Size surface_expansion_size_; gfx 20 cc/test/pixel_test_utils.cc if (gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, gfx 35 cc/test/pixel_test_utils.cc gfx::PNGCodec::Decode(reinterpret_cast<unsigned char*>(&png_data[0]), gfx 33 cc/test/render_pass_test_common.cc gfx::Rect rect(0, 0, 100, 100); gfx 34 cc/test/render_pass_test_common.cc gfx::Rect opaque_rect(10, 10, 80, 80); gfx 35 cc/test/render_pass_test_common.cc gfx::Rect visible_rect(0, 0, 100, 100); gfx 38 cc/test/render_pass_test_common.cc gfx::Size(45, 5), gfx 44 cc/test/render_pass_test_common.cc gfx::Size(346, 61), gfx 50 cc/test/render_pass_test_common.cc gfx::Size(12, 134), gfx 56 cc/test/render_pass_test_common.cc gfx::Size(56, 12), gfx 62 cc/test/render_pass_test_common.cc gfx::Size(73, 26), gfx 68 cc/test/render_pass_test_common.cc gfx::Size(64, 92), gfx 74 cc/test/render_pass_test_common.cc gfx::Size(9, 14), gfx 81 cc/test/render_pass_test_common.cc shared_state->SetAll(gfx::Transform(), gfx 106 cc/test/render_pass_test_common.cc gfx::Size(50, 50), gfx 121 cc/test/render_pass_test_common.cc gfx::RectF(), gfx 135 cc/test/render_pass_test_common.cc gfx::RectF(), gfx 154 cc/test/render_pass_test_common.cc gfx::Transform()); gfx 164 cc/test/render_pass_test_common.cc gfx::PointF(0.f, 0.f), gfx 165 cc/test/render_pass_test_common.cc gfx::PointF(1.f, 1.f), gfx 177 cc/test/render_pass_test_common.cc gfx::RectF(0, 0, 50, 50), gfx 178 cc/test/render_pass_test_common.cc gfx::Size(50, 50), gfx 183 cc/test/render_pass_test_common.cc gfx::Transform rotation; gfx 193 cc/test/render_pass_test_common.cc gfx::RectF(0, 0, 100, 100), gfx 194 cc/test/render_pass_test_common.cc gfx::Size(100, 100), gfx 199 cc/test/render_pass_test_common.cc shared_state->SetAll(gfx::Transform(), gfx 213 cc/test/render_pass_test_common.cc gfx::RectF(0, 0, 100, 100), gfx 214 cc/test/render_pass_test_common.cc gfx::Size(100, 100), gfx 222 cc/test/render_pass_test_common.cc gfx::Size(20, 12), gfx 233 cc/test/render_pass_test_common.cc gfx::RectF(0, 0, 100, 100), gfx 22 cc/test/render_pass_test_utils.cc const gfx::Rect& output_rect, gfx 23 cc/test/render_pass_test_utils.cc const gfx::Transform& root_transform) { gfx 32 cc/test/render_pass_test_utils.cc const gfx::Rect& rect, gfx 37 cc/test/render_pass_test_utils.cc shared_state->SetAll(gfx::Transform(), gfx 52 cc/test/render_pass_test_utils.cc const gfx::Rect& rect, gfx 57 cc/test/render_pass_test_utils.cc shared_state->SetAll(gfx::Transform(), gfx 72 cc/test/render_pass_test_utils.cc const gfx::Rect& rect, gfx 74 cc/test/render_pass_test_utils.cc const gfx::Transform& transform) { gfx 91 cc/test/render_pass_test_utils.cc gfx::Rect output_rect = contributing_pass->output_rect; gfx 94 cc/test/render_pass_test_utils.cc shared_state->SetAll(gfx::Transform(), gfx 109 cc/test/render_pass_test_utils.cc gfx::RectF(), gfx 119 cc/test/render_pass_test_utils.cc gfx::Transform transform) { gfx 122 cc/test/render_pass_test_utils.cc gfx::Rect output_rect = contributing_pass->output_rect; gfx 140 cc/test/render_pass_test_utils.cc gfx::RectF(), gfx 14 cc/test/render_pass_test_utils.h namespace gfx { gfx 29 cc/test/render_pass_test_utils.h const gfx::Rect& output_rect, gfx 30 cc/test/render_pass_test_utils.h const gfx::Transform& root_transform); gfx 34 cc/test/render_pass_test_utils.h const gfx::Rect& rect, gfx 39 cc/test/render_pass_test_utils.h const gfx::Rect& rect, gfx 44 cc/test/render_pass_test_utils.h const gfx::Rect& rect, gfx 46 cc/test/render_pass_test_utils.h const gfx::Transform& transform); gfx 57 cc/test/render_pass_test_utils.h gfx::Transform transform); gfx 16 cc/test/skia_common.cc const gfx::Rect& layer_rect, gfx 23 cc/test/skia_common.cc canvas.clipRect(gfx::RectToSkRect(layer_rect)); gfx 27 cc/test/skia_common.cc void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap) { gfx 14 cc/test/skia_common.h namespace gfx { gfx 23 cc/test/skia_common.h const gfx::Rect& layer_rect, gfx 26 cc/test/skia_common.h void CreateBitmap(const gfx::Size& size, const char* uri, SkBitmap* bitmap); gfx 15 cc/test/solid_color_content_layer_client.cc SkCanvas* canvas, const gfx::Rect& rect, gfx::RectF* opaque_rect) { gfx 21 cc/test/solid_color_content_layer_client.h const gfx::Rect& rect, gfx 22 cc/test/solid_color_content_layer_client.h gfx::RectF* opaque_rect) OVERRIDE; gfx 71 cc/test/test_context_support.cc void TestContextSupport::PartialSwapBuffers(const gfx::Rect& sub_buffer) { gfx 81 cc/test/test_context_support.cc gfx::OverlayTransform plane_transform, gfx 83 cc/test/test_context_support.cc const gfx::Rect& display_bounds, gfx 84 cc/test/test_context_support.cc const gfx::RectF& uv_rect) { gfx 29 cc/test/test_context_support.h virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE; gfx 33 cc/test/test_context_support.h gfx::OverlayTransform plane_transform, gfx 35 cc/test/test_context_support.h const gfx::Rect& display_bounds, gfx 36 cc/test/test_context_support.h const gfx::RectF& uv_rect) OVERRIDE; gfx 45 cc/test/test_context_support.h gfx::OverlayTransform plane_transform, gfx 47 cc/test/test_context_support.h const gfx::Rect& display_bounds, gfx 48 cc/test/test_context_support.h const gfx::RectF& crop_rect)> gfx 60 cc/test/test_context_support.h gfx::Rect last_partial_swap_rect() const { gfx 74 cc/test/test_context_support.h gfx::Rect last_partial_swap_rect_; gfx 35 cc/test/test_in_process_context_provider.cc gfx::GpuPreference gpu_preference = gfx::PreferDiscreteGpu; gfx 39 cc/test/test_in_process_context_provider.cc gfx::AcceleratedWidget(), gfx 40 cc/test/test_in_process_context_provider.cc gfx::Size(1, 1), gfx 18 cc/test/test_occlusion_tracker.h explicit TestOcclusionTracker(const gfx::Rect& screen_scissor_rect) gfx 22 cc/test/test_shared_bitmap_manager.cc const gfx::Size& size) { gfx 33 cc/test/test_shared_bitmap_manager.cc const gfx::Size&, gfx 20 cc/test/test_shared_bitmap_manager.h virtual scoped_ptr<SharedBitmap> AllocateSharedBitmap(const gfx::Size& size) gfx 24 cc/test/test_shared_bitmap_manager.h const gfx::Size&, gfx 12 cc/test/test_texture.cc size_t TextureSizeBytes(const gfx::Size& size, ResourceFormat format) { gfx 31 cc/test/test_texture.cc void TestTexture::Reallocate(const gfx::Size& size, ResourceFormat format) { gfx 17 cc/test/test_texture.h size_t TextureSizeBytes(const gfx::Size& size, ResourceFormat format); gfx 22 cc/test/test_texture.h void Reallocate(const gfx::Size& size, ResourceFormat format); gfx 25 cc/test/test_texture.h gfx::Size size; gfx 344 cc/test/test_web_graphics_context_3d.h gfx::Rect update_rect() const { return update_rect_; } gfx 430 cc/test/test_web_graphics_context_3d.h gfx::Rect update_rect_; gfx 18 cc/test/tiled_layer_test_common.cc const gfx::Rect& source_rect, gfx 19 cc/test/tiled_layer_test_common.cc const gfx::Vector2d& dest_offset, gfx 21 cc/test/tiled_layer_test_common.cc const gfx::Rect kRect(0, 0, 10, 10); gfx 23 cc/test/tiled_layer_test_common.cc texture(), &bitmap_, kRect, kRect, gfx::Vector2d()); gfx 36 cc/test/tiled_layer_test_common.cc void FakeLayerUpdater::PrepareToUpdate(const gfx::Rect& content_rect, gfx 37 cc/test/tiled_layer_test_common.cc const gfx::Size& tile_size, gfx 40 cc/test/tiled_layer_test_common.cc gfx::Rect* resulting_opaque_rect) { gfx 45 cc/test/tiled_layer_test_common.cc rect_to_invalidate_ = gfx::Rect(); gfx 51 cc/test/tiled_layer_test_common.cc void FakeLayerUpdater::SetRectToInvalidate(const gfx::Rect& rect, gfx 88 cc/test/tiled_layer_test_common.cc void FakeTiledLayer::SetNeedsDisplayRect(const gfx::RectF& rect) { gfx 150 cc/test/tiled_layer_test_common.cc const gfx::Size& content_bounds) { gfx 162 cc/test/tiled_layer_test_common.cc gfx::Size* content_bounds) { gfx 31 cc/test/tiled_layer_test_common.h const gfx::Rect& source_rect, gfx 32 cc/test/tiled_layer_test_common.h const gfx::Vector2d& dest_offset, gfx 47 cc/test/tiled_layer_test_common.h virtual void PrepareToUpdate(const gfx::Rect& content_rect, gfx 48 cc/test/tiled_layer_test_common.h const gfx::Size& tile_size, gfx 51 cc/test/tiled_layer_test_common.h gfx::Rect* resulting_opaque_rect) OVERRIDE; gfx 54 cc/test/tiled_layer_test_common.h void SetRectToInvalidate(const gfx::Rect& rect, FakeTiledLayer* layer); gfx 56 cc/test/tiled_layer_test_common.h gfx::Rect last_update_rect() const { return last_update_rect_; } gfx 67 cc/test/tiled_layer_test_common.h void SetOpaquePaintRect(const gfx::Rect& opaque_paint_rect) { gfx 77 cc/test/tiled_layer_test_common.h gfx::Rect rect_to_invalidate_; gfx 78 cc/test/tiled_layer_test_common.h gfx::Rect last_update_rect_; gfx 79 cc/test/tiled_layer_test_common.h gfx::Rect opaque_paint_rect_; gfx 98 cc/test/tiled_layer_test_common.h static gfx::Size tile_size() { return gfx::Size(100, 100); } gfx 106 cc/test/tiled_layer_test_common.h virtual void SetNeedsDisplayRect(const gfx::RectF& rect) OVERRIDE; gfx 107 cc/test/tiled_layer_test_common.h const gfx::RectF& last_needs_display_rect() const { gfx 116 cc/test/tiled_layer_test_common.h gfx::RectF update_rect() { return update_rect_; } gfx 131 cc/test/tiled_layer_test_common.h gfx::RectF last_needs_display_rect_; gfx 141 cc/test/tiled_layer_test_common.h void SetContentBounds(const gfx::Size& content_bounds); gfx 148 cc/test/tiled_layer_test_common.h gfx::Size* content_bounds) OVERRIDE; gfx 152 cc/test/tiled_layer_test_common.h gfx::Size forced_content_bounds_; gfx 29 cc/trees/damage_tracker.cc gfx::RectF* rect, const FilterOperations& filters) { gfx 36 cc/trees/damage_tracker.cc gfx::RectF* damage_rect, gfx 37 cc/trees/damage_tracker.cc const gfx::RectF& pre_filter_rect, gfx 39 cc/trees/damage_tracker.cc gfx::RectF expanded_damage_rect = *damage_rect; gfx 41 cc/trees/damage_tracker.cc gfx::RectF filter_rect = pre_filter_rect; gfx 52 cc/trees/damage_tracker.cc const gfx::Rect& target_surface_content_rect, gfx 127 cc/trees/damage_tracker.cc gfx::RectF damage_from_active_layers = gfx 129 cc/trees/damage_tracker.cc gfx::RectF damage_from_surface_mask = gfx 131 cc/trees/damage_tracker.cc gfx::RectF damage_from_leftover_rects = TrackDamageFromLeftoverRects(); gfx 133 cc/trees/damage_tracker.cc gfx::RectF damage_rect_for_this_update; gfx 175 cc/trees/damage_tracker.cc gfx::RectF DamageTracker::TrackDamageFromActiveLayers( gfx 178 cc/trees/damage_tracker.cc gfx::RectF damage_rect = gfx::RectF(); gfx 200 cc/trees/damage_tracker.cc gfx::RectF DamageTracker::TrackDamageFromSurfaceMask( gfx 202 cc/trees/damage_tracker.cc gfx::RectF damage_rect = gfx::RectF(); gfx 212 cc/trees/damage_tracker.cc damage_rect = gfx::RectF(gfx::PointF(), gfx 223 cc/trees/damage_tracker.cc gfx::RectF DamageTracker::TrackDamageFromLeftoverRects() { gfx 228 cc/trees/damage_tracker.cc gfx::RectF damage_rect = gfx::RectF(); gfx 264 cc/trees/damage_tracker.cc gfx::RectF* target_damage_rect) { gfx 285 cc/trees/damage_tracker.cc gfx::RectF old_rect_in_target_space = data.rect_; gfx 287 cc/trees/damage_tracker.cc gfx::RectF rect_in_target_space = MathUtil::MapClippedRect( gfx 289 cc/trees/damage_tracker.cc gfx::RectF(gfx::PointF(), layer->content_bounds())); gfx 303 cc/trees/damage_tracker.cc gfx::RectF update_content_rect = gfx 305 cc/trees/damage_tracker.cc gfx::RectF update_rect_in_target_space = gfx 312 cc/trees/damage_tracker.cc LayerImpl* layer, gfx::RectF* target_damage_rect) { gfx 332 cc/trees/damage_tracker.cc gfx::RectF old_surface_rect = data.rect_; gfx 335 cc/trees/damage_tracker.cc gfx::RectF surface_rect_in_target_space = gfx 339 cc/trees/damage_tracker.cc gfx::RectF damage_rect_in_local_space; gfx 355 cc/trees/damage_tracker.cc const gfx::Transform& draw_transform = render_surface->draw_transform(); gfx 356 cc/trees/damage_tracker.cc gfx::RectF damage_rect_in_target_space = gfx 361 cc/trees/damage_tracker.cc const gfx::Transform& replica_draw_transform = gfx 377 cc/trees/damage_tracker.cc const gfx::Transform& replica_draw_transform = gfx 379 cc/trees/damage_tracker.cc gfx::RectF replica_mask_layer_rect = MathUtil::MapClippedRect( gfx 381 cc/trees/damage_tracker.cc gfx::RectF(gfx::PointF(), replica_mask_layer->bounds())); gfx 16 cc/trees/damage_tracker.h namespace gfx { gfx 34 cc/trees/damage_tracker.h void DidDrawDamagedArea() { current_damage_rect_ = gfx::RectF(); } gfx 35 cc/trees/damage_tracker.h void AddDamageNextUpdate(const gfx::RectF& dmg) { gfx 42 cc/trees/damage_tracker.h const gfx::Rect& target_surface_content_rect, gfx 46 cc/trees/damage_tracker.h gfx::RectF current_damage_rect() { return current_damage_rect_; } gfx 51 cc/trees/damage_tracker.h gfx::RectF TrackDamageFromActiveLayers( gfx 54 cc/trees/damage_tracker.h gfx::RectF TrackDamageFromSurfaceMask(LayerImpl* target_surface_mask_layer); gfx 55 cc/trees/damage_tracker.h gfx::RectF TrackDamageFromLeftoverRects(); gfx 60 cc/trees/damage_tracker.h void ExtendDamageForLayer(LayerImpl* layer, gfx::RectF* target_damage_rect); gfx 62 cc/trees/damage_tracker.h gfx::RectF* target_damage_rect); gfx 67 cc/trees/damage_tracker.h void Update(const gfx::RectF& rect, unsigned int mailboxId) { gfx 78 cc/trees/damage_tracker.h gfx::RectF rect_; gfx 87 cc/trees/damage_tracker.h gfx::RectF current_damage_rect_; gfx 83 cc/trees/damage_tracker_unittest.cc root->SetPosition(gfx::PointF()); gfx 84 cc/trees/damage_tracker_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 85 cc/trees/damage_tracker_unittest.cc root->SetBounds(gfx::Size(500, 500)); gfx 86 cc/trees/damage_tracker_unittest.cc root->SetContentBounds(gfx::Size(500, 500)); gfx 89 cc/trees/damage_tracker_unittest.cc root->render_surface()->SetContentRect(gfx::Rect(0, 0, 500, 500)); gfx 91 cc/trees/damage_tracker_unittest.cc child->SetPosition(gfx::PointF(100.f, 100.f)); gfx 92 cc/trees/damage_tracker_unittest.cc child->SetAnchorPoint(gfx::PointF()); gfx 93 cc/trees/damage_tracker_unittest.cc child->SetBounds(gfx::Size(30, 30)); gfx 94 cc/trees/damage_tracker_unittest.cc child->SetContentBounds(gfx::Size(30, 30)); gfx 117 cc/trees/damage_tracker_unittest.cc root->SetPosition(gfx::PointF()); gfx 118 cc/trees/damage_tracker_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 119 cc/trees/damage_tracker_unittest.cc root->SetBounds(gfx::Size(500, 500)); gfx 120 cc/trees/damage_tracker_unittest.cc root->SetContentBounds(gfx::Size(500, 500)); gfx 123 cc/trees/damage_tracker_unittest.cc root->render_surface()->SetContentRect(gfx::Rect(0, 0, 500, 500)); gfx 125 cc/trees/damage_tracker_unittest.cc child1->SetPosition(gfx::PointF(100.f, 100.f)); gfx 126 cc/trees/damage_tracker_unittest.cc child1->SetAnchorPoint(gfx::PointF()); gfx 127 cc/trees/damage_tracker_unittest.cc child1->SetBounds(gfx::Size(30, 30)); gfx 128 cc/trees/damage_tracker_unittest.cc child1->SetContentBounds(gfx::Size(30, 30)); gfx 137 cc/trees/damage_tracker_unittest.cc child2->SetPosition(gfx::PointF(11.f, 11.f)); gfx 138 cc/trees/damage_tracker_unittest.cc child2->SetAnchorPoint(gfx::PointF()); gfx 139 cc/trees/damage_tracker_unittest.cc child2->SetBounds(gfx::Size(18, 18)); gfx 140 cc/trees/damage_tracker_unittest.cc child2->SetContentBounds(gfx::Size(18, 18)); gfx 143 cc/trees/damage_tracker_unittest.cc grand_child1->SetPosition(gfx::PointF(200.f, 200.f)); gfx 144 cc/trees/damage_tracker_unittest.cc grand_child1->SetAnchorPoint(gfx::PointF()); gfx 145 cc/trees/damage_tracker_unittest.cc grand_child1->SetBounds(gfx::Size(6, 8)); gfx 146 cc/trees/damage_tracker_unittest.cc grand_child1->SetContentBounds(gfx::Size(6, 8)); gfx 149 cc/trees/damage_tracker_unittest.cc grand_child2->SetPosition(gfx::PointF(190.f, 190.f)); gfx 150 cc/trees/damage_tracker_unittest.cc grand_child2->SetAnchorPoint(gfx::PointF()); gfx 151 cc/trees/damage_tracker_unittest.cc grand_child2->SetBounds(gfx::Size(6, 8)); gfx 152 cc/trees/damage_tracker_unittest.cc grand_child2->SetContentBounds(gfx::Size(6, 8)); gfx 199 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 202 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 500.f, 500.f), root_damage_rect); gfx 213 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect = gfx 215 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 225 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(190.f, 190.f, 16.f, 18.f), child_damage_rect); gfx 226 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 500.f, 500.f), root_damage_rect); gfx 236 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(10.f, 11.f, 12.f, 13.f)); gfx 241 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 243 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(110.f, 111.f, 12.f, 13.f), root_damage_rect); gfx 248 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(10.f, 11.f, 12.f, 13.f)); gfx 252 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(110.f, 111.f, 12.f, 13.f), root_damage_rect); gfx 257 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(20.f, 25.f, 1.f, 2.f)); gfx 264 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(120.f, 125.f, 1.f, 2.f), root_damage_rect); gfx 274 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(10.f, 11.f, 12.f, 13.f)); gfx 284 cc/trees/damage_tracker_unittest.cc gfx::RectF expected_rect = gfx::RectF(100.f, 100.f, 30.f, 30.f); gfx 285 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 303 cc/trees/damage_tracker_unittest.cc child->SetPosition(gfx::PointF(200.f, 230.f)); gfx 307 cc/trees/damage_tracker_unittest.cc expected_rect.Union(gfx::RectF(200, 230, 30, 30)); gfx 320 cc/trees/damage_tracker_unittest.cc gfx::Transform rotation; gfx 324 cc/trees/damage_tracker_unittest.cc child->SetAnchorPoint(gfx::PointF(0.5f, 0.5f)); gfx 325 cc/trees/damage_tracker_unittest.cc child->SetPosition(gfx::PointF(85.f, 85.f)); gfx 330 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 332 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(85.f, 85.f, 45.f, 45.f), root_damage_rect); gfx 346 cc/trees/damage_tracker_unittest.cc gfx::RectF expected_rect( gfx 369 cc/trees/damage_tracker_unittest.cc gfx::Transform transform; gfx 376 cc/trees/damage_tracker_unittest.cc child->SetPosition(gfx::PointF(0.f, 0.f)); gfx 377 cc/trees/damage_tracker_unittest.cc child->SetBounds(gfx::Size(100, 100)); gfx 378 cc/trees/damage_tracker_unittest.cc child->SetContentBounds(gfx::Size(100, 100)); gfx 384 cc/trees/damage_tracker_unittest.cc gfx::QuadF test_quad(gfx::RectF(gfx::PointF(), gfx::SizeF(100.f, 100.f))); gfx 397 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 399 cc/trees/damage_tracker_unittest.cc gfx::RectF damage_we_care_about = gfx 400 cc/trees/damage_tracker_unittest.cc gfx::RectF(gfx::PointF(), gfx::SizeF(500.f, 500.f)); gfx 422 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(1.f, 2.f, 3.f, 4.f)); gfx 427 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 429 cc/trees/damage_tracker_unittest.cc gfx::RectF expected_damage_rect = gfx 430 cc/trees/damage_tracker_unittest.cc gfx::RectF(301.f, 302.f, 3.f, 4.f); gfx 442 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect, child_damage_rect; gfx 461 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(100.f, 100.f, 30.f, 30.f), root_damage_rect); gfx 462 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 30.f, 30.f), child_damage_rect); gfx 466 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(0.f, 0.f, 1.f, 1.f)); gfx 473 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(100.f, 100.f, 30.f, 30.f), root_damage_rect); gfx 474 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 30.f, 30.f), child_damage_rect); gfx 499 cc/trees/damage_tracker_unittest.cc root->SetUpdateRect(gfx::RectF(297.f, 297.f, 2.f, 2.f)); gfx 502 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 507 cc/trees/damage_tracker_unittest.cc gfx::RectF expected_damage_rect = gfx 508 cc/trees/damage_tracker_unittest.cc gfx::RectF(297.f, 297.f, 2.f, 2.f); gfx 521 cc/trees/damage_tracker_unittest.cc root->SetUpdateRect(gfx::RectF(297.f, 297.f, 30.f, 30.f)); gfx 530 cc/trees/damage_tracker_unittest.cc gfx::RectF(297.f, 297.f, 30.f, 30.f); gfx 541 cc/trees/damage_tracker_unittest.cc root->SetUpdateRect(gfx::RectF(30.f, 30.f, 2.f, 2.f)); gfx 549 cc/trees/damage_tracker_unittest.cc gfx::RectF(30.f, 30.f, 2.f, 2.f); gfx 557 cc/trees/damage_tracker_unittest.cc root->SetUpdateRect(gfx::RectF(99.f, 99.f, 1.f, 1.f)); gfx 566 cc/trees/damage_tracker_unittest.cc gfx::RectF(99.f, 99.f, 1.f, 1.f); gfx 577 cc/trees/damage_tracker_unittest.cc child2->SetUpdateRect(gfx::RectF(0.f, 0.f, 1.f, 1.f)); gfx 585 cc/trees/damage_tracker_unittest.cc gfx::RectF(11.f, 11.f, 1.f, 1.f); gfx 593 cc/trees/damage_tracker_unittest.cc child1->SetUpdateRect(gfx::RectF(0.f, 0.f, 1.f, 1.f)); gfx 601 cc/trees/damage_tracker_unittest.cc gfx::RectF(100.f, 100.f, 1.f, 1.f); gfx 620 cc/trees/damage_tracker_unittest.cc child2->SetPosition(gfx::PointF(400.f, 380.f)); gfx 621 cc/trees/damage_tracker_unittest.cc child2->SetAnchorPoint(gfx::PointF()); gfx 622 cc/trees/damage_tracker_unittest.cc child2->SetBounds(gfx::Size(6, 8)); gfx 623 cc/trees/damage_tracker_unittest.cc child2->SetContentBounds(gfx::Size(6, 8)); gfx 633 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 635 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(400.f, 380.f, 6.f, 8.f), root_damage_rect); gfx 656 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(100.f, 100.f, 30.f, 30.f), root_damage_rect); gfx 669 cc/trees/damage_tracker_unittest.cc child2->SetPosition(gfx::PointF(400.f, 380.f)); gfx 670 cc/trees/damage_tracker_unittest.cc child2->SetAnchorPoint(gfx::PointF()); gfx 671 cc/trees/damage_tracker_unittest.cc child2->SetBounds(gfx::Size(6, 8)); gfx 672 cc/trees/damage_tracker_unittest.cc child2->SetContentBounds(gfx::Size(6, 8)); gfx 688 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 690 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(400.f, 380.f, 6.f, 8.f), root_damage_rect); gfx 703 cc/trees/damage_tracker_unittest.cc child2->SetPosition(gfx::PointF(400.f, 380.f)); gfx 704 cc/trees/damage_tracker_unittest.cc child2->SetAnchorPoint(gfx::PointF()); gfx 705 cc/trees/damage_tracker_unittest.cc child2->SetBounds(gfx::Size(6, 8)); gfx 706 cc/trees/damage_tracker_unittest.cc child2->SetContentBounds(gfx::Size(6, 8)); gfx 717 cc/trees/damage_tracker_unittest.cc child1->SetUpdateRect(gfx::RectF(0.f, 0.f, 1.f, 2.f)); gfx 718 cc/trees/damage_tracker_unittest.cc child2->SetUpdateRect(gfx::RectF(0.f, 0.f, 3.f, 4.f)); gfx 720 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 723 cc/trees/damage_tracker_unittest.cc gfx::RectF(100.f, 100.f, 303.f, 284.f), root_damage_rect); gfx 731 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect; gfx 732 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect; gfx 743 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(200.f, 200.f, 6.f, 8.f), child_damage_rect); gfx 744 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(300.f, 300.f, 6.f, 8.f), root_damage_rect); gfx 760 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(200.f, 200.f, 6.f, 8.f), child_damage_rect); gfx 761 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(11.f, 11.f, 295.f, 297.f), root_damage_rect); gfx 775 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect; gfx 776 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect; gfx 779 cc/trees/damage_tracker_unittest.cc grand_child1->SetPosition(gfx::PointF(195.f, 205.f)); gfx 788 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(190.f, 190.f, 11.f, 23.f), child_damage_rect); gfx 793 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(290.f, 290.f, 16.f, 23.f), root_damage_rect); gfx 810 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect; gfx 811 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect; gfx 814 cc/trees/damage_tracker_unittest.cc child1->SetPosition(gfx::PointF(50.f, 50.f)); gfx 822 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(190.f, 190.f, 16.f, 18.f), child_damage_rect); gfx 828 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(240.f, 240.f, 66.f, 68.f), root_damage_rect); gfx 834 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect; gfx 835 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect; gfx 850 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(290.f, 290.f, 16.f, 18.f), root_damage_rect); gfx 878 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(190.f, 190.f, 16.f, 18.f), child_damage_rect); gfx 879 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(290.f, 290.f, 16.f, 18.f), root_damage_rect); gfx 885 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect; gfx 886 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect; gfx 915 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect; gfx 916 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect; gfx 921 cc/trees/damage_tracker_unittest.cc child1->SetUpdateRect(gfx::RectF(0.f, 0.f, 1.f, 2.f)); gfx 943 cc/trees/damage_tracker_unittest.cc grand_child2->SetPosition(gfx::PointF(180.f, 180.f)); gfx 947 cc/trees/damage_tracker_unittest.cc grand_child3->SetPosition(gfx::PointF(240.f, 240.f)); gfx 948 cc/trees/damage_tracker_unittest.cc grand_child3->SetAnchorPoint(gfx::PointF()); gfx 949 cc/trees/damage_tracker_unittest.cc grand_child3->SetBounds(gfx::Size(10, 10)); gfx 950 cc/trees/damage_tracker_unittest.cc grand_child3->SetContentBounds(gfx::Size(10, 10)); gfx 963 cc/trees/damage_tracker_unittest.cc grand_child1_replica->SetPosition(gfx::PointF()); gfx 964 cc/trees/damage_tracker_unittest.cc grand_child1_replica->SetAnchorPoint(gfx::PointF()); gfx 965 cc/trees/damage_tracker_unittest.cc gfx::Transform reflection; gfx 972 cc/trees/damage_tracker_unittest.cc gfx::RectF grand_child_damage_rect = gfx 975 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect = gfx 977 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 982 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 6.f, 8.f), grand_child_damage_rect); gfx 983 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(194.f, 200.f, 12.f, 8.f), child_damage_rect); gfx 984 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(294.f, 300.f, 12.f, 8.f), root_damage_rect); gfx 989 cc/trees/damage_tracker_unittest.cc gfx::Rect old_content_rect = child1->render_surface()->content_rect(); gfx 990 cc/trees/damage_tracker_unittest.cc grand_child1->SetPosition(gfx::PointF(195.f, 205.f)); gfx 1009 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 6.f, 8.f), grand_child_damage_rect); gfx 1010 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(189.f, 200.f, 17.f, 13.f), child_damage_rect); gfx 1011 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(289.f, 300.f, 17.f, 13.f), root_damage_rect); gfx 1029 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(189.f, 205.f, 12.f, 8.f), child_damage_rect); gfx 1030 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(289.f, 305.f, 12.f, 8.f), root_damage_rect); gfx 1047 cc/trees/damage_tracker_unittest.cc mask_layer->SetAnchorPoint(gfx::PointF()); gfx 1060 cc/trees/damage_tracker_unittest.cc grand_child->SetPosition(gfx::PointF(2.f, 2.f)); gfx 1061 cc/trees/damage_tracker_unittest.cc grand_child->SetAnchorPoint(gfx::PointF()); gfx 1062 cc/trees/damage_tracker_unittest.cc grand_child->SetBounds(gfx::Size(2, 2)); gfx 1063 cc/trees/damage_tracker_unittest.cc grand_child->SetContentBounds(gfx::Size(2, 2)); gfx 1075 cc/trees/damage_tracker_unittest.cc mask_layer->SetUpdateRect(gfx::RectF(1.f, 2.f, 3.f, 4.f)); gfx 1077 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect = gfx 1079 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 30.f, 30.f), child_damage_rect); gfx 1099 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 30.f, 30.f), child_damage_rect); gfx 1123 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0.f, 0.f, 30.f, 30.f), child_damage_rect); gfx 1140 cc/trees/damage_tracker_unittest.cc grand_child1_replica->SetPosition(gfx::PointF()); gfx 1141 cc/trees/damage_tracker_unittest.cc grand_child1_replica->SetAnchorPoint(gfx::PointF()); gfx 1142 cc/trees/damage_tracker_unittest.cc gfx::Transform reflection; gfx 1153 cc/trees/damage_tracker_unittest.cc replica_mask_layer->SetPosition(gfx::PointF()); gfx 1154 cc/trees/damage_tracker_unittest.cc replica_mask_layer->SetAnchorPoint(gfx::PointF()); gfx 1172 cc/trees/damage_tracker_unittest.cc gfx::RectF grand_child_damage_rect = gfx 1175 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect = gfx 1179 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(194.f, 200.f, 6.f, 8.f), child_damage_rect); gfx 1195 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(194.f, 200.f, 6.f, 8.f), child_damage_rect); gfx 1209 cc/trees/damage_tracker_unittest.cc grand_child1->SetAnchorPoint(gfx::PointF(1.f, 0.f)); gfx 1214 cc/trees/damage_tracker_unittest.cc grand_child1_replica->SetPosition(gfx::PointF()); gfx 1217 cc/trees/damage_tracker_unittest.cc grand_child1_replica->SetAnchorPoint(gfx::PointF(1.f, 0.f)); gfx 1218 cc/trees/damage_tracker_unittest.cc gfx::Transform reflection; gfx 1229 cc/trees/damage_tracker_unittest.cc replica_mask_layer->SetPosition(gfx::PointF()); gfx 1231 cc/trees/damage_tracker_unittest.cc replica_mask_layer->SetAnchorPoint(gfx::PointF()); gfx 1250 cc/trees/damage_tracker_unittest.cc gfx::RectF child_damage_rect = gfx 1252 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(206.f, 200.f, 6.f, 8.f), child_damage_rect); gfx 1263 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(10, 11, 12, 13)); gfx 1265 cc/trees/damage_tracker_unittest.cc gfx::RectF(15, 16, 32, 33)); gfx 1267 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 1270 cc/trees/damage_tracker_unittest.cc gfx::UnionRects(gfx::RectF(15, 16, 32, 33), gfx 1271 cc/trees/damage_tracker_unittest.cc gfx::RectF(100+10, 100+11, 12, 13)), gfx 1279 cc/trees/damage_tracker_unittest.cc gfx::RectF(30, 31, 14, 15)); gfx 1283 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(30, 31, 14, 15), root_damage_rect); gfx 1301 cc/trees/damage_tracker_unittest.cc gfx::Rect(), gfx 1305 cc/trees/damage_tracker_unittest.cc gfx::RectF damage_rect = gfx 1317 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(10.f, 11.f, 1.f, 2.f)); gfx 1321 cc/trees/damage_tracker_unittest.cc gfx::RectF root_damage_rect = gfx 1323 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(110.f, 111.f, 1.f, 2.f), root_damage_rect); gfx 1327 cc/trees/damage_tracker_unittest.cc child->SetUpdateRect(gfx::RectF(20.f, 25.f, 1.f, 2.f)); gfx 1331 cc/trees/damage_tracker_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(110.f, 111.f, 11.f, 16.f), root_damage_rect); gfx 26 cc/trees/layer_sorter.cc inline static float PerpProduct(const gfx::Vector2dF& u, gfx 27 cc/trees/layer_sorter.cc const gfx::Vector2dF& v) { gfx 33 cc/trees/layer_sorter.cc static bool EdgeEdgeTest(const gfx::PointF& a, gfx 34 cc/trees/layer_sorter.cc const gfx::PointF& b, gfx 35 cc/trees/layer_sorter.cc const gfx::PointF& c, gfx 36 cc/trees/layer_sorter.cc const gfx::PointF& d, gfx 37 cc/trees/layer_sorter.cc gfx::PointF* r) { gfx 38 cc/trees/layer_sorter.cc gfx::Vector2dF u = b - a; gfx 39 cc/trees/layer_sorter.cc gfx::Vector2dF v = d - c; gfx 40 cc/trees/layer_sorter.cc gfx::Vector2dF w = a - c; gfx 95 cc/trees/layer_sorter.cc gfx::PointF aPoints[4] = { a->projected_quad.p1(), gfx 99 cc/trees/layer_sorter.cc gfx::PointF bPoints[4] = { b->projected_quad.p1(), gfx 105 cc/trees/layer_sorter.cc std::vector<gfx::PointF> overlap_points; gfx 117 cc/trees/layer_sorter.cc gfx::PointF r; gfx 188 cc/trees/layer_sorter.cc const gfx::Transform& draw_transform) { gfx 189 cc/trees/layer_sorter.cc gfx::QuadF layer_quad(gfx::RectF(0.f, 0.f, width, height)); gfx 193 cc/trees/layer_sorter.cc gfx::PointF clipped_quad[8]; gfx 201 cc/trees/layer_sorter.cc projected_bounds = gfx::RectF(); gfx 226 cc/trees/layer_sorter.cc gfx::Point3F c1 = gfx 227 cc/trees/layer_sorter.cc MathUtil::MapPoint(draw_transform, gfx::Point3F(0.f, 0.f, 0.f), &clipped); gfx 228 cc/trees/layer_sorter.cc gfx::Point3F c2 = gfx 229 cc/trees/layer_sorter.cc MathUtil::MapPoint(draw_transform, gfx::Point3F(0.f, 1.f, 0.f), &clipped); gfx 230 cc/trees/layer_sorter.cc gfx::Point3F c3 = gfx 231 cc/trees/layer_sorter.cc MathUtil::MapPoint(draw_transform, gfx::Point3F(1.f, 0.f, 0.f), &clipped); gfx 233 cc/trees/layer_sorter.cc gfx::Vector3dF c12 = c2 - c1; gfx 234 cc/trees/layer_sorter.cc gfx::Vector3dF c13 = c3 - c1; gfx 235 cc/trees/layer_sorter.cc layer_normal = gfx::CrossProduct(c13, c12); gfx 246 cc/trees/layer_sorter.cc float LayerShape::LayerZFromProjectedPoint(const gfx::PointF& p) const { gfx 247 cc/trees/layer_sorter.cc gfx::Vector3dF z_axis(0.f, 0.f, 1.f); gfx 248 cc/trees/layer_sorter.cc gfx::Vector3dF w = gfx::Point3F(p) - transform_origin; gfx 250 cc/trees/layer_sorter.cc float d = gfx::DotProduct(layer_normal, z_axis); gfx 251 cc/trees/layer_sorter.cc float n = -gfx::DotProduct(layer_normal, w); gfx 280 cc/trees/layer_sorter.cc gfx::Transform draw_transform; gfx 32 cc/trees/layer_sorter.h namespace gfx { gfx 42 cc/trees/layer_sorter.h LayerShape(float width, float height, const gfx::Transform& draw_transform); gfx 45 cc/trees/layer_sorter.h float LayerZFromProjectedPoint(const gfx::PointF& p) const; gfx 47 cc/trees/layer_sorter.h gfx::Vector3dF layer_normal; gfx 48 cc/trees/layer_sorter.h gfx::Point3F transform_origin; gfx 49 cc/trees/layer_sorter.h gfx::QuadF projected_quad; gfx 50 cc/trees/layer_sorter.h gfx::RectF projected_bounds; gfx 30 cc/trees/layer_sorter_unittest.cc gfx::Transform neg4_translate; gfx 34 cc/trees/layer_sorter_unittest.cc gfx::Transform neg5_translate; gfx 49 cc/trees/layer_sorter_unittest.cc gfx::Transform right_translate; gfx 67 cc/trees/layer_sorter_unittest.cc gfx::Transform perspective_matrix; gfx 71 cc/trees/layer_sorter_unittest.cc gfx::Transform left_face_matrix; gfx 76 cc/trees/layer_sorter_unittest.cc gfx::Transform front_face_matrix; gfx 91 cc/trees/layer_sorter_unittest.cc gfx::Transform perspective_matrix; gfx 96 cc/trees/layer_sorter_unittest.cc gfx::Transform front_face_matrix; gfx 101 cc/trees/layer_sorter_unittest.cc gfx::Transform through_matrix; gfx 131 cc/trees/layer_sorter_unittest.cc gfx::Transform transform_a; gfx 136 cc/trees/layer_sorter_unittest.cc gfx::Transform transform_b; gfx 141 cc/trees/layer_sorter_unittest.cc gfx::Transform transform_c; gfx 168 cc/trees/layer_sorter_unittest.cc gfx::Transform perspective_matrix; gfx 171 cc/trees/layer_sorter_unittest.cc gfx::Transform transform_a; gfx 180 cc/trees/layer_sorter_unittest.cc gfx::Transform transform_b; gfx 188 cc/trees/layer_sorter_unittest.cc gfx::QuadF test_quad = gfx::QuadF(gfx::RectF(-0.5f, -0.5f, 1.f, 1.f)); gfx 223 cc/trees/layer_sorter_unittest.cc gfx::Transform BehindMatrix; gfx 225 cc/trees/layer_sorter_unittest.cc gfx::Transform FrontMatrix; gfx 228 cc/trees/layer_sorter_unittest.cc layer1->SetBounds(gfx::Size(10, 10)); gfx 229 cc/trees/layer_sorter_unittest.cc layer1->SetContentBounds(gfx::Size(10, 10)); gfx 233 cc/trees/layer_sorter_unittest.cc layer2->SetBounds(gfx::Size(20, 20)); gfx 234 cc/trees/layer_sorter_unittest.cc layer2->SetContentBounds(gfx::Size(20, 20)); gfx 238 cc/trees/layer_sorter_unittest.cc layer3->SetBounds(gfx::Size(30, 30)); gfx 239 cc/trees/layer_sorter_unittest.cc layer3->SetContentBounds(gfx::Size(30, 30)); gfx 243 cc/trees/layer_sorter_unittest.cc layer4->SetBounds(gfx::Size(40, 40)); gfx 244 cc/trees/layer_sorter_unittest.cc layer4->SetContentBounds(gfx::Size(40, 40)); gfx 248 cc/trees/layer_sorter_unittest.cc layer5->SetBounds(gfx::Size(50, 50)); gfx 249 cc/trees/layer_sorter_unittest.cc layer5->SetContentBounds(gfx::Size(50, 50)); gfx 292 cc/trees/layer_sorter_unittest.cc gfx::Transform BehindMatrix; gfx 296 cc/trees/layer_sorter_unittest.cc gfx::Transform FrontMatrix; gfx 301 cc/trees/layer_sorter_unittest.cc layer1->SetBounds(gfx::Size(10, 10)); gfx 302 cc/trees/layer_sorter_unittest.cc layer1->SetContentBounds(gfx::Size(10, 10)); gfx 306 cc/trees/layer_sorter_unittest.cc layer2->SetBounds(gfx::Size(10, 10)); gfx 307 cc/trees/layer_sorter_unittest.cc layer2->SetContentBounds(gfx::Size(10, 10)); gfx 199 cc/trees/layer_tree_host.cc contents_texture_manager_->CreateTexture(gfx::Size(), RGBA_8888); gfx 479 cc/trees/layer_tree_host.cc const gfx::Rect& rect_in_device_viewport) { gfx 540 cc/trees/layer_tree_host.cc SetNeedsRedrawRect(gfx::Rect(device_viewport_size_)); gfx 543 cc/trees/layer_tree_host.cc void LayerTreeHost::SetNeedsRedrawRect(const gfx::Rect& damage_rect) { gfx 632 cc/trees/layer_tree_host.cc void LayerTreeHost::SetViewportSize(const gfx::Size& device_viewport_size) { gfx 694 cc/trees/layer_tree_host.cc void LayerTreeHost::StartPageScaleAnimation(const gfx::Vector2d& target_offset, gfx 799 cc/trees/layer_tree_host.cc gfx::Transform(), gfx 1018 cc/trees/layer_tree_host.cc gfx::Vector2d inner_viewport_scroll_delta; gfx 1019 cc/trees/layer_tree_host.cc gfx::Vector2d outer_viewport_scroll_delta; gfx 1209 cc/trees/layer_tree_host.cc gfx::Size LayerTreeHost::GetUIResourceSize(UIResourceId uid) const { gfx 1212 cc/trees/layer_tree_host.cc return gfx::Size(); gfx 152 cc/trees/layer_tree_host.h const gfx::Rect& rect_in_device_viewport); gfx 178 cc/trees/layer_tree_host.h void SetNeedsRedrawRect(const gfx::Rect& damage_rect); gfx 208 cc/trees/layer_tree_host.h void SetViewportSize(const gfx::Size& device_viewport_size); gfx 211 cc/trees/layer_tree_host.h gfx::Size device_viewport_size() const { return device_viewport_size_; } gfx 236 cc/trees/layer_tree_host.h void StartPageScaleAnimation(const gfx::Vector2d& target_offset, gfx 242 cc/trees/layer_tree_host.h void SetImplTransform(const gfx::Transform& transform); gfx 287 cc/trees/layer_tree_host.h virtual gfx::Size GetUIResourceSize(UIResourceId id) const; gfx 353 cc/trees/layer_tree_host.h gfx::Size size; gfx 396 cc/trees/layer_tree_host.h gfx::Size device_viewport_size_; gfx 407 cc/trees/layer_tree_host.h gfx::Transform impl_transform_; gfx 423 cc/trees/layer_tree_host.h gfx::Vector2d target_offset; gfx 12 cc/trees/layer_tree_host_client.h namespace gfx { gfx 29 cc/trees/layer_tree_host_client.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 44 cc/trees/layer_tree_host_common.cc static gfx::Vector2dF GetEffectiveScrollDelta(LayerType* layer) { gfx 45 cc/trees/layer_tree_host_common.cc gfx::Vector2dF scroll_delta = layer->ScrollDelta(); gfx 56 cc/trees/layer_tree_host_common.cc static gfx::Vector2dF GetEffectiveTotalScrollOffset(LayerType* layer) { gfx 57 cc/trees/layer_tree_host_common.cc gfx::Vector2dF offset = layer->TotalScrollOffset(); gfx 66 cc/trees/layer_tree_host_common.cc inline gfx::Rect CalculateVisibleRectWithCachedLayerRect( gfx 67 cc/trees/layer_tree_host_common.cc const gfx::Rect& target_surface_rect, gfx 68 cc/trees/layer_tree_host_common.cc const gfx::Rect& layer_bound_rect, gfx 69 cc/trees/layer_tree_host_common.cc const gfx::Rect& layer_rect_in_target_space, gfx 70 cc/trees/layer_tree_host_common.cc const gfx::Transform& transform) { gfx 72 cc/trees/layer_tree_host_common.cc return gfx::Rect(); gfx 81 cc/trees/layer_tree_host_common.cc gfx::Rect minimal_surface_rect = target_surface_rect; gfx 85 cc/trees/layer_tree_host_common.cc return gfx::Rect(); gfx 92 cc/trees/layer_tree_host_common.cc gfx::Transform surface_to_layer(gfx::Transform::kSkipInitialization); gfx 100 cc/trees/layer_tree_host_common.cc gfx::Rect layer_rect = MathUtil::ProjectEnclosingClippedRect( gfx 106 cc/trees/layer_tree_host_common.cc gfx::Rect LayerTreeHostCommon::CalculateVisibleRect( gfx 107 cc/trees/layer_tree_host_common.cc const gfx::Rect& target_surface_rect, gfx 108 cc/trees/layer_tree_host_common.cc const gfx::Rect& layer_bound_rect, gfx 109 cc/trees/layer_tree_host_common.cc const gfx::Transform& transform) { gfx 110 cc/trees/layer_tree_host_common.cc gfx::Rect layer_in_surface_space = gfx 127 cc/trees/layer_tree_host_common.cc static gfx::Vector2dF ComputeChangeOfBasisTranslation( gfx 136 cc/trees/layer_tree_host_common.cc gfx::Vector2dF translation; gfx 139 cc/trees/layer_tree_host_common.cc const gfx::Transform& trans = target->render_surface()->draw_transform(); gfx 155 cc/trees/layer_tree_host_common.cc static gfx::Rect TranslateRectToTargetSpace(const LayerType& ancestor_layer, gfx 157 cc/trees/layer_tree_host_common.cc const gfx::Rect& rect, gfx 159 cc/trees/layer_tree_host_common.cc gfx::Vector2dF translation = ComputeChangeOfBasisTranslation<LayerType>( gfx 163 cc/trees/layer_tree_host_common.cc return gfx::ToEnclosingRect( gfx 164 cc/trees/layer_tree_host_common.cc gfx::RectF(rect.origin() + translation, rect.size())); gfx 172 cc/trees/layer_tree_host_common.cc gfx::Rect* clip_rect_in_parent_target_space, gfx 231 cc/trees/layer_tree_host_common.cc gfx::Rect drawable_content_rect; gfx 243 cc/trees/layer_tree_host_common.cc const gfx::Rect& drawable_content_rect, gfx 263 cc/trees/layer_tree_host_common.cc gfx::Rect target_rect = drawable_content_rect; gfx 266 cc/trees/layer_tree_host_common.cc gfx::ToEnclosedRect(layer->render_surface()->DrawableContentRect()); gfx 270 cc/trees/layer_tree_host_common.cc gfx::Rect clip_rect = render_target->clip_rect(); gfx 308 cc/trees/layer_tree_host_common.cc const gfx::Transform& current_draw_transform = gfx 315 cc/trees/layer_tree_host_common.cc target_rect = gfx::ToEnclosingRect( gfx 360 cc/trees/layer_tree_host_common.cc const gfx::Transform& draw_transform) { gfx 379 cc/trees/layer_tree_host_common.cc static gfx::Rect CalculateVisibleContentRect( gfx 381 cc/trees/layer_tree_host_common.cc const gfx::Rect& clip_rect_of_target_surface_in_target_space, gfx 382 cc/trees/layer_tree_host_common.cc const gfx::Rect& layer_rect_in_target_space) { gfx 388 cc/trees/layer_tree_host_common.cc return gfx::Rect(); gfx 391 cc/trees/layer_tree_host_common.cc gfx::Rect visible_rect_in_target_surface_space = gfx 409 cc/trees/layer_tree_host_common.cc return gfx::Rect(); gfx 413 cc/trees/layer_tree_host_common.cc gfx::Rect(layer->content_bounds()), gfx 667 cc/trees/layer_tree_host_common.cc gfx::Transform ComputeSizeDeltaCompensation( gfx 670 cc/trees/layer_tree_host_common.cc const gfx::Vector2dF& position_offset) { gfx 671 cc/trees/layer_tree_host_common.cc gfx::Transform result_transform; gfx 682 cc/trees/layer_tree_host_common.cc gfx::Transform target_surface_space_to_container_layer_space; gfx 695 cc/trees/layer_tree_host_common.cc gfx::Transform container_layer_space_to_container_target_surface_space = gfx 700 cc/trees/layer_tree_host_common.cc gfx::Transform container_target_surface_space_to_container_layer_space; gfx 710 cc/trees/layer_tree_host_common.cc gfx::Transform container_layer_space_to_target_surface_space; gfx 719 cc/trees/layer_tree_host_common.cc return gfx::Transform(); gfx 735 cc/trees/layer_tree_host_common.cc const gfx::Transform& scroll_compensation, gfx 736 cc/trees/layer_tree_host_common.cc gfx::Transform* combined_transform) {} gfx 740 cc/trees/layer_tree_host_common.cc const gfx::Transform& scroll_compensation, gfx 741 cc/trees/layer_tree_host_common.cc gfx::Transform* combined_transform) { gfx 758 cc/trees/layer_tree_host_common.cc gfx::Vector2dF position_offset = container->FixedContainerSizeDelta(); gfx 770 cc/trees/layer_tree_host_common.cc gfx::Transform ComputeScrollCompensationForThisLayer( gfx 772 cc/trees/layer_tree_host_common.cc const gfx::Transform& parent_matrix, gfx 773 cc/trees/layer_tree_host_common.cc const gfx::Vector2dF& scroll_delta) { gfx 794 cc/trees/layer_tree_host_common.cc gfx::Transform scroll_compensation_for_this_layer = parent_matrix; // Step 3 gfx 799 cc/trees/layer_tree_host_common.cc gfx::Transform inverse_parent_matrix(gfx::Transform::kSkipInitialization); gfx 809 cc/trees/layer_tree_host_common.cc gfx::Transform ComputeScrollCompensationMatrixForChildren( gfx 811 cc/trees/layer_tree_host_common.cc const gfx::Transform& current_parent_matrix, gfx 812 cc/trees/layer_tree_host_common.cc const gfx::Transform& current_scroll_compensation, gfx 813 cc/trees/layer_tree_host_common.cc const gfx::Vector2dF& scroll_delta) { gfx 816 cc/trees/layer_tree_host_common.cc return gfx::Transform(); gfx 819 cc/trees/layer_tree_host_common.cc gfx::Transform ComputeScrollCompensationMatrixForChildren( gfx 821 cc/trees/layer_tree_host_common.cc const gfx::Transform& parent_matrix, gfx 822 cc/trees/layer_tree_host_common.cc const gfx::Transform& current_scroll_compensation_matrix, gfx 823 cc/trees/layer_tree_host_common.cc const gfx::Vector2dF& scroll_delta) { gfx 863 cc/trees/layer_tree_host_common.cc gfx::Transform next_scroll_compensation_matrix; gfx 874 cc/trees/layer_tree_host_common.cc gfx::Transform scroll_compensation_for_this_layer = gfx 890 cc/trees/layer_tree_host_common.cc gfx::Transform inverse_surface_draw_transform( gfx 891 cc/trees/layer_tree_host_common.cc gfx::Transform::kSkipInitialization); gfx 992 cc/trees/layer_tree_host_common.cc gfx::Size old_content_bounds = layer->content_bounds(); gfx 1120 cc/trees/layer_tree_host_common.cc static void RoundTranslationComponents(gfx::Transform* transform) { gfx 1140 cc/trees/layer_tree_host_common.cc gfx::Transform parent_matrix; gfx 1144 cc/trees/layer_tree_host_common.cc gfx::Transform full_hierarchy_matrix; gfx 1149 cc/trees/layer_tree_host_common.cc gfx::Transform scroll_compensation_matrix; gfx 1156 cc/trees/layer_tree_host_common.cc gfx::Rect clip_rect_in_target_space; gfx 1166 cc/trees/layer_tree_host_common.cc gfx::Rect clip_rect_of_target_surface_in_target_space; gfx 1455 cc/trees/layer_tree_host_common.cc gfx::Rect ancestor_clip_rect_in_target_space = gfx 1470 cc/trees/layer_tree_host_common.cc gfx::Rect clip_rect_in_target_space; gfx 1478 cc/trees/layer_tree_host_common.cc gfx::Rect clip_rect_of_target_surface_in_target_space; gfx 1499 cc/trees/layer_tree_host_common.cc gfx::Size bounds = layer->bounds(); gfx 1500 cc/trees/layer_tree_host_common.cc gfx::PointF anchor_point = layer->anchor_point(); gfx 1501 cc/trees/layer_tree_host_common.cc gfx::Vector2dF scroll_offset = GetEffectiveTotalScrollOffset(layer); gfx 1502 cc/trees/layer_tree_host_common.cc gfx::PointF position = layer->position() - scroll_offset; gfx 1504 cc/trees/layer_tree_host_common.cc gfx::Transform combined_transform = data_from_ancestor.parent_matrix; gfx 1521 cc/trees/layer_tree_host_common.cc gfx::Vector2dF effective_scroll_delta = GetEffectiveScrollDelta(layer); gfx 1527 cc/trees/layer_tree_host_common.cc gfx::Vector2dF previous_translation = combined_transform.To2dTranslation(); gfx 1529 cc/trees/layer_tree_host_common.cc gfx::Vector2dF current_translation = combined_transform.To2dTranslation(); gfx 1537 cc/trees/layer_tree_host_common.cc gfx::Vector2dF parent_scales = MathUtil::ComputeTransform2dScaleComponents( gfx 1540 cc/trees/layer_tree_host_common.cc gfx::ScaleVector2d(current_translation - previous_translation, gfx 1554 cc/trees/layer_tree_host_common.cc gfx::Vector2dF combined_transform_scales = gfx 1603 cc/trees/layer_tree_host_common.cc gfx::RectF content_rect(layer->content_bounds()); gfx 1615 cc/trees/layer_tree_host_common.cc gfx::Vector2dF render_surface_sublayer_scale = gfx 1618 cc/trees/layer_tree_host_common.cc : gfx::Vector2dF(layer_scale_factors, layer_scale_factors); gfx 1711 cc/trees/layer_tree_host_common.cc gfx::Rect(layer->content_bounds()); gfx 1719 cc/trees/layer_tree_host_common.cc gfx::Rect(layer->content_bounds()); gfx 1744 cc/trees/layer_tree_host_common.cc gfx::Transform inverse_surface_draw_transform( gfx 1745 cc/trees/layer_tree_host_common.cc gfx::Transform::kSkipInitialization); gfx 1752 cc/trees/layer_tree_host_common.cc gfx::Rect projected_surface_rect = MathUtil::ProjectEnclosingClippedRect( gfx 1787 cc/trees/layer_tree_host_common.cc render_surface->SetClipRect(gfx::Rect()); gfx 1836 cc/trees/layer_tree_host_common.cc gfx::Rect rect_in_target_space = ToEnclosingRect( gfx 1971 cc/trees/layer_tree_host_common.cc gfx::Rect local_drawable_content_rect_of_subtree = gfx 2010 cc/trees/layer_tree_host_common.cc gfx::Rect clipped_content_rect = local_drawable_content_rect_of_subtree; gfx 2021 cc/trees/layer_tree_host_common.cc gfx::Rect surface_clip_rect = LayerTreeHostCommon::CalculateVisibleRect( gfx 2056 cc/trees/layer_tree_host_common.cc gfx::Transform screen_space_transform = layer->screen_space_transform(); gfx 2063 cc/trees/layer_tree_host_common.cc gfx::Transform surface_origin_to_replica_origin_transform; gfx 2082 cc/trees/layer_tree_host_common.cc gfx::Transform replica_origin_transform = gfx 2089 cc/trees/layer_tree_host_common.cc gfx::Transform replica_screen_space_transform = gfx 2130 cc/trees/layer_tree_host_common.cc gfx::Transform identity_matrix; gfx 2131 cc/trees/layer_tree_host_common.cc gfx::Transform scaled_device_transform = inputs->device_transform; gfx 2138 cc/trees/layer_tree_host_common.cc gfx::Rect device_viewport_rect(inputs->device_viewport_size); gfx 2187 cc/trees/layer_tree_host_common.cc gfx::Transform identity_matrix; gfx 2188 cc/trees/layer_tree_host_common.cc gfx::Transform scaled_device_transform = inputs->device_transform; gfx 2196 cc/trees/layer_tree_host_common.cc gfx::Rect device_viewport_rect(inputs->device_viewport_size); gfx 2241 cc/trees/layer_tree_host_common.cc const gfx::PointF& screen_space_point, gfx 2242 cc/trees/layer_tree_host_common.cc const gfx::Transform& local_space_to_screen_space_transform, gfx 2243 cc/trees/layer_tree_host_common.cc const gfx::RectF& local_space_rect) { gfx 2246 cc/trees/layer_tree_host_common.cc gfx::Transform inverse_local_space_to_screen_space( gfx 2247 cc/trees/layer_tree_host_common.cc gfx::Transform::kSkipInitialization); gfx 2255 cc/trees/layer_tree_host_common.cc gfx::PointF hit_test_point_in_local_space = MathUtil::ProjectPoint( gfx 2266 cc/trees/layer_tree_host_common.cc static bool PointHitsRegion(const gfx::PointF& screen_space_point, gfx 2267 cc/trees/layer_tree_host_common.cc const gfx::Transform& screen_space_transform, gfx 2273 cc/trees/layer_tree_host_common.cc gfx::Transform inverse_screen_space_transform( gfx 2274 cc/trees/layer_tree_host_common.cc gfx::Transform::kSkipInitialization); gfx 2281 cc/trees/layer_tree_host_common.cc gfx::PointF hit_test_point_in_content_space = MathUtil::ProjectPoint( gfx 2283 cc/trees/layer_tree_host_common.cc gfx::PointF hit_test_point_in_layer_space = gfx 2284 cc/trees/layer_tree_host_common.cc gfx::ScalePoint(hit_test_point_in_content_space, gfx 2294 cc/trees/layer_tree_host_common.cc gfx::ToRoundedPoint(hit_test_point_in_layer_space)); gfx 2298 cc/trees/layer_tree_host_common.cc const gfx::PointF& screen_space_point, gfx 2332 cc/trees/layer_tree_host_common.cc const gfx::PointF& screen_space_point, gfx 2348 cc/trees/layer_tree_host_common.cc gfx::RectF content_rect(current_layer->content_bounds()); gfx 2374 cc/trees/layer_tree_host_common.cc const gfx::PointF& screen_space_point, gfx 2394 cc/trees/layer_tree_host_common.cc const gfx::PointF& screen_space_point, gfx 27 cc/trees/layer_tree_host_common.h static gfx::Rect CalculateVisibleRect(const gfx::Rect& target_surface_rect, gfx 28 cc/trees/layer_tree_host_common.h const gfx::Rect& layer_bound_rect, gfx 29 cc/trees/layer_tree_host_common.h const gfx::Transform& transform); gfx 35 cc/trees/layer_tree_host_common.h const gfx::Size& device_viewport_size, gfx 36 cc/trees/layer_tree_host_common.h const gfx::Transform& device_transform, gfx 58 cc/trees/layer_tree_host_common.h gfx::Size device_viewport_size; gfx 59 cc/trees/layer_tree_host_common.h const gfx::Transform& device_transform; gfx 75 cc/trees/layer_tree_host_common.h const gfx::Size& device_viewport_size, gfx 76 cc/trees/layer_tree_host_common.h const gfx::Transform& device_transform, gfx 80 cc/trees/layer_tree_host_common.h const gfx::Size& device_viewport_size, gfx 84 cc/trees/layer_tree_host_common.h const gfx::Transform identity_transform_; gfx 100 cc/trees/layer_tree_host_common.h const gfx::PointF& screen_space_point, gfx 104 cc/trees/layer_tree_host_common.h const gfx::PointF& screen_space_point, gfx 108 cc/trees/layer_tree_host_common.h const gfx::PointF& screen_space_point, gfx 139 cc/trees/layer_tree_host_common.h gfx::Vector2d scroll_delta; gfx 215 cc/trees/layer_tree_host_common.h const gfx::Size& device_viewport_size, gfx 216 cc/trees/layer_tree_host_common.h const gfx::Transform& device_transform, gfx 239 cc/trees/layer_tree_host_common.h const gfx::Size& device_viewport_size, gfx 47 cc/trees/layer_tree_host_common_perftest.cc gfx::Size viewport = gfx::Size(720, 1038); gfx 90 cc/trees/layer_tree_host_common_perftest.cc gfx::Transform(), gfx 43 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform& transform, gfx 44 cc/trees/layer_tree_host_common_unittest.cc const gfx::PointF& anchor, gfx 45 cc/trees/layer_tree_host_common_unittest.cc const gfx::PointF& position, gfx 46 cc/trees/layer_tree_host_common_unittest.cc const gfx::Size& bounds, gfx 58 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform& transform, gfx 59 cc/trees/layer_tree_host_common_unittest.cc const gfx::PointF& anchor, gfx 60 cc/trees/layer_tree_host_common_unittest.cc const gfx::PointF& position, gfx 61 cc/trees/layer_tree_host_common_unittest.cc const gfx::Size& bounds, gfx 74 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform& transform, gfx 75 cc/trees/layer_tree_host_common_unittest.cc const gfx::PointF& anchor, gfx 76 cc/trees/layer_tree_host_common_unittest.cc const gfx::PointF& position, gfx 77 cc/trees/layer_tree_host_common_unittest.cc const gfx::Size& bounds, gfx 96 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 97 cc/trees/layer_tree_host_common_unittest.cc gfx::Size device_viewport_size = gfx 98 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(root_layer->bounds().width() * device_scale_factor, gfx 121 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 123 cc/trees/layer_tree_host_common_unittest.cc gfx::Size device_viewport_size = gfx 124 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(root_layer->bounds().width() * device_scale_factor, gfx 199 cc/trees/layer_tree_host_common_unittest.cc const gfx::Rect& clip, gfx 200 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF* opaque) OVERRIDE {} gfx 233 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 236 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 237 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 238 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 243 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 244 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 245 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 250 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 251 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 252 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 268 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 274 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 275 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 276 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 2), gfx 286 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform translation_to_center; gfx 290 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 291 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 292 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 304 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.25f), gfx 305 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 306 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 316 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform position_transform; gfx 320 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.25f), gfx 321 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.f, 1.2f), gfx 322 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 333 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_transform; gfx 337 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 338 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 339 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 348 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform translation_to_anchor; gfx 350 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_result = gfx 354 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.5f, 0.f), gfx 355 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 356 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 371 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.5f, 0.f), gfx 372 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.f, 1.2f), gfx 373 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 383 cc/trees/layer_tree_host_common_unittest.cc const gfx::Vector2d kScrollOffset(50, 100); gfx 384 cc/trees/layer_tree_host_common_unittest.cc const gfx::Vector2dF kScrollDelta(2.34f, 5.67f); gfx 385 cc/trees/layer_tree_host_common_unittest.cc const gfx::Vector2d kMaxScrollOffset(200, 200); gfx 386 cc/trees/layer_tree_host_common_unittest.cc const gfx::PointF kScrollLayerPosition(-kScrollOffset.x(), gfx 395 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 403 cc/trees/layer_tree_host_common_unittest.cc gfx::Point(), gfx 404 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 405 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(500, 500), gfx 414 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 415 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 416 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 20), gfx 425 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(scroll_layer->bounds().width() + kMaxScrollOffset.x(), gfx 429 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform impl_transform; gfx 438 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 439 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 440 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(3, 4), gfx 447 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_transform = identity_matrix; gfx 448 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF sub_layer_screen_position = kScrollLayerPosition - kScrollDelta; gfx 457 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform arbitrary_translate; gfx 463 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 464 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 465 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 20), gfx 481 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 496 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 497 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 498 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 2), gfx 505 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.25f), gfx 506 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 507 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 512 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 513 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 514 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(16, 18), gfx 519 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 520 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 521 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(76, 78), gfx 534 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_position_transform; gfx 538 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.25f), gfx 539 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.f, 1.2f), gfx 540 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 545 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 546 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 547 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(16, 18), gfx 552 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 553 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 554 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(76, 78), gfx 568 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_layer_transform; gfx 570 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_translation_to_anchor; gfx 572 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_composite_transform = gfx 577 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.25f), gfx 578 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 579 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 584 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 585 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 586 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(16, 18), gfx 591 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 592 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 593 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(76, 78), gfx 621 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 624 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 625 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 626 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 2), gfx 634 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_layer_transform; gfx 636 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_translation_to_anchor; gfx 639 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_composite_transform = gfx 642 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF parent_composite_scale = gfx 645 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform surface_sublayer_transform; gfx 648 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform surface_sublayer_composite_transform = gfx 656 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.25f), gfx 657 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 658 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 120), gfx 663 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 664 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 665 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(16, 18), gfx 670 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 671 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 672 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(8, 10), gfx 718 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 721 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 722 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 723 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 2), gfx 730 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_layer_transform; gfx 732 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_translation_to_anchor; gfx 734 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_composite_transform = gfx 737 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform replica_layer_transform; gfx 739 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF parent_composite_scale = gfx 742 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform surface_sublayer_transform; gfx 745 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform replica_composite_transform = gfx 754 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.25f), gfx 755 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 756 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 12), gfx 761 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 762 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 763 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(16, 18), gfx 768 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 769 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(-0.5f, -0.5f), gfx 770 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 1), gfx 775 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 776 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 777 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 844 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 847 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 848 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 849 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 2), gfx 856 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform translation_to_anchor; gfx 858 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_transform; gfx 860 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform replica_layer_transform; gfx 863 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform A = gfx 865 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform R = A * translation_to_anchor * replica_layer_transform * gfx 868 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF surface1_parent_transform_scale = gfx 870 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform surface1_sublayer_transform; gfx 875 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform SS1 = surface1_sublayer_transform; gfx 878 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform S1 = Inverse(surface1_sublayer_transform); gfx 880 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF surface2_parent_transform_scale = gfx 882 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform surface2_sublayer_transform; gfx 887 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform SS2 = surface2_sublayer_transform; gfx 890 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform S2 = Inverse(surface2_sublayer_transform); gfx 894 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 895 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 896 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 901 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 902 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 903 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 908 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 909 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 910 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 915 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 916 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 917 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 922 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 923 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 924 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 929 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 930 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 931 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 936 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 937 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 938 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 943 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 944 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 945 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 950 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 951 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 952 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 957 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 958 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 959 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 964 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 965 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 966 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 1100 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform rotation_about_y_axis; gfx 1103 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1106 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1107 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1108 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1113 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1114 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1115 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1120 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1121 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1122 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1138 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_child_draw_transform = rotation_about_y_axis; gfx 1139 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_child_screen_space_transform = rotation_about_y_axis; gfx 1140 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_grand_child_draw_transform = gfx 1142 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform flattened_rotation_about_y = rotation_about_y_axis; gfx 1144 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_grand_child_screen_space_transform = gfx 1182 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1185 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1186 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1187 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1192 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1193 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1194 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 0), gfx 1199 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1200 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1201 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1226 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1237 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1238 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1239 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 1244 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1245 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1246 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 1250 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform translate; gfx 1263 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scale; gfx 1276 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform rotate; gfx 1289 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform composite; gfx 1314 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform device_scaled_translate = translate; gfx 1334 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform page_scaled_translate = translate; gfx 1351 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform compositeSquared = composite; gfx 1371 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1374 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1375 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1376 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1381 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1382 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1383 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1388 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1389 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(30.f, 30.f), gfx 1390 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1403 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform(), gfx 1426 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1429 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1430 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1431 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1436 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1437 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1438 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1460 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(), parent->drawable_content_rect()); gfx 1473 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1476 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1477 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1478 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1483 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1484 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1485 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1490 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1491 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1492 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1546 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1570 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1571 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1572 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(500, 500), gfx 1577 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1578 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1579 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 1584 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1585 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(45.f, 45.f), gfx 1586 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1591 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1592 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1593 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1598 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1599 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1600 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(500, 500), gfx 1605 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1606 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1607 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 1647 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1662 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1663 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1664 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1669 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1670 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1671 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 1676 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1677 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(200.f, 200.f), gfx 1678 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1683 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1684 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1685 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1742 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1766 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1767 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1768 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1773 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1774 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1775 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1780 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1781 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1782 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1787 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1788 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1789 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1794 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1795 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1796 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1801 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1802 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1803 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1808 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1809 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1810 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 1903 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 1922 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1923 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1924 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(500, 500), gfx 1929 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1930 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1931 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 1936 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1937 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 1938 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1943 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1944 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(15.f, 15.f), gfx 1945 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1950 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1951 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(15.f, 15.f), gfx 1952 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1957 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 1958 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(45.f, 45.f), gfx 1959 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 1979 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 10, 10), gfx 1981 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(15, 15, 5, 5), gfx 1983 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(15, 15, 5, 5), gfx 1996 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 2030 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2031 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2032 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(500, 500), gfx 2037 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2038 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2039 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 2044 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2045 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 2046 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2051 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2052 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(15.f, 15.f), gfx 2053 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2058 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2059 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(15.f, 15.f), gfx 2060 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2065 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2066 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(45.f, 45.f), gfx 2067 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2072 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2073 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2074 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2079 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2080 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2081 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2086 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2087 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2088 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2093 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2094 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2095 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2129 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 20, 20), gfx 2131 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 20, 20), gfx 2133 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 20, 20), gfx 2165 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_transform; gfx 2170 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2171 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2172 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2177 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2178 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2179 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2184 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2185 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2186 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2191 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2192 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2193 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2198 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2199 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2200 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2205 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2206 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2207 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2212 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2213 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2214 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2219 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2220 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2221 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2226 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.25f, 0.f), gfx 2227 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.5f, 0.f), gfx 2228 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 2351 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(0, 0, 100, 100); gfx 2352 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2355 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(10, 10, 30, 30); gfx 2356 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected = gfx::Rect(10, 10, 30, 30); gfx 2357 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2362 cc/trees/layer_tree_host_common_unittest.cc layer_content_rect = gfx::Rect(120, 120, 30, 30); gfx 2368 cc/trees/layer_tree_host_common_unittest.cc layer_content_rect = gfx::Rect(80, 80, 30, 30); gfx 2369 cc/trees/layer_tree_host_common_unittest.cc expected = gfx::Rect(80, 80, 20, 20); gfx 2379 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(0, 0, 100, 100); gfx 2380 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(0, 0, 30, 30); gfx 2381 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2386 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected = gfx::Rect(0, 0, 30, 30); gfx 2387 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2401 cc/trees/layer_tree_host_common_unittest.cc expected = gfx::Rect(0, 0, 20, 20); gfx 2412 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(0, 0, 100, 100); gfx 2413 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(0, 0, 30, 30); gfx 2414 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2420 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected = gfx::Rect(0, 0, 30, 30); gfx 2421 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2440 cc/trees/layer_tree_host_common_unittest.cc expected = gfx::Rect(0, 0, 30, 30); gfx 2453 cc/trees/layer_tree_host_common_unittest.cc expected = gfx::Rect(15, 0, 15, 30); // Right half of layer bounds. gfx 2463 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(0, 0, 100, 100); gfx 2464 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(0, 0, 100, 100); gfx 2465 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2471 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected = gfx::Rect(0, 0, 100, 100); gfx 2472 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2486 cc/trees/layer_tree_host_common_unittest.cc expected = gfx::Rect(50, 0, 50, 100); // Tight half of the layer. gfx 2496 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(0, 0, 100, 100); gfx 2497 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(-50, -50, 200, 200); gfx 2498 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2514 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected = gfx::Rect(-50, -50, 200, 200); gfx 2515 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2529 cc/trees/layer_tree_host_common_unittest.cc expected = gfx::Rect(gfx::Point(50, -50), gfx 2530 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 200)); // The right half of the layer's gfx 2544 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(0, 0, 100, 100); gfx 2545 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(0, 0, 100, 100); gfx 2546 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2555 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected = gfx::Rect(0, 0, 100, 100); gfx 2556 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2569 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(-50, -50, 100, 100); gfx 2570 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(-10, -1, 20, 2); gfx 2571 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2586 cc/trees/layer_tree_host_common_unittest.cc gfx::QuadF(gfx::RectF(layer_content_rect)), gfx 2592 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2607 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect target_surface_rect = gfx::Rect(-50, -50, 100, 100); gfx 2608 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect layer_content_rect = gfx::Rect(-10, -10, 20, 20); gfx 2609 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform layer_to_surface_transform; gfx 2619 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF clipped_rect = gfx 2622 cc/trees/layer_tree_host_common_unittest.cc Inverse(layer_to_surface_transform), gfx::QuadF(clipped_rect), &clipped); gfx 2628 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected = gfx::Rect(-10, -10, 20, 20); gfx 2629 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect actual = LayerTreeHostCommon::CalculateVisibleRect( gfx 2649 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 2652 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2653 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2654 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 2659 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2660 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2661 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2666 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2667 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(75.f, 75.f), gfx 2668 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2673 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2674 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(125.f, 125.f), gfx 2675 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2681 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 2683 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), root->drawable_content_rect()); gfx 2686 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); gfx 2689 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child1->visible_content_rect()); gfx 2690 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 25, 25), child2->visible_content_rect()); gfx 2694 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child1->drawable_content_rect()); gfx 2695 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(75, 75, 50, 50), child2->drawable_content_rect()); gfx 2696 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(125, 125, 50, 50), child3->drawable_content_rect()); gfx 2717 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 2720 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2721 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2722 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 2727 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2728 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2729 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 2734 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2735 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 2736 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2741 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2742 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(75.f, 75.f), gfx 2743 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2748 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2749 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(125.f, 125.f), gfx 2750 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2759 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 2761 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), root->drawable_content_rect()); gfx 2764 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); gfx 2765 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), child->visible_content_rect()); gfx 2768 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), grand_child1->visible_content_rect()); gfx 2769 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 25, 25), grand_child2->visible_content_rect()); gfx 2773 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 50, 50), gfx 2775 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(75, 75, 25, 25), gfx 2798 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 2801 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2802 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2803 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 2808 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2809 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2810 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(3, 4), gfx 2815 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2816 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 2817 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2822 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2823 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(75.f, 75.f), gfx 2824 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2829 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2830 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(125.f, 125.f), gfx 2831 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2840 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 2842 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), root->drawable_content_rect()); gfx 2845 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); gfx 2846 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), gfx 2851 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 170, 170), gfx 2855 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child1->visible_content_rect()); gfx 2856 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child2->visible_content_rect()); gfx 2857 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child3->visible_content_rect()); gfx 2859 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 50, 50), child1->drawable_content_rect()); gfx 2860 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(75, 75, 50, 50), child2->drawable_content_rect()); gfx 2861 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(125, 125, 50, 50), child3->drawable_content_rect()); gfx 2875 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 2876 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform uninvertible_matrix(0.0, 0.0, 0.0, 0.0, 0.0, 0.0); gfx 2881 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2882 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2883 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 2888 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2889 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 2890 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2909 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2910 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 2911 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2917 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child->visible_content_rect()); gfx 2918 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 50, 50), child->drawable_content_rect()); gfx 2930 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2931 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 2932 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2939 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(505, 5, 50, 50), child->drawable_content_rect()); gfx 2960 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 2963 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2964 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2965 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 2970 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2971 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2972 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(3, 4), gfx 2977 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2978 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 2979 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2984 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2985 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(75.f, 75.f), gfx 2986 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 2991 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 2992 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(125.f, 125.f), gfx 2993 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3003 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 3005 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), root->drawable_content_rect()); gfx 3008 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); gfx 3009 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), gfx 3014 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 95, 95), gfx 3019 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child1->visible_content_rect()); gfx 3020 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 25, 25), child2->visible_content_rect()); gfx 3024 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 50, 50), child1->drawable_content_rect()); gfx 3025 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(75, 75, 50, 50), child2->drawable_content_rect()); gfx 3026 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(125, 125, 50, 50), child3->drawable_content_rect()); gfx 3050 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 3053 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3054 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3055 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3060 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3061 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3062 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(3, 4), gfx 3067 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3068 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3069 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(7, 13), gfx 3074 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3075 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 3076 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3081 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3082 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(75.f, 75.f), gfx 3083 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3088 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3089 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(125.f, 125.f), gfx 3090 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3102 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 3104 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), root->drawable_content_rect()); gfx 3107 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); gfx 3108 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), gfx 3110 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), gfx 3115 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 95, 95), gfx 3121 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 170, 170), gfx 3125 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child1->visible_content_rect()); gfx 3126 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child2->visible_content_rect()); gfx 3127 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child3->visible_content_rect()); gfx 3130 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(5, 5, 50, 50), child1->drawable_content_rect()); gfx 3131 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(75, 75, 50, 50), child2->drawable_content_rect()); gfx 3132 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(125, 125, 50, 50), child3->drawable_content_rect()); gfx 3150 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 3151 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_rotation; gfx 3155 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3156 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3157 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3162 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3163 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3164 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(3, 4), gfx 3169 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.5f, 0.5f), gfx 3170 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(25.f, 25.f), gfx 3171 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3180 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 3182 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), root->drawable_content_rect()); gfx 3185 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); gfx 3186 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), gfx 3192 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected_surface_drawable_content = gfx 3193 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect(50 - diagonal_radius, gfx 3201 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child1->visible_content_rect()); gfx 3221 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 3222 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_rotation; gfx 3226 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3227 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3228 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3233 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3234 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3235 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(3, 4), gfx 3240 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(0.5f, 0.5f), gfx 3241 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(25.f, 25.f), gfx 3242 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3255 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect unclipped_surface_content = gfx::Rect(50 - diagonal_radius, gfx 3259 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect expected_surface_drawable_content = gfx 3260 cc/trees/layer_tree_host_common_unittest.cc gfx::IntersectRects(unclipped_surface_content, gfx::Rect(0, 0, 50, 50)); gfx 3269 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 26, 50), child1->visible_content_rect()); gfx 3295 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 3298 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3299 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3300 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3305 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3306 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 3307 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(3, 4), gfx 3312 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3313 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 3314 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(7, 13), gfx 3319 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3320 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5.f, 5.f), gfx 3321 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3326 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3327 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(75.f, 75.f), gfx 3328 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3333 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3334 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(125.f, 125.f), gfx 3335 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 3351 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 200, 200), gfx 3353 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 200, 200), root->drawable_content_rect()); gfx 3354 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(10, 10, 190, 190), gfx 3359 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(10, 10, 350, 350), gfx 3362 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(10, 10, 100, 100), child1->drawable_content_rect()); gfx 3363 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(150, 150, 100, 100), gfx 3365 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(250, 250, 100, 100), gfx 3369 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); gfx 3373 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 6, 8), gfx 3375 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 14, 26), gfx 3377 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), child1->visible_content_rect()); gfx 3378 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), child2->visible_content_rect()); gfx 3379 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), child3->visible_content_rect()); gfx 3387 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 3432 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform backface_matrix; gfx 3446 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3447 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3448 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3453 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3454 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3455 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3460 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3461 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3462 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3467 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3468 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3469 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3474 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3475 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3476 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3481 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3482 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3483 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3488 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3489 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3490 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3495 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3496 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3497 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3502 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3503 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3504 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3589 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 3638 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform backface_matrix; gfx 3656 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3657 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3658 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3663 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3664 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3665 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3670 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3671 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3672 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3678 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3679 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3680 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3686 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3687 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3688 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3693 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3694 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3695 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3700 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3701 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3702 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3707 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3708 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3709 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3714 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3715 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3716 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3772 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 3801 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform backface_matrix; gfx 3818 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3819 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3820 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3825 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3826 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3827 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3832 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3833 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3834 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3839 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3840 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3841 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3846 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3847 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3848 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3853 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3854 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3855 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3907 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect(animating_child->content_bounds())); gfx 3909 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect(animating_surface->content_bounds())); gfx 3913 cc/trees/layer_tree_host_common_unittest.cc gfx::Rect(child_of_animating_surface->content_bounds())); gfx 3921 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 3944 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform backface_matrix; gfx 3951 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3952 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3953 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3958 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3959 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3960 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3965 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3966 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3967 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3972 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3973 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3974 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 3979 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3980 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 3981 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 4033 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(0, 0); gfx 4038 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(10, 20); gfx 4051 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4052 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4053 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 4054 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4075 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(101, 101); gfx 4080 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(-1, -1); gfx 4086 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(1, 1); gfx 4092 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(99, 99); gfx 4108 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4109 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4110 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 4111 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4122 cc/trees/layer_tree_host_common_unittest.cc gfx::Size hud_bounds(200, 200); gfx 4146 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(101, 101); gfx 4151 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(-1, -1); gfx 4158 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(1, 1); gfx 4164 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(99, 99); gfx 4178 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform uninvertible_transform; gfx 4185 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4186 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4187 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 4188 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4212 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(1, 1); gfx 4217 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(10, 10); gfx 4222 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(10, 30); gfx 4227 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(50, 50); gfx 4232 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(67, 48); gfx 4237 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(99, 99); gfx 4242 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(-1, -1); gfx 4255 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4256 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4259 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(50.f, 50.f); gfx 4260 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4281 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(49, 49); gfx 4288 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(101, 101); gfx 4294 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(51, 51); gfx 4300 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(99, 99); gfx 4314 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4315 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform rotation45_degrees_about_center; gfx 4319 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4320 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 4321 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4344 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(99, 99); gfx 4349 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(1, 1); gfx 4355 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(1, 50); gfx 4363 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(50, -1); gfx 4368 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(-1, 50); gfx 4381 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4385 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform perspective_projection_about_center; gfx 4389 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform translation_by_z; gfx 4392 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4393 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 4394 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4418 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(24, 24); gfx 4423 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(76, 76); gfx 4429 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(26, 26); gfx 4435 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(74, 74); gfx 4459 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4460 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4465 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 4466 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 4470 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(25.f, 25.f); gfx 4471 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 4483 cc/trees/layer_tree_host_common_unittest.cc test_layer->SetContentBounds(gfx::Size(100, 100)); gfx 4500 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 4507 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(101, 101); gfx 4512 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(24, 24); gfx 4517 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(76, 76); gfx 4523 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(26, 26); gfx 4529 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(74, 74); gfx 4540 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4541 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4550 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 4551 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 4559 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(25.f, 25.f); gfx 4560 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 4572 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(-50.f, -50.f); gfx 4573 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(300, 300); gfx 4600 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(24, 24); gfx 4607 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(76, 76); gfx 4613 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(26, 26); gfx 4619 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(74, 74); gfx 4642 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4643 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4644 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 4645 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4662 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(10.f, 10.f); gfx 4663 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(80, 80); gfx 4673 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform rotation45_degrees_about_corner; gfx 4678 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(); gfx 4680 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(200, 200); // to ensure it covers at least sqrt(2) * 100. gfx 4691 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform rotated_leaf_transform; gfx 4699 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(); gfx 4700 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(100, 100); gfx 4740 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(11, 89); gfx 4746 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(25, 75); gfx 4757 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(4, 50); gfx 4763 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(11, 50); gfx 4771 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(51, 49); gfx 4778 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(49, 51); gfx 4788 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4789 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4798 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 4799 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 4807 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(10.f, 10.f); gfx 4808 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 4825 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(60.f, 60.f); // 70, 70 in screen space gfx 4826 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(20, 20); gfx 4851 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(69, 69); gfx 4856 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(91, 91); gfx 4862 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(71, 71); gfx 4868 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(89, 89); gfx 4881 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 4882 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 4883 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 4884 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 4907 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(10.f, 10.f); gfx 4908 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(50, 50); gfx 4918 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(50.f, 10.f); gfx 4919 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(50, 50); gfx 4932 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(0.f, 40.f); gfx 4933 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(100, 50); gfx 4973 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point = gfx::Point(1, 1); gfx 4981 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(15, 15); gfx 4988 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(51, 20); gfx 4996 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(80, 51); gfx 5004 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(51, 51); gfx 5012 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(20, 51); gfx 5029 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5030 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5031 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 5032 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 5055 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(10.f, 10.f); gfx 5056 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(50, 50); gfx 5067 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(50.f, 10.f); gfx 5068 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(50, 50); gfx 5082 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(0.f, 40.f); gfx 5083 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(100, 50); gfx 5131 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point = gfx::Point(1, 1); gfx 5139 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(15, 15); gfx 5146 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(51, 20); gfx 5154 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(80, 51); gfx 5162 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(51, 51); gfx 5170 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(20, 51); gfx 5185 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5186 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5187 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 5188 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 5200 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(10.f, 10.f); gfx 5201 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(30, 30); gfx 5218 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(10.f, 60.f); gfx 5219 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(30, 30); gfx 5231 cc/trees/layer_tree_host_common_unittest.cc Region touch_handler_region(gfx::Rect(10, 10, 10, 10)); gfx 5238 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(60.f, 60.f); gfx 5239 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(30, 30); gfx 5272 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point = gfx::Point(15, 15); gfx 5279 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(15, 75); gfx 5286 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(75, 75); gfx 5299 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(0, 0); gfx 5305 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(10, 20); gfx 5319 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5320 cc/trees/layer_tree_host_common_unittest.cc Region touch_handler_region(gfx::Rect(10, 10, 50, 50)); gfx 5321 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5322 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 5323 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 5345 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(11, 11); gfx 5353 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(101, 101); gfx 5359 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(-1, -1); gfx 5367 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(1, 1); gfx 5373 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(99, 99); gfx 5381 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(11, 11); gfx 5388 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(59, 59); gfx 5404 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform uninvertible_transform; gfx 5411 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5412 cc/trees/layer_tree_host_common_unittest.cc Region touch_handler_region(gfx::Rect(10, 10, 50, 50)); gfx 5413 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5414 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 5415 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 5441 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(1, 1); gfx 5447 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(10, 10); gfx 5453 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(10, 30); gfx 5459 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(50, 50); gfx 5465 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(67, 48); gfx 5471 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(99, 99); gfx 5477 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(-1, -1); gfx 5492 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5493 cc/trees/layer_tree_host_common_unittest.cc Region touch_handler_region(gfx::Rect(10, 10, 50, 50)); gfx 5494 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5497 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(50.f, 50.f); gfx 5498 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 5520 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(49, 49); gfx 5528 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(101, 101); gfx 5536 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(51, 51); gfx 5544 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(61, 61); gfx 5551 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(99, 99); gfx 5577 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5578 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5583 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 5584 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 5588 cc/trees/layer_tree_host_common_unittest.cc Region touch_handler_region(gfx::Rect(10, 10, 30, 30)); gfx 5589 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(25.f, 25.f); gfx 5590 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 5602 cc/trees/layer_tree_host_common_unittest.cc test_layer->SetContentBounds(gfx::Size(100, 100)); gfx 5620 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), test_layer->visible_content_rect()); gfx 5626 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(76, 76); gfx 5634 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(26, 26); gfx 5640 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(34, 34); gfx 5646 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(65, 65); gfx 5652 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(74, 74); gfx 5660 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(35, 35); gfx 5667 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(64, 64); gfx 5685 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5686 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5691 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 5692 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 5696 cc/trees/layer_tree_host_common_unittest.cc Region touch_handler_region(gfx::Rect(10, 10, 30, 30)); gfx 5697 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(25.f, 25.f); gfx 5698 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 5717 cc/trees/layer_tree_host_common_unittest.cc gfx::Size scaled_bounds_for_root = gfx::ToCeiledSize( gfx 5718 cc/trees/layer_tree_host_common_unittest.cc gfx::ScaleSize(root->bounds(), device_scale_factor * page_scale_factor)); gfx 5736 cc/trees/layer_tree_host_common_unittest.cc EXPECT_RECT_EQ(gfx::Rect(test_layer->content_bounds()), gfx 5741 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF test_point(76.f, 76.f); gfx 5743 cc/trees/layer_tree_host_common_unittest.cc gfx::ScalePoint(test_point, device_scale_factor * page_scale_factor); gfx 5751 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(26, 26); gfx 5753 cc/trees/layer_tree_host_common_unittest.cc gfx::ScalePoint(test_point, device_scale_factor * page_scale_factor); gfx 5759 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(34, 34); gfx 5761 cc/trees/layer_tree_host_common_unittest.cc gfx::ScalePoint(test_point, device_scale_factor * page_scale_factor); gfx 5767 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(65, 65); gfx 5769 cc/trees/layer_tree_host_common_unittest.cc gfx::ScalePoint(test_point, device_scale_factor * page_scale_factor); gfx 5775 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(74, 74); gfx 5777 cc/trees/layer_tree_host_common_unittest.cc gfx::ScalePoint(test_point, device_scale_factor * page_scale_factor); gfx 5785 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(35, 35); gfx 5787 cc/trees/layer_tree_host_common_unittest.cc gfx::ScalePoint(test_point, device_scale_factor * page_scale_factor); gfx 5794 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(64, 64); gfx 5796 cc/trees/layer_tree_host_common_unittest.cc gfx::ScalePoint(test_point, device_scale_factor * page_scale_factor); gfx 5809 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5810 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5819 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 5820 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 5828 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(25.f, 25.f); gfx 5829 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 5841 cc/trees/layer_tree_host_common_unittest.cc Region touch_handler_region(gfx::Rect(10, 10, 50, 50)); gfx 5842 cc/trees/layer_tree_host_common_unittest.cc position = gfx::PointF(-50.f, -50.f); gfx 5843 cc/trees/layer_tree_host_common_unittest.cc bounds = gfx::Size(300, 300); gfx 5871 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(24, 24); gfx 5879 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(35, 35); gfx 5885 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(74, 74); gfx 5893 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(25, 25); gfx 5900 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(34, 34); gfx 5910 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 5911 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 5920 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 5921 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 5929 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 5930 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 5939 cc/trees/layer_tree_host_common_unittest.cc touch_layer->SetTouchEventHandlerRegion(gfx::Rect(0, 0, 50, 50)); gfx 5948 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position(0, 25); gfx 5949 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(50, 50); gfx 5973 cc/trees/layer_tree_host_common_unittest.cc gfx::Point test_point(35, 35); gfx 5979 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(35, 15); gfx 5986 cc/trees/layer_tree_host_common_unittest.cc test_point = gfx::Point(35, 65); gfx 6005 cc/trees/layer_tree_host_common_unittest.cc gfx::Size* content_bounds) OVERRIDE { gfx 6033 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6038 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6039 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6040 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 6047 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6048 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6049 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6057 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6058 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6059 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 6067 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6068 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6069 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6100 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_parent_transform; gfx 6107 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF parent_content_bounds(parent->content_bounds()); gfx 6109 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF parent_draw_rect = gfx 6111 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF parent_screen_space_rect = MathUtil::MapClippedRect( gfx 6114 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF expected_parent_draw_rect(parent->bounds()); gfx 6120 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_child_transform; gfx 6135 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_content_bounds(child->content_bounds()); gfx 6137 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_draw_rect = gfx 6139 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_screen_space_rect = MathUtil::MapClippedRect( gfx 6142 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_empty_draw_rect = MathUtil::MapClippedRect( gfx 6144 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_empty_screen_space_rect = MathUtil::MapClippedRect( gfx 6147 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF expected_child_draw_rect(child->position(), child->bounds()); gfx 6155 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_child_no_scale_transform = child->draw_transform(); gfx 6169 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6171 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform perspective_matrix; gfx 6174 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scale_small_matrix; gfx 6182 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6183 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6184 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 6192 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6193 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6194 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6202 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6203 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6204 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6238 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_parent_draw_transform; gfx 6244 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_scale_surface_draw_transform; gfx 6251 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_scale_surface_layer_draw_transform = gfx 6258 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_perspective_surface_draw_transform; gfx 6268 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_perspective_surface_layer_draw_transform; gfx 6281 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6286 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6287 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6288 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(133, 133), gfx 6295 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6296 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6297 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(13, 13), gfx 6305 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6306 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6307 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(13, 13), gfx 6336 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_parent_transform; gfx 6343 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF parent_content_bounds(parent->content_bounds()); gfx 6345 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF parent_draw_rect = gfx 6347 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF parent_screen_space_rect = MathUtil::MapClippedRect( gfx 6350 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF expected_parent_draw_rect(parent->bounds()); gfx 6359 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_child_transform; gfx 6366 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_content_bounds(child->content_bounds()); gfx 6368 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_draw_rect = gfx 6370 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF child_screen_space_rect = MathUtil::MapClippedRect( gfx 6373 cc/trees/layer_tree_host_common_unittest.cc gfx::RectF expected_child_draw_rect(child->bounds()); gfx 6381 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_child_no_scale_transform = child->draw_transform(); gfx 6394 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6396 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_scale_matrix; gfx 6400 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_scale_matrix; gfx 6405 cc/trees/layer_tree_host_common_unittest.cc root->SetBounds(gfx::Size(100, 100)); gfx 6410 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6411 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6412 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 6420 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6421 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6422 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6430 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6431 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6432 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 6440 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6441 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(12.f, 12.f), gfx 6442 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6578 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6580 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_scale_matrix; gfx 6584 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_scale_matrix; gfx 6589 cc/trees/layer_tree_host_common_unittest.cc root->SetBounds(gfx::Size(100, 100)); gfx 6594 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6595 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6596 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 6604 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6605 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6606 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6614 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6615 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6616 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 6624 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6625 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(12.f, 12.f), gfx 6626 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6682 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6684 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_scale_matrix; gfx 6688 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_scale_matrix; gfx 6693 cc/trees/layer_tree_host_common_unittest.cc root->SetBounds(gfx::Size(100, 100)); gfx 6698 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6699 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6700 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 6708 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6709 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6710 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6771 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6773 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_scale_matrix; gfx 6777 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_scale_matrix; gfx 6782 cc/trees/layer_tree_host_common_unittest.cc root->SetBounds(gfx::Size(100, 100)); gfx 6787 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6788 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6789 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 6797 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6798 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 6799 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6807 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6808 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6809 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6817 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6818 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6819 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6827 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6828 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(12.f, 12.f), gfx 6829 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6837 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6838 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6839 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6847 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6848 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6849 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 6972 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 6974 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_scale_matrix; gfx 6978 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_scale_matrix; gfx 6983 cc/trees/layer_tree_host_common_unittest.cc root->SetBounds(gfx::Size(100, 100)); gfx 6988 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6989 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6990 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 6998 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 6999 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 7000 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7008 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7009 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7010 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7018 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7019 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7020 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7028 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7029 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(12.f, 12.f), gfx 7030 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7038 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7039 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7040 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7048 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7049 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7050 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7174 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 7176 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform parent_scale_matrix; gfx 7180 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform child_scale_matrix; gfx 7185 cc/trees/layer_tree_host_common_unittest.cc root->SetBounds(gfx::Size(100, 100)); gfx 7190 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7191 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7192 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 7200 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7201 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 7202 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7258 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 7261 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7262 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7263 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 7268 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7269 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7270 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 7302 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 7307 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7308 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7309 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 7316 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7317 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 7318 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7322 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform replica_transform; gfx 7327 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7328 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(2.f, 2.f), gfx 7329 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7339 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7340 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7341 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7365 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_parent_transform; gfx 7371 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_draw_transform; gfx 7375 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_screen_space_transform; gfx 7382 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_duplicate_child_draw_transform = gfx 7394 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_render_surface_draw_transform; gfx 7401 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_surface_draw_transform; gfx 7407 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_surface_screen_space_transform; gfx 7414 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_replica_draw_transform; gfx 7422 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_replica_screen_space_transform; gfx 7437 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 7442 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7443 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7444 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(33, 31), gfx 7451 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7452 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7453 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(13, 11), gfx 7457 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform replica_transform; gfx 7462 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7463 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7464 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(13, 11), gfx 7474 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7475 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7476 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(13, 11), gfx 7500 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 7524 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_replica_draw_transform; gfx 7530 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform expected_replica_screen_space_transform; gfx 7576 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 7579 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7580 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7581 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 7586 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7587 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7588 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7593 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7594 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7595 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 7618 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 7621 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7622 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7623 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(100, 100), gfx 7631 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7632 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7633 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 7671 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 7674 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7675 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7676 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 1), gfx 7681 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7682 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7683 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 1), gfx 7688 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7689 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7690 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(1, 1), gfx 7709 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 7717 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform integral_translation; gfx 7727 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform non_integral_translation; gfx 7737 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform rotation; gfx 7747 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scale; gfx 7757 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform skew; gfx 7816 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 7821 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7822 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7823 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 7831 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7832 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7833 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 7841 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7842 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7843 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 7874 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 7879 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7880 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7881 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 7889 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7890 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7891 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 7900 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7901 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7902 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 7930 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 7935 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7936 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7937 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 7945 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7946 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7947 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 7956 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7957 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7958 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 7987 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 7992 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7993 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 7994 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8002 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8003 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8004 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 8014 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8015 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8016 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 8044 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 8049 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8050 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8051 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8059 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8060 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8061 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 8069 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8070 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8071 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 8080 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8081 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8082 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 8090 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8091 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8092 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 8100 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8101 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8102 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 8110 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8111 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8112 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 8191 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 8196 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8197 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8198 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8206 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8207 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8208 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 8217 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8218 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8219 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 8227 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8228 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8229 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 8266 cc/trees/layer_tree_host_common_unittest.cc const gfx::Transform identity_matrix; gfx 8271 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8272 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8273 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8282 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8283 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(-10, -20), gfx 8284 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(), gfx 8292 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8293 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8294 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8313 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(50, 50).ToString(), gfx 8348 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scale_transform; gfx 8351 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 8355 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8356 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8357 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8362 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8363 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8364 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8369 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8370 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(1.f, 1.f), gfx 8371 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8376 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8377 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(1.f, 1.f), gfx 8378 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(5, 5), gfx 8383 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8384 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(1.f, 1.f), gfx 8385 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8399 cc/trees/layer_tree_host_common_unittest.cc ASSERT_EQ(gfx::Rect(1, 1, 20, 20).ToString(), gfx 8403 cc/trees/layer_tree_host_common_unittest.cc ASSERT_EQ(gfx::Rect(3, 3, 10, 10).ToString(), gfx 8408 cc/trees/layer_tree_host_common_unittest.cc ASSERT_EQ(gfx::Rect(5, 5, 16, 16).ToString(), gfx 8453 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform translation_transform; gfx 8456 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 8459 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8460 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8461 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8466 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8467 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(1.f, 1.f), gfx 8468 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 8473 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8474 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8475 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8480 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8481 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(1.f, 1.f), gfx 8482 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(5, 5), gfx 8487 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8488 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8489 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8494 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8495 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(-10.f, -10.f), gfx 8496 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(60, 60), gfx 8512 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0).ToString(), gfx 8515 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0).ToString(), gfx 8520 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 40, 40).ToString(), gfx 8525 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 5, 5).ToString(), gfx 8531 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 40, 40).ToString(), gfx 8533 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(-1, -1, 40, 40).ToString(), gfx 8539 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(-1, -1, 40, 40).ToString(), gfx 8541 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(9, 9, 40, 40).ToString(), gfx 8577 cc/trees/layer_tree_host_common_unittest.cc intervening->SetScrollOffset(gfx::Vector2d(3, 3)); gfx 8582 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform translation_transform; gfx 8585 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 8588 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8589 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8590 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8595 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8596 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(1.f, 1.f), gfx 8597 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 8602 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8603 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8604 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8609 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8610 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(1.f, 1.f), gfx 8611 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(5, 5), gfx 8616 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8617 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8618 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8623 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8624 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(-10.f, -10.f), gfx 8625 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(60, 60), gfx 8641 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0).ToString(), gfx 8644 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0).ToString(), gfx 8649 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 40, 40).ToString(), gfx 8654 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(2, 2, 3, 3).ToString(), gfx 8660 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 40, 40).ToString(), gfx 8662 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(2, 2, 40, 40).ToString(), gfx 8668 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(2, 2, 40, 40).ToString(), gfx 8670 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(12, 12, 40, 40).ToString(), gfx 8701 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 8704 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8705 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8706 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8711 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8712 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8713 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 8718 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8719 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8720 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(5, 5), gfx 8725 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8726 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8727 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(60, 60), gfx 8732 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8733 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8734 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(60, 60), gfx 8747 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 40, 40).ToString(), gfx 8750 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 40, 40).ToString(), gfx 8788 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 8791 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8792 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8793 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(15, 15), gfx 8798 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8799 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8800 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8805 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8806 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(5, 5), gfx 8807 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(5, 5), gfx 8812 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8813 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8814 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(5, 5), gfx 8819 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8820 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(-1, 1), gfx 8821 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(10, 10), gfx 8826 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8827 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8828 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(5, 5), gfx 8844 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 5, 5).ToString(), gfx 8850 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0).ToString(), gfx 8855 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(-1, 1, 6, 4).ToString(), gfx 8859 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 5, 5).ToString(), gfx 8864 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 5, 5).ToString(), gfx 8885 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_matrix; gfx 8886 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF anchor; gfx 8887 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF position; gfx 8888 cc/trees/layer_tree_host_common_unittest.cc gfx::Size bounds(100, 100); gfx 8962 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 8965 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8966 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8967 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 8972 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8973 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8974 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 8979 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8980 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 8981 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 9003 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform rotation_transform = identity_transform; gfx 9044 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 9047 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9048 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9049 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9054 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9055 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9056 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9061 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9062 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9063 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 9068 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9069 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9070 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9075 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9076 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9077 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9088 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 30, 30).ToString(), gfx 9121 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 9124 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9125 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9126 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9131 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9132 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9133 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9138 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9139 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9140 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 9145 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9146 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9147 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9152 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9153 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9154 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9165 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 30, 30).ToString(), gfx 9213 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 9216 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9217 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9218 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9223 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9224 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9225 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9230 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9231 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9232 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 9237 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9238 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9239 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9244 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9245 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9246 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9251 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9252 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9253 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 9258 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9259 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9260 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9265 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9266 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9267 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9278 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 20, 20).ToString(), gfx 9348 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 9351 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9352 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9353 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9358 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9359 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9360 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9365 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9366 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9367 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(20, 20), gfx 9372 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9373 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9374 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9379 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9380 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9381 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9386 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9387 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9388 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9393 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9394 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9395 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 9400 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9401 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9402 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9407 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9408 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9409 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9414 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9415 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9416 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9434 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 20, 20).ToString(), gfx 9493 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 9494 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform top_transform; gfx 9496 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform bottom_transform; gfx 9501 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9502 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9503 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9508 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9509 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9510 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9515 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9516 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9517 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 9522 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9523 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9524 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9529 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9530 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9531 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9536 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9537 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9538 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9543 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9544 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9545 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9612 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform identity_transform; gfx 9613 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform container_transform; gfx 9615 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF container_offset = container_transform.To2dTranslation(); gfx 9619 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9620 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9621 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9626 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9627 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9628 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(40, 40), gfx 9633 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9634 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9635 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(30, 30), gfx 9640 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9641 cc/trees/layer_tree_host_common_unittest.cc gfx::PointF(), gfx 9642 cc/trees/layer_tree_host_common_unittest.cc gfx::Size(50, 50), gfx 9652 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF scroll_delta(3.0, 5.0); gfx 9673 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF scroll_delta(4.1f, 8.1f); gfx 9676 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF rounded_scroll_delta(4.f, 8.f); gfx 9696 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scaled_container_transform = container_transform; gfx 9700 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF scroll_delta(4.5f, 8.5f); gfx 9720 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scale_transform; gfx 9724 cc/trees/layer_tree_host_common_unittest.cc gfx::Vector2dF scroll_delta(4.5f, 8.5f); gfx 431 cc/trees/layer_tree_host_impl.cc const gfx::Vector2d& target_offset, gfx 438 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF scroll_total = active_tree_->TotalScrollOffset(); gfx 439 cc/trees/layer_tree_host_impl.cc gfx::SizeF scaled_scrollable_size = active_tree_->ScrollableSize(); gfx 440 cc/trees/layer_tree_host_impl.cc gfx::SizeF viewport_size = UnscaledScrollableViewportSize(); gfx 454 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF anchor(target_offset); gfx 459 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF scaled_target_offset = target_offset; gfx 475 cc/trees/layer_tree_host_impl.cc const gfx::Point& viewport_point) { gfx 481 cc/trees/layer_tree_host_impl.cc gfx::PointF device_viewport_point = gfx 482 cc/trees/layer_tree_host_impl.cc gfx::ScalePoint(viewport_point, device_scale_factor_); gfx 604 cc/trees/layer_tree_host_impl.cc const gfx::SizeF& overhang_resource_scaled_size, gfx 605 cc/trees/layer_tree_host_impl.cc const gfx::Rect& root_scroll_layer_rect, gfx 639 cc/trees/layer_tree_host_impl.cc gfx::Rect root_target_rect = root_layer->render_surface()->content_rect(); gfx 643 cc/trees/layer_tree_host_impl.cc shared_quad_state->SetAll(gfx::Transform(), gfx 654 cc/trees/layer_tree_host_impl.cc gfx::Rect screen_space_rect = fill_rects.rect(); gfx 655 cc/trees/layer_tree_host_impl.cc gfx::Rect visible_screen_space_rect = screen_space_rect; gfx 670 cc/trees/layer_tree_host_impl.cc gfx::Rect screen_space_rect = fill_rects.rect(); gfx 671 cc/trees/layer_tree_host_impl.cc gfx::Rect opaque_screen_space_rect = screen_space_rect; gfx 672 cc/trees/layer_tree_host_impl.cc gfx::Rect visible_screen_space_rect = screen_space_rect; gfx 682 cc/trees/layer_tree_host_impl.cc gfx::PointF( gfx 685 cc/trees/layer_tree_host_impl.cc gfx::PointF( gfx 900 cc/trees/layer_tree_host_impl.cc gfx::ScaleSize(overhang_ui_resource_size_, device_scale_factor_), gfx 963 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::SetViewportDamage(const gfx::Rect& damage_rect) { gfx 1081 cc/trees/layer_tree_host_impl.cc const gfx::Rect& damage_rect) { gfx 1102 cc/trees/layer_tree_host_impl.cc gfx::Rect device_viewport_damage_rect(damage_rect); gfx 1105 cc/trees/layer_tree_host_impl.cc viewport_damage_rect_ = gfx::Rect(); gfx 1261 cc/trees/layer_tree_host_impl.cc const gfx::Transform& transform, gfx 1262 cc/trees/layer_tree_host_impl.cc const gfx::Rect& viewport, gfx 1263 cc/trees/layer_tree_host_impl.cc const gfx::Rect& clip, gfx 1271 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::SetNeedsRedrawRect(const gfx::Rect& damage_rect) { gfx 1321 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF(0.f, top_controls_manager_->controls_top_offset()); gfx 1323 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF(0.f, top_controls_manager_->content_top_offset()); gfx 1495 cc/trees/layer_tree_host_impl.cc gfx::SizeF LayerTreeHostImpl::ComputeInnerViewportContainerSize() const { gfx 1496 cc/trees/layer_tree_host_impl.cc gfx::SizeF dip_size = gfx 1497 cc/trees/layer_tree_host_impl.cc gfx::ScaleSize(device_viewport_size_, 1.f / device_scale_factor()); gfx 1502 cc/trees/layer_tree_host_impl.cc return gfx::SizeF(dip_size.width(), gfx 1517 cc/trees/layer_tree_host_impl.cc gfx::SizeF LayerTreeHostImpl::UnscaledScrollableViewportSize() const { gfx 1551 cc/trees/layer_tree_host_impl.cc const gfx::Rect& rect_in_device_viewport) { gfx 1964 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::SetViewportSize(const gfx::Size& device_viewport_size) { gfx 1989 cc/trees/layer_tree_host_impl.cc const gfx::Size& overhang_ui_resource_size) { gfx 2003 cc/trees/layer_tree_host_impl.cc gfx::Size LayerTreeHostImpl::DrawViewportSize() const { gfx 2007 cc/trees/layer_tree_host_impl.cc gfx::Rect LayerTreeHostImpl::DeviceViewport() const { gfx 2009 cc/trees/layer_tree_host_impl.cc return gfx::Rect(device_viewport_size_); gfx 2014 cc/trees/layer_tree_host_impl.cc gfx::Rect LayerTreeHostImpl::DeviceClip() const { gfx 2021 cc/trees/layer_tree_host_impl.cc const gfx::Transform& LayerTreeHostImpl::DrawTransform() const { gfx 2049 cc/trees/layer_tree_host_impl.cc const gfx::PointF& device_viewport_point, gfx 2090 cc/trees/layer_tree_host_impl.cc const gfx::Point& viewport_point, gfx 2103 cc/trees/layer_tree_host_impl.cc gfx::PointF device_viewport_point = gfx::ScalePoint(viewport_point, gfx 2139 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF LayerTreeHostImpl::ScrollLayerWithViewportSpaceDelta( gfx 2142 cc/trees/layer_tree_host_impl.cc const gfx::PointF& viewport_point, gfx 2143 cc/trees/layer_tree_host_impl.cc const gfx::Vector2dF& viewport_delta) { gfx 2147 cc/trees/layer_tree_host_impl.cc gfx::Transform inverse_screen_space_transform( gfx 2148 cc/trees/layer_tree_host_impl.cc gfx::Transform::kSkipInitialization); gfx 2155 cc/trees/layer_tree_host_impl.cc gfx::PointF screen_space_point = gfx 2156 cc/trees/layer_tree_host_impl.cc gfx::ScalePoint(viewport_point, scale_from_viewport_to_screen_space); gfx 2158 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF screen_space_delta = viewport_delta; gfx 2164 cc/trees/layer_tree_host_impl.cc gfx::PointF screen_space_end_point = screen_space_point + screen_space_delta; gfx 2165 cc/trees/layer_tree_host_impl.cc gfx::PointF local_start_point = gfx 2169 cc/trees/layer_tree_host_impl.cc gfx::PointF local_end_point = gfx 2178 cc/trees/layer_tree_host_impl.cc return gfx::Vector2dF(); gfx 2188 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF previous_delta = layer_impl->ScrollDelta(); gfx 2193 cc/trees/layer_tree_host_impl.cc gfx::PointF actual_local_end_point = local_start_point + gfx 2196 cc/trees/layer_tree_host_impl.cc gfx::PointF actual_local_content_end_point = gfx 2197 cc/trees/layer_tree_host_impl.cc gfx::ScalePoint(actual_local_end_point, gfx 2202 cc/trees/layer_tree_host_impl.cc gfx::PointF actual_screen_space_end_point = gfx 2208 cc/trees/layer_tree_host_impl.cc return gfx::Vector2dF(); gfx 2209 cc/trees/layer_tree_host_impl.cc gfx::PointF actual_viewport_end_point = gfx 2210 cc/trees/layer_tree_host_impl.cc gfx::ScalePoint(actual_screen_space_end_point, gfx 2215 cc/trees/layer_tree_host_impl.cc static gfx::Vector2dF ScrollLayerWithLocalDelta(LayerImpl* layer_impl, gfx 2216 cc/trees/layer_tree_host_impl.cc const gfx::Vector2dF& local_delta) { gfx 2217 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF previous_delta(layer_impl->ScrollDelta()); gfx 2222 cc/trees/layer_tree_host_impl.cc bool LayerTreeHostImpl::ScrollBy(const gfx::Point& viewport_point, gfx 2223 cc/trees/layer_tree_host_impl.cc const gfx::Vector2dF& scroll_delta) { gfx 2228 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF pending_delta = scroll_delta; gfx 2229 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF unused_root_delta; gfx 2251 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF applied_delta; gfx 2252 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF excess_delta; gfx 2267 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF applied_delta; gfx 2317 cc/trees/layer_tree_host_impl.cc pending_delta = gfx::Vector2d(); gfx 2323 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF perpendicular_axis(-applied_delta.y(), applied_delta.x()); gfx 2326 cc/trees/layer_tree_host_impl.cc if (gfx::ToRoundedVector2d(pending_delta).IsZero()) gfx 2356 cc/trees/layer_tree_host_impl.cc bool LayerTreeHostImpl::ScrollVerticallyByPage(const gfx::Point& viewport_point, gfx 2377 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF delta = gfx::Vector2dF(0.f, page); gfx 2379 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF applied_delta = ScrollLayerWithLocalDelta(layer_impl, delta); gfx 2410 cc/trees/layer_tree_host_impl.cc accumulated_root_overscroll_ = gfx::Vector2dF(); gfx 2442 cc/trees/layer_tree_host_impl.cc const gfx::PointF& device_viewport_point, gfx 2447 cc/trees/layer_tree_host_impl.cc gfx::Rect layer_impl_bounds( gfx 2450 cc/trees/layer_tree_host_impl.cc gfx::RectF device_viewport_layer_impl_bounds = MathUtil::MapClippedRect( gfx 2458 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::MouseMoveAt(const gfx::Point& viewport_point) { gfx 2462 cc/trees/layer_tree_host_impl.cc gfx::PointF device_viewport_point = gfx::ScalePoint(viewport_point, gfx 2520 cc/trees/layer_tree_host_impl.cc const gfx::PointF& device_viewport_point) { gfx 2543 cc/trees/layer_tree_host_impl.cc previous_pinch_anchor_ = gfx::Point(); gfx 2558 cc/trees/layer_tree_host_impl.cc const gfx::Point& anchor) { gfx 2567 cc/trees/layer_tree_host_impl.cc gfx::PointF previous_scale_anchor = gfx 2568 cc/trees/layer_tree_host_impl.cc gfx::ScalePoint(anchor, 1.f / page_scale_delta); gfx 2571 cc/trees/layer_tree_host_impl.cc gfx::PointF new_scale_anchor = gfx 2572 cc/trees/layer_tree_host_impl.cc gfx::ScalePoint(anchor, 1.f / page_scale_delta); gfx 2573 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF move = previous_scale_anchor - new_scale_anchor; gfx 2588 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF unused = OuterViewportScrollLayer() gfx 2618 cc/trees/layer_tree_host_impl.cc gfx::Vector2d scroll_delta = gfx 2619 cc/trees/layer_tree_host_impl.cc gfx::ToFlooredVector2d(layer_impl->ScrollDelta()); gfx 2643 cc/trees/layer_tree_host_impl.cc SetViewportDamage(gfx::Rect(DrawViewportSize())); gfx 2646 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::ScrollViewportBy(gfx::Vector2dF scroll_delta) { gfx 2652 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF unused_delta = scroll_layer->ScrollBy(scroll_delta); gfx 2666 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF scroll_total = active_tree_->TotalScrollOffset(); gfx 2674 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF next_scroll = page_scale_animation_->ScrollOffsetAtTime( gfx 2691 cc/trees/layer_tree_host_impl.cc gfx::Vector2dF scroll = top_controls_manager_->Animate(time); gfx 2699 cc/trees/layer_tree_host_impl.cc ScrollViewportBy(gfx::ScaleVector2d( gfx 2878 cc/trees/layer_tree_host_impl.cc current_frame_timeticks_ = gfx::FrameTime::Now(); gfx 2891 cc/trees/layer_tree_host_impl.cc return gfx::FrameTime::Now(); gfx 2970 cc/trees/layer_tree_host_impl.cc gfx::Rect(bitmap.GetSize()), gfx 2971 cc/trees/layer_tree_host_impl.cc gfx::Rect(bitmap.GetSize()), gfx 2972 cc/trees/layer_tree_host_impl.cc gfx::Vector2d(0, 0)); gfx 72 cc/trees/layer_tree_host_impl.h virtual void SetNeedsRedrawRectOnImplThread(const gfx::Rect& damage_rect) = 0; gfx 115 cc/trees/layer_tree_host_impl.h const gfx::Point& viewport_point, gfx 117 cc/trees/layer_tree_host_impl.h virtual bool ScrollBy(const gfx::Point& viewport_point, gfx 118 cc/trees/layer_tree_host_impl.h const gfx::Vector2dF& scroll_delta) OVERRIDE; gfx 119 cc/trees/layer_tree_host_impl.h virtual bool ScrollVerticallyByPage(const gfx::Point& viewport_point, gfx 126 cc/trees/layer_tree_host_impl.h virtual void MouseMoveAt(const gfx::Point& viewport_point) OVERRIDE; gfx 129 cc/trees/layer_tree_host_impl.h const gfx::Point& anchor) OVERRIDE; gfx 131 cc/trees/layer_tree_host_impl.h virtual void StartPageScaleAnimation(const gfx::Vector2d& target_offset, gfx 136 cc/trees/layer_tree_host_impl.h virtual bool HaveTouchEventHandlersAt(const gfx::Point& viewport_port) gfx 152 cc/trees/layer_tree_host_impl.h std::vector<gfx::Rect> occluding_screen_space_rects; gfx 153 cc/trees/layer_tree_host_impl.h std::vector<gfx::Rect> non_occluding_screen_space_rects; gfx 173 cc/trees/layer_tree_host_impl.h void SetViewportDamage(const gfx::Rect& damage_rect); gfx 183 cc/trees/layer_tree_host_impl.h const gfx::Rect& damage_rect); gfx 207 cc/trees/layer_tree_host_impl.h gfx::Size DrawViewportSize() const; gfx 212 cc/trees/layer_tree_host_impl.h gfx::SizeF UnscaledScrollableViewportSize() const; gfx 225 cc/trees/layer_tree_host_impl.h virtual void SetNeedsRedrawRect(const gfx::Rect& rect) OVERRIDE; gfx 228 cc/trees/layer_tree_host_impl.h const gfx::Transform& transform, gfx 229 cc/trees/layer_tree_host_impl.h const gfx::Rect& viewport, gfx 230 cc/trees/layer_tree_host_impl.h const gfx::Rect& clip, gfx 268 cc/trees/layer_tree_host_impl.h void Readback(void* pixels, const gfx::Rect& rect_in_device_viewport); gfx 305 cc/trees/layer_tree_host_impl.h void SetViewportSize(const gfx::Size& device_viewport_size); gfx 311 cc/trees/layer_tree_host_impl.h const gfx::Size& overhang_ui_resource_size); gfx 316 cc/trees/layer_tree_host_impl.h const gfx::Transform& DrawTransform() const; gfx 381 cc/trees/layer_tree_host_impl.h gfx::Vector2dF accumulated_root_overscroll() const { gfx 413 cc/trees/layer_tree_host_impl.h gfx::Size size; gfx 423 cc/trees/layer_tree_host_impl.h gfx::Rect DeviceViewport() const; gfx 424 cc/trees/layer_tree_host_impl.h gfx::Rect DeviceClip() const; gfx 442 cc/trees/layer_tree_host_impl.h gfx::SizeF ComputeInnerViewportContainerSize() const; gfx 473 cc/trees/layer_tree_host_impl.h void ScrollViewportBy(gfx::Vector2dF scroll_delta); gfx 478 cc/trees/layer_tree_host_impl.h gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( gfx 481 cc/trees/layer_tree_host_impl.h const gfx::PointF& viewport_point, gfx 482 cc/trees/layer_tree_host_impl.h const gfx::Vector2dF& viewport_delta); gfx 500 cc/trees/layer_tree_host_impl.h const gfx::PointF& device_viewport_point); gfx 506 cc/trees/layer_tree_host_impl.h const gfx::PointF& device_viewport_point, gfx 511 cc/trees/layer_tree_host_impl.h float DeviceSpaceDistanceToLayer(const gfx::PointF& device_viewport_point, gfx 571 cc/trees/layer_tree_host_impl.h gfx::Vector2dF accumulated_root_overscroll_; gfx 575 cc/trees/layer_tree_host_impl.h gfx::Point previous_pinch_anchor_; gfx 604 cc/trees/layer_tree_host_impl.h gfx::Size device_viewport_size_; gfx 612 cc/trees/layer_tree_host_impl.h gfx::Size overhang_ui_resource_size_; gfx 628 cc/trees/layer_tree_host_impl.h gfx::Transform external_transform_; gfx 629 cc/trees/layer_tree_host_impl.h gfx::Rect external_viewport_; gfx 630 cc/trees/layer_tree_host_impl.h gfx::Rect external_clip_; gfx 634 cc/trees/layer_tree_host_impl.h gfx::Rect viewport_damage_rect_; gfx 97 cc/trees/layer_tree_host_impl_unittest.cc settings.minimum_occlusion_tracking_size = gfx::Size(); gfx 125 cc/trees/layer_tree_host_impl_unittest.cc const gfx::Rect& damage_rect) OVERRIDE { gfx 166 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(10, 10)); gfx 171 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 172 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 173 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 174 cc/trees/layer_tree_host_impl_unittest.cc root->SetContentBounds(gfx::Size(10, 10)); gfx 176 cc/trees/layer_tree_host_impl_unittest.cc root->draw_properties().visible_content_rect = gfx::Rect(0, 0, 10, 10); gfx 181 cc/trees/layer_tree_host_impl_unittest.cc ASSERT_EQ(layer->ScrollDelta(), gfx::Vector2d()); gfx 188 cc/trees/layer_tree_host_impl_unittest.cc const gfx::Vector2d& scroll_delta) { gfx 214 cc/trees/layer_tree_host_impl_unittest.cc const gfx::Size& content_size) { gfx 222 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 223 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 229 cc/trees/layer_tree_host_impl_unittest.cc scroll->SetScrollOffset(gfx::Vector2d()); gfx 234 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(content_size.width() / 2, content_size.height() / 2)); gfx 242 cc/trees/layer_tree_host_impl_unittest.cc scroll->SetPosition(gfx::PointF()); gfx 243 cc/trees/layer_tree_host_impl_unittest.cc scroll->SetAnchorPoint(gfx::PointF()); gfx 251 cc/trees/layer_tree_host_impl_unittest.cc contents->SetPosition(gfx::PointF()); gfx 252 cc/trees/layer_tree_host_impl_unittest.cc contents->SetAnchorPoint(gfx::PointF()); gfx 266 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* SetupScrollAndContentsLayers(const gfx::Size& content_size) { gfx 275 cc/trees/layer_tree_host_impl_unittest.cc const gfx::Size& size, gfx 285 cc/trees/layer_tree_host_impl_unittest.cc clip_layer->SetBounds(gfx::Size(size.width() / 2, size.height() / 2)); gfx 292 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 293 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 311 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 322 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 328 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size()); gfx 337 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 378 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame_data, gfx::Rect()); gfx 452 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_offset(20, 30); gfx 453 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(11, -15); gfx 459 cc/trees/layer_tree_host_impl_unittest.cc root_clip->SetBounds(gfx::Size(10, 10)); gfx 462 cc/trees/layer_tree_host_impl_unittest.cc root_layer->SetBounds(gfx::Size(110, 110)); gfx 477 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta2(-5, 27); gfx 484 cc/trees/layer_tree_host_impl_unittest.cc root->ScrollBy(gfx::Vector2d()); gfx 490 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 491 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 495 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 496 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 505 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 520 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 525 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 529 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 530 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 535 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 538 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 542 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 10); gfx 543 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 550 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 551 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 560 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 564 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 565 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 574 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 578 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 582 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 583 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 592 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 600 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 601 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 610 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 618 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 619 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 627 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 635 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 636 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 643 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 645 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 649 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(200, 200)); gfx 650 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 654 cc/trees/layer_tree_host_impl_unittest.cc root->SetNonFastScrollableRegion(gfx::Rect(0, 0, 50, 50)); gfx 660 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(25, 25), gfx 663 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(25, 25), gfx 668 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(75, 75), gfx 670 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 673 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(75, 75), gfx 675 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 680 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(200, 200)); gfx 681 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 685 cc/trees/layer_tree_host_impl_unittest.cc root->SetNonFastScrollableRegion(gfx::Rect(0, 0, 50, 50)); gfx 686 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF(-25.f, 0.f)); gfx 693 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(40, 10), gfx 695 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 1)); gfx 700 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(10, 10), gfx 705 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)); gfx 707 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 711 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture); gfx 718 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)); gfx 720 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 724 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture); gfx 731 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(200, 200)); gfx 732 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 737 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 740 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(-10, 0))); gfx 741 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, -10))); gfx 742 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(-10, -10))); gfx 745 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(10, 0))); gfx 746 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10))); gfx 747 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(10, 10))); gfx 750 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(-10, 0))); gfx 751 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, -10))); gfx 752 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(-10, -10))); gfx 755 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(10, -10))); gfx 756 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(-10, 0))); gfx 757 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(-10, 10))); gfx 760 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(5000, 5000))); gfx 764 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(200, 2000)); gfx 765 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 1000)); gfx 770 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), gfx 775 cc/trees/layer_tree_host_impl_unittest.cc gfx::Point(), SCROLL_FORWARD)); gfx 777 cc/trees/layer_tree_host_impl_unittest.cc gfx::Point(), SCROLL_BACKWARD)); gfx 784 cc/trees/layer_tree_host_impl_unittest.cc vertical_scrollbar->SetBounds(gfx::Size(15, 1000)); gfx 790 cc/trees/layer_tree_host_impl_unittest.cc gfx::Point(), SCROLL_FORWARD)); gfx 794 cc/trees/layer_tree_host_impl_unittest.cc gfx::Point(), SCROLL_BACKWARD)); gfx 800 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(200, 200)); gfx 801 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 803 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size overflow_size(400, 400); gfx 809 cc/trees/layer_tree_host_impl_unittest.cc overflow->SetScrollOffset(gfx::Vector2d()); gfx 810 cc/trees/layer_tree_host_impl_unittest.cc overflow->SetPosition(gfx::PointF()); gfx 811 cc/trees/layer_tree_host_impl_unittest.cc overflow->SetAnchorPoint(gfx::PointF()); gfx 814 cc/trees/layer_tree_host_impl_unittest.cc gfx::Point scroll_position(10, 10); gfx 818 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), scroll_layer->TotalScrollOffset()); gfx 819 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), overflow->TotalScrollOffset()); gfx 821 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF scroll_delta(10, 10); gfx 824 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), scroll_layer->TotalScrollOffset()); gfx 825 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(10, 10), overflow->TotalScrollOffset()); gfx 831 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(), scroll_layer->TotalScrollOffset()); gfx 832 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(10, 10), overflow->TotalScrollOffset()); gfx 836 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(10, 0), scroll_layer->TotalScrollOffset()); gfx 837 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(10, 20), overflow->TotalScrollOffset()); gfx 843 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(10, 0), scroll_layer->TotalScrollOffset()); gfx 844 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(10, 20), overflow->TotalScrollOffset()); gfx 848 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(20, 10), scroll_layer->TotalScrollOffset()); gfx 849 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_VECTOR_EQ(gfx::Vector2dF(10, 20), overflow->TotalScrollOffset()); gfx 854 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 855 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 863 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(host_impl_->HaveTouchEventHandlersAt(gfx::Point()), false); gfx 867 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 868 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 873 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Size(50, 50), container_layer->bounds()); gfx 883 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 886 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF expected_container_size_delta( gfx 891 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(50, 50), InputHandler::Gesture); gfx 893 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); gfx 903 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Size(50, 50), container_layer->bounds()); gfx 909 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2d(75, 75).ToString(), gfx 919 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 922 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture); gfx 924 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point()); gfx 928 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 10); gfx 930 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 932 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 944 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 945 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 959 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 962 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(50, 50), InputHandler::Gesture); gfx 964 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); gfx 980 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 983 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(50, 50), InputHandler::Gesture); gfx 985 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); gfx 999 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 1000 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(50, 50)); gfx 1003 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture); gfx 1005 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point()); gfx 1021 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 1022 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(20, 20)); gfx 1025 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(10, 10), InputHandler::Gesture); gfx 1027 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(10, 10)); gfx 1028 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(20, 20)); gfx 1043 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 1044 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(20, 20)); gfx 1047 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(10, 10), InputHandler::Gesture); gfx 1049 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(10, 10)); gfx 1050 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(10, 10), gfx::Vector2d(-10, -10)); gfx 1051 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(20, 20)); gfx 1058 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info, scroll_layer->id(), gfx::Vector2d(-10, -10)); gfx 1066 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2d()); gfx 1067 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(0, 0)); gfx 1069 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(0, 0), InputHandler::Gesture); gfx 1071 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(2.f, gfx::Point(0, 0)); gfx 1072 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(1.f, gfx::Point(0, 0)); gfx 1073 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(0, 0), gfx::Vector2d(10, 10)); gfx 1074 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(1.f, gfx::Point(10, 10)); gfx 1081 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info, scroll_layer->id(), gfx::Vector2d(20, 20)); gfx 1086 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 1087 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 1106 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(50, 50)); gfx 1108 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->StartPageScaleAnimation(gfx::Vector2d(), false, 2.f, duration); gfx 1125 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info, scroll_layer->id(), gfx::Vector2d(-50, -50)); gfx 1133 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(50, 50)); gfx 1136 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d(25, 25), true, min_page_scale, duration); gfx 1151 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info, scroll_layer->id(), gfx::Vector2d(-50, -50)); gfx 1156 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 1157 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 1176 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d(50, 50)); gfx 1178 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->StartPageScaleAnimation(gfx::Vector2d(), true, 1.f, duration); gfx 1225 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size viewport_size(10, 10); gfx 1226 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(100, 100); gfx 1245 cc/trees/layer_tree_host_impl_unittest.cc scroll->SetScrollOffset(gfx::Vector2d()); gfx 1271 cc/trees/layer_tree_host_impl_unittest.cc base::TimeTicks fake_now = gfx::FrameTime::Now(); gfx 1282 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel); gfx 1289 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel); gfx 1290 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2dF(5, 0)); gfx 1318 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->InnerViewportScrollLayer()->SetScrollOffset(gfx::Vector2d(5, 5)); gfx 1337 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size viewport_size(300, 200); gfx 1338 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size device_viewport_size = gfx::ToFlooredSize( gfx 1339 cc/trees/layer_tree_host_impl_unittest.cc gfx::ScaleSize(viewport_size, device_scale_factor)); gfx 1340 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(1000, 1000); gfx 1353 cc/trees/layer_tree_host_impl_unittest.cc scroll->SetScrollOffset(gfx::Vector2d()); gfx 1368 cc/trees/layer_tree_host_impl_unittest.cc scrollbar->SetBounds(gfx::Size(15, viewport_size.height())); gfx 1369 cc/trees/layer_tree_host_impl_unittest.cc scrollbar->SetContentBounds(gfx::Size(15, viewport_size.height())); gfx 1370 cc/trees/layer_tree_host_impl_unittest.cc scrollbar->SetPosition(gfx::Point(285, 0)); gfx 1390 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->MouseMoveAt(gfx::Point(1, 1)); gfx 1393 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->MouseMoveAt(gfx::Point(200, 50)); gfx 1396 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->MouseMoveAt(gfx::Point(184, 100)); gfx 1400 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->MouseMoveAt(gfx::Point(184, 100)); gfx 1405 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->MouseMoveAt(gfx::Point(290, 100)); gfx 1407 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->MouseMoveAt(gfx::Point(290, 120)); gfx 1409 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->MouseMoveAt(gfx::Point(150, 120)); gfx 1422 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 1423 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 1429 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), metadata.root_scroll_offset); gfx 1431 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::SizeF(50.f, 50.f), metadata.viewport_size); gfx 1432 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::SizeF(100.f, 100.f), metadata.root_layer_size); gfx 1439 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 1440 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 1444 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0.f, 10.f), metadata.root_scroll_offset); gfx 1450 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0.f, 10.f), metadata.root_scroll_offset); gfx 1454 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture); gfx 1456 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(2.f, gfx::Point()); gfx 1462 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0.f, 10.f), metadata.root_scroll_offset); gfx 1464 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::SizeF(25.f, 25.f), metadata.viewport_size); gfx 1465 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::SizeF(100.f, 100.f), metadata.root_layer_size); gfx 1477 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0.f, 10.f), metadata.root_scroll_offset); gfx 1479 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::SizeF(12.5f, 12.5f), metadata.viewport_size); gfx 1480 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::SizeF(100.f, 100.f), metadata.root_layer_size); gfx 1531 cc/trees/layer_tree_host_impl_unittest.cc SetAnchorPoint(gfx::PointF()); gfx 1532 cc/trees/layer_tree_host_impl_unittest.cc SetBounds(gfx::Size(10, 10)); gfx 1533 cc/trees/layer_tree_host_impl_unittest.cc SetContentBounds(gfx::Size(10, 10)); gfx 1536 cc/trees/layer_tree_host_impl_unittest.cc draw_properties().visible_content_rect = gfx::Rect(0, 0, 10, 10); gfx 1539 cc/trees/layer_tree_host_impl_unittest.cc LayerTilingData::Create(gfx::Size(100, 100), gfx 1567 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect(10, 10))); gfx 1568 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1583 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect(10, 10))); gfx 1584 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1606 cc/trees/layer_tree_host_impl_unittest.cc layer->SetPosition(gfx::PointF(100.f, 100.f)); gfx 1607 cc/trees/layer_tree_host_impl_unittest.cc layer->SetBounds(gfx::Size(10, 10)); gfx 1608 cc/trees/layer_tree_host_impl_unittest.cc layer->SetContentBounds(gfx::Size(10, 10)); gfx 1616 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1617 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1626 cc/trees/layer_tree_host_impl_unittest.cc layer->SetPosition(gfx::PointF()); gfx 1632 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1633 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1643 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size big_size(1000, 1000); gfx 1672 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1673 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1705 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1706 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1750 cc/trees/layer_tree_host_impl_unittest.cc LayerTilingData::Create(gfx::Size(10, 10), gfx 1757 cc/trees/layer_tree_host_impl_unittest.cc resource_provider->CreateResource(gfx::Size(1, 1), gfx 1762 cc/trees/layer_tree_host_impl_unittest.cc PushTileProperties(0, 0, resource, gfx::Rect(), false); gfx 1791 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1792 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1815 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1816 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1841 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1842 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1865 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 1866 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1888 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(host_impl_->PrepareToDraw(&frame, gfx::Rect()), gfx 1890 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1913 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(host_impl_->PrepareToDraw(&frame, gfx::Rect()), gfx 1915 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1938 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(host_impl_->PrepareToDraw(&frame, gfx::Rect()), gfx 1940 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 1952 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 1968 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(clip_size_.width(), gfx 1983 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 1984 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 2001 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size layer_size_; gfx 2002 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size clip_size_; gfx 2003 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size viewport_size_; gfx 2013 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 2018 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF top_controls_scroll_delta(0.f, 5.25f); gfx 2036 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 2041 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF top_controls_scroll_delta(0.f, 5.f); gfx 2042 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF expected_container_size_delta = gfx 2068 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 2071 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->top_controls_manager()->ScrollBy(gfx::Vector2dF(0.f, 50.f)); gfx 2081 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 2086 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF(0.f, scroll_increment_y)); gfx 2090 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Size(viewport_size_.width(), gfx 2095 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF(0.f, scroll_increment_y)); gfx 2106 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d(), gfx 2110 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 2116 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2117 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size contents_size(20, 20); gfx 2122 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetPosition(gfx::PointF()); gfx 2123 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetAnchorPoint(gfx::PointF()); gfx 2137 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetPosition(gfx::PointF()); gfx 2138 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetAnchorPoint(gfx::PointF()); gfx 2147 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2149 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 2156 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2157 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size contents_size(20, 20); gfx 2167 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2169 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 2176 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2186 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(15, 5), gfx 2193 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2199 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform matrix; gfx 2211 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2218 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2240 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2245 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(20, 20); gfx 2246 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size viewport_size(10, 10); gfx 2269 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 10); gfx 2270 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_scroll_delta = scroll_delta; gfx 2271 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_max_scroll = root_scroll->MaxScrollOffset(); gfx 2273 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2275 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2295 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(20, 20); gfx 2296 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size viewport_size(10, 10); gfx 2320 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 10); gfx 2321 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_scroll_delta = scroll_delta; gfx 2322 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_max_scroll = root_scroll->MaxScrollOffset(); gfx 2324 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2326 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2330 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture); gfx 2332 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(page_scale, gfx::Point()); gfx 2349 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2351 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform default_page_scale_matrix; gfx 2355 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform new_page_scale_matrix; gfx 2372 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture); gfx 2374 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PinchGestureUpdate(new_page_scale, gfx::Point()); gfx 2392 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 2393 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 2409 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(30, 30); gfx 2411 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(5, 5)); gfx 2431 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 10); gfx 2432 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_scroll_delta(scroll_delta); gfx 2433 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_max_scroll(child->MaxScrollOffset()); gfx 2435 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2437 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2463 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2464 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(20, 20); gfx 2481 cc/trees/layer_tree_host_impl_unittest.cc grand_child_layer->SetScrollOffset(gfx::Vector2d(0, 5)); gfx 2482 cc/trees/layer_tree_host_impl_unittest.cc child_layer->SetScrollOffset(gfx::Vector2d(3, 0)); gfx 2486 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(-8, -7); gfx 2488 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), gfx 2490 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2499 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), grand_child->id(), gfx::Vector2d(0, -5)); gfx 2502 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), child->id(), gfx::Vector2d(-3, 0)); gfx 2509 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(20, 20); gfx 2510 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size viewport_size(10, 10); gfx 2533 cc/trees/layer_tree_host_impl_unittest.cc grand_child_layer->SetScrollOffset(gfx::Vector2d(0, 2)); gfx 2534 cc/trees/layer_tree_host_impl_unittest.cc child_layer->SetScrollOffset(gfx::Vector2d(0, 3)); gfx 2538 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, -10); gfx 2540 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), gfx 2542 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2552 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), grand_child->id(), gfx::Vector2d(0, -2)); gfx 2558 cc/trees/layer_tree_host_impl_unittest.cc scroll_delta = gfx::Vector2d(0, -3); gfx 2560 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2563 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2570 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), child->id(), gfx::Vector2d(0, -3)); gfx 2573 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), grand_child->id(), gfx::Vector2d(0, -2)); gfx 2577 cc/trees/layer_tree_host_impl_unittest.cc scroll_delta = gfx::Vector2d(0, 7); gfx 2579 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2582 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2589 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), grand_child->id(), gfx::Vector2d(0, 5)); gfx 2592 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), child->id(), gfx::Vector2d(0, -3)); gfx 2599 cc/trees/layer_tree_host_impl_unittest.cc scroll_delta = gfx::Vector2d(0, -2); gfx 2601 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(1, 1), gfx 2604 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2610 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), grand_child->id(), gfx::Vector2d(0, 4)); gfx 2616 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2617 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(20, 20); gfx 2639 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 4); gfx 2641 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2643 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2656 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 2684 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 2689 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 2692 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform rotate_transform; gfx 2696 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(50, 50); gfx 2701 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d gesture_scroll_delta(10, 0); gfx 2703 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), gfx 2705 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gesture_scroll_delta); gfx 2712 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d(0, gesture_scroll_delta.x())); gfx 2715 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2dF()); gfx 2716 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d wheel_scroll_delta(0, 10); gfx 2718 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), gfx 2720 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), wheel_scroll_delta); gfx 2731 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 2741 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform rotate_transform; gfx 2749 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(child->bounds().width(), child->bounds().height() / 2)); gfx 2753 cc/trees/layer_tree_host_impl_unittest.cc clip_layer->SetAnchorPoint(gfx::PointF(0.5, 1.0)); gfx 2758 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(50, 50); gfx 2763 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d gesture_scroll_delta(0, 10); gfx 2765 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(1, 1), gfx 2767 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gesture_scroll_delta); gfx 2772 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_scroll_delta( gfx 2786 cc/trees/layer_tree_host_impl_unittest.cc child_ptr->SetScrollDelta(gfx::Vector2dF()); gfx 2787 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d gesture_scroll_delta(10, 0); gfx 2789 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(1, 1), gfx 2791 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gesture_scroll_delta); gfx 2796 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_scroll_delta( gfx 2806 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d expected_root_scroll_delta( gfx 2818 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 2822 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform scale_transform; gfx 2826 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(50, 50); gfx 2831 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 10); gfx 2833 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 2834 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2842 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d(0, scroll_delta.y() / scale)); gfx 2845 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollDelta(gfx::Vector2dF()); gfx 2846 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d wheel_scroll_delta(0, 10); gfx 2848 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 2849 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), wheel_scroll_delta); gfx 2869 cc/trees/layer_tree_host_impl_unittest.cc const gfx::Vector2dF& max_scroll_offset) OVERRIDE { gfx 2873 cc/trees/layer_tree_host_impl_unittest.cc virtual void SetTotalScrollOffset(const gfx::Vector2dF& new_value) OVERRIDE { gfx 2877 cc/trees/layer_tree_host_impl_unittest.cc virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE { gfx 2892 cc/trees/layer_tree_host_impl_unittest.cc virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) OVERRIDE { gfx 2896 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF last_set_scroll_offset() { gfx 2900 cc/trees/layer_tree_host_impl_unittest.cc void set_getter_return_value(const gfx::Vector2dF& value) { gfx 2904 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF max_scroll_offset() const { gfx 2908 cc/trees/layer_tree_host_impl_unittest.cc gfx::SizeF scrollable_size() const { gfx 2925 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF last_set_scroll_offset_; gfx 2926 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF getter_return_value_; gfx 2927 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF max_scroll_offset_; gfx 2928 cc/trees/layer_tree_host_impl_unittest.cc gfx::SizeF scrollable_size_; gfx 2936 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(10, 20)); gfx 2937 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 2939 cc/trees/layer_tree_host_impl_unittest.cc clip_layer->SetBounds(gfx::Size(10, 20)); gfx 2942 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF initial_scroll_delta(10.f, 10.f); gfx 2943 cc/trees/layer_tree_host_impl_unittest.cc scroll_layer->SetScrollOffset(gfx::Vector2d()); gfx 2951 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::SizeF(100, 100), scroll_delegate.scrollable_size()); gfx 2952 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(90, 80), scroll_delegate.max_scroll_offset()); gfx 2973 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF scroll_delta(0.f, 10.f); gfx 2974 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF current_offset(7.f, 8.f); gfx 2978 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 2980 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2984 cc/trees/layer_tree_host_impl_unittest.cc current_offset = gfx::Vector2dF(42.f, 41.f); gfx 2986 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 2993 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size new_size(42, 24); gfx 3001 cc/trees/layer_tree_host_impl_unittest.cc current_offset = gfx::Vector2dF(13.f, 12.f); gfx 3010 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 3011 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 3014 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3018 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 3019 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 3020 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3023 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 50)); gfx 3024 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, 10), host_impl_->accumulated_root_overscroll()); gfx 3027 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, -50)); gfx 3028 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, 0), host_impl_->accumulated_root_overscroll()); gfx 3029 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, -10)); gfx 3030 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, -10), host_impl_->accumulated_root_overscroll()); gfx 3031 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(10, 0)); gfx 3032 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, -10), host_impl_->accumulated_root_overscroll()); gfx 3033 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(-15, 0)); gfx 3034 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(-5, -10), host_impl_->accumulated_root_overscroll()); gfx 3035 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 60)); gfx 3036 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(-5, 10), host_impl_->accumulated_root_overscroll()); gfx 3037 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(10, -60)); gfx 3038 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, -10), host_impl_->accumulated_root_overscroll()); gfx 3042 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, -20)); gfx 3043 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, -30), host_impl_->accumulated_root_overscroll()); gfx 3044 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, -20)); gfx 3045 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, -50), host_impl_->accumulated_root_overscroll()); gfx 3047 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 3048 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, 0), host_impl_->accumulated_root_overscroll()); gfx 3049 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, -20)); gfx 3050 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, -10), host_impl_->accumulated_root_overscroll()); gfx 3058 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 3075 cc/trees/layer_tree_host_impl_unittest.cc child_layer->SetScrollOffset(gfx::Vector2d(0, 3)); gfx 3076 cc/trees/layer_tree_host_impl_unittest.cc grand_child_layer->SetScrollOffset(gfx::Vector2d(0, 2)); gfx 3082 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, -10); gfx 3084 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), gfx 3086 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 3087 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3092 cc/trees/layer_tree_host_impl_unittest.cc scroll_delta = gfx::Vector2d(0, -30); gfx 3094 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 3097 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3098 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 3100 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3105 cc/trees/layer_tree_host_impl_unittest.cc scroll_delta = gfx::Vector2d(0, 70); gfx 3107 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 3110 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 3112 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3121 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 3122 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(20, 20); gfx 3141 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 8); gfx 3143 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(5, 5), gfx 3145 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 3146 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3147 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 3148 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, 6), host_impl_->accumulated_root_overscroll()); gfx 3149 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 3150 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, 14), host_impl_->accumulated_root_overscroll()); gfx 3159 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(50, 50)); gfx 3161 cc/trees/layer_tree_host_impl_unittest.cc clip_layer->SetBounds(gfx::Size(50, 50)); gfx 3162 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 3165 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(), host_impl_->accumulated_root_overscroll()); gfx 3169 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 3170 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, 10)); gfx 3171 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, 10), host_impl_->accumulated_root_overscroll()); gfx 3175 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(100, 100); gfx 3176 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(200, 200); gfx 3199 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(0, 0), InputHandler::Wheel)); gfx 3200 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2dF(0, 100)); gfx 3201 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 3203 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2dF(0, -2.30f)); gfx 3204 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 3210 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(0, 0), gfx 3213 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2dF(0, 20)); gfx 3214 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0.000000f, 17.699997f).ToString(), gfx 3217 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2dF(0.02f, -0.01f)); gfx 3218 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0.000000f, 17.699997f).ToString(), gfx 3224 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(0, 0), InputHandler::Wheel)); gfx 3225 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), gfx::Vector2dF(-0.12f, 0.1f)); gfx 3226 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 3246 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect opaque_rect; gfx 3251 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect visible_quad_rect = quad_rect_; gfx 3261 cc/trees/layer_tree_host_impl_unittest.cc gfx::RectF(0.f, 0.f, 1.f, 1.f), gfx 3262 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(1, 1), gfx 3278 cc/trees/layer_tree_host_impl_unittest.cc void SetQuadRect(const gfx::Rect& rect) { quad_rect_ = rect; } gfx 3279 cc/trees/layer_tree_host_impl_unittest.cc void SetQuadVisibleRect(const gfx::Rect& rect) { quad_visible_rect_ = rect; } gfx 3280 cc/trees/layer_tree_host_impl_unittest.cc void SetOpaqueContentRect(const gfx::Rect& rect) { gfx 3295 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(1, 1), gfx 3300 cc/trees/layer_tree_host_impl_unittest.cc SetAnchorPoint(gfx::PointF()); gfx 3301 cc/trees/layer_tree_host_impl_unittest.cc SetBounds(gfx::Size(10, 10)); gfx 3302 cc/trees/layer_tree_host_impl_unittest.cc SetContentBounds(gfx::Size(10, 10)); gfx 3309 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect quad_rect_; gfx 3310 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect opaque_content_rect_; gfx 3311 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect quad_visible_rect_; gfx 3319 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 3320 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 3333 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetPosition(gfx::PointF(2.f, 2.f)); gfx 3340 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3342 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3343 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3350 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3352 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3353 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3361 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3363 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3364 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3372 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3374 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3375 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3385 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetPosition(gfx::PointF(4.f, 4.f)); gfx 3391 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3395 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3397 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3398 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3407 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3409 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3411 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3412 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3422 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3424 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3426 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3427 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3440 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3442 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3444 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3445 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3455 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3459 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3461 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3462 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3471 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3475 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3477 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3478 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3488 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3492 cc/trees/layer_tree_host_impl_unittest.cc layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3494 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3495 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3502 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadRect(gfx::Rect(5, 5, 5, 5)); gfx 3503 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadVisibleRect(gfx::Rect(5, 5, 5, 5)); gfx 3504 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetOpaqueContentRect(gfx::Rect(5, 5, 2, 5)); gfx 3506 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3508 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3509 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3515 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadRect(gfx::Rect(5, 5, 5, 5)); gfx 3516 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadVisibleRect(gfx::Rect(5, 5, 5, 2)); gfx 3517 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetOpaqueContentRect(gfx::Rect(5, 5, 2, 5)); gfx 3519 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3521 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3522 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3528 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadRect(gfx::Rect(5, 5, 5, 5)); gfx 3529 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadVisibleRect(gfx::Rect(7, 5, 3, 5)); gfx 3530 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetOpaqueContentRect(gfx::Rect(5, 5, 2, 5)); gfx 3532 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3534 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3535 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3542 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadRect(gfx::Rect(5, 5, 5, 5)); gfx 3543 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetQuadVisibleRect(gfx::Rect(5, 5, 2, 5)); gfx 3544 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetOpaqueContentRect(gfx::Rect(5, 5, 2, 5)); gfx 3546 cc/trees/layer_tree_host_impl_unittest.cc layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); gfx 3548 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3549 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3585 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(viewport_size_); gfx 3589 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); gfx 3590 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); gfx 3594 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3607 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(0, 0, 0, 0); gfx 3611 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); gfx 3612 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); gfx 3616 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3629 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(500, 500, 200, 200); gfx 3633 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); gfx 3634 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); gfx 3638 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3651 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect layer_rect(viewport_size_.width() + 10, gfx 3656 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadRect(gfx::Rect(layer_rect.size())); gfx 3657 cc/trees/layer_tree_host_impl_unittest.cc child_->SetQuadVisibleRect(gfx::Rect(layer_rect.size())); gfx 3661 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3678 cc/trees/layer_tree_host_impl_unittest.cc void set_gutter_texture_size(const gfx::Size& gutter_texture_size) { gfx 3694 cc/trees/layer_tree_host_impl_unittest.cc quad_list, gfx::Rect(DipSizeToPixelSize(viewport_size_))); gfx 3703 cc/trees/layer_tree_host_impl_unittest.cc gfx::SizeF gutter_texture_size_pixels = gfx::ScaleSize( gfx 3716 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size DipSizeToPixelSize(const gfx::Size& size) { gfx 3717 cc/trees/layer_tree_host_impl_unittest.cc return gfx::ToRoundedSize( gfx 3718 cc/trees/layer_tree_host_impl_unittest.cc gfx::ScaleSize(size, host_impl_->device_scale_factor())); gfx 3722 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size gutter_texture_size_; gfx 3723 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size viewport_size_; gfx 3729 cc/trees/layer_tree_host_impl_unittest.cc viewport_size_ = gfx::Size(1000, 1000); gfx 3743 cc/trees/layer_tree_host_impl_unittest.cc viewport_size_ = gfx::Size(1000, 1000); gfx 3758 cc/trees/layer_tree_host_impl_unittest.cc viewport_size_ = gfx::Size(1000, 1000); gfx 3768 cc/trees/layer_tree_host_impl_unittest.cc UIResourceBitmap ui_resource_bitmap(gfx::Size(2, 2), is_opaque); gfx 3772 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetOverhangUIResource(ui_resource_id, gfx::Size(32, 32)); gfx 3774 cc/trees/layer_tree_host_impl_unittest.cc set_gutter_texture_size(gfx::Size(32, 32)); gfx 3782 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetOverhangUIResource(ui_resource_id, gfx::Size(128, 16)); gfx 3783 cc/trees/layer_tree_host_impl_unittest.cc set_gutter_texture_size(gfx::Size(128, 16)); gfx 3801 cc/trees/layer_tree_host_impl_unittest.cc viewport_size_ = gfx::Size(1000, 1000); gfx 3818 cc/trees/layer_tree_host_impl_unittest.cc viewport_size_ = gfx::Size(1000, 1000); gfx 3825 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size larger_viewport(viewport_size_.width() + 100, gfx 3865 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 3866 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 3867 cc/trees/layer_tree_host_impl_unittest.cc root->SetContentBounds(gfx::Size(10, 10)); gfx 3874 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(10, 10)); gfx 3877 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3878 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3886 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(20, 30)); gfx 3888 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3889 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3899 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 3900 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3934 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->SetViewportSize(gfx::Size(500, 500)); gfx 3940 cc/trees/layer_tree_host_impl_unittest.cc child->SetPosition(gfx::PointF(12.f, 13.f)); gfx 3941 cc/trees/layer_tree_host_impl_unittest.cc child->SetAnchorPoint(gfx::PointF()); gfx 3942 cc/trees/layer_tree_host_impl_unittest.cc child->SetBounds(gfx::Size(14, 15)); gfx 3943 cc/trees/layer_tree_host_impl_unittest.cc child->SetContentBounds(gfx::Size(14, 15)); gfx 3945 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 3946 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(500, 500)); gfx 3947 cc/trees/layer_tree_host_impl_unittest.cc root->SetContentBounds(gfx::Size(500, 500)); gfx 3956 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->PrepareToDraw(&frame, gfx::Rect())); gfx 3957 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3968 cc/trees/layer_tree_host_impl_unittest.cc gfx::PointF()); gfx 3970 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->PrepareToDraw(&frame, gfx::Rect())); gfx 3971 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 3980 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect expected_swap_rect(0, 500-28, 26, 28); gfx 3985 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->SetViewportSize(gfx::Size(10, 10)); gfx 3990 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->PrepareToDraw(&frame, gfx::Rect())); gfx 3991 cc/trees/layer_tree_host_impl_unittest.cc layer_tree_host_impl->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4004 cc/trees/layer_tree_host_impl_unittest.cc child->SetAnchorPoint(gfx::PointF()); gfx 4005 cc/trees/layer_tree_host_impl_unittest.cc child->SetBounds(gfx::Size(10, 10)); gfx 4006 cc/trees/layer_tree_host_impl_unittest.cc child->SetContentBounds(gfx::Size(10, 10)); gfx 4008 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 4009 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 4010 cc/trees/layer_tree_host_impl_unittest.cc root->SetContentBounds(gfx::Size(10, 10)); gfx 4020 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4038 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect quad_rect(content_bounds()); gfx 4039 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect visible_quad_rect(quad_rect); gfx 4158 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4159 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4172 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4173 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4197 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4198 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4205 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect(0, 0, 2, 3)); gfx 4213 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4214 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4237 cc/trees/layer_tree_host_impl_unittest.cc my_host_impl->SetViewportSize(gfx::Size(100, 100)); gfx 4264 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect root_rect(0, 0, 100, 100); gfx 4265 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect child_rect(10, 10, 50, 50); gfx 4266 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect grand_child_rect(5, 5, 150, 150); gfx 4269 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 4275 cc/trees/layer_tree_host_impl_unittest.cc root->render_surface()->SetContentRect(gfx::Rect(root_rect.size())); gfx 4277 cc/trees/layer_tree_host_impl_unittest.cc child->SetAnchorPoint(gfx::PointF()); gfx 4278 cc/trees/layer_tree_host_impl_unittest.cc child->SetPosition(gfx::PointF(child_rect.x(), child_rect.y())); gfx 4280 cc/trees/layer_tree_host_impl_unittest.cc child->SetBounds(gfx::Size(child_rect.width(), child_rect.height())); gfx 4286 cc/trees/layer_tree_host_impl_unittest.cc grand_child->SetAnchorPoint(gfx::PointF()); gfx 4312 cc/trees/layer_tree_host_impl_unittest.cc my_host_impl->PrepareToDraw(&frame, gfx::Rect())); gfx 4323 cc/trees/layer_tree_host_impl_unittest.cc my_host_impl->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4340 cc/trees/layer_tree_host_impl_unittest.cc my_host_impl->PrepareToDraw(&frame, gfx::Rect())); gfx 4351 cc/trees/layer_tree_host_impl_unittest.cc my_host_impl->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4366 cc/trees/layer_tree_host_impl_unittest.cc root_layer->SetBounds(gfx::Size(10, 10)); gfx 4367 cc/trees/layer_tree_host_impl_unittest.cc root_layer->SetAnchorPoint(gfx::PointF()); gfx 4371 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size(4, 4), 0x80, 0x80, 0x80, base::TimeDelta()); gfx 4376 cc/trees/layer_tree_host_impl_unittest.cc video_layer->SetBounds(gfx::Size(10, 10)); gfx 4377 cc/trees/layer_tree_host_impl_unittest.cc video_layer->SetAnchorPoint(gfx::PointF()); gfx 4378 cc/trees/layer_tree_host_impl_unittest.cc video_layer->SetContentBounds(gfx::Size(10, 10)); gfx 4384 cc/trees/layer_tree_host_impl_unittest.cc io_surface_layer->SetBounds(gfx::Size(10, 10)); gfx 4385 cc/trees/layer_tree_host_impl_unittest.cc io_surface_layer->SetAnchorPoint(gfx::PointF()); gfx 4386 cc/trees/layer_tree_host_impl_unittest.cc io_surface_layer->SetContentBounds(gfx::Size(10, 10)); gfx 4388 cc/trees/layer_tree_host_impl_unittest.cc io_surface_layer->SetIOSurfaceProperties(1, gfx::Size(10, 10)); gfx 4397 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4398 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4443 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4444 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4452 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4453 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4505 cc/trees/layer_tree_host_impl_unittest.cc void DrawFrameAndTestDamage(const gfx::RectF& expected_damage) { gfx 4510 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4527 cc/trees/layer_tree_host_impl_unittest.cc gfx::RectF expected_child_visible_rect(child->content_bounds()); gfx 4532 cc/trees/layer_tree_host_impl_unittest.cc gfx::RectF expected_root_visible_rect(root->content_bounds()); gfx 4537 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4546 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 4547 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 4548 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 4549 cc/trees/layer_tree_host_impl_unittest.cc root->SetContentBounds(gfx::Size(10, 10)); gfx 4555 cc/trees/layer_tree_host_impl_unittest.cc child->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 4556 cc/trees/layer_tree_host_impl_unittest.cc child->SetPosition(gfx::PointF(9.f, 9.f)); gfx 4557 cc/trees/layer_tree_host_impl_unittest.cc child->SetBounds(gfx::Size(1, 1)); gfx 4558 cc/trees/layer_tree_host_impl_unittest.cc child->SetContentBounds(gfx::Size(1, 1)); gfx 4565 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect full_frame_damage(host_impl_->DrawViewportSize()); gfx 4570 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect small_damage = gfx::Rect(0, 0, 1, 1); gfx 4575 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect no_damage; gfx 4634 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size root_size(100, 100); gfx 4637 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 4638 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 4640 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size scaling_layer_size(50, 50); gfx 4643 cc/trees/layer_tree_host_impl_unittest.cc scaling_layer->SetPosition(gfx::PointF()); gfx 4644 cc/trees/layer_tree_host_impl_unittest.cc scaling_layer->SetAnchorPoint(gfx::PointF()); gfx 4645 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform scale; gfx 4651 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetPosition(gfx::PointF()); gfx 4652 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetAnchorPoint(gfx::PointF()); gfx 4657 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetPosition(gfx::PointF()); gfx 4658 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetAnchorPoint(gfx::PointF()); gfx 4670 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4678 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 4680 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4683 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4691 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size device_viewport = gfx 4692 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToFlooredSize(gfx::ScaleSize(root_size, device_scale_factor)); gfx 4699 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4707 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 200, 200).ToString(), gfx 4709 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4712 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4719 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_bounds = gfx 4720 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToRoundedSize(gfx::ScaleSize(scaling_layer_size, gfx 4730 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4738 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 200, 200).ToString(), gfx 4740 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4743 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4767 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size root_size(100, 100); gfx 4770 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 4771 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 4773 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size layer_size(50, 50); gfx 4776 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetPosition(gfx::PointF()); gfx 4777 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetAnchorPoint(gfx::PointF()); gfx 4780 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size mask_size(100, 100); gfx 4783 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetPosition(gfx::PointF()); gfx 4784 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetAnchorPoint(gfx::PointF()); gfx 4794 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4802 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 50).ToString(), gfx 4804 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4807 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4814 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size device_viewport = gfx 4815 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToFlooredSize(gfx::ScaleSize(root_size, device_scale_factor)); gfx 4822 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4830 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 4832 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4835 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4841 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size layer_size_large = gfx 4842 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToRoundedSize(gfx::ScaleSize(layer_size, device_scale_factor)); gfx 4845 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size mask_size_large = gfx 4846 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToRoundedSize(gfx::ScaleSize(mask_size, device_scale_factor)); gfx 4853 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4861 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 4863 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4866 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4879 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4887 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 4889 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4892 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4921 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size root_size(100, 100); gfx 4924 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 4925 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 4927 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size layer_size(50, 50); gfx 4930 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetPosition(gfx::PointF()); gfx 4931 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetAnchorPoint(gfx::PointF()); gfx 4934 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size mask_size(100, 100); gfx 4937 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetPosition(gfx::PointF()); gfx 4938 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetAnchorPoint(gfx::PointF()); gfx 4948 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4957 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 50).ToString(), gfx 4959 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4962 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4969 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size device_viewport = gfx 4970 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToFlooredSize(gfx::ScaleSize(root_size, device_scale_factor)); gfx 4977 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 4986 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 4988 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 4991 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 4997 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size layer_size_large = gfx 4998 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToRoundedSize(gfx::ScaleSize(layer_size, device_scale_factor)); gfx 5001 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size mask_size_large = gfx 5002 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToRoundedSize(gfx::ScaleSize(mask_size, device_scale_factor)); gfx 5009 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5018 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 5020 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 5023 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5036 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5045 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 5047 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), gfx 5050 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5084 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size root_size(100, 100); gfx 5087 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 5088 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 5090 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size layer_size(50, 50); gfx 5093 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetPosition(gfx::PointF()); gfx 5094 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetAnchorPoint(gfx::PointF()); gfx 5097 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size child_size(50, 50); gfx 5100 cc/trees/layer_tree_host_impl_unittest.cc content_child_layer->SetPosition(gfx::Point(50, 0)); gfx 5101 cc/trees/layer_tree_host_impl_unittest.cc content_child_layer->SetAnchorPoint(gfx::PointF()); gfx 5104 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size mask_size(50, 50); gfx 5107 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetPosition(gfx::PointF()); gfx 5108 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetAnchorPoint(gfx::PointF()); gfx 5117 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5128 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 50).ToString(), gfx 5137 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 50).ToString(), gfx 5139 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 2.f, 1.f).ToString(), gfx 5142 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5148 cc/trees/layer_tree_host_impl_unittest.cc content_child_layer->SetPosition(gfx::Point(-50, 0)); gfx 5152 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5163 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(-50, 0, 100, 50).ToString(), gfx 5172 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(-50, 0, 100, 50).ToString(), gfx 5174 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::RectF(-1.f, 0.f, 2.f, 1.f).ToString(), gfx 5177 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5212 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size root_size(100, 100); gfx 5215 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 5216 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 5218 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect clipping_rect(20, 10, 10, 20); gfx 5222 cc/trees/layer_tree_host_impl_unittest.cc clipping_layer->SetAnchorPoint(gfx::PointF()); gfx 5225 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size layer_size(50, 50); gfx 5228 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetPosition(gfx::Point() - clipping_rect.OffsetFromOrigin()); gfx 5229 cc/trees/layer_tree_host_impl_unittest.cc content_layer->SetAnchorPoint(gfx::PointF()); gfx 5232 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size child_size(50, 50); gfx 5235 cc/trees/layer_tree_host_impl_unittest.cc content_child_layer->SetPosition(gfx::Point(50, 0)); gfx 5236 cc/trees/layer_tree_host_impl_unittest.cc content_child_layer->SetAnchorPoint(gfx::PointF()); gfx 5239 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size mask_size(100, 100); gfx 5242 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetPosition(gfx::PointF()); gfx 5243 cc/trees/layer_tree_host_impl_unittest.cc mask_layer->SetAnchorPoint(gfx::PointF()); gfx 5252 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5263 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Rect(20, 10, 10, 20).ToString(), gfx 5270 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::ScaleRect(gfx::RectF(20.f, 10.f, 10.f, 20.f), gfx 5274 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5289 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size root_size(2000, 1000); gfx 5290 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size device_viewport_size = gfx 5291 cc/trees/layer_tree_host_impl_unittest.cc gfx::ToCeiledSize(gfx::ScaleSize(root_size, device_scale_factor)); gfx 5309 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_layer_bounds(100000, 100); gfx 5310 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size pile_tile_size(3000, 3000); gfx 5323 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_offset(100000, 0); gfx 5334 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5341 cc/trees/layer_tree_host_impl_unittest.cc gfx::QuadF device_layer_quad; gfx 5347 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5369 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5383 cc/trees/layer_tree_host_impl_unittest.cc virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect) OVERRIDE { gfx 5403 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(50, 50)); gfx 5405 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)); gfx 5442 cc/trees/layer_tree_host_impl_unittest.cc video_layer->SetBounds(gfx::Size(10, 10)); gfx 5443 cc/trees/layer_tree_host_impl_unittest.cc video_layer->SetContentBounds(gfx::Size(10, 10)); gfx 5450 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5451 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5676 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(10, 10)); gfx 5700 cc/trees/layer_tree_host_impl_unittest.cc UIResourceBitmap bitmap(gfx::Size(1, 1), is_opaque); gfx 5743 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size size(4, 4); gfx 5782 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5783 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 5802 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 5803 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(20, 20); gfx 5823 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), gfx 5829 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 100); gfx 5830 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 5831 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 5847 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 5854 cc/trees/layer_tree_host_impl_unittest.cc grand_child->SetScrollOffset(gfx::Vector2d(0, 2)); gfx 5858 cc/trees/layer_tree_host_impl_unittest.cc child->SetScrollOffset(gfx::Vector2d(0, 4)); gfx 5873 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, -2); gfx 5875 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 5876 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), scroll_delta)); gfx 5886 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), scroll_delta)); gfx 5896 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), scroll_delta)); gfx 5906 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(host_impl_->ScrollBy(gfx::Point(), scroll_delta)); gfx 5915 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size surface_size(10, 10); gfx 5916 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size(20, 20); gfx 5934 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Wheel)); gfx 5939 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(0, 100); gfx 5940 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 5941 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 5950 cc/trees/layer_tree_host_impl_unittest.cc ExpectContains(*scroll_info.get(), root_scroll_id, gfx::Vector2d(0, 10)); gfx 5959 cc/trees/layer_tree_host_impl_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 5960 cc/trees/layer_tree_host_impl_unittest.cc root->SetPosition(gfx::PointF()); gfx 5961 cc/trees/layer_tree_host_impl_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 5962 cc/trees/layer_tree_host_impl_unittest.cc root->SetContentBounds(gfx::Size(10, 10)); gfx 5982 cc/trees/layer_tree_host_impl_unittest.cc gfx::Rect full_frame_damage(host_impl_->DrawViewportSize()); gfx 5985 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->PrepareToDraw(&frame, gfx::Rect())); gfx 5986 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); gfx 6049 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetNeedsRedrawRect(gfx::Rect(10, 10)); gfx 6061 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetNeedsRedrawRect(gfx::Rect()); gfx 6083 cc/trees/layer_tree_host_impl_unittest.cc SetupScrollAndContentsLayers(gfx::Size(100, 100)) gfx 6084 cc/trees/layer_tree_host_impl_unittest.cc ->SetScrollOffset(gfx::Vector2d(0, 10)); gfx 6090 cc/trees/layer_tree_host_impl_unittest.cc LayerImpl* scroll_layer = SetupScrollAndContentsLayers(gfx::Size(100, 200)); gfx 6091 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->SetViewportSize(gfx::Size(100, 100)); gfx 6095 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 6097 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 6103 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); gfx 6105 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 6111 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); gfx 6114 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, content_scroll).ToString(), gfx 6119 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); gfx 6122 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 6127 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_TRUE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); gfx 6129 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 6133 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_FALSE(host_impl_->ScrollBy(gfx::Point(), gfx::Vector2d(0, offset))); gfx 6135 cc/trees/layer_tree_host_impl_unittest.cc EXPECT_EQ(gfx::Vector2dF().ToString(), gfx 6143 cc/trees/layer_tree_host_impl_unittest.cc void SetupVirtualViewportLayers(const gfx::Size& content_size, gfx 6144 cc/trees/layer_tree_host_impl_unittest.cc const gfx::Size& outer_viewport, gfx 6145 cc/trees/layer_tree_host_impl_unittest.cc const gfx::Size& inner_viewport) { gfx 6156 cc/trees/layer_tree_host_impl_unittest.cc inner_scroll->SetScrollOffset(gfx::Vector2d()); gfx 6168 cc/trees/layer_tree_host_impl_unittest.cc inner_scroll->SetPosition(gfx::PointF()); gfx 6169 cc/trees/layer_tree_host_impl_unittest.cc inner_scroll->SetAnchorPoint(gfx::PointF()); gfx 6179 cc/trees/layer_tree_host_impl_unittest.cc outer_scroll->SetScrollOffset(gfx::Vector2d()); gfx 6182 cc/trees/layer_tree_host_impl_unittest.cc outer_scroll->SetPosition(gfx::PointF()); gfx 6183 cc/trees/layer_tree_host_impl_unittest.cc outer_scroll->SetAnchorPoint(gfx::PointF()); gfx 6190 cc/trees/layer_tree_host_impl_unittest.cc contents->SetPosition(gfx::PointF()); gfx 6191 cc/trees/layer_tree_host_impl_unittest.cc contents->SetAnchorPoint(gfx::PointF()); gfx 6208 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size content_size = gfx::Size(100, 160); gfx 6209 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size outer_viewport = gfx::Size(50, 80); gfx 6210 cc/trees/layer_tree_host_impl_unittest.cc gfx::Size inner_viewport = gfx::Size(25, 40); gfx 6218 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF inner_expected; gfx 6219 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2dF outer_expected; gfx 6225 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 6228 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d scroll_delta(inner_viewport.width(), inner_viewport.height()); gfx 6229 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 6230 cc/trees/layer_tree_host_impl_unittest.cc outer_expected += gfx::Vector2dF(scroll_delta.x(), scroll_delta.y()); gfx 6239 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBegin(gfx::Point(), InputHandler::Gesture)); gfx 6242 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 6243 cc/trees/layer_tree_host_impl_unittest.cc outer_expected += gfx::Vector2dF(scroll_delta.x(), scroll_delta.y()); gfx 6245 cc/trees/layer_tree_host_impl_unittest.cc host_impl_->ScrollBy(gfx::Point(), scroll_delta); gfx 6246 cc/trees/layer_tree_host_impl_unittest.cc inner_expected += gfx::Vector2dF(scroll_delta.x(), scroll_delta.y()); gfx 135 cc/trees/layer_tree_host_perftest.cc gfx::Size viewport = gfx::Size(720, 1038); gfx 231 cc/trees/layer_tree_host_perftest.cc static const gfx::Vector2d delta = gfx::Vector2d(0, 10); gfx 34 cc/trees/layer_tree_host_pixeltest_blending.cc CreateSolidColorLayer(gfx::Rect(kRootSize, kRootSize), kCSSOrange); gfx 38 cc/trees/layer_tree_host_pixeltest_blending.cc gfx::Rect child_rect( gfx 57 cc/trees/layer_tree_host_pixeltest_blending.cc CreateSolidColorLayer(gfx::Rect(kRootSize, kRootSize), kCSSBrown); gfx 60 cc/trees/layer_tree_host_pixeltest_blending.cc gfx::Rect(0, kLaneWidth * 2, kRootSize, kLaneWidth), kCSSOrange); gfx 67 cc/trees/layer_tree_host_pixeltest_blending.cc gfx::Rect child_rect( gfx 91 cc/trees/layer_tree_host_pixeltest_blending.cc CreateSolidColorLayer(gfx::Rect(kRootSize, kRootSize), kCSSOrange); gfx 96 cc/trees/layer_tree_host_pixeltest_blending.cc gfx::Rect child_rect( gfx 21 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 26 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(50, 50, 100, 100), kCSSGreen); gfx 28 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(30, 30, 140, 140), SK_ColorTRANSPARENT); gfx 59 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 67 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(1, 1, 198, 198), SK_ColorWHITE, 10, kCSSGreen); gfx 69 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(12, 12, 176, 176), SK_ColorTRANSPARENT); gfx 101 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 107 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(50, 50, 100, 100), kCSSGreen); gfx 109 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Rect(30, 30, 120, 120), SK_ColorTRANSPARENT, 1, SK_ColorBLACK); gfx 117 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Transform background_transform; gfx 126 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Transform blur_transform; gfx 164 cc/trees/layer_tree_host_pixeltest_filters.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorBLACK); gfx 167 cc/trees/layer_tree_host_pixeltest_filters.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorYELLOW); gfx 171 cc/trees/layer_tree_host_pixeltest_filters.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorRED); gfx 196 cc/trees/layer_tree_host_pixeltest_filters.cc gfx::Transform transform; gfx 30 cc/trees/layer_tree_host_pixeltest_masks.cc const gfx::Rect& rect, gfx 31 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::RectF* opaque_rect) OVERRIDE { gfx 38 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect inset_rect(rect); gfx 52 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 55 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(50, 50, 100, 100), kCSSGreen, 1, SK_ColorBLACK); gfx 60 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBounds(gfx::Size(100, 100)); gfx 73 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 78 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBounds(gfx::Size(100, 100)); gfx 86 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(100, 100), gfx 91 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(50, 50, 100, 100), kCSSGreen, 1, SK_ColorBLACK); gfx 103 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 107 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 108 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetPosition(gfx::Point(0, 0)); gfx 109 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetBounds(gfx::Size(200, 100)); gfx 114 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(50, 50, 100, 100), kCSSGreen, 1, SK_ColorBLACK); gfx 119 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBounds(gfx::Size(100, 100)); gfx 132 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 136 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBounds(gfx::Size(100, 100)); gfx 141 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(0, 0, 100, 100), kCSSGreen, 1, SK_ColorBLACK); gfx 145 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Transform replica_transform; gfx 149 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetAnchorPoint(gfx::PointF(0.5f, 0.5f)); gfx 150 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetPosition(gfx::Point(100, 100)); gfx 162 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 166 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBounds(gfx::Size(100, 100)); gfx 173 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 174 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetPosition(gfx::Point(0, 50)); gfx 175 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetBounds(gfx::Size(150, 150)); gfx 180 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(0, -50, 100, 100), kCSSGreen, 1, SK_ColorBLACK); gfx 184 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Transform replica_transform; gfx 188 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetAnchorPoint(gfx::PointF(0.5f, 0.5f)); gfx 189 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetPosition(gfx::Point(100, 100)); gfx 202 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 206 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBounds(gfx::Size(100, 100)); gfx 211 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(50, 0, 100, 100), kCSSGreen, 1, SK_ColorBLACK); gfx 215 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(-50, 50, 50, 50), kCSSOrange); gfx 218 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Transform replica_transform; gfx 223 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetAnchorPoint(gfx::PointF(1.f, 1.f)); gfx 224 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetPosition(gfx::Point()); gfx 237 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 241 cc/trees/layer_tree_host_pixeltest_masks.cc mask->SetBounds(gfx::Size(100, 100)); gfx 247 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 248 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetPosition(gfx::Point(0, 25)); gfx 249 cc/trees/layer_tree_host_pixeltest_masks.cc clip->SetBounds(gfx::Size(200, 150)); gfx 254 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(50, -25, 100, 100), kCSSGreen, 1, SK_ColorBLACK); gfx 258 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Rect(-50, 50, 50, 50), kCSSOrange); gfx 261 cc/trees/layer_tree_host_pixeltest_masks.cc gfx::Transform replica_transform; gfx 266 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetAnchorPoint(gfx::PointF(1.f, 1.f)); gfx 267 cc/trees/layer_tree_host_pixeltest_masks.cc replica->SetPosition(gfx::Point()); gfx 61 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc explicit BlueYellowLayerClient(gfx::Rect layer_rect) gfx 69 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc const gfx::Rect& clip, gfx 70 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc gfx::RectF* opaque) OVERRIDE { gfx 71 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc *opaque = gfx::RectF(layer_rect_.width(), layer_rect_.height()); gfx 89 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc gfx::Rect layer_rect_; gfx 95 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc gfx::Rect layer_rect(200, 200); gfx 100 cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc layer->SetAnchorPoint(gfx::PointF()); gfx 95 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect copy_subrect_; gfx 103 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 106 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 117 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 120 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 131 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 134 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 145 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 148 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 160 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 163 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 167 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 178 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 181 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 185 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 196 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 199 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 203 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 214 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 217 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 229 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 232 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 244 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 247 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 260 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 263 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorGREEN); gfx 275 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 278 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorGREEN); gfx 290 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 293 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorGREEN); gfx 306 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 309 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorGREEN); gfx 313 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 326 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 329 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorGREEN); gfx 333 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 345 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 348 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorGREEN); gfx 352 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 365 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 368 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorRED); gfx 372 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(-100, -100, 300, 300), SK_ColorGREEN); gfx 376 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 379 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(0, 0, 100, 100); gfx 390 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 393 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorRED); gfx 397 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(-100, -100, 300, 300), SK_ColorGREEN); gfx 401 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 404 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(0, 0, 100, 100); gfx 415 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 418 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 100, 100), SK_ColorRED); gfx 422 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(-100, -100, 300, 300), SK_ColorGREEN); gfx 426 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 429 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(0, 0, 100, 100); gfx 440 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 443 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 150, 150), SK_ColorRED); gfx 447 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 200, 200), SK_ColorGREEN); gfx 451 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 50, 50), SK_ColorBLUE); gfx 454 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 465 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 468 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 150, 150), SK_ColorRED); gfx 472 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 200, 200), SK_ColorGREEN); gfx 476 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 50, 50), SK_ColorBLUE); gfx 479 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 490 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 493 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 150, 150), SK_ColorRED); gfx 497 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(50, 50, 200, 200), SK_ColorGREEN); gfx 501 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 50, 50), SK_ColorBLUE); gfx 504 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 514 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorBLACK); gfx 517 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorGREEN); gfx 522 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 534 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorBLACK); gfx 537 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorGREEN); gfx 542 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 554 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorBLACK); gfx 557 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorGREEN); gfx 562 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 575 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorBLACK); gfx 578 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorGREEN); gfx 583 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 596 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorBLACK); gfx 599 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorGREEN); gfx 604 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 617 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorBLACK); gfx 620 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(200, 200), SK_ColorGREEN); gfx 625 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 637 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 640 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 644 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 50, 50), SK_ColorBLUE); gfx 648 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 658 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 661 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 665 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 50, 50), SK_ColorBLUE); gfx 669 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 679 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 682 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 686 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(100, 100, 50, 50), SK_ColorBLUE); gfx 690 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 700 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 703 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(25, 25, 150, 150), SK_ColorGREEN); gfx 707 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(75, 75, 50, 50), SK_ColorBLUE); gfx 711 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(25, 25, 100, 100); gfx 722 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 725 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(25, 25, 150, 150), SK_ColorGREEN); gfx 729 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(75, 75, 50, 50), SK_ColorBLUE); gfx 733 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(25, 25, 100, 100); gfx 744 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 747 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(25, 25, 150, 150), SK_ColorGREEN); gfx 751 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(75, 75, 50, 50), SK_ColorBLUE); gfx 755 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(25, 25, 100, 100); gfx 766 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 769 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 150, 150), SK_ColorRED); gfx 773 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 100, 100), SK_ColorGREEN); gfx 777 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 790 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 793 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 150, 150), SK_ColorRED); gfx 797 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 100, 100), SK_ColorGREEN); gfx 801 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 814 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 817 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 150, 150), SK_ColorRED); gfx 821 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 100, 100), SK_ColorGREEN); gfx 825 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 839 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 842 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorRED); gfx 847 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(250, 250, 100, 100), SK_ColorGREEN); gfx 851 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 865 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 868 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorRED); gfx 873 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(250, 250, 100, 100), SK_ColorGREEN); gfx 877 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 890 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorWHITE); gfx 893 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(0, 0, 200, 200), SK_ColorRED); gfx 898 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(250, 250, 100, 100), SK_ColorGREEN); gfx 902 cc/trees/layer_tree_host_pixeltest_readback.cc CreateSolidColorLayer(gfx::Rect(50, 50, 50, 50), SK_ColorBLUE); gfx 957 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 958 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(100, 100)); gfx 962 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 963 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(100, 100)); gfx 968 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 969 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(50, 50)); gfx 970 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(25, 25)); gfx 975 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(25, 25, 50, 50); gfx 988 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 989 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(100, 100)); gfx 993 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 994 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(100, 100)); gfx 999 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 1000 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(50, 50)); gfx 1001 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(25, 25)); gfx 1006 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(25, 25, 50, 50); gfx 1019 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 1020 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(100, 100)); gfx 1024 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 1025 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetPosition(gfx::Point(10, 20)); gfx 1026 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(90, 80)); gfx 1031 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 1032 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(50, 50)); gfx 1033 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(25, 25)); gfx 1038 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(25, 25, 50, 50); gfx 1052 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 1053 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(100, 100)); gfx 1057 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 1058 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetPosition(gfx::Point(10, 20)); gfx 1059 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(90, 80)); gfx 1064 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 1065 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(50, 50)); gfx 1066 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(25, 25)); gfx 1071 cc/trees/layer_tree_host_pixeltest_readback.cc copy_subrect_ = gfx::Rect(25, 25, 50, 50); gfx 1106 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect device_viewport_copy_rect( gfx 1137 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect device_viewport_copy_subrect_; gfx 1147 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 1148 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(200, 200)); gfx 1152 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 1153 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(200, 200)); gfx 1158 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 1159 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(100, 100)); gfx 1160 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(50, 50)); gfx 1165 cc/trees/layer_tree_host_pixeltest_readback.cc device_viewport_copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 1179 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 1180 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(100, 100)); gfx 1184 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 1185 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(100, 100)); gfx 1190 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 1191 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(50, 50)); gfx 1192 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(25, 25)); gfx 1197 cc/trees/layer_tree_host_pixeltest_readback.cc device_viewport_copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 1211 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 1212 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(200, 200)); gfx 1216 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 1217 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(200, 200)); gfx 1222 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 1223 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(100, 100)); gfx 1224 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(50, 50)); gfx 1229 cc/trees/layer_tree_host_pixeltest_readback.cc device_viewport_copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 1243 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetAnchorPoint(gfx::PointF()); gfx 1244 cc/trees/layer_tree_host_pixeltest_readback.cc background->SetBounds(gfx::Size(100, 100)); gfx 1248 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetAnchorPoint(gfx::PointF()); gfx 1249 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetBounds(gfx::Size(100, 100)); gfx 1254 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetAnchorPoint(gfx::PointF()); gfx 1255 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetPosition(gfx::Point(50, 50)); gfx 1256 cc/trees/layer_tree_host_pixeltest_readback.cc blue->SetBounds(gfx::Size(25, 25)); gfx 1261 cc/trees/layer_tree_host_pixeltest_readback.cc device_viewport_copy_subrect_ = gfx::Rect(50, 50, 100, 100); gfx 1274 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorWHITE); gfx 1277 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(200, 200), SK_ColorGREEN); gfx 1280 cc/trees/layer_tree_host_pixeltest_readback.cc green->SetPosition(gfx::Point(100, 100)); gfx 1284 cc/trees/layer_tree_host_pixeltest_readback.cc gfx::Rect(150, 150, 50, 50), SK_ColorBLUE); gfx 146 cc/trees/layer_tree_host_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 184 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(10, 10).ToString(), layer->bounds().ToString()); gfx 190 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(10, 10)); gfx 201 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(20, 20).ToString(), layer->bounds().ToString()); gfx 218 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(20, 20)); gfx 294 cc/trees/layer_tree_host_unittest.cc gfx::RectF root_damage_rect; gfx 300 cc/trees/layer_tree_host_unittest.cc EXPECT_RECT_EQ(root_damage_rect, gfx::Rect(bounds_)); gfx 322 cc/trees/layer_tree_host_unittest.cc const gfx::Size bounds_; gfx 323 cc/trees/layer_tree_host_unittest.cc const gfx::Rect invalid_rect_; gfx 338 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(10, 20)); gfx 341 cc/trees/layer_tree_host_unittest.cc scaled_layer_->SetBounds(gfx::Size(1, 1)); gfx 370 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(4, 4).ToString(), gfx 391 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(10, 20)); gfx 397 cc/trees/layer_tree_host_unittest.cc scrollbar_->SetPosition(gfx::Point(0, 10)); gfx 398 cc/trees/layer_tree_host_unittest.cc scrollbar_->SetBounds(gfx::Size(10, 10)); gfx 428 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(40, 40).ToString(), gfx 451 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 483 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 606 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 664 cc/trees/layer_tree_host_unittest.cc gfx::RectF root_damage_rect; gfx 670 cc/trees/layer_tree_host_unittest.cc EXPECT_RECT_EQ(gfx::Rect(bounds_), root_damage_rect); gfx 674 cc/trees/layer_tree_host_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root_damage_rect); gfx 680 cc/trees/layer_tree_host_unittest.cc EXPECT_RECT_EQ(gfx::Rect(bounds_), root_damage_rect); gfx 720 cc/trees/layer_tree_host_unittest.cc const gfx::Size bounds_; gfx 721 cc/trees/layer_tree_host_unittest.cc const gfx::Rect invalid_rect_; gfx 737 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(50, 50)); gfx 743 cc/trees/layer_tree_host_unittest.cc parent_layer_->SetBounds(gfx::Size(15, 15)); gfx 748 cc/trees/layer_tree_host_unittest.cc child_layer_->SetBounds(gfx::Size(25, 25)); gfx 762 cc/trees/layer_tree_host_unittest.cc gfx::RectF root_damage_rect; gfx 773 cc/trees/layer_tree_host_unittest.cc EXPECT_RECT_EQ(gfx::Rect(root_layer_->bounds()), root_damage_rect); gfx 778 cc/trees/layer_tree_host_unittest.cc EXPECT_RECT_EQ(gfx::Rect(child_layer_->bounds()), root_damage_rect); gfx 831 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(20, 20)); gfx 835 cc/trees/layer_tree_host_unittest.cc parent_layer_->SetBounds(gfx::Size(20, 20)); gfx 840 cc/trees/layer_tree_host_unittest.cc child_layer_->SetBounds(gfx::Size(15, 15)); gfx 856 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::SizeF(), child->content_bounds()); gfx 860 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::SizeF(15.f, 15.f), child->content_bounds()); gfx 919 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(0, 0)); gfx 923 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 928 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(1, 1)); gfx 1020 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 1066 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(20, 20)); gfx 1073 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(20, 20), impl->DrawViewportSize()); gfx 1094 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(20, 20)); gfx 1156 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(20, 20)); gfx 1170 cc/trees/layer_tree_host_unittest.cc while (first_frame_time_ == gfx::FrameTime::Now()) { gfx 1219 cc/trees/layer_tree_host_unittest.cc scroll_layer_->SetBounds(gfx::Size(2 * root_layer->bounds().width(), gfx 1221 cc/trees/layer_tree_host_unittest.cc scroll_layer_->SetScrollOffset(gfx::Vector2d()); gfx 1232 cc/trees/layer_tree_host_unittest.cc virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 1234 cc/trees/layer_tree_host_unittest.cc gfx::Vector2d offset = scroll_layer_->scroll_offset(); gfx 1263 cc/trees/layer_tree_host_unittest.cc gfx::Vector2d(), false, 1.25f, base::TimeDelta()); gfx 1309 cc/trees/layer_tree_host_unittest.cc virtual void PaintContents(SkCanvas*, const gfx::Rect&, gfx 1310 cc/trees/layer_tree_host_unittest.cc gfx::RectF*) OVERRIDE { gfx 1342 cc/trees/layer_tree_host_unittest.cc SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 1343 cc/trees/layer_tree_host_unittest.cc SetBounds(gfx::Size(10, 10)); gfx 1363 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(10, 10)); gfx 1397 cc/trees/layer_tree_host_unittest.cc gfx::Size* contentBounds) OVERRIDE { gfx 1422 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(60, 60)); gfx 1424 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(60, 60), layer_tree_host()->device_viewport_size()); gfx 1429 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(30, 30)); gfx 1430 cc/trees/layer_tree_host_unittest.cc root_layer_->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 1433 cc/trees/layer_tree_host_unittest.cc child_layer_->SetPosition(gfx::Point(2, 2)); gfx 1434 cc/trees/layer_tree_host_unittest.cc child_layer_->SetBounds(gfx::Size(10, 10)); gfx 1435 cc/trees/layer_tree_host_unittest.cc child_layer_->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 1452 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(60, 60), impl->DrawViewportSize()); gfx 1458 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Point(0, 0), root->position()); gfx 1459 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Point(2, 2), child->position()); gfx 1463 cc/trees/layer_tree_host_unittest.cc impl->PrepareToDraw(&frame_data, gfx::Rect()); gfx 1476 cc/trees/layer_tree_host_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 60, 60), gfx 1480 cc/trees/layer_tree_host_unittest.cc gfx::Size child_bounds_scaled = gfx 1481 cc/trees/layer_tree_host_unittest.cc gfx::ToCeiledSize(gfx::ScaleSize(child->bounds(), 1.5)); gfx 1484 cc/trees/layer_tree_host_unittest.cc gfx::Transform scale_transform; gfx 1489 cc/trees/layer_tree_host_unittest.cc gfx::Transform root_screen_space_transform = scale_transform; gfx 1490 cc/trees/layer_tree_host_unittest.cc gfx::Transform root_draw_transform = scale_transform; gfx 1496 cc/trees/layer_tree_host_unittest.cc gfx::Transform child_screen_space_transform; gfx 1498 cc/trees/layer_tree_host_unittest.cc gfx::Transform child_draw_transform = child_screen_space_transform; gfx 1531 cc/trees/layer_tree_host_unittest.cc layer_->SetBounds(gfx::Size(10, 20)); gfx 1537 cc/trees/layer_tree_host_unittest.cc scrollbar_->SetPosition(gfx::Point(0, 10)); gfx 1538 cc/trees/layer_tree_host_unittest.cc scrollbar_->SetBounds(gfx::Size(10, 10)); gfx 1678 cc/trees/layer_tree_host_unittest.cc const gfx::Transform& transform, gfx 1679 cc/trees/layer_tree_host_unittest.cc const gfx::PointF& anchor, gfx 1680 cc/trees/layer_tree_host_unittest.cc const gfx::PointF& position, gfx 1681 cc/trees/layer_tree_host_unittest.cc const gfx::Size& bounds, gfx 1706 cc/trees/layer_tree_host_unittest.cc parent_->SetBounds(gfx::Size(10, 20)); gfx 1709 cc/trees/layer_tree_host_unittest.cc child_->SetPosition(gfx::Point(0, 10)); gfx 1710 cc/trees/layer_tree_host_unittest.cc child_->SetBounds(gfx::Size(3, 10)); gfx 1728 cc/trees/layer_tree_host_unittest.cc parent_->SetNeedsDisplayRect(gfx::RectF(0.f, 0.f, 5.f, 5.f)); gfx 1729 cc/trees/layer_tree_host_unittest.cc child_->SetNeedsDisplayRect(gfx::RectF(0.f, 0.f, 5.f, 5.f)); gfx 1733 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(10, 10)); gfx 1736 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(10, 20)); gfx 1915 cc/trees/layer_tree_host_unittest.cc gfx::Rect(0, 0, 1, 1)); gfx 1931 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(100, 100)); gfx 1934 cc/trees/layer_tree_host_unittest.cc surface_layer1_->SetBounds(gfx::Size(100, 100)); gfx 1940 cc/trees/layer_tree_host_unittest.cc surface_layer2_->SetBounds(gfx::Size(100, 100)); gfx 2045 cc/trees/layer_tree_host_unittest.cc texture_->SetDimensions(gfx::Size(10, 10), RGBA_8888); gfx 2089 cc/trees/layer_tree_host_unittest.cc gfx::Rect full_rect(0, 0, 10, 10); gfx 2091 cc/trees/layer_tree_host_unittest.cc texture_.get(), &bitmap_, full_rect, full_rect, gfx::Vector2d()); gfx 2119 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(10, 20)); gfx 2121 cc/trees/layer_tree_host_unittest.cc gfx::Transform identity_matrix; gfx 2125 cc/trees/layer_tree_host_unittest.cc gfx::PointF(0.f, 0.f), gfx 2126 cc/trees/layer_tree_host_unittest.cc gfx::PointF(0.f, 0.f), gfx 2127 cc/trees/layer_tree_host_unittest.cc gfx::Size(10, 20), gfx 2245 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(10, 10)); gfx 2246 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->root_layer()->SetBounds(gfx::Size(10, 10)); gfx 2286 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(10, 10)); gfx 2287 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->root_layer()->SetBounds(gfx::Size(10, 10)); gfx 2290 cc/trees/layer_tree_host_unittest.cc content_layer_->SetBounds(gfx::Size(10, 10)); gfx 2291 cc/trees/layer_tree_host_unittest.cc content_layer_->SetPosition(gfx::PointF(0.f, 0.f)); gfx 2292 cc/trees/layer_tree_host_unittest.cc content_layer_->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 2504 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(100, 100)); gfx 2505 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(100, 100)); gfx 2506 cc/trees/layer_tree_host_unittest.cc child_layer1_->SetBounds(gfx::Size(100, 100)); gfx 2507 cc/trees/layer_tree_host_unittest.cc child_layer2_->SetBounds(gfx::Size(100, 100)); gfx 2590 cc/trees/layer_tree_host_unittest.cc const gfx::Rect& clip, gfx 2591 cc/trees/layer_tree_host_unittest.cc gfx::RectF* opaque) OVERRIDE { gfx 2609 cc/trees/layer_tree_host_unittest.cc root_layer->SetBounds(gfx::Size(1, 1)); gfx 2802 cc/trees/layer_tree_host_unittest.cc layer->SetTransform(gfx::Transform(0.0, 0.0, 0.0, 0.0, 0.0, 0.0)); gfx 2803 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(10, 10)); gfx 2831 cc/trees/layer_tree_host_unittest.cc const gfx::Rect& clip, gfx 2832 cc/trees/layer_tree_host_unittest.cc gfx::RectF* opaque) OVERRIDE { gfx 2833 cc/trees/layer_tree_host_unittest.cc layer_->SetBounds(gfx::Size(2, 2)); gfx 2849 cc/trees/layer_tree_host_unittest.cc root_layer->SetBounds(gfx::Size(1, 1)); gfx 2864 cc/trees/layer_tree_host_unittest.cc EXPECT_SIZE_EQ(gfx::Size(1, 1), root_layer->bounds()); gfx 2867 cc/trees/layer_tree_host_unittest.cc EXPECT_SIZE_EQ(gfx::Size(2, 2), root_layer->bounds()); gfx 2925 cc/trees/layer_tree_host_unittest.cc io_surface_size_ = gfx::Size(6, 7); gfx 2928 cc/trees/layer_tree_host_unittest.cc io_surface_layer->SetBounds(gfx::Size(10, 10)); gfx 2929 cc/trees/layer_tree_host_unittest.cc io_surface_layer->SetAnchorPoint(gfx::PointF()); gfx 2997 cc/trees/layer_tree_host_unittest.cc gfx::Size io_surface_size_; gfx 3051 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->CompositeAndReadback(pixels, gfx::Rect(0, 0, 1, 1)); gfx 3313 cc/trees/layer_tree_host_unittest.cc SetAnchorPoint(gfx::PointF()); gfx 3314 cc/trees/layer_tree_host_unittest.cc SetBounds(gfx::Size(1, 1)); gfx 3347 cc/trees/layer_tree_host_unittest.cc SetAnchorPoint(gfx::PointF()); gfx 3348 cc/trees/layer_tree_host_unittest.cc SetBounds(gfx::Size(1, 1)); gfx 3483 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(20, 20)); gfx 3491 cc/trees/layer_tree_host_unittest.cc child_->SetPosition(gfx::Point(1, 1)); gfx 3496 cc/trees/layer_tree_host_unittest.cc child2_->SetPosition(gfx::Point(1, 1)); gfx 3508 cc/trees/layer_tree_host_unittest.cc grandchild_->SetPosition(gfx::Point(1, 1)); gfx 3756 cc/trees/layer_tree_host_unittest.cc root_->SetBounds(gfx::Size(1, 1)); gfx 3781 cc/trees/layer_tree_host_unittest.cc scrollbar_layer_->SetBounds(gfx::Size(30, 30)); gfx 3911 cc/trees/layer_tree_host_unittest.cc grandchild1_->SetPosition(gfx::Point(1, 1)); gfx 3935 cc/trees/layer_tree_host_unittest.cc grandchild2_->SetPosition(gfx::Point(1, 1)); gfx 4043 cc/trees/layer_tree_host_unittest.cc grandchild1_->SetPosition(gfx::Point(1, 1)); gfx 4044 cc/trees/layer_tree_host_unittest.cc grandchild2_->SetPosition(gfx::Point(1, 1)); gfx 4109 cc/trees/layer_tree_host_unittest.cc child_->SetPosition(gfx::Point(1, 1)); gfx 4110 cc/trees/layer_tree_host_unittest.cc grandchild1_->SetPosition(gfx::Point(1, 1)); gfx 4111 cc/trees/layer_tree_host_unittest.cc grandchild2_->SetPosition(gfx::Point(1, 1)); gfx 4173 cc/trees/layer_tree_host_unittest.cc grandchild1_->SetPosition(gfx::Point(1, 1)); gfx 4174 cc/trees/layer_tree_host_unittest.cc grandchild2_->SetPosition(gfx::Point(1, 1)); gfx 4175 cc/trees/layer_tree_host_unittest.cc child_->SetPosition(gfx::Point(1, 1)); gfx 4333 cc/trees/layer_tree_host_unittest.cc video_layer->SetBounds(gfx::Size(10, 10)); gfx 4355 cc/trees/layer_tree_host_unittest.cc layer->SetBounds(gfx::Size(10, 10)); gfx 4373 cc/trees/layer_tree_host_unittest.cc root_layer_->SetAnchorPoint(gfx::PointF()); gfx 4374 cc/trees/layer_tree_host_unittest.cc root_layer_->SetPosition(gfx::Point()); gfx 4375 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(10, 10)); gfx 4378 cc/trees/layer_tree_host_unittest.cc parent_layer_->SetAnchorPoint(gfx::PointF()); gfx 4379 cc/trees/layer_tree_host_unittest.cc parent_layer_->SetPosition(gfx::Point()); gfx 4380 cc/trees/layer_tree_host_unittest.cc parent_layer_->SetBounds(gfx::Size(10, 10)); gfx 4385 cc/trees/layer_tree_host_unittest.cc child_layer_->SetAnchorPoint(gfx::PointF()); gfx 4386 cc/trees/layer_tree_host_unittest.cc child_layer_->SetPosition(gfx::Point()); gfx 4387 cc/trees/layer_tree_host_unittest.cc child_layer_->SetBounds(gfx::Size(10, 10)); gfx 4406 cc/trees/layer_tree_host_unittest.cc child_layer_->SetBounds(gfx::Size(5, 5)); gfx 4424 cc/trees/layer_tree_host_unittest.cc EXPECT_EQ(gfx::Size(5, 5).ToString(), child->bounds().ToString()); gfx 4446 cc/trees/layer_tree_host_unittest.cc root_layer_->SetAnchorPoint(gfx::PointF()); gfx 4447 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(10, 10)); gfx 4456 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetViewportSize(gfx::Size(0, 0)); gfx 4483 cc/trees/layer_tree_host_unittest.cc root_layer->SetBounds(gfx::Size(200, 200)); gfx 4540 cc/trees/layer_tree_host_unittest.cc settings->default_tile_size = gfx::Size(128, 128); gfx 4554 cc/trees/layer_tree_host_unittest.cc root_layer->SetBounds(gfx::Size(6000, 6000)); gfx 4706 cc/trees/layer_tree_host_unittest.cc root->SetAnchorPoint(gfx::PointF()); gfx 4707 cc/trees/layer_tree_host_unittest.cc root->SetBounds(gfx::Size(10, 10)); gfx 4749 cc/trees/layer_tree_host_unittest.cc root_layer_->SetBounds(gfx::Size(10, 10)); gfx 4811 cc/trees/layer_tree_host_unittest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 5111 cc/trees/layer_tree_host_unittest.cc parent->SetBounds(gfx::Size(10, 10)); gfx 5115 cc/trees/layer_tree_host_unittest.cc child->SetBounds(gfx::Size(10, 10)); gfx 5166 cc/trees/layer_tree_host_unittest.cc parent->SetBounds(gfx::Size(10, 10)); gfx 5170 cc/trees/layer_tree_host_unittest.cc child->SetBounds(gfx::Size(10, 10)); gfx 5282 cc/trees/layer_tree_host_unittest.cc const gfx::Size bounds_; gfx 499 cc/trees/layer_tree_host_unittest_animation.cc content_->SetBounds(gfx::Size(4, 4)); gfx 554 cc/trees/layer_tree_host_unittest_animation.cc content_->SetBounds(gfx::Size(4, 4)); gfx 748 cc/trees/layer_tree_host_unittest_animation.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 955 cc/trees/layer_tree_host_unittest_animation.cc content_->SetBounds(gfx::Size(4, 4)); gfx 961 cc/trees/layer_tree_host_unittest_animation.cc layer_tree_host()->SetViewportSize(gfx::Size()); gfx 1000 cc/trees/layer_tree_host_unittest_animation.cc content_->SetBounds(gfx::Size(4, 4)); gfx 1049 cc/trees/layer_tree_host_unittest_animation.cc content_->SetBounds(gfx::Size(4, 4)); gfx 1136 cc/trees/layer_tree_host_unittest_animation.cc scroll_layer_->SetBounds(gfx::Size(1000, 1000)); gfx 1137 cc/trees/layer_tree_host_unittest_animation.cc scroll_layer_->SetScrollOffset(gfx::Vector2d(10, 20)); gfx 1150 cc/trees/layer_tree_host_unittest_animation.cc gfx::Vector2dF(500.f, 550.f), gfx 380 cc/trees/layer_tree_host_unittest_context.cc root_->SetBounds(gfx::Size(10, 10)); gfx 381 cc/trees/layer_tree_host_unittest_context.cc root_->SetAnchorPoint(gfx::PointF()); gfx 385 cc/trees/layer_tree_host_unittest_context.cc content_->SetBounds(gfx::Size(10, 10)); gfx 386 cc/trees/layer_tree_host_unittest_context.cc content_->SetAnchorPoint(gfx::PointF()); gfx 584 cc/trees/layer_tree_host_unittest_context.cc root_->SetBounds(gfx::Size(10, 10)); gfx 585 cc/trees/layer_tree_host_unittest_context.cc root_->SetAnchorPoint(gfx::PointF()); gfx 589 cc/trees/layer_tree_host_unittest_context.cc content_->SetBounds(gfx::Size(10, 10)); gfx 590 cc/trees/layer_tree_host_unittest_context.cc content_->SetAnchorPoint(gfx::PointF()); gfx 683 cc/trees/layer_tree_host_unittest_context.cc layer_->SetBounds(gfx::Size(10, 20)); gfx 827 cc/trees/layer_tree_host_unittest_context.cc parent_->SetBounds(gfx::Size(num_children_, 1)); gfx 832 cc/trees/layer_tree_host_unittest_context.cc child->SetPosition(gfx::PointF(i, 0.f)); gfx 833 cc/trees/layer_tree_host_unittest_context.cc child->SetBounds(gfx::Size(1, 1)); gfx 954 cc/trees/layer_tree_host_unittest_context.cc gfx::Rect(0, 0, 10, 10), gfx 955 cc/trees/layer_tree_host_unittest_context.cc gfx::Rect(0, 0, 10, 10), gfx 956 cc/trees/layer_tree_host_unittest_context.cc gfx::Transform()); gfx 960 cc/trees/layer_tree_host_unittest_context.cc gfx::Rect(0, 0, 10, 10), gfx 961 cc/trees/layer_tree_host_unittest_context.cc gfx::Rect(0, 0, 10, 10), gfx 962 cc/trees/layer_tree_host_unittest_context.cc gfx::Transform()); gfx 975 cc/trees/layer_tree_host_unittest_context.cc gfx::Size(4, 4), gfx 987 cc/trees/layer_tree_host_unittest_context.cc root->SetBounds(gfx::Size(10, 10)); gfx 988 cc/trees/layer_tree_host_unittest_context.cc root->SetAnchorPoint(gfx::PointF()); gfx 993 cc/trees/layer_tree_host_unittest_context.cc delegated->SetBounds(gfx::Size(10, 10)); gfx 994 cc/trees/layer_tree_host_unittest_context.cc delegated->SetAnchorPoint(gfx::PointF()); gfx 999 cc/trees/layer_tree_host_unittest_context.cc content->SetBounds(gfx::Size(10, 10)); gfx 1000 cc/trees/layer_tree_host_unittest_context.cc content->SetAnchorPoint(gfx::PointF()); gfx 1005 cc/trees/layer_tree_host_unittest_context.cc texture->SetBounds(gfx::Size(10, 10)); gfx 1006 cc/trees/layer_tree_host_unittest_context.cc texture->SetAnchorPoint(gfx::PointF()); gfx 1016 cc/trees/layer_tree_host_unittest_context.cc mask->SetBounds(gfx::Size(10, 10)); gfx 1017 cc/trees/layer_tree_host_unittest_context.cc mask->SetAnchorPoint(gfx::PointF()); gfx 1021 cc/trees/layer_tree_host_unittest_context.cc content_with_mask->SetBounds(gfx::Size(10, 10)); gfx 1022 cc/trees/layer_tree_host_unittest_context.cc content_with_mask->SetAnchorPoint(gfx::PointF()); gfx 1029 cc/trees/layer_tree_host_unittest_context.cc video_color->SetBounds(gfx::Size(10, 10)); gfx 1030 cc/trees/layer_tree_host_unittest_context.cc video_color->SetAnchorPoint(gfx::PointF()); gfx 1036 cc/trees/layer_tree_host_unittest_context.cc video_hw->SetBounds(gfx::Size(10, 10)); gfx 1037 cc/trees/layer_tree_host_unittest_context.cc video_hw->SetAnchorPoint(gfx::PointF()); gfx 1043 cc/trees/layer_tree_host_unittest_context.cc video_scaled_hw->SetBounds(gfx::Size(10, 10)); gfx 1044 cc/trees/layer_tree_host_unittest_context.cc video_scaled_hw->SetAnchorPoint(gfx::PointF()); gfx 1049 cc/trees/layer_tree_host_unittest_context.cc gfx::Size(4, 4), 0x80, 0x80, 0x80, base::TimeDelta()); gfx 1054 cc/trees/layer_tree_host_unittest_context.cc gfx::Size(4, 4), gfx 1055 cc/trees/layer_tree_host_unittest_context.cc gfx::Rect(0, 0, 4, 4), gfx 1056 cc/trees/layer_tree_host_unittest_context.cc gfx::Size(4, 4), gfx 1063 cc/trees/layer_tree_host_unittest_context.cc gfx::Size(4, 4), gfx 1064 cc/trees/layer_tree_host_unittest_context.cc gfx::Rect(0, 0, 3, 2), gfx 1065 cc/trees/layer_tree_host_unittest_context.cc gfx::Size(4, 4), gfx 1076 cc/trees/layer_tree_host_unittest_context.cc io_surface->SetBounds(gfx::Size(10, 10)); gfx 1077 cc/trees/layer_tree_host_unittest_context.cc io_surface->SetAnchorPoint(gfx::PointF()); gfx 1079 cc/trees/layer_tree_host_unittest_context.cc io_surface->SetIOSurfaceProperties(1, gfx::Size(10, 10)); gfx 1091 cc/trees/layer_tree_host_unittest_context.cc scrollbar->SetBounds(gfx::Size(10, 10)); gfx 1092 cc/trees/layer_tree_host_unittest_context.cc scrollbar->SetAnchorPoint(gfx::PointF()); gfx 1191 cc/trees/layer_tree_host_unittest_context.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(1, 1)); gfx 1368 cc/trees/layer_tree_host_unittest_context.cc layer_tree_host()->CompositeAndReadback(&pixels, gfx::Rect(0, 0, 1, 1)); gfx 1420 cc/trees/layer_tree_host_unittest_context.cc root->SetBounds(gfx::Size(10, 10)); gfx 1421 cc/trees/layer_tree_host_unittest_context.cc root->SetAnchorPoint(gfx::PointF()); gfx 1425 cc/trees/layer_tree_host_unittest_context.cc picture->SetBounds(gfx::Size(10, 10)); gfx 1426 cc/trees/layer_tree_host_unittest_context.cc picture->SetAnchorPoint(gfx::PointF()); gfx 1460 cc/trees/layer_tree_host_unittest_context.cc scrollbar_layer_->SetBounds(gfx::Size(10, 100)); gfx 1931 cc/trees/layer_tree_host_unittest_context.cc layer_->SetBounds(gfx::Size(10, 20)); gfx 26 cc/trees/layer_tree_host_unittest_copyrequest.cc root->SetBounds(gfx::Size(20, 20)); gfx 29 cc/trees/layer_tree_host_unittest_copyrequest.cc child->SetBounds(gfx::Size(10, 10)); gfx 63 cc/trees/layer_tree_host_unittest_copyrequest.cc EXPECT_EQ(gfx::Size(10, 10).ToString(), callbacks_[0].ToString()); gfx 86 cc/trees/layer_tree_host_unittest_copyrequest.cc EXPECT_EQ(gfx::Size(10, 10).ToString(), callbacks_[1].ToString()); gfx 87 cc/trees/layer_tree_host_unittest_copyrequest.cc EXPECT_EQ(gfx::Size(10, 10).ToString(), callbacks_[2].ToString()); gfx 89 cc/trees/layer_tree_host_unittest_copyrequest.cc EXPECT_EQ(gfx::Size(20, 20).ToString(), callbacks_[3].ToString()); gfx 100 cc/trees/layer_tree_host_unittest_copyrequest.cc gfx::Size(bitmap->width(), bitmap->height()).ToString()); gfx 115 cc/trees/layer_tree_host_unittest_copyrequest.cc std::vector<gfx::Size> callbacks_; gfx 151 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 154 cc/trees/layer_tree_host_unittest_copyrequest.cc main_destroyed_->SetBounds(gfx::Size(15, 15)); gfx 158 cc/trees/layer_tree_host_unittest_copyrequest.cc impl_destroyed_->SetBounds(gfx::Size(10, 10)); gfx 192 cc/trees/layer_tree_host_unittest_copyrequest.cc layer_tree_host()->SetViewportSize(gfx::Size()); gfx 243 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 246 cc/trees/layer_tree_host_unittest_copyrequest.cc grand_parent_layer_->SetBounds(gfx::Size(15, 15)); gfx 251 cc/trees/layer_tree_host_unittest_copyrequest.cc parent_layer_->SetBounds(gfx::Size(15, 15)); gfx 256 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 342 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 345 cc/trees/layer_tree_host_unittest_copyrequest.cc grand_parent_layer_->SetBounds(gfx::Size(15, 15)); gfx 351 cc/trees/layer_tree_host_unittest_copyrequest.cc parent_layer_->SetBounds(gfx::Size(15, 15)); gfx 356 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 420 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 423 cc/trees/layer_tree_host_unittest_copyrequest.cc parent_layer_->SetBounds(gfx::Size(15, 15)); gfx 428 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetPosition(gfx::Point(15, 15)); gfx 429 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 448 cc/trees/layer_tree_host_unittest_copyrequest.cc EXPECT_EQ(gfx::Size().ToString(), result->size().ToString()); gfx 468 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 471 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 491 cc/trees/layer_tree_host_unittest_copyrequest.cc layer_tree_host()->SetViewportSize(gfx::Size(0, 0)); gfx 507 cc/trees/layer_tree_host_unittest_copyrequest.cc layer_tree_host()->SetViewportSize(gfx::Size(root_->bounds())); gfx 551 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 554 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 565 cc/trees/layer_tree_host_unittest_copyrequest.cc EXPECT_EQ(gfx::Size(10, 10).ToString(), result->size().ToString()); gfx 675 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 678 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 830 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 833 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 870 cc/trees/layer_tree_host_unittest_copyrequest.cc layer_tree_host()->SetViewportSize(gfx::Size()); gfx 907 cc/trees/layer_tree_host_unittest_copyrequest.cc root_->SetBounds(gfx::Size(20, 20)); gfx 910 cc/trees/layer_tree_host_unittest_copyrequest.cc copy_layer_->SetBounds(gfx::Size(10, 10)); gfx 947 cc/trees/layer_tree_host_unittest_copyrequest.cc layer_tree_host()->SetViewportSize(gfx::Size()); gfx 32 cc/trees/layer_tree_host_unittest_damage.cc root->SetBounds(gfx::Size(10, 10)); gfx 59 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF root_damage = gfx 65 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(10.f, 10.f).ToString(), root_damage.ToString()); gfx 69 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(10.f, 10.f).ToString(), root_damage.ToString()); gfx 94 cc/trees/layer_tree_host_unittest_damage.cc root->SetBounds(gfx::Size(10, 10)); gfx 108 cc/trees/layer_tree_host_unittest_damage.cc layer_tree_host()->SetViewportSize(gfx::Size(15, 15)); gfx 121 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF root_damage = gfx 127 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(10.f, 10.f).ToString(), root_damage.ToString()); gfx 131 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(15.f, 15.f).ToString(), root_damage.ToString()); gfx 161 cc/trees/layer_tree_host_unittest_damage.cc root->SetBounds(gfx::Size(10, 10)); gfx 165 cc/trees/layer_tree_host_unittest_damage.cc content_->SetBounds(gfx::Size(2000, 100)); gfx 217 cc/trees/layer_tree_host_unittest_damage.cc gfx::Rect(layer_tree_host()->device_viewport_size())); gfx 221 cc/trees/layer_tree_host_unittest_damage.cc content_->SetNeedsDisplayRect(gfx::Rect(1990, 1990, 10, 10)); gfx 251 cc/trees/layer_tree_host_unittest_damage.cc root->SetBounds(gfx::Size(10, 10)); gfx 255 cc/trees/layer_tree_host_unittest_damage.cc content_->SetBounds(gfx::Size(100, 100)); gfx 278 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF root_damage = gfx 281 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_TRUE(root_damage.Contains(gfx::Rect(3, 3, 1, 1))); gfx 300 cc/trees/layer_tree_host_unittest_damage.cc gfx::Rect(3, 3, 1, 1)); gfx 324 cc/trees/layer_tree_host_unittest_damage.cc root_->SetBounds(gfx::Size(500, 500)); gfx 325 cc/trees/layer_tree_host_unittest_damage.cc child_->SetPosition(gfx::Point(100, 100)); gfx 326 cc/trees/layer_tree_host_unittest_damage.cc child_->SetBounds(gfx::Size(30, 30)); gfx 341 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF root_damage = gfx 349 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(), gfx 355 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF().ToString(), root_damage.ToString()); gfx 363 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(), gfx 368 cc/trees/layer_tree_host_unittest_damage.cc child_damage_rect_ = gfx::RectF(10, 11, 12, 13); gfx 373 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(100+10, 100+11, 12, 13).ToString(), gfx 385 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF paint_rect = child_->LastPaintRect(); gfx 387 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(100, 100, 30, 30).ToString(), gfx 394 cc/trees/layer_tree_host_unittest_damage.cc child_damage_rect_ = gfx::RectF(10, 11, 12, 13); gfx 399 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_EQ(gfx::RectF(root_surface->content_rect()).ToString(), gfx 415 cc/trees/layer_tree_host_unittest_damage.cc child_damage_rect_ = gfx::RectF(); gfx 424 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF child_damage_rect_; gfx 432 cc/trees/layer_tree_host_unittest_damage.cc root_layer->SetBounds(gfx::Size(400, 400)); gfx 439 cc/trees/layer_tree_host_unittest_damage.cc content_layer->SetScrollOffset(gfx::Vector2d(10, 20)); gfx 440 cc/trees/layer_tree_host_unittest_damage.cc content_layer->SetBounds(gfx::Size(100, 200)); gfx 442 cc/trees/layer_tree_host_unittest_damage.cc gfx::Size(content_layer->bounds().width() - 30, gfx 449 cc/trees/layer_tree_host_unittest_damage.cc scrollbar_layer->SetPosition(gfx::Point(300, 300)); gfx 450 cc/trees/layer_tree_host_unittest_damage.cc scrollbar_layer->SetBounds(gfx::Size(10, 100)); gfx 455 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF content_rect(content_layer->position(), gfx 457 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF scrollbar_rect(scrollbar_layer->position(), gfx 482 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF root_damage = gfx 491 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_FALSE(root_damage.Intersects(gfx::Rect(300, 300, 10, 100))); gfx 495 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_TRUE(root_damage.Contains(gfx::Rect(300, 300, 10, 100))); gfx 499 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_TRUE(root_damage.Contains(gfx::Rect(300, 300, 10, 100))); gfx 517 cc/trees/layer_tree_host_unittest_damage.cc scroll_layer->SetPosition(gfx::Point(1, 1)); gfx 522 cc/trees/layer_tree_host_unittest_damage.cc scroll_layer->ScrollBy(gfx::Vector2dF(10.f, 10.f)); gfx 526 cc/trees/layer_tree_host_unittest_damage.cc scroll_layer->SetBounds(gfx::Size(root->bounds().width() + 60, gfx 556 cc/trees/layer_tree_host_unittest_damage.cc gfx::RectF root_damage = gfx 568 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_TRUE(root_damage.Contains(gfx::Rect(300, 300, 10, 100))); gfx 573 cc/trees/layer_tree_host_unittest_damage.cc EXPECT_FALSE(root_damage.Intersects(gfx::Rect(300, 300, 10, 100))); gfx 593 cc/trees/layer_tree_host_unittest_damage.cc scroll_layer->ScrollBy(gfx::Vector2dF(10.f, 10.f)); gfx 632 cc/trees/layer_tree_host_unittest_damage.cc root->SetBounds(gfx::Size(500, 500)); gfx 78 cc/trees/layer_tree_host_unittest_delegated.cc const gfx::Rect& root_output_rect, gfx 79 cc/trees/layer_tree_host_unittest_delegated.cc const gfx::Rect& root_damage_rect) { gfx 86 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Transform()); gfx 92 cc/trees/layer_tree_host_unittest_delegated.cc const gfx::Rect& root_output_rect, gfx 93 cc/trees/layer_tree_host_unittest_delegated.cc const gfx::Rect& root_damage_rect) { gfx 100 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Transform()); gfx 104 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect rect = root_output_rect; gfx 105 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect opaque_rect = root_output_rect; gfx 106 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect visible_rect = root_output_rect; gfx 110 cc/trees/layer_tree_host_unittest_delegated.cc gfx::PointF uv_top_left = gfx::PointF(0.f, 0.f); gfx 111 cc/trees/layer_tree_host_unittest_delegated.cc gfx::PointF uv_bottom_right = gfx::PointF(1.f, 1.f); gfx 155 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 10, 10), gfx 156 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 10, 10), gfx 157 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 10, 10), gfx 160 cc/trees/layer_tree_host_unittest_delegated.cc gfx::PointF(0.f, 0.f), gfx 161 cc/trees/layer_tree_host_unittest_delegated.cc gfx::PointF(1.f, 1.f), gfx 171 cc/trees/layer_tree_host_unittest_delegated.cc const gfx::Rect& output_rect, gfx 172 cc/trees/layer_tree_host_unittest_delegated.cc const gfx::Rect& damage_rect, gfx 182 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Transform()); gfx 195 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1), // mask_uv_rect gfx 259 cc/trees/layer_tree_host_unittest_delegated.cc root_->SetAnchorPoint(gfx::PointF()); gfx 260 cc/trees/layer_tree_host_unittest_delegated.cc root_->SetBounds(gfx::Size(10, 10)); gfx 273 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Size frame_size = root_pass->output_rect.size(); gfx 296 cc/trees/layer_tree_host_unittest_delegated.cc delegated->SetAnchorPoint(gfx::PointF()); gfx 297 cc/trees/layer_tree_host_unittest_delegated.cc delegated->SetBounds(gfx::Size(10, 10)); gfx 334 cc/trees/layer_tree_host_unittest_delegated.cc SetFrameData(CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1))); gfx 403 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 415 cc/trees/layer_tree_host_unittest_delegated.cc CreateInvalidFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1))); gfx 476 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx 477 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1)); gfx 497 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx 498 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1)); gfx 504 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1), gfx 505 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1), gfx 528 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx 529 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1)); gfx 535 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1), gfx 536 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1), gfx 559 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 562 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 568 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1), gfx 569 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(0, 0, 1, 1), gfx 605 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1))); gfx 610 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 20, 20), gfx::Rect(0, 0, 0, 0))); gfx 617 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 20, 20), gfx::Rect(2, 2, 5, 5))); gfx 619 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 20, 20), gfx::Rect(7, 2, 5, 6))); gfx 627 cc/trees/layer_tree_host_unittest_delegated.cc delegated_->SetBounds(gfx::Size(2, 2)); gfx 635 cc/trees/layer_tree_host_unittest_delegated.cc delegated_->SetBounds(gfx::Size(6, 6)); gfx 637 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 20, 20), gfx::Rect(1, 1, 2, 2))); gfx 645 cc/trees/layer_tree_host_unittest_delegated.cc delegated_->SetDisplaySize(gfx::Size(10, 10)); gfx 654 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 5, 5), gfx::Rect(4, 4, 1, 1))); gfx 658 cc/trees/layer_tree_host_unittest_delegated.cc SetFrameData(CreateInvalidFrameData(gfx::Rect(0, 0, 5, 5), gfx 659 cc/trees/layer_tree_host_unittest_delegated.cc gfx::Rect(4, 4, 1, 1))); gfx 666 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 5, 5), gfx::Rect(1, 1, 2, 2))); gfx 683 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 10, 10), gfx::Rect(0, 0, 10, 10))); gfx 685 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 5, 5), gfx::Rect(1, 1, 2, 2))); gfx 691 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 10, 10), gfx::Rect(0, 0, 10, 10))); gfx 693 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 10, 10), gfx::Rect(0, 0, 0, 0))); gfx 699 cc/trees/layer_tree_host_unittest_delegated.cc delegated_copy_->SetPosition(gfx::Point(5, 0)); gfx 703 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 10, 10), gfx::Rect(4, 0, 1, 1))); gfx 709 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 10, 10), gfx::Rect(3, 3, 1, 1))); gfx 723 cc/trees/layer_tree_host_unittest_delegated.cc gfx::RectF damage_rect; gfx 734 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 738 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 742 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 746 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(1.f, 1.f, 5.f, 3.f).ToString(), gfx 750 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 0.f, 0.f).ToString(), gfx 754 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 758 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 0.f, 0.f).ToString(), gfx 762 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 6.f, 6.f).ToString(), gfx 766 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 0.f, 0.f).ToString(), gfx 770 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 6.f, 6.f).ToString(), gfx 774 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 0.f, 0.f).ToString(), gfx 778 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 782 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 0.f, 0.f).ToString(), gfx 786 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(2.f, 2.f, 4.f, 4.f).ToString(), gfx 790 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 0.f, 0.f).ToString(), gfx 794 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 798 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 802 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 10.f, 10.f).ToString(), gfx 806 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::UnionRects(gfx::RectF(5.f, 0.f, 10.f, 10.f), gfx 807 cc/trees/layer_tree_host_unittest_delegated.cc gfx::RectF(4.f, 0.f, 1.f, 1.f)).ToString(), gfx 811 cc/trees/layer_tree_host_unittest_delegated.cc EXPECT_EQ(gfx::RectF(3.f, 3.f, 6.f, 1.f).ToString(), gfx 835 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 842 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 893 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 951 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 965 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 982 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1035 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1051 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1062 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1106 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1122 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1144 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1206 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1222 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1238 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1326 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1344 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1359 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1480 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1492 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1546 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1554 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1569 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1625 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1639 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1751 cc/trees/layer_tree_host_unittest_delegated.cc layer_tree_host()->SetViewportSize(gfx::Size()); gfx 1762 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1777 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1786 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1803 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1875 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1893 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1908 cc/trees/layer_tree_host_unittest_delegated.cc CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1964 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 1987 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2024 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2036 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2056 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2094 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2182 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2214 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2274 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 2298 cc/trees/layer_tree_host_unittest_delegated.cc frame = CreateFrameData(gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1)); gfx 87 cc/trees/layer_tree_host_unittest_occlusion.cc const gfx::Transform& transform, gfx 88 cc/trees/layer_tree_host_unittest_occlusion.cc const gfx::PointF& position, gfx 89 cc/trees/layer_tree_host_unittest_occlusion.cc const gfx::Size& bounds, gfx 99 cc/trees/layer_tree_host_unittest_occlusion.cc layer->SetAnchorPoint(gfx::PointF()); gfx 104 cc/trees/layer_tree_host_unittest_occlusion.cc settings->minimum_occlusion_tracking_size = gfx::Size(); gfx 113 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::Transform identity_matrix_; gfx 125 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 128 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), false); gfx 131 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 136 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 10, 190)); gfx 137 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(10, 10, 10, 190)); gfx 155 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 158 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 161 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 166 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 10, 190)); gfx 167 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(10, 10, 190, 190)); gfx 184 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 187 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), false); gfx 190 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 193 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(20.f, 10.f), gfx::Size(10, 500), true); gfx 198 cc/trees/layer_tree_host_unittest_occlusion.cc grand_child_->set_expected_occlusion(gfx::Rect(10, 0, 10, 190)); gfx 199 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 20, 190)); gfx 200 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(10, 10, 20, 190)); gfx 218 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 221 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 224 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(20.f, 20.f), gfx::Size(500, 500), true); gfx 227 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(500, 500), true); gfx 233 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 180, 180)); gfx 234 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(10, 10, 190, 190)); gfx 252 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 255 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 258 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 261 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(20.f, 10.f), gfx::Size(10, 500), true); gfx 267 cc/trees/layer_tree_host_unittest_occlusion.cc grand_child_->set_expected_occlusion(gfx::Rect(10, 0, 10, 190)); gfx 268 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 20, 190)); gfx 269 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(20, 10, 10, 190)); gfx 287 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 290 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(20.f, 10.f), gfx::Size(10, 500), true); gfx 293 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 296 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 302 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 10, 190)); gfx 303 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(20, 10, 10, 190)); gfx 321 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 324 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 327 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 330 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(20.f, 10.f), gfx::Size(10, 500), true); gfx 336 cc/trees/layer_tree_host_unittest_occlusion.cc grand_child_->set_expected_occlusion(gfx::Rect(10, 0, 10, 190)); gfx 337 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 20, 190)); gfx 338 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(20, 10, 10, 190)); gfx 356 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 359 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(20.f, 10.f), gfx::Size(10, 500), true); gfx 362 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 365 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 371 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 10, 190)); gfx 372 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(20, 10, 10, 190)); gfx 390 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 393 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 396 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(-10.f, -10.f), gfx::Size(20, 500), true); gfx 399 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(20.f, 10.f), gfx::Size(10, 500), true); gfx 404 cc/trees/layer_tree_host_unittest_occlusion.cc grand_child_->set_expected_occlusion(gfx::Rect(10, 0, 10, 190)); gfx 405 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 20, 190)); gfx 406 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(20, 10, 10, 190)); gfx 420 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::Transform child_transform; gfx 433 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 436 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(30.f, 30.f), gfx::Size(500, 500), true); gfx 439 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 442 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 70.f), gfx::Size(500, 500), true); gfx 447 cc/trees/layer_tree_host_unittest_occlusion.cc grand_child_->set_expected_occlusion(gfx::Rect(40, 330, 130, 190)); gfx 449 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::Rect(10, 330, 160, 170), gfx::Rect(40, 500, 130, 20))); gfx 450 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(10, 70, 190, 130)); gfx 464 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::Transform child_transform; gfx 477 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(200, 200), true); gfx 480 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(30.f, 30.f), gfx::Size(500, 500), true); gfx 483 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 10.f), gfx::Size(500, 500), true); gfx 486 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(10.f, 70.f), gfx::Size(500, 500), true); gfx 491 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(10, 330, 160, 170)); gfx 492 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(10, 70, 190, 130)); gfx 514 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(), gfx::Size(100, 100), true); gfx 517 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(), gfx::Size(75, 75), true); gfx 520 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(), gfx::Size(75, 50), true); gfx 523 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 25.f), gfx::Size(75, 75), true); gfx 529 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 75, 50)); gfx 530 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(0, 0, 75, 100)); gfx 549 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(), gfx::Size(100, 100), true); gfx 552 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(), gfx::Size(75, 75), true); gfx 555 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(), gfx::Size(75, 50), true); gfx 558 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 25.f), gfx::Size(75, 75), true); gfx 564 cc/trees/layer_tree_host_unittest_occlusion.cc child_->set_expected_occlusion(gfx::Rect(0, 0, 75, 50)); gfx 565 cc/trees/layer_tree_host_unittest_occlusion.cc root_->set_expected_occlusion(gfx::Rect(0, 0, 75, 100)); gfx 590 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx 591 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::Size(root_width, root_height), true); gfx 596 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(1.f, 1.f), gfx 597 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::Size(root_width-i, root_height-i), true); gfx 606 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::PointF(0.f, 0.f), gfx::Size(root_width, root_height), false); gfx 610 cc/trees/layer_tree_host_unittest_occlusion.cc gfx::Rect expected_occlusion(1, 1, root_width-i-1, root_height-i-1); gfx 39 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100, gfx 66 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), scroll_layer->ScrollDelta()); gfx 70 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root->bounds().width() + 100, root->bounds().height() + 100)); gfx 87 cc/trees/layer_tree_host_unittest_scroll.cc virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 95 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d initial_scroll_; gfx 96 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d second_scroll_; gfx 97 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d scroll_amount_; gfx 114 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer_->SetBounds(gfx::Size(root_layer->bounds().width() + 100, gfx 145 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 164 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer_->ScrollDelta(), gfx::Vector2d()); gfx 171 cc/trees/layer_tree_host_unittest_scroll.cc virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 179 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d initial_scroll_; gfx 180 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d scroll_amount_; gfx 210 cc/trees/layer_tree_host_unittest_scroll.cc root_scroll_layer->SetBounds(gfx::Size(200, 200)); gfx 282 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(root_scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 300 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(root_scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 317 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_EQ(root_scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 327 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(root_scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 335 cc/trees/layer_tree_host_unittest_scroll.cc virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 352 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d initial_scroll_; gfx 353 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d impl_scroll_; gfx 354 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d second_main_scroll_; gfx 376 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root_layer->bounds().width() + 100, gfx 399 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->scroll_offset(), gfx::Vector2d(0, 0)); gfx 400 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->ScrollDelta(), gfx::Vector2d(0, 0)); gfx 405 cc/trees/layer_tree_host_unittest_scroll.cc gfx::ToFlooredVector2d(scroll_amount_)); gfx 407 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2dF(fmod(scroll_amount_.x(), 1.0f), 0.0f)); gfx 413 cc/trees/layer_tree_host_unittest_scroll.cc gfx::ToFlooredVector2d(scroll_amount_ + scroll_amount_)); gfx 416 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2dF(fmod(2.0f * scroll_amount_.x(), 1.0f), 0.0f)); gfx 426 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2dF scroll_amount_; gfx 443 cc/trees/layer_tree_host_unittest_scroll.cc root_layer->SetBounds(gfx::Size(10, 10)); gfx 446 cc/trees/layer_tree_host_unittest_scroll.cc root_scroll_layer_->SetBounds(gfx::Size(110, 110)); gfx 448 cc/trees/layer_tree_host_unittest_scroll.cc root_scroll_layer_->SetPosition(gfx::Point()); gfx 449 cc/trees/layer_tree_host_unittest_scroll.cc root_scroll_layer_->SetAnchorPoint(gfx::PointF()); gfx 460 cc/trees/layer_tree_host_unittest_scroll.cc child_layer_->SetBounds(gfx::Size(110, 110)); gfx 466 cc/trees/layer_tree_host_unittest_scroll.cc child_layer_->SetPosition(gfx::Point(5, 5)); gfx 469 cc/trees/layer_tree_host_unittest_scroll.cc child_layer_->SetPosition(gfx::Point(60, 5)); gfx 471 cc/trees/layer_tree_host_unittest_scroll.cc child_layer_->SetAnchorPoint(gfx::PointF()); gfx 508 cc/trees/layer_tree_host_unittest_scroll.cc virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 514 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), gfx 551 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), root_impl->ScrollDelta()); gfx 552 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), gfx 556 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size expected_content_bounds = gfx::ToCeiledSize( gfx 557 cc/trees/layer_tree_host_unittest_scroll.cc gfx::ScaleSize(root_scroll_layer_impl->bounds(), device_scale_factor_)); gfx 561 cc/trees/layer_tree_host_unittest_scroll.cc expected_content_bounds = gfx::ToCeiledSize( gfx 562 cc/trees/layer_tree_host_unittest_scroll.cc gfx::ScaleSize(child_layer_impl->bounds(), device_scale_factor_)); gfx 569 cc/trees/layer_tree_host_unittest_scroll.cc gfx::ToCeiledPoint(expected_scroll_layer_impl->position() - gfx 570 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2dF(0.5f, 0.5f)), gfx 573 cc/trees/layer_tree_host_unittest_scroll.cc impl->ScrollBy(gfx::Point(), scroll_amount_); gfx 586 cc/trees/layer_tree_host_unittest_scroll.cc gfx::ToCeiledPoint(expected_scroll_layer_impl->position() + gfx 587 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2dF(0.5f, 0.5f)), gfx 590 cc/trees/layer_tree_host_unittest_scroll.cc impl->ScrollBy(gfx::Point(), scroll_amount_); gfx 604 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), gfx 619 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(gfx::Vector2d(), final_scroll_offset_); gfx 627 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d initial_offset_; gfx 628 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d javascript_scroll_; gfx 629 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d scroll_amount_; gfx 631 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d final_scroll_offset_; gfx 774 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root_layer->bounds().width() + 100, gfx 824 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 829 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); gfx 853 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d()); gfx 862 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); gfx 868 cc/trees/layer_tree_host_unittest_scroll.cc virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 876 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d initial_scroll_; gfx 877 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d main_thread_scroll_; gfx 878 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d impl_thread_scroll1_; gfx 879 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d impl_thread_scroll2_; gfx 902 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root_layer->bounds().width() + 100, gfx 959 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(pending_scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 961 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d()); gfx 972 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d()); gfx 978 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d()); gfx 984 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(pending_scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 986 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d()); gfx 1001 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->ScrollDelta(), gfx::Vector2d()); gfx 1002 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); gfx 1008 cc/trees/layer_tree_host_unittest_scroll.cc EXPECT_VECTOR_EQ(scroll_layer->sent_scroll_delta(), gfx::Vector2d()); gfx 1017 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d initial_scroll_; gfx 1018 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Vector2d impl_thread_scroll_; gfx 1043 cc/trees/layer_tree_host_unittest_scroll.cc gfx::Size(root->bounds().width() + 100, root->bounds().height() + 100)); gfx 1045 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->TryScroll(gfx::PointF(0.0f, 1.0f), gfx 1051 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->TryScroll(gfx::PointF(0.0f, 1.0f), gfx 1055 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetBounds(gfx::Size()); gfx 1057 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->TryScroll(gfx::PointF(0.0f, 1.0f), gfx 1091 cc/trees/layer_tree_host_unittest_scroll.cc virtual void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll, gfx 1092 cc/trees/layer_tree_host_unittest_scroll.cc const gfx::Vector2dF& latest_overscroll_delta) gfx 1149 cc/trees/layer_tree_host_unittest_scroll.cc root_layer->SetBounds(gfx::Size(10, 10)); gfx 1168 cc/trees/layer_tree_host_unittest_scroll.cc root->child_at(0)->SetScrollDelta(gfx::Vector2dF(5, 5)); gfx 1169 cc/trees/layer_tree_host_unittest_scroll.cc root->child_at(0)->child_at(0)->SetScrollDelta(gfx::Vector2dF(5, 5)); gfx 1170 cc/trees/layer_tree_host_unittest_scroll.cc root->child_at(1)->SetScrollDelta(gfx::Vector2dF(5, 5)); gfx 1203 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetBounds(gfx::Size(110, 110)); gfx 1204 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetPosition(gfx::Point(0, 0)); gfx 1205 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetAnchorPoint(gfx::PointF()); gfx 1208 cc/trees/layer_tree_host_unittest_scroll.cc scroll_layer->SetBounds(gfx::Size(parent->bounds().width() + 100, gfx 27 cc/trees/layer_tree_host_unittest_video.cc root->SetBounds(gfx::Size(10, 10)); gfx 28 cc/trees/layer_tree_host_unittest_video.cc root->SetAnchorPoint(gfx::PointF()); gfx 33 cc/trees/layer_tree_host_unittest_video.cc video->SetPosition(gfx::PointF(3.f, 3.f)); gfx 34 cc/trees/layer_tree_host_unittest_video.cc video->SetBounds(gfx::Size(4, 4)); gfx 35 cc/trees/layer_tree_host_unittest_video.cc video->SetAnchorPoint(gfx::PointF()); gfx 55 cc/trees/layer_tree_host_unittest_video.cc gfx::RectF damage_rect = gfx 61 cc/trees/layer_tree_host_unittest_video.cc EXPECT_EQ(gfx::RectF(0.f, 0.f, 20.f, 20.f).ToString(), gfx 66 cc/trees/layer_tree_host_unittest_video.cc EXPECT_EQ(gfx::RectF(6.f, 6.f, 8.f, 8.f).ToString(), gfx 36 cc/trees/layer_tree_impl.cc gfx::Vector2dF last_set_scroll_offset() const { gfx 42 cc/trees/layer_tree_impl.cc virtual void SetTotalScrollOffset(const gfx::Vector2dF& new_offset) OVERRIDE { gfx 47 cc/trees/layer_tree_impl.cc virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE { gfx 57 cc/trees/layer_tree_impl.cc virtual void SetMaxScrollOffset(const gfx::Vector2dF&) OVERRIDE { gfx 65 cc/trees/layer_tree_impl.cc virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) OVERRIDE { gfx 73 cc/trees/layer_tree_impl.cc gfx::Vector2dF last_set_scroll_offset_; gfx 134 cc/trees/layer_tree_impl.cc gfx::Vector2dF LayerTreeImpl::TotalScrollOffset() const { gfx 135 cc/trees/layer_tree_impl.cc gfx::Vector2dF offset; gfx 146 cc/trees/layer_tree_impl.cc gfx::Vector2dF LayerTreeImpl::TotalMaxScrollOffset() const { gfx 147 cc/trees/layer_tree_impl.cc gfx::Vector2dF offset; gfx 157 cc/trees/layer_tree_impl.cc gfx::Vector2dF LayerTreeImpl::TotalScrollDelta() const { gfx 159 cc/trees/layer_tree_impl.cc gfx::Vector2dF delta = inner_viewport_scroll_layer_->ScrollDelta(); gfx 348 cc/trees/layer_tree_impl.cc gfx::SizeF LayerTreeImpl::ScrollableViewportSize() const { gfx 352 cc/trees/layer_tree_impl.cc return gfx::ScaleSize( gfx 357 cc/trees/layer_tree_impl.cc gfx::Rect LayerTreeImpl::RootScrollLayerDeviceViewportBounds() const { gfx 362 cc/trees/layer_tree_impl.cc return gfx::Rect(); gfx 365 cc/trees/layer_tree_impl.cc gfx::Rect(layer->content_bounds())); gfx 511 cc/trees/layer_tree_impl.cc gfx::Size LayerTreeImpl::ScrollableSize() const { gfx 516 cc/trees/layer_tree_impl.cc return gfx::Size(); gfx 689 cc/trees/layer_tree_impl.cc gfx::Size LayerTreeImpl::DrawViewportSize() const { gfx 796 cc/trees/layer_tree_impl.cc gfx::Vector2dF offset = gfx 807 cc/trees/layer_tree_impl.cc gfx::Vector2dF LayerTreeImpl::GetDelegatedScrollOffset(LayerImpl* layer) { gfx 817 cc/trees/layer_tree_impl.cc gfx::Vector2dF inner_viewport_offset = gfx 819 cc/trees/layer_tree_impl.cc gfx::Vector2dF outer_viewport_offset = gfx 823 cc/trees/layer_tree_impl.cc gfx::Vector2dF delegate_offset = gfx 832 cc/trees/layer_tree_impl.cc gfx::Vector2d max_outer_viewport_scroll_offset = gfx 837 cc/trees/layer_tree_impl.cc outer_viewport_offset.SetToMax(gfx::Vector2d()); gfx 84 cc/trees/layer_tree_impl.h gfx::Size DrawViewportSize() const; gfx 120 cc/trees/layer_tree_impl.h gfx::Vector2dF TotalScrollOffset() const; gfx 121 cc/trees/layer_tree_impl.h gfx::Vector2dF TotalMaxScrollOffset() const; gfx 122 cc/trees/layer_tree_impl.h gfx::Vector2dF TotalScrollDelta() const; gfx 185 cc/trees/layer_tree_impl.h gfx::Size ScrollableSize() const; gfx 186 cc/trees/layer_tree_impl.h gfx::SizeF ScrollableViewportSize() const; gfx 188 cc/trees/layer_tree_impl.h gfx::Rect RootScrollLayerDeviceViewportBounds() const; gfx 222 cc/trees/layer_tree_impl.h gfx::Vector2dF GetDelegatedScrollOffset(LayerImpl* layer); gfx 45 cc/trees/layer_tree_settings.cc default_tile_size(gfx::Size(256, 256)), gfx 46 cc/trees/layer_tree_settings.cc max_untiled_layer_size(gfx::Size(512, 512)), gfx 47 cc/trees/layer_tree_settings.cc minimum_occlusion_tracking_size(gfx::Size(160, 160)), gfx 61 cc/trees/layer_tree_settings.h gfx::Size default_tile_size; gfx 62 cc/trees/layer_tree_settings.h gfx::Size max_untiled_layer_size; gfx 63 cc/trees/layer_tree_settings.h gfx::Size minimum_occlusion_tracking_size; gfx 21 cc/trees/occlusion_tracker.cc const gfx::Rect& screen_space_clip_rect) gfx 54 cc/trees/occlusion_tracker.cc static gfx::Rect ScreenSpaceClipRectInTargetSurface( gfx 56 cc/trees/occlusion_tracker.cc const gfx::Rect& screen_space_clip_rect) { gfx 57 cc/trees/occlusion_tracker.cc gfx::Transform inverse_screen_space_transform( gfx 58 cc/trees/occlusion_tracker.cc gfx::Transform::kSkipInitialization); gfx 71 cc/trees/occlusion_tracker.cc const gfx::Rect& clip_rect_in_new_target, gfx 72 cc/trees/occlusion_tracker.cc const gfx::Transform& transform) { gfx 89 cc/trees/occlusion_tracker.cc gfx::QuadF transformed_quad = gfx 90 cc/trees/occlusion_tracker.cc MathUtil::MapQuad(transform, gfx::QuadF(rects.rect()), &clipped); gfx 91 cc/trees/occlusion_tracker.cc gfx::Rect transformed_rect = gfx 92 cc/trees/occlusion_tracker.cc gfx::ToEnclosedRect(transformed_quad.BoundingBox()); gfx 176 cc/trees/occlusion_tracker.cc gfx::Transform inverse_new_target_screen_space_transform( gfx 178 cc/trees/occlusion_tracker.cc gfx::Transform::kSkipInitialization); gfx 196 cc/trees/occlusion_tracker.cc gfx::Transform old_target_to_new_target_transform( gfx 203 cc/trees/occlusion_tracker.cc gfx::Rect(), gfx 209 cc/trees/occlusion_tracker.cc gfx::Rect(), gfx 244 cc/trees/occlusion_tracker.cc const gfx::Rect& surface_rect, gfx 245 cc/trees/occlusion_tracker.cc const gfx::Transform& surface_transform, gfx 251 cc/trees/occlusion_tracker.cc gfx::Rect affected_area_in_target = gfx 274 cc/trees/occlusion_tracker.cc gfx::Rect occlusion_rect = affected_occlusion_rects.rect(); gfx 331 cc/trees/occlusion_tracker.cc gfx::Rect(), gfx 334 cc/trees/occlusion_tracker.cc gfx::Rect unoccluded_surface_rect; gfx 335 cc/trees/occlusion_tracker.cc gfx::Rect unoccluded_replica_rect; gfx 432 cc/trees/occlusion_tracker.cc gfx::Rect clip_rect_in_target = ScreenSpaceClipRectInTargetSurface( gfx 445 cc/trees/occlusion_tracker.cc gfx::QuadF transformed_quad = MathUtil::MapQuad( gfx 447 cc/trees/occlusion_tracker.cc gfx::QuadF(opaque_content_rects.rect()), gfx 449 cc/trees/occlusion_tracker.cc gfx::Rect transformed_rect = gfx 450 cc/trees/occlusion_tracker.cc gfx::ToEnclosedRect(transformed_quad.BoundingBox()); gfx 462 cc/trees/occlusion_tracker.cc gfx::QuadF screen_space_quad = MathUtil::MapQuad( gfx 464 cc/trees/occlusion_tracker.cc gfx::QuadF(transformed_rect), &clipped); gfx 467 cc/trees/occlusion_tracker.cc gfx::Rect screen_space_rect = gfx 468 cc/trees/occlusion_tracker.cc gfx::ToEnclosedRect(screen_space_quad.BoundingBox()); gfx 476 cc/trees/occlusion_tracker.cc SubtractRegions(gfx::Rect(layer->content_bounds()), opaque_contents); gfx 482 cc/trees/occlusion_tracker.cc gfx::Rect transformed_rect = gfx::ToEnclosedRect( gfx 484 cc/trees/occlusion_tracker.cc gfx::RectF(non_opaque_content_rects.rect()))); gfx 490 cc/trees/occlusion_tracker.cc gfx::QuadF screen_space_quad = MathUtil::MapQuad( gfx 492 cc/trees/occlusion_tracker.cc gfx::QuadF(transformed_rect), gfx 496 cc/trees/occlusion_tracker.cc gfx::Rect screen_space_rect = gfx 497 cc/trees/occlusion_tracker.cc gfx::ToEnclosedRect(screen_space_quad.BoundingBox()); gfx 505 cc/trees/occlusion_tracker.cc const gfx::Rect& content_rect, gfx 506 cc/trees/occlusion_tracker.cc const gfx::Transform& draw_transform) const { gfx 526 cc/trees/occlusion_tracker.cc gfx::Transform inverse_draw_transform(gfx::Transform::kSkipInitialization); gfx 536 cc/trees/occlusion_tracker.cc gfx::RectF unoccluded_rect_in_target_surface_without_outside_occlusion = gfx 541 cc/trees/occlusion_tracker.cc gfx::RectF unoccluded_rect_in_target_surface = gfx 548 cc/trees/occlusion_tracker.cc gfx::Rect OcclusionTracker<LayerType>::UnoccludedContentRect( gfx 550 cc/trees/occlusion_tracker.cc const gfx::Rect& content_rect, gfx 551 cc/trees/occlusion_tracker.cc const gfx::Transform& draw_transform) const { gfx 571 cc/trees/occlusion_tracker.cc gfx::Transform inverse_draw_transform(gfx::Transform::kSkipInitialization); gfx 584 cc/trees/occlusion_tracker.cc gfx::Rect unoccluded_rect_in_target_surface = gfx 586 cc/trees/occlusion_tracker.cc gfx::Rect unoccluded_rect = MathUtil::ProjectEnclosingClippedRect( gfx 594 cc/trees/occlusion_tracker.cc gfx::Rect OcclusionTracker<LayerType>::UnoccludedContributingSurfaceContentRect( gfx 596 cc/trees/occlusion_tracker.cc const gfx::Rect& content_rect, gfx 597 cc/trees/occlusion_tracker.cc const gfx::Transform& draw_transform) const { gfx 625 cc/trees/occlusion_tracker.cc gfx::Transform inverse_draw_transform(gfx::Transform::kSkipInitialization); gfx 638 cc/trees/occlusion_tracker.cc gfx::Rect unoccluded_rect_in_target_surface = gfx 640 cc/trees/occlusion_tracker.cc gfx::Rect unoccluded_rect = MathUtil::ProjectEnclosingClippedRect( gfx 34 cc/trees/occlusion_tracker.h explicit OcclusionTracker(const gfx::Rect& screen_space_clip_rect); gfx 49 cc/trees/occlusion_tracker.h const gfx::Rect& content_rect, gfx 50 cc/trees/occlusion_tracker.h const gfx::Transform& draw_transform) const; gfx 56 cc/trees/occlusion_tracker.h gfx::Rect UnoccludedContentRect(const LayerType* render_target, gfx 57 cc/trees/occlusion_tracker.h const gfx::Rect& content_rect, gfx 58 cc/trees/occlusion_tracker.h const gfx::Transform& draw_transform) const; gfx 63 cc/trees/occlusion_tracker.h gfx::Rect UnoccludedContributingSurfaceContentRect( gfx 65 cc/trees/occlusion_tracker.h const gfx::Rect& content_rect, gfx 66 cc/trees/occlusion_tracker.h const gfx::Transform& draw_transform) const; gfx 75 cc/trees/occlusion_tracker.h void set_minimum_tracking_size(const gfx::Size& size) { gfx 81 cc/trees/occlusion_tracker.h std::vector<gfx::Rect>* rects) { gfx 85 cc/trees/occlusion_tracker.h std::vector<gfx::Rect>* rects) { gfx 134 cc/trees/occlusion_tracker.h gfx::Rect screen_space_clip_rect_; gfx 135 cc/trees/occlusion_tracker.h gfx::Size minimum_tracking_size_; gfx 138 cc/trees/occlusion_tracker.h std::vector<gfx::Rect>* occluding_screen_space_rects_; gfx 139 cc/trees/occlusion_tracker.h std::vector<gfx::Rect>* non_occluding_screen_space_rects_; gfx 76 cc/trees/occlusion_tracker_perftest.cc gfx::Rect viewport_rect(768, 1038); gfx 105 cc/trees/occlusion_tracker_perftest.cc gfx::Transform transform_to_target; gfx 111 cc/trees/occlusion_tracker_perftest.cc gfx::Rect query_content_rect(x, y, 256, 256); gfx 112 cc/trees/occlusion_tracker_perftest.cc gfx::Rect unoccluded = gfx 142 cc/trees/occlusion_tracker_perftest.cc gfx::Rect viewport_rect(768, 1038); gfx 155 cc/trees/occlusion_tracker_perftest.cc gfx::Size(viewport_rect.width() / 2, viewport_rect.height() / 2)); gfx 157 cc/trees/occlusion_tracker_perftest.cc gfx::Size(viewport_rect.width() / 2, viewport_rect.height() / 2)); gfx 158 cc/trees/occlusion_tracker_perftest.cc opaque_layer->SetPosition(gfx::Point(i, i)); gfx 182 cc/trees/occlusion_tracker_perftest.cc gfx::Transform transform_to_target; gfx 188 cc/trees/occlusion_tracker_perftest.cc gfx::Rect query_content_rect(x, y, 256, 256); gfx 189 cc/trees/occlusion_tracker_perftest.cc gfx::Rect unoccluded = gfx 38 cc/trees/occlusion_tracker_unittest.cc return gfx::IntersectRects(opaque_contents_rect_, visible_content_rect()); gfx 41 cc/trees/occlusion_tracker_unittest.cc void SetOpaqueContentsRect(const gfx::Rect& opaque_contents_rect) { gfx 50 cc/trees/occlusion_tracker_unittest.cc gfx::Rect opaque_contents_rect_; gfx 62 cc/trees/occlusion_tracker_unittest.cc return gfx::IntersectRects(opaque_contents_rect_, visible_content_rect()); gfx 65 cc/trees/occlusion_tracker_unittest.cc void SetOpaqueContentsRect(const gfx::Rect& opaque_contents_rect) { gfx 72 cc/trees/occlusion_tracker_unittest.cc gfx::Rect opaque_contents_rect_; gfx 78 cc/trees/occlusion_tracker_unittest.cc explicit TestOcclusionTrackerWithClip(const gfx::Rect& viewport_rect) gfx 82 cc/trees/occlusion_tracker_unittest.cc const gfx::Rect& content_rect) const { gfx 90 cc/trees/occlusion_tracker_unittest.cc gfx::Rect UnoccludedLayerContentRect(const LayerType* layer, gfx 91 cc/trees/occlusion_tracker_unittest.cc const gfx::Rect& content_rect) const { gfx 97 cc/trees/occlusion_tracker_unittest.cc gfx::Rect UnoccludedSurfaceContentRect(const LayerType* layer, gfx 99 cc/trees/occlusion_tracker_unittest.cc const gfx::Rect& content_rect) const { gfx 101 cc/trees/occlusion_tracker_unittest.cc gfx::Transform draw_transform = for_replica gfx 187 cc/trees/occlusion_tracker_unittest.cc typename Types::ContentLayerType* CreateRoot(const gfx::Transform& transform, gfx 188 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 189 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 204 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 205 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 206 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 215 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 216 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 217 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 226 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 227 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 228 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds, gfx 240 cc/trees/occlusion_tracker_unittest.cc layer_ptr->SetOpaqueContentsRect(gfx::Rect(bounds)); gfx 242 cc/trees/occlusion_tracker_unittest.cc layer_ptr->SetOpaqueContentsRect(gfx::Rect()); gfx 251 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 252 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 253 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 264 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 268 cc/trees/occlusion_tracker_unittest.cc SetProperties(layer_ptr, identity_matrix, gfx::PointF(), bounds); gfx 275 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 276 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 277 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds, gfx 390 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform identity_matrix; gfx 400 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 401 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 402 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 404 cc/trees/occlusion_tracker_unittest.cc layer->SetAnchorPoint(gfx::PointF()); gfx 410 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 411 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 412 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 417 cc/trees/occlusion_tracker_unittest.cc const gfx::Transform& transform, gfx 418 cc/trees/occlusion_tracker_unittest.cc const gfx::PointF& position, gfx 419 cc/trees/occlusion_tracker_unittest.cc const gfx::Size& bounds) { gfx 527 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(200, 200)); gfx 529 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::PointF(), gfx::Size(100, 100), true); gfx 533 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 534 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 540 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 545 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 547 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(30, 30, 70, 70).ToString(), gfx 550 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 30, 70, 70))); gfx 551 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(29, 30, 70, 70))); gfx 552 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 29, 70, 70))); gfx 553 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(31, 30, 69, 70))); gfx 554 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 31, 70, 69))); gfx 557 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 30, 70, 70)).IsEmpty()); gfx 558 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 30, 1, 70), gfx 560 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 30, 70, 70))); gfx 561 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 29, 70, 70), gfx 563 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 29, 70, 70))); gfx 564 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(30, 29, 70, 1), gfx 566 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 29, 70, 70))); gfx 567 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(31, 29, 69, 1), gfx 569 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 29, 69, 70))); gfx 570 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 572 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 30, 69, 70))); gfx 573 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 575 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 31, 69, 69))); gfx 576 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 578 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 31, 70, 69))); gfx 579 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 31, 1, 69), gfx 581 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 31, 70, 69))); gfx 594 cc/trees/occlusion_tracker_unittest.cc gfx::Transform layer_transform; gfx 598 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::Point(0, 0), gfx::Size(100, 100)); gfx 600 cc/trees/occlusion_tracker_unittest.cc parent, layer_transform, gfx::PointF(), gfx::Size(90, 90), true); gfx 602 cc/trees/occlusion_tracker_unittest.cc layer1, layer_transform, gfx::PointF(), gfx::Size(50, 50), true); gfx 606 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 611 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 613 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(20, 20, 50, 50).ToString(), gfx 620 cc/trees/occlusion_tracker_unittest.cc gfx::Transform quad_transform; gfx 624 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 10, 10), gfx 626 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(40, 40, 10, 10), gfx 628 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(40, 40, 10, 10), quad_transform)); gfx 629 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(40, 30, 5, 10), gfx 631 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(35, 30, 10, 10), quad_transform)); gfx 643 cc/trees/occlusion_tracker_unittest.cc gfx::Transform layer_transform; gfx 649 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::Point(0, 0), gfx::Size(200, 200)); gfx 651 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::PointF(), gfx::Size(100, 100), true); gfx 655 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 656 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 662 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 667 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 669 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(30, 30, 70, 70).ToString(), gfx 672 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 30, 70, 70))); gfx 673 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(29, 30, 70, 70))); gfx 674 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 29, 70, 70))); gfx 675 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(31, 30, 69, 70))); gfx 676 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 31, 70, 69))); gfx 679 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 30, 70, 70)).IsEmpty()); gfx 680 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 30, 1, 70), gfx 682 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 30, 69, 70))); gfx 683 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 29, 70, 70), gfx 685 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 29, 70, 70))); gfx 686 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(30, 29, 70, 1), gfx 688 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 29, 70, 70))); gfx 689 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(31, 29, 69, 1), gfx 691 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 29, 69, 70))); gfx 692 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 694 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 30, 69, 70))); gfx 695 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 697 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 31, 69, 69))); gfx 698 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 700 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 31, 70, 69))); gfx 701 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 31, 1, 69), gfx 703 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 31, 70, 69))); gfx 715 cc/trees/occlusion_tracker_unittest.cc gfx::Transform layer_transform; gfx 719 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(200, 200)); gfx 721 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::PointF(), gfx::Size(100, 100), true); gfx 725 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 726 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 732 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 737 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 739 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(50, 50, 50, 50).ToString(), gfx 742 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(50, 50, 50, 50))); gfx 743 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(49, 50, 50, 50))); gfx 744 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(50, 49, 50, 50))); gfx 745 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(51, 50, 49, 50))); gfx 746 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(50, 51, 50, 49))); gfx 749 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(50, 50, 50, 50)).IsEmpty()); gfx 750 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(49, 50, 1, 50), gfx 752 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(49, 50, 50, 50))); gfx 753 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(49, 49, 50, 50), gfx 755 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(49, 49, 50, 50))); gfx 756 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(50, 49, 50, 1), gfx 758 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(50, 49, 50, 50))); gfx 759 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(51, 49, 49, 1), gfx 761 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(51, 49, 49, 50))); gfx 763 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(51, 50, 49, 50)).IsEmpty()); gfx 765 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(51, 51, 49, 49)).IsEmpty()); gfx 767 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(50, 51, 50, 49)).IsEmpty()); gfx 768 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(49, 51, 1, 49), gfx 770 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(49, 51, 50, 49))); gfx 783 cc/trees/occlusion_tracker_unittest.cc gfx::Transform child_transform; gfx 789 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 100)); gfx 792 cc/trees/occlusion_tracker_unittest.cc parent, child_transform, gfx::PointF(30.f, 30.f), gfx::Size(500, 500)); gfx 797 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(10.f, 10.f), gfx 798 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 803 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 808 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 810 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(10, 430, 60, 70).ToString(), gfx 816 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 818 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(30, 40, 70, 60).ToString(), gfx 821 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 40, 70, 60))); gfx 822 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(29, 40, 70, 60))); gfx 823 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 39, 70, 60))); gfx 824 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(31, 40, 69, 60))); gfx 825 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 41, 70, 59))); gfx 888 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(200, 200)); gfx 890 cc/trees/occlusion_tracker_unittest.cc gfx::Transform layer1_matrix; gfx 893 cc/trees/occlusion_tracker_unittest.cc parent, layer1_matrix, gfx::PointF(), gfx::Size(100, 100), true); gfx 896 cc/trees/occlusion_tracker_unittest.cc gfx::Transform layer2_matrix; gfx 899 cc/trees/occlusion_tracker_unittest.cc layer1, layer2_matrix, gfx::PointF(), gfx::Size(50, 50), true); gfx 903 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(100.f, 100.f), gfx 904 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 909 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 914 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 100, 100).ToString(), gfx 916 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 920 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 25, 25), gfx 921 cc/trees/occlusion_tracker_unittest.cc occlusion.UnoccludedLayerContentRect(layer2, gfx::Rect(0, 0, 25, 25))); gfx 922 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(10, 25, 15, 25), gfx 924 cc/trees/occlusion_tracker_unittest.cc layer2, gfx::Rect(10, 25, 25, 25))); gfx 925 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(25, 10, 25, 15), gfx 927 cc/trees/occlusion_tracker_unittest.cc layer2, gfx::Rect(25, 10, 25, 25))); gfx 929 cc/trees/occlusion_tracker_unittest.cc layer2, gfx::Rect(25, 25, 25, 25)).IsEmpty()); gfx 942 cc/trees/occlusion_tracker_unittest.cc gfx::Transform child_transform; gfx 948 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(200, 200)); gfx 950 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::PointF(), gfx::Size(100, 100), true); gfx 953 cc/trees/occlusion_tracker_unittest.cc parent, child_transform, gfx::PointF(30.f, 30.f), gfx::Size(500, 500)); gfx 958 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(10.f, 10.f), gfx 959 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 967 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 968 cc/trees/occlusion_tracker_unittest.cc gfx::Size(60, 20), gfx 973 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 977 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 979 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(30, 30, 60, 20).ToString(), gfx 984 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 440, 20, 60).ToString(), gfx 986 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(10, 430, 60, 70).ToString(), gfx 991 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 440, 20, 60).ToString(), gfx 993 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(10, 430, 60, 70).ToString(), gfx 1001 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1003 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(UnionRegions(gfx::Rect(30, 30, 60, 10), gfx::Rect(30, 40, 70, 60)) gfx 1007 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 30, 70, 70))); gfx 1008 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(90, 30, 10, 10), gfx 1010 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 30, 70, 70))); gfx 1012 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 30, 60, 10))); gfx 1013 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(29, 30, 60, 10))); gfx 1014 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 29, 60, 10))); gfx 1015 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(31, 30, 60, 10))); gfx 1016 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 31, 60, 10))); gfx 1018 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 40, 70, 60))); gfx 1019 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(29, 40, 70, 60))); gfx 1020 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 39, 70, 60))); gfx 1023 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 30, 60, 10)).IsEmpty()); gfx 1024 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 30, 1, 10), gfx 1026 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 30, 60, 10))); gfx 1027 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(30, 29, 60, 1), gfx 1029 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 29, 60, 10))); gfx 1030 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(90, 30, 1, 10), gfx 1032 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 30, 60, 10))); gfx 1034 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 31, 60, 10)).IsEmpty()); gfx 1037 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 40, 70, 60)).IsEmpty()); gfx 1038 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 40, 1, 60), gfx 1040 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 40, 70, 60))); gfx 1042 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(90, 39, 10, 1), gfx 1044 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 39, 70, 60))); gfx 1046 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(30, 29, 70, 11), gfx 1048 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 29, 70, 70))); gfx 1050 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(20, 39, 80, 60), gfx 1052 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(20, 39, 80, 60))); gfx 1053 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 1055 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 40, 69, 60))); gfx 1056 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 1058 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 41, 70, 59))); gfx 1119 cc/trees/occlusion_tracker_unittest.cc gfx::Transform child_transform; gfx 1124 cc/trees/occlusion_tracker_unittest.cc gfx::Transform layer_transform; gfx 1128 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(1000, 1000)); gfx 1130 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::PointF(), gfx::Size(100, 100), true); gfx 1132 cc/trees/occlusion_tracker_unittest.cc parent, child_transform, gfx::PointF(30.f, 30.f), gfx::Size(500, 500)); gfx 1135 cc/trees/occlusion_tracker_unittest.cc child, layer_transform, gfx::PointF(), gfx::Size(500, 500), true); gfx 1139 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1141 cc/trees/occlusion_tracker_unittest.cc gfx::Rect clipped_layer_in_child = MathUtil::MapEnclosingClippedRect( gfx 1147 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1155 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1157 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1160 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(75, 55, 1, 1))); gfx 1162 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(75, 55, 1, 1), gfx 1163 cc/trees/occlusion_tracker_unittest.cc occlusion.UnoccludedLayerContentRect(parent, gfx::Rect(75, 55, 1, 1))); gfx 1176 cc/trees/occlusion_tracker_unittest.cc gfx::Transform child_transform; gfx 1182 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(1000, 1000)); gfx 1184 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::PointF(), gfx::Size(100, 100), true); gfx 1189 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 1190 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 1196 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(10.f, 10.f), gfx 1197 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 1202 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(10.f, 450.f), gfx 1203 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 60), gfx 1208 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1215 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1217 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(10, 430, 60, 70).ToString(), gfx 1220 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(child, gfx::Rect(10, 430, 60, 70))); gfx 1221 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(child, gfx::Rect(9, 430, 60, 70))); gfx 1222 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(child, gfx::Rect(11, 430, 59, 70))); gfx 1223 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(child, gfx::Rect(10, 431, 60, 69))); gfx 1226 cc/trees/occlusion_tracker_unittest.cc child, gfx::Rect(10, 430, 60, 70)).IsEmpty()); gfx 1228 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(9, 430, 1, 70), gfx 1229 cc/trees/occlusion_tracker_unittest.cc occlusion.UnoccludedLayerContentRect(child, gfx::Rect(9, 430, 60, 70))); gfx 1230 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 1232 cc/trees/occlusion_tracker_unittest.cc child, gfx::Rect(11, 430, 59, 70))); gfx 1233 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 1235 cc/trees/occlusion_tracker_unittest.cc child, gfx::Rect(10, 431, 60, 69))); gfx 1240 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1242 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(30, 40, 70, 60).ToString(), gfx 1245 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 40, 70, 60))); gfx 1246 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(29, 40, 70, 60))); gfx 1247 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 39, 70, 60))); gfx 1250 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 40, 70, 60)).IsEmpty()); gfx 1251 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(29, 40, 1, 60), gfx 1253 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(29, 40, 70, 60))); gfx 1254 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(30, 39, 70, 1), gfx 1256 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 39, 70, 60))); gfx 1257 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 1259 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(31, 40, 69, 60))); gfx 1260 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(), gfx 1262 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(30, 41, 70, 59))); gfx 1300 cc/trees/occlusion_tracker_unittest.cc gfx::Transform child_transform; gfx 1306 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 100)); gfx 1309 cc/trees/occlusion_tracker_unittest.cc parent, child_transform, gfx::PointF(30.f, 30.f), gfx::Size(10, 10)); gfx 1311 cc/trees/occlusion_tracker_unittest.cc parent, child_transform, gfx::PointF(20.f, 40.f), gfx::Size(10, 10)); gfx 1315 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(-10.f, -10.f), gfx 1316 cc/trees/occlusion_tracker_unittest.cc gfx::Size(510, 510), gfx 1321 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(-10.f, -10.f), gfx 1322 cc/trees/occlusion_tracker_unittest.cc gfx::Size(510, 510), gfx 1327 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1332 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1334 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(-10, 420, 70, 80).ToString(), gfx 1338 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(-10, 420, 70, 80), gfx 1340 cc/trees/occlusion_tracker_unittest.cc child2, false, gfx::Rect(-10, 420, 70, 80))); gfx 1346 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 430, 70, 80).ToString(), gfx 1348 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(-10, 430, 80, 70).ToString(), gfx 1352 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(-10, 430, 10, 70), gfx 1354 cc/trees/occlusion_tracker_unittest.cc child1, false, gfx::Rect(-10, 430, 80, 70))); gfx 1359 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1361 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(UnionRegions(gfx::Rect(30, 20, 70, 10), gfx::Rect(20, 30, 80, 70)) gfx 1365 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(20, 20, 80, 80))); gfx 1367 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(30, 20, 70, 80))); gfx 1368 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(29, 20, 70, 80))); gfx 1369 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(30, 19, 70, 80))); gfx 1371 cc/trees/occlusion_tracker_unittest.cc EXPECT_TRUE(occlusion.OccludedLayer(parent, gfx::Rect(20, 30, 80, 70))); gfx 1372 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(19, 30, 80, 70))); gfx 1373 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(parent, gfx::Rect(20, 29, 80, 70))); gfx 1411 cc/trees/occlusion_tracker_unittest.cc gfx::Transform child1_transform; gfx 1416 cc/trees/occlusion_tracker_unittest.cc gfx::Transform child2_transform; gfx 1422 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 100)); gfx 1425 cc/trees/occlusion_tracker_unittest.cc parent, child1_transform, gfx::PointF(30.f, 20.f), gfx::Size(10, 10)); gfx 1429 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(20.f, 40.f), gfx 1430 cc/trees/occlusion_tracker_unittest.cc gfx::Size(10, 10), gfx 1435 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(-10.f, -20.f), gfx 1436 cc/trees/occlusion_tracker_unittest.cc gfx::Size(510, 510), gfx 1441 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(-10.f, -10.f), gfx 1442 cc/trees/occlusion_tracker_unittest.cc gfx::Size(510, 510), gfx 1447 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1452 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1454 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(-10, 420, 70, 80).ToString(), gfx 1461 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(-10, 420, 70, 80), gfx 1463 cc/trees/occlusion_tracker_unittest.cc child2, false, gfx::Rect(-10, 420, 70, 80))); gfx 1469 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(420, -10, 70, 80).ToString(), gfx 1471 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(420, -20, 80, 90).ToString(), gfx 1475 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(20, 30, 80, 70).ToString(), gfx 1478 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1485 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 1487 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 90, 80).ToString(), gfx 1525 cc/trees/occlusion_tracker_unittest.cc gfx::Transform layer_transform; gfx 1531 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 100)); gfx 1536 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 1537 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 1542 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 1543 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 1548 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(30.f, 30.f), gfx 1549 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 500), gfx 1567 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1586 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 430, 70, 70).ToString(), gfx 1592 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(30, 30, 70, 70).ToString(), gfx 1611 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(30, 30, 70, 70).ToString(), gfx 1626 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 200)); gfx 1630 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 1631 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50), gfx 1634 cc/trees/occlusion_tracker_unittest.cc surface, this->identity_matrix, gfx::PointF(50.f, 50.f), gfx::Size()); gfx 1638 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1642 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 50).ToString(), gfx 1650 cc/trees/occlusion_tracker_unittest.cc UnionRegions(gfx::Rect(0, 100, 50, 50), gfx 1651 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(50, 150, 50, 50)).ToString(), gfx 1666 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 170)); gfx 1671 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 1672 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50), gfx 1675 cc/trees/occlusion_tracker_unittest.cc surface, this->identity_matrix, gfx::PointF(50.f, 50.f), gfx::Size()); gfx 1679 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1683 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 50).ToString(), gfx 1691 cc/trees/occlusion_tracker_unittest.cc UnionRegions(gfx::Rect(0, 100, 50, 50), gfx 1692 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(50, 150, 50, 20)).ToString(), gfx 1706 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 200)); gfx 1710 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 1711 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50), gfx 1714 cc/trees/occlusion_tracker_unittest.cc surface, this->identity_matrix, gfx::PointF(50.f, 50.f), gfx::Size()); gfx 1715 cc/trees/occlusion_tracker_unittest.cc this->CreateMaskLayer(replica, gfx::Size(10, 10)); gfx 1719 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1723 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 50).ToString(), gfx 1731 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 100, 50, 50).ToString(), gfx 1746 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 1750 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 1751 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 200), gfx 1756 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1759 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(0, 0, 100, 100))); gfx 1760 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(100, 0, 100, 100))); gfx 1761 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(0, 100, 100, 100))); gfx 1762 cc/trees/occlusion_tracker_unittest.cc EXPECT_FALSE(occlusion.OccludedLayer(layer, gfx::Rect(100, 100, 100, 100))); gfx 1782 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 1786 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(100.f, 100.f), gfx 1787 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 200), gfx 1792 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1793 cc/trees/occlusion_tracker_unittest.cc layer->SetOpaqueContentsRect(gfx::Rect(0, 0, 100, 100)); gfx 1799 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 100, 100).ToString(), gfx 1803 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(0, 100, 100, 100))); gfx 1805 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(100, 100, 100, 100))); gfx 1807 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(200, 200, 100, 100))); gfx 1811 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1812 cc/trees/occlusion_tracker_unittest.cc layer->SetOpaqueContentsRect(gfx::Rect(20, 20, 180, 180)); gfx 1818 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(120, 120, 180, 180).ToString(), gfx 1822 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(0, 100, 100, 100))); gfx 1824 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(100, 100, 100, 100))); gfx 1826 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(200, 200, 100, 100))); gfx 1830 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1831 cc/trees/occlusion_tracker_unittest.cc layer->SetOpaqueContentsRect(gfx::Rect(150, 150, 100, 100)); gfx 1837 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 250, 50, 50).ToString(), gfx 1841 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(0, 100, 100, 100))); gfx 1843 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(100, 100, 100, 100))); gfx 1845 cc/trees/occlusion_tracker_unittest.cc occlusion.OccludedLayer(parent, gfx::Rect(200, 200, 100, 100))); gfx 1858 cc/trees/occlusion_tracker_unittest.cc gfx::Transform transform; gfx 1862 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 1864 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 1868 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(100.f, 100.f), gfx 1869 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 200), gfx 1874 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1880 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 200, 200), gfx 1881 cc/trees/occlusion_tracker_unittest.cc occlusion.UnoccludedLayerContentRect(layer, gfx::Rect(0, 0, 200, 200))); gfx 1901 cc/trees/occlusion_tracker_unittest.cc gfx::Transform translation_to_front; gfx 1903 cc/trees/occlusion_tracker_unittest.cc gfx::Transform translation_to_back; gfx 1907 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 1909 cc/trees/occlusion_tracker_unittest.cc parent, translation_to_back, gfx::PointF(), gfx::Size(100, 100), true); gfx 1913 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(50.f, 50.f), gfx 1914 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 1924 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1946 cc/trees/occlusion_tracker_unittest.cc gfx::Transform transform; gfx 1953 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 1955 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 1959 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(100.f, 100.f), gfx 1960 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 200), gfx 1970 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 1974 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 200, 200), gfx 1975 cc/trees/occlusion_tracker_unittest.cc occlusion.UnoccludedLayerContentRect(layer, gfx::Rect(0, 0, 200, 200))); gfx 1993 cc/trees/occlusion_tracker_unittest.cc gfx::Transform transform; gfx 2002 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(500, 100)); gfx 2004 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), gfx::Size(500, 500)); gfx 2006 cc/trees/occlusion_tracker_unittest.cc container, transform, gfx::PointF(), gfx::Size(500, 500), true); gfx 2014 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2022 cc/trees/occlusion_tracker_unittest.cc layer, gfx::Rect(0, 26, 500, 474)). gfx 2023 cc/trees/occlusion_tracker_unittest.cc Contains(gfx::Rect(0, 489, 500, 11))); gfx 2040 cc/trees/occlusion_tracker_unittest.cc gfx::Transform transform; gfx 2047 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 100)); gfx 2049 cc/trees/occlusion_tracker_unittest.cc parent, transform, gfx::PointF(), gfx::Size(100, 100), true); gfx 2057 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2080 cc/trees/occlusion_tracker_unittest.cc gfx::Transform transform; gfx 2087 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 100)); gfx 2090 cc/trees/occlusion_tracker_unittest.cc parent, transform, gfx::PointF(), gfx::Size(100, 100), true); gfx 2098 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2105 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 2107 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2133 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 2137 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2138 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2143 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2144 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2149 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2150 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 300), gfx 2155 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2156 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 300), gfx 2161 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2162 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2167 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(250.f, 0.f), gfx 2168 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 300), gfx 2182 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2187 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2189 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2191 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 250, 300).ToString(), gfx 2193 cc/trees/occlusion_tracker_unittest.cc parent2, gfx::Rect(0, 0, 300, 300)).ToString()); gfx 2198 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 300).ToString(), gfx 2200 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2202 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(100, 0, 100, 300), gfx 2204 cc/trees/occlusion_tracker_unittest.cc surface_child, gfx::Rect(0, 0, 200, 300))); gfx 2207 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 200, 300).ToString(), gfx 2209 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2211 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(200, 0, 50, 300), gfx 2213 cc/trees/occlusion_tracker_unittest.cc surface, gfx::Rect(0, 0, 300, 300))); gfx 2218 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2220 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2222 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 250, 300), gfx 2224 cc/trees/occlusion_tracker_unittest.cc surface, false, gfx::Rect(0, 0, 300, 300))); gfx 2228 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2230 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2237 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 250, 300), gfx 2239 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(0, 0, 300, 300))); gfx 2253 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 2257 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2258 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2263 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2264 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2269 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2270 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 300), gfx 2275 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2276 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 300), gfx 2281 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2282 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2287 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(250.f, 0.f), gfx 2288 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 300), gfx 2302 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2307 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2309 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2311 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 250, 300), gfx 2313 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(0, 0, 300, 300))); gfx 2318 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 300).ToString(), gfx 2320 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2322 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(100, 0, 100, 300), gfx 2324 cc/trees/occlusion_tracker_unittest.cc surface_child, gfx::Rect(0, 0, 200, 300))); gfx 2327 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 200, 300).ToString(), gfx 2329 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2331 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(200, 0, 50, 300), gfx 2333 cc/trees/occlusion_tracker_unittest.cc surface, gfx::Rect(0, 0, 300, 300))); gfx 2338 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2340 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2342 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 250, 300), gfx 2344 cc/trees/occlusion_tracker_unittest.cc surface, false, gfx::Rect(0, 0, 300, 300))); gfx 2348 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(250, 0, 50, 300).ToString(), gfx 2350 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2357 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 250, 300), gfx 2359 cc/trees/occlusion_tracker_unittest.cc parent, gfx::Rect(0, 0, 300, 300))); gfx 2374 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 2378 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2379 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2384 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2385 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2390 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2391 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 300), gfx 2396 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2397 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 300), gfx 2400 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), gfx::Size(50, 300), true); gfx 2423 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2428 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 300).ToString(), gfx 2437 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2439 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2446 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2448 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 300).ToString(), gfx 2454 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2456 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 300).ToString(), gfx 2460 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2462 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 300).ToString(), gfx 2468 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2470 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 300, 300).ToString(), gfx 2478 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2480 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 300).ToString(), gfx 2486 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2488 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 300).ToString(), gfx 2503 cc/trees/occlusion_tracker_unittest.cc gfx::Transform surface_transform; gfx 2509 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(500, 500)); gfx 2511 cc/trees/occlusion_tracker_unittest.cc parent, surface_transform, gfx::PointF(), gfx::Size(300, 300), false); gfx 2515 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(50.f, 50.f), gfx 2516 cc/trees/occlusion_tracker_unittest.cc gfx::Size(300, 300), gfx 2518 cc/trees/occlusion_tracker_unittest.cc surface->SetOpaqueContentsRect(gfx::Rect(0, 0, 200, 200)); gfx 2519 cc/trees/occlusion_tracker_unittest.cc surface2->SetOpaqueContentsRect(gfx::Rect(0, 0, 200, 200)); gfx 2523 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2528 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2530 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(50, 50, 200, 200).ToString(), gfx 2540 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2542 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 400, 400).ToString(), gfx 2559 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 300)); gfx 2564 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2565 cc/trees/occlusion_tracker_unittest.cc gfx::Size(500, 300), gfx 2567 cc/trees/occlusion_tracker_unittest.cc surface->SetOpaqueContentsRect(gfx::Rect(0, 0, 400, 200)); gfx 2571 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2576 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2578 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 300, 200).ToString(), gfx 2593 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 200)); gfx 2597 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2598 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 2602 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 2603 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100)); gfx 2607 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 2608 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 2613 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2618 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2620 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 100, 100, 100).ToString(), gfx 2626 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2628 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 2634 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 100, 100), gfx 2636 cc/trees/occlusion_tracker_unittest.cc surface, false, gfx::Rect(0, 0, 100, 100))); gfx 2650 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 200)); gfx 2654 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2655 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 2659 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 2660 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100)); gfx 2664 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2665 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 110), gfx 2670 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2675 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2677 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 110).ToString(), gfx 2683 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2685 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 2691 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), gfx 2693 cc/trees/occlusion_tracker_unittest.cc surface, false, gfx::Rect(0, 0, 100, 100))); gfx 2694 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 10, 100, 90), gfx 2696 cc/trees/occlusion_tracker_unittest.cc surface, true, gfx::Rect(0, 0, 100, 100))); gfx 2711 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 200)); gfx 2715 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2716 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 2720 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 2721 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100)); gfx 2723 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), gfx::Size(40, 100), true); gfx 2727 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 2728 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 100), gfx 2733 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2740 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2742 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(UnionRegions(gfx::Rect(0, 0, 40, 100), gfx::Rect(0, 100, 50, 100)) gfx 2749 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2751 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), gfx 2757 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(40, 0, 60, 100), gfx 2759 cc/trees/occlusion_tracker_unittest.cc surface, false, gfx::Rect(0, 0, 100, 100))); gfx 2760 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(50, 0, 50, 100), gfx 2762 cc/trees/occlusion_tracker_unittest.cc surface, true, gfx::Rect(0, 0, 100, 100))); gfx 2780 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(100, 200)); gfx 2784 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 2785 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 2790 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 10.f), gfx 2791 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 50), gfx 2794 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), gfx::Size(100, 50), true); gfx 2798 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 2804 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2806 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 50).ToString(), gfx 2812 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, -10, 100, 50).ToString(), gfx 2815 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 50).ToString(), gfx 2828 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 40, 100, 10), gfx 2830 cc/trees/occlusion_tracker_unittest.cc surface_child, false, gfx::Rect(0, 0, 100, 50))); gfx 2836 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 50).ToString(), gfx 2838 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(0, 10, 100, 50).ToString(), gfx 2844 cc/trees/occlusion_tracker_unittest.cc EXPECT_RECT_EQ(gfx::Rect(0, 50, 100, 50), gfx 2846 cc/trees/occlusion_tracker_unittest.cc surface, false, gfx::Rect(0, 0, 100, 100))); gfx 2860 cc/trees/occlusion_tracker_unittest.cc gfx::Transform scale_by_half; gfx 2868 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(200, 150)); gfx 2872 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(50.f, 50.f), gfx 2873 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 2876 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), gfx::Size(200, 50), true); gfx 2880 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 100.f), gfx 2881 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 50), gfx 2886 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(0.f, 50.f), gfx 2887 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50), gfx 2892 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(100.f, 50.f), gfx 2893 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 50), gfx 2909 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 2920 cc/trees/occlusion_tracker_unittest.cc expected_occlusion.Union(gfx::Rect(0, 0, 200, 50)); gfx 2921 cc/trees/occlusion_tracker_unittest.cc expected_occlusion.Union(gfx::Rect(0, 50, 50, 50)); gfx 2922 cc/trees/occlusion_tracker_unittest.cc expected_occlusion.Union(gfx::Rect(100, 50, 100, 50)); gfx 2923 cc/trees/occlusion_tracker_unittest.cc expected_occlusion.Union(gfx::Rect(0, 100, 200, 50)); gfx 2927 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2934 cc/trees/occlusion_tracker_unittest.cc expected_occlusion_outside_surface.Union(gfx::Rect(-50, -50, 200, 50)); gfx 2935 cc/trees/occlusion_tracker_unittest.cc expected_occlusion_outside_surface.Union(gfx::Rect(-50, 0, 50, 50)); gfx 2936 cc/trees/occlusion_tracker_unittest.cc expected_occlusion_outside_surface.Union(gfx::Rect(50, 0, 100, 50)); gfx 2937 cc/trees/occlusion_tracker_unittest.cc expected_occlusion_outside_surface.Union(gfx::Rect(-50, 50, 200, 50)); gfx 2941 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2953 cc/trees/occlusion_tracker_unittest.cc expected_blurred_occlusion.Union(gfx::Rect(0, 0, 200, 50 - outset_top)); gfx 2954 cc/trees/occlusion_tracker_unittest.cc expected_blurred_occlusion.Union(gfx::Rect( gfx 2957 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(100 + outset_right, gfx 2962 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 100 + outset_bottom, 200, 50 - outset_bottom)); gfx 2966 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 2969 cc/trees/occlusion_tracker_unittest.cc gfx::Rect outset_rect; gfx 2970 cc/trees/occlusion_tracker_unittest.cc gfx::Rect test_rect; gfx 2973 cc/trees/occlusion_tracker_unittest.cc outset_rect = gfx::Rect(50 - outset_left, gfx 3017 cc/trees/occlusion_tracker_unittest.cc gfx::Transform scale_by_half; gfx 3023 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(75, 75)); gfx 3025 cc/trees/occlusion_tracker_unittest.cc root, scale_by_half, gfx::PointF(), gfx::Size(150, 150)); gfx 3028 cc/trees/occlusion_tracker_unittest.cc parent, scale_by_half, gfx::PointF(), gfx::Size(300, 300), false); gfx 3030 cc/trees/occlusion_tracker_unittest.cc parent, scale_by_half, gfx::PointF(), gfx::Size(300, 300), false); gfx 3034 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(100.f, 100.f), gfx 3035 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50), gfx 3052 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3055 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3057 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(100 / 2, 100 / 2, 50 / 2, 50 / 2).ToString(), gfx 3066 cc/trees/occlusion_tracker_unittest.cc gfx::Rect expected_occlusion = gfx 3067 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(100 / 2 + outset_right * 2, gfx 3092 cc/trees/occlusion_tracker_unittest.cc gfx::Transform scale_by_half; gfx 3100 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 150)); gfx 3104 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(60.f, 60.f), gfx 3105 cc/trees/occlusion_tracker_unittest.cc gfx::Size(30, 30), gfx 3110 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(210.f, 60.f), gfx 3111 cc/trees/occlusion_tracker_unittest.cc gfx::Size(30, 30), gfx 3116 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(50.f, 50.f), gfx 3117 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 3121 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(300.f, 0.f), gfx 3122 cc/trees/occlusion_tracker_unittest.cc gfx::Size()); gfx 3132 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3145 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_behind_surface = gfx::Rect(60, 60, 30, 30); gfx 3146 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_behind_replica = gfx::Rect(210, 60, 30, 30); gfx 3153 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3169 cc/trees/occlusion_tracker_unittest.cc gfx::Transform scale_by_half; gfx 3177 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(200, 150)); gfx 3181 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(50.f, 50.f), gfx 3182 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 3187 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(50.f, 50.f), gfx 3188 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50), gfx 3199 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3206 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_above_surface = gfx::Rect(0, 0, 50, 50); gfx 3208 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3220 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_above_surface = gfx::Rect(50, 50, 50, 50); gfx 3224 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3242 cc/trees/occlusion_tracker_unittest.cc gfx::Transform scale_by_half; gfx 3251 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(300, 150)); gfx 3255 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(50.f, 50.f), gfx 3256 cc/trees/occlusion_tracker_unittest.cc gfx::Size(100, 100), gfx 3260 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(300.f, 0.f), gfx 3261 cc/trees/occlusion_tracker_unittest.cc gfx::Size()); gfx 3265 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(70.f, 50.f), gfx 3266 cc/trees/occlusion_tracker_unittest.cc gfx::Size(30, 50), gfx 3271 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(200.f, 50.f), gfx 3272 cc/trees/occlusion_tracker_unittest.cc gfx::Size(30, 50), gfx 3277 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(90.f, 40.f), gfx 3278 cc/trees/occlusion_tracker_unittest.cc gfx::Size(10, 10), gfx 3283 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(200.f, 40.f), gfx 3284 cc/trees/occlusion_tracker_unittest.cc gfx::Size(10, 10), gfx 3300 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3318 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_above_surface = gfx 3319 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(70 + outset_right, 50, 30 - outset_right, 50); gfx 3320 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_above_replica = gfx 3321 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(200, 50, 30 - outset_left, 50); gfx 3322 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_beside_surface = gfx::Rect(90, 40, 10, 10); gfx 3323 cc/trees/occlusion_tracker_unittest.cc gfx::Rect occlusion_beside_replica = gfx::Rect(200, 40, 10, 10); gfx 3333 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3357 cc/trees/occlusion_tracker_unittest.cc gfx::Size tracking_size(100, 100); gfx 3358 cc/trees/occlusion_tracker_unittest.cc gfx::Size below_tracking_size(99, 99); gfx 3361 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(400, 400)); gfx 3363 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::PointF(), tracking_size, true); gfx 3367 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 3373 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3379 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3381 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3387 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3389 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(tracking_size).ToString(), gfx 3403 cc/trees/occlusion_tracker_unittest.cc gfx::Transform scale_transform; gfx 3407 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(400, 400)); gfx 3410 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(10.f, 10.f), gfx 3411 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50)); gfx 3414 cc/trees/occlusion_tracker_unittest.cc clip, scale_transform, gfx::PointF(), gfx::Size(1, 1)); gfx 3416 cc/trees/occlusion_tracker_unittest.cc scale, this->identity_matrix, gfx::PointF(), gfx::Size(500, 500), true); gfx 3420 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3424 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3426 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 50, 50).ToString(), gfx 3440 cc/trees/occlusion_tracker_unittest.cc gfx::Transform scale_transform; gfx 3444 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::PointF(), gfx::Size(400, 400)); gfx 3447 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(10.f, 10.f), gfx 3448 cc/trees/occlusion_tracker_unittest.cc gfx::Size(50, 50)); gfx 3451 cc/trees/occlusion_tracker_unittest.cc clip, this->identity_matrix, gfx::PointF(), gfx::Size(400, 30), false); gfx 3453 cc/trees/occlusion_tracker_unittest.cc surface, scale_transform, gfx::PointF(), gfx::Size(1, 1)); gfx 3455 cc/trees/occlusion_tracker_unittest.cc scale, this->identity_matrix, gfx::PointF(), gfx::Size(500, 500), true); gfx 3459 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3465 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3467 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 50, 50).ToString(), gfx 3482 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::Point(), gfx::Size(400, 400)); gfx 3484 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::Point(), gfx::Size(400, 400), true); gfx 3487 cc/trees/occlusion_tracker_unittest.cc gfx::Point(100, 0), gfx 3488 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 400)); gfx 3493 cc/trees/occlusion_tracker_unittest.cc gfx::PointF(), gfx 3494 cc/trees/occlusion_tracker_unittest.cc gfx::Size(200, 400), gfx 3499 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3502 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3504 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(200, 400).ToString(), gfx 3511 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3513 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(100, 0, 200, 400).ToString(), gfx 3529 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::Point(), gfx::Size(400, 400)); gfx 3531 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::Point(), gfx::Size(400, 400), true); gfx 3533 cc/trees/occlusion_tracker_unittest.cc parent, this->identity_matrix, gfx::Point(), gfx::Size()); gfx 3535 cc/trees/occlusion_tracker_unittest.cc hide, this->identity_matrix, gfx::Point(100, 0), gfx::Size(200, 400)); gfx 3538 cc/trees/occlusion_tracker_unittest.cc copy, this->identity_matrix, gfx::PointF(), gfx::Size(200, 400), true); gfx 3547 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3550 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3552 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect(200, 400).ToString(), gfx 3559 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3561 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3577 cc/trees/occlusion_tracker_unittest.cc this->identity_matrix, gfx::Point(), gfx::Size(400, 400)); gfx 3579 cc/trees/occlusion_tracker_unittest.cc root, this->identity_matrix, gfx::Point(), gfx::Size(200, 200), true); gfx 3581 cc/trees/occlusion_tracker_unittest.cc empty_layer->SetTouchEventHandlerRegion(gfx::Rect(10, 10, 10, 10)); gfx 3586 cc/trees/occlusion_tracker_unittest.cc gfx::Rect(0, 0, 1000, 1000)); gfx 3590 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 3592 cc/trees/occlusion_tracker_unittest.cc EXPECT_EQ(gfx::Rect().ToString(), gfx 20 cc/trees/proxy.h namespace gfx { gfx 50 cc/trees/proxy.h virtual bool CompositeAndReadback(void* pixels, const gfx::Rect& rect) = 0; gfx 72 cc/trees/proxy.h virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) = 0; gfx 40 cc/trees/quad_culler.cc gfx::Rect QuadCuller::UnoccludedContentRect( gfx 41 cc/trees/quad_culler.cc const gfx::Rect& content_rect, gfx 42 cc/trees/quad_culler.cc const gfx::Transform& draw_transform) { gfx 47 cc/trees/quad_culler.cc gfx::Rect QuadCuller::UnoccludedContributingSurfaceContentRect( gfx 48 cc/trees/quad_culler.cc const gfx::Rect& content_rect, gfx 49 cc/trees/quad_culler.cc const gfx::Transform& draw_transform) { gfx 56 cc/trees/quad_culler.cc const gfx::Rect& culled_rect, gfx 73 cc/trees/quad_culler.cc gfx::Rect culled_rect; gfx 78 cc/trees/quad_culler.cc gfx::Transform draw_transform = rpdq->is_replica gfx 30 cc/trees/quad_culler.h virtual gfx::Rect UnoccludedContentRect(const gfx::Rect& content_rect, gfx 31 cc/trees/quad_culler.h const gfx::Transform& draw_transform) gfx 33 cc/trees/quad_culler.h virtual gfx::Rect UnoccludedContributingSurfaceContentRect( gfx 34 cc/trees/quad_culler.h const gfx::Rect& content_rect, gfx 35 cc/trees/quad_culler.h const gfx::Transform& draw_transform) OVERRIDE; gfx 38 cc/trees/quad_culler_unittest.cc const gfx::Transform& draw_transform, gfx 39 cc/trees/quad_culler_unittest.cc const gfx::Rect& layer_rect, gfx 42 cc/trees/quad_culler_unittest.cc const gfx::Rect& layer_opaque_rect, gfx 47 cc/trees/quad_culler_unittest.cc gfx::Size(100, 100), LayerTilingData::NO_BORDER_TEXELS); gfx 63 cc/trees/quad_culler_unittest.cc gfx::Rect tile_opaque_rect = gfx 66 cc/trees/quad_culler_unittest.cc : gfx::IntersectRects(tiler->tile_bounds(i, j), layer_opaque_rect); gfx 71 cc/trees/quad_culler_unittest.cc gfx::Rect rect_in_target = MathUtil::MapEnclosingClippedRect( gfx 118 cc/trees/quad_culler_unittest.cc gfx::Transform child_transform; \ gfx 119 cc/trees/quad_culler_unittest.cc gfx::Size root_size = gfx::Size(300, 300); \ gfx 120 cc/trees/quad_culler_unittest.cc gfx::Rect root_rect = gfx::Rect(root_size); \ gfx 121 cc/trees/quad_culler_unittest.cc gfx::Size child_size = gfx::Size(200, 200); \ gfx 122 cc/trees/quad_culler_unittest.cc gfx::Rect child_rect = gfx::Rect(child_size); gfx 128 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 132 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 135 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 139 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 142 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 162 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 166 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 169 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 173 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 176 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 196 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 200 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 207 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 210 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 230 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 234 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 241 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 244 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 265 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 269 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 276 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 279 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 294 cc/trees/quad_culler_unittest.cc gfx::Rect quad_visible_rect1 = quad_list[5]->visible_rect; gfx 297 cc/trees/quad_culler_unittest.cc gfx::Rect quad_visible_rect3 = quad_list[7]->visible_rect; gfx 301 cc/trees/quad_culler_unittest.cc gfx::Rect quad_visible_rect4 = quad_list[8]->visible_rect; gfx 305 cc/trees/quad_culler_unittest.cc gfx::Rect quad_visible_rect6 = quad_list[10]->visible_rect; gfx 317 cc/trees/quad_culler_unittest.cc gfx::Transform root_transform; gfx 321 cc/trees/quad_culler_unittest.cc root_rect = child_rect = gfx::Rect(0, 0, 100, 100); gfx 328 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 335 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 338 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 363 cc/trees/quad_culler_unittest.cc gfx::Transform root_transform; gfx 366 cc/trees/quad_culler_unittest.cc root_rect = child_rect = gfx::Rect(0, 0, 100, 100); gfx 373 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 380 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 383 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 404 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 408 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 415 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 418 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 439 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 443 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 445 cc/trees/quad_culler_unittest.cc gfx::Rect child_opaque_rect(child_rect.x() + child_rect.width() / 4, gfx 457 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 478 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 482 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 484 cc/trees/quad_culler_unittest.cc gfx::Rect child_opaque_rect(child_rect.x() + child_rect.width() / 4, gfx 496 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 517 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 521 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 523 cc/trees/quad_culler_unittest.cc gfx::Rect child_opaque_rect(child_rect.x() + child_rect.width() / 4, gfx 535 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 558 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 562 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 569 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 572 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 598 cc/trees/quad_culler_unittest.cc gfx::Transform parent_transform; gfx 606 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 609 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 613 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 616 cc/trees/quad_culler_unittest.cc gfx::Rect(-100, -100, 1000, 1000)); gfx 636 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 637 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 640 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 643 cc/trees/quad_culler_unittest.cc TestOcclusionTracker<LayerImpl> occlusion_tracker(gfx::Rect(1000, 1000)); gfx 656 cc/trees/quad_culler_unittest.cc sqs, gfx::Rect(100, 100), gfx::Rect(100, 100), SK_ColorRED, false); gfx 660 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 661 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 665 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 666 cc/trees/quad_culler_unittest.cc gfx::RectF(), gfx 672 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 673 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 677 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 678 cc/trees/quad_culler_unittest.cc gfx::RectF(), gfx 683 cc/trees/quad_culler_unittest.cc color_quad->visible_rect = gfx::Rect(20, 30, 10, 11); gfx 684 cc/trees/quad_culler_unittest.cc pass_quad->visible_rect = gfx::Rect(50, 60, 13, 14); gfx 685 cc/trees/quad_culler_unittest.cc replica_quad->visible_rect = gfx::Rect(30, 40, 15, 16); gfx 699 cc/trees/quad_culler_unittest.cc EXPECT_EQ(gfx::Rect(20, 30, 10, 11).ToString(), gfx 701 cc/trees/quad_culler_unittest.cc EXPECT_EQ(gfx::Rect(50, 60, 13, 14).ToString(), gfx 703 cc/trees/quad_culler_unittest.cc EXPECT_EQ(gfx::Rect(30, 40, 15, 16).ToString(), gfx 711 cc/trees/quad_culler_unittest.cc gfx::Transform(), gfx 712 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 715 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 718 cc/trees/quad_culler_unittest.cc TestOcclusionTracker<LayerImpl> occlusion_tracker(gfx::Rect(1000, 1000)); gfx 731 cc/trees/quad_culler_unittest.cc sqs, gfx::Rect(100, 100), gfx::Rect(100, 100), SK_ColorRED, false); gfx 735 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 736 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 740 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 741 cc/trees/quad_culler_unittest.cc gfx::RectF(), gfx 747 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 748 cc/trees/quad_culler_unittest.cc gfx::Rect(100, 100), gfx 752 cc/trees/quad_culler_unittest.cc gfx::Rect(), gfx 753 cc/trees/quad_culler_unittest.cc gfx::RectF(), gfx 758 cc/trees/quad_culler_unittest.cc color_quad->visible_rect = gfx::Rect(10, 10, 10, 11); gfx 759 cc/trees/quad_culler_unittest.cc pass_quad->visible_rect = gfx::Rect(10, 20, 13, 14); gfx 760 cc/trees/quad_culler_unittest.cc replica_quad->visible_rect = gfx::Rect(10, 30, 15, 16); gfx 764 cc/trees/quad_culler_unittest.cc occlusion_tracker.set_occlusion_from_outside_target(gfx::Rect(0, 0, 15, 100)); gfx 776 cc/trees/quad_culler_unittest.cc EXPECT_EQ(gfx::Rect(15, 10, 5, 11).ToString(), gfx 778 cc/trees/quad_culler_unittest.cc EXPECT_EQ(gfx::Rect(15, 20, 8, 14).ToString(), gfx 780 cc/trees/quad_culler_unittest.cc EXPECT_EQ(gfx::Rect(15, 30, 10, 16).ToString(), gfx 60 cc/trees/single_thread_proxy.cc const gfx::Rect& rect) { gfx 64 cc/trees/single_thread_proxy.cc gfx::Rect device_viewport_damage_rect = rect; gfx 67 cc/trees/single_thread_proxy.cc if (!CommitAndComposite(gfx::FrameTime::Now(), gfx 249 cc/trees/single_thread_proxy.cc void SingleThreadProxy::SetNeedsRedraw(const gfx::Rect& damage_rect) { gfx 308 cc/trees/single_thread_proxy.cc const gfx::Rect& damage_rect) { gfx 394 cc/trees/single_thread_proxy.cc gfx::Rect device_viewport_damage_rect; gfx 446 cc/trees/single_thread_proxy.cc const gfx::Rect& device_viewport_damage_rect, gfx 510 cc/trees/single_thread_proxy.cc const gfx::Rect& device_viewport_damage_rect, gfx 31 cc/trees/single_thread_proxy.h const gfx::Rect& rect) OVERRIDE; gfx 41 cc/trees/single_thread_proxy.h virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE; gfx 67 cc/trees/single_thread_proxy.h const gfx::Rect& dirty_rect) OVERRIDE; gfx 94 cc/trees/single_thread_proxy.h const gfx::Rect& device_viewport_damage_rect, gfx 100 cc/trees/single_thread_proxy.h const gfx::Rect& device_viewport_damage_rect, gfx 57 cc/trees/thread_proxy.cc gfx::Rect rect; gfx 143 cc/trees/thread_proxy.cc bool ThreadProxy::CompositeAndReadback(void* pixels, const gfx::Rect& rect) { gfx 542 cc/trees/thread_proxy.cc void ThreadProxy::SetNeedsRedraw(const gfx::Rect& damage_rect) { gfx 597 cc/trees/thread_proxy.cc void ThreadProxy::SetNeedsRedrawRectOnImplThread(const gfx::Rect& damage_rect) { gfx 1195 cc/trees/thread_proxy.cc gfx::Rect readback_rect; gfx 47 cc/trees/thread_proxy.h const gfx::Rect& rect) OVERRIDE; gfx 57 cc/trees/thread_proxy.h virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE; gfx 85 cc/trees/thread_proxy.h virtual void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) gfx 331 cc/trees/tree_synchronizer_unittest.cc gfx::PointF root_position = gfx::PointF(2.3f, 7.4f); gfx 337 cc/trees/tree_synchronizer_unittest.cc gfx::Size second_child_bounds = gfx::Size(25, 53); gfx 354 cc/trees/tree_synchronizer_unittest.cc gfx::PointF root_layer_impl_position = layer_impl_tree_root->position(); gfx 361 cc/trees/tree_synchronizer_unittest.cc gfx::Size second_layer_impl_child_bounds = gfx 93 chrome/app/chrome_exe_main_win.cc gfx::EnableHighDPISupport(); gfx 85 chrome/browser/android/banners/app_banner_manager.cc ScopedJavaLocalRef<jobject> jimage = gfx::ConvertToJavaBitmap(bitmap); gfx 50 chrome/browser/android/chrome_web_contents_delegate_android.cc const gfx::RectF& rect) { gfx 61 chrome/browser/android/chrome_web_contents_delegate_android.cc const gfx::Rect& rect) { gfx 138 chrome/browser/android/chrome_web_contents_delegate_android.cc const gfx::Rect& selection_rect, gfx 186 chrome/browser/android/chrome_web_contents_delegate_android.cc const std::vector<gfx::RectF>& rects, gfx 187 chrome/browser/android/chrome_web_contents_delegate_android.cc const gfx::RectF& active_rect) { gfx 302 chrome/browser/android/chrome_web_contents_delegate_android.cc const gfx::Rect& initial_pos, gfx 22 chrome/browser/android/chrome_web_contents_delegate_android.h namespace gfx { gfx 49 chrome/browser/android/chrome_web_contents_delegate_android.h const gfx::Rect& selection_rect, gfx 54 chrome/browser/android/chrome_web_contents_delegate_android.h const std::vector<gfx::RectF>& rects, gfx 55 chrome/browser/android/chrome_web_contents_delegate_android.h const gfx::RectF& active_rect) OVERRIDE; gfx 73 chrome/browser/android/chrome_web_contents_delegate_android.h const gfx::Rect& initial_pos, gfx 49 chrome/browser/android/favicon_helper.cc j_favicon_bitmap = gfx::ConvertToJavaBitmap(&favicon_bitmap); gfx 133 chrome/browser/android/favicon_helper.cc gfx::Image favicon_image = gfx::Image::CreateFrom1xPNGBytes(favicon_png); gfx 140 chrome/browser/android/favicon_helper.cc return gfx::ConvertToJavaBitmap(&favicon_bitmap); gfx 151 chrome/browser/android/favicon_helper.cc gfx::JavaBitmap bitmap_lock(bitmap); gfx 152 chrome/browser/android/favicon_helper.cc SkBitmap skbitmap = gfx::CreateSkBitmapFromJavaBitmap(bitmap_lock); gfx 76 chrome/browser/android/most_visited_sites.cc scoped_ptr<SkBitmap> image(gfx::JPEGCodec::Decode( gfx 108 chrome/browser/android/most_visited_sites.cc gfx::ConvertToJavaBitmap(&thumbnail_bitmap).obj()); gfx 137 chrome/browser/android/omnibox/omnibox_prerender.cc gfx::Rect container_bounds; gfx 100 chrome/browser/android/profiles/profile_downloader_android.cc jbitmap = gfx::ConvertToJavaBitmap(&bitmap); gfx 138 chrome/browser/android/profiles/profile_downloader_android.cc const gfx::Image& img = info.GetAvatarIconOfProfileAtIndex(index); gfx 140 chrome/browser/android/profiles/profile_downloader_android.cc jbitmap = gfx::ConvertToJavaBitmap(img.AsImageSkia().bitmap()); gfx 680 chrome/browser/android/provider/chrome_browser_provider.cc gfx::kFaviconSize), gfx 149 chrome/browser/android/shortcut_helper.cc if (gfx::PNGCodec::Decode(bitmap_result.bitmap_data->front(), gfx 167 chrome/browser/android/shortcut_helper.cc java_bitmap = gfx::ConvertToJavaBitmap(&favicon_bitmap); gfx 164 chrome/browser/apps/app_browsertest.cc gfx::Size dialog_size() { gfx 173 chrome/browser/apps/app_browsertest.cc gfx::Size dialog_size_; gfx 737 chrome/browser/apps/app_browsertest.cc gfx::Rect cached_bounds(80, 100, 400, 400); gfx 738 chrome/browser/apps/app_browsertest.cc gfx::Rect cached_screen_bounds(0, 0, 1600, 900); gfx 739 chrome/browser/apps/app_browsertest.cc gfx::Rect current_screen_bounds(0, 0, 1600, 900); gfx 740 chrome/browser/apps/app_browsertest.cc gfx::Size minimum_size(200, 200); gfx 741 chrome/browser/apps/app_browsertest.cc gfx::Rect bounds; gfx 751 chrome/browser/apps/app_browsertest.cc gfx::Rect empty_screen_bounds; gfx 762 chrome/browser/apps/app_browsertest.cc gfx::Rect horizontal_out_of_screen_bounds(-800, 100, 400, 400); gfx 766 chrome/browser/apps/app_browsertest.cc gfx::Rect(-1366, 0, 1600, 900), gfx 770 chrome/browser/apps/app_browsertest.cc EXPECT_EQ(bounds, gfx::Rect(0, 100, 400, 400)); gfx 774 chrome/browser/apps/app_browsertest.cc gfx::Rect vertical_out_of_screen_bounds(10, 1000, 400, 400); gfx 778 chrome/browser/apps/app_browsertest.cc gfx::Rect(-1366, 0, 1600, 900), gfx 782 chrome/browser/apps/app_browsertest.cc EXPECT_EQ(bounds, gfx::Rect(10, 500, 400, 400)); gfx 785 chrome/browser/apps/app_browsertest.cc gfx::Rect big_cache_bounds(10, 10, 1000, 1000); gfx 788 chrome/browser/apps/app_browsertest.cc gfx::Rect(0, 0, 1600, 1000), gfx 789 chrome/browser/apps/app_browsertest.cc gfx::Rect(0, 0, 800, 600), gfx 792 chrome/browser/apps/app_browsertest.cc EXPECT_EQ(bounds, gfx::Rect(0, 0, 800, 600)); gfx 798 chrome/browser/apps/app_browsertest.cc gfx::Rect(0, 0, 1600, 1000), gfx 799 chrome/browser/apps/app_browsertest.cc gfx::Rect(0, 0, 800, 600), gfx 800 chrome/browser/apps/app_browsertest.cc gfx::Size(900, 900), gfx 802 chrome/browser/apps/app_browsertest.cc EXPECT_EQ(bounds, gfx::Rect(0, 0, 900, 900)); gfx 1149 chrome/browser/apps/app_browsertest.cc gfx::Size minimum_dialog_size(410, 191); gfx 211 chrome/browser/apps/app_browsertest_util.cc const gfx::Rect& cached_bounds, gfx 212 chrome/browser/apps/app_browsertest_util.cc const gfx::Rect& cached_screen_bounds, gfx 213 chrome/browser/apps/app_browsertest_util.cc const gfx::Rect& current_screen_bounds, gfx 214 chrome/browser/apps/app_browsertest_util.cc const gfx::Size& minimum_size, gfx 215 chrome/browser/apps/app_browsertest_util.cc gfx::Rect* bounds) { gfx 97 chrome/browser/apps/app_browsertest_util.h const gfx::Rect& cached_bounds, gfx 98 chrome/browser/apps/app_browsertest_util.h const gfx::Rect& cached_screen_bounds, gfx 99 chrome/browser/apps/app_browsertest_util.h const gfx::Rect& current_screen_bounds, gfx 100 chrome/browser/apps/app_browsertest_util.h const gfx::Size& minimum_size, gfx 101 chrome/browser/apps/app_browsertest_util.h gfx::Rect* bounds); gfx 25 chrome/browser/apps/app_window_browsertest.cc const gfx::Rect& bounds) gfx 49 chrome/browser/apps/app_window_browsertest.cc const gfx::Rect& bounds) gfx 70 chrome/browser/apps/app_window_browsertest.cc gfx::Rect bounds_; gfx 228 chrome/browser/apps/app_window_browsertest.cc gfx::Rect(200, 200, 200, 200)); gfx 235 chrome/browser/apps/app_window_browsertest.cc gfx::Rect(200, 200, 200, 200)); gfx 39 chrome/browser/apps/ephemeral_app_launcher.cc gfx::NativeWindow NativeWindowForWebContents(content::WebContents* contents) { gfx 53 chrome/browser/apps/ephemeral_app_launcher.cc gfx::NativeWindow parent_window, gfx 114 chrome/browser/apps/ephemeral_app_launcher.cc gfx::NativeWindow parent_window, gfx 42 chrome/browser/apps/ephemeral_app_launcher.h gfx::NativeWindow parent_window, gfx 58 chrome/browser/apps/ephemeral_app_launcher.h gfx::NativeWindow parent_window, gfx 106 chrome/browser/apps/ephemeral_app_launcher.h gfx::NativeWindow parent_window_; gfx 36 chrome/browser/apps/web_view_interactive_browsertest.cc : corner_(gfx::Point()), gfx 40 chrome/browser/apps/web_view_interactive_browsertest.cc void MoveMouseInsideWindowWithListener(gfx::Point point, gfx 44 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point(corner_.x() + point.x(), corner_.y() + point.y()))); gfx 60 chrome/browser/apps/web_view_interactive_browsertest.cc void MoveMouseInsideWindow(const gfx::Point& point) { gfx 62 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point(corner_.x() + point.x(), corner_.y() + point.y()))); gfx 65 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::NativeWindow GetPlatformAppWindow() { gfx 228 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Rect offset; gfx 230 chrome/browser/apps/web_view_interactive_browsertest.cc corner_ = gfx::Point(offset.x(), offset.y()); gfx 251 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point corner() { gfx 305 chrome/browser/apps/web_view_interactive_browsertest.cc void PopupTestHelper(const gfx::Point& padding) { gfx 333 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Rect popup_bounds = popup_rwh->GetView()->GetViewBounds(); gfx 339 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Rect embedder_bounds = embedder_rvh->GetView()->GetViewBounds(); gfx 340 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Vector2d diff = popup_bounds.origin() - embedder_bounds.origin(); gfx 359 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindow(gfx::Point(45, 8)); gfx 360 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindow(gfx::Point(45, 9)); gfx 363 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindow(gfx::Point(74, 12)); gfx 364 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindow(gfx::Point(78, 12)); gfx 376 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindow(gfx::Point(76, 76)); gfx 379 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindow(gfx::Point(76, 77)); gfx 412 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point corner_; gfx 436 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point(corner().x() + 75, corner().y() + 25))); gfx 451 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point(corner().x() + 74, corner().y() + 74))); gfx 452 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindowWithListener(gfx::Point(75, 75), "mouse-move"); gfx 460 chrome/browser/apps/web_view_interactive_browsertest.cc MoveMouseInsideWindowWithListener(gfx::Point(75, 25), "mouse-move"); gfx 486 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point(corner().x() + 50, corner().y() + 10))); gfx 497 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Point(corner().x() + 51, corner().y() + 11))); gfx 660 chrome/browser/apps/web_view_interactive_browsertest.cc PopupTestHelper(gfx::Point()); gfx 665 chrome/browser/apps/web_view_interactive_browsertest.cc PopupTestHelper(gfx::Point()); gfx 678 chrome/browser/apps/web_view_interactive_browsertest.cc PopupTestHelper(gfx::Point(20, 0)); gfx 692 chrome/browser/apps/web_view_interactive_browsertest.cc gfx::Rect offset; gfx 695 chrome/browser/apps/web_view_interactive_browsertest.cc corner_ = gfx::Point(offset.x(), offset.y()); gfx 77 chrome/browser/apps/window_controls_browsertest.cc gfx::Point(x, y)); gfx 42 chrome/browser/autofill/content_autofill_driver_browsertest.cc void(const gfx::RectF& element_bounds, gfx 81 chrome/browser/background/background_application_list_model.cc void OnImageLoaded(const gfx::Image& image); gfx 88 chrome/browser/background/background_application_list_model.cc scoped_ptr<gfx::ImageSkia> icon_; gfx 153 chrome/browser/background/background_application_list_model.cc const gfx::Image& image) { gfx 166 chrome/browser/background/background_application_list_model.cc extension_, resource, gfx::Size(size, size), gfx 253 chrome/browser/background/background_application_list_model.cc const gfx::ImageSkia* BackgroundApplicationListModel::GetIcon( gfx 19 chrome/browser/background/background_application_list_model.h namespace gfx { gfx 65 chrome/browser/background/background_application_list_model.h const gfx::ImageSkia* GetIcon(const extensions::Extension* extension); gfx 168 chrome/browser/background/background_contents_service.cc const gfx::Image& icon) { gfx 169 chrome/browser/background/background_contents_service.cc gfx::Image notification_icon(icon); gfx 210 chrome/browser/background/background_contents_service.cc gfx::Size(size, size), gfx 785 chrome/browser/background/background_contents_service.cc const gfx::Rect& initial_pos, gfx 38 chrome/browser/background/background_contents_service.h namespace gfx { gfx 90 chrome/browser/background/background_contents_service.h const gfx::Rect& initial_pos, gfx 119 chrome/browser/background/background_mode_manager.cc const gfx::ImageSkia* icon = applications_->GetIcon(cursor->get()); gfx 128 chrome/browser/background/background_mode_manager.cc menu->SetIcon(menu->GetItemCount() - 1, gfx::Image(*icon)); gfx 697 chrome/browser/background/background_mode_manager.cc gfx::ImageSkia* image_skia = ui::ResourceBundle::GetSharedInstance(). gfx 121 chrome/browser/background/background_mode_manager_unittest.cc virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE {} gfx 122 chrome/browser/background/background_mode_manager_unittest.cc virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE {} gfx 124 chrome/browser/background/background_mode_manager_unittest.cc virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 41 chrome/browser/background/background_mode_manager_win.cc gfx::ImageSkia(), gfx 100 chrome/browser/bitmap_fetcher_browsertest.cc ASSERT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(image, true, &compressed)); gfx 124 chrome/browser/bitmap_fetcher_browsertest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(image, found_image)); gfx 146 chrome/browser/bitmap_fetcher_browsertest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(image, delegate.bitmap())); gfx 463 chrome/browser/bookmarks/bookmark_html_writer.cc GURL(url), chrome::FAVICON, gfx::kFaviconSize), gfx 162 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &icon_data); gfx 208 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc gfx::Image::CreateFrom1xBitmap(bitmap)); gfx 235 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc url1, url1_favicon, chrome::FAVICON, gfx::Image()); gfx 148 chrome/browser/bookmarks/bookmark_model.cc favicon_ = gfx::Image(); gfx 402 chrome/browser/bookmarks/bookmark_model.cc const gfx::Image& BookmarkModel::GetFavicon(const BookmarkNode* node) { gfx 1021 chrome/browser/bookmarks/bookmark_model.cc gfx::kFaviconSize), gfx 160 chrome/browser/bookmarks/bookmark_model.h const gfx::Image& favicon() const { return favicon_; } gfx 161 chrome/browser/bookmarks/bookmark_model.h void set_favicon(const gfx::Image& icon) { favicon_ = icon; } gfx 190 chrome/browser/bookmarks/bookmark_model.h gfx::Image favicon_; gfx 324 chrome/browser/bookmarks/bookmark_model.h const gfx::Image& GetFavicon(const BookmarkNode* node); gfx 885 chrome/browser/browsing_data/cookies_tree_model.cc void CookiesTreeModel::GetIcons(std::vector<gfx::ImageSkia>* icons) { gfx 626 chrome/browser/browsing_data/cookies_tree_model.h virtual void GetIcons(std::vector<gfx::ImageSkia>* icons) OVERRIDE; gfx 11 chrome/browser/certificate_viewer.cc gfx::NativeWindow parent, gfx 21 chrome/browser/certificate_viewer.h gfx::NativeWindow parent, gfx 26 chrome/browser/certificate_viewer.h gfx::NativeWindow parent, gfx 197 chrome/browser/chrome_browser_main_win.cc gfx::PlatformFontWin::adjust_font_callback = &AdjustUIFont; gfx 198 chrome/browser/chrome_browser_main_win.cc gfx::PlatformFontWin::get_minimum_font_size_callback = &GetMinimumFontSize; gfx 621 chrome/browser/chrome_content_browser_client.cc gfx::DeviceDisplayInfo info; gfx 1674 chrome/browser/chrome_content_browser_client.cc gfx::ImageSkia* ChromeContentBrowserClient::GetDefaultFavicon() { gfx 131 chrome/browser/chrome_content_browser_client.h virtual gfx::ImageSkia* GetDefaultFavicon() OVERRIDE; gfx 42 chrome/browser/chrome_process_singleton.cc gfx::NativeWindow active_dialog) { gfx 55 chrome/browser/chrome_process_singleton.h void SetActiveModalDialog(gfx::NativeWindow active_dialog); gfx 86 chrome/browser/chrome_process_singleton_win_unittest.cc gfx::NativeWindow /* target_window */) { gfx 94 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc gfx::NativeWindow window = ash::Shell::GetInstance()->GetPrimaryRootWindow(); gfx 145 chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc gfx::NativeWindow window = widget->GetNativeWindow(); gfx 41 chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc gfx::NativeWindow root_window = gfx 40 chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc gfx::NativeWindow window) gfx 49 chrome/browser/chromeos/app_mode/certificate_manager_dialog.cc gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); gfx 20 chrome/browser/chromeos/app_mode/certificate_manager_dialog.h gfx::NativeWindow window); gfx 165 chrome/browser/chromeos/app_mode/kiosk_app_data.cc icon_ = gfx::ImageSkia::CreateFrom1xBitmap(decoded_image); gfx 180 chrome/browser/chromeos/app_mode/kiosk_app_data.cc gfx::ImageSkia icon_; gfx 310 chrome/browser/chromeos/app_mode/kiosk_app_data.cc app, image, gfx::Size(kIconSize, kIconSize), gfx 381 chrome/browser/chromeos/app_mode/kiosk_app_data.cc icon_ = gfx::ImageSkia::CreateFrom1xBitmap(icon); gfx 385 chrome/browser/chromeos/app_mode/kiosk_app_data.cc CHECK(gfx::PNGCodec::EncodeBGRASkBitmap(icon, false, &image_data)); gfx 402 chrome/browser/chromeos/app_mode/kiosk_app_data.cc void KioskAppData::OnExtensionIconLoaded(const gfx::Image& icon) { gfx 416 chrome/browser/chromeos/app_mode/kiosk_app_data.cc const gfx::ImageSkia& icon) { gfx 28 chrome/browser/chromeos/app_mode/kiosk_app_data.h namespace gfx { gfx 73 chrome/browser/chromeos/app_mode/kiosk_app_data.h const gfx::ImageSkia& icon() const { return icon_; } gfx 98 chrome/browser/chromeos/app_mode/kiosk_app_data.h void OnExtensionIconLoaded(const gfx::Image& icon); gfx 102 chrome/browser/chromeos/app_mode/kiosk_app_data.h const gfx::ImageSkia& icon); gfx 132 chrome/browser/chromeos/app_mode/kiosk_app_data.h gfx::ImageSkia icon_; gfx 64 chrome/browser/chromeos/app_mode/kiosk_app_manager.h gfx::ImageSkia icon; gfx 354 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc EXPECT_EQ(gfx::Size(16, 16), apps[0].icon.size()); gfx 427 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc EXPECT_EQ(gfx::Size(16, 16), apps[0].icon.size()); gfx 83 chrome/browser/chromeos/attestation/platform_verification_dialog.cc gfx::Range(offsets[1], offsets[1] + learn_more.size()), gfx 123 chrome/browser/chromeos/attestation/platform_verification_dialog.cc gfx::Size PlatformVerificationDialog::GetPreferredSize() { gfx 124 chrome/browser/chromeos/attestation/platform_verification_dialog.cc return gfx::Size(kDialogMaxWidthInPixel, gfx 128 chrome/browser/chromeos/attestation/platform_verification_dialog.cc void PlatformVerificationDialog::StyledLabelLinkClicked(const gfx::Range& range, gfx 53 chrome/browser/chromeos/attestation/platform_verification_dialog.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 56 chrome/browser/chromeos/attestation/platform_verification_dialog.h virtual void StyledLabelLinkClicked(const gfx::Range& range, gfx 83 chrome/browser/chromeos/base/locale_util.cc gfx::PlatformFontPango::ReloadDefaultFont(); gfx 33 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc gfx::NativeWindow parent_window, gfx 73 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc void BluetoothPairingDialog::GetDialogSize(gfx::Size* size) const { gfx 24 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h BluetoothPairingDialog(gfx::NativeWindow parent_window, gfx 37 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 48 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h gfx::NativeWindow parent_window_; gfx 31 chrome/browser/chromeos/charger_replace/charger_link_dialog.cc ChargerLinkDialog::ChargerLinkDialog(gfx::NativeWindow parent_window, gfx 65 chrome/browser/chromeos/charger_replace/charger_link_dialog.cc void ChargerLinkDialog::GetDialogSize(gfx::Size* size) const { gfx 16 chrome/browser/chromeos/charger_replace/charger_link_dialog.h ChargerLinkDialog(gfx::NativeWindow parent_window, gfx 29 chrome/browser/chromeos/charger_replace/charger_link_dialog.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 39 chrome/browser/chromeos/charger_replace/charger_link_dialog.h gfx::NativeWindow parent_window_; gfx 38 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.cc gfx::NativeWindow ChargerReplacementDialog::current_window_ = NULL; gfx 41 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.cc gfx::NativeWindow parent_window) gfx 109 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.cc void ChargerReplacementDialog::GetMinimumDialogSize(gfx::Size* size) const { gfx 113 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.cc void ChargerReplacementDialog::GetDialogSize(gfx::Size* size) const { gfx 18 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.h explicit ChargerReplacementDialog(gfx::NativeWindow parent_window); gfx 39 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.h virtual void GetMinimumDialogSize(gfx::Size* size) const OVERRIDE; gfx 40 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 52 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.h static gfx::NativeWindow current_window_; gfx 54 chrome/browser/chromeos/charger_replace/charger_replacement_dialog.h const gfx::NativeWindow parent_window_; gfx 27 chrome/browser/chromeos/choose_mobile_network_dialog.cc void ChooseMobileNetworkDialog::ShowDialog(gfx::NativeWindow owning_window) { gfx 52 chrome/browser/chromeos/choose_mobile_network_dialog.cc void ChooseMobileNetworkDialog::GetDialogSize(gfx::Size* size) const { gfx 19 chrome/browser/chromeos/choose_mobile_network_dialog.h static void ShowDialog(gfx::NativeWindow owning_window); gfx 30 chrome/browser/chromeos/choose_mobile_network_dialog.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 41 chrome/browser/chromeos/display/display_preferences.cc bool ValueToInsets(const base::DictionaryValue& value, gfx::Insets* insets) { gfx 57 chrome/browser/chromeos/display/display_preferences.cc void InsetsToValue(const gfx::Insets& insets, base::DictionaryValue* value) { gfx 126 chrome/browser/chromeos/display/display_preferences.cc int64 id1 = gfx::Display::kInvalidDisplayID; gfx 127 chrome/browser/chromeos/display/display_preferences.cc int64 id2 = gfx::Display::kInvalidDisplayID; gfx 130 chrome/browser/chromeos/display/display_preferences.cc id1 == gfx::Display::kInvalidDisplayID || gfx 131 chrome/browser/chromeos/display/display_preferences.cc id2 == gfx::Display::kInvalidDisplayID) { gfx 148 chrome/browser/chromeos/display/display_preferences.cc int64 id = gfx::Display::kInvalidDisplayID; gfx 150 chrome/browser/chromeos/display/display_preferences.cc id == gfx::Display::kInvalidDisplayID) { gfx 153 chrome/browser/chromeos/display/display_preferences.cc gfx::Display::Rotation rotation = gfx::Display::ROTATE_0; gfx 155 chrome/browser/chromeos/display/display_preferences.cc const gfx::Insets* insets_to_set = NULL; gfx 159 chrome/browser/chromeos/display/display_preferences.cc rotation = static_cast<gfx::Display::Rotation>(rotation_value); gfx 168 chrome/browser/chromeos/display/display_preferences.cc gfx::Size resolution_in_pixels(width, height); gfx 170 chrome/browser/chromeos/display/display_preferences.cc gfx::Insets insets; gfx 226 chrome/browser/chromeos/display/display_preferences.cc const gfx::Display& display = display_manager->GetDisplayAt(i); gfx 17 chrome/browser/chromeos/display/display_preferences.h namespace gfx { gfx 117 chrome/browser/chromeos/display/display_preferences_unittest.cc void StoreDisplayOverscan(int64 id, const gfx::Insets& insets) { gfx 163 chrome/browser/chromeos/display/display_preferences_unittest.cc int64 id1 = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id(); gfx 198 chrome/browser/chromeos/display/display_preferences_unittest.cc int64 id1 = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id(); gfx 199 chrome/browser/chromeos/display/display_preferences_unittest.cc gfx::Display::SetInternalDisplayId(id1); gfx 223 chrome/browser/chromeos/display/display_preferences_unittest.cc display_controller->SetOverscanInsets(id1, gfx::Insets(10, 11, 12, 13)); gfx 224 chrome/browser/chromeos/display/display_preferences_unittest.cc display_manager->SetDisplayRotation(id1, gfx::Display::ROTATE_90); gfx 296 chrome/browser/chromeos/display/display_preferences_unittest.cc display_manager->SetDisplayResolution(id2, gfx::Size(300, 200)); gfx 362 chrome/browser/chromeos/display/display_preferences_unittest.cc id2 + 1, gfx::Display::ROTATE_0, 1.0f, NULL, gfx::Size(500, 400), gfx 388 chrome/browser/chromeos/display/display_preferences_unittest.cc id2 + 1, gfx::Display::ROTATE_0, 1.0f, NULL, gfx::Size(500, 400), gfx 424 chrome/browser/chromeos/display/display_preferences_unittest.cc id, gfx::Size(400, 300), gfx::Size(500, 400), base::Closure()); gfx 445 chrome/browser/chromeos/display/display_preferences_unittest.cc id, gfx::Size(300, 200)); gfx 458 chrome/browser/chromeos/display/display_preferences_unittest.cc int64 id1 = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id(); gfx 495 chrome/browser/chromeos/display/display_preferences_unittest.cc int64 id1 = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().id(); gfx 531 chrome/browser/chromeos/display/display_preferences_unittest.cc gfx::Display::SetInternalDisplayId(id1); gfx 540 chrome/browser/chromeos/display/display_preferences_unittest.cc gfx::Insets(10, 11, 12, 13)); gfx 541 chrome/browser/chromeos/display/display_preferences_unittest.cc display_manager->SetDisplayRotation(new_primary, gfx::Display::ROTATE_90); gfx 550 chrome/browser/chromeos/display/display_preferences_unittest.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 555 chrome/browser/chromeos/display/display_preferences_unittest.cc const gfx::Display& primary_display = screen->GetPrimaryDisplay(); gfx 557 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, primary_display.rotation()); gfx 564 chrome/browser/chromeos/display/display_preferences_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, info_primary.rotation()); gfx 33 chrome/browser/chromeos/display/overscan_calibrator.cc gfx::Canvas* canvas) { gfx 49 chrome/browser/chromeos/display/overscan_calibrator.cc gfx::Transform rotate_transform; gfx 51 chrome/browser/chromeos/display/overscan_calibrator.cc gfx::Transform move_transform; gfx 63 chrome/browser/chromeos/display/overscan_calibrator.cc const gfx::Display& target_display, const gfx::Insets& initial_insets) gfx 71 chrome/browser/chromeos/display/overscan_calibrator.cc display_.id(), gfx::Insets()); gfx 110 chrome/browser/chromeos/display/overscan_calibrator.cc void OverscanCalibrator::UpdateInsets(const gfx::Insets& insets) { gfx 118 chrome/browser/chromeos/display/overscan_calibrator.cc void OverscanCalibrator::OnPaintLayer(gfx::Canvas* canvas) { gfx 120 chrome/browser/chromeos/display/overscan_calibrator.cc gfx::Rect full_bounds = calibration_layer_->bounds(); gfx 121 chrome/browser/chromeos/display/overscan_calibrator.cc gfx::Rect inner_bounds = full_bounds; gfx 126 chrome/browser/chromeos/display/overscan_calibrator.cc gfx::Point center = inner_bounds.CenterPoint(); gfx 25 chrome/browser/chromeos/display/overscan_calibrator.h OverscanCalibrator(const gfx::Display& target_display, gfx 26 chrome/browser/chromeos/display/overscan_calibrator.h const gfx::Insets& initial_insets); gfx 38 chrome/browser/chromeos/display/overscan_calibrator.h void UpdateInsets(const gfx::Insets& insets); gfx 40 chrome/browser/chromeos/display/overscan_calibrator.h const gfx::Insets& insets() const { return insets_; } gfx 44 chrome/browser/chromeos/display/overscan_calibrator.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; gfx 49 chrome/browser/chromeos/display/overscan_calibrator.h const gfx::Display display_; gfx 52 chrome/browser/chromeos/display/overscan_calibrator.h gfx::Insets insets_; gfx 55 chrome/browser/chromeos/display/overscan_calibrator.h gfx::Insets initial_insets_; gfx 42 chrome/browser/chromeos/enrollment_dialog_view.cc static void ShowDialog(gfx::NativeWindow owning_window, gfx 60 chrome/browser/chromeos/enrollment_dialog_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 96 chrome/browser/chromeos/enrollment_dialog_view.cc void EnrollmentDialogView::ShowDialog(gfx::NativeWindow owning_window, gfx 145 chrome/browser/chromeos/enrollment_dialog_view.cc gfx::Size EnrollmentDialogView::GetPreferredSize() { gfx 146 chrome/browser/chromeos/enrollment_dialog_view.cc return gfx::Size(kDefaultWidth, kDefaultHeight); gfx 155 chrome/browser/chromeos/enrollment_dialog_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 191 chrome/browser/chromeos/enrollment_dialog_view.cc DialogEnrollmentDelegate(gfx::NativeWindow owning_window, gfx 201 chrome/browser/chromeos/enrollment_dialog_view.cc gfx::NativeWindow owning_window_; gfx 209 chrome/browser/chromeos/enrollment_dialog_view.cc gfx::NativeWindow owning_window, gfx 263 chrome/browser/chromeos/enrollment_dialog_view.cc gfx::NativeWindow owning_window) { gfx 21 chrome/browser/chromeos/enrollment_dialog_view.h gfx::NativeWindow owning_window); gfx 232 chrome/browser/chromeos/events/event_rewriter.cc XIDeviceInfo* device_info = XIQueryDevice(gfx::GetXDisplay(), gfx 265 chrome/browser/chromeos/events/event_rewriter.cc XDisplay* display = gfx::GetXDisplay(); gfx 75 chrome/browser/chromeos/events/event_rewriter_unittest.cc : display_(gfx::GetXDisplay()), gfx 2360 chrome/browser/chromeos/events/event_rewriter_unittest.cc KeyCode keycode_f1 = XKeysymToKeycode(gfx::GetXDisplay(), XK_F1); gfx 2405 chrome/browser/chromeos/events/event_rewriter_unittest.cc 10, ui::ET_MOUSE_PRESSED, gfx::Point(), kLeftAndAltFlag); gfx 2418 chrome/browser/chromeos/events/event_rewriter_unittest.cc 10, ui::ET_MOUSE_RELEASED, gfx::Point(), kLeftAndAltFlag); gfx 2428 chrome/browser/chromeos/events/event_rewriter_unittest.cc 10, ui::ET_MOUSE_PRESSED, gfx::Point(), ui::EF_LEFT_MOUSE_BUTTON); gfx 2436 chrome/browser/chromeos/events/event_rewriter_unittest.cc 10, ui::ET_MOUSE_RELEASED, gfx::Point(), kLeftAndAltFlag); gfx 2447 chrome/browser/chromeos/events/event_rewriter_unittest.cc 11, ui::ET_MOUSE_PRESSED, gfx::Point(), kLeftAndAltFlag); gfx 2455 chrome/browser/chromeos/events/event_rewriter_unittest.cc 10, ui::ET_MOUSE_RELEASED, gfx::Point(), kLeftAndAltFlag); gfx 2464 chrome/browser/chromeos/events/event_rewriter_unittest.cc 11, ui::ET_MOUSE_RELEASED, gfx::Point(), kLeftAndAltFlag); gfx 22 chrome/browser/chromeos/events/keyboard_driven_event_rewriter_unittest.cc : display_(gfx::GetXDisplay()), gfx 47 chrome/browser/chromeos/events/system_key_event_listener.cc XDisplay* display = gfx::GetXDisplay(); gfx 88 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc const gfx::Image& image = gfx 135 chrome/browser/chromeos/extensions/screenlock_private_api.cc gfx::Size(kMaxButtonIconSize, kMaxButtonIconSize), gfx 141 chrome/browser/chromeos/extensions/screenlock_private_api.cc const gfx::Image& image) { gfx 13 chrome/browser/chromeos/extensions/screenlock_private_api.h namespace gfx { gfx 62 chrome/browser/chromeos/extensions/screenlock_private_api.h void OnImageLoaded(const gfx::Image& image); gfx 76 chrome/browser/chromeos/extensions/screenlock_private_api.h void OnImageLoaded(const gfx::Image& image); gfx 122 chrome/browser/chromeos/extensions/wallpaper_api.cc const gfx::ImageSkia& wallpaper) { gfx 155 chrome/browser/chromeos/extensions/wallpaper_api.cc scoped_ptr<gfx::ImageSkia> deep_copy(wallpaper.DeepCopy()); gfx 168 chrome/browser/chromeos/extensions/wallpaper_api.cc const base::FilePath& thumbnail_path, scoped_ptr<gfx::ImageSkia> image) { gfx 35 chrome/browser/chromeos/extensions/wallpaper_api.h virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE; gfx 40 chrome/browser/chromeos/extensions/wallpaper_api.h scoped_ptr<gfx::ImageSkia> image); gfx 72 chrome/browser/chromeos/extensions/wallpaper_function_base.cc gfx::ImageSkia final_image = gfx::ImageSkia::CreateFrom1xBitmap(immutable); gfx 41 chrome/browser/chromeos/extensions/wallpaper_function_base.h virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) = 0; gfx 353 chrome/browser/chromeos/extensions/wallpaper_private_api.cc const gfx::ImageSkia& wallpaper) { gfx 404 chrome/browser/chromeos/extensions/wallpaper_private_api.cc const gfx::ImageSkia& wallpaper) { gfx 426 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_ptr<gfx::ImageSkia> deep_copy(wallpaper_.DeepCopy()); gfx 460 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_ptr<gfx::ImageSkia> wallpaper) { gfx 533 chrome/browser/chromeos/extensions/wallpaper_private_api.cc const gfx::ImageSkia& wallpaper) { gfx 565 chrome/browser/chromeos/extensions/wallpaper_private_api.cc scoped_ptr<gfx::ImageSkia> deep_copy(wallpaper.DeepCopy()); gfx 578 chrome/browser/chromeos/extensions/wallpaper_private_api.cc const base::FilePath& thumbnail_path, scoped_ptr<gfx::ImageSkia> image) { gfx 45 chrome/browser/chromeos/extensions/wallpaper_private_api.h virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE; gfx 80 chrome/browser/chromeos/extensions/wallpaper_private_api.h virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE; gfx 86 chrome/browser/chromeos/extensions/wallpaper_private_api.h void SetDecodedWallpaper(scoped_ptr<gfx::ImageSkia> wallpaper); gfx 92 chrome/browser/chromeos/extensions/wallpaper_private_api.h gfx::ImageSkia wallpaper_; gfx 132 chrome/browser/chromeos/extensions/wallpaper_private_api.h virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE; gfx 137 chrome/browser/chromeos/extensions/wallpaper_private_api.h scoped_ptr<gfx::ImageSkia> image); gfx 97 chrome/browser/chromeos/external_protocol_dialog.cc gfx::ElideString(base::ASCIIToUTF16(url.possibly_invalid_spec()), gfx 109 chrome/browser/chromeos/external_protocol_dialog.cc gfx::NativeWindow parent_window; gfx 65 chrome/browser/chromeos/first_run/step.cc gfx::Size Step::GetOverlaySize() const { gfx 17 chrome/browser/chromeos/first_run/step.h namespace gfx { gfx 48 chrome/browser/chromeos/first_run/step.h gfx::Size GetOverlaySize() const; gfx 27 chrome/browser/chromeos/first_run/steps/app_list_step.cc gfx::Rect button_bounds = shell_helper()->GetAppListButtonBounds(); gfx 28 chrome/browser/chromeos/first_run/steps/app_list_step.cc gfx::Point center = button_bounds.CenterPoint(); gfx 28 chrome/browser/chromeos/first_run/steps/help_step.cc gfx::Rect button_bounds = shell_helper()->GetHelpButtonBounds(); gfx 29 chrome/browser/chromeos/first_run/steps/help_step.cc gfx::Point center = button_bounds.CenterPoint(); gfx 25 chrome/browser/chromeos/first_run/steps/tray_step.cc gfx::Rect bounds = shell_helper()->GetTrayBubbleBounds(); gfx 70 chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc const gfx::Rect& cursor_bounds, gfx 71 chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc const gfx::Rect& composition_head) { gfx 75 chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc gfx::Rect last_bounds; gfx 69 chrome/browser/chromeos/input_method/candidate_window_controller_impl.h virtual void SetCursorBounds(const gfx::Rect& cursor_bounds, gfx 70 chrome/browser/chromeos/input_method/candidate_window_controller_impl.h const gfx::Rect& composition_head) OVERRIDE; gfx 86 chrome/browser/chromeos/input_method/candidate_window_controller_impl.h gfx::Rect cursor_bounds_; gfx 87 chrome/browser/chromeos/input_method/candidate_window_controller_impl.h gfx::Rect composition_head_; gfx 41 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc gfx::Rect last_bounds() const { gfx 86 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc gfx::Rect last_bounds_; gfx 147 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc gfx::Rect cursor1_bounds(100, 100, 1, 20); gfx 148 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc gfx::Rect mi1_bounds; gfx 162 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc gfx::Rect cursor2_bounds(50, 200, 1, 20); gfx 163 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc gfx::Rect mi2_bounds; gfx 179 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc const gfx::Rect screen_bounds = gfx 184 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc const gfx::Rect cursor3_bounds(100, screen_bounds.bottom() - 25, 1, 20); gfx 185 chrome/browser/chromeos/input_method/mode_indicator_browsertest.cc gfx::Rect mi3_bounds; gfx 66 chrome/browser/chromeos/input_method/mode_indicator_controller.cc const gfx::Rect& cursor_bounds) { gfx 36 chrome/browser/chromeos/input_method/mode_indicator_controller.h void SetCursorBounds(const gfx::Rect& cursor_location); gfx 59 chrome/browser/chromeos/input_method/mode_indicator_controller.h gfx::Rect cursor_bounds_; gfx 40 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc gfx::Range expected_range1(5, 5); gfx 41 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc gfx::Range expected_range2(10, 10); gfx 75 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc gfx::Range expected_range(5, 5); gfx 106 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc const gfx::Range zero_range(0, 0); gfx 119 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc const gfx::Range expected_range(5, 5); gfx 36 chrome/browser/chromeos/input_method/textinput_test_helper.cc selection_range_(gfx::Range::InvalidRange()), gfx 50 chrome/browser/chromeos/input_method/textinput_test_helper.cc gfx::Rect TextInputTestHelper::GetCaretRect() const { gfx 54 chrome/browser/chromeos/input_method/textinput_test_helper.cc gfx::Rect TextInputTestHelper::GetCompositionHead() const { gfx 58 chrome/browser/chromeos/input_method/textinput_test_helper.cc gfx::Range TextInputTestHelper::GetSelectionRange() const { gfx 102 chrome/browser/chromeos/input_method/textinput_test_helper.cc gfx::Range text_range; gfx 141 chrome/browser/chromeos/input_method/textinput_test_helper.cc const gfx::Rect& expected_caret_rect, gfx 142 chrome/browser/chromeos/input_method/textinput_test_helper.cc const gfx::Rect& expected_composition_head) { gfx 152 chrome/browser/chromeos/input_method/textinput_test_helper.cc const gfx::Range& expected_selection) { gfx 162 chrome/browser/chromeos/input_method/textinput_test_helper.cc gfx::Rect* rect) { gfx 176 chrome/browser/chromeos/input_method/textinput_test_helper.cc *rect = gfx::Rect(x, y, width, height); gfx 189 chrome/browser/chromeos/input_method/textinput_test_helper.cc gfx::Rect rect; gfx 39 chrome/browser/chromeos/input_method/textinput_test_helper.h gfx::Rect GetCaretRect() const; gfx 40 chrome/browser/chromeos/input_method/textinput_test_helper.h gfx::Rect GetCompositionHead() const; gfx 41 chrome/browser/chromeos/input_method/textinput_test_helper.h gfx::Range GetSelectionRange() const; gfx 52 chrome/browser/chromeos/input_method/textinput_test_helper.h void WaitForCaretBoundsChanged(const gfx::Rect& expected_caret_rect, gfx 53 chrome/browser/chromeos/input_method/textinput_test_helper.h const gfx::Rect& expected_composition_head); gfx 55 chrome/browser/chromeos/input_method/textinput_test_helper.h const gfx::Range& expected_selection); gfx 59 chrome/browser/chromeos/input_method/textinput_test_helper.h static bool ConvertRectFromString(const std::string& str, gfx::Rect* rect); gfx 89 chrome/browser/chromeos/input_method/textinput_test_helper.h gfx::Rect caret_rect_; gfx 90 chrome/browser/chromeos/input_method/textinput_test_helper.h gfx::Rect composition_head_; gfx 91 chrome/browser/chromeos/input_method/textinput_test_helper.h gfx::Range selection_range_; gfx 139 chrome/browser/chromeos/login/default_user_images.cc const gfx::ImageSkia& GetDefaultImage(int index) { gfx 13 chrome/browser/chromeos/login/default_user_images.h namespace gfx { gfx 37 chrome/browser/chromeos/login/default_user_images.h const gfx::ImageSkia& GetDefaultImage(int index); gfx 1020 chrome/browser/chromeos/login/existing_user_controller.cc gfx::NativeWindow ExistingUserController::GetNativeWindow() const { gfx 156 chrome/browser/chromeos/login/existing_user_controller.h gfx::NativeWindow GetNativeWindow() const; gfx 36 chrome/browser/chromeos/login/help_app_launcher.cc HelpAppLauncher::HelpAppLauncher(gfx::NativeWindow parent_window) gfx 75 chrome/browser/chromeos/login/help_app_launcher.cc gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); gfx 44 chrome/browser/chromeos/login/help_app_launcher.h explicit HelpAppLauncher(gfx::NativeWindow parent_window); gfx 59 chrome/browser/chromeos/login/help_app_launcher.h gfx::NativeWindow parent_window_; gfx 23 chrome/browser/chromeos/login/helper.cc gfx::Rect CalculateScreenBounds(const gfx::Size& size) { gfx 24 chrome/browser/chromeos/login/helper.cc gfx::Rect bounds(ash::Shell::GetScreen()->GetPrimaryDisplay().bounds()); gfx 37 chrome/browser/chromeos/login/helper.cc float scale_factor = gfx::Display::GetForcedDeviceScaleFactor(); gfx 40 chrome/browser/chromeos/login/helper.cc return kBaseUserImageSize * gfx::ImageSkia::GetMaxSupportedScale(); gfx 17 chrome/browser/chromeos/login/helper.h namespace gfx { gfx 27 chrome/browser/chromeos/login/helper.h gfx::Rect CalculateScreenBounds(const gfx::Size& size); gfx 107 chrome/browser/chromeos/login/login_browsertest.cc EXPECT_TRUE(ui_test_utils::SendMouseMoveSync(gfx::Point())); gfx 12 chrome/browser/chromeos/login/login_display.cc const gfx::Rect& background_bounds) gfx 129 chrome/browser/chromeos/login/login_display.h LoginDisplay(Delegate* delegate, const gfx::Rect& background_bounds); gfx 206 chrome/browser/chromeos/login/login_display.h gfx::Rect background_bounds() const { return background_bounds_; } gfx 207 chrome/browser/chromeos/login/login_display.h void set_background_bounds(const gfx::Rect& background_bounds) { gfx 214 chrome/browser/chromeos/login/login_display.h gfx::NativeWindow parent_window() const { return parent_window_; } gfx 215 chrome/browser/chromeos/login/login_display.h void set_parent_window(gfx::NativeWindow window) { parent_window_ = window; } gfx 227 chrome/browser/chromeos/login/login_display.h gfx::NativeWindow parent_window_; gfx 230 chrome/browser/chromeos/login/login_display.h gfx::Rect background_bounds_; gfx 43 chrome/browser/chromeos/login/login_display_host.h virtual gfx::NativeWindow GetNativeWindow() const = 0; gfx 308 chrome/browser/chromeos/login/login_display_host_impl.cc LoginDisplayHostImpl::LoginDisplayHostImpl(const gfx::Rect& background_bounds) gfx 464 chrome/browser/chromeos/login/login_display_host_impl.cc gfx::NativeWindow LoginDisplayHostImpl::GetNativeWindow() const { gfx 877 chrome/browser/chromeos/login/login_display_host_impl.cc const gfx::Rect& new_bounds) { gfx 1151 chrome/browser/chromeos/login/login_display_host_impl.cc gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); gfx 56 chrome/browser/chromeos/login/login_display_host_impl.h explicit LoginDisplayHostImpl(const gfx::Rect& background_bounds); gfx 71 chrome/browser/chromeos/login/login_display_host_impl.h virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; gfx 103 chrome/browser/chromeos/login/login_display_host_impl.h const gfx::Rect& background_bounds() const { return background_bounds_; } gfx 130 chrome/browser/chromeos/login/login_display_host_impl.h virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) OVERRIDE; gfx 193 chrome/browser/chromeos/login/login_display_host_impl.h gfx::Rect background_bounds_; gfx 310 chrome/browser/chromeos/login/login_display_host_impl.h gfx::Rect keyboard_bounds_; gfx 51 chrome/browser/chromeos/login/login_web_dialog.cc gfx::NativeWindow parent_window, gfx 62 chrome/browser/chromeos/login/login_web_dialog.cc gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); gfx 107 chrome/browser/chromeos/login/login_web_dialog.cc void LoginWebDialog::GetDialogSize(gfx::Size* size) const { gfx 111 chrome/browser/chromeos/login/login_web_dialog.cc void LoginWebDialog::GetMinimumDialogSize(gfx::Size* size) const { gfx 112 chrome/browser/chromeos/login/login_web_dialog.cc gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); gfx 45 chrome/browser/chromeos/login/login_web_dialog.h gfx::NativeWindow parent_window, gfx 72 chrome/browser/chromeos/login/login_web_dialog.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 73 chrome/browser/chromeos/login/login_web_dialog.h virtual void GetMinimumDialogSize(gfx::Size* size) const OVERRIDE; gfx 93 chrome/browser/chromeos/login/login_web_dialog.h gfx::NativeWindow parent_window_; gfx 10 chrome/browser/chromeos/login/login_wizard.h namespace gfx { gfx 547 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc user_photo_ = gfx::ImageSkia(); gfx 562 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc user_photo_ = gfx::ImageSkia::CreateFrom1xBitmap(decoded_image); gfx 129 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h gfx::ImageSkia user_photo_; gfx 14 chrome/browser/chromeos/login/mock_login_display.cc MockLoginDisplay::MockLoginDisplay() : LoginDisplay(NULL, gfx::Rect()) { gfx 22 chrome/browser/chromeos/login/mock_login_display_host.h MOCK_CONST_METHOD0(GetNativeWindow, gfx::NativeWindow(void)); gfx 27 chrome/browser/chromeos/login/mock_user_image_manager.h MOCK_CONST_METHOD0(DownloadedProfileImage, const gfx::ImageSkia& (void)); gfx 114 chrome/browser/chromeos/login/oobe_browsertest.cc gfx::NativeWindow login_window = GetLoginWindowWidget()->GetNativeWindow(); gfx 57 chrome/browser/chromeos/login/proxy_settings_dialog.cc gfx::NativeWindow window) gfx 67 chrome/browser/chromeos/login/proxy_settings_dialog.cc gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); gfx 26 chrome/browser/chromeos/login/proxy_settings_dialog.h gfx::NativeWindow window); gfx 338 chrome/browser/chromeos/login/screen_locker.cc const gfx::Image& icon, gfx 27 chrome/browser/chromeos/login/screen_locker.h namespace gfx { gfx 86 chrome/browser/chromeos/login/screen_locker.h const gfx::Image& icon, gfx 155 chrome/browser/chromeos/login/screen_locker_browsertest.cc gfx::Rect lock_bounds = tester->GetChildWidget()->GetWindowBoundsInScreen(); gfx 20 chrome/browser/chromeos/login/screen_locker_delegate.h namespace gfx { gfx 83 chrome/browser/chromeos/login/screen_locker_delegate.h virtual gfx::NativeWindow GetNativeWindow() const = 0; gfx 95 chrome/browser/chromeos/login/screens/user_image_screen.cc user_photo_ = gfx::ImageSkia(); gfx 118 chrome/browser/chromeos/login/screens/user_image_screen.cc user_photo_ = gfx::ImageSkia::CreateFrom1xBitmap(decoded_image); gfx 346 chrome/browser/chromeos/login/screens/user_image_screen.cc *content::Details<const gfx::ImageSkia>(details).ptr()->bitmap()); gfx 121 chrome/browser/chromeos/login/screens/user_image_screen.h gfx::ImageSkia user_photo_; gfx 12 chrome/browser/chromeos/login/screens/user_image_screen_actor.h namespace gfx { gfx 229 chrome/browser/chromeos/login/simple_web_view_dialog.cc gfx::Rect bounds(CalculateScreenBounds(gfx::Size())); gfx 137 chrome/browser/chromeos/login/user.h const gfx::ImageSkia& image() const { return user_image_.image(); } gfx 45 chrome/browser/chromeos/login/user_adding_screen.cc gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size())); gfx 30 chrome/browser/chromeos/login/user_image.cc bool EncodeImageSkia(const gfx::ImageSkia& image, gfx 38 chrome/browser/chromeos/login/user_image.cc return gfx::JPEGCodec::Encode( gfx 40 chrome/browser/chromeos/login/user_image.cc gfx::JPEGCodec::FORMAT_SkBitmap, gfx 50 chrome/browser/chromeos/login/user_image.cc UserImage UserImage::CreateAndEncode(const gfx::ImageSkia& image) { gfx 66 chrome/browser/chromeos/login/user_image.cc UserImage::UserImage(const gfx::ImageSkia& image) gfx 73 chrome/browser/chromeos/login/user_image.cc UserImage::UserImage(const gfx::ImageSkia& image, gfx 26 chrome/browser/chromeos/login/user_image.h static UserImage CreateAndEncode(const gfx::ImageSkia& image); gfx 32 chrome/browser/chromeos/login/user_image.h explicit UserImage(const gfx::ImageSkia& image); gfx 38 chrome/browser/chromeos/login/user_image.h UserImage(const gfx::ImageSkia& image, const RawImage& raw_image); gfx 42 chrome/browser/chromeos/login/user_image.h const gfx::ImageSkia& image() const { return image_; } gfx 65 chrome/browser/chromeos/login/user_image.h gfx::ImageSkia image_; gfx 122 chrome/browser/chromeos/login/user_image_loader.cc gfx::ImageSkia final_image_skia = gfx 123 chrome/browser/chromeos/login/user_image_loader.cc gfx::ImageSkia::CreateFrom1xBitmap(final_image); gfx 18 chrome/browser/chromeos/login/user_image_manager.h namespace gfx { gfx 73 chrome/browser/chromeos/login/user_image_manager.h virtual const gfx::ImageSkia& DownloadedProfileImage() const = 0; gfx 289 chrome/browser/chromeos/login/user_image_manager_browsertest.cc scoped_ptr<gfx::ImageSkia> decoded_image_; gfx 364 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia& saved_image = GetDefaultImage(kFirstDefaultImageIndex); gfx 382 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia& saved_image = GetDefaultImage(kFirstDefaultImageIndex); gfx 397 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia& default_image = gfx 424 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia custom_image = gfx 425 chrome/browser/chromeos/login/user_image_manager_browsertest.cc gfx::ImageSkia::CreateFrom1xBitmap(custom_image_bitmap); gfx 440 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const scoped_ptr<gfx::ImageSkia> saved_image = gfx 461 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const scoped_ptr<gfx::ImageSkia> custom_image = gfx 478 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const scoped_ptr<gfx::ImageSkia> saved_image = gfx 512 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia& profile_image = gfx 522 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const scoped_ptr<gfx::ImageSkia> saved_image = gfx 546 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia& default_image = gfx 645 chrome/browser/chromeos/login/user_image_manager_browsertest.cc scoped_ptr<gfx::ImageSkia> policy_image_; gfx 687 chrome/browser/chromeos/login/user_image_manager_browsertest.cc scoped_ptr<gfx::ImageSkia> saved_image = gfx 724 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia& default_image = gfx 757 chrome/browser/chromeos/login/user_image_manager_browsertest.cc const gfx::ImageSkia& default_image = gfx 787 chrome/browser/chromeos/login/user_image_manager_browsertest.cc scoped_ptr<gfx::ImageSkia> saved_image = gfx 833 chrome/browser/chromeos/login/user_image_manager_browsertest.cc scoped_ptr<gfx::ImageSkia> saved_image = gfx 589 chrome/browser/chromeos/login/user_image_manager_impl.cc downloaded_profile_image_ = gfx::ImageSkia(); gfx 670 chrome/browser/chromeos/login/user_image_manager_impl.cc const gfx::ImageSkia& UserImageManagerImpl::DownloadedProfileImage() const { gfx 791 chrome/browser/chromeos/login/user_image_manager_impl.cc downloaded_profile_image_ = gfx::ImageSkia::CreateFrom1xBitmap( gfx 808 chrome/browser/chromeos/login/user_image_manager_impl.cc content::Details<const gfx::ImageSkia>(&downloaded_profile_image_)); gfx 56 chrome/browser/chromeos/login/user_image_manager_impl.h virtual const gfx::ImageSkia& DownloadedProfileImage() const OVERRIDE; gfx 180 chrome/browser/chromeos/login/user_image_manager_impl.h gfx::ImageSkia downloaded_profile_image_; gfx 22 chrome/browser/chromeos/login/user_image_manager_test_util.cc bool AreImagesEqual(const gfx::ImageSkia& first, const gfx::ImageSkia& second) { gfx 53 chrome/browser/chromeos/login/user_image_manager_test_util.cc scoped_ptr<gfx::ImageSkia> ImageLoader::Load() { gfx 68 chrome/browser/chromeos/login/user_image_manager_test_util.cc new gfx::ImageSkia(gfx::ImageSkiaRep(decoded_image, 1.0f))); gfx 21 chrome/browser/chromeos/login/user_image_manager_test_util.h namespace gfx { gfx 32 chrome/browser/chromeos/login/user_image_manager_test_util.h bool AreImagesEqual(const gfx::ImageSkia& first, const gfx::ImageSkia& second); gfx 39 chrome/browser/chromeos/login/user_image_manager_test_util.h scoped_ptr<gfx::ImageSkia> Load(); gfx 50 chrome/browser/chromeos/login/user_image_manager_test_util.h scoped_ptr<gfx::ImageSkia> decoded_image_; gfx 166 chrome/browser/chromeos/login/wallpaper_manager.cc const gfx::ImageSkia& user_wallpaper, gfx 173 chrome/browser/chromeos/login/wallpaper_manager.cc SetMode(gfx::ImageSkia(), info, base::FilePath(), false); gfx 179 chrome/browser/chromeos/login/wallpaper_manager.cc SetMode(gfx::ImageSkia(), info, wallpaper_path, false); gfx 183 chrome/browser/chromeos/login/wallpaper_manager.cc SetMode(gfx::ImageSkia(), WallpaperInfo(), base::FilePath(), true); gfx 187 chrome/browser/chromeos/login/wallpaper_manager.cc const gfx::ImageSkia& user_wallpaper, gfx 282 chrome/browser/chromeos/login/wallpaper_manager.cc const std::string& user_id, gfx::ImageSkia* image) { gfx 287 chrome/browser/chromeos/login/wallpaper_manager.cc const gfx::ImageSkia& image) { gfx 556 chrome/browser/chromeos/login/wallpaper_manager.cc gfx::ImageSkia resized_image = gfx::ImageSkiaOperations::CreateResizedImage( gfx 559 chrome/browser/chromeos/login/wallpaper_manager.cc gfx::Size(resized_width, resized_height)); gfx 563 chrome/browser/chromeos/login/wallpaper_manager.cc gfx::JPEGCodec::Encode( gfx 565 chrome/browser/chromeos/login/wallpaper_manager.cc gfx::JPEGCodec::FORMAT_SkBitmap, gfx 680 chrome/browser/chromeos/login/wallpaper_manager.cc scoped_ptr<gfx::ImageSkia> deep_copy(wallpaper.image().DeepCopy()); gfx 825 chrome/browser/chromeos/login/wallpaper_manager.cc gfx::ImageSkia user_wallpaper; gfx 871 chrome/browser/chromeos/login/wallpaper_manager.cc const gfx::ImageSkia& wallpaper, gfx 921 chrome/browser/chromeos/login/wallpaper_manager.cc gfx::ImageSkia* wallpaper) { gfx 1333 chrome/browser/chromeos/login/wallpaper_manager.cc scoped_ptr<gfx::ImageSkia> image, gfx 84 chrome/browser/chromeos/login/wallpaper_manager.h gfx::ImageSkia* image); gfx 87 chrome/browser/chromeos/login/wallpaper_manager.h const gfx::ImageSkia& image); gfx 126 chrome/browser/chromeos/login/wallpaper_manager.h void ResetSetWallpaperImage(const gfx::ImageSkia& user_wallpaper, gfx 139 chrome/browser/chromeos/login/wallpaper_manager.h void SetMode(const gfx::ImageSkia& user_wallpaper, gfx 152 chrome/browser/chromeos/login/wallpaper_manager.h gfx::ImageSkia user_wallpaper_; gfx 278 chrome/browser/chromeos/login/wallpaper_manager.h const gfx::ImageSkia& wallpaper, gfx 313 chrome/browser/chromeos/login/wallpaper_manager.h typedef std::map<std::string, gfx::ImageSkia> CustomWallpaperMap; gfx 321 chrome/browser/chromeos/login/wallpaper_manager.h gfx::ImageSkia* wallpaper); gfx 416 chrome/browser/chromeos/login/wallpaper_manager.h scoped_ptr<gfx::ImageSkia> image, gfx 189 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc gfx::ImageSkia wallpaper = controller_->GetWallpaper(); gfx 449 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc gfx::ImageSkia CreateTestImage(SkColor color) { gfx 454 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 496 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc gfx::ImageSkia cached_wallpaper; gfx 515 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc gfx::ImageSkia cached_wallpaper; gfx 525 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc gfx::ImageSkia red_wallpaper = CreateTestImage(SK_ColorRED); gfx 536 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc gfx::ImageSkia green_wallpaper = CreateTestImage(SK_ColorGREEN); gfx 114 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc const gfx::ImageSkia image = gfx 118 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc const gfx::ImageSkiaRep& representation = image.GetRepresentation(1.); gfx 153 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc gfx::ImageSkia CreateTestImage(SkColor color) { gfx 158 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 182 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc gfx::ImageSkia test_user_1_wallpaper = CreateTestImage(SK_ColorRED); gfx 183 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc gfx::ImageSkia test_user_2_wallpaper = CreateTestImage(SK_ColorGREEN); gfx 184 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc gfx::ImageSkia test_user_3_wallpaper = CreateTestImage(SK_ColorWHITE); gfx 191 chrome/browser/chromeos/login/wallpaper_manager_unittest.cc gfx::ImageSkia cached_wallpaper; gfx 46 chrome/browser/chromeos/login/webui_login_display.cc : LoginDisplay(delegate, gfx::Rect()), gfx 255 chrome/browser/chromeos/login/webui_login_display.cc gfx::NativeWindow WebUILoginDisplay::GetNativeWindow() const { gfx 63 chrome/browser/chromeos/login/webui_login_display.h virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; gfx 200 chrome/browser/chromeos/login/webui_login_view.cc gfx::NativeView WebUILoginView::GetHostView() const { gfx 204 chrome/browser/chromeos/login/webui_login_view.cc gfx::Point WebUILoginView::GetDialogPosition(const gfx::Size& size) { gfx 206 chrome/browser/chromeos/login/webui_login_view.cc gfx::Size widget_size = GetWidget()->GetWindowBoundsInScreen().size(); gfx 207 chrome/browser/chromeos/login/webui_login_view.cc return gfx::Point(widget_size.width() / 2 - size.width() / 2, gfx 211 chrome/browser/chromeos/login/webui_login_view.cc gfx::Size WebUILoginView::GetMaximumDialogSize() { gfx 245 chrome/browser/chromeos/login/webui_login_view.cc gfx::NativeWindow WebUILoginView::GetNativeWindow() const { gfx 66 chrome/browser/chromeos/login/webui_login_view.h virtual gfx::NativeView GetHostView() const OVERRIDE; gfx 67 chrome/browser/chromeos/login/webui_login_view.h virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; gfx 68 chrome/browser/chromeos/login/webui_login_view.h virtual gfx::Size GetMaximumDialogSize() OVERRIDE; gfx 75 chrome/browser/chromeos/login/webui_login_view.h gfx::NativeWindow GetNativeWindow() const; gfx 61 chrome/browser/chromeos/login/webui_screen_locker.cc gfx::Rect bounds(ash::Shell::GetScreen()->GetPrimaryDisplay().bounds()); gfx 154 chrome/browser/chromeos/login/webui_screen_locker.cc gfx::NativeWindow WebUIScreenLocker::GetNativeWindow() const { gfx 75 chrome/browser/chromeos/login/webui_screen_locker.h virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; gfx 152 chrome/browser/chromeos/net/network_portal_notification_controller.cc gfx::Image& icon = bundle.GetImageNamed(IDR_PORTAL_DETECTION_ALERT); gfx 44 chrome/browser/chromeos/options/network_config_view.cc gfx::NativeWindow GetParentForUnhostedDialog() { gfx 123 chrome/browser/chromeos/options/network_config_view.cc gfx::NativeWindow parent) { gfx 144 chrome/browser/chromeos/options/network_config_view.cc gfx::NativeWindow parent) { gfx 157 chrome/browser/chromeos/options/network_config_view.cc gfx::NativeWindow NetworkConfigView::GetNativeWindow() const { gfx 236 chrome/browser/chromeos/options/network_config_view.cc gfx::Size size = views::Widget::GetLocalizedContentsSize( gfx 240 chrome/browser/chromeos/options/network_config_view.cc gfx::Rect bounds = GetWidget()->GetWindowBoundsInScreen(); gfx 254 chrome/browser/chromeos/options/network_config_view.cc gfx::Size NetworkConfigView::GetPreferredSize() { gfx 255 chrome/browser/chromeos/options/network_config_view.cc gfx::Size result(views::Widget::GetLocalizedContentsSize( gfx 258 chrome/browser/chromeos/options/network_config_view.cc gfx::Size size = child_config_view_->GetPreferredSize(); gfx 274 chrome/browser/chromeos/options/network_config_view.cc void NetworkConfigView::ShowDialog(gfx::NativeWindow parent) { gfx 280 chrome/browser/chromeos/options/network_config_view.cc gfx::NativeWindow context = gfx 330 chrome/browser/chromeos/options/network_config_view.cc gfx::Size ControlledSettingIndicatorView::GetPreferredSize() { gfx 332 chrome/browser/chromeos/options/network_config_view.cc : gfx::Size(); gfx 16 chrome/browser/chromeos/options/network_config_view.h namespace gfx { gfx 48 chrome/browser/chromeos/options/network_config_view.h static void Show(const std::string& service_path, gfx::NativeWindow parent); gfx 51 chrome/browser/chromeos/options/network_config_view.h static void ShowForType(const std::string& type, gfx::NativeWindow parent); gfx 54 chrome/browser/chromeos/options/network_config_view.h gfx::NativeWindow GetNativeWindow() const; gfx 83 chrome/browser/chromeos/options/network_config_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 97 chrome/browser/chromeos/options/network_config_view.h void ShowDialog(gfx::NativeWindow parent); gfx 171 chrome/browser/chromeos/options/network_config_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 180 chrome/browser/chromeos/options/network_config_view.h const gfx::ImageSkia* image_; gfx 553 chrome/browser/chromeos/options/vpn_config_view.cc service_text_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 573 chrome/browser/chromeos/options/vpn_config_view.cc provider_type_text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 683 chrome/browser/chromeos/options/vpn_config_view.cc error_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 58 chrome/browser/chromeos/options/wifi_config_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 59 chrome/browser/chromeos/options/wifi_config_view.cc gfx::Size size = Combobox::GetPreferredSize(); gfx 964 chrome/browser/chromeos/options/wifi_config_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1184 chrome/browser/chromeos/options/wifi_config_view.cc error_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 238 chrome/browser/chromeos/options/wimax_config_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 344 chrome/browser/chromeos/options/wimax_config_view.cc error_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1020 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<gfx::ImageSkia> policy_image = chromeos::test::ImageLoader( gfx 1050 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<gfx::ImageSkia> saved_image = gfx 32 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 43 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 50 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc gfx::Size FixedWidthLabel::GetPreferredSize() { gfx 51 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc return gfx::Size(width_, GetHeightForWidth(width_)); gfx 15 chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc gfx::Image* image, gfx 46 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 90 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc gfx::Size MultiprofilesIntroView::GetPreferredSize() { gfx 91 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc return gfx::Size(kDefaultWidth, kDefaultHeight); gfx 95 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc const gfx::Insets kDialogInsets(kTopInset, kInset, kInset, kInset); gfx 109 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc title_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 120 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 132 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc lower_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 145 chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc no_show_checkbox_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 50 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 108 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc gfx::Size MultiprofilesSessionAbortedView::GetPreferredSize() { gfx 109 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc return gfx::Size(kDefaultWidth, kDefaultHeight); gfx 114 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc const gfx::Insets kDialogInsets(kTopInset, kInset, kInset, kInset); gfx 128 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc title_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 140 chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 53 chrome/browser/chromeos/profiles/profile_list_chromeos.cc gfx::Image icon = gfx::Image((*it)->image()); gfx 45 chrome/browser/chromeos/sim_dialog_delegate.cc void SimDialogDelegate::ShowDialog(gfx::NativeWindow owning_window, gfx 88 chrome/browser/chromeos/sim_dialog_delegate.cc void SimDialogDelegate::GetDialogSize(gfx::Size* size) const { gfx 29 chrome/browser/chromeos/sim_dialog_delegate.h static void ShowDialog(gfx::NativeWindow owning_window, SimDialogMode mode); gfx 40 chrome/browser/chromeos/sim_dialog_delegate.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 211 chrome/browser/chromeos/status/data_promo_notification.cc const gfx::Image& icon = gfx 79 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::ItemType type, base::string16 label, gfx::ImageSkia icon, gfx 88 chrome/browser/chromeos/status/network_menu.cc MenuItem(ui::MenuModel::ItemType type, base::string16 label, gfx::ImageSkia icon, gfx 99 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia icon; gfx 127 chrome/browser/chromeos/status/network_menu.cc virtual const gfx::FontList* GetLabelFontListAt(int index) const OVERRIDE; gfx 132 chrome/browser/chromeos/status/network_menu.cc virtual bool GetIconAt(int index, gfx::Image* icon) OVERRIDE; gfx 216 chrome/browser/chromeos/status/network_menu.cc gfx::NativeWindow native_window = owner_->delegate()->GetNativeWindow(); gfx 247 chrome/browser/chromeos/status/network_menu.cc const gfx::FontList* NetworkMenuModel::GetLabelFontListAt(int index) const { gfx 248 chrome/browser/chromeos/status/network_menu.cc const gfx::FontList* font_list = NULL; gfx 271 chrome/browser/chromeos/status/network_menu.cc bool NetworkMenuModel::GetIconAt(int index, gfx::Image* icon) { gfx 273 chrome/browser/chromeos/status/network_menu.cc *icon = gfx::Image(menu_items_[index].icon); gfx 336 chrome/browser/chromeos/status/network_menu.cc gfx::NativeWindow native_window = owner_->delegate()->GetNativeWindow(); gfx 367 chrome/browser/chromeos/status/network_menu.cc const gfx::ImageSkia icon = ash::network_icon::GetImageForNetwork( gfx 377 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia(), std::string(), FLAG_DISABLED)); gfx 407 chrome/browser/chromeos/status/network_menu.cc const gfx::ImageSkia icon = ash::network_icon::GetImageForNetwork( gfx 448 chrome/browser/chromeos/status/network_menu.cc const gfx::ImageSkia icon = ash::network_icon::GetImageForNetwork( gfx 459 chrome/browser/chromeos/status/network_menu.cc const gfx::ImageSkia icon = gfx 509 chrome/browser/chromeos/status/network_menu.cc const gfx::ImageSkia icon = gfx 556 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia(), std::string(), flag)); gfx 568 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia icon; gfx 586 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia(), more_menu_model_.get(), FLAG_NONE)); gfx 611 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia(), gfx 621 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia(), std::string(), FLAG_DISABLED)); gfx 632 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia(), std::string(), FLAG_DISABLED)); gfx 642 chrome/browser/chromeos/status/network_menu.cc gfx::ImageSkia(), std::string(), FLAG_DISABLED)); gfx 67 chrome/browser/chromeos/status/network_menu.h virtual gfx::NativeWindow GetNativeWindow() const = 0; gfx 56 chrome/browser/chromeos/ui/echo_dialog_view.cc service_name_style.font_style = gfx::Font::UNDERLINE; gfx 59 chrome/browser/chromeos/ui/echo_dialog_view.cc gfx::Range(offsets[0], offsets[0] + service_name.length()), gfx 64 chrome/browser/chromeos/ui/echo_dialog_view.cc link_style.font_style = gfx::Font::NORMAL; gfx 65 chrome/browser/chromeos/ui/echo_dialog_view.cc label_->AddStyleRange(gfx::Range(offsets[1], offsets[1] + link.length()), gfx 88 chrome/browser/chromeos/ui/echo_dialog_view.cc link_style.font_style = gfx::Font::NORMAL; gfx 89 chrome/browser/chromeos/ui/echo_dialog_view.cc label_->AddStyleRange(gfx::Range(offset, offset + link.length()), link_style); gfx 96 chrome/browser/chromeos/ui/echo_dialog_view.cc void EchoDialogView::Show(gfx::NativeWindow parent) { gfx 154 chrome/browser/chromeos/ui/echo_dialog_view.cc void EchoDialogView::StyledLabelLinkClicked(const gfx::Range& range, gfx 161 chrome/browser/chromeos/ui/echo_dialog_view.cc gfx::Size EchoDialogView::GetPreferredSize() { gfx 162 chrome/browser/chromeos/ui/echo_dialog_view.cc gfx::Size size = gfx 163 chrome/browser/chromeos/ui/echo_dialog_view.cc gfx::Size(kDialogLabelPreferredWidth, gfx 165 chrome/browser/chromeos/ui/echo_dialog_view.cc gfx::Insets insets = GetInsets(); gfx 47 chrome/browser/chromeos/ui/echo_dialog_view.h void Show(gfx::NativeWindow parent); gfx 65 chrome/browser/chromeos/ui/echo_dialog_view.h virtual void StyledLabelLinkClicked(const gfx::Range& range, gfx 69 chrome/browser/chromeos/ui/echo_dialog_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 83 chrome/browser/chromeos/ui/focus_ring_controller.cc const gfx::Rect& new_bounds) { gfx 88 chrome/browser/chromeos/ui/focus_ring_controller.cc void FocusRingController::OnNativeFocusChange(gfx::NativeView focused_before, gfx 89 chrome/browser/chromeos/ui/focus_ring_controller.cc gfx::NativeView focused_now) { gfx 47 chrome/browser/chromeos/ui/focus_ring_controller.h const gfx::Rect& new_bounds) OVERRIDE; gfx 50 chrome/browser/chromeos/ui/focus_ring_controller.h virtual void OnNativeFocusChange(gfx::NativeView focused_before, gfx 51 chrome/browser/chromeos/ui/focus_ring_controller.h gfx::NativeView focused_now) OVERRIDE; gfx 55 chrome/browser/chromeos/ui/focus_ring_layer.cc gfx::Point origin = focus_ring_.origin(); gfx 57 chrome/browser/chromeos/ui/focus_ring_layer.cc gfx::Rect layer_bounds = focus_ring_; gfx 68 chrome/browser/chromeos/ui/focus_ring_layer.cc focus_ring_ = gfx::Rect(); gfx 75 chrome/browser/chromeos/ui/focus_ring_layer.cc gfx::Rect view_bounds = view->GetContentsBounds(); gfx 100 chrome/browser/chromeos/ui/focus_ring_layer.cc void FocusRingLayer::OnPaintLayer(gfx::Canvas* canvas) { gfx 106 chrome/browser/chromeos/ui/focus_ring_layer.cc gfx::Point origin = focus_ring_.origin(); gfx 109 chrome/browser/chromeos/ui/focus_ring_layer.cc gfx::Rect bounds = focus_ring_; gfx 121 chrome/browser/chromeos/ui/focus_ring_layer.cc gfx::Rect outsetRect = bounds; gfx 41 chrome/browser/chromeos/ui/focus_ring_layer.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; gfx 52 chrome/browser/chromeos/ui/focus_ring_layer.h gfx::Rect focus_ring_; gfx 59 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc gfx::Size rs = root_window->bounds().size(); gfx 60 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc gfx::Size ps = view->GetPreferredSize(); gfx 61 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc gfx::Rect bounds((rs.width() - ps.width()) / 2, gfx 80 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc gfx::NativeView native_view = widget->GetNativeView(); gfx 167 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc gfx::Rect rect = widget_view->bounds(); gfx 172 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 193 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc const gfx::FontList& font, gfx 197 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc label->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 129 chrome/browser/chromeos/ui/idle_logout_dialog_view.cc restart_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 25 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc gfx::NativeViewId ScreenCaptureNotificationUIChromeOS::OnStarted( gfx 21 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) gfx 361 chrome/browser/devtools/adb_client_socket_browsertest.cc ASSERT_EQ(online_device_->screen_size(), gfx::Size(720, 1184)); gfx 630 chrome/browser/devtools/devtools_adb_bridge.cc remote_devices_->back()->set_screen_size(gfx::Size(width, height)); gfx 151 chrome/browser/devtools/devtools_adb_bridge.h gfx::Size screen_size() { return screen_size_; } gfx 152 chrome/browser/devtools/devtools_adb_bridge.h void set_screen_size(const gfx::Size& size) { screen_size_ = size; } gfx 160 chrome/browser/devtools/devtools_adb_bridge.h gfx::Size screen_size_; gfx 13 chrome/browser/devtools/devtools_contents_resizing_strategy.cc const gfx::Insets& insets, const gfx::Size& min_size) gfx 31 chrome/browser/devtools/devtools_contents_resizing_strategy.cc const gfx::Size& container_size, gfx 32 chrome/browser/devtools/devtools_contents_resizing_strategy.cc const gfx::Rect& old_devtools_bounds, gfx 33 chrome/browser/devtools/devtools_contents_resizing_strategy.cc const gfx::Rect& old_contents_bounds, gfx 34 chrome/browser/devtools/devtools_contents_resizing_strategy.cc gfx::Rect* new_devtools_bounds, gfx 35 chrome/browser/devtools/devtools_contents_resizing_strategy.cc gfx::Rect* new_contents_bounds) { gfx 39 chrome/browser/devtools/devtools_contents_resizing_strategy.cc const gfx::Insets& insets = strategy.insets(); gfx 40 chrome/browser/devtools/devtools_contents_resizing_strategy.cc const gfx::Size& min_size = strategy.min_size(); gfx 19 chrome/browser/devtools/devtools_contents_resizing_strategy.h const gfx::Insets& insets, gfx 20 chrome/browser/devtools/devtools_contents_resizing_strategy.h const gfx::Size& min_size); gfx 25 chrome/browser/devtools/devtools_contents_resizing_strategy.h const gfx::Insets& insets() const { return insets_; } gfx 26 chrome/browser/devtools/devtools_contents_resizing_strategy.h const gfx::Size& min_size() const { return min_size_; } gfx 30 chrome/browser/devtools/devtools_contents_resizing_strategy.h gfx::Insets insets_; gfx 33 chrome/browser/devtools/devtools_contents_resizing_strategy.h gfx::Size min_size_; gfx 45 chrome/browser/devtools/devtools_contents_resizing_strategy.h const gfx::Size& container_size, gfx 46 chrome/browser/devtools/devtools_contents_resizing_strategy.h const gfx::Rect& old_devtools_bounds, gfx 47 chrome/browser/devtools/devtools_contents_resizing_strategy.h const gfx::Rect& old_contents_bounds, gfx 48 chrome/browser/devtools/devtools_contents_resizing_strategy.h gfx::Rect* new_devtools_bounds, gfx 49 chrome/browser/devtools/devtools_contents_resizing_strategy.h gfx::Rect* new_contents_bounds); gfx 11 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Size container_size(100, 200); gfx 12 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_devtools_bounds(0, 0, 100, 200); gfx 13 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_contents_bounds(20, 20, 60, 140); gfx 14 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_devtools_bounds; gfx 15 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_contents_bounds; gfx 20 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_devtools_bounds); gfx 21 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_contents_bounds); gfx 26 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Insets(10, 20, 30, 40), gfx::Size(0, 0)); gfx 27 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Size container_size(100, 200); gfx 28 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_devtools_bounds(0, 0, 100, 200); gfx 29 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_contents_bounds(20, 20, 60, 140); gfx 30 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_devtools_bounds; gfx 31 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_contents_bounds; gfx 36 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_devtools_bounds); gfx 37 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(20, 10, 40, 160), new_contents_bounds); gfx 42 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Insets(10, 20, 90, 30), gfx::Size(60, 120)); gfx 43 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Size container_size(100, 200); gfx 44 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_devtools_bounds(0, 0, 100, 200); gfx 45 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_contents_bounds(20, 20, 60, 140); gfx 46 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_devtools_bounds; gfx 47 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_contents_bounds; gfx 52 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_devtools_bounds); gfx 53 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(16, 8, 60, 120), new_contents_bounds); gfx 58 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Insets(0, 130, 0, 0), gfx::Size(60, 120)); gfx 59 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Size container_size(100, 200); gfx 60 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_devtools_bounds(0, 0, 100, 200); gfx 61 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_contents_bounds(20, 20, 60, 140); gfx 62 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_devtools_bounds; gfx 63 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_contents_bounds; gfx 68 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_devtools_bounds); gfx 69 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(40, 0, 60, 200), new_contents_bounds); gfx 74 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Insets(120, 0, 80, 0), gfx::Size(60, 120)); gfx 75 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Size container_size(100, 200); gfx 76 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_devtools_bounds(0, 0, 100, 200); gfx 77 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_contents_bounds(20, 20, 60, 140); gfx 78 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_devtools_bounds; gfx 79 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_contents_bounds; gfx 84 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_devtools_bounds); gfx 85 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 48, 100, 120), new_contents_bounds); gfx 90 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Insets(10, 10, 10, 10), gfx::Size(120, 230)); gfx 91 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Size container_size(100, 200); gfx 92 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_devtools_bounds(0, 0, 100, 200); gfx 93 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect old_contents_bounds(20, 20, 60, 140); gfx 94 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_devtools_bounds; gfx 95 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc gfx::Rect new_contents_bounds; gfx 100 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_devtools_bounds); gfx 101 chrome/browser/devtools/devtools_contents_resizing_strategy_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 200), new_contents_bounds); gfx 24 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool GetValue(const base::ListValue& list, int pos, gfx::Insets& insets) { gfx 41 chrome/browser/devtools/devtools_embedder_message_dispatcher.cc bool GetValue(const base::ListValue& list, int pos, gfx::Size& size) { gfx 36 chrome/browser/devtools/devtools_embedder_message_dispatcher.h const gfx::Insets& insets, const gfx::Size& min_size) = 0; gfx 463 chrome/browser/devtools/devtools_targets_ui.cc gfx::Size screen_size = device->screen_size(); gfx 505 chrome/browser/devtools/devtools_window.cc gfx::Size DevToolsWindow::GetMinimumSize() const { gfx 506 chrome/browser/devtools/devtools_window.cc const gfx::Size kMinDevToolsSize = gfx::Size(230, 100); gfx 691 chrome/browser/devtools/devtools_window.cc entry->GetFavicon().image = gfx::Image(); gfx 835 chrome/browser/devtools/devtools_window.cc const gfx::Rect& initial_pos, gfx 1012 chrome/browser/devtools/devtools_window.cc gfx::Insets insets(top, left, bottom, right); gfx 1017 chrome/browser/devtools/devtools_window.cc const gfx::Insets& insets, const gfx::Size& min_size) { gfx 1041 chrome/browser/devtools/devtools_window.cc gfx::Rect bounds = browser_->window()->GetBounds(); gfx 130 chrome/browser/devtools/devtools_window.h gfx::Size GetMinimumSize() const; gfx 269 chrome/browser/devtools/devtools_window.h const gfx::Rect& initial_pos, gfx 308 chrome/browser/devtools/devtools_window.h const gfx::Insets& insets, const gfx::Size& min_size) OVERRIDE; gfx 82 chrome/browser/download/download_file_picker.cc gfx::NativeWindow owning_window = web_contents ? gfx 354 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetTooltipText(const gfx::FontList& font_list, gfx 356 chrome/browser/download/download_item_model.cc base::string16 tooltip = gfx::ElideFilename( gfx 362 chrome/browser/download/download_item_model.cc tooltip += gfx::ElideText(InterruptReasonStatusMessage(reason), gfx 363 chrome/browser/download/download_item_model.cc font_list, max_width, gfx::ELIDE_AT_END); gfx 368 chrome/browser/download/download_item_model.cc base::string16 DownloadItemModel::GetWarningText(const gfx::FontList& font_list, gfx 373 chrome/browser/download/download_item_model.cc gfx::ElideFilename(download_->GetFileNameToReportUser(), font_list, gfx 20 chrome/browser/download/download_item_model.h namespace gfx { gfx 58 chrome/browser/download/download_item_model.h base::string16 GetTooltipText(const gfx::FontList& font_list, int max_width) const; gfx 64 chrome/browser/download/download_item_model.h base::string16 GetWarningText(const gfx::FontList& font_list, int base_width) const; gfx 255 chrome/browser/download/download_item_model_unittest.cc const gfx::FontList& font_list = gfx 278 chrome/browser/download/download_item_model_unittest.cc EXPECT_GE(kSmallTooltipWidth, gfx::GetStringWidth(lines[i], font_list)); gfx 96 chrome/browser/download/download_shelf.cc gfx::ImageSkia* g_foreground_16 = NULL; gfx 97 chrome/browser/download/download_shelf.cc gfx::ImageSkia* g_background_16 = NULL; gfx 98 chrome/browser/download/download_shelf.cc gfx::ImageSkia* g_foreground_32 = NULL; gfx 99 chrome/browser/download/download_shelf.cc gfx::ImageSkia* g_background_32 = NULL; gfx 103 chrome/browser/download/download_shelf.cc gfx::Canvas* canvas, gfx 104 chrome/browser/download/download_shelf.cc const gfx::ImageSkia& background_image, gfx 105 chrome/browser/download/download_shelf.cc const gfx::ImageSkia& foreground_image, gfx 107 chrome/browser/download/download_shelf.cc const gfx::Rect& bounds, gfx 158 chrome/browser/download/download_shelf.cc void DownloadShelf::PaintDownloadProgress(gfx::Canvas* canvas, gfx 180 chrome/browser/download/download_shelf.cc gfx::ImageSkia* background = gfx 182 chrome/browser/download/download_shelf.cc gfx::ImageSkia* foreground = gfx 190 chrome/browser/download/download_shelf.cc gfx::Rect bounds(origin_x, origin_y, gfx 214 chrome/browser/download/download_shelf.cc void DownloadShelf::PaintDownloadComplete(gfx::Canvas* canvas, gfx 229 chrome/browser/download/download_shelf.cc gfx::ImageSkia* complete = (size == BIG) ? g_foreground_32 : g_foreground_16; gfx 231 chrome/browser/download/download_shelf.cc gfx::Rect complete_bounds(origin_x, origin_y, gfx 245 chrome/browser/download/download_shelf.cc void DownloadShelf::PaintDownloadInterrupted(gfx::Canvas* canvas, gfx 260 chrome/browser/download/download_shelf.cc gfx::ImageSkia* complete = (size == BIG) ? g_foreground_32 : g_foreground_16; gfx 262 chrome/browser/download/download_shelf.cc gfx::Rect complete_bounds(origin_x, origin_y, gfx 364 chrome/browser/download/download_shelf.cc gfx::Animation::ShouldRenderRichAnimation()) { gfx 14 chrome/browser/download/download_shelf.h namespace gfx { gfx 102 chrome/browser/download/download_shelf.h gfx::Canvas* canvas, gfx 103 chrome/browser/download/download_shelf.h const gfx::ImageSkia& background_image, gfx 104 chrome/browser/download/download_shelf.h const gfx::ImageSkia& foreground_image, gfx 106 chrome/browser/download/download_shelf.h const gfx::Rect& bounds, gfx 110 chrome/browser/download/download_shelf.h static void PaintDownloadProgress(gfx::Canvas* canvas, gfx 120 chrome/browser/download/download_shelf.h static void PaintDownloadComplete(gfx::Canvas* canvas, gfx 129 chrome/browser/download/download_shelf.h static void PaintDownloadInterrupted(gfx::Canvas* canvas, gfx 14 chrome/browser/download/drag_download_item.h namespace gfx { gfx 22 chrome/browser/download/drag_download_item.h gfx::Image* icon, gfx 23 chrome/browser/download/drag_download_item.h gfx::NativeView view); gfx 35 chrome/browser/download/drag_download_item_views.cc gfx::Image* icon, gfx 36 chrome/browser/download/drag_download_item_views.cc gfx::NativeView view) { gfx 45 chrome/browser/download/drag_download_item_views.cc icon ? icon->AsImageSkia() : gfx::ImageSkia(), gfx 69 chrome/browser/download/drag_download_item_views.cc gfx::Point location = gfx::Screen::GetScreenFor(view)->GetCursorScreenPoint(); gfx 102 chrome/browser/extensions/activity_log/activity_log_browsertest.cc const gfx::Size kSize(640, 480); gfx 247 chrome/browser/extensions/activity_log/activity_log_unittest.cc const gfx::Size kSize(640, 480); gfx 58 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc void GetBoundsFields(const Bounds& bounds_spec, gfx::Rect* bounds) { gfx 73 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc const gfx::Insets& insets, gfx 74 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Size* size) { gfx 83 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc const gfx::Insets& insets, gfx 84 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Size* size) { gfx 212 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Rect original_window_bounds = window->GetBaseWindow()->GetBounds(); gfx 213 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Rect window_bounds = original_window_bounds; gfx 214 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Insets frame_insets = window->GetBaseWindow()->GetFrameInsets(); gfx 282 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Size original_min_size = gfx 284 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Size original_max_size = gfx 286 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Size min_size = original_min_size; gfx 287 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Size max_size = original_max_size; gfx 292 chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc gfx::Insets insets; gfx 403 chrome/browser/extensions/api/app_window/app_window_api.cc gfx::Size& minimum_size = params->content_spec.minimum_size; gfx 408 chrome/browser/extensions/api/app_window/app_window_api.cc gfx::Size& maximum_size = params->content_spec.maximum_size; gfx 67 chrome/browser/extensions/api/app_window/app_window_apitest.cc gfx::Rect new_bounds(100, 200, 300, 400); gfx 86 chrome/browser/extensions/api/app_window/app_window_apitest.cc gfx::Rect last_bounds; gfx 88 chrome/browser/extensions/api/app_window/app_window_apitest.cc gfx::Rect current_bounds = window->GetBaseWindow()->GetBounds(); gfx 251 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc gfx::Rect()); gfx 944 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc gfx::NativeWindow owning_window = web_contents ? gfx 76 chrome/browser/extensions/api/capture_web_contents_function.cc gfx::Rect(), gfx 101 chrome/browser/extensions/api/capture_web_contents_function.cc gfx::Rect(), gfx 122 chrome/browser/extensions/api/capture_web_contents_function.cc encoded = gfx::JPEGCodec::Encode( gfx 124 chrome/browser/extensions/api/capture_web_contents_function.cc gfx::JPEGCodec::FORMAT_SkBitmap, gfx 133 chrome/browser/extensions/api/capture_web_contents_function.cc encoded = gfx::PNGCodec::EncodeBGRASkBitmap( gfx 92 chrome/browser/extensions/api/desktop_capture/desktop_capture_api.cc gfx::NativeWindow parent_window; gfx 50 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc virtual void Show(gfx::NativeWindow context, gfx 51 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc gfx::NativeWindow parent, gfx 39 chrome/browser/extensions/api/developer_private/entry_picker.cc gfx::NativeWindow owning_window = web_contents ? gfx 313 chrome/browser/extensions/api/downloads/downloads_api.cc float scale, const IconURLCallback& callback, gfx::Image* icon); gfx 336 chrome/browser/extensions/api/downloads/downloads_api.cc float scale, const IconURLCallback& callback, gfx::Image* icon) { gfx 1387 chrome/browser/extensions/api/downloads/downloads_api.cc gfx::Image* icon = g_browser_process->icon_manager()->LookupIconFromFilepath( gfx 1389 chrome/browser/extensions/api/downloads/downloads_api.cc gfx::NativeView view = web_contents->GetView()->GetNativeView(); gfx 52 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc gfx::ImageSkia AddBackgroundForViews(const gfx::ImageSkia& icon) { gfx 55 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc gfx::ImageSkia bg = *rb.GetImageSkiaNamed(IDR_BROWSER_ACTION); gfx 56 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc return gfx::ImageSkiaOperations::CreateSuperimposedImage(bg, icon); gfx 62 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc bool ImagesAreEqualAtScale(const gfx::ImageSkia& i1, gfx 63 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc const gfx::ImageSkia& i2, gfx 67 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc return gfx::BitmapsAreEqual(bitmap1, bitmap2); gfx 155 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc gfx::Image action_icon = icon_factory.GetIcon(0); gfx 279 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc const gfx::ImageSkia* action_icon_skia = action_icon.ToImageSkia(); gfx 288 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 350 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc gfx::Size minSize = BrowserActionTestUtil::GetMinPopupSize(); gfx 351 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc gfx::Size middleSize = gfx::Size(growFactor, growFactor); gfx 352 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc gfx::Size maxSize = BrowserActionTestUtil::GetMaxPopupSize(); gfx 117 chrome/browser/extensions/api/extension_action/extension_action_api.cc bool success = gfx::PNGCodec::Decode( gfx 124 chrome/browser/extensions/api/extension_action/extension_action_api.cc std::string RepresentationToString(const gfx::ImageSkia& image, float scale) { gfx 128 chrome/browser/extensions/api/extension_action/extension_action_api.cc bool success = gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &data); gfx 146 chrome/browser/extensions/api/extension_action/extension_action_api.cc gfx::ImageSkia icon; gfx 189 chrome/browser/extensions/api/extension_action/extension_action_api.cc icon.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); gfx 192 chrome/browser/extensions/api/extension_action/extension_action_api.cc action->SetIcon(kDefaultTabId, gfx::Image(icon)); gfx 214 chrome/browser/extensions/api/extension_action/extension_action_api.cc gfx::ImageSkia icon = action->GetExplicitlySetIcon(kDefaultTabId); gfx 680 chrome/browser/extensions/api/extension_action/extension_action_api.cc gfx::ImageSkia icon; gfx 691 chrome/browser/extensions/api/extension_action/extension_action_api.cc icon.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); gfx 695 chrome/browser/extensions/api/extension_action/extension_action_api.cc extension_action_->SetIcon(tab_id_, gfx::Image(icon)); gfx 440 chrome/browser/extensions/api/file_system/file_system_api.cc gfx::NativeWindow owning_window = web_contents ? gfx 74 chrome/browser/extensions/api/font_settings/font_settings_api.cc gfx::Font font(font_name, 12); // dummy font size gfx 75 chrome/browser/extensions/api/font_settings/font_settings_api.cc return static_cast<gfx::PlatformFontWin*>(font.platform_font())-> gfx 388 chrome/browser/extensions/api/messaging/message_service.cc gfx::NativeView native_view = gfx 128 chrome/browser/extensions/api/messaging/native_message_process_host.cc gfx::NativeView native_view, gfx 68 chrome/browser/extensions/api/messaging/native_message_process_host.h gfx::NativeView native_view, gfx 252 chrome/browser/extensions/api/messaging/native_process_launcher.cc gfx::NativeView native_view) { gfx 43 chrome/browser/extensions/api/messaging/native_process_launcher.h gfx::NativeView native_view); gfx 53 chrome/browser/extensions/api/notifications/notifications_api.cc gfx::Image* return_image) { gfx 105 chrome/browser/extensions/api/notifications/notifications_api.cc gfx::ImageSkia skia(gfx::ImageSkiaRep(bitmap, 1.0f)); gfx 106 chrome/browser/extensions/api/notifications/notifications_api.cc *return_image = gfx::Image(skia); gfx 250 chrome/browser/extensions/api/notifications/notifications_api.cc gfx::Image icon; gfx 358 chrome/browser/extensions/api/notifications/notifications_api.cc gfx::Image icon; gfx 391 chrome/browser/extensions/api/notifications/notifications_api.cc gfx::Image image; gfx 196 chrome/browser/extensions/api/omnibox/omnibox_api.cc omnibox_icon_manager_.set_padding(gfx::Insets(0, kOmniboxIconPaddingLeft, gfx 259 chrome/browser/extensions/api/omnibox/omnibox_api.cc gfx::Image OmniboxAPI::GetOmniboxIcon(const std::string& extension_id) { gfx 260 chrome/browser/extensions/api/omnibox/omnibox_api.cc return gfx::Image::CreateFrom1xBitmap( gfx 264 chrome/browser/extensions/api/omnibox/omnibox_api.cc gfx::Image OmniboxAPI::GetOmniboxPopupIcon(const std::string& extension_id) { gfx 265 chrome/browser/extensions/api/omnibox/omnibox_api.cc return gfx::Image::CreateFrom1xBitmap( gfx 37 chrome/browser/extensions/api/omnibox/omnibox_api.h namespace gfx { gfx 107 chrome/browser/extensions/api/omnibox/omnibox_api.h gfx::Image GetOmniboxIcon(const std::string& extension_id); gfx 111 chrome/browser/extensions/api/omnibox/omnibox_api.h gfx::Image GetOmniboxPopupIcon(const std::string& extension_id); gfx 16 chrome/browser/extensions/api/system_display/display_info_provider.cc int RotationToDegrees(gfx::Display::Rotation rotation) { gfx 18 chrome/browser/extensions/api/system_display/display_info_provider.cc case gfx::Display::ROTATE_0: gfx 20 chrome/browser/extensions/api/system_display/display_info_provider.cc case gfx::Display::ROTATE_90: gfx 22 chrome/browser/extensions/api/system_display/display_info_provider.cc case gfx::Display::ROTATE_180: gfx 24 chrome/browser/extensions/api/system_display/display_info_provider.cc case gfx::Display::ROTATE_270: gfx 32 chrome/browser/extensions/api/system_display/display_info_provider.cc CreateDisplayUnitInfo(const gfx::Display& display, int64 primary_display_id) { gfx 35 chrome/browser/extensions/api/system_display/display_info_provider.cc const gfx::Rect& bounds = display.bounds(); gfx 36 chrome/browser/extensions/api/system_display/display_info_provider.cc const gfx::Rect& work_area = display.work_area(); gfx 76 chrome/browser/extensions/api/system_display/display_info_provider.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 78 chrome/browser/extensions/api/system_display/display_info_provider.cc std::vector<gfx::Display> displays = screen->GetAllDisplays(); gfx 13 chrome/browser/extensions/api/system_display/display_info_provider.h namespace gfx { gfx 43 chrome/browser/extensions/api/system_display/display_info_provider.h const gfx::Display& display, gfx 17 chrome/browser/extensions/api/system_display/display_info_provider_aura.cc const gfx::Display& display, gfx 38 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Display::Rotation DegreesToRotation(int degrees) { gfx 42 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc return gfx::Display::ROTATE_0; gfx 44 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc return gfx::Display::ROTATE_90; gfx 46 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc return gfx::Display::ROTATE_180; gfx 48 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc return gfx::Display::ROTATE_270; gfx 50 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc return gfx::Display::ROTATE_0; gfx 58 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc bool PointIsOverRadiusVector(const gfx::Point& point, gfx 59 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Point& vector) { gfx 101 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc ash::DisplayLayout GetLayoutForRectangles(const gfx::Rect& reference, gfx 102 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Rect& rectangle) { gfx 107 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Point center(2 * (rectangle.x() - reference.x()) + rectangle.width(), gfx 109 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Point down_diag(2 * reference.width(), 2 * reference.height()); gfx 119 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Point up_diag(-2 * reference.width(), 2 * reference.height()); gfx 163 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc void UpdateDisplayLayout(const gfx::Rect& primary_display_bounds, gfx 165 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Rect& target_display_bounds, gfx 178 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Display& display, gfx 191 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Display::kInvalidDisplayID) { gfx 253 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Insets overscan = gfx 272 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Display GetTargetDisplay(const std::string& display_id_str, gfx 277 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc return gfx::Display(); gfx 295 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Display target = GetTargetDisplay(display_id_str, display_manager); gfx 297 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc if (target.id() == gfx::Display::kInvalidDisplayID) { gfx 304 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Display& primary = gfx 305 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 326 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Insets(info.overscan->top, info.overscan->left, gfx 337 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Point new_bounds_origin = target.bounds().origin(); gfx 344 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc gfx::Rect target_bounds = target.bounds(); gfx 363 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Display& display, gfx 378 chrome/browser/extensions/api/system_display/display_info_provider_chromeos.cc const gfx::Insets overscan_insets = gfx 39 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& display = gfx 41 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc return display.id() != gfx::Display::kInvalidDisplayID; gfx 122 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc GetDisplayManager()->SetDisplayRotation(display_id, gfx::Display::ROTATE_270); gfx 132 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc GetDisplayManager()->SetDisplayRotation(display_id, gfx::Display::ROTATE_180); gfx 142 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc GetDisplayManager()->SetDisplayRotation(display_id, gfx::Display::ROTATE_0); gfx 204 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc gfx::Insets(20, 30, 50, 60)); gfx 224 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc gfx::Insets(10, 20, 30, 40)); gfx 315 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 334 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 353 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 372 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 391 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 410 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 429 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 449 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 469 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 489 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 509 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 528 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 547 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 566 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 585 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 604 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 623 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 645 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 646 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& primary = ash::Shell::GetScreen()->GetPrimaryDisplay(); gfx 666 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 679 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_90, secondary.rotation()); gfx 689 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_270, secondary.rotation()); gfx 701 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_180, secondary.rotation()); gfx 712 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc EXPECT_EQ(gfx::Display::ROTATE_0, secondary.rotation()); gfx 719 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 735 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 798 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 820 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 842 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Display& secondary = ash::ScreenUtil::GetSecondaryDisplay(); gfx 859 chrome/browser/extensions/api/system_display/display_info_provider_chromeos_unittest.cc const gfx::Insets overscan = gfx 22 chrome/browser/extensions/api/system_display/display_info_provider_gtk.cc const gfx::Display& display, gfx 17 chrome/browser/extensions/api/system_display/display_info_provider_mac.cc const gfx::Display& display, gfx 41 chrome/browser/extensions/api/system_display/display_info_provider_win.cc gfx::Size dpi(gfx::GetDPI()); gfx 62 chrome/browser/extensions/api/system_display/display_info_provider_win.cc const gfx::Display& display, gfx 27 chrome/browser/extensions/api/system_display/system_display_apitest.cc using gfx::Screen; gfx 34 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Rect bounds(0, 0, 1280, 720); gfx 35 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Rect work_area(0, 0, 960, 720); gfx 36 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Display display(i, bounds); gfx 48 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE { gfx 51 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::Display GetPrimaryDisplay() const OVERRIDE { gfx 55 chrome/browser/extensions/api/system_display/system_display_apitest.cc std::vector<gfx::Display> displays_; gfx 64 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Rect bounds(0, 0, 1280, 720); gfx 65 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Rect work_area(0, 0, 960, 720); gfx 66 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Display display(i, bounds); gfx 76 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::Point GetCursorScreenPoint() OVERRIDE { return gfx::Point(); } gfx 77 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE { gfx 78 chrome/browser/extensions/api/system_display/system_display_apitest.cc return gfx::NativeWindow(); gfx 80 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::NativeWindow GetWindowAtScreenPoint( gfx 81 chrome/browser/extensions/api/system_display/system_display_apitest.cc const gfx::Point& point) OVERRIDE { gfx 82 chrome/browser/extensions/api/system_display/system_display_apitest.cc return gfx::NativeWindow(); gfx 87 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE { gfx 90 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::Display GetDisplayNearestWindow( gfx 91 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::NativeView window) const OVERRIDE { gfx 92 chrome/browser/extensions/api/system_display/system_display_apitest.cc return gfx::Display(0); gfx 94 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::Display GetDisplayNearestPoint( gfx 95 chrome/browser/extensions/api/system_display/system_display_apitest.cc const gfx::Point& point) const OVERRIDE { gfx 96 chrome/browser/extensions/api/system_display/system_display_apitest.cc return gfx::Display(0); gfx 98 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::Display GetDisplayMatching( gfx 99 chrome/browser/extensions/api/system_display/system_display_apitest.cc const gfx::Rect& match_rect) const OVERRIDE { gfx 100 chrome/browser/extensions/api/system_display/system_display_apitest.cc return gfx::Display(0); gfx 102 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual gfx::Display GetPrimaryDisplay() const OVERRIDE { gfx 105 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE {} gfx 106 chrome/browser/extensions/api/system_display/system_display_apitest.cc virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE {} gfx 109 chrome/browser/extensions/api/system_display/system_display_apitest.cc std::vector<gfx::Display> displays_; gfx 144 chrome/browser/extensions/api/system_display/system_display_apitest.cc const gfx::Display& display, gfx 180 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE)); gfx 181 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen_.get()); gfx 187 chrome/browser/extensions/api/system_display/system_display_apitest.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, gfx 195 chrome/browser/extensions/api/system_display/system_display_apitest.cc scoped_ptr<gfx::Screen> screen_; gfx 113 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc gfx::ImageSkia icon_image = gfx 56 chrome/browser/extensions/api/system_info/system_info_api.cc class SystemInfoEventRouter : public gfx::DisplayObserver, gfx 70 chrome/browser/extensions/api/system_info/system_info_api.cc virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 71 chrome/browser/extensions/api/system_info/system_info_api.cc virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 72 chrome/browser/extensions/api/system_info/system_info_api.cc virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 187 chrome/browser/extensions/api/system_info/system_info_api.cc const gfx::Display& display) { gfx 191 chrome/browser/extensions/api/system_info/system_info_api.cc void SystemInfoEventRouter::OnDisplayAdded(const gfx::Display& new_display) { gfx 195 chrome/browser/extensions/api/system_info/system_info_api.cc void SystemInfoEventRouter::OnDisplayRemoved(const gfx::Display& old_display) { gfx 218 chrome/browser/extensions/api/tabs/ash_panel_contents.cc gfx::Image new_image = gfx::Image::CreateFrom1xBitmap( gfx 424 chrome/browser/extensions/api/tabs/tabs_api.cc gfx::Rect window_bounds; gfx 490 chrome/browser/extensions/api/tabs/tabs_api.cc gfx::Rect(), gfx 693 chrome/browser/extensions/api/tabs/tabs_api.cc gfx::Rect bounds; gfx 54 chrome/browser/extensions/api/tabs/tabs_test.cc gfx::Rect bounds; gfx 86 chrome/browser/extensions/api/tabs/windows_event_router.cc gfx::NativeView focused_before, gfx 87 chrome/browser/extensions/api/tabs/windows_event_router.cc gfx::NativeView focused_now) { gfx 51 chrome/browser/extensions/api/tabs/windows_event_router.h virtual void OnNativeFocusChange(gfx::NativeView focused_before, gfx 52 chrome/browser/extensions/api/tabs/windows_event_router.h gfx::NativeView focused_now) OVERRIDE; gfx 487 chrome/browser/extensions/api/webstore_private/webstore_private_api.cc approval->installing_icon = gfx::ImageSkia::CreateFrom1xBitmap(icon_); gfx 12 chrome/browser/extensions/app_icon_loader.h namespace gfx { gfx 28 chrome/browser/extensions/app_icon_loader.h const gfx::ImageSkia& image) = 0; gfx 105 chrome/browser/extensions/app_icon_loader_impl.cc const gfx::ImageSkia& icon) { gfx 106 chrome/browser/extensions/app_icon_loader_impl.cc gfx::ImageSkia image = icon; gfx 110 chrome/browser/extensions/app_icon_loader_impl.cc image = gfx::ImageSkiaOperations::CreateHSLShiftedImage(image, shift); gfx 41 chrome/browser/extensions/app_icon_loader_impl.h void BuildImage(const std::string& id, const gfx::ImageSkia& icon); gfx 93 chrome/browser/extensions/bookmark_app_helper.cc gfx::Image::CreateFrom1xBitmap(base_icon).As1xPNGBytes(), gfx 15 chrome/browser/extensions/browser_action_test_util.h namespace gfx { gfx 42 chrome/browser/extensions/browser_action_test_util.h gfx::Image GetIcon(int index); gfx 57 chrome/browser/extensions/browser_action_test_util.h gfx::Rect GetPopupBounds(); gfx 66 chrome/browser/extensions/browser_action_test_util.h static gfx::Size GetMinPopupSize(); gfx 69 chrome/browser/extensions/browser_action_test_util.h static gfx::Size GetMaxPopupSize(); gfx 44 chrome/browser/extensions/chrome_extension_host_delegate.cc const gfx::Rect& initial_pos, gfx 28 chrome/browser/extensions/chrome_extension_host_delegate.h const gfx::Rect& initial_pos, gfx 267 chrome/browser/extensions/context_menu_matcher.cc DCHECK(icon.width() == gfx::kFaviconSize); gfx 268 chrome/browser/extensions/context_menu_matcher.cc DCHECK(icon.height() == gfx::kFaviconSize); gfx 270 chrome/browser/extensions/context_menu_matcher.cc menu_model_->SetIcon(index, gfx::Image::CreateFrom1xBitmap(icon)); gfx 143 chrome/browser/extensions/convert_web_app.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(web_app.icons[i].data, gfx 59 chrome/browser/extensions/convert_web_app_unittest.cc if (!gfx::PNGCodec::Decode( gfx 35 chrome/browser/extensions/extension_action.cc class GetAttentionImageSource : public gfx::ImageSkiaSource { gfx 37 chrome/browser/extensions/extension_action.cc explicit GetAttentionImageSource(const gfx::ImageSkia& icon) gfx 41 chrome/browser/extensions/extension_action.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 42 chrome/browser/extensions/extension_action.cc gfx::ImageSkiaRep icon_rep = icon_.GetRepresentation(scale); gfx 44 chrome/browser/extensions/extension_action.cc return gfx::ImageSkiaRep( gfx 50 chrome/browser/extensions/extension_action.cc const gfx::ImageSkia icon_; gfx 134 chrome/browser/extensions/extension_action.cc void ExtensionAction::SetIcon(int tab_id, const gfx::Image& image) { gfx 138 chrome/browser/extensions/extension_action.cc gfx::ImageSkia ExtensionAction::GetExplicitlySetIcon(int tab_id) const { gfx 179 chrome/browser/extensions/extension_action.cc void ExtensionAction::PaintBadge(gfx::Canvas* canvas, gfx 180 chrome/browser/extensions/extension_action.cc const gfx::Rect& bounds, gfx 192 chrome/browser/extensions/extension_action.cc gfx::ImageSkia ExtensionAction::GetIconWithBadge( gfx 193 chrome/browser/extensions/extension_action.cc const gfx::ImageSkia& icon, gfx 195 chrome/browser/extensions/extension_action.cc const gfx::Size& spacing) const { gfx 199 chrome/browser/extensions/extension_action.cc return gfx::ImageSkia( gfx 241 chrome/browser/extensions/extension_action.cc gfx::ImageSkia icon = GetValue(&icon_, tab_id); gfx 28 chrome/browser/extensions/extension_action.h namespace gfx { gfx 97 chrome/browser/extensions/extension_action.h void SetIcon(int tab_id, const gfx::Image& image); gfx 100 chrome/browser/extensions/extension_action.h gfx::ImageSkia GetExplicitlySetIcon(int tab_id) const; gfx 175 chrome/browser/extensions/extension_action.h void PaintBadge(gfx::Canvas* canvas, const gfx::Rect& bounds, int tab_id); gfx 178 chrome/browser/extensions/extension_action.h gfx::ImageSkia GetIconWithBadge(const gfx::ImageSkia& icon, gfx 180 chrome/browser/extensions/extension_action.h const gfx::Size& spacing) const; gfx 241 chrome/browser/extensions/extension_action.h std::map<int, gfx::ImageSkia> icon_; gfx 20 chrome/browser/extensions/extension_action_icon_factory.cc gfx::ImageSkia GetDefaultIcon() { gfx 54 chrome/browser/extensions/extension_action_icon_factory.cc gfx::Image ExtensionActionIconFactory::GetIcon(int tab_id) { gfx 55 chrome/browser/extensions/extension_action_icon_factory.cc gfx::ImageSkia base_icon = GetBaseIconFromAction(tab_id); gfx 56 chrome/browser/extensions/extension_action_icon_factory.cc return gfx::Image(base_icon); gfx 59 chrome/browser/extensions/extension_action_icon_factory.cc gfx::ImageSkia ExtensionActionIconFactory::GetBaseIconFromAction(int tab_id) { gfx 60 chrome/browser/extensions/extension_action_icon_factory.cc gfx::ImageSkia icon = action_->GetExplicitlySetIcon(tab_id); gfx 52 chrome/browser/extensions/extension_action_icon_factory.h gfx::Image GetIcon(int tab_id); gfx 57 chrome/browser/extensions/extension_action_icon_factory.h gfx::ImageSkia GetBaseIconFromAction(int tab_id); gfx 39 chrome/browser/extensions/extension_action_icon_factory_unittest.cc bool ImageRepsAreEqual(const gfx::ImageSkiaRep& image_rep1, gfx 40 chrome/browser/extensions/extension_action_icon_factory_unittest.cc const gfx::ImageSkiaRep& image_rep2) { gfx 42 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::BitmapsAreEqual(image_rep1.sk_bitmap(), image_rep2.sk_bitmap()); gfx 45 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::Image EnsureImageSize(const gfx::Image& original, int size) { gfx 53 chrome/browser/extensions/extension_action_icon_factory_unittest.cc return gfx::Image::CreateFrom1xBitmap(resized); gfx 56 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::ImageSkiaRep CreateBlankRep(int size_dip, float scale) { gfx 63 chrome/browser/extensions/extension_action_icon_factory_unittest.cc return gfx::ImageSkiaRep(bitmap, scale); gfx 66 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::Image LoadIcon(const std::string& filename) { gfx 77 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::PNGCodec::Decode(data, file_contents.length(), &bitmap); gfx 79 chrome/browser/extensions/extension_action_icon_factory_unittest.cc return gfx::Image::CreateFrom1xBitmap(bitmap); gfx 155 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::ImageSkia GetFavicon() { gfx 197 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::ImageSkia favicon = GetFavicon(); gfx 202 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::Image icon = icon_factory.GetIcon(0); gfx 223 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::Image set_icon = LoadIcon("browser_action/no_icon/icon.png"); gfx 233 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::Image icon = icon_factory.GetIcon(0); gfx 261 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::Image default_icon = gfx 274 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::Image icon = icon_factory.GetIcon(0); gfx 40 chrome/browser/extensions/extension_commands_global_registry_apitest.cc Display* display = gfx::GetXDisplay(); gfx 144 chrome/browser/extensions/extension_disabled_ui.cc const gfx::Image& icon); gfx 153 chrome/browser/extensions/extension_disabled_ui.cc virtual gfx::Image GetBubbleViewIcon() OVERRIDE; gfx 174 chrome/browser/extensions/extension_disabled_ui.cc gfx::Image icon_; gfx 197 chrome/browser/extensions/extension_disabled_ui.cc const gfx::Image& icon) gfx 204 chrome/browser/extensions/extension_disabled_ui.cc icon_ = gfx::Image( gfx 205 chrome/browser/extensions/extension_disabled_ui.cc gfx::ImageSkiaOperations::CreateResizedImage( gfx 210 chrome/browser/extensions/extension_disabled_ui.cc gfx::Size(kIconSize, kIconSize))); gfx 246 chrome/browser/extensions/extension_disabled_ui.cc gfx::Image ExtensionDisabledGlobalError::GetBubbleViewIcon() { gfx 340 chrome/browser/extensions/extension_disabled_ui.cc const gfx::Image& icon) { gfx 360 chrome/browser/extensions/extension_disabled_ui.cc gfx::Size size(kIconSize, kIconSize); gfx 57 chrome/browser/extensions/extension_icon_image.cc class BlankImageSource : public gfx::CanvasImageSource { gfx 59 chrome/browser/extensions/extension_icon_image.cc explicit BlankImageSource(const gfx::Size& size_in_dip) gfx 66 chrome/browser/extensions/extension_icon_image.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 80 chrome/browser/extensions/extension_icon_image.cc class IconImage::Source : public gfx::ImageSkiaSource { gfx 82 chrome/browser/extensions/extension_icon_image.cc Source(IconImage* host, const gfx::Size& size_in_dip); gfx 89 chrome/browser/extensions/extension_icon_image.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE; gfx 97 chrome/browser/extensions/extension_icon_image.cc gfx::ImageSkia blank_image_; gfx 102 chrome/browser/extensions/extension_icon_image.cc IconImage::Source::Source(IconImage* host, const gfx::Size& size_in_dip) gfx 114 chrome/browser/extensions/extension_icon_image.cc gfx::ImageSkiaRep IconImage::Source::GetImageForScale(float scale) { gfx 115 chrome/browser/extensions/extension_icon_image.cc gfx::ImageSkiaRep representation; gfx 135 chrome/browser/extensions/extension_icon_image.cc const gfx::ImageSkia& default_icon, gfx 143 chrome/browser/extensions/extension_icon_image.cc default_icon_(gfx::ImageSkiaOperations::CreateResizedImage( gfx 146 chrome/browser/extensions/extension_icon_image.cc gfx::Size(resource_size_in_dip, resource_size_in_dip))), gfx 148 chrome/browser/extensions/extension_icon_image.cc gfx::Size resource_size(resource_size_in_dip, resource_size_in_dip); gfx 150 chrome/browser/extensions/extension_icon_image.cc image_skia_ = gfx::ImageSkia(source_, resource_size); gfx 161 chrome/browser/extensions/extension_icon_image.cc gfx::ImageSkiaRep IconImage::LoadImageForScaleFactor( gfx 165 chrome/browser/extensions/extension_icon_image.cc return gfx::ImageSkiaRep(); gfx 194 chrome/browser/extensions/extension_icon_image.cc gfx::ToFlooredSize(gfx::ScaleSize( gfx 195 chrome/browser/extensions/extension_icon_image.cc gfx::Size(resource_size_in_dip_, resource_size_in_dip_), scale)), gfx 205 chrome/browser/extensions/extension_icon_image.cc return gfx::ImageSkiaRep(); gfx 208 chrome/browser/extensions/extension_icon_image.cc void IconImage::OnImageLoaded(float scale, const gfx::Image& image_in) { gfx 209 chrome/browser/extensions/extension_icon_image.cc const gfx::ImageSkia* image = gfx 216 chrome/browser/extensions/extension_icon_image.cc gfx::ImageSkiaRep rep = image->GetRepresentation(scale); gfx 27 chrome/browser/extensions/extension_icon_image.h namespace gfx { gfx 70 chrome/browser/extensions/extension_icon_image.h const gfx::ImageSkia& default_icon, gfx 74 chrome/browser/extensions/extension_icon_image.h const gfx::ImageSkia& image_skia() const { return image_skia_; } gfx 85 chrome/browser/extensions/extension_icon_image.h gfx::ImageSkiaRep LoadImageForScaleFactor(ui::ScaleFactor scale_factor); gfx 87 chrome/browser/extensions/extension_icon_image.h void OnImageLoaded(float scale_factor, const gfx::Image& image); gfx 102 chrome/browser/extensions/extension_icon_image.h gfx::ImageSkia image_skia_; gfx 105 chrome/browser/extensions/extension_icon_image.h gfx::ImageSkia default_icon_; gfx 55 chrome/browser/extensions/extension_icon_image_unittest.cc class MockImageSkiaSource : public gfx::ImageSkiaSource { gfx 57 chrome/browser/extensions/extension_icon_image_unittest.cc explicit MockImageSkiaSource(const gfx::ImageSkia& image) gfx 62 chrome/browser/extensions/extension_icon_image_unittest.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 67 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia image_; gfx 80 chrome/browser/extensions/extension_icon_image_unittest.cc void OnImageLoaded(const gfx::Image& image) { gfx 92 chrome/browser/extensions/extension_icon_image_unittest.cc extension_, extension_->GetResource(path), gfx::Size(size, size), gfx 113 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::Image image_; gfx 184 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia GetDefaultIcon() { gfx 221 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 242 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia::ImageSkiaReps image_reps = image.image_skia().image_reps(); gfx 246 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); gfx 250 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 261 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), bitmap_16)); gfx 267 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 279 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), gfx 295 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 309 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(2.0f); gfx 321 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), gfx 334 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 348 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); gfx 359 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), gfx 372 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 382 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); gfx 383 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 394 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 414 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 423 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); gfx 424 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 434 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 449 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 450 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia lazy_default_icon(new MockImageSkiaSource(default_icon), gfx 465 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); gfx 469 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 487 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 488 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia lazy_default_icon(new MockImageSkiaSource(default_icon), gfx 504 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = image.image_skia().GetRepresentation(1.0f); gfx 514 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 531 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia default_icon = GetDefaultIcon(); gfx 547 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkiaRep representation = gfx 555 chrome/browser/extensions/extension_icon_image_unittest.cc gfx::ImageSkia image_skia = image->image_skia(); gfx 564 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(representation.sk_bitmap(), bitmap_16)); gfx 569 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual( gfx 31 chrome/browser/extensions/extension_icon_manager.cc const gfx::Insets& padding) { gfx 32 chrome/browser/extensions/extension_icon_manager.cc scoped_ptr<gfx::Canvas> result( gfx 33 chrome/browser/extensions/extension_icon_manager.cc new gfx::Canvas(gfx::Size(source.width() + padding.width(), gfx 38 chrome/browser/extensions/extension_icon_manager.cc gfx::ImageSkia::CreateFrom1xBitmap(source), gfx 68 chrome/browser/extensions/extension_icon_manager.cc gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize), gfx 85 chrome/browser/extensions/extension_icon_manager.cc DCHECK_EQ(gfx::kFaviconSize + padding_.width(), result->width()); gfx 86 chrome/browser/extensions/extension_icon_manager.cc DCHECK_EQ(gfx::kFaviconSize + padding_.height(), result->height()); gfx 96 chrome/browser/extensions/extension_icon_manager.cc const gfx::Image& image) { gfx 120 chrome/browser/extensions/extension_icon_manager.cc if (result.width() != gfx::kFaviconSize || gfx 121 chrome/browser/extensions/extension_icon_manager.cc result.height() != gfx::kFaviconSize) { gfx 124 chrome/browser/extensions/extension_icon_manager.cc gfx::kFaviconSize, gfx::kFaviconSize); gfx 25 chrome/browser/extensions/extension_icon_manager.h namespace gfx { gfx 47 chrome/browser/extensions/extension_icon_manager.h void set_padding(const gfx::Insets& value) { padding_ = value; } gfx 51 chrome/browser/extensions/extension_icon_manager.h const gfx::Image& image); gfx 75 chrome/browser/extensions/extension_icon_manager.h gfx::Insets padding_; gfx 82 chrome/browser/extensions/extension_icon_manager_unittest.cc const gfx::Image& image) OVERRIDE { gfx 127 chrome/browser/extensions/extension_icon_manager_unittest.cc EXPECT_FALSE(gfx::BitmapsAreEqual(first_icon, default_icon)); gfx 137 chrome/browser/extensions/extension_icon_manager_unittest.cc EXPECT_FALSE(gfx::BitmapsAreEqual(second_icon, default_icon)); gfx 139 chrome/browser/extensions/extension_icon_manager_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(first_icon, second_icon)); gfx 169 chrome/browser/extensions/extension_icon_manager_unittest.cc EXPECT_FALSE(gfx::BitmapsAreEqual(first_icon, default_icon)); gfx 179 chrome/browser/extensions/extension_icon_manager_unittest.cc EXPECT_FALSE(gfx::BitmapsAreEqual(second_icon, default_icon)); gfx 181 chrome/browser/extensions/extension_icon_manager_unittest.cc EXPECT_TRUE(gfx::BitmapsAreEqual(first_icon, second_icon)); gfx 133 chrome/browser/extensions/extension_install_prompt.cc return static_cast<int>(size_in_dip * gfx::ImageSkia::GetMaxSupportedScale()); gfx 139 chrome/browser/extensions/extension_install_prompt.cc const gfx::ImageSkia& image = is_app ? gfx 143 chrome/browser/extensions/extension_install_prompt.cc gfx::ImageSkia::GetMaxSupportedScale()).sk_bitmap(); gfx 185 chrome/browser/extensions/extension_install_prompt.cc gfx::NativeWindow NativeWindowForWebContents(content::WebContents* contents) { gfx 500 chrome/browser/extensions/extension_install_prompt.cc gfx::NativeWindow window, gfx 553 chrome/browser/extensions/extension_install_prompt.cc gfx::NativeWindow native_window, gfx 733 chrome/browser/extensions/extension_install_prompt.cc void ExtensionInstallPrompt::OnImageLoaded(const gfx::Image& image) { gfx 757 chrome/browser/extensions/extension_install_prompt.cc extension_, image, gfx::Size(pixel_size, pixel_size), gfx 832 chrome/browser/extensions/extension_install_prompt.cc prompt_.set_icon(gfx::Image::CreateFrom1xBitmap(icon_)); gfx 124 chrome/browser/extensions/extension_install_prompt.h typedef void(*StarAppender)(const gfx::ImageSkia*, void*); gfx 155 chrome/browser/extensions/extension_install_prompt.h const gfx::Image& icon() const { return icon_; } gfx 156 chrome/browser/extensions/extension_install_prompt.h void set_icon(const gfx::Image& icon) { icon_ = icon; } gfx 192 chrome/browser/extensions/extension_install_prompt.h gfx::Image icon_; gfx 236 chrome/browser/extensions/extension_install_prompt.h ShowParams(gfx::NativeWindow window, content::PageNavigator* navigator); gfx 243 chrome/browser/extensions/extension_install_prompt.h gfx::NativeWindow parent_window; gfx 271 chrome/browser/extensions/extension_install_prompt.h gfx::NativeWindow native_window, gfx 386 chrome/browser/extensions/extension_install_prompt.h void OnImageLoaded(const gfx::Image& image); gfx 290 chrome/browser/extensions/extension_tab_util.cc const gfx::Rect& initial_pos, gfx 28 chrome/browser/extensions/extension_tab_util.h namespace gfx { gfx 118 chrome/browser/extensions/extension_tab_util.h const gfx::Rect& initial_pos, gfx 110 chrome/browser/extensions/extension_tab_util_android.cc const gfx::Rect& initial_pos, gfx 34 chrome/browser/extensions/extension_uninstall_dialog.cc float max_scale_factor_scale = gfx::ImageSkia::GetMaxSupportedScale(); gfx 42 chrome/browser/extensions/extension_uninstall_dialog.cc const gfx::ImageSkia& image = is_app ? gfx 46 chrome/browser/extensions/extension_uninstall_dialog.cc gfx::ImageSkia::GetMaxSupportedScale()).sk_bitmap(); gfx 103 chrome/browser/extensions/extension_uninstall_dialog.cc gfx::Size(pixel_size, pixel_size), gfx 108 chrome/browser/extensions/extension_uninstall_dialog.cc void ExtensionUninstallDialog::SetIcon(const gfx::Image& image) { gfx 115 chrome/browser/extensions/extension_uninstall_dialog.cc icon_ = gfx::ImageSkia::CreateFrom1xBitmap( gfx 122 chrome/browser/extensions/extension_uninstall_dialog.cc void ExtensionUninstallDialog::OnImageLoaded(const gfx::Image& image) { gfx 27 chrome/browser/extensions/extension_uninstall_dialog.h namespace gfx { gfx 92 chrome/browser/extensions/extension_uninstall_dialog.h gfx::ImageSkia icon_; gfx 97 chrome/browser/extensions/extension_uninstall_dialog.h void SetIcon(const gfx::Image& image); gfx 99 chrome/browser/extensions/extension_uninstall_dialog.h void OnImageLoaded(const gfx::Image& image); gfx 255 chrome/browser/extensions/extension_view_host.cc const gfx::Size& new_size) { gfx 286 chrome/browser/extensions/extension_view_host.cc gfx::NativeView ExtensionViewHost::GetHostView() const { gfx 290 chrome/browser/extensions/extension_view_host.cc gfx::Point ExtensionViewHost::GetDialogPosition(const gfx::Size& size) { gfx 292 chrome/browser/extensions/extension_view_host.cc return gfx::Point(); gfx 293 chrome/browser/extensions/extension_view_host.cc gfx::Rect bounds = GetVisibleWebContents()->GetView()->GetViewBounds(); gfx 294 chrome/browser/extensions/extension_view_host.cc return gfx::Point( gfx 299 chrome/browser/extensions/extension_view_host.cc gfx::Size ExtensionViewHost::GetMaximumDialogSize() { gfx 301 chrome/browser/extensions/extension_view_host.cc return gfx::Size(); gfx 103 chrome/browser/extensions/extension_view_host.h const gfx::Size& new_size) OVERRIDE; gfx 116 chrome/browser/extensions/extension_view_host.h virtual gfx::NativeView GetHostView() const OVERRIDE; gfx 117 chrome/browser/extensions/extension_view_host.h virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; gfx 118 chrome/browser/extensions/extension_view_host.h virtual gfx::Size GetMaximumDialogSize() OVERRIDE; gfx 91 chrome/browser/extensions/extension_web_ui.cc const gfx::Image& image) { gfx 95 chrome/browser/extensions/extension_web_ui.cc const std::vector<gfx::ImageSkiaRep>& image_reps = gfx 98 chrome/browser/extensions/extension_web_ui.cc const gfx::ImageSkiaRep& image_rep = image_reps[i]; gfx 101 chrome/browser/extensions/extension_web_ui.cc if (gfx::PNGCodec::EncodeBGRASkBitmap(image_rep.sk_bitmap(), gfx 106 chrome/browser/extensions/extension_web_ui.cc bitmap_result.pixel_size = gfx::Size(image_rep.pixel_width(), gfx 413 chrome/browser/extensions/extension_web_ui.cc RunFaviconCallbackAsync(callback, gfx::Image()); gfx 418 chrome/browser/extensions/extension_web_ui.cc RunFaviconCallbackAsync(callback, gfx::Image()); gfx 431 chrome/browser/extensions/extension_web_ui.cc int pixel_size = static_cast<int>(gfx::kFaviconSize * scale); gfx 441 chrome/browser/extensions/extension_web_ui.cc gfx::Size(pixel_size, pixel_size), gfx 163 chrome/browser/extensions/external_install_ui.cc virtual gfx::Image GetBubbleViewIcon() OVERRIDE; gfx 454 chrome/browser/extensions/external_install_ui.cc gfx::Image ExternalInstallGlobalError::GetBubbleViewIcon() { gfx 458 chrome/browser/extensions/external_install_ui.cc return gfx::Image(gfx::ImageSkiaOperations::CreateResizedImage( gfx 461 chrome/browser/extensions/external_install_ui.cc gfx::Size(extension_misc::EXTENSION_ICON_SMALL, gfx 92 chrome/browser/extensions/favicon_downloader.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 22 chrome/browser/extensions/favicon_downloader.h namespace gfx { gfx 65 chrome/browser/extensions/favicon_downloader.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 19 chrome/browser/extensions/favicon_downloader_unittest.cc std::vector<SkBitmap> CreateTestBitmaps(const std::vector<gfx::Size>& sizes) { gfx 84 chrome/browser/extensions/favicon_downloader_unittest.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 110 chrome/browser/extensions/favicon_downloader_unittest.cc favicon_url, content::FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 117 chrome/browser/extensions/favicon_downloader_unittest.cc std::vector<gfx::Size> sizes(1, gfx::Size(32, 32)); gfx 131 chrome/browser/extensions/favicon_downloader_unittest.cc favicon_url, content::FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 141 chrome/browser/extensions/favicon_downloader_unittest.cc std::vector<gfx::Size> sizes(1, gfx::Size(32, 32)); gfx 163 chrome/browser/extensions/favicon_downloader_unittest.cc favicon_url_1, content::FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 166 chrome/browser/extensions/favicon_downloader_unittest.cc empty_favicon, content::FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 171 chrome/browser/extensions/favicon_downloader_unittest.cc std::vector<gfx::Size>())); gfx 176 chrome/browser/extensions/favicon_downloader_unittest.cc std::vector<gfx::Size> sizes_1(1, gfx::Size(16, 16)); gfx 179 chrome/browser/extensions/favicon_downloader_unittest.cc std::vector<gfx::Size> sizes_2; gfx 180 chrome/browser/extensions/favicon_downloader_unittest.cc sizes_2.push_back(gfx::Size(32, 32)); gfx 181 chrome/browser/extensions/favicon_downloader_unittest.cc sizes_2.push_back(gfx::Size(64, 64)); gfx 186 chrome/browser/extensions/favicon_downloader_unittest.cc downloader.CompleteImageDownload(2, empty_favicon, std::vector<gfx::Size>()); gfx 38 chrome/browser/extensions/global_shortcut_listener_win.cc gfx::SingletonHwnd::GetInstance()->AddObserver(this); gfx 45 chrome/browser/extensions/global_shortcut_listener_win.cc gfx::SingletonHwnd::GetInstance()->RemoveObserver(this); gfx 77 chrome/browser/extensions/global_shortcut_listener_win.cc gfx::SingletonHwnd::GetInstance()->hwnd(), gfx 97 chrome/browser/extensions/global_shortcut_listener_win.cc gfx::SingletonHwnd::GetInstance()->hwnd(), it->second); gfx 19 chrome/browser/extensions/global_shortcut_listener_win.h public gfx::SingletonHwnd::Observer { gfx 61 chrome/browser/extensions/global_shortcut_listener_x11.cc x_display_(gfx::GetXDisplay()), gfx 118 chrome/browser/extensions/global_shortcut_listener_x11.cc gfx::X11ErrorTracker err_tracker; gfx 43 chrome/browser/extensions/image_loader.cc const gfx::Size& decoded_size, gfx 44 chrome/browser/extensions/image_loader.cc const gfx::Size& desired_size) { gfx 61 chrome/browser/extensions/image_loader.cc gfx::Size original_size(bitmap.width(), bitmap.height()); gfx 76 chrome/browser/extensions/image_loader.cc gfx::ImageSkia image( gfx 101 chrome/browser/extensions/image_loader.cc gfx::PNGCodec::Decode(data, file_contents.length(), bitmap); gfx 157 chrome/browser/extensions/image_loader.cc const gfx::Size& desired_size, gfx 173 chrome/browser/extensions/image_loader.cc const gfx::Size& original_size, gfx 178 chrome/browser/extensions/image_loader.cc gfx::Size original_size; gfx 184 chrome/browser/extensions/image_loader.cc const gfx::Size& original_size, gfx 220 chrome/browser/extensions/image_loader.cc gfx::Size original_size(bitmap.width(), bitmap.height()); gfx 308 chrome/browser/extensions/image_loader.cc const gfx::Size& max_size, gfx 356 chrome/browser/extensions/image_loader.cc gfx::ImageSkia image_skia; gfx 363 chrome/browser/extensions/image_loader.cc image_skia.AddRepresentation(gfx::ImageSkiaRep( gfx 368 chrome/browser/extensions/image_loader.cc gfx::Image image; gfx 371 chrome/browser/extensions/image_loader.cc image = gfx::Image(image_skia); gfx 382 chrome/browser/extensions/image_loader.cc std::map<std::pair<int, int>, gfx::ImageSkia> image_skia_map; gfx 383 chrome/browser/extensions/image_loader.cc gfx::ImageFamily image_family; gfx 395 chrome/browser/extensions/image_loader.cc gfx::ImageSkiaRep(bitmap, ui::GetImageScale(image_rep.scale_factor))); gfx 398 chrome/browser/extensions/image_loader.cc for (std::map<std::pair<int, int>, gfx::ImageSkia>::iterator it = gfx 23 chrome/browser/extensions/image_loader.h namespace gfx { gfx 32 chrome/browser/extensions/image_loader.h typedef base::Callback<void(const gfx::Image&)> ImageLoaderImageCallback; gfx 33 chrome/browser/extensions/image_loader.h typedef base::Callback<void(const gfx::ImageFamily&)> gfx 52 chrome/browser/extensions/image_loader.h const gfx::Size& desired_size, gfx 63 chrome/browser/extensions/image_loader.h gfx::Size desired_size; gfx 95 chrome/browser/extensions/image_loader.h const gfx::Size& max_size, gfx 45 chrome/browser/extensions/image_loader_unittest.cc void OnImageLoaded(const gfx::Image& image) { gfx 52 chrome/browser/extensions/image_loader_unittest.cc void OnImageFamilyLoaded(const gfx::ImageFamily& image_family) { gfx 106 chrome/browser/extensions/image_loader_unittest.cc gfx::Image image_; gfx 107 chrome/browser/extensions/image_loader_unittest.cc gfx::ImageFamily image_family_; gfx 134 chrome/browser/extensions/image_loader_unittest.cc gfx::Size max_size(extension_misc::EXTENSION_ICON_SMALLISH, gfx 167 chrome/browser/extensions/image_loader_unittest.cc gfx::Size max_size(extension_misc::EXTENSION_ICON_SMALLISH, gfx 219 chrome/browser/extensions/image_loader_unittest.cc gfx::Size(sizes[i], sizes[i]), gfx 237 chrome/browser/extensions/image_loader_unittest.cc std::vector<gfx::ImageSkiaRep> image_reps = gfx 241 chrome/browser/extensions/image_loader_unittest.cc const gfx::ImageSkiaRep* img_rep1 = &image_reps[0]; gfx 242 chrome/browser/extensions/image_loader_unittest.cc const gfx::ImageSkiaRep* img_rep2 = &image_reps[1]; gfx 264 chrome/browser/extensions/image_loader_unittest.cc gfx::Size(sizes[i], sizes[i]), gfx 277 chrome/browser/extensions/image_loader_unittest.cc gfx::Size(extension_misc::EXTENSION_ICON_BITTY, gfx 297 chrome/browser/extensions/image_loader_unittest.cc const gfx::Image* image = image_family_.GetBest(sizes[i], sizes[i]); gfx 302 chrome/browser/extensions/image_loader_unittest.cc std::vector<gfx::ImageSkiaRep> image_reps = gfx 310 chrome/browser/extensions/image_loader_unittest.cc const gfx::ImageSkiaRep* img_rep1 = &image_reps[0]; gfx 311 chrome/browser/extensions/image_loader_unittest.cc const gfx::ImageSkiaRep* img_rep2 = &image_reps[1]; gfx 12 chrome/browser/extensions/install_observer.cc gfx::ImageSkia installing_icon, gfx 22 chrome/browser/extensions/install_observer.h gfx::ImageSkia installing_icon, gfx 28 chrome/browser/extensions/install_observer.h gfx::ImageSkia installing_icon; gfx 180 chrome/browser/extensions/menu_manager.cc result = gfx::TruncateString(result, max_length); gfx 731 chrome/browser/extensions/sandboxed_unpacker.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(image, false, &image_data)) { gfx 504 chrome/browser/extensions/tab_helper.cc gfx::Size(extension_misc::EXTENSION_ICON_SMALL, gfx 521 chrome/browser/extensions/tab_helper.cc void TabHelper::OnImageLoaded(const gfx::Image& image) { gfx 33 chrome/browser/extensions/tab_helper.h namespace gfx { gfx 218 chrome/browser/extensions/tab_helper.h void OnImageLoaded(const gfx::Image& image); gfx 149 chrome/browser/extensions/webstore_installer.h gfx::ImageSkia installing_icon; gfx 94 chrome/browser/extensions/webstore_standalone_installer.cc approval->installing_icon = gfx::ImageSkia::CreateFrom1xBitmap(icon_); gfx 53 chrome/browser/extensions/window_controller.cc gfx::Rect bounds; gfx 22 chrome/browser/extensions/window_controller.h namespace gfx { gfx 61 chrome/browser/favicon/favicon_handler.cc return gfx::ImageSkia::GetMaxSupportedScale() * gfx::kFaviconSize; gfx 143 chrome/browser/favicon/favicon_handler.cc std::vector<gfx::Size> favicon_sizes; gfx 152 chrome/browser/favicon/favicon_handler.cc std::vector<gfx::Size>::iterator it = std::find(favicon_sizes.begin(), gfx 153 chrome/browser/favicon/favicon_handler.cc favicon_sizes.end(), gfx::Size(edge_size_in_pixel, edge_size_in_pixel)); gfx 200 chrome/browser/favicon/favicon_handler.cc const gfx::Image& image, gfx 257 chrome/browser/favicon/favicon_handler.cc const gfx::Image& image, gfx 273 chrome/browser/favicon/favicon_handler.cc const gfx::Image& image, gfx 288 chrome/browser/favicon/favicon_handler.cc gfx::Image resized_image = FaviconUtil::SelectFaviconFramesFromPNGs( gfx 302 chrome/browser/favicon/favicon_handler.cc const gfx::Image& image) { gfx 312 chrome/browser/favicon/favicon_handler.cc gfx::Image image_with_adjusted_colorspace = image; gfx 369 chrome/browser/favicon/favicon_handler.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 382 chrome/browser/favicon/favicon_handler.cc gfx::Image image(SelectFaviconFrames(bitmaps, gfx 470 chrome/browser/favicon/favicon_handler.cc const gfx::Image& image) { gfx 112 chrome/browser/favicon/favicon_handler.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 153 chrome/browser/favicon/favicon_handler.h const gfx::Image& image); gfx 189 chrome/browser/favicon/favicon_handler.h const gfx::Image& image, gfx 195 chrome/browser/favicon/favicon_handler.h gfx::Image image; gfx 224 chrome/browser/favicon/favicon_handler.h const gfx::Image& image, gfx 231 chrome/browser/favicon/favicon_handler.h const gfx::Image& image, gfx 241 chrome/browser/favicon/favicon_handler.h const gfx::Image& image); gfx 254 chrome/browser/favicon/favicon_handler.h return icon_types_ == chrome::FAVICON ? gfx::kFaviconSize : 0; gfx 47 chrome/browser/favicon/favicon_handler_unittest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, output); gfx 56 chrome/browser/favicon/favicon_handler_unittest.cc FillBitmap(gfx::kFaviconSize, gfx::kFaviconSize, &data->data()); gfx 61 chrome/browser/favicon/favicon_handler_unittest.cc bitmap_result.pixel_size = gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize); gfx 295 chrome/browser/favicon/favicon_handler_unittest.cc const gfx::Image& image) OVERRIDE { gfx 344 chrome/browser/favicon/favicon_handler_unittest.cc download_->image_size : gfx::kFaviconSize; gfx 351 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<gfx::Size> original_bitmap_sizes; gfx 356 chrome/browser/favicon/favicon_handler_unittest.cc original_bitmap_sizes.push_back(gfx::Size(original_size, original_size)); gfx 464 chrome/browser/favicon/favicon_handler_unittest.cc FaviconURL(icon_url, FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 507 chrome/browser/favicon/favicon_handler_unittest.cc FaviconURL(icon_url, FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 542 chrome/browser/favicon/favicon_handler_unittest.cc EXPECT_EQ(gfx::kFaviconSize, favicon_status.image.Width()); gfx 580 chrome/browser/favicon/favicon_handler_unittest.cc FaviconURL(new_icon_url, FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 626 chrome/browser/favicon/favicon_handler_unittest.cc EXPECT_EQ(gfx::kFaviconSize, favicon_status.image.Width()); gfx 652 chrome/browser/favicon/favicon_handler_unittest.cc bitmap_result.pixel_size = gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize); gfx 671 chrome/browser/favicon/favicon_handler_unittest.cc FaviconURL(icon_url, FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 699 chrome/browser/favicon/favicon_handler_unittest.cc EXPECT_EQ(gfx::kFaviconSize, favicon_status.image.Width()); gfx 736 chrome/browser/favicon/favicon_handler_unittest.cc FaviconURL(new_icon_url, FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 800 chrome/browser/favicon/favicon_handler_unittest.cc icon_url, FaviconURL::TOUCH_PRECOMPOSED_ICON, std::vector<gfx::Size>())); gfx 802 chrome/browser/favicon/favicon_handler_unittest.cc new_icon_url, FaviconURL::TOUCH_ICON, std::vector<gfx::Size>())); gfx 804 chrome/browser/favicon/favicon_handler_unittest.cc FaviconURL(new_icon_url, FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 913 chrome/browser/favicon/favicon_handler_unittest.cc icon_url, FaviconURL::TOUCH_PRECOMPOSED_ICON, std::vector<gfx::Size>())); gfx 915 chrome/browser/favicon/favicon_handler_unittest.cc new_icon_url, FaviconURL::TOUCH_ICON, std::vector<gfx::Size>())); gfx 917 chrome/browser/favicon/favicon_handler_unittest.cc FaviconURL(new_icon_url, FaviconURL::FAVICON, std::vector<gfx::Size>())); gfx 951 chrome/browser/favicon/favicon_handler_unittest.cc latest_icon_url, FaviconURL::TOUCH_ICON, std::vector<gfx::Size>())); gfx 1001 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<gfx::Size>()), gfx 1004 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<gfx::Size>()), gfx 1007 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<gfx::Size>()), gfx 1010 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<gfx::Size>()), gfx 1013 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<gfx::Size>())}; gfx 1039 chrome/browser/favicon/favicon_handler_unittest.cc EXPECT_EQ(gfx::kFaviconSize, favicon_status1.image.Width()); gfx 1123 chrome/browser/favicon/favicon_handler_unittest.cc std::vector<gfx::Size> empty_icon_sizes; gfx 269 chrome/browser/favicon/favicon_service.cc const gfx::Size& pixel_size) { gfx 279 chrome/browser/favicon/favicon_service.cc const gfx::Image& image) { gfx 283 chrome/browser/favicon/favicon_service.cc gfx::ImageSkia image_skia = image.AsImageSkia(); gfx 285 chrome/browser/favicon/favicon_service.cc const std::vector<gfx::ImageSkiaRep>& image_reps = image_skia.image_reps(); gfx 290 chrome/browser/favicon/favicon_service.cc if (gfx::PNGCodec::EncodeBGRASkBitmap(image_reps[i].sk_bitmap(), gfx 293 chrome/browser/favicon/favicon_service.cc gfx::Size pixel_size(image_reps[i].pixel_width(), gfx 384 chrome/browser/favicon/favicon_service.cc gfx::Size desired_size_in_pixel(desired_edge_width_in_pixel, gfx 395 chrome/browser/favicon/favicon_service.cc gfx::Image resized_image = FaviconUtil::SelectFaviconFramesFromPNGs( gfx 399 chrome/browser/favicon/favicon_service.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(resized_image.AsBitmap(), false, gfx 217 chrome/browser/favicon/favicon_service.h const gfx::Size& pixel_size); gfx 232 chrome/browser/favicon/favicon_service.h const gfx::Image& image); gfx 57 chrome/browser/favicon/favicon_tab_helper.cc gfx::Image FaviconTabHelper::GetFavicon() const { gfx 68 chrome/browser/favicon/favicon_tab_helper.cc return gfx::Image(); gfx 195 chrome/browser/favicon/favicon_tab_helper.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 17 chrome/browser/favicon/favicon_tab_helper.h namespace gfx { gfx 45 chrome/browser/favicon/favicon_tab_helper.h gfx::Image GetFavicon() const; gfx 80 chrome/browser/favicon/favicon_tab_helper.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 27 chrome/browser/favicon/favicon_util.cc std::vector<gfx::ImagePNGRep> SelectFaviconFramesFromPNGsWithoutResizing( gfx 31 chrome/browser/favicon/favicon_util.cc std::vector<gfx::ImagePNGRep> png_reps; gfx 46 chrome/browser/favicon/favicon_util.cc png_reps.push_back(gfx::ImagePNGRep(best_candidate, 1.0f)); gfx 64 chrome/browser/favicon/favicon_util.cc const gfx::Size& pixel_size = png_data[i].pixel_size; gfx 74 chrome/browser/favicon/favicon_util.cc gfx::ImagePNGRep(png_data[i].bitmap_data, gfx 168 chrome/browser/favicon/favicon_util.cc void FaviconUtil::SetFaviconColorSpace(gfx::Image* image) { gfx 175 chrome/browser/favicon/favicon_util.cc gfx::Image FaviconUtil::SelectFaviconFramesFromPNGs( gfx 191 chrome/browser/favicon/favicon_util.cc std::vector<gfx::ImagePNGRep> png_reps = gfx 198 chrome/browser/favicon/favicon_util.cc return gfx::Image(png_reps); gfx 210 chrome/browser/favicon/favicon_util.cc return gfx::Image(png_reps); gfx 218 chrome/browser/favicon/favicon_util.cc if (gfx::PNGCodec::Decode(png_data[i].bitmap_data->front(), gfx 226 chrome/browser/favicon/favicon_util.cc return gfx::Image(); gfx 228 chrome/browser/favicon/favicon_util.cc gfx::ImageSkia resized_image_skia; gfx 236 chrome/browser/favicon/favicon_util.cc gfx::ImageSkiaRep(bitmap, scale_factor)); gfx 240 chrome/browser/favicon/favicon_util.cc return gfx::Image(resized_image_skia); gfx 242 chrome/browser/favicon/favicon_util.cc std::vector<gfx::ImageSkiaRep> resized_image_skia_reps = gfx 246 chrome/browser/favicon/favicon_util.cc if (gfx::PNGCodec::EncodeBGRASkBitmap( gfx 248 chrome/browser/favicon/favicon_util.cc png_reps.push_back(gfx::ImagePNGRep(png_bytes, gfx 253 chrome/browser/favicon/favicon_util.cc return gfx::Image(png_reps); gfx 16 chrome/browser/favicon/favicon_util.h namespace gfx { gfx 34 chrome/browser/favicon/favicon_util.h static void SetFaviconColorSpace(gfx::Image* image); gfx 38 chrome/browser/favicon/favicon_util.h static gfx::Image SelectFaviconFramesFromPNGs( gfx 174 chrome/browser/feedback/feedback_util.cc gfx::Rect screen_size; gfx 395 chrome/browser/file_select_helper.cc gfx::NativeWindow owning_window = gfx 88 chrome/browser/first_run/try_chrome_dialog_view.cc gfx::Size icon_size = icon->GetPreferredSize(); gfx 93 chrome/browser/first_run/try_chrome_dialog_view.cc params.bounds = gfx::Rect(310, 200); gfx 183 chrome/browser/first_run/try_chrome_dialog_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 273 chrome/browser/first_run/try_chrome_dialog_view.cc gfx::Size preferred = layout->GetPreferredSize(root_view); gfx 276 chrome/browser/first_run/try_chrome_dialog_view.cc separator->SetSize(gfx::Size(preferred.width(), separator_height)); gfx 279 chrome/browser/first_run/try_chrome_dialog_view.cc gfx::Rect pos = ComputeWindowPosition(preferred.width(), preferred.height(), gfx 302 chrome/browser/first_run/try_chrome_dialog_view.cc gfx::Rect TryChromeDialogView::ComputeWindowPosition(int width, gfx 312 chrome/browser/first_run/try_chrome_dialog_view.cc return gfx::Rect(20, 20, width + 20, height + 20); gfx 318 chrome/browser/first_run/try_chrome_dialog_view.cc return gfx::Rect(left, top, width, height); gfx 16 chrome/browser/first_run/try_chrome_dialog_view.h namespace gfx { gfx 63 chrome/browser/first_run/try_chrome_dialog_view.h typedef base::Callback<void(gfx::NativeWindow active_dialog)> gfx 97 chrome/browser/first_run/try_chrome_dialog_view.h gfx::Rect ComputeWindowPosition(int width, int height, bool is_RTL); gfx 29 chrome/browser/fullscreen_gtk.cc int status = XQueryTree(gfx::GetXDisplay(), window, &root, &parent, gfx 138 chrome/browser/guestview/webview/webview_find_helper.cc const gfx::Rect& selection_rect, gfx 188 chrome/browser/guestview/webview/webview_find_helper.cc const gfx::Rect& selection_rect, gfx 199 chrome/browser/guestview/webview/webview_find_helper.cc selection_rect_ = gfx::Rect(); gfx 226 chrome/browser/guestview/webview/webview_find_helper.cc const gfx::Rect& selection_rect, gfx 257 chrome/browser/guestview/webview/webview_find_helper.cc const gfx::Rect& selection_rect, gfx 47 chrome/browser/guestview/webview/webview_find_helper.h const gfx::Rect& selection_rect, gfx 60 chrome/browser/guestview/webview/webview_find_helper.h const gfx::Rect& selection_rect, gfx 70 chrome/browser/guestview/webview/webview_find_helper.h gfx::Rect selection_rect_; gfx 86 chrome/browser/guestview/webview/webview_find_helper.h const gfx::Rect& selection_rect, gfx 116 chrome/browser/guestview/webview/webview_find_helper.h const gfx::Rect& selection_rect, gfx 348 chrome/browser/guestview/webview/webview_guest.cc const gfx::Rect& selection_rect, gfx 782 chrome/browser/guestview/webview/webview_guest.cc void WebViewGuest::SizeChanged(const gfx::Size& old_size, gfx 783 chrome/browser/guestview/webview/webview_guest.cc const gfx::Size& new_size) { gfx 63 chrome/browser/guestview/webview/webview_guest.h const gfx::Rect& selection_rect, gfx 82 chrome/browser/guestview/webview/webview_guest.h virtual void SizeChanged(const gfx::Size& old_size, const gfx::Size& new_size) gfx 189 chrome/browser/hang_monitor/hung_plugin_action.cc base::string16 class_name = gfx::GetClassName(window); gfx 258 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.pixel_size = gfx::Size(); gfx 407 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.pixel_size = gfx::Size(); gfx 1806 chrome/browser/history/android/android_provider_backend_unittest.cc bitmap_data_element.pixel_size = gfx::Size(); gfx 45 chrome/browser/history/android/favicon_sql_handler.cc gfx::Size()); gfx 114 chrome/browser/history/android/favicon_sql_handler.cc gfx::Size()); gfx 227 chrome/browser/history/expire_history_backend_unittest.cc gfx::JPEGCodec::Decode(kGoogleThumbnail, sizeof(kGoogleThumbnail))); gfx 228 chrome/browser/history/expire_history_backend_unittest.cc gfx::Image thumbnail = gfx::Image::CreateFrom1xBitmap(*thumbnail_bitmap); gfx 1787 chrome/browser/history/history_backend.cc const gfx::Size& pixel_size) { gfx 1823 chrome/browser/history/history_backend.cc std::vector<gfx::Size> favicon_sizes; gfx 1891 chrome/browser/history/history_backend.cc std::vector<gfx::Size>::iterator it = std::find(favicon_sizes.begin(), gfx 2026 chrome/browser/history/history_backend.cc gfx::Size()); gfx 2145 chrome/browser/history/history_backend.cc const gfx::Size& pixel_size = bitmap_id_sizes[i].pixel_size; gfx 2281 chrome/browser/history/history_backend.cc std::vector<gfx::Size> sizes; gfx 260 chrome/browser/history/history_backend.h const gfx::Size& pixel_size); gfx 52 chrome/browser/history/history_backend_unittest.cc static const gfx::Size kTinySize = gfx::Size(10, 10); gfx 53 chrome/browser/history/history_backend_unittest.cc static const gfx::Size kSmallSize = gfx::Size(16, 16); gfx 54 chrome/browser/history/history_backend_unittest.cc static const gfx::Size kLargeSize = gfx::Size(32, 32); gfx 217 chrome/browser/history/history_backend_unittest.cc const std::vector<gfx::Size> GetSizesSmall() { gfx 218 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> sizes_small; gfx 224 chrome/browser/history/history_backend_unittest.cc const std::vector<gfx::Size> GetSizesLarge() { gfx 225 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> sizes_large; gfx 231 chrome/browser/history/history_backend_unittest.cc const std::vector<gfx::Size> GetSizesSmallAndLarge() { gfx 232 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> sizes_small_and_large; gfx 239 chrome/browser/history/history_backend_unittest.cc const std::vector<gfx::Size> GetSizesTinySmallAndLarge() { gfx 240 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> sizes_tiny_small_and_large; gfx 308 chrome/browser/history/history_backend_unittest.cc const std::vector<gfx::Size>& icon_url1_sizes, gfx 311 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size>(), favicon_bitmap_data); gfx 316 chrome/browser/history/history_backend_unittest.cc const std::vector<gfx::Size>& icon_url1_sizes, gfx 318 chrome/browser/history/history_backend_unittest.cc const std::vector<gfx::Size>& icon_url2_sizes, gfx 619 chrome/browser/history/history_backend_unittest.cc gfx::Size()); gfx 627 chrome/browser/history/history_backend_unittest.cc gfx::Size()); gfx 801 chrome/browser/history/history_backend_unittest.cc gfx::Size()); gfx 1385 chrome/browser/history/history_backend_unittest.cc gfx::Size pixel_size_out; gfx 1867 chrome/browser/history/history_backend_unittest.cc gfx::Size(pixel_size, pixel_size)); gfx 1926 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> favicon_size; gfx 1927 chrome/browser/history/history_backend_unittest.cc favicon_size.push_back(gfx::Size(16, 16)); gfx 1928 chrome/browser/history/history_backend_unittest.cc favicon_size.push_back(gfx::Size(32, 32)); gfx 1933 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> touch_icon_size; gfx 1934 chrome/browser/history/history_backend_unittest.cc touch_icon_size.push_back(gfx::Size(64, 64)); gfx 1950 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(gfx::Size(32, 32), result.pixel_size); gfx 1955 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(gfx::Size(64, 64), result.pixel_size); gfx 1967 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> favicon_size; gfx 1968 chrome/browser/history/history_backend_unittest.cc favicon_size.push_back(gfx::Size(16, 16)); gfx 1969 chrome/browser/history/history_backend_unittest.cc favicon_size.push_back(gfx::Size(32, 32)); gfx 1974 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> touch_icon_size; gfx 1975 chrome/browser/history/history_backend_unittest.cc touch_icon_size.push_back(gfx::Size(32, 32)); gfx 1991 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(gfx::Size(32, 32), result.pixel_size); gfx 1997 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(gfx::Size(32, 32), result1.pixel_size); gfx 2008 chrome/browser/history/history_backend_unittest.cc std::vector<gfx::Size> favicon_size; gfx 2009 chrome/browser/history/history_backend_unittest.cc favicon_size.push_back(gfx::Size(16, 16)); gfx 2024 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(gfx::Size(16, 16), result.pixel_size); gfx 681 chrome/browser/history/history_service.cc const gfx::Size& pixel_size) { gfx 767 chrome/browser/history/history_service.h const gfx::Size& pixel_size); gfx 705 chrome/browser/history/history_types.h gfx::Size pixel_size; gfx 726 chrome/browser/history/history_types.h gfx::Size pixel_size; gfx 17 chrome/browser/history/select_favicon_frames.cc size_t BiggestCandidate(const std::vector<gfx::Size>& candidate_sizes) { gfx 54 chrome/browser/history/select_favicon_frames.cc const std::vector<gfx::Size>& candidate_sizes_in_pixel, gfx 112 chrome/browser/history/select_favicon_frames.cc const gfx::Size& candidate_size_in_pixel = gfx 140 chrome/browser/history/select_favicon_frames.cc const std::vector<gfx::Size>& candidate_sizes, gfx 203 chrome/browser/history/select_favicon_frames.cc gfx::ImageSkia SelectFaviconFrames( gfx 205 chrome/browser/history/select_favicon_frames.cc const std::vector<gfx::Size>& original_sizes, gfx 213 chrome/browser/history/select_favicon_frames.cc gfx::ImageSkia multi_image; gfx 219 chrome/browser/history/select_favicon_frames.cc gfx::ImageSkiaRep(resized_bitmap, gfx 226 chrome/browser/history/select_favicon_frames.cc const std::vector<gfx::Size>& frame_pixel_sizes, gfx 14 chrome/browser/history/select_favicon_frames.h namespace gfx { gfx 37 chrome/browser/history/select_favicon_frames.h gfx::ImageSkia SelectFaviconFrames( gfx 39 chrome/browser/history/select_favicon_frames.h const std::vector<gfx::Size>& original_sizes, gfx 56 chrome/browser/history/select_favicon_frames.h const std::vector<gfx::Size>& frame_pixel_sizes, gfx 29 chrome/browser/history/select_favicon_frames_unittest.cc vector<gfx::Size> SizesFromBitmaps(const vector<SkBitmap>& bitmaps) { gfx 30 chrome/browser/history/select_favicon_frames_unittest.cc vector<gfx::Size> sizes; gfx 32 chrome/browser/history/select_favicon_frames_unittest.cc sizes.push_back(gfx::Size(bitmaps[i].width(), bitmaps[i].height())); gfx 44 chrome/browser/history/select_favicon_frames_unittest.cc SkColor GetColor(const gfx::ImageSkia& image, ui::ScaleFactor factor, gfx 58 chrome/browser/history/select_favicon_frames_unittest.cc SkColor GetColor1x(const gfx::ImageSkia& image) { gfx 62 chrome/browser/history/select_favicon_frames_unittest.cc SkColor GetColor2x(const gfx::ImageSkia& image) { gfx 72 chrome/browser/history/select_favicon_frames_unittest.cc gfx::ImageSkia image = SelectFaviconFrames(bitmaps, gfx 88 chrome/browser/history/select_favicon_frames_unittest.cc gfx::ImageSkia image = SelectFaviconFrames(bitmaps, gfx 103 chrome/browser/history/select_favicon_frames_unittest.cc gfx::ImageSkia image = SelectFaviconFrames(bitmaps, gfx 119 chrome/browser/history/select_favicon_frames_unittest.cc gfx::ImageSkia image = SelectFaviconFrames(bitmaps, gfx 132 chrome/browser/history/select_favicon_frames_unittest.cc gfx::ImageSkia image = SelectFaviconFrames(bitmaps, gfx 148 chrome/browser/history/select_favicon_frames_unittest.cc gfx::ImageSkia image = SelectFaviconFrames(bitmaps, gfx 259 chrome/browser/history/select_favicon_frames_unittest.cc vector<gfx::Size> sizes1; gfx 260 chrome/browser/history/select_favicon_frames_unittest.cc sizes1.push_back(gfx::Size(256, 256)); gfx 266 chrome/browser/history/select_favicon_frames_unittest.cc vector<gfx::Size> sizes2; gfx 267 chrome/browser/history/select_favicon_frames_unittest.cc sizes2.push_back(gfx::Size(15, 15)); gfx 664 chrome/browser/history/thumbnail_database.cc bitmap_id_size.pixel_size = gfx::Size(statement.ColumnInt(1), gfx 696 chrome/browser/history/thumbnail_database.cc favicon_bitmap.pixel_size = gfx::Size(statement.ColumnInt(3), gfx 707 chrome/browser/history/thumbnail_database.cc gfx::Size* pixel_size) { gfx 727 chrome/browser/history/thumbnail_database.cc *pixel_size = gfx::Size(statement.ColumnInt(2), gfx 737 chrome/browser/history/thumbnail_database.cc const gfx::Size& pixel_size) { gfx 861 chrome/browser/history/thumbnail_database.cc const gfx::Size& pixel_size) { gfx 84 chrome/browser/history/thumbnail_database.h gfx::Size* pixel_size); gfx 98 chrome/browser/history/thumbnail_database.h const gfx::Size& pixel_size); gfx 150 chrome/browser/history/thumbnail_database.h const gfx::Size& pixel_size); gfx 48 chrome/browser/history/thumbnail_database_unittest.cc const gfx::Size kSmallSize = gfx::Size(16, 16); gfx 49 chrome/browser/history/thumbnail_database_unittest.cc const gfx::Size kLargeSize = gfx::Size(32, 32); gfx 104 chrome/browser/history/thumbnail_database_unittest.cc const gfx::Size& expected_icon_size, gfx 209 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 261 chrome/browser/history/thumbnail_database_unittest.cc db.AddFaviconBitmap(id, favicon, time, gfx::Size()); gfx 409 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 428 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 447 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 474 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 481 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 488 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 538 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 547 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 556 chrome/browser/history/thumbnail_database_unittest.cc gfx::Size()); gfx 588 chrome/browser/history/thumbnail_database_unittest.cc db.AddFaviconBitmap(id1, favicon, time, gfx::Size()); gfx 595 chrome/browser/history/thumbnail_database_unittest.cc db.AddFaviconBitmap(id2, favicon, time, gfx::Size()); gfx 602 chrome/browser/history/thumbnail_database_unittest.cc db.AddFaviconBitmap(id3, favicon, time, gfx::Size()); gfx 667 chrome/browser/history/thumbnail_database_unittest.cc kIconUrl1, gfx::Size(), sizeof(kBlob1), kBlob1)); gfx 669 chrome/browser/history/thumbnail_database_unittest.cc kIconUrl2, gfx::Size(), sizeof(kBlob2), kBlob2)); gfx 671 chrome/browser/history/thumbnail_database_unittest.cc kIconUrl1, gfx::Size(), sizeof(kBlob1), kBlob1)); gfx 673 chrome/browser/history/thumbnail_database_unittest.cc kIconUrl3, gfx::Size(), sizeof(kBlob2), kBlob2)); gfx 52 chrome/browser/history/top_sites.h const gfx::Image& thumbnail, gfx 138 chrome/browser/history/top_sites_impl.cc const gfx::Image& thumbnail, gfx 539 chrome/browser/history/top_sites_impl.cc bool TopSitesImpl::EncodeBitmap(const gfx::Image& bitmap, gfx 545 chrome/browser/history/top_sites_impl.cc if (!gfx::JPEG1xEncodedDataFromImage(bitmap, kTopSitesImageQuality, &data)) gfx 58 chrome/browser/history/top_sites_impl.h const gfx::Image& thumbnail, gfx 136 chrome/browser/history/top_sites_impl.h static bool EncodeBitmap(const gfx::Image& bitmap, gfx 115 chrome/browser/history/top_sites_impl_unittest.cc scoped_ptr<SkBitmap> image(gfx::JPEGCodec::Decode(t1.front(), gfx 165 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image CreateBitmap(SkColor color) { gfx 170 chrome/browser/history/top_sites_impl_unittest.cc return gfx::Image::CreateFrom1xBitmap(thumbnail); // adds ref. gfx 274 chrome/browser/history/top_sites_impl_unittest.cc bool ThumbnailEqualsBytes(const gfx::Image& image, gfx 528 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image thumbnail(CreateBitmap(SK_ColorWHITE)); gfx 563 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image thumbnail(CreateBitmap(SK_ColorRED)); gfx 601 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image thumbnail(CreateBitmap(SK_ColorWHITE)); gfx 666 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image tmp_bitmap(CreateBitmap(SK_ColorBLUE)); gfx 732 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image red_thumbnail(CreateBitmap(SK_ColorRED)); gfx 787 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image asdf_thumbnail(CreateBitmap(SK_ColorRED)); gfx 823 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image google_thumbnail(CreateBitmap(SK_ColorBLUE)); gfx 846 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image weewar_bitmap(CreateBitmap(SK_ColorYELLOW)); gfx 864 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image green_bitmap(CreateBitmap(SK_ColorGREEN)); gfx 1107 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image thumbnail(CreateBitmap(SK_ColorRED)); gfx 1523 chrome/browser/history/top_sites_impl_unittest.cc gfx::Image red_thumbnail(CreateBitmap(SK_ColorRED)); gfx 55 chrome/browser/icon_loader.h gfx::Image* result, gfx 99 chrome/browser/icon_loader.h scoped_ptr<gfx::Image> image_; gfx 48 chrome/browser/icon_loader_auralinux.cc gfx::Image image = ui->GetIconForContentType(group_, size_pixels); gfx 50 chrome/browser/icon_loader_auralinux.cc image_.reset(new gfx::Image(image)); gfx 156 chrome/browser/icon_loader_chromeos.cc gfx::ImageSkia ResizeImage(const gfx::ImageSkia& source, int dip_size) { gfx 163 chrome/browser/icon_loader_chromeos.cc return gfx::ImageSkiaOperations::CreateResizedImage(source, gfx 164 chrome/browser/icon_loader_chromeos.cc skia::ImageOperations::RESIZE_BEST, gfx::Size(dip_size, dip_size)); gfx 204 chrome/browser/icon_loader_chromeos.cc gfx::ImageSkia image_skia(ResizeImage(*(rb.GetImageNamed(idr)).ToImageSkia(), gfx 207 chrome/browser/icon_loader_chromeos.cc image_.reset(new gfx::Image(image_skia)); gfx 62 chrome/browser/icon_loader_linux.cc bool success = gfx::PNGCodec::Decode( gfx 69 chrome/browser/icon_loader_linux.cc gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 71 chrome/browser/icon_loader_linux.cc image_.reset(new gfx::Image(image_skia)); gfx 64 chrome/browser/icon_loader_win.cc gfx::ImageSkia image_skia(gfx::ImageSkiaRep( gfx 65 chrome/browser/icon_loader_win.cc *bitmap, gfx::win::GetDeviceScaleFactor())); gfx 67 chrome/browser/icon_loader_win.cc image_.reset(new gfx::Image(image_skia)); gfx 19 chrome/browser/icon_manager.cc gfx::Image* image) { gfx 40 chrome/browser/icon_manager.cc gfx::Image* IconManager::LookupIconFromFilepath(const base::FilePath& file_name, gfx 49 chrome/browser/icon_manager.cc gfx::Image* IconManager::LookupIconFromGroup(const IconGroupID& group, gfx 88 chrome/browser/icon_manager.cc gfx::Image* result = LookupIconFromGroup(group, rit->second.size); gfx 97 chrome/browser/icon_manager.cc IconLoader* loader, gfx::Image* result, const IconGroupID& group) { gfx 65 chrome/browser/icon_manager.h gfx::Image* LookupIconFromFilepath(const base::FilePath& file_name, gfx 68 chrome/browser/icon_manager.h typedef base::Callback<void(gfx::Image*)> IconRequestCallback; gfx 90 chrome/browser/icon_manager.h gfx::Image* result, gfx 104 chrome/browser/icon_manager.h gfx::Image* LookupIconFromGroup(const IconGroupID& group, gfx 107 chrome/browser/icon_manager.h typedef std::map<CacheKey, gfx::Image*> IconMap; gfx 17 chrome/browser/idle_query_x11.cc if (XScreenSaverQueryExtension(gfx::GetXDisplay(), &event_base, gfx 41 chrome/browser/idle_query_x11.cc if (XScreenSaverQueryInfo(gfx::GetXDisplay(), gfx 42 chrome/browser/idle_query_x11.cc RootWindow(gfx::GetXDisplay(), 0), gfx 56 chrome/browser/importer/external_process_importer_host.h void set_parent_window(gfx::NativeWindow parent_window) { gfx 118 chrome/browser/importer/external_process_importer_host.h gfx::NativeWindow parent_window_; gfx 16 chrome/browser/importer/importer_lock_dialog.h void ShowImportLockDialog(gfx::NativeWindow parent, gfx 26 chrome/browser/infobars/infobar.cc animation_.SetTweenType(gfx::Tween::LINEAR); gfx 113 chrome/browser/infobars/infobar.cc void InfoBar::AnimationProgressed(const gfx::Animation* animation) { gfx 117 chrome/browser/infobars/infobar.cc void InfoBar::AnimationEnded(const gfx::Animation* animation) { gfx 35 chrome/browser/infobars/infobar.h class InfoBar : public gfx::AnimationDelegate { gfx 93 chrome/browser/infobars/infobar.h const gfx::SlideAnimation& animation() const { return animation_; } gfx 101 chrome/browser/infobars/infobar.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 105 chrome/browser/infobars/infobar.h gfx::SlideAnimation* animation() { return &animation_; } gfx 119 chrome/browser/infobars/infobar.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 135 chrome/browser/infobars/infobar.h gfx::SlideAnimation animation_; gfx 165 chrome/browser/infobars/infobar_container.cc const gfx::SlideAnimation& first_infobar_animation = gfx 104 chrome/browser/infobars/infobar_delegate.cc gfx::Image InfoBarDelegate::GetIcon() const { gfx 106 chrome/browser/infobars/infobar_delegate.cc return (icon_id == kNoIconID) ? gfx::Image() : gfx 29 chrome/browser/infobars/infobar_delegate.h namespace gfx { gfx 126 chrome/browser/infobars/infobar_delegate.h virtual gfx::Image GetIcon() const; gfx 74 chrome/browser/jumplist_win.cc gfx::ImageFamily image_family; gfx 75 chrome/browser/jumplist_win.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(bitmap)); gfx 403 chrome/browser/jumplist_win.cc gfx::kFaviconSize), gfx 19 chrome/browser/local_discovery/privet_http.h namespace gfx { gfx 153 chrome/browser/local_discovery/privet_http.h virtual void SetPageSize(const gfx::Size& page_size) = 0; gfx 575 chrome/browser/local_discovery/privet_http_impl.cc gfx::ElideString(base::UTF8ToUTF16(jobname_), gfx 677 chrome/browser/local_discovery/privet_http_impl.cc gfx::Rect area(std::min(page_size_.width(), page_size_.height()) * scale, gfx 813 chrome/browser/local_discovery/privet_http_impl.cc void PrivetLocalPrintOperationImpl::SetPageSize(const gfx::Size& page_size) { gfx 221 chrome/browser/local_discovery/privet_http_impl.h virtual void SetPageSize(const gfx::Size& page_size) OVERRIDE; gfx 271 chrome/browser/local_discovery/privet_http_impl.h gfx::Size page_size_; gfx 15 chrome/browser/local_discovery/pwg_raster_converter.h namespace gfx { gfx 68 chrome/browser/managed_mode/managed_user_theme.cc gfx::Image ManagedUserTheme::GetImageNamed(int id) { gfx 70 chrome/browser/managed_mode/managed_user_theme.cc return gfx::Image(); gfx 10 chrome/browser/managed_mode/managed_user_theme.h namespace gfx { gfx 22 chrome/browser/managed_mode/managed_user_theme.h virtual gfx::Image GetImageNamed(int id) OVERRIDE; gfx 30 chrome/browser/media/desktop_media_list.h gfx::ImageSkia thumbnail; gfx 43 chrome/browser/media/desktop_media_list.h virtual void SetThumbnailSize(const gfx::Size& thumbnail_size) = 0; gfx 59 chrome/browser/media/desktop_media_list_ash.cc const gfx::Size& thumbnail_size) { gfx 201 chrome/browser/media/desktop_media_list_ash.cc gfx::Rect window_rect(window->bounds().width(), window->bounds().height()); gfx 202 chrome/browser/media/desktop_media_list_ash.cc gfx::Rect scaled_rect = media::ComputeLetterboxRegion( gfx 203 chrome/browser/media/desktop_media_list_ash.cc gfx::Rect(thumbnail_size_), window_rect.size()); gfx 217 chrome/browser/media/desktop_media_list_ash.cc const gfx::Image& image) { gfx 26 chrome/browser/media/desktop_media_list_ash.h namespace gfx { gfx 44 chrome/browser/media/desktop_media_list_ash.h virtual void SetThumbnailSize(const gfx::Size& thumbnail_size) OVERRIDE; gfx 73 chrome/browser/media/desktop_media_list_ash.h const gfx::Image& image); gfx 81 chrome/browser/media/desktop_media_list_ash.h gfx::Size thumbnail_size_; gfx 35 chrome/browser/media/desktop_media_list_ash_unittest.cc list_->SetThumbnailSize(gfx::Size(kThumbnailSize, kThumbnailSize)); gfx 33 chrome/browser/media/desktop_media_picker.h virtual void Show(gfx::NativeWindow context, gfx 34 chrome/browser/media/desktop_media_picker.h gfx::NativeWindow parent, gfx 46 chrome/browser/media/fake_desktop_media_list.cc void FakeDesktopMediaList::SetThumbnailSize(const gfx::Size& thumbnail_size) {} gfx 58 chrome/browser/media/fake_desktop_media_list.cc thumbnail_ = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 25 chrome/browser/media/fake_desktop_media_list.h virtual void SetThumbnailSize(const gfx::Size& thumbnail_size) OVERRIDE; gfx 35 chrome/browser/media/fake_desktop_media_list.h gfx::ImageSkia thumbnail_; gfx 182 chrome/browser/media/media_stream_capture_indicator.cc virtual gfx::NativeViewId OnStarted(const base::Closure& close_callback) gfx 354 chrome/browser/media/media_stream_capture_indicator.cc gfx::ImageSkia image; gfx 449 chrome/browser/media/media_stream_capture_indicator.cc gfx::ImageSkia* image, gfx 22 chrome/browser/media/media_stream_capture_indicator.h namespace gfx { gfx 86 chrome/browser/media/media_stream_capture_indicator.h gfx::ImageSkia* image, gfx 94 chrome/browser/media/media_stream_capture_indicator.h gfx::ImageSkia* mic_image_; gfx 95 chrome/browser/media/media_stream_capture_indicator.h gfx::ImageSkia* camera_image_; gfx 42 chrome/browser/media/native_desktop_media_list.cc gfx::ImageSkia ScaleDesktopFrame(scoped_ptr<webrtc::DesktopFrame> frame, gfx 43 chrome/browser/media/native_desktop_media_list.cc gfx::Size size) { gfx 44 chrome/browser/media/native_desktop_media_list.cc gfx::Rect scaled_rect = media::ComputeLetterboxRegion( gfx 45 chrome/browser/media/native_desktop_media_list.cc gfx::Rect(0, 0, size.width(), size.height()), gfx 46 chrome/browser/media/native_desktop_media_list.cc gfx::Size(frame->size().width(), frame->size().height())); gfx 76 chrome/browser/media/native_desktop_media_list.cc return gfx::ImageSkia::CreateFrom1xBitmap(result); gfx 96 chrome/browser/media/native_desktop_media_list.cc void Refresh(const gfx::Size& thumbnail_size, gfx 134 chrome/browser/media/native_desktop_media_list.cc const gfx::Size& thumbnail_size, gfx 210 chrome/browser/media/native_desktop_media_list.cc gfx::ImageSkia thumbnail = gfx 262 chrome/browser/media/native_desktop_media_list.cc const gfx::Size& thumbnail_size) { gfx 361 chrome/browser/media/native_desktop_media_list.cc const gfx::ImageSkia& image) { gfx 35 chrome/browser/media/native_desktop_media_list.h virtual void SetThumbnailSize(const gfx::Size& thumbnail_size) OVERRIDE; gfx 66 chrome/browser/media/native_desktop_media_list.h void OnSourceThumbnail(int index, const gfx::ImageSkia& thumbnail); gfx 77 chrome/browser/media/native_desktop_media_list.h gfx::Size thumbnail_size_; gfx 485 chrome/browser/metrics/metrics_log.cc gfx::Size MetricsLog::GetScreenSize() const { gfx 486 chrome/browser/metrics/metrics_log.cc return gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().GetSizeInPixel(); gfx 490 chrome/browser/metrics/metrics_log.cc return gfx::Screen::GetNativeScreen()-> gfx 496 chrome/browser/metrics/metrics_log.cc return gfx::Screen::GetNativeScreen()->GetNumDisplays(); gfx 749 chrome/browser/metrics/metrics_log.cc const gfx::Size display_size = GetScreenSize(); gfx 133 chrome/browser/metrics/metrics_log.h virtual gfx::Size GetScreenSize() const; gfx 98 chrome/browser/metrics/metrics_log_chromeos.cc gfx::Display::TouchSupport has_touch = ui::GetInternalDisplayTouchSupport(); gfx 99 chrome/browser/metrics/metrics_log_chromeos.cc if (has_touch == gfx::Display::TOUCH_SUPPORT_AVAILABLE) gfx 101 chrome/browser/metrics/metrics_log_chromeos.cc else if (has_touch == gfx::Display::TOUCH_SUPPORT_UNAVAILABLE) gfx 184 chrome/browser/metrics/metrics_log_unittest.cc virtual gfx::Size GetScreenSize() const OVERRIDE { gfx 185 chrome/browser/metrics/metrics_log_unittest.cc return gfx::Size(kScreenWidth, kScreenHeight); gfx 69 chrome/browser/metrics/metrics_service_unittest.cc virtual gfx::Size GetScreenSize() const OVERRIDE { gfx 70 chrome/browser/metrics/metrics_service_unittest.cc return gfx::Size(1024, 768); gfx 118 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc gfx::NativeViewId target_surface) { gfx 158 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc base::StringPrintf("%dx%d*%f", width, height, gfx::GetModernUIScale()))); gfx 19 chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) OVERRIDE; gfx 29 chrome/browser/mouseleave_browsertest.cc gfx::Rect tab_view_bounds; gfx 32 chrome/browser/mouseleave_browsertest.cc gfx::Point in_content_point( gfx 35 chrome/browser/mouseleave_browsertest.cc gfx::Point above_content_point( gfx 92 chrome/browser/mouseleave_browsertest.cc gfx::Rect browser_bounds = browser()->window()->GetBounds(); gfx 18 chrome/browser/native_window_notification_source.h class Source<gfx::NativeWindow> : public content::NotificationSource { gfx 20 chrome/browser/native_window_notification_source.h explicit Source(gfx::NativeWindow wnd) : content::NotificationSource(wnd) {} gfx 25 chrome/browser/native_window_notification_source.h gfx::NativeWindow operator->() const { return ptr(); } gfx 26 chrome/browser/native_window_notification_source.h gfx::NativeWindow ptr() const { gfx 27 chrome/browser/native_window_notification_source.h return static_cast<gfx::NativeWindow>(const_cast<void*>(ptr_)); gfx 20 chrome/browser/net/client_hints.cc gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 33 chrome/browser/notifications/balloon.cc void Balloon::SetPosition(const gfx::Point& upper_left, bool reposition) { gfx 39 chrome/browser/notifications/balloon.cc void Balloon::ResizeDueToAutoResize(const gfx::Size& size) { gfx 40 chrome/browser/notifications/balloon.h virtual gfx::Size GetSize() const = 0; gfx 61 chrome/browser/notifications/balloon.h gfx::Point GetPosition() const { gfx 64 chrome/browser/notifications/balloon.h void SetPosition(const gfx::Point& upper_left, bool reposition); gfx 66 chrome/browser/notifications/balloon.h const gfx::Vector2d& offset() const { return offset_; } gfx 67 chrome/browser/notifications/balloon.h void set_offset(const gfx::Vector2d& offset) { offset_ = offset; } gfx 68 chrome/browser/notifications/balloon.h void add_offset(const gfx::Vector2d& offset) { offset_.Add(offset); } gfx 70 chrome/browser/notifications/balloon.h const gfx::Size& content_size() const { return content_size_; } gfx 71 chrome/browser/notifications/balloon.h void set_content_size(const gfx::Size& size) { content_size_ = size; } gfx 75 chrome/browser/notifications/balloon.h const gfx::Size& min_scrollbar_size() const { return min_scrollbar_size_; } gfx 76 chrome/browser/notifications/balloon.h void set_min_scrollbar_size(const gfx::Size& size) { gfx 83 chrome/browser/notifications/balloon.h void ResizeDueToAutoResize(const gfx::Size& size); gfx 92 chrome/browser/notifications/balloon.h gfx::Size GetViewSize() const { return balloon_view_->GetSize(); } gfx 130 chrome/browser/notifications/balloon.h gfx::Point position_; gfx 131 chrome/browser/notifications/balloon.h gfx::Size content_size_; gfx 135 chrome/browser/notifications/balloon.h gfx::Vector2d offset_; gfx 138 chrome/browser/notifications/balloon.h gfx::Size min_scrollbar_size_; gfx 20 chrome/browser/notifications/balloon_collection.h namespace gfx { gfx 78 chrome/browser/notifications/balloon_collection.h virtual void ResizeBalloon(Balloon* balloon, const gfx::Size& size) = 0; gfx 68 chrome/browser/notifications/balloon_collection_impl.cc new_balloon->set_min_scrollbar_size(gfx::Size(1 + layout_.max_balloon_width(), gfx 131 chrome/browser/notifications/balloon_collection_impl.cc const gfx::Size& size) { gfx 148 chrome/browser/notifications/balloon_collection_impl.cc gfx::Vector2d offset; gfx 191 chrome/browser/notifications/balloon_collection_impl.cc gfx::Rect bounds; gfx 209 chrome/browser/notifications/balloon_collection_impl.cc gfx::Point origin = layout_.GetLayoutOrigin(); gfx 213 chrome/browser/notifications/balloon_collection_impl.cc gfx::Point upper_left = layout_.NextPosition((*it)->GetViewSize(), &origin); gfx 218 chrome/browser/notifications/balloon_collection_impl.cc gfx::Rect BalloonCollectionImpl::GetBalloonsBoundingBox() const { gfx 220 chrome/browser/notifications/balloon_collection_impl.cc gfx::Rect bounds = gfx::Rect(layout_.GetLayoutOrigin(), gfx::Size(0, 0)); gfx 227 chrome/browser/notifications/balloon_collection_impl.cc gfx::Rect balloon_box = gfx::Rect((*iter)->GetPosition(), gfx 260 chrome/browser/notifications/balloon_collection_impl.cc (*it)->set_offset(gfx::Vector2d()); gfx 299 chrome/browser/notifications/balloon_collection_impl.cc gfx::Point BalloonCollectionImpl::Layout::GetLayoutOrigin() const { gfx 329 chrome/browser/notifications/balloon_collection_impl.cc return gfx::Point(x, y); gfx 332 chrome/browser/notifications/balloon_collection_impl.cc gfx::Point BalloonCollectionImpl::Layout::NextPosition( gfx 333 chrome/browser/notifications/balloon_collection_impl.cc const gfx::Size& balloon_size, gfx 334 chrome/browser/notifications/balloon_collection_impl.cc gfx::Point* position_iterator) const { gfx 368 chrome/browser/notifications/balloon_collection_impl.cc return gfx::Point(x, y); gfx 371 chrome/browser/notifications/balloon_collection_impl.cc gfx::Point BalloonCollectionImpl::Layout::OffScreenLocation() const { gfx 372 chrome/browser/notifications/balloon_collection_impl.cc gfx::Point location = GetLayoutOrigin(); gfx 406 chrome/browser/notifications/balloon_collection_impl.cc gfx::Size BalloonCollectionImpl::Layout::ConstrainToSizeLimits( gfx 407 chrome/browser/notifications/balloon_collection_impl.cc const gfx::Size& size) { gfx 409 chrome/browser/notifications/balloon_collection_impl.cc return gfx::Size( gfx 474 chrome/browser/notifications/balloon_collection_impl.cc gfx::Rect new_work_area = GetMacWorkArea(); gfx 477 chrome/browser/notifications/balloon_collection_impl.cc gfx::Rect new_work_area = gfx 478 chrome/browser/notifications/balloon_collection_impl.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().work_area(); gfx 55 chrome/browser/notifications/balloon_collection_impl.h virtual void ResizeBalloon(Balloon* balloon, const gfx::Size& size) OVERRIDE; gfx 112 chrome/browser/notifications/balloon_collection_impl.h static gfx::Size ConstrainToSizeLimits(const gfx::Size& rect); gfx 131 chrome/browser/notifications/balloon_collection_impl.h gfx::Point GetLayoutOrigin() const; gfx 137 chrome/browser/notifications/balloon_collection_impl.h gfx::Point NextPosition(const gfx::Size& balloon_size, gfx 138 chrome/browser/notifications/balloon_collection_impl.h gfx::Point* position_iterator) const; gfx 142 chrome/browser/notifications/balloon_collection_impl.h gfx::Point OffScreenLocation() const; gfx 172 chrome/browser/notifications/balloon_collection_impl.h gfx::Rect work_area_; gfx 198 chrome/browser/notifications/balloon_collection_impl.h gfx::Rect GetBalloonsBoundingBox() const; gfx 213 chrome/browser/notifications/balloon_collection_impl.h static gfx::Rect GetMacWorkArea(); gfx 81 chrome/browser/notifications/balloon_host.cc const gfx::Size& pref_size) { gfx 89 chrome/browser/notifications/balloon_host.cc const gfx::Rect& initial_pos, gfx 102 chrome/browser/notifications/balloon_host.cc gfx::Size min_size(BalloonCollectionImpl::min_balloon_width(), gfx 104 chrome/browser/notifications/balloon_host.cc gfx::Size max_size(BalloonCollectionImpl::max_balloon_width(), gfx 62 chrome/browser/notifications/balloon_host.h const gfx::Size& pref_size) OVERRIDE; gfx 66 chrome/browser/notifications/balloon_host.h const gfx::Rect& initial_pos, gfx 418 chrome/browser/notifications/desktop_notification_service.cc const gfx::Image& icon, gfx 39 chrome/browser/notifications/desktop_notification_service.h namespace gfx { gfx 125 chrome/browser/notifications/desktop_notification_service.h const gfx::Image& icon, gfx 491 chrome/browser/notifications/desktop_notifications_unittest.cc gfx::Rect box = balloon_collection_->GetBalloonsBoundingBox(); gfx 507 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_TRUE(box.Contains(gfx::Point(min_x, min_y))); gfx 508 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_TRUE(box.Contains(gfx::Point(min_x, max_y))); gfx 509 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_TRUE(box.Contains(gfx::Point(max_x, min_y))); gfx 510 chrome/browser/notifications/desktop_notifications_unittest.cc EXPECT_TRUE(box.Contains(gfx::Point(max_x, max_y))); gfx 69 chrome/browser/notifications/desktop_notifications_unittest.h gfx::Rect GetBalloonsBoundingBox() { gfx 238 chrome/browser/notifications/extension_welcome_notification_unittest.cc gfx::Image(), gfx 27 chrome/browser/notifications/fake_balloon_view.cc gfx::Size FakeBalloonView::GetSize() const { gfx 25 chrome/browser/notifications/fake_balloon_view.h virtual gfx::Size GetSize() const OVERRIDE; gfx 350 chrome/browser/notifications/message_center_notification_manager.cc const gfx::Image* image, gfx 394 chrome/browser/notifications/message_center_notification_manager.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 399 chrome/browser/notifications/message_center_notification_manager.cc gfx::Image image = gfx::Image::CreateFrom1xBitmap(bitmaps[0]); gfx 103 chrome/browser/notifications/message_center_notification_manager.h typedef base::Callback<void(const gfx::Image&)> SetImageCallback; gfx 114 chrome/browser/notifications/message_center_notification_manager.h const gfx::Image* image, gfx 128 chrome/browser/notifications/message_center_notification_manager.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 138 chrome/browser/notifications/message_center_notifications_browsertest.cc gfx::Image(), gfx 55 chrome/browser/notifications/message_center_settings_controller.cc ProfileNotifierGroup(const gfx::Image& icon, gfx 60 chrome/browser/notifications/message_center_settings_controller.cc ProfileNotifierGroup(const gfx::Image& icon, gfx 73 chrome/browser/notifications/message_center_settings_controller.cc ProfileNotifierGroup::ProfileNotifierGroup(const gfx::Image& icon, gfx 85 chrome/browser/notifications/message_center_settings_controller.cc ProfileNotifierGroup::ProfileNotifierGroup(const gfx::Image& icon, gfx 442 chrome/browser/notifications/message_center_settings_controller.cc const gfx::ImageSkia& image) { gfx 446 chrome/browser/notifications/message_center_settings_controller.cc gfx::Image(image))); gfx 481 chrome/browser/notifications/message_center_settings_controller.cc gfx::Image(user->image()), gfx 87 chrome/browser/notifications/message_center_settings_controller.h const gfx::ImageSkia& image) OVERRIDE; gfx 21 chrome/browser/notifications/notification.cc gfx::Image(), gfx 44 chrome/browser/notifications/notification.cc gfx::Image(), gfx 64 chrome/browser/notifications/notification.cc const gfx::Image& icon, gfx 97 chrome/browser/notifications/notification.cc const gfx::Image& icon, gfx 48 chrome/browser/notifications/notification.h const gfx::Image& icon, gfx 61 chrome/browser/notifications/notification.h const gfx::Image& icon, gfx 773 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc gfx::Image notification_app_icon = synced_notification->GetAppIcon(); gfx 80 chrome/browser/notifications/sync_notifier/image_holder.cc image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 1.0)); gfx 84 chrome/browser/notifications/sync_notifier/image_holder.cc image_.AddRepresentation(gfx::ImageSkiaRep(*bitmap, 2.0)); gfx 48 chrome/browser/notifications/sync_notifier/image_holder.h gfx::Image low_dpi_image() { return gfx::Image(image_); } gfx 58 chrome/browser/notifications/sync_notifier/image_holder.h gfx::ImageSkia image_; gfx 188 chrome/browser/notifications/sync_notifier/synced_notification.cc gfx::Image small_image = gfx 189 chrome/browser/notifications/sync_notifier/synced_notification.cc gfx::Image(gfx::ImageSkia(gfx::ImageSkiaRep(grayscale, 1.0f))); gfx 203 chrome/browser/notifications/sync_notifier/synced_notification.cc gfx::Image icon_bitmap = app_icon_bitmap_; gfx 282 chrome/browser/notifications/sync_notifier/synced_notification.cc button_bitmaps_.push_back(gfx::Image()); gfx 643 chrome/browser/notifications/sync_notifier/synced_notification.cc const gfx::Image& SyncedNotification::GetAppIcon() const { gfx 672 chrome/browser/notifications/sync_notifier/synced_notification.cc gfx::Image downloaded_image; gfx 674 chrome/browser/notifications/sync_notifier/synced_notification.cc downloaded_image = gfx::Image::CreateFrom1xBitmap(*bitmap); gfx 698 chrome/browser/notifications/sync_notifier/synced_notification.cc button_bitmaps_[i] = gfx::Image::CreateFrom1xBitmap(*bitmap); gfx 111 chrome/browser/notifications/sync_notifier/synced_notification.h const gfx::Image& GetAppIcon() const; gfx 142 chrome/browser/notifications/sync_notifier/synced_notification.h gfx::Image app_icon_bitmap_; gfx 143 chrome/browser/notifications/sync_notifier/synced_notification.h gfx::Image sender_bitmap_; gfx 144 chrome/browser/notifications/sync_notifier/synced_notification.h gfx::Image image_bitmap_; gfx 145 chrome/browser/notifications/sync_notifier/synced_notification.h std::vector<gfx::Image> button_bitmaps_; gfx 86 chrome/browser/notifications/sync_notifier/synced_notification_app_info.cc gfx::Image SyncedNotificationAppInfo::icon() { gfx 90 chrome/browser/notifications/sync_notifier/synced_notification_app_info.cc return gfx::Image(); gfx 78 chrome/browser/notifications/sync_notifier/synced_notification_app_info.h gfx::Image icon(); gfx 26 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.cc gfx::Image settings_icon_param, gfx 32 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h gfx::Image settings_icon, gfx 35 chrome/browser/notifications/sync_notifier/synced_notification_app_info_service.h gfx::Image settings_icon; gfx 82 chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc notification->button_bitmaps_.push_back(gfx::Image()); gfx 51 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc gfx::Image(), gfx 83 chrome/browser/notifications/sync_notifier/welcome_delegate_unittest.cc gfx::Image(), gfx 203 chrome/browser/password_manager/chrome_password_manager_client.cc gfx::RectF ChromePasswordManagerClient::GetBoundsInScreenSpace( gfx 204 chrome/browser/password_manager/chrome_password_manager_client.cc const gfx::RectF& bounds) { gfx 205 chrome/browser/password_manager/chrome_password_manager_client.cc gfx::Rect client_area; gfx 211 chrome/browser/password_manager/chrome_password_manager_client.cc const gfx::RectF& bounds, gfx 218 chrome/browser/password_manager/chrome_password_manager_client.cc gfx::RectF element_bounds_in_screen_space = GetBoundsInScreenSpace(bounds); gfx 235 chrome/browser/password_manager/chrome_password_manager_client.cc const gfx::RectF& bounds, gfx 239 chrome/browser/password_manager/chrome_password_manager_client.cc gfx::RectF element_bounds_in_screen_space = GetBoundsInScreenSpace(bounds); gfx 83 chrome/browser/password_manager/chrome_password_manager_client.h gfx::RectF GetBoundsInScreenSpace(const gfx::RectF& bounds); gfx 88 chrome/browser/password_manager/chrome_password_manager_client.h void ShowPasswordGenerationPopup(const gfx::RectF& bounds, gfx 94 chrome/browser/password_manager/chrome_password_manager_client.h const gfx::RectF& bounds, const autofill::PasswordForm& form); gfx 29 chrome/browser/password_manager/password_manager_util.h bool AuthenticateUser(gfx::NativeWindow window); gfx 9 chrome/browser/password_manager/password_manager_util_android.cc bool AuthenticateUser(gfx::NativeWindow window) { gfx 9 chrome/browser/password_manager/password_manager_util_linux.cc bool AuthenticateUser(gfx::NativeWindow window) { gfx 146 chrome/browser/password_manager/password_manager_util_win.cc bool AuthenticateUser(gfx::NativeWindow window) { gfx 38 chrome/browser/platform_util.h gfx::NativeWindow GetTopLevel(gfx::NativeView view); gfx 41 chrome/browser/platform_util.h gfx::NativeView GetParent(gfx::NativeView view); gfx 44 chrome/browser/platform_util.h bool IsWindowActive(gfx::NativeWindow window); gfx 47 chrome/browser/platform_util.h void ActivateWindow(gfx::NativeWindow window); gfx 52 chrome/browser/platform_util.h bool IsVisible(gfx::NativeView view); gfx 25 chrome/browser/platform_util_android.cc gfx::NativeWindow GetTopLevel(gfx::NativeView view) { gfx 30 chrome/browser/platform_util_android.cc gfx::NativeView GetParent(gfx::NativeView view) { gfx 35 chrome/browser/platform_util_android.cc bool IsWindowActive(gfx::NativeWindow window) { gfx 40 chrome/browser/platform_util_android.cc void ActivateWindow(gfx::NativeWindow window) { gfx 44 chrome/browser/platform_util_android.cc bool IsVisible(gfx::NativeView view) { gfx 16 chrome/browser/platform_util_aura.cc gfx::NativeWindow GetTopLevel(gfx::NativeView view) { gfx 20 chrome/browser/platform_util_aura.cc gfx::NativeView GetParent(gfx::NativeView view) { gfx 24 chrome/browser/platform_util_aura.cc bool IsWindowActive(gfx::NativeWindow window) { gfx 33 chrome/browser/platform_util_aura.cc void ActivateWindow(gfx::NativeWindow window) { gfx 41 chrome/browser/platform_util_aura.cc bool IsVisible(gfx::NativeView view) { gfx 11 chrome/browser/platform_util_common_linux.cc gfx::NativeWindow GetTopLevel(gfx::NativeView view) { gfx 18 chrome/browser/platform_util_common_linux.cc gfx::NativeView GetParent(gfx::NativeView view) { gfx 22 chrome/browser/platform_util_common_linux.cc bool IsWindowActive(gfx::NativeWindow window) { gfx 26 chrome/browser/platform_util_common_linux.cc void ActivateWindow(gfx::NativeWindow window) { gfx 30 chrome/browser/platform_util_common_linux.cc bool IsVisible(gfx::NativeView view) { gfx 202 chrome/browser/platform_util_win.cc gfx::NativeWindow GetTopLevel(gfx::NativeView view) { gfx 206 chrome/browser/platform_util_win.cc gfx::NativeView GetParent(gfx::NativeView view) { gfx 210 chrome/browser/platform_util_win.cc bool IsWindowActive(gfx::NativeWindow window) { gfx 214 chrome/browser/platform_util_win.cc void ActivateWindow(gfx::NativeWindow window) { gfx 218 chrome/browser/platform_util_win.cc bool IsVisible(gfx::NativeView view) { gfx 142 chrome/browser/predictors/autocomplete_action_predictor.cc const gfx::Size& size) { gfx 34 chrome/browser/predictors/autocomplete_action_predictor.h namespace gfx { gfx 102 chrome/browser/predictors/autocomplete_action_predictor.h const gfx::Size& size); gfx 35 chrome/browser/prefs/pref_service_browsertest.cc browser()->window()->SetBounds(gfx::Rect(20, 30, 400, 500)); gfx 52 chrome/browser/prefs/pref_service_browsertest.cc gfx::Rect bounds = browser()->window()->GetBounds(); gfx 53 chrome/browser/prefs/pref_service_browsertest.cc gfx::Rect expected_bounds(gfx::Rect(20, 30, 400, 500)); gfx 140 chrome/browser/prefs/pref_service_browsertest.cc gfx::Rect bounds = browser()->window()->GetRestoredBounds(); gfx 198 chrome/browser/prefs/pref_service_browsertest.cc gfx::Rect bounds = browser()->window()->GetRestoredBounds(); gfx 57 chrome/browser/prerender/external_prerender_handler_android.cc gfx::Size(width, height))); gfx 3694 chrome/browser/prerender/prerender_browsertest.cc web_contents->IncrementCapturerCount(gfx::Size()); gfx 51 chrome/browser/prerender/prerender_config.h gfx::Rect default_tab_bounds; gfx 184 chrome/browser/prerender/prerender_contents.cc virtual gfx::Size GetSizeForNewRenderView( gfx 290 chrome/browser/prerender/prerender_contents.cc const gfx::Size& size, gfx 153 chrome/browser/prerender/prerender_contents.h const gfx::Size& size, gfx 451 chrome/browser/prerender/prerender_contents.h gfx::Size size_; gfx 163 chrome/browser/prerender/prerender_link_manager.cc const gfx::Size& size, gfx 252 chrome/browser/prerender/prerender_link_manager.cc const gfx::Size& size, gfx 23 chrome/browser/prerender/prerender_link_manager.h namespace gfx { gfx 52 chrome/browser/prerender/prerender_link_manager.h const gfx::Size& size, gfx 81 chrome/browser/prerender/prerender_link_manager.h const gfx::Size& size, gfx 93 chrome/browser/prerender/prerender_link_manager.h gfx::Size size; gfx 94 chrome/browser/prerender/prerender_local_predictor.cc scoped_ptr<gfx::Size> size_; gfx 603 chrome/browser/prerender/prerender_local_predictor.cc gfx::Rect container_bounds; gfx 605 chrome/browser/prerender/prerender_local_predictor.cc info->size_.reset(new gfx::Size(container_bounds.size())); gfx 31 chrome/browser/prerender/prerender_local_predictor.h namespace gfx { gfx 328 chrome/browser/prerender/prerender_manager.cc const gfx::Size& size) { gfx 360 chrome/browser/prerender/prerender_manager.cc const gfx::Size& size) { gfx 370 chrome/browser/prerender/prerender_manager.cc const gfx::Size& size) { gfx 379 chrome/browser/prerender/prerender_manager.cc const gfx::Size& size) { gfx 387 chrome/browser/prerender/prerender_manager.cc const gfx::Size& size) { gfx 1227 chrome/browser/prerender/prerender_manager.cc const gfx::Size& size, gfx 1306 chrome/browser/prerender/prerender_manager.cc gfx::Size contents_size = gfx 56 chrome/browser/prerender/prerender_manager.h namespace gfx { gfx 128 chrome/browser/prerender/prerender_manager.h const gfx::Size& size); gfx 139 chrome/browser/prerender/prerender_manager.h const gfx::Size& size); gfx 144 chrome/browser/prerender/prerender_manager.h const gfx::Size& size); gfx 150 chrome/browser/prerender/prerender_manager.h const gfx::Size& size); gfx 159 chrome/browser/prerender/prerender_manager.h const gfx::Size& size); gfx 542 chrome/browser/prerender/prerender_manager.h const gfx::Size& size, gfx 78 chrome/browser/prerender/prerender_message_filter.cc const gfx::Size& size, gfx 19 chrome/browser/prerender/prerender_message_filter.h namespace gfx { gfx 47 chrome/browser/prerender/prerender_message_filter.h const gfx::Size& size, gfx 54 chrome/browser/prerender/prerender_unittest.cc const gfx::Size& ALLOW_UNUSED size, gfx 86 chrome/browser/prerender/prerender_unittest.cc const gfx::Size kSize(640, 480); gfx 298 chrome/browser/prerender/prerender_unittest.cc const gfx::Size& ALLOW_UNUSED size, gfx 1027 chrome/browser/prerender/prerender_unittest.cc GURL("http://www.example.com"), NULL, gfx::Size())); gfx 1541 chrome/browser/prerender/prerender_unittest.cc GURL("http://www.example.com/instant_search"), NULL, gfx::Size())); gfx 443 chrome/browser/printing/print_dialog_cloud.cc default_settings.content_size = gfx::Size(kWidth, kHeight); gfx 444 chrome/browser/printing/print_dialog_cloud.cc default_settings.printable_area = gfx::Rect(0, 0, kWidth, kHeight); gfx 470 chrome/browser/printing/print_dialog_cloud.cc gfx::Size size = web_ui()->GetWebContents()->GetView()->GetContainerSize(); gfx 487 chrome/browser/printing/print_dialog_cloud.cc gfx::NativeWindow modal_parent, gfx 577 chrome/browser/printing/print_dialog_cloud.cc void CloudPrintWebDialogDelegate::GetDialogSize(gfx::Size* size) const { gfx 618 chrome/browser/printing/print_dialog_cloud.cc gfx::NativeWindow modal_parent, gfx 629 chrome/browser/printing/print_dialog_cloud.cc gfx::NativeWindow window = gfx 650 chrome/browser/printing/print_dialog_cloud.cc gfx::NativeWindow modal_parent, gfx 697 chrome/browser/printing/print_dialog_cloud.cc gfx::NativeWindow modal_parent, gfx 728 chrome/browser/printing/print_dialog_cloud.cc gfx::NativeWindow modal_parent, gfx 42 chrome/browser/printing/print_dialog_cloud.h gfx::NativeWindow modal_parent, gfx 54 chrome/browser/printing/print_dialog_cloud.h gfx::NativeWindow modal_parent, gfx 149 chrome/browser/printing/print_dialog_cloud_internal.h gfx::NativeWindow modal_parent, gfx 163 chrome/browser/printing/print_dialog_cloud_internal.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 182 chrome/browser/printing/print_dialog_cloud_internal.h gfx::NativeWindow modal_parent_; gfx 193 chrome/browser/printing/print_dialog_cloud_internal.h gfx::NativeWindow modal_parent, gfx 110 chrome/browser/printing/print_dialog_cloud_unittest.cc void(gfx::Size* size)); gfx 230 chrome/browser/printing/print_dialog_gtk.cc gfx::NativeView parent_view, gfx 41 chrome/browser/printing/print_dialog_gtk.h gfx::NativeView parent_view, gfx 183 chrome/browser/printing/print_job_worker.cc gfx::NativeView parent_view = web_contents_observer->GetParentView(); gfx 86 chrome/browser/printing/print_preview_dialog_controller.cc virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 126 chrome/browser/printing/print_preview_dialog_controller.cc void PrintPreviewDialogDelegate::GetDialogSize(gfx::Size* size) const { gfx 128 chrome/browser/printing/print_preview_dialog_controller.cc const gfx::Size kMinDialogSize(800, 480); gfx 148 chrome/browser/printing/print_preview_dialog_controller.cc const gfx::Size kMaxDialogSize(1000, 660); gfx 174 chrome/browser/printing/print_preview_message_handler.cc const gfx::Rect& printable_area_in_points, gfx 22 chrome/browser/printing/print_preview_message_handler.h namespace gfx { gfx 56 chrome/browser/printing/print_preview_message_handler.h const gfx::Rect& printable_area_in_points, gfx 40 chrome/browser/printing/print_preview_test.cc virtual gfx::NativeView GetHostView() const OVERRIDE { gfx 45 chrome/browser/printing/print_preview_test.cc virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE { gfx 46 chrome/browser/printing/print_preview_test.cc return gfx::Point(); gfx 49 chrome/browser/printing/print_preview_test.cc virtual gfx::Size GetMaximumDialogSize() OVERRIDE { gfx 50 chrome/browser/printing/print_preview_test.cc return gfx::Size(); gfx 16 chrome/browser/printing/printing_gtk_util.cc gfx::Size GetPdfPaperSizeDeviceUnitsGtk( gfx 20 chrome/browser/printing/printing_gtk_util.cc gfx::SizeF paper_size( gfx 28 chrome/browser/printing/printing_gtk_util.cc return gfx::Size( gfx 19 chrome/browser/printing/printing_gtk_util.h gfx::Size GetPdfPaperSizeDeviceUnitsGtk( gfx 17 chrome/browser/printing/printing_ui_web_contents_observer.cc gfx::NativeView PrintingUIWebContentsObserver::GetParentView() { gfx 19 chrome/browser/printing/printing_ui_web_contents_observer.h gfx::NativeView GetParentView(); gfx 19 chrome/browser/process_singleton_modal_dialog_lock.cc void DoSetForegroundWindow(gfx::NativeWindow /* target_window */) { gfx 46 chrome/browser/process_singleton_modal_dialog_lock.cc gfx::NativeWindow active_dialog) { gfx 33 chrome/browser/process_singleton_modal_dialog_lock.h typedef base::Callback<void(gfx::NativeWindow)> SetForegroundWindowHandler; gfx 45 chrome/browser/process_singleton_modal_dialog_lock.h void SetActiveModalDialog(gfx::NativeWindow active_dialog); gfx 56 chrome/browser/process_singleton_modal_dialog_lock.h gfx::NativeWindow active_dialog_; gfx 73 chrome/browser/profiles/avatar_menu.cc const gfx::Image& icon) gfx 202 chrome/browser/profiles/avatar_menu.cc const gfx::Image& AvatarMenu::GetManagedUserIcon() const { gfx 38 chrome/browser/profiles/avatar_menu.h Item(size_t menu_index, size_t profile_index, const gfx::Image& icon); gfx 42 chrome/browser/profiles/avatar_menu.h gfx::Image icon; gfx 88 chrome/browser/profiles/avatar_menu.h gfx::Image* image, gfx 127 chrome/browser/profiles/avatar_menu.h const gfx::Image& GetManagedUserIcon() const; gfx 14 chrome/browser/profiles/avatar_menu_desktop.cc gfx::Image* image, gfx 130 chrome/browser/profiles/gaia_info_update_service.cc gfx::Image gfx_image = gfx::Image::CreateFrom1xBitmap(bitmap); gfx 102 chrome/browser/profiles/gaia_info_update_service_unittest.cc gfx::Image image = gfx::test::CreateImage(); gfx 119 chrome/browser/profiles/gaia_info_update_service_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 121 chrome/browser/profiles/gaia_info_update_service_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 129 chrome/browser/profiles/gaia_info_update_service_unittest.cc gfx::Image old_image = GetCache()->GetAvatarIconOfProfileAtIndex(index); gfx 139 chrome/browser/profiles/gaia_info_update_service_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 168 chrome/browser/profiles/gaia_info_update_service_unittest.cc gfx::Image gaia_picture = gfx::test::CreateImage(); gfx 183 chrome/browser/profiles/profile_info_cache.cc gfx::Image** out_image) { gfx 197 chrome/browser/profiles/profile_info_cache.cc gfx::Image image = gfx::Image::CreateFrom1xPNGBytes( gfx 204 chrome/browser/profiles/profile_info_cache.cc *out_image = new gfx::Image(image); gfx 394 chrome/browser/profiles/profile_info_cache.cc const gfx::Image& ProfileInfoCache::GetAvatarIconOfProfileAtIndex( gfx 397 chrome/browser/profiles/profile_info_cache.cc const gfx::Image* image = GetGAIAPictureOfProfileAtIndex(index); gfx 404 chrome/browser/profiles/profile_info_cache.cc const gfx::Image* image = GetHighResAvatarOfProfileAtIndex(index); gfx 445 chrome/browser/profiles/profile_info_cache.cc const gfx::Image* ProfileInfoCache::GetGAIAPictureOfProfileAtIndex( gfx 462 chrome/browser/profiles/profile_info_cache.cc const gfx::Image* ProfileInfoCache::GetHighResAvatarOfProfileAtIndex( gfx 474 chrome/browser/profiles/profile_info_cache.cc const gfx::Image* ProfileInfoCache::LoadAvatarPictureFromPath( gfx 489 chrome/browser/profiles/profile_info_cache.cc gfx::Image** image = new gfx::Image*; gfx 534 chrome/browser/profiles/profile_info_cache.cc gfx::Image** image) const { gfx 544 chrome/browser/profiles/profile_info_cache.cc cached_avatar_images_[key] = new gfx::Image(); gfx 736 chrome/browser/profiles/profile_info_cache.cc const gfx::Image* image) { gfx 741 chrome/browser/profiles/profile_info_cache.cc std::map<std::string, gfx::Image*>::iterator it = gfx 762 chrome/browser/profiles/profile_info_cache.cc cached_avatar_images_[key] = new gfx::Image(*image); gfx 21 chrome/browser/profiles/profile_info_cache.h namespace gfx { gfx 67 chrome/browser/profiles/profile_info_cache.h virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( gfx 83 chrome/browser/profiles/profile_info_cache.h virtual const gfx::Image* GetGAIAPictureOfProfileAtIndex( gfx 113 chrome/browser/profiles/profile_info_cache.h void SetGAIAPictureOfProfileAtIndex(size_t index, const gfx::Image* image); gfx 182 chrome/browser/profiles/profile_info_cache.h const gfx::Image* GetHighResAvatarOfProfileAtIndex(size_t index) const; gfx 184 chrome/browser/profiles/profile_info_cache.h const gfx::Image* LoadAvatarPictureFromPath( gfx 188 chrome/browser/profiles/profile_info_cache.h gfx::Image** image) const; gfx 199 chrome/browser/profiles/profile_info_cache.h mutable std::map<std::string, gfx::Image*> cached_avatar_images_; gfx 355 chrome/browser/profiles/profile_info_cache_unittest.cc const gfx::Image& profile_image( gfx 357 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 361 chrome/browser/profiles/profile_info_cache_unittest.cc gfx::Image gaia_image(gfx::test::CreateImage()); gfx 364 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 366 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 371 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 373 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 378 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 380 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 388 chrome/browser/profiles/profile_info_cache_unittest.cc gfx::Image gaia_image(gfx::test::CreateImage()); gfx 394 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 408 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 433 chrome/browser/profiles/profile_info_cache_unittest.cc const gfx::Image& profile_image( gfx 447 chrome/browser/profiles/profile_info_cache_unittest.cc EXPECT_TRUE(gfx::test::IsEqual( gfx 15 chrome/browser/profiles/profile_info_interface.h namespace gfx { gfx 40 chrome/browser/profiles/profile_info_interface.h virtual const gfx::Image& GetAvatarIconOfProfileAtIndex( gfx 56 chrome/browser/profiles/profile_info_interface.h virtual const gfx::Image* GetGAIAPictureOfProfileAtIndex( gfx 21 chrome/browser/profiles/profile_info_util.cc int GetScaledAvatarHeightForWidth(int width, const gfx::ImageSkia& avatar) { gfx 32 chrome/browser/profiles/profile_info_util.cc class AvatarImageSource : public gfx::CanvasImageSource { gfx 45 chrome/browser/profiles/profile_info_util.cc AvatarImageSource(gfx::ImageSkia avatar, gfx 46 chrome/browser/profiles/profile_info_util.cc const gfx::Size& canvas_size, gfx 53 chrome/browser/profiles/profile_info_util.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE; gfx 56 chrome/browser/profiles/profile_info_util.cc gfx::ImageSkia avatar_; gfx 57 chrome/browser/profiles/profile_info_util.cc const gfx::Size canvas_size_; gfx 66 chrome/browser/profiles/profile_info_util.cc AvatarImageSource::AvatarImageSource(gfx::ImageSkia avatar, gfx 67 chrome/browser/profiles/profile_info_util.cc const gfx::Size& canvas_size, gfx 71 chrome/browser/profiles/profile_info_util.cc : gfx::CanvasImageSource(canvas_size, false), gfx 78 chrome/browser/profiles/profile_info_util.cc avatar_ = gfx::ImageSkiaOperations::CreateResizedImage( gfx 80 chrome/browser/profiles/profile_info_util.cc gfx::Size(width_, height_)); gfx 86 chrome/browser/profiles/profile_info_util.cc void AvatarImageSource::Draw(gfx::Canvas* canvas) { gfx 177 chrome/browser/profiles/profile_info_util.cc gfx::Image GetSizedAvatarIconWithBorder(const gfx::Image& image, gfx 183 chrome/browser/profiles/profile_info_util.cc gfx::Size size(width, height); gfx 186 chrome/browser/profiles/profile_info_util.cc scoped_ptr<gfx::ImageSkiaSource> source( gfx 194 chrome/browser/profiles/profile_info_util.cc return gfx::Image(gfx::ImageSkia(source.release(), size)); gfx 197 chrome/browser/profiles/profile_info_util.cc gfx::Image GetAvatarIconForMenu(const gfx::Image& image, gfx 203 chrome/browser/profiles/profile_info_util.cc gfx::Image GetAvatarIconForWebUI(const gfx::Image& image, gfx 208 chrome/browser/profiles/profile_info_util.cc gfx::Size size(kAvatarIconWidth, kAvatarIconHeight); gfx 211 chrome/browser/profiles/profile_info_util.cc scoped_ptr<gfx::ImageSkiaSource> source( gfx 219 chrome/browser/profiles/profile_info_util.cc return gfx::Image(gfx::ImageSkia(source.release(), size)); gfx 222 chrome/browser/profiles/profile_info_util.cc gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image, gfx 231 chrome/browser/profiles/profile_info_util.cc gfx::Size dst_size(dst_width, dst_height); gfx 235 chrome/browser/profiles/profile_info_util.cc scoped_ptr<gfx::ImageSkiaSource> source( gfx 243 chrome/browser/profiles/profile_info_util.cc return gfx::Image(gfx::ImageSkia(source.release(), dst_size)); gfx 19 chrome/browser/profiles/profile_info_util.h gfx::Image GetSizedAvatarIconWithBorder(const gfx::Image& image, gfx 24 chrome/browser/profiles/profile_info_util.h gfx::Image GetAvatarIconForMenu(const gfx::Image& image, gfx 28 chrome/browser/profiles/profile_info_util.h gfx::Image GetAvatarIconForWebUI(const gfx::Image& image, gfx 33 chrome/browser/profiles/profile_info_util.h gfx::Image GetAvatarIconForTitleBar(const gfx::Image& image, gfx 20 chrome/browser/profiles/profile_info_util_unittest.cc void VerifyScaling(gfx::Image& image, gfx::Size& size) { gfx 21 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Size canvas_size(100, 100); gfx 22 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Canvas canvas(canvas_size, 1.0f, false); gfx 23 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Canvas canvas2(canvas_size, 2.0f, false); gfx 25 chrome/browser/profiles/profile_info_util_unittest.cc ASSERT_FALSE(gfx::test::IsEmpty(image)); gfx 28 chrome/browser/profiles/profile_info_util_unittest.cc gfx::ImageSkia image_skia = *image.ToImageSkia(); gfx 38 chrome/browser/profiles/profile_info_util_unittest.cc const gfx::Image& profile_image( gfx 40 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result = gfx 43 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_FALSE(gfx::test::IsEmpty(result)); gfx 44 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_TRUE(gfx::test::IsEqual(profile_image, result)); gfx 47 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image rect_picture(gfx::test::CreateImage()); gfx 49 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Size size(30, 20); gfx 50 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result2 = gfx 59 chrome/browser/profiles/profile_info_util_unittest.cc const gfx::Image& profile_image( gfx 61 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result = profiles::GetAvatarIconForMenu(profile_image, false); gfx 62 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_FALSE(gfx::test::IsEmpty(result)); gfx 63 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_TRUE(gfx::test::IsEqual(profile_image, result)); gfx 66 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image rect_picture(gfx::test::CreateImage()); gfx 67 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Size size(profiles::kAvatarIconWidth, profiles::kAvatarIconHeight); gfx 68 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result2 = profiles::GetAvatarIconForMenu(rect_picture, true); gfx 75 chrome/browser/profiles/profile_info_util_unittest.cc const gfx::Image& profile_image( gfx 77 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result = profiles::GetAvatarIconForWebUI(profile_image, false); gfx 78 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_FALSE(gfx::test::IsEmpty(result)); gfx 79 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_TRUE(gfx::test::IsEqual(profile_image, result)); gfx 82 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image rect_picture(gfx::test::CreateImage()); gfx 83 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Size size(profiles::kAvatarIconWidth, profiles::kAvatarIconHeight); gfx 84 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result2 = profiles::GetAvatarIconForWebUI(rect_picture, true); gfx 94 chrome/browser/profiles/profile_info_util_unittest.cc const gfx::Image& profile_image( gfx 96 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result = profiles::GetAvatarIconForTitleBar( gfx 98 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_FALSE(gfx::test::IsEmpty(result)); gfx 99 chrome/browser/profiles/profile_info_util_unittest.cc EXPECT_TRUE(gfx::test::IsEqual(profile_image, result)); gfx 102 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image rect_picture(gfx::test::CreateImage()); gfx 104 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Size size(width, height); gfx 105 chrome/browser/profiles/profile_info_util_unittest.cc gfx::Image result2 = profiles::GetAvatarIconForTitleBar( gfx 50 chrome/browser/profiles/profile_list_desktop.cc gfx::Image icon = profile_info_->GetAvatarIconOfProfileAtIndex(i); gfx 120 chrome/browser/profiles/profile_shortcut_manager_win.cc gfx::Rect frame(scale_factor * profiles::kAvatarIconWidth, gfx 123 chrome/browser/profiles/profile_shortcut_manager_win.cc avatar_bitmap.extractSubset(&source_bitmap, gfx::RectToSkIRect(frame)); gfx 190 chrome/browser/profiles/profile_shortcut_manager_win.cc gfx::ImageFamily badged_bitmaps; gfx 192 chrome/browser/profiles/profile_shortcut_manager_win.cc badged_bitmaps.Add(gfx::Image::CreateFrom1xBitmap( gfx 199 chrome/browser/profiles/profile_shortcut_manager_win.cc badged_bitmaps.Add(gfx::Image::CreateFrom1xBitmap( gfx 205 chrome/browser/profiles/profile_shortcut_manager_win.cc badged_bitmaps.Add(gfx::Image::CreateFrom1xBitmap(*app_icon_bitmap)); gfx 208 chrome/browser/profiles/profile_shortcut_manager_win.cc gfx::Image::CreateFrom1xBitmap(*large_app_icon_bitmap)); gfx 607 chrome/browser/profiles/profile_shortcut_manager_win.cc const gfx::Image image = gfx 1598 chrome/browser/renderer_context_menu/render_view_context_menu.cc MediaPlayerActionAt(gfx::Point(params_.x, params_.y), gfx 1611 chrome/browser/renderer_context_menu/render_view_context_menu.cc MediaPlayerActionAt(gfx::Point(params_.x, params_.y), gfx 1619 chrome/browser/renderer_context_menu/render_view_context_menu.cc MediaPlayerActionAt(gfx::Point(params_.x, params_.y), gfx 1628 chrome/browser/renderer_context_menu/render_view_context_menu.cc gfx::Point(params_.x, params_.y), gfx 1638 chrome/browser/renderer_context_menu/render_view_context_menu.cc gfx::Point(params_.x, params_.y), gfx 1648 chrome/browser/renderer_context_menu/render_view_context_menu.cc gfx::Point(params_.x, params_.y), gfx 1983 chrome/browser/renderer_context_menu/render_view_context_menu.cc return gfx::TruncateString(params_.selection_text, gfx 2026 chrome/browser/renderer_context_menu/render_view_context_menu.cc gfx::Size(kImageSearchThumbnailMaxWidth, gfx 2047 chrome/browser/renderer_context_menu/render_view_context_menu.cc const gfx::Point& location, gfx 2054 chrome/browser/renderer_context_menu/render_view_context_menu.cc const gfx::Point& location, gfx 40 chrome/browser/renderer_context_menu/render_view_context_menu.h namespace gfx { gfx 248 chrome/browser/renderer_context_menu/render_view_context_menu.h void MediaPlayerActionAt(const gfx::Point& location, gfx 250 chrome/browser/renderer_context_menu/render_view_context_menu.h void PluginActionAt(const gfx::Point& location, gfx 104 chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc gfx::Rect offset; gfx 42 chrome/browser/renderer_context_menu/spelling_bubble_model.cc gfx::Image* SpellingBubbleModel::GetIcon() const { gfx 30 chrome/browser/renderer_context_menu/spelling_bubble_model.h virtual gfx::Image* GetIcon() const OVERRIDE; gfx 308 chrome/browser/renderer_context_menu/spelling_menu_observer.cc gfx::Rect rect = rvh->GetView()->GetViewBounds(); gfx 315 chrome/browser/renderer_context_menu/spelling_menu_observer.cc gfx::Point(rect.CenterPoint().x(), rect.y()), gfx 337 chrome/browser/renderer_context_menu/spelling_menu_observer.cc gfx::Rect rect = rvh->GetView()->GetViewBounds(); gfx 339 chrome/browser/renderer_context_menu/spelling_menu_observer.cc gfx::Point(rect.CenterPoint().x(), rect.y()), gfx 82 chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc gfx::NativeView native_view = rfh->GetNativeView(); gfx 70 chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc gfx::NativeView native_view = rfh->GetNativeView(); gfx 71 chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(native_view); gfx 74 chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc gfx::Display display = screen->GetDisplayNearestWindow(native_view); gfx 133 chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc gfx::NativeView native_view = rfh->GetNativeView(); gfx 147 chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc gfx::NativeView native_view = rfh->GetNativeView(); gfx 38 chrome/browser/renderer_preferences_util.cc gfx::FontRenderParams::Hinting hinting) { gfx 40 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::HINTING_NONE: gfx 42 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::HINTING_SLIGHT: gfx 44 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::HINTING_MEDIUM: gfx 46 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::HINTING_FULL: gfx 56 chrome/browser/renderer_preferences_util.cc gfx::FontRenderParams::SubpixelRendering subpixel_rendering) { gfx 58 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE: gfx 60 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_RGB: gfx 62 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_BGR: gfx 64 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_VRGB: gfx 66 chrome/browser/renderer_preferences_util.cc case gfx::FontRenderParams::SUBPIXEL_RENDERING_VBGR: gfx 106 chrome/browser/renderer_preferences_util.cc const base::TimeDelta cursor_blink_time = gfx::GetCursorBlinkCycle(); gfx 163 chrome/browser/renderer_preferences_util.cc const gfx::FontRenderParams& params = gfx::GetDefaultWebKitFontRenderParams(); gfx 16 chrome/browser/screensaver_window_finder_x11.cc gfx::X11ErrorTracker err_tracker; gfx 329 chrome/browser/search/instant_service.cc if (gfx::IsInvertedColorScheme()) { gfx 391 chrome/browser/search/instant_service.cc gfx::ImageSkia* image = theme_service->GetImageSkiaNamed( gfx 129 chrome/browser/search_engines/template_url.h gfx::Size image_original_size; gfx 388 chrome/browser/search_engines/template_url_parser.cc image_is_valid_for_favicon_ = (width == gfx::kFaviconSize) && gfx 389 chrome/browser/search_engines/template_url_parser.cc (height == gfx::kFaviconSize) && gfx 209 chrome/browser/search_engines/template_url_unittest.cc search_args.image_original_size = gfx::Size(10, 10); gfx 1066 chrome/browser/sessions/session_restore.cc gfx::Rect bounds, gfx 217 chrome/browser/sessions/session_restore_browsertest.cc gfx::NativeView window = contents->GetView()->GetNativeView(); gfx 245 chrome/browser/sessions/session_service.cc const gfx::Rect& bounds, gfx 756 chrome/browser/sessions/session_service.cc const gfx::Rect& bounds, gfx 104 chrome/browser/sessions/session_service.h const gfx::Rect& bounds, gfx 258 chrome/browser/sessions/session_service.h const gfx::Rect& bounds, gfx 155 chrome/browser/sessions/session_service_unittest.cc const gfx::Rect window2_bounds(3, 4, 5, 6); gfx 169 chrome/browser/sessions/session_service_unittest.cc const gfx::Rect window_bounds; gfx 356 chrome/browser/sessions/session_service_unittest.cc const gfx::Rect window2_bounds(3, 4, 5, 6); gfx 122 chrome/browser/sessions/session_types.h gfx::Rect bounds; gfx 108 chrome/browser/shell_integration.h gfx::ImageFamily favicon; gfx 82 chrome/browser/shell_integration_linux.cc std::string CreateShortcutIcon(const gfx::ImageFamily& icon_images, gfx 96 chrome/browser/shell_integration_linux.cc for (gfx::ImageFamily::const_iterator it = icon_images.begin(); gfx 980 chrome/browser/shell_integration_linux.cc gfx::ImageFamily icon_images; gfx 49 chrome/browser/signin/signin_error_notifier_ash_unittest.cc class ScreenTypeDelegateDesktop : public gfx::ScreenTypeDelegate { gfx 52 chrome/browser/signin/signin_error_notifier_ash_unittest.cc virtual gfx::ScreenType GetScreenTypeForNativeView( gfx 53 chrome/browser/signin/signin_error_notifier_ash_unittest.cc gfx::NativeView view) OVERRIDE { gfx 55 chrome/browser/signin/signin_error_notifier_ash_unittest.cc gfx::SCREEN_TYPE_ALTERNATE : gfx 56 chrome/browser/signin/signin_error_notifier_ash_unittest.cc gfx::SCREEN_TYPE_NATIVE; gfx 85 chrome/browser/signin/signin_error_notifier_ash_unittest.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen); gfx 86 chrome/browser/signin/signin_error_notifier_ash_unittest.cc gfx::Screen::SetScreenTypeDelegate(new ScreenTypeDelegateDesktop); gfx 84 chrome/browser/signin/signin_ui_util.cc base::string16 elided_username = gfx::ElideEmail( gfx 85 chrome/browser/signin/signin_ui_util.cc base::UTF8ToUTF16(username), gfx::FontList(), kUsernameMaxWidth); gfx 35 chrome/browser/speech/speech_recognition_bubble.cc const std::vector<gfx::ImageSkia>& spinner() const { return spinner_; } gfx 36 chrome/browser/speech/speech_recognition_bubble.cc const std::vector<gfx::ImageSkia>& warm_up() const { return warm_up_; } gfx 37 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_full() const { return mic_full_; } gfx 38 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_empty() const { return mic_empty_; } gfx 39 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_noise() const { return mic_noise_; } gfx 40 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_mask() const { return mic_mask_; } gfx 47 chrome/browser/speech/speech_recognition_bubble.cc std::vector<gfx::ImageSkia> spinner_; // Frames for the progress spinner. gfx 48 chrome/browser/speech/speech_recognition_bubble.cc std::vector<gfx::ImageSkia> warm_up_; // Frames for the warm up animation. gfx 51 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_full_; // Mic image with full volume. gfx 52 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_noise_; // Mic image with full noise volume. gfx 53 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_empty_; // Mic image with zero volume. gfx 54 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia* mic_mask_; // Gradient mask used by the volume indicator. gfx 70 chrome/browser/speech/speech_recognition_bubble.cc const gfx::ImageSkia* spinner_image = ui::ResourceBundle::GetSharedInstance(). gfx 86 chrome/browser/speech/speech_recognition_bubble.cc warm_up_.push_back(gfx::ImageSkia::CreateFrom1xBitmap(empty_spinner)); gfx 88 chrome/browser/speech/speech_recognition_bubble.cc for (gfx::Rect src_rect(frame_size, frame_size); gfx 91 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia frame = gfx::ImageSkiaOperations::ExtractSubset( gfx 100 chrome/browser/speech/speech_recognition_bubble.cc std::vector<gfx::ImageSkiaRep> image_reps = frame.image_reps(); gfx 101 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia frame_copy; gfx 106 chrome/browser/speech/speech_recognition_bubble.cc frame_copy.AddRepresentation(gfx::ImageSkiaRep( gfx 112 chrome/browser/speech/speech_recognition_bubble.cc warm_up_.push_back(gfx::ImageSkiaOperations::CreateHSLShiftedImage( gfx 127 chrome/browser/speech/speech_recognition_bubble.cc const gfx::Rect& element_rect) { gfx 151 chrome/browser/speech/speech_recognition_bubble.cc gfx::NativeView view = gfx 153 chrome/browser/speech/speech_recognition_bubble.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(view); gfx 154 chrome/browser/speech/speech_recognition_bubble.cc gfx::Display display = screen->GetDisplayNearestWindow(view); gfx 157 chrome/browser/speech/speech_recognition_bubble.cc const gfx::ImageSkiaRep& rep = gfx 230 chrome/browser/speech/speech_recognition_bubble.cc const gfx::ImageSkia& image, gfx 268 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia image(gfx::ImageSkiaRep(*mic_image_.get(), scale_)); gfx 276 chrome/browser/speech/speech_recognition_bubble.cc void SpeechRecognitionBubbleBase::SetImage(const gfx::ImageSkia& image) { gfx 281 chrome/browser/speech/speech_recognition_bubble.cc gfx::ImageSkia SpeechRecognitionBubbleBase::icon_image() { gfx 23 chrome/browser/speech/speech_recognition_bubble.h namespace gfx { gfx 68 chrome/browser/speech/speech_recognition_bubble.h const gfx::Rect& element_rect); gfx 76 chrome/browser/speech/speech_recognition_bubble.h const gfx::Rect& element_rect); gfx 82 chrome/browser/speech/speech_recognition_bubble.h const gfx::Rect&); gfx 164 chrome/browser/speech/speech_recognition_bubble.h gfx::ImageSkia icon_image(); gfx 169 chrome/browser/speech/speech_recognition_bubble.h void SetImage(const gfx::ImageSkia& image); gfx 172 chrome/browser/speech/speech_recognition_bubble.h const gfx::ImageSkia& image_skia, gfx 192 chrome/browser/speech/speech_recognition_bubble.h gfx::ImageSkia icon_image_; gfx 29 chrome/browser/speech/speech_recognition_bubble_browsertest.cc gfx::Rect element_rect(100, 100, 100, 100); gfx 40 chrome/browser/speech/speech_recognition_bubble_browsertest.cc gfx::Rect element_rect(100, 100, 100, 100); gfx 52 chrome/browser/speech/speech_recognition_bubble_browsertest.cc gfx::Rect element_rect(100, 100, 100, 100); gfx 65 chrome/browser/speech/speech_recognition_bubble_browsertest.cc gfx::Rect element_rect(100, 100, 100, 100); gfx 43 chrome/browser/speech/speech_recognition_bubble_controller.cc const gfx::Rect& element_rect) { gfx 44 chrome/browser/speech/speech_recognition_bubble_controller.h const gfx::Rect& element_rect); gfx 93 chrome/browser/speech/speech_recognition_bubble_controller.h gfx::Rect element_rect; gfx 37 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc Delegate* delegate, const gfx::Rect&) gfx 138 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc const gfx::Rect& element_rect) { gfx 173 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc controller_->CreateBubble(kBubbleSessionId, 1, 1, gfx::Rect(1, 1)); gfx 187 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc controller_->CreateBubble(kBubbleSessionId, 1, 1, gfx::Rect(1, 1)); gfx 201 chrome/browser/speech/speech_recognition_bubble_controller_unittest.cc controller_->CreateBubble(kBubbleSessionId, 1, 1, gfx::Rect(1, 1)); gfx 74 chrome/browser/status_icons/desktop_notification_balloon.cc const gfx::ImageSkia& icon, gfx 86 chrome/browser/status_icons/desktop_notification_balloon.cc GURL(), title, contents, gfx::Image(icon), base::string16(), gfx 14 chrome/browser/status_icons/desktop_notification_balloon.h namespace gfx { gfx 25 chrome/browser/status_icons/desktop_notification_balloon.h void DisplayBalloon(const gfx::ImageSkia& icon, gfx 14 chrome/browser/status_icons/status_icon.h namespace gfx { gfx 26 chrome/browser/status_icons/status_icon.h virtual void SetImage(const gfx::ImageSkia& image) = 0; gfx 29 chrome/browser/status_icons/status_icon.h virtual void SetPressedImage(const gfx::ImageSkia& image) = 0; gfx 39 chrome/browser/status_icons/status_icon.h virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 26 chrome/browser/status_icons/status_icon_menu_model.cc gfx::Image icon; gfx 81 chrome/browser/status_icons/status_icon_menu_model.cc int command_id, const gfx::Image& icon) { gfx 150 chrome/browser/status_icons/status_icon_menu_model.cc gfx::Image* image_skia) const { gfx 14 chrome/browser/status_icons/status_icon_menu_model.h namespace gfx { gfx 74 chrome/browser/status_icons/status_icon_menu_model.h void ChangeIconForCommandId(int command_id, const gfx::Image& icon); gfx 88 chrome/browser/status_icons/status_icon_menu_model.h virtual bool GetIconForCommandId(int command_id, gfx::Image* icon) const gfx 78 chrome/browser/status_icons/status_icon_menu_model_unittest.cc gfx::Image test_image1(*rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON)); gfx 79 chrome/browser/status_icons/status_icon_menu_model_unittest.cc gfx::Image test_image2(*rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON_PRESSED)); gfx 81 chrome/browser/status_icons/status_icon_menu_model_unittest.cc gfx::Image image_arg; gfx 21 chrome/browser/status_icons/status_icon_unittest.cc virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE {} gfx 22 chrome/browser/status_icons/status_icon_unittest.cc virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE {} gfx 26 chrome/browser/status_icons/status_icon_unittest.cc virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 15 chrome/browser/status_icons/status_tray.cc const gfx::ImageSkia& image, gfx 13 chrome/browser/status_icons/status_tray.h namespace gfx { gfx 41 chrome/browser/status_icons/status_tray.h const gfx::ImageSkia& image, gfx 55 chrome/browser/status_icons/status_tray.h const gfx::ImageSkia& image, gfx 16 chrome/browser/status_icons/status_tray_unittest.cc virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE {} gfx 17 chrome/browser/status_icons/status_tray_unittest.cc virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE {} gfx 19 chrome/browser/status_icons/status_tray_unittest.cc virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 30 chrome/browser/status_icons/status_tray_unittest.cc const gfx::ImageSkia& image, gfx 42 chrome/browser/status_icons/status_tray_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 52 chrome/browser/status_icons/status_tray_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 93 chrome/browser/sync/glue/bookmark_change_processor.cc const gfx::Image& favicon = model->GetFavicon(src); gfx 842 chrome/browser/sync/glue/bookmark_change_processor.cc gfx::Size pixel_size(gfx::kFaviconSize, gfx::kFaviconSize); gfx 87 chrome/browser/sync/glue/favicon_cache.cc IconSize GetIconSizeBinFromBitmapResult(const gfx::Size& pixel_size) { gfx 272 chrome/browser/sync/profile_sync_service_session_unittest.cc const gfx::Rect window_bounds_; gfx 50 chrome/browser/sync/sync_error_notifier_ash_unittest.cc class ScreenTypeDelegateDesktop : public gfx::ScreenTypeDelegate { gfx 54 chrome/browser/sync/sync_error_notifier_ash_unittest.cc virtual gfx::ScreenType GetScreenTypeForNativeView( gfx 55 chrome/browser/sync/sync_error_notifier_ash_unittest.cc gfx::NativeView view) OVERRIDE { gfx 57 chrome/browser/sync/sync_error_notifier_ash_unittest.cc gfx::SCREEN_TYPE_ALTERNATE : gfx 58 chrome/browser/sync/sync_error_notifier_ash_unittest.cc gfx::SCREEN_TYPE_NATIVE; gfx 116 chrome/browser/sync/sync_error_notifier_ash_unittest.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen); gfx 117 chrome/browser/sync/sync_error_notifier_ash_unittest.cc gfx::Screen::SetScreenTypeDelegate(new ScreenTypeDelegateDesktop); gfx 180 chrome/browser/sync/test/integration/bookmarks_helper.cc FaviconData(const gfx::Image& favicon_image, gfx 189 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::Image image; gfx 219 chrome/browser/sync/test/integration/bookmarks_helper.cc const gfx::Image& image, gfx 285 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::Image image_a = favicon_data_a.image; gfx 286 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::Image image_b = favicon_data_b.image; gfx 510 chrome/browser/sync/test/integration/bookmarks_helper.cc const gfx::Image& image, gfx 711 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::Image CreateFavicon(SkColor color) { gfx 716 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::ImageSkia favicon; gfx 726 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::ImageSkiaRep(bmp, gfx 729 chrome/browser/sync/test/integration/bookmarks_helper.cc return gfx::Image(favicon); gfx 732 chrome/browser/sync/test/integration/bookmarks_helper.cc gfx::Image Create1xFaviconFromPNGFile(const std::string& path) { gfx 735 chrome/browser/sync/test/integration/bookmarks_helper.cc return gfx::Image(); gfx 739 chrome/browser/sync/test/integration/bookmarks_helper.cc return gfx::Image(); gfx 744 chrome/browser/sync/test/integration/bookmarks_helper.cc return gfx::Image::CreateFrom1xPNGBytes( gfx 102 chrome/browser/sync/test/integration/bookmarks_helper.h const gfx::Image& image, gfx 180 chrome/browser/sync/test/integration/bookmarks_helper.h gfx::Image CreateFavicon(SkColor color); gfx 183 chrome/browser/sync/test/integration/bookmarks_helper.h gfx::Image Create1xFaviconFromPNGFile(const std::string& path); gfx 172 chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc gfx::Image original_favicon = Create1xFaviconFromPNGFile( gfx 183 chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc gfx::Image final_favicon = GetBookmarkModel(0)->GetFavicon(bookmark); gfx 119 chrome/browser/tab_contents/background_contents.cc const gfx::Rect& initial_pos, gfx 38 chrome/browser/tab_contents/background_contents.h const gfx::Rect& initial_pos, gfx 65 chrome/browser/tab_contents/background_contents.h const gfx::Rect& initial_pos, gfx 39 chrome/browser/tab_contents/navigation_metrics_recorder.cc gfx::NativeView view = render_view_host->GetView()->GetNativeView(); gfx 49 chrome/browser/task_manager/background_information.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 61 chrome/browser/task_manager/background_information.cc static gfx::ImageSkia* default_icon_; gfx 66 chrome/browser/task_manager/background_information.cc gfx::ImageSkia* BackgroundContentsResource::default_icon_ = NULL; gfx 102 chrome/browser/task_manager/background_information.cc gfx::ImageSkia BackgroundContentsResource::GetIcon() const { gfx 31 chrome/browser/task_manager/browser_process_resource_provider.cc gfx::ImageSkia* BrowserProcessResource::default_icon_ = NULL; gfx 43 chrome/browser/task_manager/browser_process_resource_provider.cc default_icon_ = new gfx::ImageSkia(gfx::ImageSkiaRep(*bitmap, 1.0f)); gfx 74 chrome/browser/task_manager/browser_process_resource_provider.cc gfx::ImageSkia BrowserProcessResource::GetIcon() const { gfx 38 chrome/browser/task_manager/browser_process_resource_provider.h virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 57 chrome/browser/task_manager/browser_process_resource_provider.h static gfx::ImageSkia* default_icon_; gfx 42 chrome/browser/task_manager/child_process_resource_provider.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 69 chrome/browser/task_manager/child_process_resource_provider.cc static gfx::ImageSkia* default_icon_; gfx 74 chrome/browser/task_manager/child_process_resource_provider.cc gfx::ImageSkia* ChildProcessResource::default_icon_ = NULL; gfx 117 chrome/browser/task_manager/child_process_resource_provider.cc gfx::ImageSkia ChildProcessResource::GetIcon() const { gfx 53 chrome/browser/task_manager/extension_information.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 61 chrome/browser/task_manager/extension_information.cc static gfx::ImageSkia* default_icon_; gfx 69 chrome/browser/task_manager/extension_information.cc gfx::ImageSkia* ExtensionProcessResource::default_icon_ = NULL; gfx 97 chrome/browser/task_manager/extension_information.cc gfx::ImageSkia ExtensionProcessResource::GetIcon() const { gfx 43 chrome/browser/task_manager/guest_information.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 73 chrome/browser/task_manager/guest_information.cc gfx::ImageSkia GuestResource::GetIcon() const { gfx 79 chrome/browser/task_manager/guest_information.cc return gfx::ImageSkia(); gfx 33 chrome/browser/task_manager/notification_resource_provider.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 44 chrome/browser/task_manager/notification_resource_provider.cc static gfx::ImageSkia* default_icon_; gfx 58 chrome/browser/task_manager/notification_resource_provider.cc gfx::ImageSkia* NotificationResource::default_icon_ = NULL; gfx 86 chrome/browser/task_manager/notification_resource_provider.cc gfx::ImageSkia NotificationResource::GetIcon() const { gfx 39 chrome/browser/task_manager/panel_information.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 87 chrome/browser/task_manager/panel_information.cc gfx::ImageSkia PanelResource::GetIcon() const { gfx 88 chrome/browser/task_manager/panel_information.cc gfx::Image icon = panel_->GetCurrentPageIcon(); gfx 89 chrome/browser/task_manager/panel_information.cc return icon.IsEmpty() ? gfx::ImageSkia() : *icon.ToImageSkia(); gfx 39 chrome/browser/task_manager/printing_information.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 63 chrome/browser/task_manager/printing_information.cc gfx::ImageSkia PrintingResource::GetIcon() const { gfx 25 chrome/browser/task_manager/resource_provider.h namespace gfx { gfx 61 chrome/browser/task_manager/resource_provider.h virtual gfx::ImageSkia GetIcon() const = 0; gfx 61 chrome/browser/task_manager/tab_contents_information.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 68 chrome/browser/task_manager/tab_contents_information.cc static gfx::ImageSkia* prerender_icon_; gfx 75 chrome/browser/task_manager/tab_contents_information.cc gfx::ImageSkia* TabContentsResource::prerender_icon_ = NULL; gfx 122 chrome/browser/task_manager/tab_contents_information.cc gfx::ImageSkia TabContentsResource::GetIcon() const { gfx 774 chrome/browser/task_manager/task_manager.cc gfx::ImageSkia TaskManagerModel::GetResourceIcon(int index) const { gfx 775 chrome/browser/task_manager/task_manager.cc gfx::ImageSkia icon = GetResource(index)->GetIcon(); gfx 779 chrome/browser/task_manager/task_manager.cc static gfx::ImageSkia* default_icon = ResourceBundle::GetSharedInstance(). gfx 41 chrome/browser/task_manager/task_manager.h namespace gfx { gfx 254 chrome/browser/task_manager/task_manager.h gfx::ImageSkia GetResourceIcon(int index) const; gfx 158 chrome/browser/task_manager/task_manager_browsertest.cc gfx::Rect(300, 400), gfx 211 chrome/browser/task_manager/task_manager_browsertest.cc gfx::Rect(300, 400), gfx 258 chrome/browser/task_manager/task_manager_browsertest.cc gfx::Rect(300, 400), gfx 301 chrome/browser/task_manager/task_manager_browsertest.cc gfx::Rect(300, 400), gfx 41 chrome/browser/task_manager/task_manager_unittest.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE { return gfx::ImageSkia(); } gfx 55 chrome/browser/task_manager/worker_resource_provider.cc virtual gfx::ImageSkia GetIcon() const OVERRIDE; gfx 70 chrome/browser/task_manager/worker_resource_provider.cc static gfx::ImageSkia* default_icon_; gfx 75 chrome/browser/task_manager/worker_resource_provider.cc gfx::ImageSkia* SharedWorkerResource::default_icon_ = NULL; gfx 111 chrome/browser/task_manager/worker_resource_provider.cc gfx::ImageSkia SharedWorkerResource::GetIcon() const { gfx 439 chrome/browser/themes/browser_theme_pack.cc gfx::Image CreateHSLShiftedImage(const gfx::Image& image, gfx 441 chrome/browser/themes/browser_theme_pack.cc const gfx::ImageSkia* src_image = image.ToImageSkia(); gfx 442 chrome/browser/themes/browser_theme_pack.cc return gfx::Image(gfx::ImageSkiaOperations::CreateHSLShiftedImage( gfx 450 chrome/browser/themes/browser_theme_pack.cc gfx::Size scaled_size = gfx::ToCeiledSize( gfx 451 chrome/browser/themes/browser_theme_pack.cc gfx::ScaleSize(gfx::Size(source_bitmap.width(), gfx 463 chrome/browser/themes/browser_theme_pack.cc SkRect scaled_bounds = RectToSkRect(gfx::Rect(scaled_size)); gfx 472 chrome/browser/themes/browser_theme_pack.cc class ThemeImageSource: public gfx::ImageSkiaSource { gfx 474 chrome/browser/themes/browser_theme_pack.cc explicit ThemeImageSource(const gfx::ImageSkia& source) : source_(source) { gfx 478 chrome/browser/themes/browser_theme_pack.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 481 chrome/browser/themes/browser_theme_pack.cc const gfx::ImageSkiaRep& rep_100p = source_.GetRepresentation(1.0f); gfx 486 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(scaled_bitmap, scale); gfx 490 chrome/browser/themes/browser_theme_pack.cc const gfx::ImageSkia source_; gfx 498 chrome/browser/themes/browser_theme_pack.cc class ThemeImagePngSource : public gfx::ImageSkiaSource { gfx 508 chrome/browser/themes/browser_theme_pack.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 514 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(exact_bitmap_it->second, scale); gfx 521 chrome/browser/themes/browser_theme_pack.cc if (!gfx::PNGCodec::Decode(exact_png_it->second->front(), gfx 525 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(); gfx 528 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(bitmap, scale); gfx 543 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(); gfx 553 chrome/browser/themes/browser_theme_pack.cc if (!gfx::PNGCodec::Decode(available_png_it->second->front(), gfx 557 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(); gfx 570 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(scaled_bitmap, scale); gfx 581 chrome/browser/themes/browser_theme_pack.cc class TabBackgroundImageSource: public gfx::CanvasImageSource { gfx 583 chrome/browser/themes/browser_theme_pack.cc TabBackgroundImageSource(const gfx::ImageSkia& image_to_tint, gfx 584 chrome/browser/themes/browser_theme_pack.cc const gfx::ImageSkia& overlay, gfx 587 chrome/browser/themes/browser_theme_pack.cc : gfx::CanvasImageSource(image_to_tint.size(), false), gfx 598 chrome/browser/themes/browser_theme_pack.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 599 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia bg_tint = gfx 600 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkiaOperations::CreateHSLShiftedImage(image_to_tint_, gfx 613 chrome/browser/themes/browser_theme_pack.cc const gfx::ImageSkia image_to_tint_; gfx 614 chrome/browser/themes/browser_theme_pack.cc const gfx::ImageSkia overlay_; gfx 665 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia* image_skia = gfx 666 chrome/browser/themes/browser_theme_pack.cc const_cast<gfx::ImageSkia*>(it->second.ToImageSkia()); gfx 677 chrome/browser/themes/browser_theme_pack.cc const gfx::ImageSkia source_image_skia = it->second.AsImageSkia(); gfx 680 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia image_skia(source, source_image_skia.size()); gfx 681 chrome/browser/themes/browser_theme_pack.cc it->second = gfx::Image(image_skia); gfx 855 chrome/browser/themes/browser_theme_pack.cc gfx::Image BrowserThemePack::GetImageNamed(int idr_id) { gfx 858 chrome/browser/themes/browser_theme_pack.cc return gfx::Image(); gfx 873 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia image_skia(new ThemeImagePngSource(png_map), gfx 876 chrome/browser/themes/browser_theme_pack.cc gfx::Image ret = gfx::Image(image_skia); gfx 881 chrome/browser/themes/browser_theme_pack.cc return gfx::Image(); gfx 1252 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia image_skia; gfx 1281 chrome/browser/themes/browser_theme_pack.cc if (gfx::PNGCodec::Decode(raw_data->front(), raw_data->size(), gfx 1284 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkiaRep(bitmap, gfx 1294 chrome/browser/themes/browser_theme_pack.cc (*image_cache)[prs_id] = gfx::Image(image_skia); gfx 1319 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia image_skia = it->second.AsImageSkia(); gfx 1320 chrome/browser/themes/browser_theme_pack.cc (*images)[prs_id] = gfx::Image(gfx::ImageSkiaOperations::ExtractSubset( gfx 1321 chrome/browser/themes/browser_theme_pack.cc image_skia, gfx::Rect(0, 0, image_skia.width(), crop_height))); gfx 1334 chrome/browser/themes/browser_theme_pack.cc gfx::Image frame; gfx 1379 chrome/browser/themes/browser_theme_pack.cc frame = gfx::Image(); gfx 1413 chrome/browser/themes/browser_theme_pack.cc gfx::Image& button = rb.GetImageNamed(*it); gfx 1432 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia image_to_tint = (it->second).AsImageSkia(); gfx 1438 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia overlay; gfx 1443 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkiaSource* source = new TabBackgroundImageSource( gfx 1446 chrome/browser/themes/browser_theme_pack.cc temp_output[prs_id] = gfx::Image(gfx::ImageSkia(source, gfx 1458 chrome/browser/themes/browser_theme_pack.cc gfx::ImageSkia image_skia = *it->second.ToImageSkia(); gfx 1460 chrome/browser/themes/browser_theme_pack.cc typedef std::vector<gfx::ImageSkiaRep> ImageSkiaReps; gfx 1468 chrome/browser/themes/browser_theme_pack.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(rep_it->sk_bitmap(), false, gfx 1586 chrome/browser/themes/browser_theme_pack.cc if (!gfx::PNGCodec::Decode(it->second->front(), gfx 1604 chrome/browser/themes/browser_theme_pack.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(scaled_bitmap, gfx 31 chrome/browser/themes/browser_theme_pack.h namespace gfx { gfx 85 chrome/browser/themes/browser_theme_pack.h virtual gfx::Image GetImageNamed(int id) OVERRIDE; gfx 94 chrome/browser/themes/browser_theme_pack.h typedef std::map<int, gfx::Image> ImageCache; gfx 275 chrome/browser/themes/browser_theme_pack_unittest.cc gfx::Image image = pack->GetImageNamed(idr); gfx 277 chrome/browser/themes/browser_theme_pack_unittest.cc const gfx::ImageSkia* image_skia = image.ToImageSkia(); gfx 280 chrome/browser/themes/browser_theme_pack_unittest.cc const gfx::ImageSkiaRep& rep1 = image_skia->GetRepresentation(1.0f); gfx 292 chrome/browser/themes/browser_theme_pack_unittest.cc const gfx::ImageSkiaRep& rep2 = image_skia->GetRepresentation(2.0f); gfx 320 chrome/browser/themes/browser_theme_pack_unittest.cc const gfx::ImageSkiaRep& rep3 = image_skia->GetRepresentation(1.0f); gfx 342 chrome/browser/themes/browser_theme_pack_unittest.cc const gfx::ImageSkiaRep& rep4 = image_skia->GetRepresentation(2.0f); gfx 32 chrome/browser/themes/custom_theme_supplier.cc gfx::Image CustomThemeSupplier::GetImageNamed(int id) { gfx 33 chrome/browser/themes/custom_theme_supplier.cc return gfx::Image(); gfx 21 chrome/browser/themes/custom_theme_supplier.h namespace gfx { gfx 59 chrome/browser/themes/custom_theme_supplier.h virtual gfx::Image GetImageNamed(int id); gfx 109 chrome/browser/themes/theme_service.cc gfx::Image ThemeService::GetImageNamed(int id) const { gfx 112 chrome/browser/themes/theme_service.cc gfx::Image image; gfx 126 chrome/browser/themes/theme_service.cc gfx::ImageSkia* ThemeService::GetImageSkiaNamed(int id) const { gfx 127 chrome/browser/themes/theme_service.cc gfx::Image image = GetImageNamed(id); gfx 132 chrome/browser/themes/theme_service.cc return const_cast<gfx::ImageSkia*>(image.ToImageSkia()); gfx 40 chrome/browser/themes/theme_service.h namespace gfx { gfx 76 chrome/browser/themes/theme_service.h virtual gfx::Image GetImageNamed(int id) const; gfx 80 chrome/browser/themes/theme_service.h virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE; gfx 25 chrome/browser/themes/theme_service_aurax11.cc virtual gfx::Image GetImageNamed(int id) OVERRIDE; gfx 55 chrome/browser/themes/theme_service_aurax11.cc gfx::Image NativeThemeX11::GetImageNamed(int id) { gfx 56 chrome/browser/themes/theme_service_aurax11.cc return linux_ui_ ? linux_ui_->GetThemeImageNamed(id) : gfx::Image(); gfx 31 chrome/browser/themes/theme_service_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); gfx 56 chrome/browser/themes/theme_service_gtk.cc empty_bitmap = gfx::GdkPixbufFromSkBitmap(skia_bitmap); gfx 380 chrome/browser/thumbnails/content_analysis.cc const gfx::Rect& area, gfx 381 chrome/browser/thumbnails/content_analysis.cc const gfx::Size& target_size, gfx 478 chrome/browser/thumbnails/content_analysis.cc gfx::Size AdjustClippingSizeToAspectRatio(const gfx::Size& target_size, gfx 479 chrome/browser/thumbnails/content_analysis.cc const gfx::Size& image_size, gfx 480 chrome/browser/thumbnails/content_analysis.cc const gfx::Size& computed_size) { gfx 577 chrome/browser/thumbnails/content_analysis.cc return gfx::Size(computed_width, computed_height); gfx 582 chrome/browser/thumbnails/content_analysis.cc const gfx::Size& target_size, gfx 623 chrome/browser/thumbnails/content_analysis.cc gfx::Size computed_size = AdjustClippingSizeToAspectRatio( gfx 625 chrome/browser/thumbnails/content_analysis.cc gfx::Size(column_profile.size(), row_profile.size()), gfx 626 chrome/browser/thumbnails/content_analysis.cc gfx::Size(auto_segmented_width, auto_segmented_height)); gfx 725 chrome/browser/thumbnails/content_analysis.cc const gfx::Size& target_size, gfx 736 chrome/browser/thumbnails/content_analysis.cc gfx::Vector3dF transform(0.299f, 0.587f, 0.114f); gfx 754 chrome/browser/thumbnails/content_analysis.cc gfx::Rect(reduced_color.width(), gfx 36 chrome/browser/thumbnails/content_analysis.h const gfx::Rect& image_area, gfx 37 chrome/browser/thumbnails/content_analysis.h const gfx::Size& target_size, gfx 52 chrome/browser/thumbnails/content_analysis.h gfx::Size AdjustClippingSizeToAspectRatio(const gfx::Size& target_size, gfx 53 chrome/browser/thumbnails/content_analysis.h const gfx::Size& image_size, gfx 54 chrome/browser/thumbnails/content_analysis.h const gfx::Size& computed_size); gfx 62 chrome/browser/thumbnails/content_analysis.h const gfx::Size& target_size, gfx 80 chrome/browser/thumbnails/content_analysis.h const gfx::Size& target_size, gfx 32 chrome/browser/thumbnails/content_analysis_unittest.cc unsigned long ImagePixelSum(const SkBitmap& bitmap, const gfx::Rect& rect) { gfx 49 chrome/browser/thumbnails/content_analysis_unittest.cc const gfx::Size& comparison_area, gfx 50 chrome/browser/thumbnails/content_analysis_unittest.cc const gfx::Point& origin_left, gfx 51 chrome/browser/thumbnails/content_analysis_unittest.cc const gfx::Point& origin_right) { gfx 68 chrome/browser/thumbnails/content_analysis_unittest.cc float AspectDifference(const gfx::Size& reference, const gfx::Size& candidate) { gfx 81 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); gfx 84 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 800, 600), SkColorSetRGB(10, 10, 10)); gfx 85 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(400, 300, 1, 1), SkColorSetRGB(255, 255, 255)); gfx 95 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Vector3dF transform(0.299f, 0.587f, 0.114f); gfx 104 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect echo_rect(399 - tail_length, 299 - tail_length, gfx 107 chrome/browser/thumbnails/content_analysis_unittest.cc unsigned long all_sum = ImagePixelSum(reduced_color, gfx::Rect(800, 600)); gfx 116 chrome/browser/thumbnails/content_analysis_unittest.cc echo_rect = gfx::Rect(399 - tail_length, 299 - tail_length, gfx 119 chrome/browser/thumbnails/content_analysis_unittest.cc all_sum = ImagePixelSum(reduced_color, gfx::Rect(800, 600)); gfx 125 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); gfx 128 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect draw_rect(300, 200, 200, 200); gfx 129 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 800, 600), SkColorSetRGB(0, 0, 0)); gfx 140 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Vector3dF transform(0.299f, 0.587f, 0.114f); gfx 148 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect outer_rect(draw_rect.x() - tail_length, gfx 152 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect inner_rect(draw_rect.x() + tail_length, gfx 157 chrome/browser/thumbnails/content_analysis_unittest.cc unsigned long all_sum = ImagePixelSum(reduced_color, gfx::Rect(800, 600)); gfx 164 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); gfx 167 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect draw_rect(100, 100, 200, 100); gfx 168 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect image_rect(0, 0, 800, 600); gfx 179 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Vector3dF transform(1, 0, 0); gfx 186 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(), gfx 208 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect test_rect(150, 80, 400, 100); gfx 211 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(), gfx 228 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(800, 600), 1.0f, true); gfx 232 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect image_rect(0, 0, 800, 600); gfx 234 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(300, 250, 99, 100), SkColorSetRGB(255, 255, 255)); gfx 235 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(401, 250, 99, 100), SkColorSetRGB(255, 255, 255)); gfx 244 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Vector3dF transform(1, 0, 0); gfx 252 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(), gfx 271 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(200, 100), gfx 289 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size target_size(212, 100); gfx 290 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size image_size(1000, 2000); gfx 291 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size computed_size(420, 200); gfx 293 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size adjusted_size = AdjustClippingSizeToAspectRatio( gfx 487 chrome/browser/thumbnails/content_analysis_unittest.cc const gfx::Size target_size(300, 150); gfx 562 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size image_size(1600, 1200); gfx 563 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(image_size, 1.0f, true); gfx 566 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 200, 100, 100), SkColorSetRGB(125, 0, 0)); gfx 567 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(300, 200, 100, 100), SkColorSetRGB(0, 200, 0)); gfx 568 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(500, 200, 100, 100), SkColorSetRGB(0, 0, 225)); gfx 569 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 400, 600, 100), SkColorSetRGB(125, 200, 225)); gfx 590 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(100, 100), gfx 591 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(100, 200), gfx 592 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(0, 0))); gfx 595 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(100, 100), gfx 596 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(300, 200), gfx 597 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(100, 0))); gfx 600 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(100, 100), gfx 601 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(500, 200), gfx 602 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(200, 0))); gfx 605 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size(100, 100), gfx 606 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(100, 400), gfx 607 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Point(0, 100))); gfx 611 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Size image_size(1200, 1300); gfx 612 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Canvas canvas(image_size, 1.0f, true); gfx 621 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(image_size), SkColorSetRGB(200, 210, 210)); gfx 622 chrome/browser/thumbnails/content_analysis_unittest.cc const gfx::Rect header_rect(margin_horizontal, gfx 626 chrome/browser/thumbnails/content_analysis_unittest.cc const gfx::Rect footer_rect(margin_horizontal, gfx 630 chrome/browser/thumbnails/content_analysis_unittest.cc const gfx::Rect body_rect(margin_horizontal, gfx 648 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(x, y, fine_print, fine_print), print_color); gfx 662 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(x, y, half_block, block_size), block_color); gfx 663 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(second_col, y, half_block, half_block), gfx 665 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.FillRect(gfx::Rect(second_col, second_row, half_block, half_block), gfx 676 chrome/browser/thumbnails/content_analysis_unittest.cc canvas.DrawRect(gfx::Rect(x, y, fine_print, fine_print), print_color); gfx 686 chrome/browser/thumbnails/content_analysis_unittest.cc gfx::Rect pict_rect(x, y, gfx 697 chrome/browser/thumbnails/content_analysis_unittest.cc source, gfx::Size(424, 264), 2.5); gfx 38 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const gfx::Size& target_size) gfx 44 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const gfx::Size& source_size, gfx 46 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Rect* clipping_rect, gfx 47 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size* target_size) const { gfx 49 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size target_thumbnail_size = gfx 67 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size target_thumbnail_size = gfx 106 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const gfx::Size& thumbnail_size, gfx 108 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size resize_target; gfx 112 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc int scrollbar_size = gfx::scrollbar_size(); gfx 113 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size scrollbarless( gfx 117 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Rect clipping_rect = GetClippingRect( gfx 124 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::RectToSkIRect(clipping_rect)); gfx 156 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const gfx::Size& thumbnail_size, gfx 173 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Rect clipping_rect = SimpleThumbnailCrop::GetClippingRect( gfx 174 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size(source_bitmap.width(), source_bitmap.height()), gfx 177 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc source_bitmap.extractSubset(&thumbnail, gfx::RectToSkIRect(clipping_rect)); gfx 205 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Rect ContentBasedThumbnailingAlgorithm::GetClippingRect( gfx 206 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const gfx::Size& source_size, gfx 207 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc const gfx::Size& thumbnail_size, gfx 208 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Size* target_size, gfx 217 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc gfx::Rect clipping_rect; gfx 220 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc clipping_rect = gfx::Rect(thumbnail_size); gfx 225 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc clipping_rect = gfx::Rect(source_size); gfx 229 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc clipping_rect = gfx::Rect(source_size); gfx 18 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h explicit ContentBasedThumbnailingAlgorithm(const gfx::Size& target_size); gfx 20 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size, gfx 22 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h gfx::Rect* clipping_rect, gfx 23 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h gfx::Size* target_size) const OVERRIDE; gfx 33 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h const gfx::Size& thumbnail_size, gfx 41 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h const gfx::Size& thumbnail_size, gfx 49 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h static gfx::Rect GetClippingRect(const gfx::Size& source_size, gfx 50 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h const gfx::Size& thumbnail_size, gfx 51 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h gfx::Size* target_size, gfx 54 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h const gfx::Size target_size_; gfx 62 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc const gfx::Size thumbnail_size(312, 165); gfx 66 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc gfx::Rect clipping_rect; gfx 67 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc gfx::Size target_size; gfx 68 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc gfx::Size source_size(1000, 600); gfx 74 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), clipping_rect.origin().ToString()); gfx 82 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), clipping_rect.origin().ToString()); gfx 95 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), clipping_rect.origin().ToString()); gfx 99 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc const gfx::Size thumbnail_size(312, 165); gfx 100 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc const gfx::Size copy_size(400, 200); gfx 121 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_NEAR(result.width(), source.width(), gfx::scrollbar_size()); gfx 122 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc EXPECT_NEAR(result.height(), source.height(), gfx::scrollbar_size()); gfx 136 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc const gfx::Size image_size(1200, 800); gfx 137 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc gfx::Canvas canvas(image_size, 1.0f, true); gfx 140 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc canvas.FillRect(gfx::Rect(200, 200, 800, 400), SkColorSetRGB(255, 255, 255)); gfx 145 chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc const gfx::Size thumbnail_size(432, 284); gfx 23 chrome/browser/thumbnails/simple_thumbnail_crop.cc SimpleThumbnailCrop::SimpleThumbnailCrop(const gfx::Size& target_size) gfx 29 chrome/browser/thumbnails/simple_thumbnail_crop.cc const gfx::Size& source_size, gfx 31 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Rect* clipping_rect, gfx 32 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Size* target_size) const { gfx 77 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Rect clipping_rect = gfx 78 chrome/browser/thumbnails/simple_thumbnail_crop.cc GetClippingRect(gfx::Size(bitmap.width(), bitmap.height()), gfx 79 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Size(desired_width, desired_height), gfx 118 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Size SimpleThumbnailCrop::GetCopySizeForThumbnail( gfx 120 chrome/browser/thumbnails/simple_thumbnail_crop.cc const gfx::Size& thumbnail_size) { gfx 121 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Size copy_size(thumbnail_size); gfx 124 chrome/browser/thumbnails/simple_thumbnail_crop.cc copy_size = gfx::ToFlooredSize(gfx::ScaleSize( gfx 133 chrome/browser/thumbnails/simple_thumbnail_crop.cc copy_size = gfx::ToFlooredSize(gfx::ScaleSize( gfx 134 chrome/browser/thumbnails/simple_thumbnail_crop.cc copy_size, gfx::ImageSkia::GetMaxSupportedScale())); gfx 140 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Rect SimpleThumbnailCrop::GetClippingRect(const gfx::Size& source_size, gfx 141 chrome/browser/thumbnails/simple_thumbnail_crop.cc const gfx::Size& desired_size, gfx 150 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Rect clipping_rect; gfx 156 chrome/browser/thumbnails/simple_thumbnail_crop.cc clipping_rect = gfx::Rect(desired_size); gfx 172 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Rect(source_size.width(), source_size.width() / desired_aspect); gfx 175 chrome/browser/thumbnails/simple_thumbnail_crop.cc clipping_rect = gfx::Rect(source_size); gfx 183 chrome/browser/thumbnails/simple_thumbnail_crop.cc gfx::Size SimpleThumbnailCrop::ComputeTargetSizeAtMaximumScale( gfx 184 chrome/browser/thumbnails/simple_thumbnail_crop.cc const gfx::Size& given_size) { gfx 187 chrome/browser/thumbnails/simple_thumbnail_crop.cc float max_scale_factor = gfx::ImageSkia::GetMaxSupportedScale(); gfx 188 chrome/browser/thumbnails/simple_thumbnail_crop.cc return gfx::ToFlooredSize(gfx::ScaleSize(given_size, max_scale_factor)); gfx 197 chrome/browser/thumbnails/simple_thumbnail_crop.cc const gfx::Size& desired_size, gfx 205 chrome/browser/thumbnails/simple_thumbnail_crop.cc int scrollbar_size = gfx::scrollbar_size(); gfx 19 chrome/browser/thumbnails/simple_thumbnail_crop.h explicit SimpleThumbnailCrop(const gfx::Size& target_size); gfx 21 chrome/browser/thumbnails/simple_thumbnail_crop.h virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size, gfx 23 chrome/browser/thumbnails/simple_thumbnail_crop.h gfx::Rect* clipping_rect, gfx 24 chrome/browser/thumbnails/simple_thumbnail_crop.h gfx::Size* target_size) const OVERRIDE; gfx 47 chrome/browser/thumbnails/simple_thumbnail_crop.h static gfx::Size GetCopySizeForThumbnail(ui::ScaleFactor scale_factor, gfx 48 chrome/browser/thumbnails/simple_thumbnail_crop.h const gfx::Size& thumbnail_size); gfx 49 chrome/browser/thumbnails/simple_thumbnail_crop.h static gfx::Rect GetClippingRect(const gfx::Size& source_size, gfx 50 chrome/browser/thumbnails/simple_thumbnail_crop.h const gfx::Size& desired_size, gfx 57 chrome/browser/thumbnails/simple_thumbnail_crop.h static gfx::Size ComputeTargetSizeAtMaximumScale(const gfx::Size& given_size); gfx 64 chrome/browser/thumbnails/simple_thumbnail_crop.h const gfx::Size& desired_size, gfx 67 chrome/browser/thumbnails/simple_thumbnail_crop.h const gfx::Size target_size_; gfx 32 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc const gfx::Size kSize(20, 10); gfx 33 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(kSize, 1.0f, true); gfx 35 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc canvas.FillRect(gfx::Rect(kSize), SK_ColorBLACK); gfx 44 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc const gfx::Size kSize(20, 10); gfx 46 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(kSize, 1.0f, true); gfx 48 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc canvas.FillRect(gfx::Rect(kSize), SK_ColorBLACK); gfx 50 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc canvas.FillRect(gfx::Rect(0, 0, kSize.width() / 2, kSize.height()), gfx 63 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(40, 90), 1.0f, true); gfx 80 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(70, 40), 1.0f, true); gfx 97 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(90, 40), 1.0f, true); gfx 114 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(40, 40), 1.0f, true); gfx 131 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Canvas canvas(gfx::Size(40, 40), 1.0f, true); gfx 147 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size thumbnail_size(200, 120); gfx 152 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Rect clipping_rect_result; gfx 153 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size target_size_result; gfx 156 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(400, 210), gfx 160 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size clipping_size = clipping_rect_result.size(); gfx 168 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(600, 200), gfx 180 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(300, 600), gfx 192 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(200, 100), gfx 201 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc const gfx::Size desired_size(300, 200); gfx 204 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Rect clip_rect = SimpleThumbnailCrop::GetClippingRect( gfx 205 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(300, 199), desired_size, &clip_result); gfx 207 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), clip_rect.origin().ToString()); gfx 212 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(500, 1200), desired_size, &clip_result); gfx 214 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), clip_rect.origin().ToString()); gfx 219 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(2000, 800), desired_size, &clip_result); gfx 228 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc gfx::Size(900, 600), desired_size, &clip_result); gfx 230 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), clip_rect.origin().ToString()); gfx 231 chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc EXPECT_EQ(gfx::Size(900, 600).ToString(), clip_rect.size().ToString()); gfx 32 chrome/browser/thumbnails/thumbnail_service.h const gfx::Image& thumbnail) = 0; gfx 56 chrome/browser/thumbnails/thumbnail_service_impl.cc const gfx::Image& thumbnail) { gfx 87 chrome/browser/thumbnails/thumbnail_service_impl.cc const gfx::Size thumbnail_size(kThumbnailWidth, kThumbnailHeight); gfx 27 chrome/browser/thumbnails/thumbnail_service_impl.h const gfx::Image& thumbnail) OVERRIDE; gfx 58 chrome/browser/thumbnails/thumbnail_tab_helper.cc gfx::Image image = gfx::Image::CreateFrom1xBitmap(thumbnail); gfx 99 chrome/browser/thumbnails/thumbnail_tab_helper.cc gfx::Rect(), gfx 106 chrome/browser/thumbnails/thumbnail_tab_helper.cc gfx::Rect copy_rect = gfx::Rect(view->GetViewBounds().size()); gfx 109 chrome/browser/thumbnails/thumbnail_tab_helper.cc int scrollbar_size = gfx::scrollbar_size(); gfx 110 chrome/browser/thumbnails/thumbnail_tab_helper.cc gfx::Size copy_size; gfx 31 chrome/browser/thumbnails/thumbnailing_algorithm.h virtual ClipResult GetCanvasCopyInfo(const gfx::Size& source_size, gfx 33 chrome/browser/thumbnails/thumbnailing_algorithm.h gfx::Rect* clipping_rect, gfx 34 chrome/browser/thumbnails/thumbnailing_algorithm.h gfx::Size* target_size) const = 0; gfx 50 chrome/browser/thumbnails/thumbnailing_context.h gfx::Size requested_copy_size; gfx 14 chrome/browser/ui/android/autofill/autofill_popup_view_android.h namespace gfx { gfx 18 chrome/browser/ui/android/certificate_viewer_android.cc gfx::NativeWindow parent, gfx 9 chrome/browser/ui/android/extensions/extension_view_android.cc void ExtensionViewAndroid::ResizeDueToAutoResize(const gfx::Size& new_size) { gfx 18 chrome/browser/ui/android/extensions/extension_view_android.h gfx::NativeView native_view() const { return NULL; } gfx 20 chrome/browser/ui/android/extensions/extension_view_android.h void ResizeDueToAutoResize(const gfx::Size& new_size); gfx 29 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc gfx::NativeWindow parent_window) { gfx 37 chrome/browser/ui/android/javascript_app_modal_dialog_android.cc gfx::NativeWindow parent) gfx 19 chrome/browser/ui/android/javascript_app_modal_dialog_android.h gfx::NativeWindow parent); gfx 54 chrome/browser/ui/android/navigation_popup.cc gfx::kFaviconSize), gfx 64 chrome/browser/ui/android/navigation_popup.cc gfx::Image image(image_result.image); gfx 82 chrome/browser/ui/android/navigation_popup.cc gfx::ConvertToJavaBitmap(image.ToSkBitmap()).obj()); gfx 11 chrome/browser/ui/android/simple_message_box_android.cc MessageBoxResult ShowMessageBox(gfx::NativeWindow parent, gfx 23 chrome/browser/ui/app_list/app_list.h virtual gfx::NativeWindow GetWindow() = 0; gfx 94 chrome/browser/ui/app_list/app_list_controller_delegate.cc gfx::NativeWindow parent_window = GetAppListWindow(); gfx 25 chrome/browser/ui/app_list/app_list_controller_delegate.h namespace gfx { gfx 61 chrome/browser/ui/app_list/app_list_controller_delegate.h virtual gfx::NativeWindow GetAppListWindow() = 0; gfx 64 chrome/browser/ui/app_list/app_list_controller_delegate.h virtual gfx::ImageSkia GetWindowIcon() = 0; gfx 30 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc gfx::NativeWindow AppListControllerDelegateImpl::GetAppListWindow() { gfx 34 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc gfx::ImageSkia AppListControllerDelegateImpl::GetWindowIcon() { gfx 35 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc return gfx::ImageSkia(); gfx 71 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc gfx::NativeWindow parent_window = GetAppListWindow(); gfx 32 chrome/browser/ui/app_list/app_list_controller_delegate_impl.h virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; gfx 33 chrome/browser/ui/app_list/app_list_controller_delegate_impl.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 13 chrome/browser/ui/app_list/app_list_positioner.cc AppListPositioner::AppListPositioner(const gfx::Display& display, gfx 14 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Size& window_size, gfx 20 chrome/browser/ui/app_list/app_list_positioner.cc void AppListPositioner::WorkAreaSubtract(const gfx::Rect& rect) { gfx 21 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Rect work_area = display_.work_area(); gfx 30 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Rect work_area = display_.work_area(); gfx 35 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point AppListPositioner::GetAnchorPointForScreenCenter() const { gfx 39 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point AppListPositioner::GetAnchorPointForScreenCorner( gfx 41 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& screen_rect = display_.bounds(); gfx 42 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point anchor; gfx 58 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(); gfx 63 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point AppListPositioner::GetAnchorPointForShelfCorner( gfx 65 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& screen_rect = display_.bounds(); gfx 66 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& work_area = display_.work_area(); gfx 67 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point anchor; gfx 70 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(work_area.x(), screen_rect.y()); gfx 73 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(work_area.right(), screen_rect.y()); gfx 76 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(screen_rect.x(), work_area.y()); gfx 79 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(screen_rect.x(), work_area.bottom()); gfx 83 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(); gfx 88 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point AppListPositioner::GetAnchorPointForShelfCenter( gfx 90 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& work_area = display_.work_area(); gfx 91 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point anchor; gfx 95 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point(work_area.x(), work_area.y() + work_area.height() / 2); gfx 99 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point(work_area.right(), work_area.y() + work_area.height() / 2); gfx 102 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(work_area.x() + work_area.width() / 2, work_area.y()); gfx 106 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point(work_area.x() + work_area.width() / 2, work_area.bottom()); gfx 110 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(); gfx 115 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point AppListPositioner::GetAnchorPointForShelfCursor( gfx 117 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Point& cursor) const { gfx 118 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& work_area = display_.work_area(); gfx 119 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point anchor; gfx 122 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(work_area.x(), cursor.y()); gfx 125 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(work_area.right(), cursor.y()); gfx 128 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(cursor.x(), work_area.y()); gfx 131 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(cursor.x(), work_area.bottom()); gfx 135 chrome/browser/ui/app_list/app_list_positioner.cc anchor = gfx::Point(); gfx 141 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& shelf_rect) const { gfx 142 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& screen_rect = display_.bounds(); gfx 143 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& work_area = display_.work_area(); gfx 174 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Point& cursor) const { gfx 175 chrome/browser/ui/app_list/app_list_positioner.cc const gfx::Rect& work_area = display_.work_area(); gfx 193 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Point AppListPositioner::ClampAnchorPoint(gfx::Point anchor) const { gfx 194 chrome/browser/ui/app_list/app_list_positioner.cc gfx::Rect bounds_rect(display_.work_area()); gfx 11 chrome/browser/ui/app_list/app_list_positioner.h namespace gfx { gfx 45 chrome/browser/ui/app_list/app_list_positioner.h AppListPositioner(const gfx::Display& display, gfx 46 chrome/browser/ui/app_list/app_list_positioner.h const gfx::Size& window_size, gfx 52 chrome/browser/ui/app_list/app_list_positioner.h void WorkAreaSubtract(const gfx::Rect& rect); gfx 62 chrome/browser/ui/app_list/app_list_positioner.h gfx::Point GetAnchorPointForScreenCorner(ScreenCorner corner) const; gfx 66 chrome/browser/ui/app_list/app_list_positioner.h gfx::Point GetAnchorPointForScreenCenter() const; gfx 73 chrome/browser/ui/app_list/app_list_positioner.h gfx::Point GetAnchorPointForShelfCorner(ScreenEdge shelf_edge) const; gfx 79 chrome/browser/ui/app_list/app_list_positioner.h gfx::Point GetAnchorPointForShelfCenter(ScreenEdge shelf_edge) const; gfx 86 chrome/browser/ui/app_list/app_list_positioner.h gfx::Point GetAnchorPointForShelfCursor(ScreenEdge shelf_edge, gfx 87 chrome/browser/ui/app_list/app_list_positioner.h const gfx::Point& cursor) const; gfx 92 chrome/browser/ui/app_list/app_list_positioner.h ScreenEdge GetShelfEdge(const gfx::Rect& shelf_rect) const; gfx 99 chrome/browser/ui/app_list/app_list_positioner.h const gfx::Point& cursor) const; gfx 104 chrome/browser/ui/app_list/app_list_positioner.h gfx::Point ClampAnchorPoint(gfx::Point anchor) const; gfx 106 chrome/browser/ui/app_list/app_list_positioner.h gfx::Display display_; gfx 109 chrome/browser/ui/app_list/app_list_positioner.h gfx::Size window_size_; gfx 44 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Size view_size(kWindowWidth, kWindowHeight); gfx 50 chrome/browser/ui/app_list/app_list_positioner_unittest.cc display_.set_bounds(gfx::Rect(0, 0, kScreenWidth, kScreenHeight)); gfx 54 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Rect(0, kMenuBarSize, kScreenWidth, kScreenHeight - kMenuBarSize)); gfx 56 chrome/browser/ui/app_list/app_list_positioner_unittest.cc cursor_ = gfx::Point(); gfx 83 chrome/browser/ui/app_list/app_list_positioner_unittest.cc cursor_ = gfx::Point(x, y); gfx 86 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point DoGetAnchorPointForScreenCorner( gfx 91 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point DoGetAnchorPointForShelfCorner( gfx 96 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point DoGetAnchorPointForShelfCenter( gfx 101 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point DoGetAnchorPointForShelfCursor( gfx 107 chrome/browser/ui/app_list/app_list_positioner_unittest.cc const gfx::Rect& shelf_rect) const { gfx 117 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Display display_; gfx 119 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point cursor_; gfx 125 chrome/browser/ui/app_list/app_list_positioner_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 131 chrome/browser/ui/app_list/app_list_positioner_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth - kWindowWidth / 2 - kMinDistanceFromEdge, gfx 138 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 145 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kScreenWidth - kWindowWidth / 2 - kMinDistanceFromEdge, gfx 156 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kShelfSize + kWindowWidth / 2 + kMinDistanceFromEdge, gfx 163 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point( gfx 170 chrome/browser/ui/app_list/app_list_positioner_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 178 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 189 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kShelfSize + kWindowWidth / 2 + kMinDistanceFromEdge, gfx 196 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point( gfx 203 chrome/browser/ui/app_list/app_list_positioner_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth / 2, gfx 211 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kScreenWidth / 2, gfx 224 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kShelfSize + kWindowWidth / 2 + kMinDistanceFromEdge, gfx 232 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point( gfx 240 chrome/browser/ui/app_list/app_list_positioner_unittest.cc EXPECT_EQ(gfx::Point(kWindowAwayFromEdge, gfx 249 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kWindowAwayFromEdge, gfx 258 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 267 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Point(kScreenWidth - kWindowWidth / 2 - kMinDistanceFromEdge, gfx 274 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Rect shelf_rect; gfx 277 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Rect(0, kMenuBarSize, kShelfSize, kScreenHeight - kMenuBarSize); gfx 281 chrome/browser/ui/app_list/app_list_positioner_unittest.cc shelf_rect = gfx::Rect(kScreenWidth - kShelfSize, gfx 288 chrome/browser/ui/app_list/app_list_positioner_unittest.cc shelf_rect = gfx::Rect(0, 0, kScreenWidth, kShelfSize); gfx 293 chrome/browser/ui/app_list/app_list_positioner_unittest.cc gfx::Rect(0, kScreenHeight - kShelfSize, kScreenWidth, kShelfSize); gfx 297 chrome/browser/ui/app_list/app_list_positioner_unittest.cc shelf_rect = gfx::Rect(); gfx 299 chrome/browser/ui/app_list/app_list_positioner_unittest.cc shelf_rect = gfx::Rect(-10, 0, kScreenWidth, kShelfSize); gfx 301 chrome/browser/ui/app_list/app_list_positioner_unittest.cc shelf_rect = gfx::Rect(10, 0, kScreenWidth - 20, kShelfSize); gfx 303 chrome/browser/ui/app_list/app_list_positioner_unittest.cc shelf_rect = gfx::Rect(0, kShelfSize, kScreenWidth, 60); gfx 24 chrome/browser/ui/app_list/app_list_service.h namespace gfx { gfx 101 chrome/browser/ui/app_list/app_list_service.h virtual gfx::NativeWindow GetAppListWindow() = 0; gfx 48 chrome/browser/ui/app_list/app_list_service_disabled.cc virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { gfx 21 chrome/browser/ui/app_list/app_list_service_mac.h namespace gfx { gfx 43 chrome/browser/ui/app_list/app_list_service_mac.h static void FindAnchorPoint(const gfx::Size& window_size, gfx 44 chrome/browser/ui/app_list/app_list_service_mac.h const gfx::Display& display, gfx 47 chrome/browser/ui/app_list/app_list_service_mac.h const gfx::Point& cursor, gfx 62 chrome/browser/ui/app_list/app_list_service_mac.h virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; gfx 67 chrome/browser/ui/app_list/app_list_service_unittest.cc virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { gfx 48 chrome/browser/ui/app_list/app_list_shower.cc gfx::NativeWindow AppListShower::GetWindow() { gfx 36 chrome/browser/ui/app_list/app_list_shower.h gfx::NativeWindow GetWindow(); gfx 310 chrome/browser/ui/app_list/app_list_view_delegate.cc gfx::ImageSkia AppListViewDelegate::GetWindowIcon() { gfx 35 chrome/browser/ui/app_list/app_list_view_delegate.h namespace gfx { gfx 79 chrome/browser/ui/app_list/app_list_view_delegate.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 43 chrome/browser/ui/app_list/extension_app_item.cc class ShortcutOverlayImageSource : public gfx::CanvasImageSource { gfx 45 chrome/browser/ui/app_list/extension_app_item.cc explicit ShortcutOverlayImageSource(const gfx::ImageSkia& icon) gfx 46 chrome/browser/ui/app_list/extension_app_item.cc : gfx::CanvasImageSource(icon.size(), false), gfx 53 chrome/browser/ui/app_list/extension_app_item.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 57 chrome/browser/ui/app_list/extension_app_item.cc const gfx::ImageSkia& overlay = *ui::ResourceBundle::GetSharedInstance(). gfx 62 chrome/browser/ui/app_list/extension_app_item.cc gfx::ImageSkia icon_; gfx 68 chrome/browser/ui/app_list/extension_app_item.cc class RoundedCornersImageSource : public gfx::CanvasImageSource { gfx 70 chrome/browser/ui/app_list/extension_app_item.cc explicit RoundedCornersImageSource(const gfx::ImageSkia& icon) gfx 71 chrome/browser/ui/app_list/extension_app_item.cc : gfx::CanvasImageSource(icon.size(), false), gfx 78 chrome/browser/ui/app_list/extension_app_item.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 84 chrome/browser/ui/app_list/extension_app_item.cc scoped_ptr<gfx::Canvas> masking_canvas( gfx 85 chrome/browser/ui/app_list/extension_app_item.cc new gfx::Canvas(gfx::Size(icon_.width(), icon_.height()), 1.0f, false)); gfx 92 chrome/browser/ui/app_list/extension_app_item.cc gfx::Rect(icon_.width(), icon_.height()), gfx 98 chrome/browser/ui/app_list/extension_app_item.cc gfx::ImageSkia(masking_canvas->ExtractImageRep()), 0, 0, masking_paint); gfx 101 chrome/browser/ui/app_list/extension_app_item.cc gfx::ImageSkia icon_; gfx 119 chrome/browser/ui/app_list/extension_app_item.cc const gfx::ImageSkia& installing_icon, gfx 127 chrome/browser/ui/app_list/extension_app_item.cc gfx::ImageSkiaOperations::CreateHSLShiftedImage(installing_icon, gfx 182 chrome/browser/ui/app_list/extension_app_item.cc gfx::ImageSkia icon = installing_icon_; gfx 192 chrome/browser/ui/app_list/extension_app_item.cc icon = gfx::ImageSkiaOperations::CreateHSLShiftedImage(icon, shift); gfx 196 chrome/browser/ui/app_list/extension_app_item.cc icon = gfx::ImageSkia(new RoundedCornersImageSource(icon), icon.size()); gfx 201 chrome/browser/ui/app_list/extension_app_item.cc icon = gfx::ImageSkia(new ShortcutOverlayImageSource(icon), icon.size()); gfx 43 chrome/browser/ui/app_list/extension_app_item.h const gfx::ImageSkia& installing_icon, gfx 117 chrome/browser/ui/app_list/extension_app_item.h gfx::ImageSkia installing_icon_; gfx 159 chrome/browser/ui/app_list/extension_app_model_builder.cc gfx::ImageSkia(), gfx 207 chrome/browser/ui/app_list/extension_app_model_builder.cc const gfx::ImageSkia& installing_icon, gfx 241 chrome/browser/ui/app_list/extension_app_model_builder.cc gfx::ImageSkia(), gfx 31 chrome/browser/ui/app_list/extension_app_model_builder.h namespace gfx { gfx 82 chrome/browser/ui/app_list/extension_app_model_builder.h const gfx::ImageSkia& installing_icon, gfx 71 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc virtual gfx::NativeWindow GetAppListWindow() OVERRIDE { return NULL; } gfx 72 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc virtual gfx::ImageSkia GetWindowIcon() OVERRIDE { return gfx::ImageSkia(); } gfx 246 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc kPackagedApp1Id, "", gfx::ImageSkia(), true, true); gfx 78 chrome/browser/ui/app_list/fast_show_pickler.cc bool PickleImage(Pickle* pickle, const gfx::ImageSkia& image) { gfx 79 chrome/browser/ui/app_list/fast_show_pickler.cc std::vector<gfx::ImageSkiaRep> reps(image.image_reps()); gfx 81 chrome/browser/ui/app_list/fast_show_pickler.cc for (std::vector<gfx::ImageSkiaRep>::const_iterator it = reps.begin(); gfx 99 chrome/browser/ui/app_list/fast_show_pickler.cc bool UnpickleImage(PickleIterator* it, gfx::ImageSkia* out) { gfx 104 chrome/browser/ui/app_list/fast_show_pickler.cc gfx::ImageSkia result; gfx 142 chrome/browser/ui/app_list/fast_show_pickler.cc result.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); gfx 167 chrome/browser/ui/app_list/fast_show_pickler.cc gfx::ImageSkia icon; gfx 153 chrome/browser/ui/app_list/search/app_result.cc gfx::ImageSkia icon = icon_->image_skia(); gfx 157 chrome/browser/ui/app_list/search/app_result.cc icon = gfx::ImageSkiaOperations::CreateHSLShiftedImage(icon, shift); gfx 50 chrome/browser/ui/app_list/search/common/url_icon_source.cc gfx::ImageSkiaRep UrlIconSource::GetImageForScale(float scale) { gfx 83 chrome/browser/ui/app_list/search/common/url_icon_source.cc icon_ = gfx::ImageSkiaOperations::CreateResizedImage( gfx 84 chrome/browser/ui/app_list/search/common/url_icon_source.cc gfx::ImageSkia::CreateFrom1xBitmap(decoded_image), gfx 86 chrome/browser/ui/app_list/search/common/url_icon_source.cc gfx::Size(icon_size_, icon_size_)); gfx 27 chrome/browser/ui/app_list/search/common/url_icon_source.h class UrlIconSource : public gfx::ImageSkiaSource, gfx 48 chrome/browser/ui/app_list/search/common/url_icon_source.h virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE; gfx 69 chrome/browser/ui/app_list/search/common/url_icon_source.h gfx::ImageSkia icon_; gfx 73 chrome/browser/ui/app_list/search/people/people_result.cc image_ = gfx::ImageSkia( gfx 80 chrome/browser/ui/app_list/search/people/people_result.cc gfx::Size(kIconSize, kIconSize)); gfx 119 chrome/browser/ui/app_list/search/people/people_result.cc const std::vector<gfx::ImageSkiaRep>& image_reps = image_.image_reps(); gfx 48 chrome/browser/ui/app_list/search/people/people_result.h gfx::ImageSkia image_; gfx 36 chrome/browser/ui/app_list/search/tokenized_string.cc mappings_.push_back(gfx::Range(word_start + term_iter.prev(), gfx 22 chrome/browser/ui/app_list/search/tokenized_string.h typedef std::vector<gfx::Range> Mappings; gfx 50 chrome/browser/ui/app_list/search/tokenized_string_match.cc gfx::Range hit = gfx::Range::InvalidRange(); gfx 73 chrome/browser/ui/app_list/search/tokenized_string_match.cc hit = gfx::Range::InvalidRange(); gfx 26 chrome/browser/ui/app_list/search/tokenized_string_match.h typedef std::vector<gfx::Range> Hits; gfx 24 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const gfx::Range& hit = *it; gfx 15 chrome/browser/ui/app_list/search/webstore/webstore_installer.cc gfx::NativeWindow parent_window, gfx 26 chrome/browser/ui/app_list/search/webstore/webstore_installer.h gfx::NativeWindow parent_window, gfx 42 chrome/browser/ui/app_list/search/webstore/webstore_installer.h gfx::NativeWindow parent_window_; gfx 42 chrome/browser/ui/app_list/search/webstore/webstore_result.cc class BadgedIconSource : public gfx::CanvasImageSource { gfx 44 chrome/browser/ui/app_list/search/webstore/webstore_result.cc explicit BadgedIconSource(const gfx::ImageSkia& icon) gfx 45 chrome/browser/ui/app_list/search/webstore/webstore_result.cc : CanvasImageSource(gfx::Size(kIconSize, kIconSize), false), gfx 49 chrome/browser/ui/app_list/search/webstore/webstore_result.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 51 chrome/browser/ui/app_list/search/webstore/webstore_result.cc const gfx::ImageSkia& badge = *ui::ResourceBundle::GetSharedInstance(). gfx 58 chrome/browser/ui/app_list/search/webstore/webstore_result.cc gfx::ImageSkia icon_; gfx 87 chrome/browser/ui/app_list/search/webstore/webstore_result.cc icon_ = gfx::ImageSkia( gfx 94 chrome/browser/ui/app_list/search/webstore/webstore_result.cc gfx::Size(kIconSize, kIconSize)); gfx 166 chrome/browser/ui/app_list/search/webstore/webstore_result.cc const std::vector<gfx::ImageSkiaRep>& image_reps = icon_.image_reps(); gfx 170 chrome/browser/ui/app_list/search/webstore/webstore_result.cc icon_ = gfx::ImageSkia(new BadgedIconSource(icon_), gfx 171 chrome/browser/ui/app_list/search/webstore/webstore_result.cc gfx::Size(kIconSize, kIconSize)); gfx 64 chrome/browser/ui/app_list/search/webstore/webstore_result.h gfx::ImageSkia icon_; gfx 48 chrome/browser/ui/app_list/test/app_list_shower_unittest.cc virtual gfx::NativeWindow GetWindow() OVERRIDE { gfx 35 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc void CompareImages(const gfx::ImageSkia& image1, gfx 36 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc const gfx::ImageSkia& image2) { gfx 37 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc std::vector<gfx::ImageSkiaRep> reps1(image1.image_reps()); gfx 38 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc std::vector<gfx::ImageSkiaRep> reps2(image2.image_reps()); gfx 42 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc gfx::BitmapsAreEqual(reps1[i].sk_bitmap(), reps2[i].sk_bitmap())); gfx 63 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc gfx::ImageSkia MakeImage() { gfx 70 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 115 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc app1->SetIcon(gfx::ImageSkia(), true); gfx 34 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc gfx::ElideRectangleString(in_string, kMessageTextMaxRows, gfx 39 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc gfx::ElideRectangleString(in_string, kDefaultPromptMaxRows, gfx 49 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc gfx::ElideString(in_string, kMessageTextMaxSize, out_string); gfx 53 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc gfx::ElideString(in_string, kDefaultPromptMaxSize, out_string); gfx 90 chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.cc gfx::NativeWindow parent_window = gfx 34 chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h gfx::NativeWindow parent_window); gfx 19 chrome/browser/ui/apps/app_info_dialog.h void ShowAppInfoDialog(gfx::NativeWindow parent_window, gfx 15 chrome/browser/ui/apps/apps_metro_handler_win.cc bool VerifyMetroSwitchForApps(gfx::NativeWindow parent_window, gfx 14 chrome/browser/ui/apps/apps_metro_handler_win.h bool VerifyMetroSwitchForApps(gfx::NativeWindow parent, gfx 185 chrome/browser/ui/apps/chrome_app_window_delegate.cc const gfx::Rect& initial_pos, gfx 40 chrome/browser/ui/apps/chrome_app_window_delegate.h const gfx::Rect& initial_pos, gfx 21 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc gfx::NativeWindow AppListControllerDelegateAsh::GetAppListWindow() { gfx 26 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc gfx::ImageSkia AppListControllerDelegateAsh::GetWindowIcon() { gfx 27 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc return gfx::ImageSkia(); gfx 21 chrome/browser/ui/ash/app_list/app_list_controller_ash.h virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; gfx 22 chrome/browser/ui/ash/app_list/app_list_controller_ash.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 40 chrome/browser/ui/ash/app_list/app_list_service_ash.cc virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; gfx 83 chrome/browser/ui/ash/app_list/app_list_service_ash.cc gfx::NativeWindow AppListServiceAsh::GetAppListWindow() { gfx 157 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc gfx::Rect showing_area = gfx 21 chrome/browser/ui/ash/ash_keyboard_controller_proxy.h namespace gfx { gfx 14 chrome/browser/ui/ash/ash_util.cc bool IsNativeViewInAsh(gfx::NativeView native_view) { gfx 35 chrome/browser/ui/ash/ash_util.cc bool IsNativeWindowInAsh(gfx::NativeWindow native_window) { gfx 14 chrome/browser/ui/ash/ash_util.h bool IsNativeViewInAsh(gfx::NativeView native_view); gfx 15 chrome/browser/ui/ash/ash_util.h bool IsNativeWindowInAsh(gfx::NativeWindow native_window); gfx 150 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc gfx::Image app_icon = launcher_controller()->GetAppListIcon(web_contents); gfx 175 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc const gfx::Image& app_icon = app_window->app_icon(); gfx 35 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc scoped_ptr<gfx::Image> GetAppListIcon(AppWindow* app_window) { gfx 42 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc return make_scoped_ptr(new gfx::Image()); gfx 50 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc new gfx::Image(gfx::ImageSkia::CreateFrom1xBitmap(bmp))); gfx 163 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc scoped_ptr<gfx::Image> image(GetAppListIcon(app_window)); gfx 24 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h namespace gfx { gfx 178 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc gfx::Image app_icon = GetBrowserListIcon(web_contents); gfx 186 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc gfx::Image app_icon = gfx 245 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc gfx::Image BrowserShortcutLauncherItemController::GetBrowserListIcon( gfx 14 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h namespace gfx { gfx 51 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h gfx::Image GetBrowserListIcon(content::WebContents* web_contents) const; gfx 199 chrome/browser/ui/ash/launcher/browser_status_monitor.cc const gfx::Display& display) { gfx 203 chrome/browser/ui/ash/launcher/browser_status_monitor.cc void BrowserStatusMonitor::OnDisplayAdded(const gfx::Display& new_display) { gfx 216 chrome/browser/ui/ash/launcher/browser_status_monitor.cc void BrowserStatusMonitor::OnDisplayRemoved(const gfx::Display& old_display) { gfx 39 chrome/browser/ui/ash/launcher/browser_status_monitor.h public gfx::DisplayObserver, gfx 71 chrome/browser/ui/ash/launcher/browser_status_monitor.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 72 chrome/browser/ui/ash/launcher/browser_status_monitor.h virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 73 chrome/browser/ui/ash/launcher/browser_status_monitor.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 9 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.cc const gfx::Image* icon, gfx 12 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.cc icon_(icon ? gfx::Image(*icon) : gfx::Image()), gfx 17 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h const gfx::Image* icon, gfx 26 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h const gfx::Image& icon() const { return icon_; } gfx 44 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h const gfx::Image icon_; gfx 18 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc const gfx::Image* icon, gfx 22 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.h const gfx::Image* icon, gfx 16 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc const gfx::Image* icon, gfx 26 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.h const gfx::Image* icon, gfx 11 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.cc const gfx::Image* icon, gfx 12 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h namespace gfx { gfx 25 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h const gfx::Image* icon, gfx 113 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc gfx::Display display = gfx::Screen::GetScreenFor( gfx 731 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const gfx::ImageSkia& image) { gfx 759 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const gfx::ImageSkia& image) { gfx 1283 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc gfx::Image ChromeLauncherController::GetAppListIcon( gfx 1290 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc gfx::Image result = favicon_tab_helper->GetFavicon(); gfx 222 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h void SetLauncherItemImage(ash::ShelfID shelf_id, const gfx::ImageSkia& image); gfx 327 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h const gfx::ImageSkia& image) OVERRIDE; gfx 365 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h gfx::Image GetAppListIcon(content::WebContents* web_contents) const; gfx 276 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Point start_point = button->GetBoundsInScreen().CenterPoint(); gfx 277 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Point rip_off_point(start_point.x(), 0); gfx 1533 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1543 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect app_list_bounds = gfx 1567 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect bounds_grid_1 = item1->GetBoundsInScreen(); gfx 1578 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect bounds_shelf_1 = shelf1->GetBoundsInScreen(); gfx 1678 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc aura::test::EventGenerator generator(secondary_root_window, gfx::Point()); gfx 1688 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect app_list_bounds = gfx 1690 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Display display = gfx 1692 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc const gfx::Point& origin = display.bounds().origin(); gfx 1717 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect bounds_grid_1 = item1->GetBoundsInScreen(); gfx 1729 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect bounds_shelf_1 = shelf1->GetBoundsInScreen(); gfx 1740 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect empty_slot_rect = bounds_grid_1; gfx 1758 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1861 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::Shell::GetPrimaryRootWindow(), gfx::Point()); gfx 1870 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect app_list_bounds = gfx 1884 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc gfx::Rect bounds_grid_1 = vm_grid->view_at(1)->GetBoundsInScreen(); gfx 654 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc virtual gfx::NativeWindow GetNativeWindow() OVERRIDE { gfx 729 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc gfx::Rect(10, 10, 20, 30)); gfx 733 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc gfx::Rect(), gfx 749 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc virtual gfx::NativeWindow GetNativeWindow() OVERRIDE { gfx 2642 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc gfx::ImageSkia image; gfx 53 chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc const std::vector<gfx::Size>& original_bitmap_sizes); gfx 131 chrome/browser/ui/ash/launcher/launcher_favicon_loader.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 46 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 90 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc gfx::Size TeleportWarningView::GetPreferredSize() { gfx 91 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc return gfx::Size(kDefaultWidth, kDefaultHeight); gfx 95 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc const gfx::Insets kDialogInsets(kTopInset, kInset, kInset, kInset); gfx 110 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc title_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 121 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 133 chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc lower_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 429 chrome/browser/ui/ash/screenshot_taker.cc gfx::Rect rect = root_window->bounds(); gfx 441 chrome/browser/ui/ash/screenshot_taker.cc aura::Window* window, const gfx::Rect& rect) { gfx 578 chrome/browser/ui/ash/screenshot_taker.cc const gfx::Rect& snapshot_bounds, gfx 598 chrome/browser/ui/ash/screenshot_taker.cc const gfx::Rect& snapshot_bounds, gfx 61 chrome/browser/ui/ash/screenshot_taker.h const gfx::Rect& rect) OVERRIDE; gfx 81 chrome/browser/ui/ash/screenshot_taker.h const gfx::Rect& snapshot_bounds, gfx 85 chrome/browser/ui/ash/screenshot_taker.h const gfx::Rect& snapshot_bounds, gfx 123 chrome/browser/ui/ash/screenshot_taker_unittest.cc Shell::GetPrimaryRootWindow(), gfx::Rect(0, 0, 100, 100)); gfx 136 chrome/browser/ui/ash/session_state_delegate_chromeos.cc const gfx::ImageSkia& SessionStateDelegateChromeos::GetUserImage( gfx 45 chrome/browser/ui/ash/session_state_delegate_chromeos.h virtual const gfx::ImageSkia& GetUserImage( gfx 14 chrome/browser/ui/ash/session_state_delegate_views.cc gfx::ImageSkia null_image; gfx 87 chrome/browser/ui/ash/session_state_delegate_views.cc const gfx::ImageSkia& SessionStateDelegate::GetUserImage( gfx 42 chrome/browser/ui/ash/session_state_delegate_views.h virtual const gfx::ImageSkia& GetUserImage( gfx 25 chrome/browser/ui/ash/shelf_browsertest.cc const gfx::Rect old_bounds = browser()->window()->GetBounds(); gfx 26 chrome/browser/ui/ash/shelf_browsertest.cc const gfx::Rect new_bounds( gfx 146 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc gfx::NativeWindow GetNativeWindowByStatus(ash::user::LoginStatus login_status, gfx 814 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc gfx::NativeWindow parent_window) { gfx 820 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc gfx::NativeWindow parent_window) { gfx 1148 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc gfx::NativeWindow SystemTrayDelegateChromeOS::GetNativeWindow() const { gfx 113 chrome/browser/ui/ash/system_tray_delegate_chromeos.h gfx::NativeWindow parent_window) OVERRIDE; gfx 115 chrome/browser/ui/ash/system_tray_delegate_chromeos.h gfx::NativeWindow parent_window) OVERRIDE; gfx 183 chrome/browser/ui/ash/system_tray_delegate_chromeos.h gfx::NativeWindow GetNativeWindow() const; gfx 223 chrome/browser/ui/ash/system_tray_delegate_win.cc gfx::NativeWindow parent_window) OVERRIDE { gfx 227 chrome/browser/ui/ash/system_tray_delegate_win.cc gfx::NativeWindow parent_window) OVERRIDE { gfx 60 chrome/browser/ui/ash/user_wallpaper_delegate_win.cc gfx::ImageSkia wallpaper = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 36 chrome/browser/ui/ash/window_positioner_unittest.cc virtual gfx::NativeWindow GetNativeWindow() OVERRIDE { gfx 41 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::NativeWindow native_window_; gfx 104 chrome/browser/ui/ash/window_positioner_unittest.cc window_->SetBounds(gfx::Rect(16, 32, 640, 320)); gfx 106 chrome/browser/ui/ash/window_positioner_unittest.cc popup_->SetBounds(gfx::Rect(16, 32, 128, 256)); gfx 153 chrome/browser/ui/ash/window_positioner_unittest.cc const gfx::Rect work_area = gfx 160 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect popup_position(0, 0, 200, 200); gfx 162 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect cascade_1 = window_positioner()->GetPopupPosition(popup_position); gfx 163 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x() + grid_size_, work_area.y() + grid_size_, gfx 167 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect cascade_2 = window_positioner()->GetPopupPosition(popup_position); gfx 168 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x() + 2 * grid_size_, gfx 174 chrome/browser/ui/ash/window_positioner_unittest.cc window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width() - 1, gfx 181 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect cascade_3 = window_positioner()->GetPopupPosition(popup_position); gfx 182 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x() + 3 * grid_size_, gfx 188 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect popup_position_4(0, 0, 200, gfx 191 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect cascade_4 = gfx 193 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x() + 2 * grid_size_, gfx 200 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect popup_position_5(0, 0, gfx 205 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect cascade_5 = gfx 207 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x() + grid_size_, gfx 214 chrome/browser/ui/ash/window_positioner_unittest.cc const gfx::Rect work_area = gfx 216 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect popup_position(0, 0, 256, 128); gfx 218 chrome/browser/ui/ash/window_positioner_unittest.cc window()->SetBounds(gfx::Rect(work_area.x() + popup_position.width(), gfx 224 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect top_left = window_positioner()->GetPopupPosition(popup_position); gfx 225 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x(), work_area.y(), gfx 232 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect mid_left = window_positioner()->GetPopupPosition(popup_position); gfx 233 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x(), gfx 243 chrome/browser/ui/ash/window_positioner_unittest.cc popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), gfx 247 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect bottom_left = window_positioner()->GetPopupPosition( gfx 249 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x(), gfx 255 chrome/browser/ui/ash/window_positioner_unittest.cc popup()->SetBounds(gfx::Rect(work_area.x(), work_area.y(), gfx 259 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect top_right = window_positioner()->GetPopupPosition( gfx 261 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(AlignToGridRoundDown(work_area.right() - gfx 269 chrome/browser/ui/ash/window_positioner_unittest.cc const gfx::Rect work_area = gfx 272 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect pop_position(0, 0, work_area.width(), work_area.height()); gfx 275 chrome/browser/ui/ash/window_positioner_unittest.cc gfx::Rect full = window_positioner()->GetPopupPosition(pop_position); gfx 276 chrome/browser/ui/ash/window_positioner_unittest.cc EXPECT_EQ(gfx::Rect(work_area.x(), work_area.y(), gfx 89 chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, gfx 909 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc const gfx::Size no_notification_size = GetViewTester()->GetSize(); gfx 266 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::NativeWindow native_window = gfx 497 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image CreditCardIconForType(const std::string& credit_card_type) { gfx 500 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image result = rb.GetImageNamed(input_card_idr); gfx 506 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc result = gfx::Image(gfx::ImageSkiaOperations::CreateTransparentImage( gfx 512 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image CvcIconForCreditCardType(const base::string16& credit_card_type) { gfx 944 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const std::vector<gfx::Range>& AutofillDialogControllerImpl:: gfx 1179 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc legal_document_link_ranges_.push_back(gfx::Range( gfx 1318 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image AutofillDialogControllerImpl::GetGeneratedCardImage( gfx 1325 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const gfx::Size size(kCardWidthPx, kCardHeightPx); gfx 1328 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Canvas canvas(size, ui::GetImageScale(scale_factor), false); gfx 1330 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Rect display_rect(size); gfx 1332 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc skia::RefPtr<SkShader> shader = gfx::CreateGradientShader( gfx 1339 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Font font(l10n_util::GetStringUTF8(IDS_FIXED_FONT_FAMILY), 18); gfx 1340 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::FontList font_list(font); gfx 1341 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::ShadowValues shadows; gfx 1342 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc shadows.push_back(gfx::ShadowValue(gfx::Point(0, 1), 1.0, SK_ColorBLACK)); gfx 1357 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::ImageSkia skia(canvas.ExtractImageRep()); gfx 1358 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return gfx::Image(skia); gfx 1452 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image AutofillDialogControllerImpl::AccountChooserImage() { gfx 1458 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return gfx::Image(); gfx 1461 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image AutofillDialogControllerImpl::ButtonStripImage() const { gfx 1467 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return gfx::Image(); gfx 1658 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image AutofillDialogControllerImpl::SuggestionIconForSection( gfx 1662 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return gfx::Image(); gfx 1667 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image AutofillDialogControllerImpl::ExtraSuggestionIconForSection( gfx 1670 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return gfx::Image(); gfx 1674 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return gfx::Image(); gfx 1955 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::NativeView parent_view, gfx 1956 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const gfx::Rect& content_bounds, gfx 2167 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const gfx::Range& range) { gfx 2742 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Rect window_bounds; gfx 2871 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::Image icon = instruments[i]->CardIcon(); gfx 2876 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc icon = gfx::Image( gfx 2877 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc gfx::ImageSkia::CreateFrom1xBitmap(disabled_bitmap)); gfx 3654 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const gfx::Animation* animation) { gfx 3660 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const gfx::Animation* animation) { gfx 82 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h public gfx::AnimationDelegate, gfx 116 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual gfx::Image AccountChooserImage() OVERRIDE; gfx 117 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual gfx::Image ButtonStripImage() const OVERRIDE; gfx 121 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual const std::vector<gfx::Range>& LegalDocumentLinks() OVERRIDE; gfx 144 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h gfx::NativeView parent_view, gfx 145 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const gfx::Rect& content_bounds, gfx 158 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual void LegalDocumentLinkClicked(const gfx::Range& range) OVERRIDE; gfx 222 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 223 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 385 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h gfx::Image GetGeneratedCardImage(const base::string16& card_number, gfx 467 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h gfx::Image SuggestionIconForSection(DialogSection section); gfx 469 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h gfx::Image ExtraSuggestionIconForSection(DialogSection section); gfx 686 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h std::vector<gfx::Range> legal_document_link_ranges_; gfx 812 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h gfx::LinearAnimation card_generated_animation_; gfx 208 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc const gfx::Point& screen_point) OVERRIDE { gfx 224 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE {} gfx 2289 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 2290 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 3093 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Image placeholder_icon = icons[CREDIT_CARD_NUMBER]; gfx 3109 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Image supported_card_icon = rb.GetImageNamed(kSupportedCardIdrs[i]); gfx 3137 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 3138 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 3149 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 3150 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 3162 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 3163 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 3195 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 3196 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 3367 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 3368 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 3382 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 3383 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 3404 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::NativeView(), gfx 3405 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc gfx::Rect(), gfx 44 chrome/browser/ui/autofill/autofill_dialog_models.cc const gfx::Image& icon) { gfx 61 chrome/browser/ui/autofill/autofill_dialog_models.cc const gfx::Image& icon) { gfx 50 chrome/browser/ui/autofill/autofill_dialog_models.h const gfx::Image& icon); gfx 64 chrome/browser/ui/autofill/autofill_dialog_models.h const gfx::Image& icon); gfx 51 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc const gfx::Size& minimum_size, gfx 52 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc const gfx::Size& maximum_size) gfx 69 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc const gfx::Size& preferred_size) { gfx 92 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc const gfx::Rect& initial_pos, gfx 119 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc const gfx::Size& minimum_size, gfx 120 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.cc const gfx::Size& maximum_size) { gfx 29 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h const gfx::Size& minimum_size, gfx 30 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h const gfx::Size& maximum_size); gfx 34 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h const gfx::Size& preferred_size) OVERRIDE; gfx 41 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h const gfx::Rect& initial_pos, gfx 53 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h void UpdateLimitsAndEnableAutoResize(const gfx::Size& minimum_size, gfx 54 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h const gfx::Size& maximum_size); gfx 70 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h gfx::Size minimum_size_; gfx 71 chrome/browser/ui/autofill/autofill_dialog_sign_in_delegate.h gfx::Size maximum_size_; gfx 46 chrome/browser/ui/autofill/autofill_dialog_types.cc link_range_ = gfx::Range(start, end); gfx 121 chrome/browser/ui/autofill/autofill_dialog_types.cc const gfx::Image& icon, gfx 123 chrome/browser/ui/autofill/autofill_dialog_types.cc const gfx::Image& extra_icon) gfx 111 chrome/browser/ui/autofill/autofill_dialog_types.h const gfx::Range& link_range() const { return link_range_; } gfx 128 chrome/browser/ui/autofill/autofill_dialog_types.h gfx::Range link_range_; gfx 146 chrome/browser/ui/autofill/autofill_dialog_types.h const gfx::Image& icon, gfx 148 chrome/browser/ui/autofill/autofill_dialog_types.h const gfx::Image& extra_icon); gfx 161 chrome/browser/ui/autofill/autofill_dialog_types.h gfx::Image icon; gfx 163 chrome/browser/ui/autofill/autofill_dialog_types.h gfx::Image extra_icon; gfx 175 chrome/browser/ui/autofill/autofill_dialog_types.h gfx::FontList font_list; gfx 186 chrome/browser/ui/autofill/autofill_dialog_types.h gfx::Image image; gfx 14 chrome/browser/ui/autofill/autofill_dialog_view.h namespace gfx { gfx 85 chrome/browser/ui/autofill/autofill_dialog_view.h const gfx::Point& screen_point) = 0; gfx 102 chrome/browser/ui/autofill/autofill_dialog_view.h virtual void OnSignInResize(const gfx::Size& pref_size) = 0; gfx 28 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h namespace gfx { gfx 39 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h typedef std::map<ServerFieldType, gfx::Image> FieldIconMap; gfx 84 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual gfx::Image AccountChooserImage() = 0; gfx 88 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual gfx::Image ButtonStripImage() const = 0; gfx 101 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual const std::vector<gfx::Range>& LegalDocumentLinks() = 0; gfx 162 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h gfx::NativeView parent_view, gfx 163 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h const gfx::Rect& content_bounds, gfx 199 chrome/browser/ui/autofill/autofill_dialog_view_delegate.h virtual void LegalDocumentLinkClicked(const gfx::Range& range) = 0; gfx 51 chrome/browser/ui/autofill/autofill_dialog_view_tester.h virtual gfx::Size GetSize() const = 0; gfx 14 chrome/browser/ui/autofill/autofill_popup_controller.h namespace gfx { gfx 44 chrome/browser/ui/autofill/autofill_popup_controller.h virtual void SetPopupBounds(const gfx::Rect& bounds) = 0; gfx 48 chrome/browser/ui/autofill/autofill_popup_controller.h virtual gfx::Rect GetRowBounds(size_t index) = 0; gfx 51 chrome/browser/ui/autofill/autofill_popup_controller.h virtual const gfx::RectF& element_bounds() const = 0; gfx 74 chrome/browser/ui/autofill/autofill_popup_controller.h virtual const gfx::FontList& GetNameFontListForRow(size_t index) const = 0; gfx 75 chrome/browser/ui/autofill/autofill_popup_controller.h virtual const gfx::FontList& subtext_font_list() const = 0; gfx 71 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::NativeView container_view, gfx 72 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const gfx::RectF& element_bounds, gfx 96 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::NativeView container_view, gfx 97 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const gfx::RectF& element_bounds, gfx 117 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc warning_font_list_ = name_font_list_.DeriveWithStyle(gfx::Font::ITALIC); gfx 140 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc int name_width = gfx::GetStringWidth(names_[i], GetNameFontListForRow(i)); gfx 141 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc int subtext_width = gfx::GetStringWidth(subtexts_[i], subtext_font_list()); gfx 153 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc names_[i] = gfx::ElideText(names_[i], gfx 156 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::ELIDE_AT_END); gfx 159 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc subtexts_[i] = gfx::ElideText(subtexts_[i], gfx 162 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::ELIDE_AT_END); gfx 301 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc void AutofillPopupControllerImpl::SetSelectionAtPoint(const gfx::Point& point) { gfx 358 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::Rect AutofillPopupControllerImpl::GetRowBounds(size_t index) { gfx 364 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc return gfx::Rect( gfx 371 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc void AutofillPopupControllerImpl::SetPopupBounds(const gfx::Rect& bounds) { gfx 376 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const gfx::Rect& AutofillPopupControllerImpl::popup_bounds() const { gfx 384 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::NativeView AutofillPopupControllerImpl::container_view() { gfx 388 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const gfx::RectF& AutofillPopupControllerImpl::element_bounds() const { gfx 414 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const gfx::FontList& AutofillPopupControllerImpl::GetNameFontListForRow( gfx 422 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc const gfx::FontList& AutofillPopupControllerImpl::subtext_font_list() const { gfx 580 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::GetStringWidth(names()[i], name_font_list_) + gfx 581 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc gfx::GetStringWidth(subtexts()[i], subtext_font_list_) + gfx 639 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc popup_bounds_ = gfx::Rect(); gfx 36 chrome/browser/ui/autofill/autofill_popup_controller_impl.h gfx::NativeView container_view, gfx 37 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const gfx::RectF& element_bounds, gfx 70 chrome/browser/ui/autofill/autofill_popup_controller_impl.h gfx::NativeView container_view, gfx 71 chrome/browser/ui/autofill/autofill_popup_controller_impl.h const gfx::RectF& element_bounds, gfx 77 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual void SetSelectionAtPoint(const gfx::Point& point) OVERRIDE; gfx 87 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual gfx::Rect GetRowBounds(size_t index) OVERRIDE; gfx 88 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual void SetPopupBounds(const gfx::Rect& bounds) OVERRIDE; gfx 89 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual const gfx::Rect& popup_bounds() const OVERRIDE; gfx 90 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual gfx::NativeView container_view() OVERRIDE; gfx 91 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual const gfx::RectF& element_bounds() const OVERRIDE; gfx 99 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual const gfx::FontList& GetNameFontListForRow( gfx 101 chrome/browser/ui/autofill/autofill_popup_controller_impl.h virtual const gfx::FontList& subtext_font_list() const OVERRIDE; gfx 179 chrome/browser/ui/autofill/autofill_popup_controller_impl.h gfx::Rect popup_bounds_; gfx 196 chrome/browser/ui/autofill/autofill_popup_controller_impl.h gfx::FontList name_font_list_; gfx 197 chrome/browser/ui/autofill/autofill_popup_controller_impl.h gfx::FontList subtext_font_list_; gfx 198 chrome/browser/ui/autofill/autofill_popup_controller_impl.h gfx::FontList warning_font_list_; gfx 113 chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc gfx::Rect new_bounds = browser()->window()->GetBounds() - gfx::Vector2d(1, 1); gfx 76 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc const gfx::RectF& element_bounds) gfx 85 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc void set_display(const gfx::Display& display) { gfx 150 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc external_delegate_->GetWeakPtr(),gfx::Rect()); gfx 179 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::Rect popup_bounds(10, 10, 100, 100); gfx 317 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::Display display(0, gfx::Rect(0, 0, 100, 100)); gfx 439 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc NULL, NULL, gfx::Rect(), base::i18n::UNKNOWN_DIRECTION); gfx 446 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc NULL, NULL, gfx::Rect(), base::i18n::UNKNOWN_DIRECTION); gfx 454 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::Rect(), gfx 461 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::Rect()); gfx 464 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::RectF bounds(0.f, 0.f, 1.f, 2.f); gfx 496 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::Rect(), gfx 520 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::GetStringWidth( gfx 522 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::GetStringWidth( gfx 524 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc gfx::Rect popup_bounds = gfx::Rect(0, 0, popup_max_width, 0); gfx 525 chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc autofill_popup_controller_->set_display(gfx::Display(0, popup_bounds)); gfx 10 chrome/browser/ui/autofill/autofill_popup_view.h namespace gfx { gfx 10 chrome/browser/ui/autofill/autofill_popup_view_delegate.h namespace gfx { gfx 34 chrome/browser/ui/autofill/autofill_popup_view_delegate.h virtual void SetSelectionAtPoint(const gfx::Point& point) = 0; gfx 51 chrome/browser/ui/autofill/autofill_popup_view_delegate.h virtual const gfx::Rect& popup_bounds() const = 0; gfx 54 chrome/browser/ui/autofill/autofill_popup_view_delegate.h virtual gfx::NativeView container_view() = 0; gfx 44 chrome/browser/ui/autofill/data_model_wrapper.cc gfx::Image DataModelWrapper::GetIcon() { gfx 45 chrome/browser/ui/autofill/data_model_wrapper.cc return gfx::Image(); gfx 195 chrome/browser/ui/autofill/data_model_wrapper.cc gfx::Image AutofillCreditCardWrapper::GetIcon() { gfx 271 chrome/browser/ui/autofill/data_model_wrapper.cc gfx::Image WalletInstrumentWrapper::GetIcon() { gfx 17 chrome/browser/ui/autofill/data_model_wrapper.h namespace gfx { gfx 60 chrome/browser/ui/autofill/data_model_wrapper.h virtual gfx::Image GetIcon(); gfx 136 chrome/browser/ui/autofill/data_model_wrapper.h virtual gfx::Image GetIcon() OVERRIDE; gfx 174 chrome/browser/ui/autofill/data_model_wrapper.h virtual gfx::Image GetIcon() OVERRIDE; gfx 111 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc gfx::Image GeneratedCreditCardBubbleController::AnchorIcon() const { gfx 113 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc return gfx::Image(); gfx 208 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc bold_text.range = gfx::Range(start, start + piece.size()); gfx 224 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc end_link.range = gfx::Range(header_size - learn_more.size(), header_size); gfx 36 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h gfx::Range range; gfx 75 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h gfx::Image AnchorIcon() const; gfx 42 chrome/browser/ui/autofill/generated_credit_card_bubble_controller_unittest.cc const gfx::Range& range) { gfx 18 chrome/browser/ui/autofill/loading_animation.cc LoadingAnimation::LoadingAnimation(gfx::AnimationDelegate* delegate, gfx 36 chrome/browser/ui/autofill/loading_animation.cc double base_value = gfx::LinearAnimation::GetCurrentValue(); gfx 48 chrome/browser/ui/autofill/loading_animation.cc double value = gfx::Tween::CalculateValue(gfx::Tween::EASE_OUT, base_value); gfx 71 chrome/browser/ui/autofill/loading_animation.cc position = gfx::Tween::FloatValueBetween(inter_frame_value, gfx 13 chrome/browser/ui/autofill/loading_animation.h class LoadingAnimation : public gfx::LinearAnimation { gfx 15 chrome/browser/ui/autofill/loading_animation.h explicit LoadingAnimation(gfx::AnimationDelegate* delegate, gfx 27 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc DefaultValue<gfx::Image>::Set(gfx::Image()); gfx 31 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc gfx::Image(), gfx 33 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc gfx::Image())); gfx 74 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc DefaultValue<gfx::Image>::Clear(); gfx 37 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_METHOD0(AccountChooserImage, gfx::Image()); gfx 39 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_CONST_METHOD0(ButtonStripImage, gfx::Image()); gfx 43 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_METHOD0(LegalDocumentLinks, const std::vector<gfx::Range>&()); gfx 65 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h gfx::NativeView, gfx 66 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h const gfx::Rect&, gfx 79 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h MOCK_METHOD1(LegalDocumentLinkClicked, void(const gfx::Range&)); gfx 95 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h std::vector<gfx::Range> range_; gfx 33 chrome/browser/ui/autofill/new_credit_card_bubble_controller.h gfx::Image icon; gfx 11 chrome/browser/ui/autofill/password_generation_popup_controller.h namespace gfx { gfx 33 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual const gfx::FontList& font_list() const = 0; gfx 34 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual const gfx::Rect& password_bounds() const = 0; gfx 35 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual const gfx::Rect& divider_bounds() const = 0; gfx 36 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual const gfx::Rect& help_bounds() const = 0; gfx 44 chrome/browser/ui/autofill/password_generation_popup_controller.h virtual const gfx::Range& HelpTextLinkRange() = 0; gfx 37 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::RectF& bounds, gfx 43 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc gfx::NativeView container_view) { gfx 67 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::RectF& bounds, gfx 73 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc gfx::NativeView container_view) gfx 95 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc link_range_ = gfx::Range(pieces[0].size(), gfx 170 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc gfx::GetStringWidth(current_password_ + SuggestedText(), gfx 182 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc int total_length = gfx::GetStringWidth(HelpText(), font_list_); gfx 210 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc password_bounds_ = gfx::Rect( gfx 216 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc divider_bounds_ = gfx::Rect(kPopupBorderThickness, gfx 221 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc password_bounds_ = gfx::Rect(); gfx 222 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc divider_bounds_ = gfx::Rect(); gfx 228 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc help_bounds_ = gfx::Rect( gfx 289 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::Point& point) { gfx 316 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc gfx::NativeView PasswordGenerationPopupControllerImpl::container_view() { gfx 320 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::FontList& PasswordGenerationPopupControllerImpl::font_list() const { gfx 324 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::Rect& PasswordGenerationPopupControllerImpl::popup_bounds() const { gfx 328 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::Rect& PasswordGenerationPopupControllerImpl::password_bounds() gfx 333 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::Rect& PasswordGenerationPopupControllerImpl::divider_bounds() gfx 338 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::Rect& PasswordGenerationPopupControllerImpl::help_bounds() const { gfx 362 chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc const gfx::Range& PasswordGenerationPopupControllerImpl::HelpTextLinkRange() { gfx 50 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h const gfx::RectF& bounds, gfx 56 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h gfx::NativeView container_view); gfx 72 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h const gfx::RectF& element_bounds() { gfx 78 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h const gfx::RectF& bounds, gfx 84 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h gfx::NativeView container_view); gfx 89 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual void SetSelectionAtPoint(const gfx::Point& point) OVERRIDE; gfx 95 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual gfx::NativeView container_view() OVERRIDE; gfx 96 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual const gfx::FontList& font_list() const OVERRIDE; gfx 97 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual const gfx::Rect& popup_bounds() const OVERRIDE; gfx 98 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual const gfx::Rect& password_bounds() const OVERRIDE; gfx 99 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual const gfx::Rect& divider_bounds() const OVERRIDE; gfx 100 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual const gfx::Rect& help_bounds() const OVERRIDE; gfx 106 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h virtual const gfx::Range& HelpTextLinkRange() OVERRIDE; gfx 144 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h const gfx::FontList& font_list_; gfx 149 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h gfx::Range link_range_; gfx 158 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h gfx::Rect popup_bounds_; gfx 159 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h gfx::Rect password_bounds_; gfx 160 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h gfx::Rect divider_bounds_; gfx 161 chrome/browser/ui/autofill/password_generation_popup_controller_impl.h gfx::Rect help_bounds_; gfx 20 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::RectF& element_bounds, gfx 21 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::NativeView container_view, gfx 52 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Display PopupControllerCommon::GetDisplayNearestPoint( gfx 53 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::Point& point) const { gfx 54 chrome/browser/ui/autofill/popup_controller_common.cc return gfx::Screen::GetScreenFor(container_view_)->GetDisplayNearestPoint( gfx 58 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::Rect PopupControllerCommon::RoundedElementBounds() const { gfx 59 chrome/browser/ui/autofill/popup_controller_common.cc return gfx::ToEnclosingRect(element_bounds_); gfx 63 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::Display& left_display, gfx 64 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::Display& right_display, gfx 94 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::Display& top_display, gfx 95 chrome/browser/ui/autofill/popup_controller_common.cc const gfx::Display& bottom_display, gfx 125 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Rect PopupControllerCommon::GetPopupBounds( gfx 131 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Point top_left_corner_of_popup = RoundedElementBounds().origin() + gfx 132 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Vector2d(RoundedElementBounds().width() - popup_required_width, gfx 138 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Point bottom_right_corner_of_popup = RoundedElementBounds().origin() + gfx 139 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Vector2d(popup_required_width, gfx 142 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Display top_left_display = GetDisplayNearestPoint( gfx 144 chrome/browser/ui/autofill/popup_controller_common.cc gfx::Display bottom_right_display = GetDisplayNearestPoint( gfx 156 chrome/browser/ui/autofill/popup_controller_common.cc return gfx::Rect(popup_x_and_width.first, gfx 19 chrome/browser/ui/autofill/popup_controller_common.h namespace gfx { gfx 30 chrome/browser/ui/autofill/popup_controller_common.h PopupControllerCommon(const gfx::RectF& element_bounds, gfx 31 chrome/browser/ui/autofill/popup_controller_common.h gfx::NativeView container_view, gfx 35 chrome/browser/ui/autofill/popup_controller_common.h const gfx::RectF& element_bounds() const { return element_bounds_; } gfx 36 chrome/browser/ui/autofill/popup_controller_common.h gfx::NativeView container_view() { return container_view_; } gfx 40 chrome/browser/ui/autofill/popup_controller_common.h const gfx::Rect RoundedElementBounds() const; gfx 45 chrome/browser/ui/autofill/popup_controller_common.h gfx::Rect GetPopupBounds(int desired_height, int desired_width) const; gfx 65 chrome/browser/ui/autofill/popup_controller_common.h virtual gfx::Display GetDisplayNearestPoint(const gfx::Point& point) const; gfx 71 chrome/browser/ui/autofill/popup_controller_common.h const gfx::Display& left_display, gfx 72 chrome/browser/ui/autofill/popup_controller_common.h const gfx::Display& right_display, gfx 78 chrome/browser/ui/autofill/popup_controller_common.h const gfx::Display& top_display, gfx 79 chrome/browser/ui/autofill/popup_controller_common.h const gfx::Display& bottom_display, gfx 84 chrome/browser/ui/autofill/popup_controller_common.h gfx::RectF element_bounds_; gfx 87 chrome/browser/ui/autofill/popup_controller_common.h gfx::NativeView container_view_; gfx 29 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Display display(0, gfx 30 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect(0, 0, 2 * desired_width, 2 * desired_height)); gfx 34 chrome/browser/ui/autofill/popup_controller_common_unittest.cc std::vector<gfx::RectF> element_bounds; gfx 35 chrome/browser/ui/autofill/popup_controller_common_unittest.cc std::vector<gfx::Rect> expected_popup_bounds; gfx 38 chrome/browser/ui/autofill/popup_controller_common_unittest.cc element_bounds.push_back(gfx::RectF(0, 0, 0, 0)); gfx 40 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect(0, 0, desired_width, desired_height)); gfx 43 chrome/browser/ui/autofill/popup_controller_common_unittest.cc element_bounds.push_back(gfx::RectF(2 * desired_width, 0, 0, 0)); gfx 45 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect(desired_width, 0, desired_width, desired_height)); gfx 48 chrome/browser/ui/autofill/popup_controller_common_unittest.cc element_bounds.push_back(gfx::RectF(0, 2 * desired_height, 0, 0)); gfx 50 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect(0, desired_height, desired_width, desired_height)); gfx 54 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::RectF(2 * desired_width, 2 * desired_height, 0, 0)); gfx 56 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect(desired_width, desired_height, desired_width, desired_height)); gfx 60 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::RectF(-desired_width / 2, -desired_height / 2, 0, 0)); gfx 62 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect(0, 0, desired_width, desired_height)); gfx 67 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::RectF(desired_width * 1.5, desired_height * 1.5, 0, 0)); gfx 69 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect((desired_width + 1) / 2, (desired_height + 1) / 2, gfx 76 chrome/browser/ui/autofill/popup_controller_common_unittest.cc gfx::Rect actual_popup_bounds = gfx 116 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc const gfx::RectF& element_bounds, gfx 124 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc gfx::Rect client_area; gfx 126 chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc gfx::RectF element_bounds_in_screen_space = gfx 54 chrome/browser/ui/autofill/tab_autofill_manager_delegate.h const gfx::RectF& element_bounds, gfx 10 chrome/browser/ui/autofill/test_popup_controller_common.cc const gfx::RectF& element_bounds) gfx 14 chrome/browser/ui/autofill/test_popup_controller_common.cc gfx::Display TestPopupControllerCommon::GetDisplayNearestPoint( gfx 15 chrome/browser/ui/autofill/test_popup_controller_common.cc const gfx::Point& point) const { gfx 16 chrome/browser/ui/autofill/test_popup_controller_common.h explicit TestPopupControllerCommon(const gfx::RectF& element_bounds); gfx 19 chrome/browser/ui/autofill/test_popup_controller_common.h void set_display(const gfx::Display& display) { display_ = display; } gfx 23 chrome/browser/ui/autofill/test_popup_controller_common.h virtual gfx::Display GetDisplayNearestPoint( gfx 24 chrome/browser/ui/autofill/test_popup_controller_common.h const gfx::Point& point) const OVERRIDE; gfx 27 chrome/browser/ui/autofill/test_popup_controller_common.h gfx::Display display_; gfx 358 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc gfx::Size window_size = popup->GetView()->GetContainerSize(); gfx 34 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc gfx::NativeWindow parent_window, gfx 53 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h gfx::NativeWindow parent_window, gfx 101 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h gfx::NativeWindow parent_window_; gfx 22 chrome/browser/ui/bookmarks/bookmark_drag_drop.h gfx::NativeView view, gfx 101 chrome/browser/ui/bookmarks/bookmark_editor.h static void Show(gfx::NativeWindow parent_window, gfx 111 chrome/browser/ui/bookmarks/bookmark_utils.cc bool ShouldOpenAll(gfx::NativeWindow parent, gfx 188 chrome/browser/ui/bookmarks/bookmark_utils.cc void OpenAll(gfx::NativeWindow parent, gfx 230 chrome/browser/ui/bookmarks/bookmark_utils.cc void OpenAll(gfx::NativeWindow parent, gfx 241 chrome/browser/ui/bookmarks/bookmark_utils.cc gfx::NativeWindow window) { gfx 45 chrome/browser/ui/bookmarks/bookmark_utils.h void OpenAll(gfx::NativeWindow parent, gfx 52 chrome/browser/ui/bookmarks/bookmark_utils.h void OpenAll(gfx::NativeWindow parent, gfx 60 chrome/browser/ui/bookmarks/bookmark_utils.h gfx::NativeWindow window); gfx 276 chrome/browser/ui/browser.cc const gfx::Rect& window_bounds, gfx 525 chrome/browser/ui/browser.cc find_bar_controller_->find_bar()->MoveWindowIfNecessary(gfx::Rect(), true); gfx 545 chrome/browser/ui/browser.cc gfx::Image Browser::GetCurrentPageIcon() const { gfx 551 chrome/browser/ui/browser.cc return favicon_tab_helper ? favicon_tab_helper->GetFavicon() : gfx::Image(); gfx 840 chrome/browser/ui/browser.cc gfx::NativeWindow parent_window = window_->GetNativeWindow(); gfx 1030 chrome/browser/ui/browser.cc find_bar_controller_->find_bar()->MoveWindowIfNecessary(gfx::Rect(), true); gfx 1166 chrome/browser/ui/browser.cc const gfx::Rect& anchor_in_root_view, gfx 1185 chrome/browser/ui/browser.cc const gfx::Rect& anchor_in_root_view) { gfx 1324 chrome/browser/ui/browser.cc const gfx::Rect& initial_pos, gfx 1368 chrome/browser/ui/browser.cc void Browser::MoveContents(WebContents* source, const gfx::Rect& pos) { gfx 1392 chrome/browser/ui/browser.cc WebContents* source, const gfx::Point& location, bool motion) { gfx 1420 chrome/browser/ui/browser.cc gfx::Rect Browser::GetRootWindowResizerRect() const { gfx 1654 chrome/browser/ui/browser.cc const gfx::Size& pref_size) { gfx 1659 chrome/browser/ui/browser.cc const gfx::Size& new_size) { gfx 1666 chrome/browser/ui/browser.cc const gfx::Rect& selection_rect, gfx 1708 chrome/browser/ui/browser.cc gfx::Size Browser::GetSizeForNewRenderView( gfx 1713 chrome/browser/ui/browser.cc gfx::Size size = web_contents->GetView()->GetContainerSize(); gfx 82 chrome/browser/ui/browser.h namespace gfx { gfx 160 chrome/browser/ui/browser.h const gfx::Rect& window_bounds, gfx 187 chrome/browser/ui/browser.h gfx::Rect initial_bounds; gfx 204 chrome/browser/ui/browser.h void set_override_bounds(const gfx::Rect& bounds) { gfx 234 chrome/browser/ui/browser.h gfx::Rect override_bounds() const { return override_bounds_; } gfx 285 chrome/browser/ui/browser.h gfx::Image GetCurrentPageIcon() const; gfx 445 chrome/browser/ui/browser.h const gfx::Rect& anchor_in_root_view, gfx 452 chrome/browser/ui/browser.h const gfx::Rect& anchor_in_root_view) OVERRIDE; gfx 546 chrome/browser/ui/browser.h const gfx::Rect& initial_pos, gfx 555 chrome/browser/ui/browser.h const gfx::Rect& pos) OVERRIDE; gfx 561 chrome/browser/ui/browser.h const gfx::Point& location, gfx 566 chrome/browser/ui/browser.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 625 chrome/browser/ui/browser.h const gfx::Size& pref_size) OVERRIDE; gfx 627 chrome/browser/ui/browser.h const gfx::Size& new_size) OVERRIDE; gfx 631 chrome/browser/ui/browser.h const gfx::Rect& selection_rect, gfx 647 chrome/browser/ui/browser.h virtual gfx::Size GetSizeForNewRenderView( gfx 873 chrome/browser/ui/browser.h gfx::Rect override_bounds_; gfx 260 chrome/browser/ui/browser_browsertest.cc gfx::Size* rwhv_create_size, gfx 261 chrome/browser/ui/browser_browsertest.cc gfx::Size* rwhv_commit_size, gfx 262 chrome/browser/ui/browser_browsertest.cc gfx::Size* wcv_commit_size) { gfx 272 chrome/browser/ui/browser_browsertest.cc void set_wcv_resize_insets(const gfx::Size& wcv_resize_insets) { gfx 296 chrome/browser/ui/browser_browsertest.cc gfx::Rect bounds(browser_window_->GetBounds()); gfx 297 chrome/browser/ui/browser_browsertest.cc gfx::Size size(bounds.size()); gfx 319 chrome/browser/ui/browser_browsertest.cc gfx::Size rwhv_create_size; // Size of RenderWidgetHostView when created. gfx 320 chrome/browser/ui/browser_browsertest.cc gfx::Size rwhv_commit_size; // Size of RenderWidgetHostView when committed. gfx 321 chrome/browser/ui/browser_browsertest.cc gfx::Size wcv_commit_size; // Size of WebContentsView when committed. gfx 328 chrome/browser/ui/browser_browsertest.cc gfx::Size wcv_resize_insets_; gfx 2506 chrome/browser/ui/browser_browsertest.cc const gfx::Size initial_wcv_size = gfx 2517 chrome/browser/ui/browser_browsertest.cc gfx::Size rwhv_create_size0, rwhv_commit_size0, wcv_commit_size0; gfx 2523 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(gfx::Size(initial_wcv_size.width(), gfx 2541 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(gfx::Size(wcv_commit_size0.width(), gfx 2554 chrome/browser/ui/browser_browsertest.cc gfx::Size rwhv_create_size1, rwhv_commit_size1, wcv_commit_size1; gfx 2567 chrome/browser/ui/browser_browsertest.cc gfx::Size wcv_resize_insets(1, 1); gfx 2572 chrome/browser/ui/browser_browsertest.cc gfx::Size rwhv_create_size2, rwhv_commit_size2, wcv_commit_size2; gfx 2593 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(gfx::Size(initial_wcv_size.width(), gfx 2596 chrome/browser/ui/browser_browsertest.cc gfx::Size exp_commit_size(initial_wcv_size); gfx 2607 chrome/browser/ui/browser_browsertest.cc gfx::Size exp_final_size(initial_wcv_size); gfx 674 chrome/browser/ui/browser_commands.cc gfx::Rect(), gfx 685 chrome/browser/ui/browser_commands.cc new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), gfx 1203 chrome/browser/ui/browser_commands.cc new_window->SetBounds(gfx::Rect(new_window->GetRestoredBounds().origin(), gfx 1263 chrome/browser/ui/browser_commands.cc Browser::TYPE_POPUP, app_name, gfx::Rect(), browser->profile(), gfx 52 chrome/browser/ui/browser_dialogs.h gfx::NativeWindow ShowWebDialog(gfx::NativeWindow parent, gfx 78 chrome/browser/ui/browser_dialogs.h void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, gfx 85 chrome/browser/ui/browser_dialogs.h void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, gfx 150 chrome/browser/ui/browser_finder.cc Browser* FindBrowserWithWindow(gfx::NativeWindow window) { gfx 53 chrome/browser/ui/browser_finder.h Browser* FindBrowserWithWindow(gfx::NativeWindow window); gfx 243 chrome/browser/ui/browser_focus_uitest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); gfx 156 chrome/browser/ui/browser_navigator.h gfx::Rect window_bounds; gfx 123 chrome/browser/ui/browser_navigator_browsertest.cc Browser::TYPE_POPUP, "Test", gfx::Rect(), profile, gfx 445 chrome/browser/ui/browser_navigator_browsertest.cc p.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 471 chrome/browser/ui/browser_navigator_browsertest.cc p.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 493 chrome/browser/ui/browser_navigator_browsertest.cc p1.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 498 chrome/browser/ui/browser_navigator_browsertest.cc p2.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 522 chrome/browser/ui/browser_navigator_browsertest.cc p.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 548 chrome/browser/ui/browser_navigator_browsertest.cc p1.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 553 chrome/browser/ui/browser_navigator_browsertest.cc p2.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 583 chrome/browser/ui/browser_navigator_browsertest.cc p.window_bounds = gfx::Rect(0, 0, 200, 200); gfx 701 chrome/browser/ui/browser_navigator_browsertest.cc p.window_bounds = gfx::Rect(10, 10, 500, 500); gfx 97 chrome/browser/ui/browser_tab_restore_service_delegate.cc Browser::TYPE_POPUP, app_name, gfx::Rect(), profile, gfx 53 chrome/browser/ui/browser_tab_strip_model_delegate.cc const gfx::Rect& window_bounds, gfx 28 chrome/browser/ui/browser_tab_strip_model_delegate.h const gfx::Rect& window_bounds, gfx 51 chrome/browser/ui/browser_tabstrip.cc const gfx::Rect& initial_pos, gfx 21 chrome/browser/ui/browser_tabstrip.h namespace gfx { gfx 47 chrome/browser/ui/browser_tabstrip.h const gfx::Rect& initial_pos, gfx 52 chrome/browser/ui/browser_window.h namespace gfx { gfx 206 chrome/browser/ui/browser_window.h virtual gfx::Rect GetRootWindowResizerRect() const = 0; gfx 333 chrome/browser/ui/browser_window.h const gfx::Rect& bounds) = 0; gfx 349 chrome/browser/ui/browser_window.h const gfx::Size& pref_size) {} gfx 353 chrome/browser/ui/browser_window.h const gfx::Size& new_size) {} gfx 368 chrome/browser/ui/browser_window.h const gfx::Rect& rect) = 0; gfx 383 chrome/browser/ui/browser_window.h const gfx::Rect& rect, gfx 68 chrome/browser/ui/browser_window_state.cc const gfx::Rect& bounds, gfx 81 chrome/browser/ui/browser_window_state.cc gfx::Rect* bounds, gfx 102 chrome/browser/ui/browser_window_state.cc *bounds = gfx::Rect(0, 0, 800, 600); gfx 111 chrome/browser/ui/browser_window_state.cc bounds->set_size(gfx::Size(width, height)); gfx 118 chrome/browser/ui/browser_window_state.cc bounds->set_origin(gfx::Point(x, y)); gfx 14 chrome/browser/ui/browser_window_state.h namespace gfx { gfx 25 chrome/browser/ui/browser_window_state.h const gfx::Rect& bounds, gfx 32 chrome/browser/ui/browser_window_state.h gfx::Rect* bounds, gfx 63 chrome/browser/ui/certificate_dialogs.cc Exporter(WebContents* web_contents, gfx::NativeWindow parent, gfx 79 chrome/browser/ui/certificate_dialogs.cc gfx::NativeWindow parent, gfx 147 chrome/browser/ui/certificate_dialogs.cc gfx::NativeWindow parent, gfx 178 chrome/browser/ui/certificate_dialogs.cc gfx::NativeWindow parent, gfx 18 chrome/browser/ui/certificate_dialogs.h gfx::NativeWindow parent, gfx 22 chrome/browser/ui/certificate_dialogs.h gfx::NativeWindow parent, gfx 55 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 56 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 58 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 68 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 127 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::Insets GetFrameInsets() const OVERRIDE; gfx 135 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::Size GetContentMinimumSize() const OVERRIDE; gfx 136 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::Size GetContentMaximumSize() const OVERRIDE; gfx 137 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual void SetContentSizeConstraints(const gfx::Size& min_size, gfx 138 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h const gfx::Size& max_size) OVERRIDE; gfx 146 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::NativeView GetHostView() const OVERRIDE; gfx 147 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; gfx 148 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h virtual gfx::Size GetMaximumDialogSize() OVERRIDE; gfx 208 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h std::vector<gfx::Rect> system_drag_exclude_areas_; gfx 54 chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h const gfx::Point& screen_point) OVERRIDE; gfx 59 chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; gfx 32 chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h virtual gfx::Size GetSize() const OVERRIDE; gfx 46 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 54 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 69 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 71 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 99 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 145 chrome/browser/ui/cocoa/browser_window_cocoa.h const gfx::Rect& bounds) OVERRIDE; gfx 150 chrome/browser/ui/cocoa/browser_window_cocoa.h const gfx::Rect& rect) OVERRIDE; gfx 153 chrome/browser/ui/cocoa/browser_window_cocoa.h const gfx::Rect& rect, gfx 201 chrome/browser/ui/cocoa/browser_window_controller.h - (gfx::Rect)enforceMinWindowSize:(gfx::Rect)bounds; gfx 20 chrome/browser/ui/cocoa/download/background_theme.h virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE; gfx 24 chrome/browser/ui/cocoa/download/download_item_controller.h namespace gfx { gfx 67 chrome/browser/ui/cocoa/download/download_item_controller.h scoped_ptr<gfx::FontList> font_list_; gfx 18 chrome/browser/ui/cocoa/download/download_item_mac.h namespace gfx{ gfx 46 chrome/browser/ui/cocoa/download/download_item_mac.h void OnExtractIconComplete(gfx::Image* icon_bitmap); gfx 42 chrome/browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h gfx::Image LoadInstallPromptIcon(); gfx 36 chrome/browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.h gfx::NativeWindow window, gfx 74 chrome/browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.h gfx::NativeWindow window_; gfx 33 chrome/browser/ui/cocoa/extensions/extension_view_mac.h const gfx::Size& new_size) {} gfx 45 chrome/browser/ui/cocoa/extensions/extension_view_mac.h gfx::NativeView native_view(); gfx 59 chrome/browser/ui/cocoa/extensions/extension_view_mac.h void ResizeDueToAutoResize(const gfx::Size& new_size); gfx 91 chrome/browser/ui/cocoa/extensions/extension_view_mac.h gfx::Size pending_preferred_size_; gfx 63 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h const gfx::Range& selected_range) OVERRIDE; gfx 65 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h virtual gfx::Range GetSelectedRange() OVERRIDE; gfx 73 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h virtual void MoveWindowIfNecessary(const gfx::Rect& selection_rect, gfx 77 chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h virtual bool GetFindBarWindowInfo(gfx::Point* position, gfx 100 chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h - (gfx::Point)findBarWindowPosition; gfx 20 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.h virtual void Show(gfx::NativeWindow context, gfx 21 chrome/browser/ui/cocoa/media_picker/desktop_media_picker_cocoa.h gfx::NativeWindow parent, gfx 12 chrome/browser/ui/cocoa/notifications/balloon_view_bridge.h namespace gfx { gfx 28 chrome/browser/ui/cocoa/notifications/balloon_view_bridge.h virtual gfx::Size GetSize() const OVERRIDE; gfx 21 chrome/browser/ui/cocoa/notifications/balloon_view_host_mac.h void UpdateActualSize(const gfx::Size& new_size); gfx 24 chrome/browser/ui/cocoa/notifications/balloon_view_host_mac.h gfx::NativeView native_view() const; gfx 37 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h virtual gfx::Rect GetTargetBounds() OVERRIDE; gfx 62 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 63 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; gfx 21 chrome/browser/ui/cocoa/panels/panel_cocoa.h PanelCocoa(Panel* panel, const gfx::Rect& bounds, bool always_on_top); gfx 27 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual gfx::Rect GetPanelBounds() const OVERRIDE; gfx 28 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; gfx 29 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; gfx 35 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual gfx::NativeWindow GetNativePanelWindow() OVERRIDE; gfx 58 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual gfx::Size WindowSizeFromContentSize( gfx 59 chrome/browser/ui/cocoa/panels/panel_cocoa.h const gfx::Size& content_size) const OVERRIDE; gfx 60 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual gfx::Size ContentSizeFromWindowSize( gfx 61 chrome/browser/ui/cocoa/panels/panel_cocoa.h const gfx::Size& window_size) const OVERRIDE; gfx 77 chrome/browser/ui/cocoa/panels/panel_cocoa.h void set_cached_bounds_directly(const gfx::Rect& bounds) { bounds_ = bounds; } gfx 93 chrome/browser/ui/cocoa/panels/panel_cocoa.h void setBoundsInternal(const gfx::Rect& bounds, bool animate); gfx 101 chrome/browser/ui/cocoa/panels/panel_cocoa.h gfx::Rect bounds_; gfx 42 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h virtual void MovePanelsBy(const gfx::Vector2d& delta) OVERRIDE; gfx 45 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h const gfx::Rect& bounds) OVERRIDE; gfx 57 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h typedef std::map<Panel*, gfx::Rect> BoundsUpdates; gfx 63 chrome/browser/ui/cocoa/panels/panel_stack_window_cocoa.h gfx::Rect GetStackWindowBounds() const; gfx 18 chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h NSRect ConvertRectToCocoaCoordinates(const gfx::Rect& bounds); gfx 23 chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h gfx::Rect ConvertRectFromCocoaCoordinates(NSRect bounds); gfx 28 chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h NSPoint ConvertPointToCocoaCoordinates(const gfx::Point& point); gfx 33 chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h gfx::Point ConvertPointFromCocoaCoordinates(NSPoint point); gfx 38 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) gfx 42 chrome/browser/ui/cocoa/status_bubble_mac.h virtual void MouseMoved(const gfx::Point& location, gfx 61 chrome/browser/ui/cocoa/status_bubble_mac.h virtual gfx::Point GetMouseLocation(); gfx 124 chrome/browser/ui/cocoa/status_bubble_mac.h void SetFrameAvoidingMouse(NSRect window_frame, const gfx::Point& mouse_pos); gfx 27 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE; gfx 28 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE; gfx 30 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 19 chrome/browser/ui/cocoa/status_icons/status_tray_mac.h const gfx::ImageSkia& image, gfx 12 chrome/browser/ui/cocoa/table_row_nsimage_cache.h namespace gfx { gfx 28 chrome/browser/ui/cocoa/table_row_nsimage_cache.h virtual gfx::ImageSkia GetIcon(int row) const = 0; gfx 15 chrome/browser/ui/cocoa/tabs/media_indicator_view.h namespace gfx { gfx 23 chrome/browser/ui/cocoa/tabs/media_indicator_view.h scoped_ptr<gfx::Animation> animation_; gfx 18 chrome/browser/ui/cocoa/task_manager_mac.h namespace gfx { gfx 84 chrome/browser/ui/cocoa/task_manager_mac.h virtual gfx::ImageSkia GetIcon(int r) const OVERRIDE; gfx 108 chrome/browser/ui/cocoa/website_settings_bubble_controller.h static void Show(gfx::NativeWindow parent, gfx 12 chrome/browser/ui/confirm_bubble.h namespace gfx { gfx 21 chrome/browser/ui/confirm_bubble.h void ShowConfirmBubble(gfx::NativeView view, gfx 22 chrome/browser/ui/confirm_bubble.h const gfx::Point& origin, gfx 11 chrome/browser/ui/confirm_bubble_model.h namespace gfx { gfx 38 chrome/browser/ui/confirm_bubble_model.h virtual gfx::Image* GetIcon() const = 0; gfx 38 chrome/browser/ui/content_settings/content_setting_bubble_model.h PopupItem(const gfx::Image& image, const std::string& title, int32 popup_id) gfx 41 chrome/browser/ui/content_settings/content_setting_bubble_model.h gfx::Image image; gfx 36 chrome/browser/ui/crypto_module_password_dialog.h gfx::NativeWindow parent, gfx 33 chrome/browser/ui/crypto_module_password_dialog_nss.cc gfx::NativeWindow parent, gfx 46 chrome/browser/ui/crypto_module_password_dialog_nss.cc gfx::NativeWindow parent_; gfx 54 chrome/browser/ui/crypto_module_password_dialog_nss.cc gfx::NativeWindow parent, gfx 128 chrome/browser/ui/crypto_module_password_dialog_nss.cc gfx::NativeWindow parent, gfx 143 chrome/browser/ui/crypto_module_password_dialog_nss.cc gfx::NativeWindow parent, gfx 31 chrome/browser/ui/crypto_module_password_dialog_nss.h gfx::NativeWindow parent, gfx 40 chrome/browser/ui/crypto_module_password_dialog_nss.h gfx::NativeWindow parent, gfx 17 chrome/browser/ui/elide_url.cc using gfx::ElideText; gfx 18 chrome/browser/ui/elide_url.cc using gfx::GetStringWidthF; gfx 19 chrome/browser/ui/elide_url.cc using gfx::kEllipsisUTF16; gfx 20 chrome/browser/ui/elide_url.cc using gfx::kForwardSlash; gfx 56 chrome/browser/ui/elide_url.cc const gfx::FontList& font_list, gfx 66 chrome/browser/ui/elide_url.cc available_pixel_width, gfx::ELIDE_AT_END); gfx 112 chrome/browser/ui/elide_url.cc const gfx::FontList& font_list, gfx 126 chrome/browser/ui/elide_url.cc gfx::ELIDE_AT_END); gfx 145 chrome/browser/ui/elide_url.cc gfx::ELIDE_AT_END); gfx 197 chrome/browser/ui/elide_url.cc font_list, available_pixel_width, gfx::ELIDE_AT_END); gfx 225 chrome/browser/ui/elide_url.cc available_pixel_width, gfx::ELIDE_AT_END); gfx 278 chrome/browser/ui/elide_url.cc gfx::ELIDE_AT_END); gfx 282 chrome/browser/ui/elide_url.cc const gfx::FontList& font_list, gfx 302 chrome/browser/ui/elide_url.cc url_subdomain, font_list, subdomain_width, gfx::ELIDE_AT_BEGINNING); gfx 16 chrome/browser/ui/elide_url.h namespace gfx { gfx 35 chrome/browser/ui/elide_url.h const gfx::FontList& font_list, gfx 45 chrome/browser/ui/elide_url.h const gfx::FontList& font_list, gfx 95 chrome/browser/ui/extensions/application_launch.cc gfx::NativeWindow ShowAppList() { gfx 74 chrome/browser/ui/extensions/application_launch.h gfx::Rect override_bounds; gfx 41 chrome/browser/ui/extensions/extension_enable_flow.cc gfx::NativeWindow parent_window) { gfx 48 chrome/browser/ui/extensions/extension_enable_flow.cc base::Callback<gfx::NativeWindow(void)> window_getter) { gfx 49 chrome/browser/ui/extensions/extension_enable_flow.h void StartForNativeWindow(gfx::NativeWindow parent_window); gfx 51 chrome/browser/ui/extensions/extension_enable_flow.h base::Callback<gfx::NativeWindow(void)> window_getter); gfx 98 chrome/browser/ui/extensions/extension_enable_flow.h gfx::NativeWindow parent_window_; gfx 102 chrome/browser/ui/extensions/extension_enable_flow.h base::Callback<gfx::NativeWindow(void)> window_getter_; gfx 36 chrome/browser/ui/external_protocol_dialog_delegate.cc gfx::ElideString(base::ASCIIToUTF16(url().possibly_invalid_spec()), gfx 38 chrome/browser/ui/external_protocol_dialog_delegate.cc gfx::ElideString(program_name_, kMaxCommandSize, &elided_command); gfx 19 chrome/browser/ui/find_bar/find_bar.h namespace gfx { gfx 56 chrome/browser/ui/find_bar/find_bar.h virtual void MoveWindowIfNecessary(const gfx::Rect& selection_rect, gfx 62 chrome/browser/ui/find_bar/find_bar.h const gfx::Range& selected_range) = 0; gfx 68 chrome/browser/ui/find_bar/find_bar.h virtual gfx::Range GetSelectedRange() = 0; gfx 105 chrome/browser/ui/find_bar/find_bar.h virtual bool GetFindBarWindowInfo(gfx::Point* position, gfx 179 chrome/browser/ui/find_bar/find_bar_controller.cc gfx::Rect FindBarController::GetLocationForFindbarView( gfx 180 chrome/browser/ui/find_bar/find_bar_controller.cc gfx::Rect view_location, gfx 181 chrome/browser/ui/find_bar/find_bar_controller.cc const gfx::Rect& dialog_bounds, gfx 182 chrome/browser/ui/find_bar/find_bar_controller.cc const gfx::Rect& avoid_overlapping_rect) { gfx 190 chrome/browser/ui/find_bar/find_bar_controller.cc gfx::Rect new_pos = view_location; gfx 19 chrome/browser/ui/find_bar/find_bar_controller.h namespace gfx { gfx 72 chrome/browser/ui/find_bar/find_bar_controller.h static gfx::Rect GetLocationForFindbarView( gfx 73 chrome/browser/ui/find_bar/find_bar_controller.h gfx::Rect view_location, gfx 74 chrome/browser/ui/find_bar/find_bar_controller.h const gfx::Rect& dialog_bounds, gfx 75 chrome/browser/ui/find_bar/find_bar_controller.h const gfx::Rect& avoid_overlapping_rect); gfx 92 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc Browser* browser, gfx::Point* position, bool* fully_visible) { gfx 98 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc bool GetFindBarWindowInfo(gfx::Point* position, bool* fully_visible) { gfx 129 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position; gfx 150 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc search_str16, gfx::Range()); gfx 170 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position; gfx 343 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Rect first, second, first_reverse; gfx 440 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Rect first_rect; gfx 446 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Rect second_rect; gfx 844 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position; gfx 877 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position; gfx 912 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position; gfx 951 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point start_position; gfx 952 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position; gfx 1382 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc params.initial_bounds = gfx::Rect(0, 0, 250, 500); gfx 1410 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position; gfx 1423 chrome/browser/ui/find_bar/find_bar_host_browsertest.cc gfx::Point position2; gfx 41 chrome/browser/ui/find_bar/find_bar_host_interactive_uitest.cc search_str16, gfx::Range()); gfx 15 chrome/browser/ui/find_bar/find_notification_details.h const gfx::Rect& selection_rect, gfx 36 chrome/browser/ui/find_bar/find_notification_details.h gfx::Rect selection_rect() const { return selection_rect_; } gfx 45 chrome/browser/ui/find_bar/find_notification_details.h gfx::Rect selection_rect_; // Where selection occurred (screen coordinate). gfx 145 chrome/browser/ui/find_bar/find_tab_helper.cc const gfx::Rect& selection_rect, gfx 158 chrome/browser/ui/find_bar/find_tab_helper.cc gfx::Rect selection = selection_rect; gfx 160 chrome/browser/ui/find_bar/find_tab_helper.cc selection = gfx::Rect(); gfx 14 chrome/browser/ui/find_bar/find_tab_helper.h namespace gfx { gfx 61 chrome/browser/ui/find_bar/find_tab_helper.h gfx::Range selected_range() const { return selected_range_; } gfx 62 chrome/browser/ui/find_bar/find_tab_helper.h void set_selected_range(const gfx::Range& selected_range) { gfx 82 chrome/browser/ui/find_bar/find_tab_helper.h const gfx::Rect& selection_rect, gfx 118 chrome/browser/ui/find_bar/find_tab_helper.h gfx::Range selected_range_; gfx 503 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc const gfx::Size kCaptureSize(1280, 720); gfx 572 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc const gfx::Size kCaptureSize(1280, 720); gfx 633 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc const gfx::Size kCaptureSize(1280, 720); gfx 688 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc const gfx::Size kCaptureSize(1280, 720); gfx 742 chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc const gfx::Size kCaptureSize(1280, 720); gfx 50 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc gfx::Point cursor_pos = GetCursorScreenPoint(); gfx 88 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc gfx::Point cursor_pos = GetCursorScreenPoint(); gfx 16 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h namespace gfx { gfx 20 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h class FullscreenExitBubble : public gfx::AnimationDelegate { gfx 43 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h virtual gfx::Rect GetPopupRect(bool ignore_animation_state) const = 0; gfx 44 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h virtual gfx::Point GetCursorScreenPoint() = 0; gfx 45 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h virtual bool WindowContainsPoint(gfx::Point pos) = 0; gfx 110 chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h gfx::Point last_mouse_pos_; gfx 55 chrome/browser/ui/global_error/global_error.cc gfx::Image GlobalErrorWithStandardBubble::GetBubbleViewIcon() { gfx 17 chrome/browser/ui/global_error/global_error.h namespace gfx { gfx 70 chrome/browser/ui/global_error/global_error.h virtual gfx::Image GetBubbleViewIcon(); gfx 7 chrome/browser/ui/gtk/apps/app_info_dialog_gtk.cc void ShowAppInfoDialog(gfx::NativeWindow parent_window, gfx 60 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::NativeView native_view = gfx 64 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Insets frame_insets = GetFrameInsets(); gfx 65 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Rect initial_bounds = params.GetInitialWindowBounds(frame_insets); gfx 96 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc bounds_.set_origin(gfx::Point(x, y)); gfx 193 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::NativeWindow NativeAppWindowGtk::GetNativeWindow() { gfx 197 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Rect NativeAppWindowGtk::GetRestoredBounds() const { gfx 198 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Rect window_bounds = restored_bounds_; gfx 211 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Rect NativeAppWindowGtk::GetBounds() const { gfx 223 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc return gfx::Rect(window_bounds.x, window_bounds.y, gfx 302 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc void NativeAppWindowGtk::SetBounds(const gfx::Rect& bounds) { gfx 303 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Rect content_bounds = bounds; gfx 316 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Size(bounds.width(), bounds.height())); gfx 375 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::NativeView NativeAppWindowGtk::GetHostView() const { gfx 380 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Point NativeAppWindowGtk::GetDialogPosition(const gfx::Size& size) { gfx 384 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc return gfx::Point(current_width / 2 - size.width() / 2, gfx 388 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Size NativeAppWindowGtk::GetMaximumDialogSize() { gfx 392 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc return gfx::Size(current_width, current_height); gfx 491 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Size min_size = size_constraints_.GetMinimumSize(); gfx 495 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Size max_size = size_constraints_.GetMaximumSize(); gfx 561 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc frame_cursor_ = has_hit_edge ? gfx::GetCursor(new_cursor) : NULL; gfx 577 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Point point(static_cast<int>(event->x_root - win_x), gfx 658 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Image app_icon = app_window_->app_icon(); gfx 708 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Insets NativeAppWindowGtk::GetFrameInsets() const { gfx 710 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc return gfx::Insets(); gfx 713 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc return gfx::Insets(); gfx 727 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc return gfx::Insets( gfx 742 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Size NativeAppWindowGtk::GetContentMinimumSize() const { gfx 746 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc gfx::Size NativeAppWindowGtk::GetContentMaximumSize() const { gfx 751 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc const gfx::Size& min_size, const gfx::Size& max_size) { gfx 42 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 43 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 45 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 55 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 85 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::Insets GetFrameInsets() const OVERRIDE; gfx 89 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::Size GetContentMinimumSize() const OVERRIDE; gfx 90 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::Size GetContentMaximumSize() const OVERRIDE; gfx 91 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual void SetContentSizeConstraints(const gfx::Size& min_size, gfx 92 chrome/browser/ui/gtk/apps/native_app_window_gtk.h const gfx::Size& max_size) OVERRIDE; gfx 95 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::NativeView GetHostView() const OVERRIDE; gfx 96 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; gfx 97 chrome/browser/ui/gtk/apps/native_app_window_gtk.h virtual gfx::Size GetMaximumDialogSize() OVERRIDE; gfx 146 chrome/browser/ui/gtk/apps/native_app_window_gtk.h gfx::Rect bounds_; gfx 149 chrome/browser/ui/gtk/apps/native_app_window_gtk.h gfx::Rect restored_bounds_; gfx 121 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc controller_->SetSelectionAtPoint(gfx::Point(event->x, event->y)); gfx 138 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gfx::Rect damage_rect(event->area); gfx 141 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gfx::Rect line_rect = controller_->GetRowBounds(i); gfx 166 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc controller_->SetSelectionAtPoint(gfx::Point(event->x, event->y)); gfx 177 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc const gfx::FontList& font_list, gfx 189 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gfx::ScopedPangoFontDescription font_description( gfx 202 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc const gfx::Rect& separator_rect) { gfx 214 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc const gfx::Rect& entry_rect) { gfx 227 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gfx::GetStringWidth(controller_->names()[index], gfx 254 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc const gfx::Image& image = gfx 276 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc x_align_left -= gfx::GetStringWidth(controller_->subtexts()[index], gfx 24 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h namespace gfx { gfx 73 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h const gfx::FontList& font_list, gfx 77 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h void DrawSeparator(cairo_t* cairo_context, const gfx::Rect& separator_rect); gfx 82 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h const gfx::Rect& entry_rect); gfx 41 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc const gfx::Rect* rect) gfx 32 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h const gfx::Rect* rect); gfx 41 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc void AvatarMenuButtonGtk::SetIcon(const gfx::Image& image, gfx 43 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc icon_.reset(new gfx::Image(image)); gfx 82 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc gfx::Image icon = profiles::GetAvatarIconForTitleBar( gfx 18 chrome/browser/ui/gtk/avatar_menu_button_gtk.h namespace gfx { gfx 39 chrome/browser/ui/gtk/avatar_menu_button_gtk.h void SetIcon(const gfx::Image& icon, bool is_gaia_picture); gfx 64 chrome/browser/ui/gtk/avatar_menu_button_gtk.h scoped_ptr<gfx::Image> icon_; gfx 204 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc gfx::ImageSkiaRep avatar_image_rep = gfx::ImageSkiaRep(*avatar_image, 1.0f); gfx 205 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc gfx::Canvas canvas(avatar_image_rep, /* is_opaque */ true); gfx 208 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc const gfx::ImageSkia* check_image = rb.GetImageNamed( gfx 210 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc gfx::Rect check_rect(0, 0, check_image->width(), check_image->height()); gfx 216 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc avatar_pixbuf = gfx::GdkPixbufFromSkBitmap(final_image); gfx 218 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc avatar_pixbuf = gfx::GdkPixbufFromSkBitmap(*item_.icon.ToSkBitmap()); gfx 229 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc base::string16 elided_name = gfx::ElideText(item_.name, gfx 230 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc gfx::FontList(), gfx 232 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc gfx::ELIDE_AT_END); gfx 354 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 364 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::AnimationEnded(const gfx::Animation* animation) { gfx 604 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc const gfx::Image& image = ui::ResourceBundle::GetSharedInstance(). gfx 711 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Size web_contents_size; gfx 719 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc bool BookmarkBarGtk::GetWebContentsSize(gfx::Size* size) { gfx 1159 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Point(event->x_root, event->y_root), gfx 1165 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc last_pressed_coordinates_ = gfx::Point(event->x, event->y); gfx 1210 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect button_rect = gtk_util::WidgetBounds(button); gfx 1211 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Point drag_icon_relative = gfx 1212 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect(req.width, req.height).CenterPoint() + gfx 1448 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Point tabstrip_origin = gfx 1455 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Size web_contents_size; gfx 1458 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::CanvasSkiaPaint canvas(event, true); gfx 1463 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect area = gtk_widget_get_has_window(widget) ? gfx 1464 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect(0, 0, allocation.width, allocation.height) : gfx 1465 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc gfx::Rect(allocation); gfx 45 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h class BookmarkBarGtk : public gfx::AnimationDelegate, gfx 81 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 82 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 92 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h const gfx::Animation* animation() { return &slide_animation_; } gfx 177 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h bool GetWebContentsSize(gfx::Size* size); gfx 389 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h gfx::SlideAnimation slide_animation_; gfx 399 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h gfx::Size last_web_contents_size_; gfx 403 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h gfx::Point last_pressed_coordinates_; gfx 24 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc virtual gfx::Point GetTabStripOriginForWidget(GtkWidget* widget) OVERRIDE { gfx 25 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc return gfx::Point(0, 0); gfx 365 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gfx::CanvasSkiaPaint canvas(event); gfx 368 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc canvas.DrawLine(gfx::Point(0, 0), gfx 369 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gfx::Point(allocation.width + 1, 0), gfx 377 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc canvas.DrawPoint(gfx::Point(0, allocation.height - 1), points_paint); gfx 378 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc canvas.DrawPoint(gfx::Point(allocation.width - 1, allocation.height - 1), gfx 53 chrome/browser/ui/gtk/bookmarks/bookmark_drag_drop_gtk.cc gfx::NativeView view, gfx 113 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc void RunMenu(const gfx::Point& point, guint32 event_time) { gfx 246 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd, gfx 645 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc menu_controller_->RunMenu(gfx::Point(event->x_root, event->y_root), gfx 278 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc context_menu_->PopupAsContext(gfx::Point(event->x_root, event->y_root), gfx 93 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc SetIcon(GetItemCount() - 1, gfx::Image(node_icon)); gfx 113 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc const gfx::Image& folder_icon = rb.GetImageNamed(IDR_BOOKMARK_BAR_FOLDER); gfx 152 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); gfx 155 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const gfx::Rect rect(text_x, 0, text_width, allocation.height); gfx 156 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc canvas.DrawStringRectWithFlags(data->text, gfx::FontList(), data->text_color, gfx 157 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc rect, gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 177 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const gfx::Image& favicon = model->GetFavicon(node); gfx 208 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gfx::FontList().GetHeight()); gfx 277 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc gfx::TruncateString(node->GetTitle(), kMaxCharsOnAMenuLabel)); gfx 280 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc elided_name = base::UTF16ToUTF8(gfx::TruncateString( gfx 229 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::Image image = icon_factory_.GetIcon(tab_id); gfx 234 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc SetImage(gfx::Image(gfx::ImageSkiaOperations::CreateTransparentImage( gfx 242 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::Image GetIcon() { gfx 306 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc void SetImage(const gfx::Image& image) { gfx 347 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); gfx 350 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc action->PaintBadge(&canvas, gfx::Rect(allocation), tab_id); gfx 397 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::NativeWindow window = gfx 421 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::NativeWindow window = gfx 801 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const gfx::Animation* animation) { gfx 810 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc void BrowserActionsToolbarGtk::AnimationEnded(const gfx::Animation* animation) { gfx 1014 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::GetCursor(GDK_SB_H_DOUBLE_ARROW)); gfx 1029 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::Rect gripper_rect(0, 0, allocation.width, allocation.height); gfx 1031 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc gfx::Point release_point(event->x, event->y); gfx 1117 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc menu->PopupAsContext(gfx::Point(event->x_root, event->y_root), gfx 41 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h public gfx::AnimationDelegate, gfx 129 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 130 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 222 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h gfx::SlideAnimation resize_animation_; gfx 619 chrome/browser/ui/gtk/browser_titlebar.cc gfx::Image icon = browser_window_->browser()->GetCurrentPageIcon(); gfx 649 chrome/browser/ui/gtk/browser_titlebar.cc gfx::Image icon = browser_window_->browser()->GetCurrentPageIcon(); gfx 804 chrome/browser/ui/gtk/browser_titlebar.cc gfx::Image avatar_image = gfx 855 chrome/browser/ui/gtk/browser_titlebar.cc gfx::Image avatar; gfx 899 chrome/browser/ui/gtk/browser_titlebar.cc browser_window_->SetBounds(gfx::Rect(x, y, width, height)); gfx 973 chrome/browser/ui/gtk/browser_titlebar.cc gfx::Rect rect = gtk_util::WidgetBounds(widget); gfx 987 chrome/browser/ui/gtk/browser_titlebar.cc context_menu_->PopupAsContext(gfx::Point(event->x_root, event->y_root), gfx 509 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::Point tabstrip_origin = gfx 525 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::Rect area(e->area); gfx 526 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::Rect right(allocation.x + allocation.width - kCornerWidth, gfx 530 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::Rect left(allocation.x - kShadowThickness, gfx 541 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::Image background = theme_service_->GetImageNamed(IDR_THEME_TOOLBAR); gfx 554 chrome/browser/ui/gtk/browser_toolbar_gtk.cc bool draw_left_corner = left.Intersects(gfx::Rect(e->area)); gfx 555 chrome/browser/ui/gtk/browser_toolbar_gtk.cc bool draw_right_corner = right.Intersects(gfx::Rect(e->area)); gfx 708 chrome/browser/ui/gtk/browser_toolbar_gtk.cc const gfx::ImageSkia* badge = theme_service_->GetImageSkiaNamed(resource_id); gfx 709 chrome/browser/ui/gtk/browser_toolbar_gtk.cc gfx::CanvasSkiaPaint canvas(expose, false); gfx 147 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect GetInitialWindowBounds(GtkWindow* window) { gfx 151 chrome/browser/ui/gtk/browser_window_gtk.cc return gfx::Rect(x, y, width, height); gfx 384 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* top_center = gfx 386 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* top_right = gfx 388 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* top_left = gfx 451 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* left = gfx 463 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* right = gfx 479 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* bottom_left = gfx 485 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* bottom_right = gfx 492 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* bottom = gfx 514 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* surface = gfx 531 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* surface = theme_provider->GetImageNamed( gfx 545 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::CairoCachedSurface* theme_overlay = theme_provider->GetImageNamed( gfx 607 chrome/browser/ui/gtk/browser_window_gtk.cc void BrowserWindowGtk::SetBoundsImpl(const gfx::Rect& bounds, gfx 619 chrome/browser/ui/gtk/browser_window_gtk.cc gtk_window_util::SetWindowSize(window_, gfx::Size(width, height)); gfx 626 chrome/browser/ui/gtk/browser_window_gtk.cc void BrowserWindowGtk::SetBounds(const gfx::Rect& bounds) { gfx 720 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::NativeWindow BrowserWindowGtk::GetNativeWindow() { gfx 830 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect BrowserWindowGtk::GetRestoredBounds() const { gfx 842 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect BrowserWindowGtk::GetBounds() const { gfx 1013 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect BrowserWindowGtk::GetRootWindowResizerRect() const { gfx 1014 chrome/browser/ui/gtk/browser_window_gtk.cc return gfx::Rect(); gfx 1204 chrome/browser/ui/gtk/browser_window_gtk.cc const gfx::Rect& bounds) { gfx 1217 chrome/browser/ui/gtk/browser_window_gtk.cc const gfx::Rect& rect) { gfx 1229 chrome/browser/ui/gtk/browser_window_gtk.cc const gfx::Rect& rect, gfx 1325 chrome/browser/ui/gtk/browser_window_gtk.cc return gfx::GdkColorToSkColor(theme_service->GetBorderColor()); gfx 1357 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect bounds(event->x, event->y, event->width, event->height); gfx 1518 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::NativeWindow window) { gfx 1569 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect bounds; gfx 1792 chrome/browser/ui/gtk/browser_window_gtk.cc GdkColor frame_color_gdk = gfx::SkColorToGdkColor(frame_color); gfx 1907 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect work_area(gfx::Screen::GetNativeScreen()->GetDisplayMatching( gfx 2081 chrome/browser/ui/gtk/browser_window_gtk.cc frame_cursor_ = gfx::GetCursor(new_cursor); gfx 2113 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Point point(static_cast<int>(event->x_root - win_x), gfx 2340 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Size container_size(allocation->width, allocation->height); gfx 2341 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect old_devtools_bounds(0, 0, allocation->width, allocation->height); gfx 2342 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect old_contents_bounds(contents_allocation.x, contents_allocation.y, gfx 2344 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect new_devtools_bounds; gfx 2345 chrome/browser/ui/gtk/browser_window_gtk.cc gfx::Rect new_contents_bounds; gfx 81 chrome/browser/ui/gtk/browser_window_gtk.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 89 chrome/browser/ui/gtk/browser_window_gtk.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 104 chrome/browser/ui/gtk/browser_window_gtk.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 106 chrome/browser/ui/gtk/browser_window_gtk.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 134 chrome/browser/ui/gtk/browser_window_gtk.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 177 chrome/browser/ui/gtk/browser_window_gtk.h const gfx::Rect& bounds) OVERRIDE; gfx 182 chrome/browser/ui/gtk/browser_window_gtk.h const gfx::Rect& rect) OVERRIDE; gfx 185 chrome/browser/ui/gtk/browser_window_gtk.h const gfx::Rect& rect, gfx 246 chrome/browser/ui/gtk/browser_window_gtk.h gfx::NativeWindow window); gfx 262 chrome/browser/ui/gtk/browser_window_gtk.h gfx::Rect bounds() const { return bounds_; } gfx 371 chrome/browser/ui/gtk/browser_window_gtk.h void SetBoundsImpl(const gfx::Rect& bounds, bool exterior, bool move); gfx 489 chrome/browser/ui/gtk/browser_window_gtk.h gfx::Rect bounds_; gfx 493 chrome/browser/ui/gtk/browser_window_gtk.h gfx::Rect configure_bounds_; gfx 496 chrome/browser/ui/gtk/browser_window_gtk.h gfx::Rect restored_bounds_; gfx 130 chrome/browser/ui/gtk/bubble/bubble_gtk.cc const gfx::Rect* rect, gfx 173 chrome/browser/ui/gtk/bubble/bubble_gtk.cc const gfx::Rect* rect, gfx 561 chrome/browser/ui/gtk/bubble/bubble_gtk.cc void BubbleGtk::SetPositionRelativeToAnchor(const gfx::Rect* rect) { gfx 26 chrome/browser/ui/gtk/bubble/bubble_gtk.h namespace gfx { gfx 85 chrome/browser/ui/gtk/bubble/bubble_gtk.h const gfx::Rect* rect, gfx 97 chrome/browser/ui/gtk/bubble/bubble_gtk.h void SetPositionRelativeToAnchor(const gfx::Rect* rect); gfx 130 chrome/browser/ui/gtk/bubble/bubble_gtk.h const gfx::Rect* rect, gfx 221 chrome/browser/ui/gtk/bubble/bubble_gtk.h gfx::Rect rect_; gfx 82 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc gfx::Rect rect(points[i].x, points[i].y, 0, 0); gfx 123 chrome/browser/ui/gtk/bubble/bubble_gtk_browsertest.cc gfx::Rect rect(points[i].x, points[i].y, 0, 0); gfx 62 chrome/browser/ui/gtk/certificate_viewer_gtk.cc CertificateViewer(gfx::NativeWindow parent, gfx 139 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gfx::NativeWindow parent, gfx 639 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gfx::ScopedPangoFontDescription font_desc(pango_font_description_copy( gfx 724 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gfx::NativeWindow parent, gfx 32 chrome/browser/ui/gtk/chrome_browser_main_extra_parts_gtk.cc gfx::GtkInitFromCommandLine(command_line); gfx 70 chrome/browser/ui/gtk/color_chooser_gtk.cc GdkColor gdk_color = gfx::SkColorToGdkColor(initial_color); gfx 91 chrome/browser/ui/gtk/color_chooser_gtk.cc web_contents_->DidChooseColorInColorChooser(gfx::GdkColorToSkColor(color)); gfx 119 chrome/browser/ui/gtk/color_chooser_gtk.cc GdkColor gdk_color = gfx::SkColorToGdkColor(color); gfx 45 chrome/browser/ui/gtk/confirm_bubble_gtk.cc ConfirmBubbleGtk::ConfirmBubbleGtk(gfx::NativeView anchor, gfx 46 chrome/browser/ui/gtk/confirm_bubble_gtk.cc const gfx::Point& anchor_point, gfx 138 chrome/browser/ui/gtk/confirm_bubble_gtk.cc gfx::Rect rect = ui::GetWidgetScreenBounds(anchor_); gfx 187 chrome/browser/ui/gtk/confirm_bubble_gtk.cc void ShowConfirmBubble(gfx::NativeView view, gfx 188 chrome/browser/ui/gtk/confirm_bubble_gtk.cc const gfx::Point& origin, gfx 42 chrome/browser/ui/gtk/confirm_bubble_gtk.h ConfirmBubbleGtk(gfx::NativeView parent, gfx 43 chrome/browser/ui/gtk/confirm_bubble_gtk.h const gfx::Point& anchor_point, gfx 70 chrome/browser/ui/gtk/confirm_bubble_gtk.h gfx::NativeView anchor_; gfx 71 chrome/browser/ui/gtk/confirm_bubble_gtk.h gfx::Point anchor_point_; gfx 28 chrome/browser/ui/gtk/confirm_bubble_gtk_browsertest.cc gfx::Point point(0, 0); gfx 117 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc gfx::Size dialog_size; gfx 50 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc return base::UTF16ToUTF8(gfx::ElideText( gfx 52 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc gfx::FontList(), gfx 54 chrome/browser/ui/gtk/content_setting_bubble_gtk.cc gfx::ELIDE_AT_END)); gfx 53 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, gfx 59 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc gfx::NativeWindow parent_window, gfx 84 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc const gfx::ImageFamily& image) { gfx 86 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc const gfx::Image* icon = image.GetBest(kIconPreviewSizePixels, gfx 33 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h namespace gfx { gfx 54 chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.h virtual void CreateIconPixBuf(const gfx::ImageFamily& image); gfx 28 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc gfx::NativeWindow parent, gfx 52 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc gfx::NativeWindow parent, gfx 163 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc gfx::NativeWindow parent, gfx 48 chrome/browser/ui/gtk/custom_button.cc surfaces_[i].reset(new gfx::CairoCachedSurface); gfx 49 chrome/browser/ui/gtk/custom_button.cc background_image_.reset(new gfx::CairoCachedSurface); gfx 93 chrome/browser/ui/gtk/custom_button.cc gfx::CairoCachedSurface* pixbuf = PixbufForState(paint_state); gfx 94 chrome/browser/ui/gtk/custom_button.cc gfx::CairoCachedSurface* hover_pixbuf = PixbufForState(GTK_STATE_PRELIGHT); gfx 115 chrome/browser/ui/gtk/custom_button.cc gfx::Rect bounds = gfx::Rect(0, 0, pixbuf->Width(), 0); gfx 152 chrome/browser/ui/gtk/custom_button.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(img); gfx 175 chrome/browser/ui/gtk/custom_button.cc gfx::CairoCachedSurface* CustomDrawButtonBase::PixbufForState(int state) { gfx 176 chrome/browser/ui/gtk/custom_button.cc gfx::CairoCachedSurface* pixbuf = surfaces_[state].get(); gfx 211 chrome/browser/ui/gtk/custom_button.cc const gfx::Animation* animation) { gfx 24 chrome/browser/ui/gtk/custom_button.h namespace gfx { gfx 71 chrome/browser/ui/gtk/custom_button.h gfx::CairoCachedSurface* PixbufForState(int state); gfx 75 chrome/browser/ui/gtk/custom_button.h scoped_ptr<gfx::CairoCachedSurface> surfaces_[GTK_STATE_INSENSITIVE + 1]; gfx 78 chrome/browser/ui/gtk/custom_button.h scoped_ptr<gfx::CairoCachedSurface> background_image_; gfx 106 chrome/browser/ui/gtk/custom_button.h class CustomDrawHoverController : public gfx::AnimationDelegate { gfx 120 chrome/browser/ui/gtk/custom_button.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 127 chrome/browser/ui/gtk/custom_button.h gfx::SlideAnimation slide_animation_; gfx 10 chrome/browser/ui/gtk/custom_drag.cc CustomDrag::CustomDrag(gfx::Image* icon, int code_mask, GdkDragAction action) gfx 13 chrome/browser/ui/gtk/custom_drag.h namespace gfx { gfx 20 chrome/browser/ui/gtk/custom_drag.h CustomDrag(gfx::Image* icon, int code_mask, GdkDragAction action); gfx 48 chrome/browser/ui/gtk/custom_drag.h gfx::Image* image_; gfx 19 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.cc gfx::NativeWindow parent_window, gfx 29 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.cc gfx::NativeWindow parent_window, gfx 15 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h static void Show(gfx::NativeWindow parent_window, gfx 22 chrome/browser/ui/gtk/download/download_in_progress_dialog_gtk.h DownloadInProgressDialogGtk(gfx::NativeWindow parent_window, gfx 37 chrome/browser/ui/gtk/download/download_item_drag.cc gfx::Image* icon); gfx 61 chrome/browser/ui/gtk/download/download_item_drag.cc gfx::Image* icon) { gfx 107 chrome/browser/ui/gtk/download/download_item_drag.cc gfx::Image* icon) { gfx 112 chrome/browser/ui/gtk/download/download_item_drag.cc DownloadItemDrag::DownloadItemDrag(const DownloadItem* item, gfx::Image* icon) gfx 127 chrome/browser/ui/gtk/download/download_item_drag.cc gfx::Image* icon, gfx 128 chrome/browser/ui/gtk/download/download_item_drag.cc gfx::NativeView view) { gfx 20 chrome/browser/ui/gtk/download/download_item_drag.h DownloadItemDrag(const content::DownloadItem* item, gfx::Image* icon); gfx 27 chrome/browser/ui/gtk/download/download_item_drag.h gfx::Image* icon); gfx 199 chrome/browser/ui/gtk/download/download_item_gtk.cc new_item_animation_.reset(new gfx::SlideAnimation(this)); gfx 283 chrome/browser/ui/gtk/download/download_item_gtk.cc complete_animation_.SetTweenType(gfx::Tween::LINEAR); gfx 383 chrome/browser/ui/gtk/download/download_item_gtk.cc void DownloadItemGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 457 chrome/browser/ui/gtk/download/download_item_gtk.cc void DownloadItemGtk::OnLoadSmallIconComplete(gfx::Image* image) { gfx 462 chrome/browser/ui/gtk/download/download_item_gtk.cc void DownloadItemGtk::OnLoadLargeIconComplete(gfx::Image* image) { gfx 487 chrome/browser/ui/gtk/download/download_item_gtk.cc const gfx::FontList& font_list = gfx 497 chrome/browser/ui/gtk/download/download_item_gtk.cc const gfx::FontList& font_list = gfx 502 chrome/browser/ui/gtk/download/download_item_gtk.cc filename = gfx::ElideFilename( gfx 509 chrome/browser/ui/gtk/download/download_item_gtk.cc int status_string_width = gfx::GetStringWidth(status_string, font_list); gfx 512 chrome/browser/ui/gtk/download/download_item_gtk.cc gfx::ElideFilename(download()->GetFileNameToReportUser(), font_list, gfx 574 chrome/browser/ui/gtk/download/download_item_gtk.cc text_color = gfx::SkColorToGdkColor( gfx 590 chrome/browser/ui/gtk/download/download_item_gtk.cc const gfx::FontList& font_list = gfx 863 chrome/browser/ui/gtk/download/download_item_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); gfx 33 chrome/browser/ui/gtk/download/download_item_gtk.h namespace gfx { gfx 39 chrome/browser/ui/gtk/download/download_item_gtk.h public gfx::AnimationDelegate, gfx 55 chrome/browser/ui/gtk/download/download_item_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 64 chrome/browser/ui/gtk/download/download_item_gtk.h void OnLoadSmallIconComplete(gfx::Image* image); gfx 65 chrome/browser/ui/gtk/download/download_item_gtk.h void OnLoadLargeIconComplete(gfx::Image* image); gfx 212 chrome/browser/ui/gtk/download/download_item_gtk.h scoped_ptr<gfx::SlideAnimation> new_item_animation_; gfx 218 chrome/browser/ui/gtk/download/download_item_gtk.h gfx::SlideAnimation complete_animation_; gfx 223 chrome/browser/ui/gtk/download/download_item_gtk.h gfx::Image* icon_small_; gfx 224 chrome/browser/ui/gtk/download/download_item_gtk.h gfx::Image* icon_large_; gfx 33 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc menu_->PopupAsContext(gfx::Point(event->x_root, event->y_root), gfx 352 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gfx::Point cursor_screen_coords; gfx 357 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gfx::Point(event->motion.x_root, event->motion.y_root); gfx 361 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gfx::Point(event->crossing.x_root, event->crossing.y_root); gfx 379 chrome/browser/ui/gtk/download/download_shelf_gtk.cc const gfx::Point& cursor_screen_coords) { gfx 387 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gfx::Rect bounds = ui::GetWidgetScreenBounds(shelf_.get()); gfx 390 chrome/browser/ui/gtk/download/download_shelf_gtk.cc bounds.Inset(gfx::Insets(-kShelfAuraSize, 0, 0, 0)); gfx 33 chrome/browser/ui/gtk/download/download_shelf_gtk.h namespace gfx { gfx 42 chrome/browser/ui/gtk/download/download_shelf_gtk.h DownloadShelfGtk(Browser* browser, gfx::NativeView view); gfx 104 chrome/browser/ui/gtk/download/download_shelf_gtk.h bool IsCursorInShelfZone(const gfx::Point& cursor_screen_coords); gfx 28 chrome/browser/ui/gtk/download/download_started_animation_gtk.cc class DownloadStartedAnimationGtk : public gfx::LinearAnimation { gfx 59 chrome/browser/ui/gtk/download/download_started_animation_gtk.cc gfx::Rect web_contents_bounds_; gfx 66 chrome/browser/ui/gtk/download/download_started_animation_gtk.cc : gfx::LinearAnimation(kMoveTimeMs, kFrameRateHz, NULL), gfx 53 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc gfx::Image BrowserActionTestUtil::GetIcon(int index) { gfx 60 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc return gfx::Image(pixbuf); gfx 80 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc gfx::Rect BrowserActionTestUtil::GetPopupBounds() { gfx 84 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc return gfx::Rect(); gfx 95 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc gfx::Size BrowserActionTestUtil::GetMinPopupSize() { gfx 97 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc return gfx::Size(ExtensionPopupGtk::kMinWidth, ExtensionPopupGtk::kMinHeight); gfx 101 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc gfx::Size BrowserActionTestUtil::GetMaxPopupSize() { gfx 102 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc return gfx::Size(ExtensionPopupGtk::kMaxWidth, ExtensionPopupGtk::kMaxHeight); gfx 94 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(reference_widget); gfx 47 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc void AddResourceIcon(const gfx::ImageSkia* icon, void* data) { gfx 49 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GdkPixbuf* icon_pixbuf = gfx::GdkPixbufFromSkBitmap(*icon->bitmap()); gfx 129 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc gfx::NativeWindow parent = show_params.parent_window; gfx 259 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(scaled_icon); gfx 138 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bubble_.icon()); gfx 139 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gfx::Size size(bubble_.icon().width(), bubble_.icon().height()); gfx 271 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(reference_widget); gfx 25 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc gfx::NativeWindow window, gfx 40 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.h gfx::NativeWindow window, gfx 82 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.h gfx::NativeWindow window_; gfx 135 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc const gfx::Size& new_size) { gfx 139 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc view->render_view_host()->GetView()->SetSize(gfx::Size(width, height)); gfx 193 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc gfx::Rect ExtensionPopupGtk::GetViewBounds() { gfx 196 chrome/browser/ui/gtk/extensions/extension_popup_gtk.cc return gfx::Rect(allocation); gfx 55 chrome/browser/ui/gtk/extensions/extension_popup_gtk.h const gfx::Size& new_size) OVERRIDE; gfx 116 chrome/browser/ui/gtk/extensions/extension_popup_gtk.h gfx::Rect GetViewBounds(); gfx 81 chrome/browser/ui/gtk/extensions/extension_uninstall_dialog_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(*icon_.bitmap()); gfx 26 chrome/browser/ui/gtk/extensions/extension_view_gtk.cc gfx::NativeView ExtensionViewGtk::native_view() { gfx 42 chrome/browser/ui/gtk/extensions/extension_view_gtk.cc void ExtensionViewGtk::ResizeDueToAutoResize(const gfx::Size& new_size) { gfx 59 chrome/browser/ui/gtk/extensions/extension_view_gtk.cc gfx::Size min_size(ExtensionPopupGtk::kMinWidth, gfx 61 chrome/browser/ui/gtk/extensions/extension_view_gtk.cc gfx::Size max_size(ExtensionPopupGtk::kMaxWidth, gfx 32 chrome/browser/ui/gtk/extensions/extension_view_gtk.h const gfx::Size& new_size) {} gfx 37 chrome/browser/ui/gtk/extensions/extension_view_gtk.h gfx::NativeView native_view(); gfx 47 chrome/browser/ui/gtk/extensions/extension_view_gtk.h void ResizeDueToAutoResize(const gfx::Size& new_size); gfx 333 chrome/browser/ui/gtk/find_bar_gtk.cc selection_rect_ = gfx::Rect(); gfx 365 chrome/browser/ui/gtk/find_bar_gtk.cc void FindBarGtk::MoveWindowIfNecessary(const gfx::Rect& selection_rect, gfx 371 chrome/browser/ui/gtk/find_bar_gtk.cc const gfx::Range& selected_range) { gfx 390 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Range FindBarGtk::GetSelectedRange() { gfx 393 chrome/browser/ui/gtk/find_bar_gtk.cc return gfx::Range(start, end); gfx 416 chrome/browser/ui/gtk/find_bar_gtk.cc SetFindTextAndSelectedRange(find_text, gfx::Range(0, find_text.length())); gfx 441 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Rect FindBarGtk::GetDialogPosition( gfx 442 chrome/browser/ui/gtk/find_bar_gtk.cc const gfx::Rect& avoid_overlapping_rect) { gfx 451 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Rect dialog_bounds = gfx::Rect(ltr ? 0 : 15, 0, gfx 456 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Size prefsize(req.width, req.height); gfx 458 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Rect view_location( gfx 461 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( gfx 577 chrome/browser/ui/gtk/find_bar_gtk.cc bool FindBarGtk::GetFindBarWindowInfo(gfx::Point* position, gfx 741 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Point FindBarGtk::GetPosition() { gfx 742 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Point point; gfx 935 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::Point tabstrip_origin = gfx 951 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::CairoCachedSurface* background_left = rb.GetNativeImageNamed( gfx 962 chrome/browser/ui/gtk/find_bar_gtk.cc gfx::CairoCachedSurface* background = gfx 51 chrome/browser/ui/gtk/find_bar_gtk.h virtual void MoveWindowIfNecessary(const gfx::Rect& selection_rect, gfx 55 chrome/browser/ui/gtk/find_bar_gtk.h const gfx::Range& selected_range) OVERRIDE; gfx 57 chrome/browser/ui/gtk/find_bar_gtk.h virtual gfx::Range GetSelectedRange() OVERRIDE; gfx 68 chrome/browser/ui/gtk/find_bar_gtk.h virtual bool GetFindBarWindowInfo(gfx::Point* position, gfx 110 chrome/browser/ui/gtk/find_bar_gtk.h gfx::Rect GetDialogPosition(const gfx::Rect& avoid_overlapping_rect); gfx 118 chrome/browser/ui/gtk/find_bar_gtk.h gfx::Point GetPosition(); gfx 236 chrome/browser/ui/gtk/find_bar_gtk.h gfx::Rect selection_rect_; gfx 31 chrome/browser/ui/gtk/first_run_bubble.cc const gfx::Rect& rect) { gfx 43 chrome/browser/ui/gtk/first_run_bubble.cc const gfx::Rect& rect) gfx 23 chrome/browser/ui/gtk/first_run_bubble.h static void Show(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect); gfx 29 chrome/browser/ui/gtk/first_run_bubble.h FirstRunBubble(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect); gfx 176 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gfx::Rect FullscreenExitBubbleGtk::GetPopupRect( gfx 184 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc return gfx::Rect(bubble_size.width, bubble_size.height); gfx 187 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc gfx::Point FullscreenExitBubbleGtk::GetCursorScreenPoint() { gfx 196 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc return gfx::Point(x, y); gfx 199 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc bool FullscreenExitBubbleGtk::WindowContainsPoint(gfx::Point pos) { gfx 205 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc return gfx::Rect(x, y, width, height).Contains(pos); gfx 38 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h virtual gfx::Rect GetPopupRect(bool ignore_animation_state) const OVERRIDE; gfx 39 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h virtual gfx::Point GetCursorScreenPoint() OVERRIDE; gfx 40 chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h virtual bool WindowContainsPoint(gfx::Point pos) OVERRIDE; gfx 51 chrome/browser/ui/gtk/global_error_bubble.cc gfx::Image image = error_->GetBubbleViewIcon(); gfx 201 chrome/browser/ui/gtk/global_history_menu.cc gfx::ElideString(title, kMaximumMenuWidthInChars, &title); gfx 229 chrome/browser/ui/gtk/gtk_chrome_link_button.cc button->hand_cursor = gfx::GetCursor(GDK_HAND2); gfx 147 chrome/browser/ui/gtk/gtk_theme_service.cc SkColor accent_color = gfx::GdkColorToSkColor(accent_gdk_color); gfx 152 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(text_color), &text_tint); gfx 155 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(background_color), gfx 207 chrome/browser/ui/gtk/gtk_theme_service.cc SkColor color = gfx::GdkColorToSkColor(style->fg[state]); gfx 220 chrome/browser/ui/gtk/gtk_theme_service.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(masked); gfx 240 chrome/browser/ui/gtk/gtk_theme_service.cc SkColor shifted = color_utils::HSLShift(gfx::GdkColorToSkColor(*frame_color), gfx 251 chrome/browser/ui/gtk/gtk_theme_service.cc base::LazyInstance<gfx::Image> GtkThemeService::default_folder_icon_ = gfx 253 chrome/browser/ui/gtk/gtk_theme_service.cc base::LazyInstance<gfx::Image> GtkThemeService::default_bookmark_icon_ = gfx 304 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::ImageSkia* GtkThemeService::GetImageSkiaNamed(int id) const { gfx 307 chrome/browser/ui/gtk/gtk_theme_service.cc return const_cast<gfx::ImageSkia*>(GetImageNamed(id).ToImageSkia()); gfx 310 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::Image GtkThemeService::GetImageNamed(int id) const { gfx 317 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::Image* image = new gfx::Image(gfx::ImageSkia::CreateFrom1xBitmap( gfx 439 chrome/browser/ui/gtk/gtk_theme_service.cc return gfx::SkColorToGdkColor(GetColor(id)); gfx 583 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::Image GtkThemeService::GetFolderIcon(bool native) { gfx 593 chrome/browser/ui/gtk/gtk_theme_service.cc default_folder_icon_.Get() = gfx::Image(pixbuf); gfx 604 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::Image GtkThemeService::GetDefaultFavicon(bool native) { gfx 614 chrome/browser/ui/gtk/gtk_theme_service.cc default_bookmark_icon_.Get() = gfx::Image(pixbuf); gfx 700 chrome/browser/ui/gtk/gtk_theme_service.cc default_folder_icon_.Get() = gfx::Image(); gfx 701 chrome/browser/ui/gtk/gtk_theme_service.cc default_bookmark_icon_.Get() = gfx::Image(); gfx 819 chrome/browser/ui/gtk/gtk_theme_service.cc focus_ring_color_ = gfx::GdkColorToSkColor(frame_color); gfx 824 chrome/browser/ui/gtk/gtk_theme_service.cc thumb_active_color_ = gfx::GdkColorToSkColor(thumb_active_color); gfx 825 chrome/browser/ui/gtk/gtk_theme_service.cc thumb_inactive_color_ = gfx::GdkColorToSkColor(thumb_inactive_color); gfx 826 chrome/browser/ui/gtk/gtk_theme_service.cc track_color_ = gfx::GdkColorToSkColor(track_color); gfx 831 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->base[GTK_STATE_SELECTED]); gfx 833 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->text[GTK_STATE_SELECTED]); gfx 835 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->base[GTK_STATE_ACTIVE]); gfx 837 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->text[GTK_STATE_ACTIVE]); gfx 839 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->base[GTK_STATE_NORMAL]); gfx 841 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->text[GTK_STATE_NORMAL]); gfx 928 chrome/browser/ui/gtk/gtk_theme_service.cc colors_[id] = gfx::GdkColorToSkColor(*color); gfx 934 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(*color), &hsl); gfx 1042 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::Canvas canvas(gfx::Size(kToolbarImageWidth, kToolbarImageHeight), gfx 1053 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(*gradient_top_color) : gfx 1057 chrome/browser/ui/gtk/gtk_theme_service.cc skia::RefPtr<SkShader> shader = gfx::CreateGradientShader( gfx 1064 chrome/browser/ui/gtk/gtk_theme_service.cc canvas.DrawRect(gfx::Rect(0, 0, kToolbarImageWidth, gradient_size), paint); gfx 1067 chrome/browser/ui/gtk/gtk_theme_service.cc canvas.FillRect(gfx::Rect(0, gradient_size, kToolbarImageWidth, gfx 1119 chrome/browser/ui/gtk/gtk_theme_service.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(color), tint); gfx 32 chrome/browser/ui/gtk/gtk_theme_service.h namespace gfx { gfx 74 chrome/browser/ui/gtk/gtk_theme_service.h virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE; gfx 75 chrome/browser/ui/gtk/gtk_theme_service.h virtual gfx::Image GetImageNamed(int id) const OVERRIDE; gfx 153 chrome/browser/ui/gtk/gtk_theme_service.h static gfx::Image GetFolderIcon(bool native); gfx 154 chrome/browser/ui/gtk/gtk_theme_service.h static gfx::Image GetDefaultFavicon(bool native); gfx 163 chrome/browser/ui/gtk/gtk_theme_service.h typedef std::map<int, gfx::Image*> ImageCache; gfx 315 chrome/browser/ui/gtk/gtk_theme_service.h static base::LazyInstance<gfx::Image> default_folder_icon_; gfx 316 chrome/browser/ui/gtk/gtk_theme_service.h static base::LazyInstance<gfx::Image> default_bookmark_icon_; gfx 60 chrome/browser/ui/gtk/gtk_theme_service_unittest.cc gfx::GdkColorToSkColor(label_color)); gfx 355 chrome/browser/ui/gtk/gtk_tree.cc std::vector<gfx::ImageSkia> icons; gfx 358 chrome/browser/ui/gtk/gtk_tree.cc pixbufs_.push_back(gfx::GdkPixbufFromSkBitmap(*icons[i].bitmap())); gfx 474 chrome/browser/ui/gtk/gtk_util.cc gfx::ScopedPangoFontDescription font_desc(pango_font_description_new()); gfx 486 chrome/browser/ui/gtk/gtk_util.cc gfx::Size GetWidgetSize(GtkWidget* widget) { gfx 489 chrome/browser/ui/gtk/gtk_util.cc return gfx::Size(size.width, size.height); gfx 492 chrome/browser/ui/gtk/gtk_util.cc void ConvertWidgetPointToScreen(GtkWidget* widget, gfx::Point* p) { gfx 532 chrome/browser/ui/gtk/gtk_util.cc int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds) { gfx 541 chrome/browser/ui/gtk/gtk_util.cc int MirroredRightPointForRect(GtkWidget* widget, const gfx::Rect& bounds) { gfx 652 chrome/browser/ui/gtk/gtk_util.cc std::string truncated_url = base::UTF16ToUTF8(gfx::TruncateString( gfx 662 chrome/browser/ui/gtk/gtk_util.cc std::string truncated_title = base::UTF16ToUTF8(gfx::TruncateString( gfx 727 chrome/browser/ui/gtk/gtk_util.cc const gfx::Point& tabstrip_origin, gfx 738 chrome/browser/ui/gtk/gtk_util.cc const gfx::Image background = gfx 754 chrome/browser/ui/gtk/gtk_util.cc const gfx::Image& image, gfx 757 chrome/browser/ui/gtk/gtk_util.cc gfx::CairoCachedSurface* surface = image.ToCairo(); gfx 778 chrome/browser/ui/gtk/gtk_util.cc gfx::Rect GetWidgetRectRelativeToToplevel(GtkWidget* widget) { gfx 793 chrome/browser/ui/gtk/gtk_util.cc return gfx::Rect(x, y, allocation.width, allocation.height); gfx 828 chrome/browser/ui/gtk/gtk_util.cc gfx::Rect WidgetBounds(GtkWidget* widget) { gfx 839 chrome/browser/ui/gtk/gtk_util.cc return gfx::Rect(0, 0, allocation.width, allocation.height); gfx 939 chrome/browser/ui/gtk/gtk_util.cc gfx::Rect GetDialogBounds(GtkWidget* dialog) { gfx 944 chrome/browser/ui/gtk/gtk_util.cc return gfx::Rect(x, y, width, height); gfx 26 chrome/browser/ui/gtk/gtk_util.h namespace gfx { gfx 101 chrome/browser/ui/gtk/gtk_util.h gfx::Size GetWidgetSize(GtkWidget* widget); gfx 105 chrome/browser/ui/gtk/gtk_util.h void ConvertWidgetPointToScreen(GtkWidget* widget, gfx::Point* p); gfx 129 chrome/browser/ui/gtk/gtk_util.h int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds); gfx 133 chrome/browser/ui/gtk/gtk_util.h int MirroredRightPointForRect(GtkWidget* widget, const gfx::Rect& bounds); gfx 203 chrome/browser/ui/gtk/gtk_util.h const gfx::Point& tabstrip_origin, gfx 209 chrome/browser/ui/gtk/gtk_util.h const gfx::Image& image, gfx 223 chrome/browser/ui/gtk/gtk_util.h gfx::Rect GetWidgetRectRelativeToToplevel(GtkWidget* widget); gfx 240 chrome/browser/ui/gtk/gtk_util.h gfx::Rect WidgetBounds(GtkWidget* widget); gfx 282 chrome/browser/ui/gtk/gtk_util.h gfx::Rect GetDialogBounds(GtkWidget* dialog); gfx 111 chrome/browser/ui/gtk/gtk_window_util.cc bool BoundsMatchMonitorSize(GtkWindow* window, gfx::Rect bounds) { gfx 121 chrome/browser/ui/gtk/gtk_window_util.cc return bounds.size() == gfx::Size(monitor_size.width, monitor_size.height); gfx 131 chrome/browser/ui/gtk/gtk_window_util.cc if (bounds.size() == gfx::Size(monitor_size.width, monitor_size.height)) gfx 139 chrome/browser/ui/gtk/gtk_window_util.cc const gfx::Rect& bounds, gfx 187 chrome/browser/ui/gtk/gtk_window_util.cc const gfx::Rect& bounds, gfx 188 chrome/browser/ui/gtk/gtk_window_util.cc const gfx::Rect& restored_bounds) { gfx 209 chrome/browser/ui/gtk/gtk_window_util.cc void SetWindowSize(GtkWindow* window, const gfx::Size& size) { gfx 210 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Size new_size = size; gfx 231 chrome/browser/ui/gtk/gtk_window_util.cc if (gfx::Size(monitor_size.width, monitor_size.height) == size) { gfx 253 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect* bounds, gfx 254 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect* restored_bounds) { gfx 257 chrome/browser/ui/gtk/gtk_window_util.cc (*bounds).set_origin(gfx::Point(x, y)); gfx 262 chrome/browser/ui/gtk/gtk_window_util.cc bool GetWindowEdge(const gfx::Size& window_size, gfx 267 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect middle(window_size); gfx 275 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect north(0, 0, window_size.width(), gfx 277 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect west(0, 0, kResizeAreaCornerSize, window_size.height()); gfx 278 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect south(0, window_size.height() - kResizeAreaCornerSize, gfx 280 chrome/browser/ui/gtk/gtk_window_util.cc gfx::Rect east(window_size.width() - kResizeAreaCornerSize, 0, gfx 43 chrome/browser/ui/gtk/gtk_window_util.h bool BoundsMatchMonitorSize(GtkWindow* window, gfx::Rect bounds); gfx 46 chrome/browser/ui/gtk/gtk_window_util.h const gfx::Rect& bounds, gfx 52 chrome/browser/ui/gtk/gtk_window_util.h const gfx::Rect& bounds, gfx 53 chrome/browser/ui/gtk/gtk_window_util.h const gfx::Rect& restored_bounds); gfx 62 chrome/browser/ui/gtk/gtk_window_util.h void SetWindowSize(GtkWindow* window, const gfx::Size& size); gfx 67 chrome/browser/ui/gtk/gtk_window_util.h gfx::Rect* bounds, gfx 68 chrome/browser/ui/gtk/gtk_window_util.h gfx::Rect* restored_bounds); gfx 76 chrome/browser/ui/gtk/gtk_window_util.h bool GetWindowEdge(const gfx::Size& window_size, gfx 68 chrome/browser/ui/gtk/hover_controller_gtk.cc void HoverControllerGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 80 chrome/browser/ui/gtk/hover_controller_gtk.cc void HoverControllerGtk::AnimationEnded(const gfx::Animation* animation) { gfx 90 chrome/browser/ui/gtk/hover_controller_gtk.cc void HoverControllerGtk::AnimationCanceled(const gfx::Animation* animation) { gfx 21 chrome/browser/ui/gtk/hover_controller_gtk.h class HoverControllerGtk : public gfx::AnimationDelegate { gfx 46 chrome/browser/ui/gtk/hover_controller_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 47 chrome/browser/ui/gtk/hover_controller_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 48 chrome/browser/ui/gtk/hover_controller_gtk.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 58 chrome/browser/ui/gtk/hover_controller_gtk.h gfx::ThrobAnimation throb_animation_; gfx 59 chrome/browser/ui/gtk/hover_controller_gtk.h gfx::SlideAnimation hover_animation_; gfx 197 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc pixbuf = gfx::GdkPixbufFromSkBitmap(favicon); gfx 23 chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc void ShowImportLockDialog(gfx::NativeWindow parent, gfx 97 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gfx::Size(extension_misc::EXTENSION_ICON_BITTY, gfx 147 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc void ExtensionInfoBarGtk::OnImageLoaded(const gfx::Image& image) { gfx 152 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc const gfx::ImageSkia* icon = NULL; gfx 161 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gfx::ImageSkia* drop_image = rb.GetImageSkiaNamed(IDR_APP_DROPARROW); gfx 166 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc scoped_ptr<gfx::Canvas> canvas(new gfx::Canvas( gfx 167 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gfx::Size(image_size + kDropArrowLeftMargin + drop_image->width(), gfx 178 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); gfx 210 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc gfx::Size new_size(allocation->width, allocation->height); gfx 37 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h void OnImageLoaded(const gfx::Image& image); gfx 142 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc gfx::Rect bounds(x - (*it)->arrow_half_width(), gfx 153 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc const gfx::Rect& bounds, gfx 182 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc gfx::CanvasSkiaPaint canvas_paint(expose, false); gfx 188 chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc paint.setColor(SkColorSetA(gfx::GdkColorToSkColor(source->GetBorderColor()), gfx 20 chrome/browser/ui/gtk/infobars/infobar_container_gtk.h namespace gfx { gfx 78 chrome/browser/ui/gtk/infobars/infobar_container_gtk.h const gfx::Rect& bounds, gfx 115 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gfx::Image icon = delegate()->GetIcon(); gfx 47 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc background_color_animation_.reset(new gfx::SlideAnimation(this)); gfx 48 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc background_color_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 67 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc const gfx::Animation* animation) { gfx 22 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 67 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h scoped_ptr<gfx::SlideAnimation> background_color_animation_; gfx 52 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc gfx::NativeWindow parent_window) gfx 231 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.cc gfx::NativeWindow parent_window) { gfx 22 chrome/browser/ui/gtk/javascript_app_modal_dialog_gtk.h gfx::NativeWindow parent_window); gfx 172 chrome/browser/ui/gtk/location_bar_view_gtk.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 256 chrome/browser/ui/gtk/location_bar_view_gtk.cc const gfx::Animation* animation) { gfx 305 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Rect AllocationToRect(const GtkAllocation& allocation) { gfx 306 chrome/browser/ui/gtk/location_bar_view_gtk.cc return gfx::Rect(allocation.x, allocation.y, gfx 998 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::CanvasSkiaPaint canvas(event, /*opaque=*/false); gfx 1005 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Rect bounds(allocation); gfx 1077 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Point(event->x, event->y))) { gfx 1104 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Image favicon = gfx 1309 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Image image = extensions::OmniboxAPI::Get(profile())-> gfx 1361 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(location_icon_image_); gfx 1629 chrome/browser/ui/gtk/location_bar_view_gtk.cc const gfx::Animation* animation) { gfx 1637 chrome/browser/ui/gtk/location_bar_view_gtk.cc const gfx::Animation* animation) { gfx 1641 chrome/browser/ui/gtk/location_bar_view_gtk.cc const gfx::Animation* animation) { gfx 1779 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::Image icon = icon_factory_->GetIcon(current_tab_id_); gfx 1954 chrome/browser/ui/gtk/location_bar_view_gtk.cc gfx::CanvasSkiaPaint canvas(event, false); gfx 1957 chrome/browser/ui/gtk/location_bar_view_gtk.cc page_action_->PaintBadge(&canvas, gfx::Rect(allocation), tab_id); gfx 51 chrome/browser/ui/gtk/location_bar_view_gtk.h namespace gfx { gfx 159 chrome/browser/ui/gtk/location_bar_view_gtk.h class PageToolViewGtk : public gfx::AnimationDelegate { gfx 171 chrome/browser/ui/gtk/location_bar_view_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 172 chrome/browser/ui/gtk/location_bar_view_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 173 chrome/browser/ui/gtk/location_bar_view_gtk.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 203 chrome/browser/ui/gtk/location_bar_view_gtk.h gfx::SlideAnimation animation_; gfx 300 chrome/browser/ui/gtk/location_bar_view_gtk.h gfx::NativeWindow window_; gfx 106 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); gfx 90 chrome/browser/ui/gtk/manage_passwords_bubble_gtk.cc gfx::Rect rect = gfx::Rect(kBubbleAnchorWidth, kBubbleAnchorHeight); gfx 331 chrome/browser/ui/gtk/menu_gtk.cc const gfx::Image& icon) { gfx 423 chrome/browser/ui/gtk/menu_gtk.cc void MenuGtk::PopupAsContext(const gfx::Point& point, guint32 event_time) { gfx 425 chrome/browser/ui/gtk/menu_gtk.cc gfx::Point nonconst_point(point); gfx 459 chrome/browser/ui/gtk/menu_gtk.cc const gfx::Image& icon) { gfx 482 chrome/browser/ui/gtk/menu_gtk.cc gfx::Image icon; gfx 741 chrome/browser/ui/gtk/menu_gtk.cc gfx::Point* point = reinterpret_cast<gfx::Point*>(userdata); gfx 961 chrome/browser/ui/gtk/menu_gtk.cc gfx::Image icon; gfx 18 chrome/browser/ui/gtk/menu_gtk.h namespace gfx { gfx 69 chrome/browser/ui/gtk/menu_gtk.h const gfx::Image& icon); gfx 98 chrome/browser/ui/gtk/menu_gtk.h void PopupAsContext(const gfx::Point& point, guint32 event_time); gfx 138 chrome/browser/ui/gtk/menu_gtk.h const gfx::Image& icon); gfx 19 chrome/browser/ui/gtk/nine_box.cc void DrawImage(cairo_t* cr, GtkWidget* widget, gfx::Image* src, gfx 29 chrome/browser/ui/gtk/nine_box.cc void TileImage(cairo_t* cr, GtkWidget* widget, gfx::Image* src, gfx 87 chrome/browser/ui/gtk/nine_box.cc images_[0] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 89 chrome/browser/ui/gtk/nine_box.cc images_[1] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 91 chrome/browser/ui/gtk/nine_box.cc images_[2] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 93 chrome/browser/ui/gtk/nine_box.cc images_[3] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 95 chrome/browser/ui/gtk/nine_box.cc images_[4] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 98 chrome/browser/ui/gtk/nine_box.cc images_[5] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 101 chrome/browser/ui/gtk/nine_box.cc images_[6] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 103 chrome/browser/ui/gtk/nine_box.cc images_[7] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 106 chrome/browser/ui/gtk/nine_box.cc images_[8] = new gfx::Image(gdk_pixbuf_new_subpixbuf( gfx 10 chrome/browser/ui/gtk/nine_box.h namespace gfx { gfx 50 chrome/browser/ui/gtk/nine_box.h gfx::Image* images_[9]; gfx 16 chrome/browser/ui/gtk/notifications/balloon_collection_gtk.cc gfx::Size size(layout_.min_balloon_width(), layout_.min_balloon_height()); gfx 65 chrome/browser/ui/gtk/notifications/balloon_collection_gtk.cc return GetBalloonsBoundingBox().Contains(gfx::Point(x, y)); gfx 127 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Size BalloonViewImpl::GetSize() const { gfx 131 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc return gfx::Size(); gfx 136 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc return gfx::Size(GetDesiredTotalWidth(), GetDesiredTotalHeight()); gfx 174 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc anim_frame_start_ = gfx::Rect(start_x, start_y, start_w, start_h); gfx 175 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc anim_frame_end_ = gfx::Rect(end_x, end_y, end_w, end_h); gfx 176 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc animation_.reset(new gfx::SlideAnimation(this)); gfx 180 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc void BalloonViewImpl::AnimationProgressed(const gfx::Animation* animation) { gfx 187 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Rect frame_position( gfx 201 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Rect contents_rect = GetContentsRectangle(); gfx 231 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::NativeView contents = html_contents_->native_view(); gfx 323 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc balloon_->SetPosition(gfx::Point(pos_x, pos_y), false); gfx 340 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Point BalloonViewImpl::GetContentsOffset() const { gfx 341 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc return gfx::Point(kLeftShadowWidth + kLeftMargin, gfx 361 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Rect BalloonViewImpl::GetContentsRectangle() const { gfx 363 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc return gfx::Rect(); gfx 365 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Size content_size = balloon_->content_size(); gfx 366 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Point offset = GetContentsOffset(); gfx 369 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc return gfx::Rect(x + offset.x(), y + offset.y(), gfx 430 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Size content_size = balloon_->content_size(); gfx 431 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::Point offset = GetContentsOffset(); gfx 31 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h namespace gfx { gfx 40 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h public gfx::AnimationDelegate { gfx 50 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h virtual gfx::Size GetSize() const OVERRIDE; gfx 63 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 82 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h gfx::Point GetContentsOffset() const; gfx 85 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h gfx::Rect GetContentsRectangle() const; gfx 119 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 120 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h gfx::Rect anim_frame_start_; gfx 121 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h gfx::Rect anim_frame_end_; gfx 23 chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc void BalloonViewHost::UpdateActualSize(const gfx::Size& new_size) { gfx 35 chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.cc gfx::NativeView BalloonViewHost::native_view() const { gfx 22 chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h void UpdateActualSize(const gfx::Size& new_size); gfx 25 chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h gfx::NativeView native_view() const; gfx 93 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect GetWindowRect(GdkWindow* window) { gfx 96 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::Rect(width, height); gfx 110 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); gfx 113 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(kURLTextColor), &hue_hsl); gfx 128 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::SkColorToGdkColor(color_utils::HSLToSkColor(output, 255)); gfx 138 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(foreground), &fg_hsl); gfx 141 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(background), &bg_hsl); gfx 144 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::SkColorToHSL(gfx::GdkColorToSkColor(kURLTextColor), &hue_hsl); gfx 158 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::SkColorToGdkColor(color_utils::HSLToSkColor(output, 255)); gfx 162 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc OmniboxPopupViewGtk::OmniboxPopupViewGtk(const gfx::Font& font, gfx 269 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect OmniboxPopupViewGtk::GetTargetBounds() { gfx 271 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::Rect(); gfx 273 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect retval = ui::GetWidgetScreenBounds(window_); gfx 348 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect OmniboxPopupViewGtk::GetRectForLine(size_t line, int width) const { gfx 350 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return gfx::Rect(kBorderThickness, gfx 484 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::NativeView omnibox_view = omnibox_view_->GetNativeView(); gfx 497 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Image OmniboxPopupViewGtk::IconForMatch( gfx 501 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc const gfx::Image image = model_->GetIconIfExtensionMatch(match); gfx 618 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect window_rect = GetWindowRect(event->window); gfx 619 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect damage_rect = gfx::Rect(event->area); gfx 644 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc gfx::Rect line_rect = GetRectForLine(i, window_rect.width()); gfx 31 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h namespace gfx { gfx 38 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h OmniboxPopupViewGtk(const gfx::Font& font, gfx 51 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h virtual gfx::Rect GetTargetBounds() OVERRIDE; gfx 67 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h gfx::Rect GetRectForLine(size_t line, int width) const; gfx 100 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h gfx::Image IconForMatch(const AutocompleteMatch& match, gfx 137 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h gfx::Font font_; gfx 29 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc : OmniboxPopupViewGtk(gfx::Font(), NULL, NULL, NULL), gfx 457 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc gfx::Rect rect = view_->GetRectForLine(1, 100); gfx 476 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc gfx::Rect rect = view_->GetRectForLine(1, 100); gfx 693 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::NativeView OmniboxViewGtk::GetNativeView() const { gfx 697 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::NativeView OmniboxViewGtk::GetRelativeWindowForPopup() const { gfx 1669 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc c = gfx::SkColorToGdkColor( gfx 1673 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc c = gfx::SkColorToGdkColor( gfx 1677 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc c = gfx::SkColorToGdkColor( gfx 1681 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc c = gfx::SkColorToGdkColor( gfx 1686 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const gfx::Font& font = GetFont(); gfx 1694 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const gfx::Font& font = GetFont(); gfx 1704 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::Font OmniboxViewGtk::GetFont() { gfx 1706 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc return gfx::Font( gfx 1717 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::Font font( gfx 1751 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::Rect OmniboxViewGtk::WindowBoundsFromIters(GtkTextIter* iter1, gfx 1767 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc return gfx::Rect(x1, y1, x2 - x1, y2 - y1); gfx 1819 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::Rect expose_rect(expose->area); gfx 1823 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gfx::Rect strikethrough_rect = WindowBoundsFromIters(&iter_min, &iter_max); gfx 30 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h namespace gfx { gfx 99 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 100 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; gfx 227 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h gfx::Font GetFont(); gfx 236 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h gfx::Rect WindowBoundsFromIters(GtkTextIter* iter1, GtkTextIter* iter2); gfx 286 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc gfx::Rect bounds = gtk_util::WidgetBounds(parent_widget); gfx 42 chrome/browser/ui/gtk/overflow_button.cc const gfx::Image& image = ui::ResourceBundle::GetSharedInstance(). gfx 51 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc virtual void DragStarted(gfx::Point point) = 0; gfx 52 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc virtual void Dragged(gfx::Point point) = 0; gfx 70 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc virtual void DragStarted(gfx::Point point) OVERRIDE { gfx 73 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc virtual void Dragged(gfx::Point point) OVERRIDE { gfx 91 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc virtual void DragStarted(gfx::Point point) OVERRIDE { gfx 94 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc virtual void Dragged(gfx::Point point) OVERRIDE { gfx 161 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc GrabPointerAndKeyboard(event, gfx::GetCursor(GDK_FLEUR)); // Drag cursor. gfx 268 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc drag_delegate_->DragStarted(gfx::Point(old_x, old_y)); gfx 275 chrome/browser/ui/gtk/panels/panel_drag_gtk.cc drag_delegate_->Dragged(gfx::Point(new_x, new_y)); gfx 146 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Image CreateImageForColor(SkColor color) { gfx 147 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Canvas canvas(gfx::Size(1, 1), 1.0f, true); gfx 149 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Image(gfx::ImageSkia(canvas.ExtractImageRep())); gfx 152 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Image GetActiveBackgroundDefaultImage() { gfx 153 chrome/browser/ui/gtk/panels/panel_gtk.cc CR_DEFINE_STATIC_LOCAL(gfx::Image, image, ()); gfx 159 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Image GetInactiveBackgroundDefaultImage() { gfx 160 chrome/browser/ui/gtk/panels/panel_gtk.cc CR_DEFINE_STATIC_LOCAL(gfx::Image, image, ()); gfx 166 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Image GetAttentionBackgroundDefaultImage() { gfx 167 chrome/browser/ui/gtk/panels/panel_gtk.cc CR_DEFINE_STATIC_LOCAL(gfx::Image, image, ()); gfx 173 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Image GetMinimizeBackgroundDefaultImage() { gfx 174 chrome/browser/ui/gtk/panels/panel_gtk.cc CR_DEFINE_STATIC_LOCAL(gfx::Image, image, ()); gfx 190 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size& GetFrameSize() { gfx 191 chrome/browser/ui/gtk/panels/panel_gtk.cc CR_DEFINE_STATIC_LOCAL(gfx::Size, frame_size, ()); gfx 195 chrome/browser/ui/gtk/panels/panel_gtk.cc void SetFrameSize(const gfx::Size& new_size) { gfx 196 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size& frame_size = GetFrameSize(); gfx 204 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Rect& bounds, gfx 211 chrome/browser/ui/gtk/panels/panel_gtk.cc PanelGtk::PanelGtk(Panel* panel, const gfx::Rect& bounds, bool always_on_top) gfx 348 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Rect display_area = PanelManager::GetInstance()-> gfx 401 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size new_size(event->width, event->height); gfx 547 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Image PanelGtk::GetFrameBackground() const { gfx 582 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::CairoCachedSurface* surface = GetFrameBackground().ToCairo(); gfx 695 chrome/browser/ui/gtk/panels/panel_gtk.cc frame_cursor_ = has_hit_edge ? gfx::GetCursor(new_cursor) : NULL; gfx 719 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Point point(static_cast<int>(event->x_root - win_x), gfx 798 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Rect PanelGtk::GetPanelBounds() const { gfx 802 chrome/browser/ui/gtk/panels/panel_gtk.cc void PanelGtk::SetPanelBounds(const gfx::Rect& bounds) { gfx 806 chrome/browser/ui/gtk/panels/panel_gtk.cc void PanelGtk::SetPanelBoundsInstantly(const gfx::Rect& bounds) { gfx 810 chrome/browser/ui/gtk/panels/panel_gtk.cc void PanelGtk::SetBoundsInternal(const gfx::Rect& bounds) { gfx 915 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::NativeWindow PanelGtk::GetNativePanelWindow() { gfx 925 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Image app_icon = panel_->app_icon(); gfx 1017 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::NativeView widget = contents->GetView()->GetNativeView(); gfx 1026 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::NativeView widget = contents->GetView()->GetNativeView(); gfx 1036 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size PanelGtk::WindowSizeFromContentSize( gfx 1037 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Size& content_size) const { gfx 1038 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size& frame_size = GetFrameSize(); gfx 1039 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Size(content_size.width() + frame_size.width(), gfx 1043 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size PanelGtk::ContentSizeFromWindowSize( gfx 1044 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Size& window_size) const { gfx 1045 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size& frame_size = GetFrameSize(); gfx 1046 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Size(window_size.width() - frame_size.width(), gfx 1051 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size& frame_size = GetFrameSize(); gfx 1084 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::Size PanelGtk::GetNonClientFrameSize() const { gfx 1089 chrome/browser/ui/gtk/panels/panel_gtk.cc return gfx::Size(window_allocation.width - contents_allocation.width, gfx 1107 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE; gfx 1110 chrome/browser/ui/gtk/panels/panel_gtk.cc virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE; gfx 1137 chrome/browser/ui/gtk/panels/panel_gtk.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) { gfx 1168 chrome/browser/ui/gtk/panels/panel_gtk.cc void GtkNativePanelTesting::DragTitlebar(const gfx::Point& mouse_location) { gfx 25 chrome/browser/ui/gtk/panels/panel_gtk.h namespace gfx { gfx 40 chrome/browser/ui/gtk/panels/panel_gtk.h PanelGtk(Panel* panel, const gfx::Rect& bounds, bool always_on_top); gfx 48 chrome/browser/ui/gtk/panels/panel_gtk.h virtual gfx::Rect GetPanelBounds() const OVERRIDE; gfx 49 chrome/browser/ui/gtk/panels/panel_gtk.h virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; gfx 50 chrome/browser/ui/gtk/panels/panel_gtk.h virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; gfx 56 chrome/browser/ui/gtk/panels/panel_gtk.h virtual gfx::NativeWindow GetNativePanelWindow() OVERRIDE; gfx 74 chrome/browser/ui/gtk/panels/panel_gtk.h virtual gfx::Size WindowSizeFromContentSize( gfx 75 chrome/browser/ui/gtk/panels/panel_gtk.h const gfx::Size& content_size) const OVERRIDE; gfx 76 chrome/browser/ui/gtk/panels/panel_gtk.h virtual gfx::Size ContentSizeFromWindowSize( gfx 77 chrome/browser/ui/gtk/panels/panel_gtk.h const gfx::Size& window_size) const OVERRIDE; gfx 113 chrome/browser/ui/gtk/panels/panel_gtk.h gfx::Image GetFrameBackground() const; gfx 121 chrome/browser/ui/gtk/panels/panel_gtk.h void SetBoundsInternal(const gfx::Rect& bounds); gfx 126 chrome/browser/ui/gtk/panels/panel_gtk.h gfx::Size GetNonClientFrameSize() const; gfx 161 chrome/browser/ui/gtk/panels/panel_gtk.h gfx::Rect bounds_; gfx 173 chrome/browser/ui/gtk/panels/panel_gtk.h gfx::Size configure_size_; gfx 83 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc void PanelStackWindowGtk::MovePanelsBy(const gfx::Vector2d& delta) { gfx 87 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc gfx::Rect bounds = panel->GetBounds(); gfx 101 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc Panel* panel, const gfx::Rect& new_bounds) { gfx 242 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.cc gfx::Image app_icon = delegate_->GetIcon(); gfx 31 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h virtual void MovePanelsBy(const gfx::Vector2d& delta) OVERRIDE; gfx 34 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h const gfx::Rect& bounds) OVERRIDE; gfx 57 chrome/browser/ui/gtk/panels/panel_stack_window_gtk.h typedef std::map<Panel*, gfx::Rect> BoundsUpdates; gfx 237 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc gfx::Image icon = panel_gtk_->panel()->GetCurrentPageIcon(); gfx 251 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc GdkColor text_color = gfx::SkColorToGdkColor(GetTextColor()); gfx 296 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc gfx::Rect button_rect(0, 0, widget_allocation.width, gfx 43 chrome/browser/ui/gtk/password_generation_bubble_gtk.cc const gfx::Rect& anchor_rect, gfx 31 chrome/browser/ui/gtk/password_generation_bubble_gtk.h PasswordGenerationBubbleGtk(const gfx::Rect& anchor_rect, gfx 135 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc void RenderViewContextMenuGtk::Popup(const gfx::Point& point) { gfx 29 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.h void Popup(const gfx::Point& point); gfx 24 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) gfx 139 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc gfx::NativeViewId ScreenCaptureNotificationUIGtk::OnStarted( gfx 46 chrome/browser/ui/gtk/simple_message_box_gtk.cc MessageBoxResult ShowMessageBox(gfx::NativeWindow parent, gfx 58 chrome/browser/ui/gtk/slide_animator_gtk.cc animation_.reset(new gfx::SlideAnimation(this)); gfx 61 chrome/browser/ui/gtk/slide_animator_gtk.cc animation_->SetTweenType(gfx::Tween::LINEAR); gfx 115 chrome/browser/ui/gtk/slide_animator_gtk.cc void SlideAnimatorGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 131 chrome/browser/ui/gtk/slide_animator_gtk.cc void SlideAnimatorGtk::AnimationEnded(const gfx::Animation* animation) { gfx 24 chrome/browser/ui/gtk/slide_animator_gtk.h namespace gfx { gfx 28 chrome/browser/ui/gtk/slide_animator_gtk.h class SlideAnimatorGtk : public gfx::AnimationDelegate { gfx 88 chrome/browser/ui/gtk/slide_animator_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 89 chrome/browser/ui/gtk/slide_animator_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 99 chrome/browser/ui/gtk/slide_animator_gtk.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 50 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc const gfx::Rect& element_rect); gfx 69 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc gfx::Rect element_rect_; gfx 84 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc const gfx::Rect& element_rect) gfx 181 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc gfx::Rect container_rect; gfx 183 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc gfx::Rect target_rect(element_rect_.right() - kBubbleTargetOffsetX, gfx 255 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc gfx::ImageSkia* volume = ResourceBundle::GetSharedInstance(). gfx 277 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc gfx::ImageSkia image = icon_image(); gfx 281 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(*image.bitmap()); gfx 298 chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc const gfx::Rect& element_rect) { gfx 120 chrome/browser/ui/gtk/status_bubble_gtk.cc ElideUrl(url_, gfx::FontList(), desired_width, languages_)); gfx 169 chrome/browser/ui/gtk/status_bubble_gtk.cc const gfx::Point& location, bool left_content) { gfx 209 chrome/browser/ui/gtk/status_bubble_gtk.cc gfx::Rect parent_rect = gfx 211 chrome/browser/ui/gtk/status_bubble_gtk.cc gfx::Rect bubble_rect( gfx 346 chrome/browser/ui/gtk/status_bubble_gtk.cc expand_animation_.reset(new gfx::SlideAnimation(this)); gfx 347 chrome/browser/ui/gtk/status_bubble_gtk.cc expand_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 368 chrome/browser/ui/gtk/status_bubble_gtk.cc MouseMoved(gfx::Point(event->x_root, event->y_root), false); gfx 374 chrome/browser/ui/gtk/status_bubble_gtk.cc MouseMoved(gfx::Point(event->x_root, event->y_root), false); gfx 378 chrome/browser/ui/gtk/status_bubble_gtk.cc void StatusBubbleGtk::AnimationEnded(const gfx::Animation* animation) { gfx 382 chrome/browser/ui/gtk/status_bubble_gtk.cc void StatusBubbleGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 27 chrome/browser/ui/gtk/status_bubble_gtk.h namespace gfx { gfx 37 chrome/browser/ui/gtk/status_bubble_gtk.h public gfx::AnimationDelegate { gfx 49 chrome/browser/ui/gtk/status_bubble_gtk.h virtual void MouseMoved(const gfx::Point& location, gfx 53 chrome/browser/ui/gtk/status_bubble_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 54 chrome/browser/ui/gtk/status_bubble_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 149 chrome/browser/ui/gtk/status_bubble_gtk.h scoped_ptr<gfx::SlideAnimation> expand_animation_; gfx 169 chrome/browser/ui/gtk/status_bubble_gtk.h gfx::Point last_mouse_location_; gfx 29 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc void StatusIconGtk::SetImage(const gfx::ImageSkia& image) { gfx 33 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(*image.bitmap()); gfx 38 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc void StatusIconGtk::SetPressedImage(const gfx::ImageSkia& image) { gfx 47 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc void StatusIconGtk::DisplayBalloon(const gfx::ImageSkia& icon, gfx 23 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE; gfx 24 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE; gfx 26 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 17 chrome/browser/ui/gtk/status_icons/status_tray_gtk.cc const gfx::ImageSkia& image, gfx 20 chrome/browser/ui/gtk/status_icons/status_tray_gtk.h const gfx::ImageSkia& image, gfx 34 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 47 chrome/browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 96 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc gfx::NativeView ChromeWebContentsViewDelegateGtk::GetNativeView() const { gfx 160 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc gfx::Rect bounds; gfx 162 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.cc gfx::Point point = bounds.origin(); gfx 47 chrome/browser/ui/gtk/tab_contents/chrome_web_contents_view_delegate_gtk.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 82 chrome/browser/ui/gtk/tab_contents_container_gtk.cc const gfx::NativeView widget = is_embedding_fullscreen_widget_ ? gfx 125 chrome/browser/ui/gtk/tab_contents_container_gtk.cc const gfx::NativeView widget = tab->GetView()->GetNativeView(); gfx 126 chrome/browser/ui/gtk/tab_contents_container_gtk.cc const gfx::NativeView fs_widget = gfx 40 chrome/browser/ui/gtk/tab_modal_confirm_dialog_gtk.cc gfx::Image* icon = delegate->GetIcon(); gfx 48 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect GetEffectiveBounds(const gfx::Rect& bounds) { gfx 49 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect effective_bounds(bounds); gfx 89 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc void DraggedTabControllerGtk::CaptureDragInfo(const gfx::Point& mouse_offset) { gfx 90 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc start_screen_point_ = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 107 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc Attach(source_tabstrip_, gfx::Point()); gfx 198 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc const gfx::Rect& initial_pos, gfx 260 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point DraggedTabControllerGtk::GetWindowCreatePoint() const { gfx 261 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point creation_point = gfx 262 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 263 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point distance_from_origin = gfx 275 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point screen_point = gfx 276 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 317 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc void DraggedTabControllerGtk::MoveAttached(const gfx::Point& screen_point) { gfx 320 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point dragged_view_point = GetDraggedViewPoint(screen_point); gfx 345 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect bounds = GetDraggedViewTabStripBounds(dragged_view_point); gfx 357 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc void DraggedTabControllerGtk::MoveDetached(const gfx::Point& screen_point) { gfx 365 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc const gfx::Point& screen_point) { gfx 366 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::NativeWindow local_window = GetLocalProcessWindow(screen_point); gfx 383 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc TabStripGtk* tabstrip, const gfx::Point& screen_point) const { gfx 386 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect tabstrip_bounds = gfx 404 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc const gfx::Point& screen_point) { gfx 432 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect window_bounds = ui::GetWidgetScreenBounds(parent_window); gfx 461 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect bounds = gfx 509 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point DraggedTabControllerGtk::ConvertScreenPointToTabStripPoint( gfx 510 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc TabStripGtk* tabstrip, const gfx::Point& screen_point) { gfx 514 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect DraggedTabControllerGtk::GetDraggedViewTabStripBounds( gfx 515 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc const gfx::Point& screen_point) { gfx 516 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point client_point = gfx 518 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Size tab_size = dragged_view_->attached_tab_size(); gfx 519 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc return gfx::Rect(client_point.x(), client_point.y(), gfx 524 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc const gfx::Rect& dragged_bounds) { gfx 537 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i); gfx 538 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect left_half, right_half; gfx 573 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Point DraggedTabControllerGtk::GetDraggedViewPoint( gfx 574 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc const gfx::Point& screen_point) { gfx 581 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect tabstrip_bounds = gfx 589 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Size tab_size = dragged_view_->attached_tab_size(); gfx 610 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc return gfx::Point(x, y); gfx 764 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect window_bounds = window->GetRestoredBounds(); gfx 797 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect rect; gfx 804 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect DraggedTabControllerGtk::GetAnimateBounds() { gfx 815 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Rect bounds = tab->GetRequisition(); gfx 820 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc return gfx::Rect(bounds.x(), bounds.y(), gfx 873 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::NativeWindow window = GetLocalProcessWindow( gfx 874 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Screen::GetNativeScreen()->GetCursorScreenPoint()); gfx 889 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::NativeWindow DraggedTabControllerGtk::GetLocalProcessWindow( gfx 890 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc const gfx::Point& screen_point) { gfx 894 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(), gfx 41 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h void CaptureDragInfo(const gfx::Point& mouse_offset); gfx 92 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h const gfx::Rect& initial_pos, gfx 110 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::Point GetWindowCreatePoint() const; gfx 117 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h void MoveAttached(const gfx::Point& screen_point); gfx 120 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h void MoveDetached(const gfx::Point& screen_point); gfx 127 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h TabStripGtk* GetTabStripForPoint(const gfx::Point& screen_point); gfx 132 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h const gfx::Point& screen_point) const; gfx 135 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h void Attach(TabStripGtk* attached_tabstrip, const gfx::Point& screen_point); gfx 141 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::Point ConvertScreenPointToTabStripPoint(TabStripGtk* tabstrip, gfx 142 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h const gfx::Point& screen_point); gfx 146 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::Rect GetDraggedViewTabStripBounds(const gfx::Point& screen_point); gfx 151 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h int GetInsertionIndexForDraggedBounds(const gfx::Rect& dragged_bounds); gfx 155 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::Point GetDraggedViewPoint(const gfx::Point& screen_point); gfx 188 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::Rect GetAnimateBounds(); gfx 220 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::NativeWindow GetLocalProcessWindow(const gfx::Point& screen_point); gfx 241 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::Point start_screen_point_; gfx 247 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h gfx::Point mouse_offset_; gfx 55 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc const gfx::Point& mouse_tab_offset, gfx 56 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc const gfx::Size& contents_size) gfx 104 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc void DraggedViewGtk::MoveDetachedTo(const gfx::Point& screen_point) { gfx 106 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Point distance_from_origin = gfx 113 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc void DraggedViewGtk::MoveAttachedTo(const gfx::Point& tabstrip_point) { gfx 122 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Point DraggedViewGtk::GetDistanceFromTabStripOriginToMousePointer() { gfx 123 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Point start_point(GetWidthInTabStripUpToMousePointer(), gfx 205 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc void DraggedViewGtk::AnimateToBounds(const gfx::Rect& bounds, gfx 215 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc animation_start_bounds_ = gfx::Rect(x, y, width, height); gfx 219 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc close_animation_.SetTweenType(gfx::Tween::EASE_OUT); gfx 229 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc void DraggedViewGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 238 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc void DraggedViewGtk::AnimationEnded(const gfx::Animation* animation) { gfx 242 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc void DraggedViewGtk::AnimationCanceled(const gfx::Animation* animation) { gfx 252 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Rect rect(GetPreferredSize()); gfx 265 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Rect(left, 0, attached_tab_size_.width(), gfx 270 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Size DraggedViewGtk::GetPreferredSize() { gfx 272 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Size preferred_size(attached_tab_size_); gfx 281 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc return gfx::Size(width, height); gfx 285 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Size size = GetPreferredSize(); gfx 295 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Rect DraggedViewGtk::bounds() const { gfx 299 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc return gfx::Rect(x, y, width, height); gfx 324 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Size size = bounds().size(); gfx 335 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Size size(GetPreferredSize()); gfx 403 chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc gfx::Rect dest_rect(kDragFrameBorderSize, tab_height, gfx 25 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h class DraggedViewGtk : public gfx::AnimationDelegate { gfx 28 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h const gfx::Point& mouse_tab_offset, gfx 29 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h const gfx::Size& contents_size); gfx 35 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h void MoveAttachedTo(const gfx::Point& tabstrip_point); gfx 39 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h void MoveDetachedTo(const gfx::Point& screen_point); gfx 42 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h void set_mouse_tab_offset(const gfx::Point& offset) { gfx 63 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h void AnimateToBounds(const gfx::Rect& bounds, const base::Closure& callback); gfx 67 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h const gfx::Size& attached_tab_size() const { return attached_tab_size_; } gfx 93 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Point GetDistanceFromTabStripOriginToMousePointer(); gfx 97 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 98 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 99 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 105 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Size GetPreferredSize(); gfx 114 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Rect bounds() const; gfx 168 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Point mouse_tab_offset_; gfx 172 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Size attached_tab_size_; gfx 175 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Size contents_size_; gfx 178 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::SlideAnimation close_animation_; gfx 184 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Rect animation_start_bounds_; gfx 185 chrome/browser/ui/gtk/tabs/dragged_view_gtk.h gfx::Rect animation_end_bounds_; gfx 33 chrome/browser/ui/gtk/tabs/tab_gtk.cc int GetTitleWidth(gfx::Font* font, base::string16 title) { gfx 38 chrome/browser/ui/gtk/tabs/tab_gtk.cc return gfx::GetStringWidth(title, gfx::FontList(*font)); gfx 141 chrome/browser/ui/gtk/tabs/tab_gtk.cc menu_controller_->RunMenu(gfx::Point(event->x_root, event->y_root), gfx 241 chrome/browser/ui/gtk/tabs/tab_gtk.cc StartDragging(gfx::Point( gfx 278 chrome/browser/ui/gtk/tabs/tab_gtk.cc void TabGtk::SetBounds(const gfx::Rect& bounds) { gfx 282 chrome/browser/ui/gtk/tabs/tab_gtk.cc gfx::Path mask; gfx 347 chrome/browser/ui/gtk/tabs/tab_gtk.cc void TabGtk::StartDragging(gfx::Point drag_offset) { gfx 68 chrome/browser/ui/gtk/tabs/tab_gtk.h virtual void MaybeStartDrag(TabGtk* tab, const gfx::Point& point) = 0; gfx 124 chrome/browser/ui/gtk/tabs/tab_gtk.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 170 chrome/browser/ui/gtk/tabs/tab_gtk.h void StartDragging(gfx::Point drag_offset); gfx 95 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect GetWidgetBoundsRelativeToParent(GtkWidget* parent, gfx 97 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect bounds = ui::GetWidgetScreenBounds(widget); gfx 121 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); gfx 127 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc pixbuf = gfx::GdkPixbufFromSkBitmap(resized_icon); gfx 178 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Font* TabRendererGtk::title_font_ = NULL; gfx 264 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc class TabRendererGtk::FaviconCrashAnimation : public gfx::LinearAnimation, gfx 265 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc public gfx::AnimationDelegate { gfx 268 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc : gfx::LinearAnimation(1000, 25, this), gfx 289 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE { gfx 332 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc hover_animation_.reset(new gfx::SlideAnimation(this)); gfx 387 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::kFaviconSize, gfx::kFaviconSize); gfx 501 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const gfx::Image tab_bg = theme_service_->GetImageNamed(theme_id); gfx 513 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image active_bg = gfx 531 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::MaybeAdjustLeftForMiniTab(gfx::Rect* icon_bounds) const { gfx 544 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Size TabRendererGtk::GetMinimumUnselectedSize() { gfx 547 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Size minimum_size; gfx 556 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Size TabRendererGtk::GetMinimumSelectedSize() { gfx 557 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Size minimum_size = GetMinimumUnselectedSize(); gfx 558 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc minimum_size.set_width(kLeftPadding + gfx::kFaviconSize + kRightPadding); gfx 563 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Size TabRendererGtk::GetStandardSize() { gfx 564 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Size standard_size = GetMinimumUnselectedSize(); gfx 578 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int content_height = std::max(gfx::kFaviconSize, title_font_height_); gfx 582 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect TabRendererGtk::GetNonMirroredBounds(GtkWidget* parent) const { gfx 586 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect bounds = GetWidgetBoundsRelativeToParent(parent, widget()); gfx 591 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect TabRendererGtk::GetRequisition() const { gfx 592 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc return gfx::Rect(requisition_.x(), requisition_.y(), gfx 598 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc mini_title_animation_.reset(new gfx::ThrobAnimation(this)); gfx 611 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::SetBounds(const gfx::Rect& bounds) { gfx 632 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 636 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::AnimationCanceled(const gfx::Animation* animation) { gfx 642 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::AnimationEnded(const gfx::Animation* animation) { gfx 734 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect TabRendererGtk::GetLocalBounds() { gfx 735 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc return gfx::Rect(0, 0, bounds_.width(), bounds_.height()); gfx 739 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect local_bounds = GetLocalBounds(); gfx 750 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int favicon_top = kTopPadding + (content_height - gfx::kFaviconSize) / 2; gfx 752 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::kFaviconSize, gfx::kFaviconSize); gfx 788 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const gfx::Image& media_indicator_image = gfx 811 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Size minimum_size = GetMinimumUnselectedSize(); gfx 887 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect bounds(allocation); gfx 892 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::CanvasSkiaPaintCairo canvas(cr, bounds.size(), true); gfx 899 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int flags = gfx::Canvas::NO_ELLIPSIS | gfx::Canvas::NO_SUBPIXEL_RENDERING; gfx 901 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc title, gfx::Canvas::TruncateFadeTail, gfx::FontList(*title_font_), gfx 911 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::CairoCachedSurface* to_display = NULL; gfx 937 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const gfx::Image& media_indicator_image = gfx 963 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const gfx::Image& tab_bg, gfx 972 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image& tab_l_mask = rb.GetNativeImageNamed(IDR_TAB_ALPHA_LEFT); gfx 983 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image& tab_r_mask = rb.GetNativeImageNamed(IDR_TAB_ALPHA_RIGHT); gfx 994 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image& active_image_l = rb.GetNativeImageNamed(left_idr); gfx 995 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image& active_image_c = rb.GetNativeImageNamed(center_idr); gfx 996 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image& active_image_r = rb.GetNativeImageNamed(right_idr); gfx 1021 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image tab_bg = theme_service_->GetImageNamed(theme_id); gfx 1037 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image tab_bg = theme_service_->GetImageNamed(IDR_THEME_TOOLBAR); gfx 1048 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Image throbber = theme_service_->GetImageNamed(id); gfx 1068 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc if (available_width >= gfx::kFaviconSize && gfx 1069 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc available_width < (gfx::kFaviconSize + kPaddingBetweenIcons)) { gfx 1072 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc return available_width / (gfx::kFaviconSize + kPaddingBetweenIcons); gfx 1155 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gfx::Rect bounds = gfx::Rect(allocation->x, allocation->y, gfx 1169 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc hover_animation_->SetTweenType(gfx::Tween::EASE_OUT); gfx 1176 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc hover_animation_->SetTweenType(gfx::Tween::EASE_IN); gfx 1201 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc const gfx::Font& base_font = rb.GetFont(ui::ResourceBundle::BaseFont); gfx 1202 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc title_font_ = new gfx::Font(base_font.GetFontName(), kFontPixelSize); gfx 27 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h namespace gfx { gfx 42 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h class TabRendererGtk : public gfx::AnimationDelegate, gfx 167 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h virtual void SetBounds(const gfx::Rect& bounds); gfx 182 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h void MaybeAdjustLeftForMiniTab(gfx::Rect* bounds) const; gfx 185 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h static gfx::Size GetMinimumUnselectedSize(); gfx 189 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h static gfx::Size GetMinimumSelectedSize(); gfx 192 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h static gfx::Size GetStandardSize(); gfx 197 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h static gfx::Font* title_font() { return title_font_; } gfx 205 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect bounds() const { return bounds_; } gfx 207 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect favicon_bounds() const { return favicon_bounds_; } gfx 210 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect GetNonMirroredBounds(GtkWidget* parent) const; gfx 213 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect GetRequisition() const; gfx 224 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h const gfx::Rect& title_bounds() const { return title_bounds_; } gfx 225 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h const gfx::Rect& close_button_bounds() const { return close_button_bounds_; } gfx 252 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::CairoCachedSurface cairo_favicon; gfx 268 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 269 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 270 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 294 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect GetLocalBounds(); gfx 317 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h const gfx::Image& tab_bg, gfx 364 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect favicon_bounds_; gfx 365 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect title_bounds_; gfx 366 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect media_indicator_bounds_; gfx 367 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect close_button_bounds_; gfx 376 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h static gfx::Font* title_font_; gfx 409 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect bounds_; gfx 413 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h gfx::Rect requisition_; gfx 416 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h scoped_ptr<gfx::SlideAnimation> hover_animation_; gfx 419 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h scoped_ptr<gfx::ThrobAnimation> mini_title_animation_; gfx 423 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h scoped_ptr<gfx::Animation> media_indicator_animation_; gfx 98 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect GetInitialWidgetBounds(GtkWidget* widget) { gfx 101 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return gfx::Rect(0, 0, request.width, request.height); gfx 117 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect favicon_bounds = tab->favicon_bounds(); gfx 132 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc class TabStripGtk::TabAnimation : public gfx::AnimationDelegate { gfx 162 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc animation_.SetTweenType(gfx::Tween::EASE_OUT); gfx 202 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 206 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE { gfx 211 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE { gfx 259 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::SlideAnimation animation_; gfx 413 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE { gfx 444 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 449 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds(Round(new_x), start_tab_a_bounds_.y(), tab_a_->width(), gfx 457 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc bounds = gfx::Rect(Round(new_x), start_tab_b_bounds_.y(), tab_b_->width(), gfx 474 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect start_tab_a_bounds_; gfx 475 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect start_tab_b_bounds_; gfx 497 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE { gfx 611 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc const gfx::Rect& start_bounds) gfx 631 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 640 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect tab_bounds(x, start_bounds_.y(), width, gfx 645 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE { gfx 700 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect start_bounds_; gfx 703 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect target_bounds_; gfx 836 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc const gfx::Rect& bounds = tab_data_.at(i).ideal_bounds; gfx 852 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::SetBounds(const gfx::Rect& bounds) { gfx 873 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect favicon_bounds = current_tab->favicon_bounds(); gfx 924 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect TabStripGtk::GetIdealBounds(int index) { gfx 934 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Point TabStripGtk::GetTabStripOriginForWidget(GtkWidget* target) { gfx 953 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return gfx::Point(x, y); gfx 1018 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabData d = { tab, gfx::Rect() }; gfx 1106 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect start_bounds = GetIdealBounds(from_index); gfx 1109 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabData data = {tab, gfx::Rect()}; gfx 1272 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::MaybeStartDrag(TabGtk* tab, const gfx::Point& point) { gfx 1449 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect state(rounded_tab_x, 0, Round(end_of_tab) - rounded_tab_x, gfx 1469 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds(0, y, newtab_surface_bounds_.width(), height); gfx 1613 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Point tabstrip_topleft; gfx 1616 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bds = bounds(); gfx 1624 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Point cursor_point(x, y); gfx 1664 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect TabStripGtk::GetDropBounds(int drop_index, gfx 1671 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get()); gfx 1679 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds = last_tab->GetNonMirroredBounds(tabstrip_.get()); gfx 1686 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Point drop_loc(center_x - drop_indicator_width / 2, gfx 1689 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect drop_bounds(drop_loc.x(), drop_loc.y(), drop_indicator_width, gfx 1709 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get()); gfx 1729 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect drop_bounds = GetDropBounds(index, drop_before, &is_beneath); gfx 1806 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Image* TabStripGtk::GetDropArrowImage(bool is_down) { gfx 1943 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds(rounded_tab_x, 0, Round(end_of_tab) - rounded_tab_x, gfx 1994 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc const gfx::Rect& start_bounds) { gfx 2101 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bounds = gfx::Rect(allocation->x, allocation->y, gfx 2210 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::SetTabBounds(TabGtk* tab, const gfx::Rect& bounds) { gfx 2211 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc gfx::Rect bds = bounds; gfx 31 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h namespace gfx { gfx 73 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h void SetBounds(const gfx::Rect& bounds); gfx 76 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h const gfx::Rect& bounds() const { return bounds_; } gfx 96 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h gfx::Rect GetIdealBounds(int index); gfx 104 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual gfx::Point GetTabStripOriginForWidget(GtkWidget* widget) OVERRIDE; gfx 157 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void MaybeStartDrag(TabGtk* tab, const gfx::Point& point) OVERRIDE; gfx 190 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h gfx::Rect ideal_bounds; gfx 241 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h gfx::Image* drop_arrow; gfx 281 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h void SetTabBounds(TabGtk* tab, const gfx::Rect& bounds); gfx 387 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h gfx::Rect GetDropBounds(int drop_index, bool drop_before, bool* is_beneath); gfx 402 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h static gfx::Image* GetDropArrowImage(bool is_down); gfx 420 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h const gfx::Rect& start_bounds); gfx 454 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h gfx::Rect bounds_; gfx 476 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h gfx::Rect newtab_surface_bounds_; gfx 22 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.cc void TabStripMenuController::RunMenu(const gfx::Point& point, gfx 15 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.h namespace gfx { gfx 33 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.h void RunMenu(const gfx::Point& point, guint32 event_time); gfx 65 chrome/browser/ui/gtk/tabs/window_finder.cc const gfx::Point& screen_loc, gfx 95 chrome/browser/ui/gtk/tabs/window_finder.cc const gfx::Point& screen_loc, gfx 108 chrome/browser/ui/gtk/tabs/window_finder.cc gfx::Point screen_loc_; gfx 126 chrome/browser/ui/gtk/tabs/window_finder.cc static XID GetProcessWindowAtPoint(const gfx::Point& screen_loc, gfx 158 chrome/browser/ui/gtk/tabs/window_finder.cc LocalProcessWindowFinder(const gfx::Point& screen_loc, gfx 167 chrome/browser/ui/gtk/tabs/window_finder.cc gfx::Point screen_loc_; gfx 179 chrome/browser/ui/gtk/tabs/window_finder.cc const gfx::Point& screen_point, gfx 13 chrome/browser/ui/gtk/tabs/window_finder.h namespace gfx { gfx 19 chrome/browser/ui/gtk/tabs/window_finder.h const gfx::Point& screen_point, gfx 8 chrome/browser/ui/gtk/tabstrip_origin_provider.h namespace gfx{ gfx 27 chrome/browser/ui/gtk/tabstrip_origin_provider.h virtual gfx::Point GetTabStripOriginForWidget(GtkWidget* widget) = 0; gfx 254 chrome/browser/ui/gtk/task_manager_gtk.cc void RunMenu(const gfx::Point& point, guint32 event_time) { gfx 664 chrome/browser/ui/gtk/task_manager_gtk.cc return gfx::GdkPixbufFromSkBitmap(icon); gfx 764 chrome/browser/ui/gtk/task_manager_gtk.cc void TaskManagerGtk::ShowContextMenu(const gfx::Point& point, gfx 816 chrome/browser/ui/gtk/task_manager_gtk.cc gfx::Rect dialog_bounds = gtk_util::GetDialogBounds(GTK_WIDGET(dialog)); gfx 927 chrome/browser/ui/gtk/task_manager_gtk.cc ShowContextMenu(gfx::Point(event->x_root, event->y_root), gfx 18 chrome/browser/ui/gtk/task_manager_gtk.h namespace gfx { gfx 70 chrome/browser/ui/gtk/task_manager_gtk.h void ShowContextMenu(const gfx::Point& point, guint32 event_time); gfx 42 chrome/browser/ui/gtk/throbber_gtk.cc void ThrobberGtk::AnimationEnded(const gfx::Animation* animation) { gfx 47 chrome/browser/ui/gtk/throbber_gtk.cc void ThrobberGtk::AnimationProgressed(const gfx::Animation* animation) { gfx 66 chrome/browser/ui/gtk/throbber_gtk.cc gfx::CairoCachedSurface* cairo_frames = frames_.ToCairo(); gfx 82 chrome/browser/ui/gtk/throbber_gtk.cc animation_.SetTweenType(gfx::Tween::LINEAR); gfx 23 chrome/browser/ui/gtk/throbber_gtk.h class ThrobberGtk : public gfx::AnimationDelegate, gfx 37 chrome/browser/ui/gtk/throbber_gtk.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 38 chrome/browser/ui/gtk/throbber_gtk.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 63 chrome/browser/ui/gtk/throbber_gtk.h gfx::SlideAnimation animation_; gfx 66 chrome/browser/ui/gtk/throbber_gtk.h gfx::Image frames_; gfx 32 chrome/browser/ui/gtk/titlebar_throb_animation.cc frames->push_back(gfx::GdkPixbufFromSkBitmap(frame)); gfx 33 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Rect& anchor_in_screen, gfx 39 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Rect& anchor_in_root_view) OVERRIDE; gfx 53 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Rect& anchor_in_root_view, gfx 78 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Rect& anchor_in_root_view) { gfx 94 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap( gfx 103 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Font& main_font = bundle.GetFont(ResourceBundle::MediumFont); gfx 110 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Font& sub_font = bundle.GetFont(ResourceBundle::BaseFont); gfx 133 chrome/browser/ui/gtk/validation_message_bubble_gtk.cc const gfx::Rect& anchor_in_root_view, gfx 27 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::NativeWindow ShowWebDialog(gfx::NativeWindow parent, gfx 61 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::NativeWindow parent_window) gfx 97 chrome/browser/ui/gtk/web_dialog_gtk.cc void WebDialogGtk::GetDialogSize(gfx::Size* size) const { gfx 101 chrome/browser/ui/gtk/web_dialog_gtk.cc *size = gfx::Size(); gfx 104 chrome/browser/ui/gtk/web_dialog_gtk.cc void WebDialogGtk::GetMinimumDialogSize(gfx::Size* size) const { gfx 108 chrome/browser/ui/gtk/web_dialog_gtk.cc *size = gfx::Size(); gfx 127 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::Rect dialog_bounds = gtk_util::GetDialogBounds(GTK_WIDGET(dialog_)); gfx 166 chrome/browser/ui/gtk/web_dialog_gtk.cc const gfx::Rect& initial_pos, gfx 207 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::NativeWindow WebDialogGtk::InitDialog() { gfx 236 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::NativeView web_contents_widget = gfx 240 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::Size dialog_size; gfx 247 chrome/browser/ui/gtk/web_dialog_gtk.cc gfx::Size minimum_dialog_size; gfx 31 chrome/browser/ui/gtk/web_dialog_gtk.h gfx::NativeWindow parent_window); gfx 35 chrome/browser/ui/gtk/web_dialog_gtk.h gfx::NativeWindow InitDialog(); gfx 43 chrome/browser/ui/gtk/web_dialog_gtk.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 44 chrome/browser/ui/gtk/web_dialog_gtk.h virtual void GetMinimumDialogSize(gfx::Size* size) const OVERRIDE; gfx 62 chrome/browser/ui/gtk/web_dialog_gtk.h const gfx::Rect& initial_pos, gfx 76 chrome/browser/ui/gtk/web_dialog_gtk.h gfx::NativeWindow parent_window_; gfx 85 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc const gfx::Image& icon, gfx 131 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc explicit InternalPageInfoPopupGtk(gfx::NativeWindow parent, gfx 146 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gfx::NativeWindow parent, Profile* profile) { gfx 193 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc void WebsiteSettingsPopupGtk::Show(gfx::NativeWindow parent, gfx 205 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gfx::NativeWindow parent, gfx 665 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gfx::CairoCachedSurface* left_tab_shadow = gfx 672 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gfx::CairoCachedSurface* right_tab_shadow = gfx 679 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gfx::CairoCachedSurface* tiling_shadow = gfx 45 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h static void Show(gfx::NativeWindow parent, gfx 54 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h WebsiteSettingsPopupGtk(gfx::NativeWindow parent, gfx 131 chrome/browser/ui/gtk/zoom_bubble_gtk.cc gfx::Rect rect = gfx::Rect(kBubbleAnchorWidth, kBubbleAnchorHeight); gfx 19 chrome/browser/ui/host_desktop.cc HostDesktopType GetHostDesktopTypeForNativeView(gfx::NativeView native_view) { gfx 37 chrome/browser/ui/host_desktop.cc gfx::NativeWindow native_window) { gfx 35 chrome/browser/ui/host_desktop.h HostDesktopType GetHostDesktopTypeForNativeView(gfx::NativeView native_view); gfx 37 chrome/browser/ui/host_desktop.h gfx::NativeWindow native_window); gfx 123 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc base::FilePath CreateTempImageFile(gfx::ImageSkia* image_ptr, gfx 126 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc scoped_ptr<gfx::ImageSkia> image(image_ptr); gfx 129 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc gfx::Image(*image.get()).As1xPNGBytes(); gfx 166 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc const gfx::ImageSkia& image, gfx 197 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc void AppIndicatorIcon::SetImage(const gfx::ImageSkia& image) { gfx 205 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc scoped_ptr<gfx::ImageSkia> safe_image(image.DeepCopy()); gfx 219 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc void AppIndicatorIcon::SetPressedImage(const gfx::ImageSkia& image) { gfx 16 chrome/browser/ui/libgtk2ui/app_indicator_icon.h namespace gfx { gfx 31 chrome/browser/ui/libgtk2ui/app_indicator_icon.h const gfx::ImageSkia& image, gfx 39 chrome/browser/ui/libgtk2ui/app_indicator_icon.h virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE; gfx 40 chrome/browser/ui/libgtk2ui/app_indicator_icon.h virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE; gfx 40 chrome/browser/ui/libgtk2ui/gtk2_border.cc class ButtonImageSkiaSource : public gfx::ImageSkiaSource { gfx 45 chrome/browser/ui/libgtk2ui/gtk2_border.cc const gfx::Size& size) gfx 55 chrome/browser/ui/libgtk2ui/gtk2_border.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 58 chrome/browser/ui/libgtk2ui/gtk2_border.cc return gfx::ImageSkiaRep( gfx 66 chrome/browser/ui/libgtk2ui/gtk2_border.cc const gfx::Size size_; gfx 86 chrome/browser/ui/libgtk2ui/gtk2_border.cc void Gtk2Border::Paint(const views::View& view, gfx::Canvas* canvas) { gfx 95 chrome/browser/ui/libgtk2ui/gtk2_border.cc gfx::Rect rect(native_theme_delegate->GetThemePaintRect()); gfx 99 chrome/browser/ui/libgtk2ui/gtk2_border.cc const gfx::Animation* animation = native_theme_delegate->GetThemeAnimation(); gfx 102 chrome/browser/ui/libgtk2ui/gtk2_border.cc const SkRect sk_rect = gfx::RectToSkRect(rect); gfx 122 chrome/browser/ui/libgtk2ui/gtk2_border.cc gfx::Insets Gtk2Border::GetInsets() const { gfx 138 chrome/browser/ui/libgtk2ui/gtk2_border.cc gfx::Size Gtk2Border::GetMinimumSize() const { gfx 143 chrome/browser/ui/libgtk2ui/gtk2_border.cc gfx::Insets insets = GetInsets(); gfx 144 chrome/browser/ui/libgtk2ui/gtk2_border.cc return gfx::Size(insets.width(), insets.height()); gfx 150 chrome/browser/ui/libgtk2ui/gtk2_border.cc button_images_[i][j] = gfx::ImageSkia(); gfx 161 chrome/browser/ui/libgtk2ui/gtk2_border.cc const gfx::Rect& rect, gfx 162 chrome/browser/ui/libgtk2ui/gtk2_border.cc gfx::Canvas* canvas) { gfx 167 chrome/browser/ui/libgtk2ui/gtk2_border.cc gfx::ImageSkia* image = &button_images_[focused][views_state]; gfx 171 chrome/browser/ui/libgtk2ui/gtk2_border.cc *image = gfx::ImageSkia( gfx 14 chrome/browser/ui/libgtk2ui/gtk2_border.h namespace gfx { gfx 36 chrome/browser/ui/libgtk2ui/gtk2_border.h virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; gfx 37 chrome/browser/ui/libgtk2ui/gtk2_border.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 38 chrome/browser/ui/libgtk2ui/gtk2_border.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 46 chrome/browser/ui/libgtk2ui/gtk2_border.h const gfx::Rect& rect, gfx 47 chrome/browser/ui/libgtk2ui/gtk2_border.h gfx::Canvas* canvas); gfx 53 chrome/browser/ui/libgtk2ui/gtk2_border.h gfx::ImageSkia button_images_[2][views::Button::STATE_COUNT]; gfx 40 chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc has_xkb_ = XkbQueryExtension(gfx::GetXDisplay(), &opcode, &event, &error, gfx 367 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::Image Gtk2UI::GetThemeImageNamed(int id) const { gfx 374 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::Image image = gfx::Image( gfx 375 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::ImageSkia::CreateFrom1xBitmap(GenerateGtkThemeBitmap(id))); gfx 380 chrome/browser/ui/libgtk2ui/gtk2_ui.cc return gfx::Image(); gfx 486 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const gfx::ImageSkia& image, gfx 499 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::Image Gtk2UI::GetIconForContentType( gfx 524 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 526 chrome/browser/ui/libgtk2ui/gtk2_ui.cc return gfx::Image(image_skia); gfx 528 chrome/browser/ui/libgtk2ui/gtk2_ui.cc return gfx::Image(); gfx 580 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::FontRenderParams::Hinting Gtk2UI::GetHintingStyle() const { gfx 583 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::FontRenderParams::Hinting hinting = gfx 584 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::FontRenderParams::HINTING_SLIGHT; gfx 594 chrome/browser/ui/libgtk2ui/gtk2_ui.cc hinting = gfx::FontRenderParams::HINTING_NONE; gfx 596 chrome/browser/ui/libgtk2ui/gtk2_ui.cc hinting = gfx::FontRenderParams::HINTING_SLIGHT; gfx 598 chrome/browser/ui/libgtk2ui/gtk2_ui.cc hinting = gfx::FontRenderParams::HINTING_MEDIUM; gfx 600 chrome/browser/ui/libgtk2ui/gtk2_ui.cc hinting = gfx::FontRenderParams::HINTING_FULL; gfx 608 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::FontRenderParams::SubpixelRendering gfx 612 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::FontRenderParams::SubpixelRendering subpixel_rendering = gfx 613 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE; gfx 621 chrome/browser/ui/libgtk2ui/gtk2_ui.cc subpixel_rendering = gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE; gfx 623 chrome/browser/ui/libgtk2ui/gtk2_ui.cc subpixel_rendering = gfx::FontRenderParams::SUBPIXEL_RENDERING_RGB; gfx 625 chrome/browser/ui/libgtk2ui/gtk2_ui.cc subpixel_rendering = gfx::FontRenderParams::SUBPIXEL_RENDERING_BGR; gfx 627 chrome/browser/ui/libgtk2ui/gtk2_ui.cc subpixel_rendering = gfx::FontRenderParams::SUBPIXEL_RENDERING_VRGB; gfx 629 chrome/browser/ui/libgtk2ui/gtk2_ui.cc subpixel_rendering = gfx::FontRenderParams::SUBPIXEL_RENDERING_VBGR; gfx 1126 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::Canvas canvas(gfx::Size(kToolbarImageWidth, kToolbarImageHeight), gfx 1141 chrome/browser/ui/libgtk2ui/gtk2_ui.cc skia::RefPtr<SkShader> shader = gfx::CreateGradientShader( gfx 1148 chrome/browser/ui/libgtk2ui/gtk2_ui.cc canvas.DrawRect(gfx::Rect(0, 0, kToolbarImageWidth, gradient_size), paint); gfx 1151 chrome/browser/ui/libgtk2ui/gtk2_ui.cc canvas.FillRect(gfx::Rect(0, gradient_size, kToolbarImageWidth, gfx 1342 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::Insets Gtk2UI::GetButtonInsets() const { gfx 1357 chrome/browser/ui/libgtk2ui/gtk2_ui.cc gfx::Insets insets; gfx 1359 chrome/browser/ui/libgtk2ui/gtk2_ui.cc button_insets_ = gfx::Insets(border->top, border->left, gfx 1364 chrome/browser/ui/libgtk2ui/gtk2_ui.cc button_insets_ = gfx::Insets(1, 1, 1, 1); gfx 31 chrome/browser/ui/libgtk2ui/gtk2_ui.h namespace gfx { gfx 59 chrome/browser/ui/libgtk2ui/gtk2_ui.h gfx::Insets GetButtonInsets() const; gfx 67 chrome/browser/ui/libgtk2ui/gtk2_ui.h virtual gfx::FontRenderParams::Hinting GetHintingStyle() const OVERRIDE; gfx 68 chrome/browser/ui/libgtk2ui/gtk2_ui.h virtual gfx::FontRenderParams::SubpixelRendering gfx 79 chrome/browser/ui/libgtk2ui/gtk2_ui.h virtual gfx::Image GetThemeImageNamed(int id) const OVERRIDE; gfx 97 chrome/browser/ui/libgtk2ui/gtk2_ui.h const gfx::ImageSkia& image, gfx 99 chrome/browser/ui/libgtk2ui/gtk2_ui.h virtual gfx::Image GetIconForContentType( gfx 123 chrome/browser/ui/libgtk2ui/gtk2_ui.h typedef std::map<int, gfx::Image> ImageCache; gfx 232 chrome/browser/ui/libgtk2ui/gtk2_ui.h gfx::Insets button_insets_; gfx 24 chrome/browser/ui/libgtk2ui/menu_util.cc const gfx::Image& icon) { gfx 102 chrome/browser/ui/libgtk2ui/menu_util.cc gfx::Image icon; gfx 236 chrome/browser/ui/libgtk2ui/menu_util.cc gfx::Image icon; gfx 20 chrome/browser/ui/libgtk2ui/menu_util.h const gfx::Image& icon); gfx 126 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc const gfx::Size& size, gfx 134 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc gfx::Path path; gfx 152 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc const gfx::Rect& rect, gfx 171 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc canvas->drawRect(gfx::RectToSkRect(rect), paint); gfx 28 chrome/browser/ui/libgtk2ui/native_theme_gtk2.h const gfx::Size& size, gfx 33 chrome/browser/ui/libgtk2ui/native_theme_gtk2.h const gfx::Rect& rect, gfx 237 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc gfx::NativeView parent_view, gfx 43 chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h gfx::NativeView parent_view, gfx 25 chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc gfx::Size GetPdfPaperSizeDeviceUnitsGtk( gfx 29 chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc gfx::SizeF paper_size( gfx 37 chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc return gfx::Size( gfx 53 chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc gfx::Size physical_size_device_units; gfx 54 chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc gfx::Rect printable_area_device_units; gfx 19 chrome/browser/ui/libgtk2ui/printing_gtk2_util.h gfx::Size GetPdfPaperSizeDeviceUnitsGtk( gfx 86 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc bool SelectFileDialogImpl::IsRunning(gfx::NativeWindow parent_window) const { gfx 42 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h virtual bool IsRunning(gfx::NativeWindow parent_window) const OVERRIDE; gfx 59 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h gfx::NativeWindow owning_window, gfx 66 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow owning_window, gfx 94 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow parent); gfx 97 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent); gfx 100 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent); gfx 103 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent); gfx 125 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow parent); gfx 210 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow owning_window, gfx 364 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow parent) { gfx 395 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow parent) { gfx 431 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow parent) { gfx 445 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc gfx::NativeWindow parent) { gfx 457 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc const base::FilePath& default_path, gfx::NativeWindow parent) { gfx 64 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow owning_window, gfx 72 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, gfx::NativeWindow parent, gfx 86 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent; gfx 99 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc const base::FilePath& default_path, gfx::NativeWindow parent, gfx 120 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 124 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 128 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 132 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 195 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow owning_window, gfx 297 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, bool file_operation, bool multiple_selection, gfx 357 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void *params) { gfx 376 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params) { gfx 392 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params) { gfx 408 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params) { gfx 214 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc const gfx::Rect& caret_bounds) { gfx 33 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) OVERRIDE; gfx 64 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h gfx::Rect last_caret_bounds_; gfx 454 chrome/browser/ui/login/login_prompt.cc gfx::ElideString(base::UTF8ToUTF16(auth_info->realm), 120, &elided_realm); gfx 88 chrome/browser/ui/metro_pin_tab_helper_win.cc gfx::Canvas canvas(gfx::Size(kLogoWidth, kLogoHeight), 1.0f, gfx 90 chrome/browser/ui/metro_pin_tab_helper_win.cc canvas.DrawRect(gfx::Rect(0, 0, kLogoWidth, kLogoHeight), paint); gfx 97 chrome/browser/ui/metro_pin_tab_helper_win.cc canvas.DrawRect(gfx::Rect(box_left, box_top, kBoxWidth, kBoxHeight), paint); gfx 103 chrome/browser/ui/metro_pin_tab_helper_win.cc canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bitmap), left, top); gfx 107 chrome/browser/ui/metro_pin_tab_helper_win.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(logo_bitmap, true, &logo_png)) gfx 432 chrome/browser/ui/metro_pin_tab_helper_win.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 16 chrome/browser/ui/metro_pin_tab_helper_win.h namespace gfx { gfx 53 chrome/browser/ui/metro_pin_tab_helper_win.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 21 chrome/browser/ui/ntp_background_util.cc gfx::Canvas* canvas, gfx::ImageSkia* ntp_background, int tiling, gfx 22 chrome/browser/ui/ntp_background_util.cc int alignment, const gfx::Rect& area, int tab_contents_height) { gfx 70 chrome/browser/ui/ntp_background_util.cc gfx::Canvas* canvas, gfx 71 chrome/browser/ui/ntp_background_util.cc const gfx::Rect& area, gfx 80 chrome/browser/ui/ntp_background_util.cc gfx::ImageSkia* ntp_background = gfx 8 chrome/browser/ui/ntp_background_util.h namespace gfx { gfx 24 chrome/browser/ui/ntp_background_util.h ui::ThemeProvider* tp, gfx::Canvas* canvas, gfx 25 chrome/browser/ui/ntp_background_util.h const gfx::Rect& area, int tab_contents_height); gfx 27 chrome/browser/ui/omnibox/location_bar_util.cc min_string = gfx::TruncateString(description, 3); gfx 13 chrome/browser/ui/omnibox/location_bar_util.h namespace gfx { gfx 25 chrome/browser/ui/omnibox/omnibox_controller.h namespace gfx { gfx 104 chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.cc gfx::Rect container_bounds; gfx 21 chrome/browser/ui/omnibox/omnibox_edit_controller.h namespace gfx { gfx 413 chrome/browser/ui/omnibox/omnibox_edit_model.cc gfx::Image* favicon) { gfx 936 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::OnWillKillFocus(gfx::NativeView view_gaining_focus) { gfx 31 chrome/browser/ui/omnibox/omnibox_edit_model.h namespace gfx { gfx 120 chrome/browser/ui/omnibox/omnibox_edit_model.h gfx::Image* favicon); gfx 267 chrome/browser/ui/omnibox/omnibox_edit_model.h void OnWillKillFocus(gfx::NativeView view_gaining_focus); gfx 75 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual gfx::NativeView GetNativeView() const OVERRIDE { return NULL; } gfx 76 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE { gfx 242 chrome/browser/ui/omnibox/omnibox_popup_model.cc gfx::Image OmniboxPopupModel::GetIconIfExtensionMatch( gfx 251 chrome/browser/ui/omnibox/omnibox_popup_model.cc return gfx::Image(); gfx 17 chrome/browser/ui/omnibox/omnibox_popup_model.h namespace gfx { gfx 100 chrome/browser/ui/omnibox/omnibox_popup_model.h gfx::Image GetIconIfExtensionMatch(const AutocompleteMatch& match) const; gfx 16 chrome/browser/ui/omnibox/omnibox_popup_view.h namespace gfx { gfx 37 chrome/browser/ui/omnibox/omnibox_popup_view.h virtual gfx::Rect GetTargetBounds() = 0; gfx 200 chrome/browser/ui/omnibox/omnibox_view.h virtual gfx::NativeView GetNativeView() const = 0; gfx 206 chrome/browser/ui/omnibox/omnibox_view.h virtual gfx::NativeView GetRelativeWindowForPopup() const = 0; gfx 55 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect kTestingPrimaryDisplayArea = gfx::Rect(0, 0, 800, 600); gfx 56 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect kTestingPrimaryWorkArea = gfx::Rect(0, 0, 800, 580); gfx 71 chrome/browser/ui/panels/base_panel_browser_test.cc virtual gfx::Rect GetPrimaryDisplayArea() const OVERRIDE; gfx 72 chrome/browser/ui/panels/base_panel_browser_test.cc virtual gfx::Rect GetPrimaryWorkArea() const OVERRIDE; gfx 73 chrome/browser/ui/panels/base_panel_browser_test.cc virtual gfx::Rect GetDisplayAreaMatching( gfx 74 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds) const OVERRIDE; gfx 75 chrome/browser/ui/panels/base_panel_browser_test.cc virtual gfx::Rect GetWorkAreaMatching( gfx 76 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds) const OVERRIDE; gfx 87 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& display_area, const gfx::Rect& work_area) OVERRIDE; gfx 89 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& display_area, const gfx::Rect& work_area) OVERRIDE; gfx 100 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect primary_display_area_; gfx 101 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect primary_work_area_; gfx 102 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect secondary_display_area_; gfx 103 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect secondary_work_area_; gfx 116 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect MockDisplaySettingsProviderImpl::GetPrimaryDisplayArea() const { gfx 120 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect MockDisplaySettingsProviderImpl::GetPrimaryWorkArea() const { gfx 124 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect MockDisplaySettingsProviderImpl::GetDisplayAreaMatching( gfx 125 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds) const { gfx 129 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect primary_intersection = gfx 130 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::IntersectRects(bounds, primary_display_area_); gfx 134 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect secondary_intersection = gfx 135 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::IntersectRects(bounds, secondary_display_area_); gfx 143 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect MockDisplaySettingsProviderImpl::GetWorkAreaMatching( gfx 144 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds) const { gfx 148 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect primary_intersection = gfx 149 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::IntersectRects(bounds, primary_work_area_); gfx 153 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::Rect secondary_intersection = gfx 154 chrome/browser/ui/panels/base_panel_browser_test.cc gfx::IntersectRects(bounds, secondary_work_area_); gfx 190 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& display_area, const gfx::Rect& work_area) { gfx 198 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& display_area, const gfx::Rect& work_area) { gfx 344 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds, gfx 428 chrome/browser/ui/panels/base_panel_browser_test.cc const std::string& panel_name, const gfx::Rect& bounds) { gfx 434 chrome/browser/ui/panels/base_panel_browser_test.cc CreatePanelParams params(panel_name, gfx::Rect(), SHOW_AS_ACTIVE); gfx 439 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds) { gfx 446 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds) { gfx 462 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Rect& bounds, gfx 489 chrome/browser/ui/panels/base_panel_browser_test.cc const std::string& name, const gfx::Rect& bounds) { gfx 502 chrome/browser/ui/panels/base_panel_browser_test.cc const std::string& name, const gfx::Rect& bounds) { gfx 607 chrome/browser/ui/panels/base_panel_browser_test.cc const gfx::Point& position) { gfx 615 chrome/browser/ui/panels/base_panel_browser_test.cc void BasePanelBrowserTest::MoveMouse(const gfx::Point& position) { gfx 29 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Rect& display_area, const gfx::Rect& work_area) = 0; gfx 31 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Rect& display_area, const gfx::Rect& work_area) = 0; gfx 66 chrome/browser/ui/panels/base_panel_browser_test.h gfx::Rect bounds; gfx 75 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Rect& bounds, gfx 81 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Rect& bounds); gfx 84 chrome/browser/ui/panels/base_panel_browser_test.h Panel* CreateDockedPanel(const std::string& name, const gfx::Rect& bounds); gfx 85 chrome/browser/ui/panels/base_panel_browser_test.h Panel* CreateDetachedPanel(const std::string& name, const gfx::Rect& bounds); gfx 87 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Rect& bounds, gfx 92 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Rect& bounds); gfx 94 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Rect& bounds); gfx 111 chrome/browser/ui/panels/base_panel_browser_test.h const gfx::Point& position); gfx 112 chrome/browser/ui/panels/base_panel_browser_test.h static void MoveMouse(const gfx::Point& position); gfx 22 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect bounds(300, 200, 250, 200); gfx 64 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); gfx 81 chrome/browser/ui/panels/detached_panel_browsertest.cc CreateInactiveDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); gfx 103 chrome/browser/ui/panels/detached_panel_browsertest.cc CreateInactiveDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); gfx 122 chrome/browser/ui/panels/detached_panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); gfx 155 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect initial_bounds(50, 50, 700, 500); gfx 161 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect primary_display_area(0, 0, 500, 300); gfx 162 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect primary_work_area(0, 0, 500, 280); gfx 166 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 181 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect primary_display_area(0, 0, 400, 600); gfx 182 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect primary_work_area(0, 0, 400, 560); gfx 185 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect secondary_display_area(400, 0, 400, 500); gfx 186 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect secondary_work_area(400, 0, 400, 460); gfx 191 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect initial_bounds(450, 50, 350, 400); gfx 202 chrome/browser/ui/panels/detached_panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 214 chrome/browser/ui/panels/detached_panel_browsertest.cc CreatePanelParams params("1", gfx::Rect(300, 200, 250, 200), SHOW_AS_ACTIVE); gfx 240 chrome/browser/ui/panels/detached_panel_browsertest.cc CreatePanelParams params("1", gfx::Rect(300, 200, 250, 200), SHOW_AS_ACTIVE); gfx 41 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect work_area = gfx 49 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 123 chrome/browser/ui/panels/detached_panel_collection.cc const gfx::Size& preferred_window_size) { gfx 128 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Size new_size(preferred_window_size.width(), gfx 136 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 206 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect new_bounds(saved_panel_placement_.panel->GetBounds()); gfx 224 chrome/browser/ui/panels/detached_panel_collection.cc Panel* panel, const gfx::Rect& new_bounds) { gfx 252 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 260 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect DetachedPanelCollection::GetInitialPanelBounds( gfx 261 chrome/browser/ui/panels/detached_panel_collection.cc const gfx::Rect& requested_bounds) const { gfx 265 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect work_area = panel_manager_->display_settings_provider()-> gfx 267 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect initial_bounds = requested_bounds; gfx 273 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Point DetachedPanelCollection::GetDefaultPanelOrigin() { gfx 275 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect work_area = gfx 285 chrome/browser/ui/panels/detached_panel_collection.cc gfx::Rect work_area = gfx 35 chrome/browser/ui/panels/detached_panel_collection.h const gfx::Size& preferred_window_size) OVERRIDE; gfx 39 chrome/browser/ui/panels/detached_panel_collection.h const gfx::Rect& new_bounds) OVERRIDE; gfx 60 chrome/browser/ui/panels/detached_panel_collection.h virtual gfx::Rect GetInitialPanelBounds( gfx 61 chrome/browser/ui/panels/detached_panel_collection.h const gfx::Rect& requested_bounds) const OVERRIDE; gfx 72 chrome/browser/ui/panels/detached_panel_collection.h gfx::Point GetDefaultPanelOrigin(); gfx 81 chrome/browser/ui/panels/detached_panel_collection.h gfx::Point position; gfx 96 chrome/browser/ui/panels/detached_panel_collection.h gfx::Point default_panel_origin_; gfx 15 chrome/browser/ui/panels/detached_panel_drag_handler.cc const gfx::Point& target_position) { gfx 18 chrome/browser/ui/panels/detached_panel_drag_handler.cc gfx::Rect new_bounds(panel->GetBounds()); gfx 11 chrome/browser/ui/panels/detached_panel_drag_handler.h namespace gfx { gfx 18 chrome/browser/ui/panels/detached_panel_drag_handler.h static void HandleDrag(Panel* panel, const gfx::Point& target_position); gfx 67 chrome/browser/ui/panels/display_settings_provider.cc gfx::Rect DisplaySettingsProvider::GetPrimaryDisplayArea() const { gfx 69 chrome/browser/ui/panels/display_settings_provider.cc return gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().bounds(); gfx 72 chrome/browser/ui/panels/display_settings_provider.cc gfx::Rect DisplaySettingsProvider::GetPrimaryWorkArea() const { gfx 79 chrome/browser/ui/panels/display_settings_provider.cc gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 80 chrome/browser/ui/panels/display_settings_provider.cc gfx::Rect display_area = display.bounds(); gfx 81 chrome/browser/ui/panels/display_settings_provider.cc gfx::Rect work_area = display.work_area(); gfx 90 chrome/browser/ui/panels/display_settings_provider.cc return gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().work_area(); gfx 94 chrome/browser/ui/panels/display_settings_provider.cc gfx::Rect DisplaySettingsProvider::GetDisplayAreaMatching( gfx 95 chrome/browser/ui/panels/display_settings_provider.cc const gfx::Rect& bounds) const { gfx 97 chrome/browser/ui/panels/display_settings_provider.cc return gfx::Screen::GetNativeScreen()->GetDisplayMatching(bounds).bounds(); gfx 100 chrome/browser/ui/panels/display_settings_provider.cc gfx::Rect DisplaySettingsProvider::GetWorkAreaMatching( gfx 101 chrome/browser/ui/panels/display_settings_provider.cc const gfx::Rect& bounds) const { gfx 103 chrome/browser/ui/panels/display_settings_provider.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 104 chrome/browser/ui/panels/display_settings_provider.cc gfx::Display display = screen->GetDisplayMatching(bounds); gfx 76 chrome/browser/ui/panels/display_settings_provider.h virtual gfx::Rect GetPrimaryDisplayArea() const; gfx 79 chrome/browser/ui/panels/display_settings_provider.h virtual gfx::Rect GetPrimaryWorkArea() const; gfx 83 chrome/browser/ui/panels/display_settings_provider.h virtual gfx::Rect GetDisplayAreaMatching(const gfx::Rect& bounds) const; gfx 87 chrome/browser/ui/panels/display_settings_provider.h virtual gfx::Rect GetWorkAreaMatching(const gfx::Rect& bounds) const; gfx 22 chrome/browser/ui/panels/docked_panel_browsertest.cc gfx::Rect primary_display_area = PanelManager::GetInstance()-> gfx 40 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); gfx 41 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel2 = CreateInactiveDockedPanel("2", gfx::Rect(0, 0, 200, 100)); gfx 42 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel3 = CreateInactiveDockedPanel("3", gfx::Rect(0, 0, 200, 100)); gfx 51 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel4 = CreateInactiveDockedPanel("4", gfx::Rect(0, 0, 200, 100)); gfx 52 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel5 = CreateInactiveDockedPanel("5", gfx::Rect(0, 0, 200, 100)); gfx 53 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel6 = CreateInactiveDockedPanel("6", gfx::Rect(0, 0, 200, 100)); gfx 54 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel7 = CreateDockedPanel("7", gfx::Rect(0, 0, 200, 100)); gfx 99 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); gfx 100 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel2 = CreateInactiveDockedPanel("2", gfx::Rect(0, 0, 200, 100)); gfx 101 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel3 = CreateInactiveDockedPanel("3", gfx::Rect(0, 0, 200, 100)); gfx 102 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel4 = CreateInactiveDockedPanel("4", gfx::Rect(0, 0, 200, 100)); gfx 103 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel5 = CreateInactiveDockedPanel("5", gfx::Rect(0, 0, 200, 100)); gfx 104 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel6 = CreateInactiveDockedPanel("6", gfx::Rect(0, 0, 200, 100)); gfx 124 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel7 = CreateDockedPanel("7", gfx::Rect(0, 0, 200, 100)); gfx 148 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); gfx 149 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel2 = CreateInactiveDockedPanel("2", gfx::Rect(0, 0, 200, 100)); gfx 150 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel3 = CreateInactiveDockedPanel("3", gfx::Rect(0, 0, 200, 100)); gfx 151 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel4 = CreateInactiveDockedPanel("4", gfx::Rect(0, 0, 200, 100)); gfx 152 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel5 = CreateInactiveDockedPanel("5", gfx::Rect(0, 0, 200, 100)); gfx 153 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel6 = CreateInactiveDockedPanel("6", gfx::Rect(0, 0, 200, 100)); gfx 154 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel7 = CreateDockedPanel("7", gfx::Rect(0, 0, 200, 100)); gfx 201 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel1 = CreateInactiveDockedPanel("1", gfx::Rect(0, 0, 200, 100)); gfx 202 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel2 = CreateInactiveDockedPanel("2", gfx::Rect(0, 0, 200, 100)); gfx 203 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel3 = CreateInactiveDockedPanel("3", gfx::Rect(0, 0, 200, 100)); gfx 204 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel4 = CreateInactiveDockedPanel("4", gfx::Rect(0, 0, 200, 100)); gfx 205 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel5 = CreateInactiveDockedPanel("5", gfx::Rect(0, 0, 200, 100)); gfx 206 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel6 = CreateInactiveDockedPanel("6", gfx::Rect(0, 0, 200, 100)); gfx 207 chrome/browser/ui/panels/docked_panel_browsertest.cc Panel* panel7 = CreateDockedPanel("7", gfx::Rect(0, 0, 200, 100)); gfx 102 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Size full_size = panel->full_size(); gfx 103 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Point pt = GetDefaultPositionForPanel(full_size); gfx 104 chrome/browser/ui/panels/docked_panel_collection.cc panel->SetPanelBounds(gfx::Rect(pt, full_size)); gfx 124 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Point DockedPanelCollection::GetDefaultPositionForPanel( gfx 125 chrome/browser/ui/panels/docked_panel_collection.cc const gfx::Size& full_size) const { gfx 144 chrome/browser/ui/panels/docked_panel_collection.cc return gfx::Point(x, work_area_.bottom() - full_size.height()); gfx 248 chrome/browser/ui/panels/docked_panel_collection.cc const gfx::Rect& new_bounds) { gfx 254 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect panel_bounds = panel->GetBounds(); gfx 272 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect* bounds) { gfx 316 chrome/browser/ui/panels/docked_panel_collection.cc const gfx::Point mouse_position = gfx 318 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 447 chrome/browser/ui/panels/docked_panel_collection.cc const gfx::Size& preferred_window_size) { gfx 450 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Size new_size(preferred_window_size.width(), gfx 503 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 623 chrome/browser/ui/panels/docked_panel_collection.cc void DockedPanelCollection::OnMouseMove(const gfx::Point& mouse_position) { gfx 672 chrome/browser/ui/panels/docked_panel_collection.cc typedef std::pair<Panel*, gfx::Rect> PanelBoundsInfo; gfx 683 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect old_bounds = panel->GetBounds(); gfx 684 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect new_bounds = old_bounds; gfx 726 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect bounds = bounds_info.second; gfx 789 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect DockedPanelCollection::GetInitialPanelBounds( gfx 790 chrome/browser/ui/panels/docked_panel_collection.cc const gfx::Rect& requested_bounds) const { gfx 791 chrome/browser/ui/panels/docked_panel_collection.cc gfx::Rect initial_bounds = requested_bounds; gfx 49 chrome/browser/ui/panels/docked_panel_collection.h const gfx::Size& preferred_window_size) OVERRIDE; gfx 53 chrome/browser/ui/panels/docked_panel_collection.h const gfx::Rect& new_bounds) OVERRIDE; gfx 74 chrome/browser/ui/panels/docked_panel_collection.h virtual gfx::Rect GetInitialPanelBounds( gfx 75 chrome/browser/ui/panels/docked_panel_collection.h const gfx::Rect& requested_bounds) const OVERRIDE; gfx 104 chrome/browser/ui/panels/docked_panel_collection.h gfx::Rect work_area() const { return work_area_; } gfx 131 chrome/browser/ui/panels/docked_panel_collection.h virtual void OnMouseMove(const gfx::Point& mouse_position) OVERRIDE; gfx 155 chrome/browser/ui/panels/docked_panel_collection.h gfx::Rect* panel_bounds); gfx 165 chrome/browser/ui/panels/docked_panel_collection.h gfx::Point GetDefaultPositionForPanel(const gfx::Size& full_size) const; gfx 172 chrome/browser/ui/panels/docked_panel_collection.h gfx::Rect work_area_; gfx 15 chrome/browser/ui/panels/docked_panel_drag_handler.cc const gfx::Point& target_position) { gfx 24 chrome/browser/ui/panels/docked_panel_drag_handler.cc gfx::Rect new_bounds(panel->GetBounds()); gfx 11 chrome/browser/ui/panels/docked_panel_drag_handler.h namespace gfx { gfx 18 chrome/browser/ui/panels/docked_panel_drag_handler.h static void HandleDrag(Panel* panel, const gfx::Point& target_position); gfx 19 chrome/browser/ui/panels/native_panel.h namespace gfx { gfx 37 chrome/browser/ui/panels/native_panel.h virtual gfx::Rect GetPanelBounds() const = 0; gfx 38 chrome/browser/ui/panels/native_panel.h virtual void SetPanelBounds(const gfx::Rect& bounds) = 0; gfx 39 chrome/browser/ui/panels/native_panel.h virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) = 0; gfx 45 chrome/browser/ui/panels/native_panel.h virtual gfx::NativeWindow GetNativePanelWindow() = 0; gfx 64 chrome/browser/ui/panels/native_panel.h virtual gfx::Size WindowSizeFromContentSize( gfx 65 chrome/browser/ui/panels/native_panel.h const gfx::Size& content_size) const = 0; gfx 66 chrome/browser/ui/panels/native_panel.h virtual gfx::Size ContentSizeFromWindowSize( gfx 67 chrome/browser/ui/panels/native_panel.h const gfx::Size& window_size) const = 0; gfx 107 chrome/browser/ui/panels/native_panel.h void PressLeftMouseButtonTitlebar(const gfx::Point& mouse_location) { gfx 116 chrome/browser/ui/panels/native_panel.h const gfx::Point& mouse_location, panel::ClickModifier modifier) = 0; gfx 118 chrome/browser/ui/panels/native_panel.h virtual void DragTitlebar(const gfx::Point& mouse_location) = 0; gfx 13 chrome/browser/ui/panels/native_panel_stack_window.h namespace gfx { gfx 24 chrome/browser/ui/panels/native_panel_stack_window.h virtual gfx::Image GetIcon() const = 0; gfx 74 chrome/browser/ui/panels/native_panel_stack_window.h virtual void MovePanelsBy(const gfx::Vector2d& delta) = 0; gfx 79 chrome/browser/ui/panels/native_panel_stack_window.h const gfx::Rect& new_bounds) = 0; gfx 246 chrome/browser/ui/panels/panel.cc gfx::NativeWindow Panel::GetNativeWindow() { gfx 250 chrome/browser/ui/panels/panel.cc gfx::Rect Panel::GetRestoredBounds() const { gfx 251 chrome/browser/ui/panels/panel.cc gfx::Rect bounds = native_panel_->GetPanelBounds(); gfx 262 chrome/browser/ui/panels/panel.cc gfx::Rect Panel::GetBounds() const { gfx 328 chrome/browser/ui/panels/panel.cc void Panel::SetBounds(const gfx::Rect& bounds) { gfx 510 chrome/browser/ui/panels/panel.cc const gfx::Rect& bounds, gfx 551 chrome/browser/ui/panels/panel.cc void Panel::SetPanelBounds(const gfx::Rect& bounds) { gfx 556 chrome/browser/ui/panels/panel.cc void Panel::SetPanelBoundsInstantly(const gfx::Rect& bounds) { gfx 560 chrome/browser/ui/panels/panel.cc void Panel::LimitSizeToWorkArea(const gfx::Rect& work_area) { gfx 575 chrome/browser/ui/panels/panel.cc SetSizeRange(min_size_, gfx::Size(max_width, max_height)); gfx 619 chrome/browser/ui/panels/panel.cc void Panel::OnContentsAutoResized(const gfx::Size& new_content_size) { gfx 624 chrome/browser/ui/panels/panel.cc gfx::Size new_window_size = gfx 637 chrome/browser/ui/panels/panel.cc void Panel::OnWindowResizedByMouse(const gfx::Rect& new_bounds) { gfx 642 chrome/browser/ui/panels/panel.cc void Panel::SetSizeRange(const gfx::Size& min_size, const gfx::Size& max_size) { gfx 654 chrome/browser/ui/panels/panel.cc void Panel::IncreaseMaxSize(const gfx::Size& desired_panel_size) { gfx 655 chrome/browser/ui/panels/panel.cc gfx::Size new_max_size = max_size_; gfx 677 chrome/browser/ui/panels/panel.cc gfx::Size Panel::ClampSize(const gfx::Size& size) const { gfx 694 chrome/browser/ui/panels/panel.cc return gfx::Size(new_width, new_height); gfx 770 chrome/browser/ui/panels/panel.cc gfx::Image Panel::GetCurrentPageIcon() const { gfx 788 chrome/browser/ui/panels/panel.cc void Panel::MoveByInstantly(const gfx::Vector2d& delta_origin) { gfx 789 chrome/browser/ui/panels/panel.cc gfx::Rect bounds = GetBounds(); gfx 803 chrome/browser/ui/panels/panel.cc const gfx::Size& min_size, const gfx::Size& max_size) gfx 820 chrome/browser/ui/panels/panel.cc void Panel::OnImageLoaded(const gfx::Image& image) { gfx 887 chrome/browser/ui/panels/panel.cc gfx::Size(extension_misc::EXTENSION_ICON_SMALL, gfx 81 chrome/browser/ui/panels/panel.h const gfx::Image& app_icon() const { return app_icon_; } gfx 120 chrome/browser/ui/panels/panel.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 121 chrome/browser/ui/panels/panel.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 123 chrome/browser/ui/panels/panel.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 133 chrome/browser/ui/panels/panel.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 150 chrome/browser/ui/panels/panel.h const gfx::Rect& bounds, gfx 183 chrome/browser/ui/panels/panel.h const gfx::Size& min_size() const { return min_size_; } gfx 184 chrome/browser/ui/panels/panel.h const gfx::Size& max_size() const { return max_size_; } gfx 198 chrome/browser/ui/panels/panel.h gfx::Size full_size() const { return full_size_; } gfx 199 chrome/browser/ui/panels/panel.h void set_full_size(const gfx::Size& size) { full_size_ = size; } gfx 204 chrome/browser/ui/panels/panel.h void Initialize(const GURL& url, const gfx::Rect& bounds, bool always_on_top); gfx 210 chrome/browser/ui/panels/panel.h void SetPanelBounds(const gfx::Rect& bounds); gfx 213 chrome/browser/ui/panels/panel.h void SetPanelBoundsInstantly(const gfx::Rect& bounds); gfx 219 chrome/browser/ui/panels/panel.h void LimitSizeToWorkArea(const gfx::Rect& work_area); gfx 230 chrome/browser/ui/panels/panel.h void OnContentsAutoResized(const gfx::Size& new_content_size); gfx 234 chrome/browser/ui/panels/panel.h void OnWindowResizedByMouse(const gfx::Rect& new_bounds); gfx 237 chrome/browser/ui/panels/panel.h void SetSizeRange(const gfx::Size& min_size, const gfx::Size& max_size); gfx 244 chrome/browser/ui/panels/panel.h void IncreaseMaxSize(const gfx::Size& desired_panel_size); gfx 257 chrome/browser/ui/panels/panel.h gfx::Size ClampSize(const gfx::Size& size) const; gfx 282 chrome/browser/ui/panels/panel.h gfx::Image GetCurrentPageIcon() const; gfx 294 chrome/browser/ui/panels/panel.h void MoveByInstantly(const gfx::Vector2d& delta_origin); gfx 317 chrome/browser/ui/panels/panel.h const gfx::Size& min_size, const gfx::Size& max_size); gfx 330 chrome/browser/ui/panels/panel.h void OnImageLoaded(const gfx::Image& image); gfx 359 chrome/browser/ui/panels/panel.h gfx::Size full_size_; gfx 362 chrome/browser/ui/panels/panel.h gfx::Size min_size_; gfx 366 chrome/browser/ui/panels/panel.h gfx::Size max_size_; gfx 396 chrome/browser/ui/panels/panel.h gfx::Image app_icon_; gfx 19 chrome/browser/ui/panels/panel_bounds_animation.cc PanelBoundsAnimation::PanelBoundsAnimation(gfx::AnimationDelegate* target, gfx 21 chrome/browser/ui/panels/panel_bounds_animation.cc const gfx::Rect& initial_bounds, gfx 22 chrome/browser/ui/panels/panel_bounds_animation.cc const gfx::Rect& final_bounds) gfx 23 chrome/browser/ui/panels/panel_bounds_animation.cc : gfx::LinearAnimation(kDefaultFramerateHz, target), gfx 50 chrome/browser/ui/panels/panel_bounds_animation.cc return ComputeAnimationValue(gfx::LinearAnimation::GetCurrentValue(), gfx 10 chrome/browser/ui/panels/panel_bounds_animation.h namespace gfx { gfx 15 chrome/browser/ui/panels/panel_bounds_animation.h class PanelBoundsAnimation : public gfx::LinearAnimation { gfx 17 chrome/browser/ui/panels/panel_bounds_animation.h PanelBoundsAnimation(gfx::AnimationDelegate* target, gfx 19 chrome/browser/ui/panels/panel_bounds_animation.h const gfx::Rect& initial_bounds, gfx 20 chrome/browser/ui/panels/panel_bounds_animation.h const gfx::Rect& final_bounds); gfx 68 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> GetAllPanelBounds() { gfx 70 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> bounds; gfx 76 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> AddXDeltaToBounds(const std::vector<gfx::Rect>& bounds, gfx 78 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> new_bounds = bounds; gfx 130 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> test_begin_bounds = GetAllPanelBounds(); gfx 131 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> expected_bounds = test_begin_bounds; gfx 169 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> minimized_bounds = expected_bounds; gfx 172 chrome/browser/ui/panels/panel_browsertest.cc std::vector<gfx::Rect> titlebar_exposed_bounds = test_begin_bounds; gfx 187 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point hover_point(panels[index]->GetBounds().origin()); gfx 262 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel1 = CreatePanelWithBounds("1", gfx::Rect(0, 0, 100, 100)); gfx 263 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel2 = CreatePanelWithBounds("2", gfx::Rect(0, 0, 100, 100)); gfx 264 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel3 = CreatePanelWithBounds("3", gfx::Rect(0, 0, 100, 100)); gfx 328 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 343 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect work_area = PanelManager::GetInstance()-> gfx 346 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 385 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size initial_size_; gfx 403 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size initial_size_; gfx 412 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect(0, 0, 1200, 900), gfx::Rect(0, 0, 1200, 900)); gfx 415 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("PanelTest1", gfx::Rect(), SHOW_AS_ACTIVE); gfx 426 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect initial_bounds = panel->GetBounds(); gfx 433 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds_on_grow = panel->GetBounds(); gfx 442 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds_on_shrink = panel->GetBounds(); gfx 448 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect previous_bounds = panel->GetBounds(); gfx 451 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size new_size(previous_bounds.size()); gfx 453 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect new_bounds(previous_bounds.origin(), new_size); gfx 465 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds_auto_resize_enabled = panel->GetBounds(); gfx 481 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect original_bounds = panel->GetBounds(); gfx 484 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size new_size(original_bounds.size()); gfx 486 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect new_bounds(original_bounds.origin(), new_size); gfx 508 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(200, 100, 100, 100)); gfx 514 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 516 chrome/browser/ui/panels/panel_browsertest.cc panel_testing->DragTitlebar(mouse_location + gfx::Vector2d(-100, 5)); gfx 521 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds = gfx::Rect(10, 20, 150, 160); gfx 532 chrome/browser/ui/panels/panel_browsertest.cc bounds = gfx::Rect(30, 40, 200, 220); gfx 541 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 100, 100)); gfx 547 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 548 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect restored = panel->GetRestoredBounds(); gfx 578 chrome/browser/ui/panels/panel_browsertest.cc bounds = gfx::Rect(10, 20, 300, 400); gfx 583 chrome/browser/ui/panels/panel_browsertest.cc bounds = gfx::Rect(20, 30, 100, 200); gfx 588 chrome/browser/ui/panels/panel_browsertest.cc bounds = gfx::Rect(40, 60, 300, 400); gfx 599 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelWithBounds("PanelTest1", gfx::Rect(0, 0, 100, 100)); gfx 607 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelWithBounds("PanelTest1", gfx::Rect(0, 0, 100, 100)); gfx 608 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelWithBounds("PanelTest2", gfx::Rect(0, 0, 110, 110)); gfx 616 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelWithBounds("PanelTest1", gfx::Rect(0, 0, 100, 100)); gfx 617 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelWithBounds("PanelTest2", gfx::Rect(0, 0, 110, 110)); gfx 618 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelWithBounds("PanelTest3", gfx::Rect(0, 0, 120, 120)); gfx 1029 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelWithBounds(MakePanelName(i), gfx::Rect(0, 0, 100, 100)); gfx 1106 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point hover_point(panel1->GetBounds().origin()); gfx 1147 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point hover_point(panel2->GetBounds().origin()); gfx 1174 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point hover_point_in_panel(panel1->GetBounds().origin()); gfx 1286 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("Panel Test", gfx::Rect(), SHOW_AS_ACTIVE); gfx 1307 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("Initially Active", gfx::Rect(), SHOW_AS_ACTIVE); gfx 1340 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("Initially Inactive", gfx::Rect(), SHOW_AS_INACTIVE); gfx 1392 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params(extension_app_name, gfx::Rect(), SHOW_AS_ACTIVE); gfx 1402 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params1(extension_app_name, gfx::Rect(), SHOW_AS_ACTIVE); gfx 1448 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("PanelTest1", gfx::Rect(0, 0, 300, 300), gfx 1470 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("Panel", gfx::Rect(), SHOW_AS_ACTIVE); gfx 1481 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect(0, 0, gfx 1491 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params2("Panel2", gfx::Rect(0, 0, 0, given_height), gfx 1505 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("Panel", gfx::Rect(), SHOW_AS_ACTIVE); gfx 1543 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); gfx 1545 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_max_size = panel->max_size(); gfx 1546 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_full_size = panel->full_size(); gfx 1549 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect smaller_work_area(0, 0, 500, 300); gfx 1575 chrome/browser/ui/panels/panel_browsertest.cc Panel* panel = CreatePanelWithBounds("1", gfx::Rect(0, 0, 240, 220)); gfx 1578 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size bigger_size = gfx::Size(550, 400); gfx 1579 chrome/browser/ui/panels/panel_browsertest.cc gfx::Point mouse_location = panel->GetBounds().origin(); gfx 1588 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_max_size = panel->max_size(); gfx 1590 chrome/browser/ui/panels/panel_browsertest.cc gfx::Size old_full_size = panel->full_size(); gfx 1594 chrome/browser/ui/panels/panel_browsertest.cc gfx::Rect smaller_work_area(0, 0, 500, 300); gfx 1612 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("1", gfx::Rect(0, 0, 200, 220), SHOW_AS_ACTIVE); gfx 1646 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("1", gfx::Rect(0, 0, 200, 220), SHOW_AS_ACTIVE); gfx 1687 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("1", gfx::Rect(), SHOW_AS_ACTIVE); gfx 1752 chrome/browser/ui/panels/panel_browsertest.cc CreatePanelParams params("1", gfx::Rect(0, 0, 250, 200), SHOW_AS_ACTIVE); gfx 80 chrome/browser/ui/panels/panel_collection.h const gfx::Size& preferred_window_size) = 0; gfx 92 chrome/browser/ui/panels/panel_collection.h const gfx::Rect& new_bounds) = 0; gfx 148 chrome/browser/ui/panels/panel_collection.h virtual gfx::Rect GetInitialPanelBounds( gfx 149 chrome/browser/ui/panels/panel_collection.h const gfx::Rect& requested_bounds) const = 0; gfx 32 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect primary_display_area = PanelManager::GetInstance()-> gfx 39 chrome/browser/ui/panels/panel_drag_browsertest.cc void DragPanelByDelta(Panel* panel, const gfx::Vector2d& delta) { gfx 42 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 50 chrome/browser/ui/panels/panel_drag_browsertest.cc const gfx::Point& new_mouse_location) { gfx 53 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 61 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Rect GetStackedAtBottomPanelBounds( gfx 62 chrome/browser/ui/panels/panel_drag_browsertest.cc const gfx::Rect& initial_bounds, gfx 63 chrome/browser/ui/panels/panel_drag_browsertest.cc const gfx::Rect& above_bounds) { gfx 64 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Rect(above_bounds.x(), gfx 72 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Rect GetStackedAtTopPanelBounds( gfx 73 chrome/browser/ui/panels/panel_drag_browsertest.cc const gfx::Rect& initial_bounds, gfx 74 chrome/browser/ui/panels/panel_drag_browsertest.cc const gfx::Rect& below_bounds) { gfx 75 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Rect(below_bounds.x(), gfx 81 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToRemainDocked() { gfx 82 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 87 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToDetach() { gfx 88 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 93 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToRemainDetached(Panel* panel) { gfx 97 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 103 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToAttach(Panel* panel) { gfx 107 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 115 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToStackToBottom(Panel* panel1, gfx 117 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 118 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 119 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 127 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToUnstackFromBottom(Panel* panel1, gfx 129 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 130 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 131 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 136 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToStackToTop(Panel* panel1, Panel* panel2) { gfx 137 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 138 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 142 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 150 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToUnstackFromTop(Panel* panel1, gfx 152 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 153 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 154 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 159 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToSnapToLeft(Panel* panel1, gfx 161 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 162 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 163 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 171 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToSnapToRight(Panel* panel1, gfx 173 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 174 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 175 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 184 chrome/browser/ui/panels/panel_drag_browsertest.cc static gfx::Vector2d GetDragDeltaToUnsnap(Panel* panel) { gfx 185 chrome/browser/ui/panels/panel_drag_browsertest.cc return gfx::Vector2d( gfx 194 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); gfx 197 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 200 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = panel_old_bounds.origin(); gfx 206 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 283 chrome/browser/ui/panels/panel_drag_browsertest.cc static const gfx::Vector2d small_delta(10, 0); gfx 285 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); gfx 286 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDockedPanel("2", gfx::Rect(0, 0, 100, 100)); gfx 291 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position1 = panel1->GetBounds().origin(); gfx 292 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position2 = panel2->GetBounds().origin(); gfx 296 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = position1; gfx 317 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position2 + gfx::Vector2d(1, 0); gfx 349 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position1 + gfx::Vector2d(1, 0); gfx 366 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position2 + gfx::Vector2d(1, 0); gfx 379 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); gfx 380 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDockedPanel("2", gfx::Rect(0, 0, 100, 100)); gfx 381 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel3 = CreateDockedPanel("3", gfx::Rect(0, 0, 100, 100)); gfx 386 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position1 = panel1->GetBounds().origin(); gfx 387 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position2 = panel2->GetBounds().origin(); gfx 388 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position3 = panel3->GetBounds().origin(); gfx 394 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = position3; gfx 400 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position2 + gfx::Vector2d(1, 0); gfx 406 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position1 + gfx::Vector2d(1, 0); gfx 429 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position2 + gfx::Vector2d(1, 0); gfx 435 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position3 + gfx::Vector2d(1, 0); gfx 455 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position1 + gfx::Vector2d(1, 0); gfx 475 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position3 + gfx::Vector2d(1, 0); gfx 497 chrome/browser/ui/panels/panel_drag_browsertest.cc mouse_location = position3 + gfx::Vector2d(1, 0); gfx 520 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point hover_point(panel->GetBounds().origin()); gfx 525 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 526 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = panel_old_bounds.origin(); gfx 533 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 565 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 566 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = panel_old_bounds.origin(); gfx 573 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 605 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreatePanelWithBounds("Panel1", gfx::Rect(0, 0, 100, 100)); gfx 606 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreatePanelWithBounds("Panel2", gfx::Rect(0, 0, 100, 100)); gfx 607 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel3 = CreatePanelWithBounds("Panel3", gfx::Rect(0, 0, 100, 100)); gfx 608 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel4 = CreatePanelWithBounds("Panel4", gfx::Rect(0, 0, 100, 100)); gfx 613 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position1 = panel1->GetBounds().origin(); gfx 614 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position2 = panel2->GetBounds().origin(); gfx 615 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position3 = panel3->GetBounds().origin(); gfx 616 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point position4 = panel4->GetBounds().origin(); gfx 621 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_new_position = position1; gfx 626 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = panel1->GetBounds().origin(); gfx 678 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_new_position = position1; gfx 683 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = panel1->GetBounds().origin(); gfx 729 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_new_position = position2; gfx 734 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location = panel1->GetBounds().origin(); gfx 778 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); gfx 784 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point origin = panel->GetBounds().origin(); gfx 802 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_position = panel->GetBounds().origin(); gfx 830 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(100, 200, 100, 100)); gfx 835 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_old_position = panel1->GetBounds().origin(); gfx 840 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(300, 210, 110, 110)); gfx 844 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_new_position = panel1_old_position; gfx 875 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(300, 210, 110, 110)); gfx 879 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_new_position = panel1_old_position; gfx 910 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_new_position = panel1->GetBounds().origin(); gfx 944 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); gfx 948 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 953 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 959 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_remain_docked = GetDragDeltaToRemainDocked(); gfx 965 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 971 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach = GetDragDeltaToDetach(); gfx 1006 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); gfx 1010 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 1015 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 1021 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_remain_docked = GetDragDeltaToRemainDocked(); gfx 1027 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 1033 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach = GetDragDeltaToDetach(); gfx 1068 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(400, 300, 100, 100)); gfx 1073 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 1078 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 1083 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_remain_detached = gfx 1090 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 1097 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_attach = GetDragDeltaToAttach(panel); gfx 1134 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(400, 300, 100, 100)); gfx 1139 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 1144 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 1149 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_remain_detached = gfx 1156 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 1163 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_attach = GetDragDeltaToAttach(panel); gfx 1190 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(0, 0, 100, 100)); gfx 1194 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_old_bounds = panel->GetBounds(); gfx 1199 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel->GetBounds().origin()); gfx 1204 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach = GetDragDeltaToDetach(); gfx 1210 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel_new_bounds = panel_old_bounds; gfx 1215 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_reattach = GetDragDeltaToAttach(panel); gfx 1225 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach_again = GetDragDeltaToDetach(); gfx 1253 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDockedPanel("1", gfx::Rect(0, 0, 200, 100)); gfx 1254 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDockedPanel("2", gfx::Rect(0, 0, 200, 100)); gfx 1255 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel3 = CreateDockedPanel("3", gfx::Rect(0, 0, 200, 100)); gfx 1256 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel4 = CreateDockedPanel("4", gfx::Rect(0, 0, 200, 100)); gfx 1257 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel5 = CreateDockedPanel("5", gfx::Rect(0, 0, 200, 100)); gfx 1265 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel2_docked_position = panel2->GetBounds().origin(); gfx 1266 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach_panel2(-20, -100); gfx 1275 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel2_new_position = gfx 1283 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel4_docked_position = panel4->GetBounds().origin(); gfx 1284 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach_panel4(-40, -250); gfx 1294 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel4_new_position = gfx 1302 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point docked_position1 = panel1->GetBounds().origin(); gfx 1303 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point docked_position2 = panel3->GetBounds().origin(); gfx 1304 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach_panel1(-60, -400); gfx 1313 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point panel1_new_position = gfx 1338 chrome/browser/ui/panels/panel_drag_browsertest.cc "1", gfx::Rect(100, 300, 200, 100)); gfx 1340 chrome/browser/ui/panels/panel_drag_browsertest.cc "2", gfx::Rect(200, 300, 200, 100)); gfx 1342 chrome/browser/ui/panels/panel_drag_browsertest.cc "3", gfx::Rect(400, 300, 200, 100)); gfx 1343 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel4 = CreateInactiveDockedPanel("4", gfx::Rect(0, 0, 200, 100)); gfx 1344 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel5 = CreateInactiveDockedPanel("5", gfx::Rect(0, 0, 200, 100)); gfx 1345 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel6 = CreateInactiveDockedPanel("6", gfx::Rect(0, 0, 200, 100)); gfx 1346 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel7 = CreateDockedPanel("7", gfx::Rect(0, 0, 200, 100)); gfx 1354 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point detached_position1 = panel1->GetBounds().origin(); gfx 1355 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point detached_position2 = panel2->GetBounds().origin(); gfx 1356 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point detached_position3 = panel3->GetBounds().origin(); gfx 1357 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point docked_position4 = panel4->GetBounds().origin(); gfx 1358 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point docked_position5 = panel5->GetBounds().origin(); gfx 1359 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point docked_position6 = panel6->GetBounds().origin(); gfx 1360 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point docked_position7 = panel7->GetBounds().origin(); gfx 1366 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location(panel5->GetBounds().x() + 10, gfx 1412 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location2(panel4->GetBounds().right() + 10, gfx 1429 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location3(panel3->GetBounds().x() - 10, gfx 1453 chrome/browser/ui/panels/panel_drag_browsertest.cc const gfx::Rect primary_display_area(0, 0, 800, 600); gfx 1454 chrome/browser/ui/panels/panel_drag_browsertest.cc const gfx::Rect primary_work_area(0, 10, 800, 590); gfx 1459 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); gfx 1463 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location(250, 0); gfx 1471 chrome/browser/ui/panels/panel_drag_browsertest.cc drag_to_location = gfx::Point(280, 150); gfx 1484 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect(0, 0, 400, 600), gfx::Rect(0, 0, 400, 560)); gfx 1485 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect secondary_display_area(400, 100, 400, 500); gfx 1490 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Size panel_size(100, 100); gfx 1491 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel = CreateDockedPanel("1", gfx::Rect(gfx::Point(), panel_size)); gfx 1496 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location(secondary_display_area.x() + 100, gfx 1500 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect expected_bounds(drag_to_location, panel_size); gfx 1510 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect(0, 0, 800, 300), gfx::Rect(0, 0, 800, 260)); gfx 1511 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect secondary_display_area(100, 300, 700, 250); gfx 1516 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect initial_panel_bounds(300, 50, 100, 100); gfx 1523 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location(initial_panel_bounds.x(), gfx 1527 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect expected_bounds(drag_to_location, initial_panel_bounds.size()); gfx 1539 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(300, 200, 200, 100)); gfx 1540 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(100, 100, 150, 150)); gfx 1546 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_old_bounds = panel1->GetBounds(); gfx 1547 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_old_bounds = panel2->GetBounds(); gfx 1552 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 1553 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 1561 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = gfx 1570 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_new_bounds(panel2_old_bounds.x() + drag_delta_to_stack.x(), gfx 1578 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack = gfx 1611 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d small_delta(1, -1); gfx 1646 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(300, 300, 200, 100)); gfx 1647 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(100, 200, 150, 150)); gfx 1653 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_old_bounds = panel1->GetBounds(); gfx 1654 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_old_bounds = panel2->GetBounds(); gfx 1659 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 1660 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 1668 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = GetDragDeltaToStackToTop(panel2, panel1); gfx 1676 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_new_bounds( gfx 1685 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack = gfx 1718 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d small_delta(1, -1); gfx 1739 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_new_bounds = panel1_old_bounds; gfx 1754 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(300, 200, 200, 100)); gfx 1755 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(100, 100, 150, 150)); gfx 1761 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_old_bounds = panel1->GetBounds(); gfx 1762 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_old_bounds = panel2->GetBounds(); gfx 1767 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 1768 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 1773 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = gfx 1782 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_new_bounds(panel1_old_bounds.x(), gfx 1808 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 100, 200, 150); gfx 1810 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 1818 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 1820 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 1825 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 200, 100, 100); gfx 1828 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 1833 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = gfx 1869 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 300, 200, 150); gfx 1871 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 1879 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 1881 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 1886 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 200, 100, 100); gfx 1889 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 1894 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = GetDragDeltaToStackToTop(panel3, panel2); gfx 1932 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 100, 200, 150); gfx 1934 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 1942 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 1944 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 1949 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 200, 100, 100); gfx 1952 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 1958 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = gfx 1989 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 100, 200, 150); gfx 1991 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 1999 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2001 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2006 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 450, 100, 100); gfx 2009 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 2016 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = GetDragDeltaToStackToTop(panel1, panel3); gfx 2046 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2048 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2056 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2058 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2064 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 100, 220, 120); gfx 2066 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel4_initial_bounds = gfx::Rect(0, 0, 180, 140); gfx 2074 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 2076 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel4_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2084 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = gfx 2117 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2119 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2127 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2129 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2135 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 350, 220, 110); gfx 2137 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel4_initial_bounds = gfx::Rect(0, 0, 180, 100); gfx 2145 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 2147 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel4_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2156 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = GetDragDeltaToStackToTop(panel1, panel3); gfx 2190 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2192 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2200 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2202 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2205 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_old_bounds = panel2_expected_bounds; gfx 2210 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 2211 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 2216 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack = gfx 2230 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_stack = gfx 2279 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2281 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2289 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2291 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2294 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_old_bounds = panel2->GetBounds(); gfx 2299 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 2300 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 2305 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack = gfx 2341 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2343 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2345 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 120, 120); gfx 2354 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2356 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2359 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2365 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack = gfx 2391 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2393 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2395 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 120, 120); gfx 2404 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2406 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2409 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2415 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack = gfx 2443 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 120, 200, 100); gfx 2445 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2447 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 120, 120); gfx 2449 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel4_initial_bounds = gfx::Rect(0, 0, 120, 110); gfx 2459 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2461 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2464 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2467 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel4_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2474 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack = gfx 2503 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2505 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2513 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2515 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2520 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 200, 100, 100); gfx 2523 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 2528 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack_and_stack = gfx 2557 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 2559 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2568 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2570 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2577 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unstack_and_attach = GetDragDeltaToAttach(panel2); gfx 2602 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(300, 200, 300, 200); gfx 2604 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(100, 100, 100, 250); gfx 2608 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2610 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds(panel2_initial_bounds); gfx 2616 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 2617 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 2621 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_snap = GetDragDeltaToSnapToLeft(panel2, panel1); gfx 2632 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unsnap = GetDragDeltaToUnsnap(panel1); gfx 2654 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_almost_vertically(2, 20); gfx 2678 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 200, 100, 200); gfx 2680 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(300, 100, 200, 250); gfx 2684 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2686 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds(panel2_initial_bounds); gfx 2692 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 2693 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 2697 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_snap = GetDragDeltaToSnapToRight(panel2, panel1); gfx 2707 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_unsnap = GetDragDeltaToUnsnap(panel1); gfx 2728 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_almost_vertically(2, -20); gfx 2752 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(300, 200, 300, 200); gfx 2754 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(100, 100, 100, 250); gfx 2758 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2760 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds(panel2_initial_bounds); gfx 2766 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 2767 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point original_mouse_location = mouse_location; gfx 2771 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_snap = GetDragDeltaToSnapToLeft(panel2, panel1); gfx 2797 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(300, 100, 200, 150); gfx 2799 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2807 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2809 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2814 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(100, 200, 100, 100); gfx 2818 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 2823 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_snap = GetDragDeltaToSnapToLeft(panel3, panel1); gfx 2848 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 100, 200, 150); gfx 2850 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2858 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2860 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2865 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(300, 200, 100, 100); gfx 2869 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds(panel3_initial_bounds); gfx 2874 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_snap = GetDragDeltaToSnapToRight(panel3, panel1); gfx 2898 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(300, 200, 100, 100)); gfx 2902 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_bounds = panel1->GetBounds(); gfx 2905 chrome/browser/ui/panels/panel_drag_browsertest.cc Panel* panel2 = CreateDockedPanel("2", gfx::Rect(0, 0, 150, 150)); gfx 2909 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_bounds = panel2->GetBounds(); gfx 2912 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta_to_detach_and_snap = gfx 2932 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(300, 100, 200, 150); gfx 2934 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 2936 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 150, 200); gfx 2944 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 2946 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2949 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel3_expected_bounds = GetStackedAtBottomPanelBounds( gfx 2956 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Vector2d drag_delta(-50, -20); gfx 2981 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect primary_display_area(0, 0, 400, 600); gfx 2982 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect primary_work_area(0, 0, 400, 560); gfx 2985 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect secondary_display_area(400, 100, 400, 500); gfx 2986 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect secondary_work_area(400, 140, 400, 460); gfx 2991 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect initial_bounds = gfx::Rect(100, 100, 200, 150); gfx 2993 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect expected_bounds(initial_bounds); gfx 2998 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location( gfx 3007 chrome/browser/ui/panels/panel_drag_browsertest.cc drag_to_location = gfx::Point( gfx 3016 chrome/browser/ui/panels/panel_drag_browsertest.cc drag_to_location = gfx::Point( gfx 3035 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect primary_display_area(0, 0, 400, 600); gfx 3036 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect primary_work_area(0, 0, 400, 560); gfx 3039 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect secondary_display_area(400, 100, 400, 500); gfx 3040 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect secondary_work_area(400, 140, 400, 460); gfx 3046 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(300, 100, 200, 150); gfx 3048 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 3051 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 3053 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Rect panel2_expected_bounds = GetStackedAtBottomPanelBounds( gfx 3059 chrome/browser/ui/panels/panel_drag_browsertest.cc gfx::Point drag_to_location( gfx 3070 chrome/browser/ui/panels/panel_drag_browsertest.cc drag_to_location = gfx::Point( gfx 3088 chrome/browser/ui/panels/panel_drag_browsertest.cc drag_to_location = gfx::Point( gfx 36 chrome/browser/ui/panels/panel_drag_controller.cc int GetHorizontalOverlap(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { gfx 53 chrome/browser/ui/panels/panel_drag_controller.cc int GetVerticalOverlap(const gfx::Rect& bounds1, const gfx::Rect& bounds2) { gfx 72 chrome/browser/ui/panels/panel_drag_controller.cc int GetVerticalDistance(const gfx::Rect& top_bounds, gfx 73 chrome/browser/ui/panels/panel_drag_controller.cc const gfx::Rect& bottom_bounds) { gfx 79 chrome/browser/ui/panels/panel_drag_controller.cc int GetHorizontalDistance(const gfx::Rect& left_bounds, gfx 80 chrome/browser/ui/panels/panel_drag_controller.cc const gfx::Rect& right_bounds) { gfx 141 chrome/browser/ui/panels/panel_drag_controller.cc const gfx::Point& mouse_location) { gfx 156 chrome/browser/ui/panels/panel_drag_controller.cc void PanelDragController::Drag(const gfx::Point& mouse_location) { gfx 160 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Point target_position = GetPanelPositionForMouseLocation(mouse_location); gfx 276 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Point PanelDragController::GetPanelPositionForMouseLocation( gfx 277 chrome/browser/ui/panels/panel_drag_controller.cc const gfx::Point& mouse_location) const { gfx 280 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Point target_position = gfx 282 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size()); gfx 286 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect display_area = panel_manager_->display_settings_provider()-> gfx 288 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect work_area = panel_manager_->display_settings_provider()-> gfx 298 chrome/browser/ui/panels/panel_drag_controller.cc void PanelDragController::TryDetach(const gfx::Point& target_position) { gfx 308 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_bounds(target_position, dragging_panel_->full_size()); gfx 312 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_work_area = panel_manager_->display_settings_provider()-> gfx 314 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect dock_work_area = panel_manager_->docked_collection()->work_area(); gfx 330 chrome/browser/ui/panels/panel_drag_controller.cc void PanelDragController::TryDock(const gfx::Point& target_position) { gfx 335 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size()); gfx 340 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_work_area = panel_manager_->display_settings_provider()-> gfx 342 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect dock_work_area = panel_manager_->docked_collection()->work_area(); gfx 358 chrome/browser/ui/panels/panel_drag_controller.cc void PanelDragController::TryStack(const gfx::Point& target_position) { gfx 359 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_bounds; gfx 372 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Vector2d delta = gfx 405 chrome/browser/ui/panels/panel_drag_controller.cc bool PanelDragController::TryUnstackFromTop(const gfx::Point& target_position) { gfx 435 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Vector2d delta = target_position - dragging_panel_->GetBounds().origin(); gfx 439 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_bounds = last_panel_to_unstack->GetBounds(); gfx 441 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect below_panel_bounds = panel_below_last_panel_to_unstack->GetBounds(); gfx 518 chrome/browser/ui/panels/panel_drag_controller.cc const gfx::Point& target_position) { gfx 530 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_bounds(target_position, dragging_panel_->GetBounds().size()); gfx 535 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect above_panel_bounds = above_panel->GetBounds(); gfx 543 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Vector2d delta = target_position - dragging_panel_->GetBounds().origin(); gfx 594 chrome/browser/ui/panels/panel_drag_controller.cc void PanelDragController::TrySnap(gfx::Point* target_position) { gfx 600 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect target_bounds; gfx 614 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect work_area = panel_manager_->display_settings_provider()-> gfx 648 chrome/browser/ui/panels/panel_drag_controller.cc const gfx::Point& potential_position, gfx 650 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect* target_bounds, gfx 656 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect current_dragging_bounds = dragging_panel_->GetBounds(); gfx 657 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect potential_dragging_bounds(potential_position, gfx 664 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect current_bottom_bounds; gfx 665 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect potential_bottom_bounds; gfx 668 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Vector2d delta = potential_position - current_dragging_bounds.origin(); gfx 687 chrome/browser/ui/panels/panel_drag_controller.cc gfx::Rect panel_bounds = panel->GetBounds(); gfx 15 chrome/browser/ui/panels/panel_drag_controller.h namespace gfx { gfx 29 chrome/browser/ui/panels/panel_drag_controller.h void StartDragging(Panel* panel, const gfx::Point& mouse_location); gfx 30 chrome/browser/ui/panels/panel_drag_controller.h void Drag(const gfx::Point& mouse_location); gfx 59 chrome/browser/ui/panels/panel_drag_controller.h gfx::Point GetPanelPositionForMouseLocation( gfx 60 chrome/browser/ui/panels/panel_drag_controller.h const gfx::Point& mouse_location) const; gfx 64 chrome/browser/ui/panels/panel_drag_controller.h void TryDetach(const gfx::Point& target_position); gfx 65 chrome/browser/ui/panels/panel_drag_controller.h void TryDock(const gfx::Point& target_position); gfx 66 chrome/browser/ui/panels/panel_drag_controller.h void TryStack(const gfx::Point& target_position); gfx 67 chrome/browser/ui/panels/panel_drag_controller.h bool TryUnstackFromTop(const gfx::Point& target_position); gfx 68 chrome/browser/ui/panels/panel_drag_controller.h bool TryUnstackFromBottom(const gfx::Point& target_position); gfx 69 chrome/browser/ui/panels/panel_drag_controller.h void TrySnap(gfx::Point* target_position); gfx 75 chrome/browser/ui/panels/panel_drag_controller.h Panel* FindPanelToGlue(const gfx::Point& potential_position, gfx 77 chrome/browser/ui/panels/panel_drag_controller.h gfx::Rect* target_bounds, gfx 98 chrome/browser/ui/panels/panel_drag_controller.h gfx::Vector2d offset_from_mouse_location_on_drag_start_; gfx 58 chrome/browser/ui/panels/panel_extension_browsertest.cc gfx::Rect(), gfx 90 chrome/browser/ui/panels/panel_extension_browsertest.cc gfx::ImageSkia app_icon = panel->app_icon().AsImageSkia(); gfx 83 chrome/browser/ui/panels/panel_host.cc gfx::Image PanelHost::GetPageIcon() const { gfx 85 chrome/browser/ui/panels/panel_host.cc return gfx::Image(); gfx 137 chrome/browser/ui/panels/panel_host.cc const gfx::Rect& initial_pos, gfx 174 chrome/browser/ui/panels/panel_host.cc const gfx::Rect& pos) { gfx 197 chrome/browser/ui/panels/panel_host.cc const gfx::Size& new_size) { gfx 29 chrome/browser/ui/panels/panel_host.h namespace gfx { gfx 48 chrome/browser/ui/panels/panel_host.h gfx::Image GetPageIcon() const; gfx 59 chrome/browser/ui/panels/panel_host.h const gfx::Rect& initial_pos, gfx 68 chrome/browser/ui/panels/panel_host.h const gfx::Rect& pos) OVERRIDE; gfx 77 chrome/browser/ui/panels/panel_host.h const gfx::Size& new_size) OVERRIDE; gfx 58 chrome/browser/ui/panels/panel_manager.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 59 chrome/browser/ui/panels/panel_manager.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 198 chrome/browser/ui/panels/panel_manager.cc gfx::Point PanelManager::GetDefaultDetachedPanelOrigin() { gfx 218 chrome/browser/ui/panels/panel_manager.cc int PanelManager::GetMaxPanelWidth(const gfx::Rect& work_area) const { gfx 222 chrome/browser/ui/panels/panel_manager.cc int PanelManager::GetMaxPanelHeight(const gfx::Rect& work_area) const { gfx 229 chrome/browser/ui/panels/panel_manager.cc const gfx::Rect& requested_bounds, gfx 249 chrome/browser/ui/panels/panel_manager.cc gfx::Rect work_area = gfx 251 chrome/browser/ui/panels/panel_manager.cc gfx::Size min_size(panel::kPanelMinWidth, panel::kPanelMinHeight); gfx 252 chrome/browser/ui/panels/panel_manager.cc gfx::Size max_size(GetMaxPanelWidth(work_area), GetMaxPanelHeight(work_area)); gfx 267 chrome/browser/ui/panels/panel_manager.cc gfx::Rect adjusted_requested_bounds( gfx 274 chrome/browser/ui/panels/panel_manager.cc gfx::Rect bounds = collection->GetInitialPanelBounds( gfx 295 chrome/browser/ui/panels/panel_manager.cc const gfx::Rect& bounds, gfx 384 chrome/browser/ui/panels/panel_manager.cc gfx::Rect work_area = gfx 455 chrome/browser/ui/panels/panel_manager.cc const gfx::Point& mouse_location) { gfx 459 chrome/browser/ui/panels/panel_manager.cc void PanelManager::Drag(const gfx::Point& mouse_location) { gfx 468 chrome/browser/ui/panels/panel_manager.cc const gfx::Point& mouse_location, gfx 475 chrome/browser/ui/panels/panel_manager.cc void PanelManager::ResizeByMouse(const gfx::Point& mouse_location) { gfx 59 chrome/browser/ui/panels/panel_manager.h gfx::Point GetDefaultDetachedPanelOrigin(); gfx 72 chrome/browser/ui/panels/panel_manager.h const gfx::Rect& requested_bounds, gfx 89 chrome/browser/ui/panels/panel_manager.h int GetMaxPanelWidth(const gfx::Rect& work_area) const; gfx 90 chrome/browser/ui/panels/panel_manager.h int GetMaxPanelHeight(const gfx::Rect& work_area) const; gfx 94 chrome/browser/ui/panels/panel_manager.h void StartDragging(Panel* panel, const gfx::Point& mouse_location); gfx 95 chrome/browser/ui/panels/panel_manager.h void Drag(const gfx::Point& mouse_location); gfx 100 chrome/browser/ui/panels/panel_manager.h void StartResizingByMouse(Panel* panel, const gfx::Point& mouse_location, gfx 102 chrome/browser/ui/panels/panel_manager.h void ResizeByMouse(const gfx::Point& mouse_location); gfx 211 chrome/browser/ui/panels/panel_manager.h const gfx::Rect& bounds, gfx 30 chrome/browser/ui/panels/panel_mouse_watcher.cc void PanelMouseWatcher::NotifyMouseMovement(const gfx::Point& mouse_position) { gfx 11 chrome/browser/ui/panels/panel_mouse_watcher.h namespace gfx { gfx 33 chrome/browser/ui/panels/panel_mouse_watcher.h virtual gfx::Point GetMousePosition() const = 0; gfx 39 chrome/browser/ui/panels/panel_mouse_watcher.h virtual void NotifyMouseMovement(const gfx::Point& mouse_position); gfx 8 chrome/browser/ui/panels/panel_mouse_watcher_observer.h namespace gfx { gfx 18 chrome/browser/ui/panels/panel_mouse_watcher_observer.h virtual void OnMouseMove(const gfx::Point& mouse_position) = 0; gfx 21 chrome/browser/ui/panels/panel_mouse_watcher_timer.cc virtual gfx::Point GetMousePosition() const OVERRIDE; gfx 67 chrome/browser/ui/panels/panel_mouse_watcher_timer.cc gfx::Point PanelMouseWatcherTimer::GetMousePosition() const { gfx 69 chrome/browser/ui/panels/panel_mouse_watcher_timer.cc return gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 16 chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc virtual void OnMouseMove(const gfx::Point& mouse_position) OVERRIDE { gfx 35 chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc watcher->NotifyMouseMovement(gfx::Point(42, 101)); gfx 42 chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc watcher->NotifyMouseMovement(gfx::Point(42, 101)); gfx 52 chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc watcher->NotifyMouseMovement(gfx::Point(101, 42)); gfx 60 chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc watcher->NotifyMouseMovement(gfx::Point(1, 2)); gfx 25 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect primary_display_area = PanelManager::GetInstance()-> gfx 33 chrome/browser/ui/panels/panel_resize_browsertest.cc const gfx::Vector2d& delta) { gfx 35 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 36 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Point mouse_location; gfx 87 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 90 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Point mouse_location = bounds.origin(); gfx 96 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 20, bounds.height() + 10)); gfx 104 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(10, 1); gfx 118 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(1, 30); gfx 132 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(bounds.width() - 1, 2); gfx 138 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 30, bounds.height() - 20)); gfx 148 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(bounds.width() - 1, 30); gfx 163 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(10, bounds.height() - 1); gfx 174 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(1, bounds.height() - 1); gfx 186 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width() - 2, bounds.height()); gfx 207 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); gfx 211 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 214 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Point mouse_location = bounds.origin() + gfx 215 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width() - 1, 30); gfx 228 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(1, bounds.height() - 1); gfx 234 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 10, bounds.height() + 15)); gfx 242 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(bounds.width() - 1, 2); gfx 248 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 30, bounds.height() - 20)); gfx 256 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(1, 0); gfx 262 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 20, bounds.height() + 10)); gfx 284 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect(300, 200, initial_width, initial_height)); gfx 292 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(resize_width, resize_height)); gfx 310 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); gfx 314 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 317 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Point mouse_location = bounds.origin() + gfx 318 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(30, bounds.height() - 2); gfx 332 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width(), bounds.height() - 2); gfx 343 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + delta_x, gfx 367 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(100, 200, 100, 100)); gfx 368 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(200, 210, 110, 110)); gfx 369 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel3 = CreateDetachedPanel("3", gfx::Rect(300, 220, 120, 120)); gfx 372 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel1_bounds = panel1->GetBounds(); gfx 373 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel2_bounds = panel2->GetBounds(); gfx 374 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel3_bounds = panel3->GetBounds(); gfx 378 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Point mouse_location = panel1_bounds.origin() + gfx 379 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(1, panel1_bounds.height() - 1); gfx 385 chrome/browser/ui/panels/panel_resize_browsertest.cc panel1_bounds.set_size(gfx::Size(panel1_bounds.width() + 10, gfx 400 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(panel3_bounds.width() - 1, panel3_bounds.height() - 2); gfx 406 chrome/browser/ui/panels/panel_resize_browsertest.cc panel3_bounds.set_size(gfx::Size(panel3_bounds.width() + 7, gfx 431 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("Panel", gfx::Rect(300, 200, 150, 100)); gfx 436 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect original_bounds = panel->GetBounds(); gfx 440 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 441 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Point mouse_location = bounds.origin() + gfx 442 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(bounds.width() - 1, 1); gfx 448 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 5, bounds.height() - 25)); gfx 457 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = bounds.origin() + gfx::Vector2d(1, bounds.height() - 1); gfx 463 chrome/browser/ui/panels/panel_resize_browsertest.cc bounds.set_size(gfx::Size(bounds.width() + 10, bounds.height() + 15)); gfx 482 chrome/browser/ui/panels/panel_resize_browsertest.cc const gfx::Rect primary_display_area(0, 0, 800, 600); gfx 483 chrome/browser/ui/panels/panel_resize_browsertest.cc const gfx::Rect primary_work_area(0, 10, 800, 590); gfx 488 chrome/browser/ui/panels/panel_resize_browsertest.cc Panel* panel = CreateDetachedPanel("1", gfx::Rect(300, 200, 250, 200)); gfx 489 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect bounds = panel->GetBounds(); gfx 492 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Point mouse_location = bounds.origin(); gfx 499 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = gfx::Point(250, 2); gfx 510 chrome/browser/ui/panels/panel_resize_browsertest.cc mouse_location = gfx::Point(280, 50); gfx 534 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 536 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 538 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 120, 110); gfx 544 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Size panel1_expected_full_size = panel1_initial_bounds.size(); gfx 546 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Size panel2_expected_full_size(panel1_initial_bounds.width(), gfx 549 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Size panel3_expected_full_size(panel1_initial_bounds.width(), gfx 553 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 555 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), gfx 560 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Rect panel3_expected_bounds(panel2_expected_bounds.x(), gfx 573 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(-top_resize_width, -top_resize_height)); gfx 604 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(-bottom_resize_width, -bottom_resize_height)); gfx 632 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(0, middle_resize_height)); gfx 671 chrome/browser/ui/panels/panel_resize_browsertest.cc gfx::Vector2d(0, top_resize_height)); gfx 44 chrome/browser/ui/panels/panel_resize_controller.cc const gfx::Point& mouse_location, gfx 93 chrome/browser/ui/panels/panel_resize_controller.cc void PanelResizeController::Resize(const gfx::Point& mouse_location) { gfx 100 chrome/browser/ui/panels/panel_resize_controller.cc gfx::Rect bounds = resizing_panel_->GetBounds(); gfx 121 chrome/browser/ui/panels/panel_resize_controller.cc gfx::Rect display_area = panel_manager_->display_settings_provider()-> gfx 123 chrome/browser/ui/panels/panel_resize_controller.cc gfx::Rect work_area = panel_manager_->display_settings_provider()-> gfx 164 chrome/browser/ui/panels/panel_resize_controller.cc bounds_at_start_ = gfx::Rect(); gfx 165 chrome/browser/ui/panels/panel_resize_controller.cc mouse_location_at_start_ = gfx::Point(); gfx 16 chrome/browser/ui/panels/panel_resize_controller.h namespace gfx { gfx 28 chrome/browser/ui/panels/panel_resize_controller.h const gfx::Point& mouse_location, gfx 30 chrome/browser/ui/panels/panel_resize_controller.h void Resize(const gfx::Point& mouse_location); gfx 51 chrome/browser/ui/panels/panel_resize_controller.h gfx::Point mouse_location_at_start_; gfx 54 chrome/browser/ui/panels/panel_resize_controller.h gfx::Rect bounds_at_start_; gfx 25 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 27 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 29 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 120, 110); gfx 65 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 67 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), gfx 72 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_expected_bounds(panel2_expected_bounds.x(), gfx 119 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 121 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 123 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 120, 110); gfx 167 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 170 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), gfx 175 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_expected_bounds(panel2_expected_bounds.x(), gfx 216 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 218 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 227 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Point panel1_origin = panel2->GetBounds().origin(); gfx 228 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Point panel2_origin = panel2->GetBounds().origin(); gfx 233 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 235 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), gfx 299 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 301 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 308 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 310 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), gfx 341 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect work_area = gfx 346 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(100, 90, 200, 150), stack); gfx 347 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack); gfx 348 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel3 = CreateStackedPanel("3", gfx::Rect(0, 0, 150, 120), stack); gfx 349 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel4 = CreateStackedPanel("4", gfx::Rect(0, 0, 150, 100), stack); gfx 367 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Size panel2_full_size = panel2->full_size(); gfx 386 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Size panel1_full_size = panel1->full_size(); gfx 448 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect work_area = gfx 453 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(100, 150, 200, 200), stack); gfx 454 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack); gfx 455 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel3 = CreateStackedPanel("3", gfx::Rect(0, 0, 150, 120), stack); gfx 474 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Size panel2_full_size = panel2->full_size(); gfx 501 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 503 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 505 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 250, 120); gfx 528 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 530 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Vector2d drag_delta_to_unstack(120, 50); gfx 549 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 550 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 553 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Vector2d drag_delta_to_stack(bounds2.x() - bounds1.x(), gfx 576 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 578 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 602 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 604 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 606 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 250, 120); gfx 628 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 631 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), gfx 636 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_expected_bounds(panel2_expected_bounds.x(), gfx 645 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Point mouse_location(panel2->GetBounds().origin()); gfx 647 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Vector2d drag_delta(120, 50); gfx 697 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("1", gfx::Rect(200, 50, 200, 150), stack1); gfx 698 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack1); gfx 705 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("3", gfx::Rect(100, 50, 200, 150), stack2); gfx 706 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("4", gfx::Rect(0, 0, 150, 100), stack2); gfx 707 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("5", gfx::Rect(0, 0, 250, 120), stack2); gfx 714 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 150, 100), SHOW_AS_ACTIVE); gfx 733 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("1", gfx::Rect(100, 50, 200, 150), stack1); gfx 734 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack1); gfx 741 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("3", gfx::Rect(200, 50, 200, 150), stack2); gfx 742 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("4", gfx::Rect(0, 0, 150, 100), stack2); gfx 749 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 150, 100), SHOW_AS_ACTIVE); gfx 768 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("1", gfx::Rect(100, 90, 200, 150), stack1); gfx 769 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack1); gfx 776 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("3", gfx::Rect(100, 50, 200, 150), stack2); gfx 777 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("4", gfx::Rect(0, 0, 150, 100), stack2); gfx 785 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 150, 100), SHOW_AS_ACTIVE); gfx 803 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateDetachedPanel("1", gfx::Rect(200, 50, 250, 150)); gfx 804 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(250, 100, 150, 100)); gfx 811 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 150, 100), SHOW_AS_ACTIVE); gfx 830 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateDetachedPanel("1", gfx::Rect(200, 100, 100, 150)); gfx 831 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(200, 50, 100, 100)); gfx 838 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 150, 100), SHOW_AS_ACTIVE); gfx 860 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(100, 50, 200, 140), stack); gfx 861 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 150, 150), stack); gfx 862 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel3 = CreateStackedPanel("3", gfx::Rect(0, 0, 180, 120), stack); gfx 863 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel4 = CreateStackedPanel("4", gfx::Rect(0, 0, 170, 110), stack); gfx 876 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params1("M", gfx::Rect(50, 50, 300, 110), SHOW_AS_ACTIVE); gfx 891 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params2("N", gfx::Rect(50, 50, 300, 180), SHOW_AS_ACTIVE); gfx 916 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateInactiveDetachedPanel("1", gfx::Rect(100, 310, 200, 200)); gfx 917 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateDetachedPanel("2", gfx::Rect(300, 300, 150, 200)); gfx 924 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 300, 220), SHOW_AS_ACTIVE); gfx 947 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("1", gfx::Rect(100, 350, 200, 100), stack); gfx 948 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack); gfx 954 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateDetachedPanel("3", gfx::Rect(300, 450, 200, 100)); gfx 955 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreateDetachedPanel("4", gfx::Rect(250, 150, 150, 200)); gfx 962 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 300, 300), SHOW_AS_ACTIVE); gfx 993 chrome/browser/ui/panels/stacked_panel_browsertest.cc extension1_app_name, gfx::Rect(50, 50, 100, 100), SHOW_AS_ACTIVE); gfx 997 chrome/browser/ui/panels/stacked_panel_browsertest.cc extension1_app_name, gfx::Rect(100, 100, 200, 100), SHOW_AS_ACTIVE); gfx 1009 chrome/browser/ui/panels/stacked_panel_browsertest.cc extension2_app_name, gfx::Rect(350, 350, 100, 100), SHOW_AS_ACTIVE); gfx 1013 chrome/browser/ui/panels/stacked_panel_browsertest.cc extension2_app_name, gfx::Rect(100, 100, 200, 100), SHOW_AS_ACTIVE); gfx 1025 chrome/browser/ui/panels/stacked_panel_browsertest.cc extension1_app_name, gfx::Rect(0, 0, 100, 100), SHOW_AS_ACTIVE); gfx 1035 chrome/browser/ui/panels/stacked_panel_browsertest.cc extension2_app_name, gfx::Rect(0, 0, 100, 100), SHOW_AS_ACTIVE); gfx 1055 chrome/browser/ui/panels/stacked_panel_browsertest.cc "1", gfx::Rect(50, 50, 100, 100), SHOW_AS_ACTIVE); gfx 1060 chrome/browser/ui/panels/stacked_panel_browsertest.cc "2", gfx::Rect(100, 100, 200, 100), SHOW_AS_ACTIVE); gfx 1073 chrome/browser/ui/panels/stacked_panel_browsertest.cc "3", gfx::Rect(350, 350, 100, 100), SHOW_AS_ACTIVE); gfx 1078 chrome/browser/ui/panels/stacked_panel_browsertest.cc "4", gfx::Rect(100, 100, 200, 100), SHOW_AS_ACTIVE); gfx 1091 chrome/browser/ui/panels/stacked_panel_browsertest.cc "5", gfx::Rect(0, 0, 100, 100), SHOW_AS_ACTIVE); gfx 1102 chrome/browser/ui/panels/stacked_panel_browsertest.cc "6", gfx::Rect(0, 0, 100, 100), SHOW_AS_ACTIVE); gfx 1133 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateDetachedPanel("1", gfx::Rect(200, 50, 250, 150)); gfx 1144 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 150, 100), SHOW_AS_ACTIVE); gfx 1171 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(100, 90, 200, 150), stack); gfx 1172 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack); gfx 1185 chrome/browser/ui/panels/stacked_panel_browsertest.cc CreatePanelParams params("N", gfx::Rect(50, 50, 150, 100), SHOW_AS_ACTIVE); gfx 1204 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 1206 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 1208 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_initial_bounds = gfx::Rect(0, 0, 250, 120); gfx 1214 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_expected_bounds(panel1_initial_bounds); gfx 1216 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_expected_bounds(panel1_expected_bounds.x(), gfx 1221 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel3_expected_bounds(panel2_expected_bounds.x(), gfx 1268 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(100, 50, 200, 200), stack); gfx 1269 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack); gfx 1270 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel3 = CreateStackedPanel("3", gfx::Rect(0, 0, 150, 120), stack); gfx 1303 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(100, 50, 200, 200), stack); gfx 1304 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack); gfx 1305 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel3 = CreateStackedPanel("3", gfx::Rect(0, 0, 150, 120), stack); gfx 1329 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 1331 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 1370 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel1_initial_bounds = gfx::Rect(100, 50, 200, 150); gfx 1372 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect panel2_initial_bounds = gfx::Rect(0, 0, 150, 100); gfx 1398 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(50, 50, 700, 100), stack); gfx 1399 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 100, 100), stack); gfx 1400 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel3 = CreateStackedPanel("3", gfx::Rect(0, 0, 100, 100), stack); gfx 1401 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel4 = CreateStackedPanel("4", gfx::Rect(0, 0, 100, 100), stack); gfx 1402 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel5 = CreateStackedPanel("5", gfx::Rect(0, 0, 100, 100), stack); gfx 1411 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect primary_display_area(0, 0, new_primary_area_width, 300); gfx 1412 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect primary_work_area(0, 0, new_primary_area_width, 280); gfx 1427 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect bounds1 = panel1->GetBounds(); gfx 1433 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect bounds2 = panel2->GetBounds(); gfx 1438 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect bounds3 = panel3->GetBounds(); gfx 1443 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect bounds4 = panel4->GetBounds(); gfx 1448 chrome/browser/ui/panels/stacked_panel_browsertest.cc gfx::Rect bounds5 = panel5->GetBounds(); gfx 1463 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel1 = CreateStackedPanel("1", gfx::Rect(100, 50, 200, 150), stack); gfx 1464 chrome/browser/ui/panels/stacked_panel_browsertest.cc Panel* panel2 = CreateStackedPanel("2", gfx::Rect(0, 0, 150, 100), stack); gfx 36 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect enclosing_bounds = GetEnclosingBounds(); gfx 37 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect work_area = panel_manager_->display_settings_provider()-> gfx 49 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect top_bounds = top_panel()->GetBounds(); gfx 68 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Point(common_x, start_y), common_width); gfx 74 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect top_bounds = top_panel()->GetBounds(); gfx 79 chrome/browser/ui/panels/stacked_panel_collection.cc const gfx::Point& start_position, int common_width) { gfx 87 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 113 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 120 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Size full_size = panel->full_size(); gfx 152 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Image StackedPanelCollection::GetIcon() const { gfx 154 chrome/browser/ui/panels/stacked_panel_collection.cc return gfx::Image(); gfx 173 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect StackedPanelCollection::GetEnclosingBounds() const { gfx 174 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect enclosing_bounds = top_panel()->GetBounds(); gfx 266 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Point top_origin; gfx 363 chrome/browser/ui/panels/stacked_panel_collection.cc const gfx::Size& preferred_window_size) { gfx 393 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bounds = current_panel->GetBounds(); gfx 406 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Size full_size = panel->full_size(); gfx 567 chrome/browser/ui/panels/stacked_panel_collection.cc Panel* resized_panel, const gfx::Rect& new_bounds) { gfx 577 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect other_bounds = other_panel->GetBounds(); gfx 581 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect previous_bounds; gfx 596 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bounds = panel->GetBounds(); gfx 670 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect StackedPanelCollection::GetInitialPanelBounds( gfx 671 chrome/browser/ui/panels/stacked_panel_collection.cc const gfx::Rect& requested_bounds) const { gfx 673 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect bottom_panel_bounds = bottom_panel()->GetBounds(); gfx 674 chrome/browser/ui/panels/stacked_panel_collection.cc return gfx::Rect(bottom_panel_bounds.x(), gfx 709 chrome/browser/ui/panels/stacked_panel_collection.cc const gfx::Vector2d& delta_origin) { gfx 743 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect StackedPanelCollection::GetWorkArea() const { gfx 751 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect work_area = GetWorkArea(); gfx 762 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect work_area = GetWorkArea(); gfx 774 chrome/browser/ui/panels/stacked_panel_collection.cc gfx::Rect work_area = GetWorkArea(); gfx 17 chrome/browser/ui/panels/stacked_panel_collection.h namespace gfx { gfx 38 chrome/browser/ui/panels/stacked_panel_collection.h const gfx::Size& preferred_window_size) OVERRIDE; gfx 42 chrome/browser/ui/panels/stacked_panel_collection.h const gfx::Rect& new_bounds) OVERRIDE; gfx 63 chrome/browser/ui/panels/stacked_panel_collection.h virtual gfx::Rect GetInitialPanelBounds( gfx 64 chrome/browser/ui/panels/stacked_panel_collection.h const gfx::Rect& requested_bounds) const OVERRIDE; gfx 70 chrome/browser/ui/panels/stacked_panel_collection.h void MoveAllDraggingPanelsInstantly(const gfx::Vector2d& delta_origin); gfx 95 chrome/browser/ui/panels/stacked_panel_collection.h gfx::Point position; gfx 108 chrome/browser/ui/panels/stacked_panel_collection.h virtual gfx::Image GetIcon() const OVERRIDE; gfx 112 chrome/browser/ui/panels/stacked_panel_collection.h gfx::Rect GetEnclosingBounds() const; gfx 117 chrome/browser/ui/panels/stacked_panel_collection.h gfx::Rect GetWorkArea() const; gfx 121 chrome/browser/ui/panels/stacked_panel_collection.h void RefreshLayoutWithTopPanelStartingAt(const gfx::Point& start_position, gfx 16 chrome/browser/ui/panels/stacked_panel_drag_handler.cc const gfx::Point& target_position, gfx 38 chrome/browser/ui/panels/stacked_panel_drag_handler.cc gfx::Vector2d delta_origin = target_position - panel->GetBounds().origin(); gfx 78 chrome/browser/ui/panels/stacked_panel_drag_handler.cc gfx::Vector2d delta_origin( gfx 11 chrome/browser/ui/panels/stacked_panel_drag_handler.h namespace gfx { gfx 19 chrome/browser/ui/panels/stacked_panel_drag_handler.h const gfx::Point& target_position, gfx 32 chrome/browser/ui/panels/test_panel_mouse_watcher.cc const gfx::Point& mouse_position) { gfx 37 chrome/browser/ui/panels/test_panel_mouse_watcher.cc gfx::Point TestPanelMouseWatcher::GetMousePosition() const { gfx 23 chrome/browser/ui/panels/test_panel_mouse_watcher.h virtual void NotifyMouseMovement(const gfx::Point& mouse_position) OVERRIDE; gfx 24 chrome/browser/ui/panels/test_panel_mouse_watcher.h virtual gfx::Point GetMousePosition() const OVERRIDE; gfx 27 chrome/browser/ui/panels/test_panel_mouse_watcher.h gfx::Point mouse_position_; gfx 28 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 47 chrome/browser/ui/passwords/password_manager_presenter_unittest.cc gfx::NativeWindow MockPasswordUIView::GetNativeWindow() { return NULL; } gfx 46 chrome/browser/ui/passwords/password_ui_view.h virtual gfx::NativeWindow GetNativeWindow() = 0; gfx 78 chrome/browser/ui/pdf/pdf_browsertest.cc gfx::Rect bounds(gfx::Rect(0, 0, kBrowserWidth, kBrowserHeight)); gfx 79 chrome/browser/ui/pdf/pdf_browsertest.cc gfx::Rect screen_bounds = gfx 80 chrome/browser/ui/pdf/pdf_browsertest.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().bounds(); gfx 99 chrome/browser/ui/pdf/pdf_browsertest.cc rwh->GetSnapshotFromRenderer(gfx::Rect(), base::Bind( gfx 145 chrome/browser/ui/pdf/pdf_browsertest.cc ASSERT_TRUE(gfx::PNGCodec::Decode( gfx 147 chrome/browser/ui/pdf/pdf_browsertest.cc gfx::PNGCodec::FORMAT_BGRA, &decoded, &w, &h)); gfx 188 chrome/browser/ui/pdf/pdf_browsertest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data); gfx 15 chrome/browser/ui/screen_capture_notification_ui_stub.cc virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) gfx 129 chrome/browser/ui/search/instant_controller.h void OmniboxLostFocus(gfx::NativeView view_gaining_focus); gfx 27 chrome/browser/ui/search/instant_page.h namespace gfx { gfx 50 chrome/browser/ui/search/instant_search_prerenderer.cc const gfx::Size& size) { gfx 26 chrome/browser/ui/search/instant_search_prerenderer.h namespace gfx { gfx 54 chrome/browser/ui/search/instant_search_prerenderer.h const gfx::Size& size); gfx 61 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc const gfx::Size& ALLOW_UNUSED size, gfx 117 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc const gfx::Size& ALLOW_UNUSED size, gfx 187 chrome/browser/ui/search/instant_search_prerenderer_unittest.cc prerenderer->Init(session_storage_namespace_map, gfx::Size(640, 480)); gfx 39 chrome/browser/ui/search_engines/template_url_table_model.cc static gfx::ImageSkia* default_icon = NULL; gfx 57 chrome/browser/ui/search_engines/template_url_table_model.cc gfx::ImageSkia GetIcon() { gfx 69 chrome/browser/ui/search_engines/template_url_table_model.cc favicon_ = gfx::ImageSkia(); gfx 99 chrome/browser/ui/search_engines/template_url_table_model.cc favicon_url, chrome::FAVICON, gfx::kFaviconSize, gfx 114 chrome/browser/ui/search_engines/template_url_table_model.cc gfx::ImageSkia favicon_; gfx 205 chrome/browser/ui/search_engines/template_url_table_model.cc gfx::ImageSkia TemplateURLTableModel::GetIcon(int row) { gfx 21 chrome/browser/ui/search_engines/template_url_table_model.h namespace gfx { gfx 51 chrome/browser/ui/search_engines/template_url_table_model.h virtual gfx::ImageSkia GetIcon(int row) OVERRIDE; gfx 32 chrome/browser/ui/simple_message_box.h MessageBoxResult ShowMessageBox(gfx::NativeWindow parent, gfx 44 chrome/browser/ui/simple_message_box.h MessageBoxResult ShowMessageBoxWithButtonText(gfx::NativeWindow parent, gfx 13 chrome/browser/ui/status_bubble.h namespace gfx { gfx 49 chrome/browser/ui/status_bubble.h virtual void MouseMoved(const gfx::Point& position, bool left_content) = 0; gfx 38 chrome/browser/ui/sync/inline_login_dialog.cc void InlineLoginDialog::GetDialogSize(gfx::Size* size) const { gfx 33 chrome/browser/ui/sync/inline_login_dialog.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 205 chrome/browser/ui/tab_contents/core_tab_helper.cc const gfx::Size& original_size) { gfx 222 chrome/browser/ui/tab_contents/core_tab_helper.cc if (!gfx::JPEGCodec::Encode( gfx 224 chrome/browser/ui/tab_contents/core_tab_helper.cc gfx::JPEGCodec::FORMAT_SkBitmap, bitmap.width(), bitmap.height(), gfx 69 chrome/browser/ui/tab_contents/core_tab_helper.h const gfx::Size& original_size); gfx 79 chrome/browser/ui/tab_modal_confirm_dialog_delegate.cc gfx::Image* TabModalConfirmDialogDelegate::GetIcon() { gfx 19 chrome/browser/ui/tab_modal_confirm_dialog_delegate.h namespace gfx { gfx 78 chrome/browser/ui/tab_modal_confirm_dialog_delegate.h virtual gfx::Image* GetIcon(); gfx 53 chrome/browser/ui/tabs/dock_info.h static bool IsCloseToPoint(const gfx::Point& screen_loc, gfx 59 chrome/browser/ui/tabs/dock_info.h static bool IsCloseToMonitorPoint(const gfx::Point& screen_loc, gfx 76 chrome/browser/ui/tabs/dock_info.h const gfx::Point& screen_point, gfx 77 chrome/browser/ui/tabs/dock_info.h const std::set<gfx::NativeView>& ignore); gfx 83 chrome/browser/ui/tabs/dock_info.h static gfx::NativeWindow GetLocalProcessWindowAtPoint( gfx 85 chrome/browser/ui/tabs/dock_info.h const gfx::Point& screen_point, gfx 86 chrome/browser/ui/tabs/dock_info.h const std::set<gfx::NativeView>& ignore); gfx 92 chrome/browser/ui/tabs/dock_info.h bool IsValidForPoint(const gfx::Point& screen_point); gfx 98 chrome/browser/ui/tabs/dock_info.h bool GetNewWindowBounds(gfx::Rect* new_window_bounds, gfx 111 chrome/browser/ui/tabs/dock_info.h void set_window(gfx::NativeWindow window) { window_ = window; } gfx 112 chrome/browser/ui/tabs/dock_info.h gfx::NativeWindow window() const { return window_; } gfx 115 chrome/browser/ui/tabs/dock_info.h void set_hot_spot(const gfx::Point& hot_spot) { hot_spot_ = hot_spot; } gfx 116 chrome/browser/ui/tabs/dock_info.h const gfx::Point& hot_spot() const { return hot_spot_; } gfx 119 chrome/browser/ui/tabs/dock_info.h void set_monitor_bounds(const gfx::Rect& monitor_bounds) { gfx 122 chrome/browser/ui/tabs/dock_info.h const gfx::Rect& monitor_bounds() const { return monitor_bounds_; } gfx 125 chrome/browser/ui/tabs/dock_info.h gfx::Rect GetPopupRect() const; gfx 150 chrome/browser/ui/tabs/dock_info.h bool CheckMonitorPoint(const gfx::Point& screen_loc, gfx 157 chrome/browser/ui/tabs/dock_info.h bool GetWindowBounds(gfx::Rect* bounds) const; gfx 160 chrome/browser/ui/tabs/dock_info.h void SizeOtherWindowTo(const gfx::Rect& bounds) const; gfx 163 chrome/browser/ui/tabs/dock_info.h gfx::NativeWindow window_; gfx 164 chrome/browser/ui/tabs/dock_info.h gfx::Point hot_spot_; gfx 165 chrome/browser/ui/tabs/dock_info.h gfx::Rect monitor_bounds_; gfx 32 chrome/browser/ui/tabs/tab_resources.cc gfx::Path* path) { gfx 8 chrome/browser/ui/tabs/tab_resources.h namespace gfx { gfx 23 chrome/browser/ui/tabs/tab_resources.h gfx::Path* path); gfx 19 chrome/browser/ui/tabs/tab_strip_model_delegate.h namespace gfx { gfx 71 chrome/browser/ui/tabs/tab_strip_model_delegate.h const gfx::Rect& window_bounds, gfx 34 chrome/browser/ui/tabs/tab_utils.cc class TabRecordingIndicatorAnimation : public gfx::MultiAnimation { gfx 44 chrome/browser/ui/tabs/tab_utils.cc TabRecordingIndicatorAnimation(const gfx::MultiAnimation::Parts& parts, gfx 67 chrome/browser/ui/tabs/tab_utils.cc gfx::Tween::EASE_IN)); gfx 145 chrome/browser/ui/tabs/tab_utils.cc const gfx::Image& GetTabMediaIndicatorImage(TabMediaState media_state) { gfx 161 chrome/browser/ui/tabs/tab_utils.cc scoped_ptr<gfx::Animation> CreateTabMediaIndicatorFadeAnimation( gfx 165 chrome/browser/ui/tabs/tab_utils.cc return TabRecordingIndicatorAnimation::Create().PassAs<gfx::Animation>(); gfx 170 chrome/browser/ui/tabs/tab_utils.cc gfx::MultiAnimation::Parts parts; gfx 172 chrome/browser/ui/tabs/tab_utils.cc parts.push_back(gfx::MultiAnimation::Part( gfx 174 chrome/browser/ui/tabs/tab_utils.cc gfx::Tween::EASE_IN)); gfx 177 chrome/browser/ui/tabs/tab_utils.cc scoped_ptr<gfx::MultiAnimation> animation( gfx 178 chrome/browser/ui/tabs/tab_utils.cc new gfx::MultiAnimation(parts, interval)); gfx 180 chrome/browser/ui/tabs/tab_utils.cc return animation.PassAs<gfx::Animation>(); gfx 15 chrome/browser/ui/tabs/tab_utils.h namespace gfx { gfx 68 chrome/browser/ui/tabs/tab_utils.h const gfx::Image& GetTabMediaIndicatorImage(TabMediaState media_state); gfx 74 chrome/browser/ui/tabs/tab_utils.h scoped_ptr<gfx::Animation> CreateTabMediaIndicatorFadeAnimation( gfx 23 chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc const gfx::Rect& window_bounds, gfx 22 chrome/browser/ui/tabs/test_tab_strip_model_delegate.h const gfx::Rect& window_bounds, gfx 35 chrome/browser/ui/test/test_confirm_bubble_model.cc gfx::Image* TestConfirmBubbleModel::GetIcon() const { gfx 24 chrome/browser/ui/test/test_confirm_bubble_model.h virtual gfx::Image* GetIcon() const OVERRIDE; gfx 15 chrome/browser/ui/tests/elide_url_unittest.cc using gfx::GetStringWidthF; gfx 16 chrome/browser/ui/tests/elide_url_unittest.cc using gfx::kEllipsis; gfx 26 chrome/browser/ui/tests/elide_url_unittest.cc static const gfx::FontList font_list; gfx 72 chrome/browser/ui/tests/elide_url_unittest.cc gfx::FontList font_list; gfx 187 chrome/browser/ui/tests/elide_url_unittest.cc GetStringWidthF(UTF8ToUTF16(testcases[i].output), gfx::FontList()); gfx 189 chrome/browser/ui/tests/elide_url_unittest.cc GURL(testcases[i].input), gfx::FontList(), available_width)); gfx 194 chrome/browser/ui/tests/elide_url_unittest.cc ElideHost(GURL("http://google.com"), gfx::FontList(), 2)); gfx 196 chrome/browser/ui/tests/elide_url_unittest.cc ElideHost(GURL("http://subdomain.google.com"), gfx::FontList(), 2)); gfx 198 chrome/browser/ui/tests/elide_url_unittest.cc ElideHost(GURL("http://foo.bar"), gfx::FontList(), 2)); gfx 26 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gfx::Image image(gfx::test::CreatePlatformImage()); gfx 47 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gfx::Image image = gfx::Image::CreateFrom1xBitmap( gfx 48 chrome/browser/ui/tests/ui_gfx_image_unittest.cc gfx::test::CreateBitmap(25, 25)); gfx 110 chrome/browser/ui/toolbar/back_forward_menu_model.cc gfx::ElideText(menu_text, gfx::FontList(), kMaxWidth, gfx::ELIDE_AT_END); gfx 141 chrome/browser/ui/toolbar/back_forward_menu_model.cc bool BackForwardMenuModel::GetIconAt(int index, gfx::Image* icon) { gfx 260 chrome/browser/ui/toolbar/back_forward_menu_model.cc gfx::kFaviconSize), gfx 30 chrome/browser/ui/toolbar/back_forward_menu_model.h namespace gfx { gfx 69 chrome/browser/ui/toolbar/back_forward_menu_model.h virtual bool GetIconAt(int index, gfx::Image* icon) OVERRIDE; gfx 530 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc gfx::Image::CreateFrom1xBitmap(new_icon_bitmap)); gfx 534 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc gfx::Image default_icon; gfx 545 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc gfx::Image valid_icon; gfx 316 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc const gfx::FontList* RecentTabsSubMenuModel::GetLabelFontListAt( gfx 597 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc gfx::Image image = gfx::Image::CreateFrom1xPNGBytes(favicon_png); gfx 615 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc gfx::kFaviconSize), gfx 30 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h namespace gfx { gfx 64 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h virtual const gfx::FontList* GetLabelFontListAt(int index) const OVERRIDE; gfx 160 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h gfx::Image default_favicon_; gfx 91 chrome/browser/ui/toolbar/wrench_icon_painter.cc gfx::MultiAnimation::Parts parts; gfx 93 chrome/browser/ui/toolbar/wrench_icon_painter.cc parts.push_back(gfx::MultiAnimation::Part(1300, gfx::Tween::LINEAR)); gfx 95 chrome/browser/ui/toolbar/wrench_icon_painter.cc parts.push_back(gfx::MultiAnimation::Part(1000, gfx::Tween::EASE_IN)); gfx 97 chrome/browser/ui/toolbar/wrench_icon_painter.cc parts.push_back(gfx::MultiAnimation::Part(1300, gfx::Tween::LINEAR)); gfx 100 chrome/browser/ui/toolbar/wrench_icon_painter.cc new gfx::MultiAnimation(parts, base::TimeDelta::FromMilliseconds(40))); gfx 106 chrome/browser/ui/toolbar/wrench_icon_painter.cc void WrenchIconPainter::Paint(gfx::Canvas* canvas, gfx 108 chrome/browser/ui/toolbar/wrench_icon_painter.cc const gfx::Rect& rect, gfx 110 chrome/browser/ui/toolbar/wrench_icon_painter.cc gfx::Point center = rect.CenterPoint(); gfx 114 chrome/browser/ui/toolbar/wrench_icon_painter.cc gfx::ImageSkia* image = theme_provider->GetImageSkiaNamed( gfx 124 chrome/browser/ui/toolbar/wrench_icon_painter.cc gfx::ImageSkia* image = theme_provider->GetImageSkiaNamed(IDR_TOOLS_BAR); gfx 136 chrome/browser/ui/toolbar/wrench_icon_painter.cc gfx::ImageSkia* image = gfx 170 chrome/browser/ui/toolbar/wrench_icon_painter.cc void WrenchIconPainter::AnimationProgressed(const gfx::Animation* animation) { gfx 16 chrome/browser/ui/toolbar/wrench_icon_painter.h namespace gfx { gfx 27 chrome/browser/ui/toolbar/wrench_icon_painter.h class WrenchIconPainter : gfx::AnimationDelegate { gfx 68 chrome/browser/ui/toolbar/wrench_icon_painter.h void set_badge(const gfx::ImageSkia& badge) { badge_ = badge; } gfx 70 chrome/browser/ui/toolbar/wrench_icon_painter.h void Paint(gfx::Canvas* canvas, gfx 72 chrome/browser/ui/toolbar/wrench_icon_painter.h const gfx::Rect& rect, gfx 79 chrome/browser/ui/toolbar/wrench_icon_painter.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 86 chrome/browser/ui/toolbar/wrench_icon_painter.h gfx::ImageSkia badge_; gfx 87 chrome/browser/ui/toolbar/wrench_icon_painter.h scoped_ptr<gfx::MultiAnimation> animation_; gfx 39 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc gfx::Rect rect(0, 0, 29, 29); gfx 40 chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc gfx::Canvas canvas(rect.size(), 1.0f, true); gfx 322 chrome/browser/ui/toolbar/wrench_menu_model.cc gfx::Image* icon) const { gfx 715 chrome/browser/ui/toolbar/wrench_menu_model.cc const gfx::Image& image = rb.GetNativeImageNamed(icon_id); gfx 105 chrome/browser/ui/toolbar/wrench_menu_model.h gfx::Image* icon) const OVERRIDE; gfx 15 chrome/browser/ui/validation_message_bubble.h namespace gfx { gfx 27 chrome/browser/ui/validation_message_bubble.h const gfx::Rect& anchor_in_root_view, gfx 39 chrome/browser/ui/validation_message_bubble.h const gfx::Rect& anchor_in_root_view) = 0; gfx 140 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc gfx::NativeView context = NULL; gfx 147 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc gfx::Rect(0, 0, 500, 500)); gfx 73 chrome/browser/ui/views/accessibility/invert_bubble_view.cc const gfx::FontList& original_font_list = gfx 77 chrome/browser/ui/views/accessibility/invert_bubble_view.cc base::string16(), original_font_list.Derive(2, gfx::Font::BOLD)); gfx 117 chrome/browser/ui/views/accessibility/invert_bubble_view.cc const gfx::Size size(GetPreferredSize()); gfx 161 chrome/browser/ui/views/accessibility/invert_bubble_view.cc if (gfx::IsInvertedColorScheme() && anchor && anchor->GetWidget() && gfx 31 chrome/browser/ui/views/app_list/linux/app_list_linux.cc gfx::Point AppListLinux::FindAnchorPoint(const gfx::Size& view_size, gfx 32 chrome/browser/ui/views/app_list/linux/app_list_linux.cc const gfx::Display& display, gfx 33 chrome/browser/ui/views/app_list/linux/app_list_linux.cc const gfx::Point& cursor, gfx 41 chrome/browser/ui/views/app_list/linux/app_list_linux.cc gfx::Point anchor; gfx 75 chrome/browser/ui/views/app_list/linux/app_list_linux.cc gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 76 chrome/browser/ui/views/app_list/linux/app_list_linux.cc gfx::Screen* screen = gfx 77 chrome/browser/ui/views/app_list/linux/app_list_linux.cc gfx::Screen::GetScreenFor(view_->GetWidget()->GetNativeView()); gfx 78 chrome/browser/ui/views/app_list/linux/app_list_linux.cc gfx::Display display = screen->GetDisplayNearestPoint(cursor); gfx 102 chrome/browser/ui/views/app_list/linux/app_list_linux.cc gfx::NativeWindow AppListLinux::GetWindow() { gfx 17 chrome/browser/ui/views/app_list/linux/app_list_linux.h namespace gfx { gfx 38 chrome/browser/ui/views/app_list/linux/app_list_linux.h static gfx::Point FindAnchorPoint(const gfx::Size& view_size, gfx 39 chrome/browser/ui/views/app_list/linux/app_list_linux.h const gfx::Display& display, gfx 40 chrome/browser/ui/views/app_list/linux/app_list_linux.h const gfx::Point& cursor, gfx 50 chrome/browser/ui/views/app_list/linux/app_list_linux.h virtual gfx::NativeWindow GetWindow() OVERRIDE; gfx 51 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc display_.set_bounds(gfx::Rect(0, 0, kScreenWidth, kScreenHeight)); gfx 53 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc gfx::Rect(0, kMenuBarSize, kScreenWidth, kScreenHeight - kMenuBarSize)); gfx 54 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc cursor_ = gfx::Point(); gfx 60 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc display_.set_work_area(gfx::Rect(x, y, width, height)); gfx 69 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc display_.set_work_area(gfx::Rect(kShelfSize, gfx 75 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc display_.set_work_area(gfx::Rect(0, gfx 82 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc gfx::Rect(0, gfx 89 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc gfx::Rect(0, gfx 102 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc cursor_ = gfx::Point(x, y); gfx 105 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc gfx::Point DoFindAnchorPoint() const { gfx 106 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc return AppListLinux::FindAnchorPoint(gfx::Size(kWindowWidth, kWindowHeight), gfx 113 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc gfx::Display display_; gfx 114 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc gfx::Point cursor_; gfx 122 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2, kMenuBarSize + kWindowHeight / 2), gfx 132 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2, gfx 139 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2, gfx 146 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kShelfSize + kWindowWidth / 2, gfx 153 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth - kShelfSize - kWindowWidth / 2, gfx 165 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kWindowAwayFromEdge, gfx 173 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kWindowAwayFromEdge, gfx 181 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kWindowAwayFromEdge, gfx 189 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kShelfSize + kWindowWidth / 2, kWindowAwayFromEdge), gfx 196 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth - kShelfSize - kWindowWidth / 2, gfx 203 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2, gfx 210 chrome/browser/ui/views/app_list/linux/app_list_linux_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth - kWindowWidth / 2, gfx 42 chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 117 chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc gfx::NativeWindow AppListServiceLinux::GetAppListWindow() { gfx 31 chrome/browser/ui/views/app_list/linux/app_list_service_linux.h virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; gfx 32 chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc gfx::ImageSkia AppListControllerDelegateWin::GetWindowIcon() { gfx 33 chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc gfx::ImageSkia* resource = ResourceBundle::GetSharedInstance(). gfx 29 chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 307 chrome/browser/ui/views/app_list/win/app_list_service_win.cc gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 350 chrome/browser/ui/views/app_list/win/app_list_service_win.cc gfx::NativeWindow AppListServiceWin::GetAppListWindow() { gfx 36 chrome/browser/ui/views/app_list/win/app_list_service_win.h virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; gfx 32 chrome/browser/ui/views/app_list/win/app_list_win.cc bool GetTaskbarRect(gfx::Rect* rect) { gfx 41 chrome/browser/ui/views/app_list/win/app_list_win.cc *rect = gfx::Rect(win_rect); gfx 55 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::Point AppListWin::FindAnchorPoint(const gfx::Size& view_size, gfx 56 chrome/browser/ui/views/app_list/win/app_list_win.cc const gfx::Display& display, gfx 57 chrome/browser/ui/views/app_list/win/app_list_win.cc const gfx::Point& cursor, gfx 58 chrome/browser/ui/views/app_list/win/app_list_win.cc const gfx::Rect& taskbar_rect) { gfx 75 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::Point anchor; gfx 103 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::Point cursor = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 104 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::Screen* screen = gfx 105 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::Screen::GetScreenFor(view_->GetWidget()->GetNativeView()); gfx 106 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::Display display = screen->GetDisplayNearestPoint(cursor); gfx 109 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::Rect taskbar_rect; gfx 127 chrome/browser/ui/views/app_list/win/app_list_win.cc gfx::NativeWindow AppListWin::GetWindow() { gfx 13 chrome/browser/ui/views/app_list/win/app_list_win.h namespace gfx { gfx 33 chrome/browser/ui/views/app_list/win/app_list_win.h static gfx::Point FindAnchorPoint(const gfx::Size& view_size, gfx 34 chrome/browser/ui/views/app_list/win/app_list_win.h const gfx::Display& display, gfx 35 chrome/browser/ui/views/app_list/win/app_list_win.h const gfx::Point& cursor, gfx 36 chrome/browser/ui/views/app_list/win/app_list_win.h const gfx::Rect& taskbar_rect); gfx 45 chrome/browser/ui/views/app_list/win/app_list_win.h virtual gfx::NativeWindow GetWindow() OVERRIDE; gfx 53 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc display_.set_bounds(gfx::Rect(0, 0, kScreenWidth, kScreenHeight)); gfx 54 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc display_.set_work_area(gfx::Rect(0, 0, kScreenWidth, kScreenHeight)); gfx 55 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc cursor_ = gfx::Point(); gfx 56 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc taskbar_rect_ = gfx::Rect(); gfx 61 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc display_.set_work_area(gfx::Rect(x, y, width, height)); gfx 67 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc const gfx::Rect& work_area = display_.work_area(); gfx 70 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc taskbar_rect_ = gfx::Rect(); gfx 73 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc taskbar_rect_ = gfx::Rect( gfx 78 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Rect(work_area.x() + work_area.width() - kTaskbarSize, gfx 84 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc taskbar_rect_ = gfx::Rect( gfx 89 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Rect(work_area.x(), gfx 99 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc cursor_ = gfx::Point(x, y); gfx 102 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Point DoFindAnchorPoint() const { gfx 103 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc return AppListWin::FindAnchorPoint(gfx::Size(kWindowWidth, kWindowHeight), gfx 110 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Display display_; gfx 111 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Point cursor_; gfx 112 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Rect taskbar_rect_; gfx 120 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 131 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 139 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 146 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kTaskbarSize + kWindowWidth / 2 + kMinDistanceFromEdge, gfx 153 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth - kTaskbarSize - kWindowWidth / 2 - gfx 166 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kWindowAwayFromEdge, gfx 175 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kWindowAwayFromEdge, gfx 184 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kWindowAwayFromEdge, gfx 192 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kTaskbarSize + kWindowWidth / 2 + kMinDistanceFromEdge, gfx 200 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth - kTaskbarSize - kWindowWidth / 2 - gfx 208 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kWindowWidth / 2 + kMinDistanceFromEdge, gfx 216 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc EXPECT_EQ(gfx::Point(kScreenWidth - kWindowWidth / 2 - kMinDistanceFromEdge, gfx 231 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Point(kWin8SplitPoint + kWindowWidth / 2 + kMinDistanceFromEdge, gfx 240 chrome/browser/ui/views/app_list/win/app_list_win_unittest.cc gfx::Point(kWin8SplitPoint + kWindowWidth / 2 + kMinDistanceFromEdge, gfx 19 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc void ShowAppInfoDialog(gfx::NativeWindow parent_window, gfx 28 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc AppInfoDialog::AppInfoDialog(gfx::NativeWindow parent_window, gfx 61 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc gfx::Size AppInfoDialog::GetPreferredSize() { gfx 67 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc return gfx::Size(kDialogWidth, kDialogHeight); gfx 23 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h AppInfoDialog(gfx::NativeWindow parent_window, gfx 32 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 44 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.h gfx::NativeWindow parent_window_; gfx 7 chrome/browser/ui/views/apps/app_info_dialog/app_info_manage_tab.cc AppInfoManageTab::AppInfoManageTab(gfx::NativeWindow parent_window, gfx 21 chrome/browser/ui/views/apps/app_info_dialog/app_info_manage_tab.h AppInfoManageTab(gfx::NativeWindow parent_window, gfx 75 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc permission_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 93 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc gfx::NativeWindow parent_window, gfx 115 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc required_permissions_heading->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 21 chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.h AppInfoPermissionsTab(gfx::NativeWindow parent_window, gfx 138 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc AppInfoSummaryTab::AppInfoSummaryTab(gfx::NativeWindow parent_window, gfx 154 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc app_name_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 157 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc app_icon_->SetImageSize(gfx::Size(kIconSize, kIconSize)); gfx 210 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc app_version_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 219 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc view_in_store_link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 241 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc app_description_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 337 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc static_cast<int>(kIconSize * gfx::ImageSkia::GetMaxSupportedScale()); gfx 341 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc gfx::Size(pixel_size, pixel_size), gfx 345 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc void AppInfoSummaryTab::OnAppImageLoaded(const gfx::Image& image) { gfx 349 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc .GetRepresentation(gfx::ImageSkia::GetMaxSupportedScale()) gfx 355 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc app_icon_->SetImage(gfx::ImageSkia::CreateFrom1xBitmap(*bitmap)); gfx 22 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h namespace gfx { gfx 45 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h AppInfoSummaryTab(gfx::NativeWindow parent_window, gfx 70 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.h void OnAppImageLoaded(const gfx::Image& image); gfx 7 chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.cc AppInfoTab::AppInfoTab(gfx::NativeWindow parent_window, gfx 25 chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.h AppInfoTab(gfx::NativeWindow parent_window, gfx 33 chrome/browser/ui/views/apps/app_info_dialog/app_info_tab.h gfx::NativeWindow parent_window_; gfx 236 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Insets frame_insets = GetFrameInsets(); gfx 237 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Rect window_bounds = create_params.GetInitialWindowBounds(frame_insets); gfx 284 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Rect initial_window_bounds = gfx 285 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc create_params.GetInitialWindowBounds(gfx::Insets()); gfx 286 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc preferred_size_ = gfx::Size(initial_window_bounds.width(), gfx 302 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc target, gfx::Rect(preferred_size_)); gfx 304 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc params.bounds = gfx::Rect(preferred_size_); gfx 307 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc params.bounds = gfx::Rect(preferred_size_); gfx 317 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Rect window_bounds(initial_window_bounds.x(), gfx 336 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Insets inset(kResizeInsideBoundsSize, kResizeInsideBoundsSize, gfx 428 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc const gfx::Point& p, gfx 437 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Point point_in_view_coords(p); gfx 445 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Rect(p, gfx::Size(0,0)), views::MenuItemView::TOPLEFT, gfx 456 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::ImageSkia ChromeNativeAppWindowViews::GetWindowAppIcon() { gfx 457 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Image app_icon = app_window()->app_icon(); gfx 464 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::ImageSkia ChromeNativeAppWindowViews::GetWindowIcon() { gfx 469 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Image app_icon = favicon_tab_helper->GetFavicon(); gfx 473 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc return gfx::ImageSkia(); gfx 525 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc void ChromeNativeAppWindowViews::GetWidgetHitTestMask(gfx::Path* mask) const { gfx 531 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc gfx::Size ChromeNativeAppWindowViews::GetPreferredSize() { gfx 615 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc const gfx::Image* icon = NULL; gfx 61 chrome/browser/ui/views/apps/chrome_native_app_window_views.h const gfx::Point& p, gfx 65 chrome/browser/ui/views/apps/chrome_native_app_window_views.h virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; gfx 66 chrome/browser/ui/views/apps/chrome_native_app_window_views.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 70 chrome/browser/ui/views/apps/chrome_native_app_window_views.h virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 73 chrome/browser/ui/views/apps/chrome_native_app_window_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 99 chrome/browser/ui/views/apps/chrome_native_app_window_views.h gfx::Size preferred_size_; gfx 19 chrome/browser/ui/views/apps/shaped_app_window_targeter.cc gfx::Path* mask) const { gfx 21 chrome/browser/ui/views/apps/shaped_app_window_targeter.h gfx::Path* mask) const OVERRIDE; gfx 33 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc params.bounds = gfx::Rect(30, 30, 100, 100); gfx 63 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(40, 40), gfx::Point(40, 40), gfx 79 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(40, 40), gfx::Point(40, 40), gfx 88 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(80, 80), gfx::Point(80, 80), gfx 100 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Insets inset(-30, -30, -30, -30); gfx 109 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(40, 40), gfx::Point(40, 40), gfx 121 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(10, 10), gfx::Point(10, 10), gfx 137 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(10, 10), gfx::Point(10, 10), gfx 150 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(10, 10), gfx::Point(10, 10), gfx 167 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(80, 80), gfx::Point(80, 80), gfx 179 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(32, 37), gfx::Point(32, 37), gfx 194 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(80, 80), gfx::Point(80, 80), gfx 206 chrome/browser/ui/views/apps/shaped_app_window_targeter_unittest.cc gfx::Point(32, 37), gfx::Point(32, 37), gfx 34 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc class ScreenTypeDelegateWin : public gfx::ScreenTypeDelegate { gfx 37 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc virtual gfx::ScreenType GetScreenTypeForNativeView( gfx 38 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc gfx::NativeView view) OVERRIDE { gfx 40 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc gfx::SCREEN_TYPE_ALTERNATE : gfx 41 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc gfx::SCREEN_TYPE_NATIVE; gfx 50 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc virtual bool IsWindowInMetro(gfx::NativeWindow window) OVERRIDE { gfx 72 chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc gfx::Screen::SetScreenTypeDelegate(new ScreenTypeDelegateWin); gfx 39 chrome/browser/ui/views/ash/tab_scrubber.cc gfx::Point TabScrubber::GetStartPoint( gfx 44 chrome/browser/ui/views/ash/tab_scrubber.cc gfx::Rect tab_bounds = tab_strip->tab_at(index)->bounds(); gfx 48 chrome/browser/ui/views/ash/tab_scrubber.cc return gfx::Point(x, tab_bounds.CenterPoint().y()); gfx 116 chrome/browser/ui/views/ash/tab_scrubber.cc const gfx::Point start_point = gfx 135 chrome/browser/ui/views/ash/tab_scrubber.cc const gfx::Point start_point = gfx 156 chrome/browser/ui/views/ash/tab_scrubber.cc gfx::Point tab_point(swipe_x_, swipe_y_); gfx 194 chrome/browser/ui/views/ash/tab_scrubber.cc gfx::Point hover_point(swipe_x_, swipe_y_); gfx 18 chrome/browser/ui/views/ash/tab_scrubber.h namespace gfx { gfx 37 chrome/browser/ui/views/ash/tab_scrubber.h static gfx::Point GetStartPoint(TabStrip* tab_strip, gfx 90 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc gfx::Point(0, 0), gfx 128 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc std::vector<gfx::Point> offsets; gfx 132 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc offsets.push_back(gfx::Point(tab_center - last, 0)); gfx 135 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc offsets.push_back(gfx::Point(increment, 0)); gfx 139 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc event_generator.ScrollSequence(gfx::Point(0, 0), gfx 159 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc event_generator.ScrollSequence(gfx::Point(0, 0), gfx 14 chrome/browser/ui/views/auto_keep_alive.cc AutoKeepAlive::AutoKeepAlive(gfx::NativeWindow window) gfx 20 chrome/browser/ui/views/auto_keep_alive.cc gfx::NativeWindow native_window = window->GetRootWindow(); gfx 13 chrome/browser/ui/views/auto_keep_alive.h explicit AutoKeepAlive(gfx::NativeWindow window); gfx 79 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc view_->InputEditedOrActivated(type, gfx::Rect(), false); gfx 82 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc gfx::Size AutofillDialogViewTesterViews::GetSize() const { gfx 84 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc gfx::Size(); gfx 30 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h virtual gfx::Size GetSize() const OVERRIDE; gfx 127 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void DrawArrow(gfx::Canvas* canvas, gfx 167 chrome/browser/ui/views/autofill/autofill_dialog_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 175 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size size = child_at(i)->GetPreferredSize(); gfx 181 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Insets insets = GetInsets(); gfx 182 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), height + insets.height()); gfx 186 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Rect bounds = GetContentsBounds(); gfx 255 chrome/browser/ui/views/autofill/autofill_dialog_views.cc checkbox->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 273 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label->AddStyleRange(gfx::Range(0, data.display_text().size()), gfx 276 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Range prefix_range(0, data.link_range().start()); gfx 284 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Range suffix_range(data.link_range().end(), gfx 311 chrome/browser/ui/views/autofill/autofill_dialog_views.cc virtual gfx::Insets GetInsets() const OVERRIDE { gfx 315 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Insets(vertical_padding, kDialogEdgePadding, gfx 332 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect bounds = GetLocalBounds(); gfx 340 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size icon_size = tooltip_icon->GetPreferredSize(); gfx 361 chrome/browser/ui/views/autofill/autofill_dialog_views.cc virtual void StyledLabelLinkClicked(const gfx::Range& range, int event_flags) gfx 381 chrome/browser/ui/views/autofill/autofill_dialog_views.cc public gfx::AnimationDelegate { gfx 389 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::FontList& font_list = gfx 417 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size container_size = container_->GetPreferredSize(); gfx 418 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect container_bounds((width() - container_size.width()) / 2, gfx 437 chrome/browser/ui/views/autofill/autofill_dialog_views.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 478 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Insets insets = GetInsets(); gfx 493 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Image icon = delegate_->AccountChooserImage(); gfx 511 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Point& point) { gfx 604 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Insets AutofillDialogViews::OverlayView::GetInsets() const { gfx 605 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Insets(12, 12, 12, 12); gfx 609 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect bounds = ContentBoundsSansBubbleBorder(); gfx 619 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size image_size = image_view_->GetPreferredSize(); gfx 628 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::OverlayView::OnPaint(gfx::Canvas* canvas) { gfx 631 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect rect = ContentBoundsSansBubbleBorder(); gfx 634 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Path window_mask; gfx 635 chrome/browser/ui/views/autofill/autofill_dialog_views.cc window_mask.addRoundRect(gfx::RectToSkRect(rect), gfx 698 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect AutofillDialogViews::OverlayView::ContentBoundsSansBubbleBorder() { gfx 699 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect bounds = GetContentsBounds(); gfx 743 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::NotificationArea::GetPreferredSize() { gfx 744 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size size = views::View::GetPreferredSize(); gfx 755 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Canvas* canvas) {} gfx 757 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::NotificationArea::OnPaint(gfx::Canvas* canvas) { gfx 777 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Rect& new_bounds) { gfx 809 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_view->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 912 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Rect& rect) { gfx 941 chrome/browser/ui/views/autofill/autofill_dialog_views.cc event_copy.set_location(gfx::Point()); gfx 961 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Insets insets = GetInsets(); gfx 962 chrome/browser/ui/views/autofill/autofill_dialog_views.cc insets += gfx::Insets(-kFocusBorderWidth, -kFocusBorderWidth, gfx 971 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::SuggestedButton::GetPreferredSize() { gfx 973 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size size = rb.GetImageNamed(ResourceIDForState()).Size(); gfx 974 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Insets insets = GetInsets(); gfx 983 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::SuggestedButton::PaintChildren(gfx::Canvas* canvas) {} gfx 985 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::SuggestedButton::OnPaint(gfx::Canvas* canvas) { gfx 987 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Insets insets = GetInsets(); gfx 1015 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Rect& previous_bounds) { gfx 1044 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1052 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_line_2_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1063 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::SuggestionView::GetPreferredSize() { gfx 1066 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(); gfx 1087 chrome/browser/ui/views/autofill/autofill_dialog_views.cc sizing_view.label_->SetSize(gfx::Size(available_width, 0)); gfx 1088 chrome/browser/ui/views/autofill/autofill_dialog_views.cc sizing_view.label_line_2_->SetSize(gfx::Size(available_width, 0)); gfx 1111 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Rect& previous_bounds) { gfx 1142 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Image& image) { gfx 1149 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Image& icon) { gfx 1281 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const std::vector<gfx::Range>& link_ranges = gfx 1381 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Point& screen_point) { gfx 1387 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Point target_point(screen_point); gfx 1415 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size(min_width, min_height), GetMaximumSignInViewSize())); gfx 1448 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::OnSignInResize(const gfx::Size& pref_size) { gfx 1457 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::GetPreferredSize() { gfx 1464 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::GetMinimumSize() { gfx 1469 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Rect content_bounds = GetContentsBounds(); gfx 1702 chrome/browser/ui/views/autofill/autofill_dialog_views.cc InputEditedOrActivated(TypeForCombobox(combobox), gfx::Rect(), true); gfx 1708 chrome/browser/ui/views/autofill/autofill_dialog_views.cc void AutofillDialogViews::StyledLabelLinkClicked(const gfx::Range& range, gfx 1714 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Point& point) { gfx 1737 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Rect screen_bounds = source->GetBoundsInScreen(); gfx 1752 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::CalculatePreferredSize(bool get_minimum_size) { gfx 1753 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Insets insets = GetInsets(); gfx 1754 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size scroll_size = scrollable_area_->contents()->GetPreferredSize(); gfx 1759 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Size size = static_cast<views::View*>(sign_in_web_view_)-> gfx 1761 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), size.height() + insets.height()); gfx 1767 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), height + insets.height()); gfx 1771 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), gfx 1783 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width + insets.width(), height + insets.height()); gfx 1786 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::GetMinimumSignInViewSize() const { gfx 1787 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(GetDialogClientView()->size().width() - GetInsets().width(), gfx 1791 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size AutofillDialogViews::GetMaximumSignInViewSize() const { gfx 1807 chrome/browser/ui/views/autofill/autofill_dialog_views.cc return gfx::Size(width, height); gfx 2245 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const gfx::Rect& bounds, gfx 2299 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Image image = delegate_->ButtonStripImage(); gfx 2310 chrome/browser/ui/views/autofill/autofill_dialog_views.cc preferred_size_ = gfx::Size(); gfx 30 chrome/browser/ui/views/autofill/autofill_dialog_views.h namespace gfx { gfx 93 chrome/browser/ui/views/autofill/autofill_dialog_views.h const gfx::Point& screen_point) OVERRIDE; gfx 98 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE; gfx 102 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 103 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 128 chrome/browser/ui/views/autofill/autofill_dialog_views.h const gfx::Rect& new_bounds) OVERRIDE; gfx 148 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void StyledLabelLinkClicked(const gfx::Range& range, int event_flags) gfx 153 chrome/browser/ui/views/autofill/autofill_dialog_views.h const gfx::Point& point) OVERRIDE; gfx 191 chrome/browser/ui/views/autofill/autofill_dialog_views.h const gfx::Point& point) OVERRIDE; gfx 228 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 231 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 239 chrome/browser/ui/views/autofill/autofill_dialog_views.h gfx::Rect ContentBoundsSansBubbleBorder(); gfx 262 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 264 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 265 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 317 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; gfx 342 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 344 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 345 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 366 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 388 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 390 chrome/browser/ui/views/autofill/autofill_dialog_views.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 407 chrome/browser/ui/views/autofill/autofill_dialog_views.h void SetIcon(const gfx::Image& image); gfx 412 chrome/browser/ui/views/autofill/autofill_dialog_views.h const gfx::Image& icon); gfx 464 chrome/browser/ui/views/autofill/autofill_dialog_views.h gfx::Size CalculatePreferredSize(bool get_minimum_size); gfx 467 chrome/browser/ui/views/autofill/autofill_dialog_views.h gfx::Size GetMinimumSignInViewSize() const; gfx 470 chrome/browser/ui/views/autofill/autofill_dialog_views.h gfx::Size GetMaximumSignInViewSize() const; gfx 556 chrome/browser/ui/views/autofill/autofill_dialog_views.h const gfx::Rect& bounds, gfx 593 chrome/browser/ui/views/autofill/autofill_dialog_views.h gfx::Size preferred_size_; gfx 119 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc const gfx::Rect& new_bounds) { gfx 166 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc gfx::Point screen_loc = event.location(); gfx 173 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc gfx::NativeView native_view = GetWidget()->GetNativeView(); gfx 174 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(native_view); gfx 175 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc gfx::NativeWindow window = screen->GetWindowAtScreenPoint(screen_loc); gfx 241 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc void AutofillPopupBaseView::SetSelection(const gfx::Point& point) { gfx 246 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc void AutofillPopupBaseView::AcceptSelection(const gfx::Point& point) { gfx 277 chrome/browser/ui/views/autofill/autofill_popup_base_view.cc gfx::NativeView AutofillPopupBaseView::container_view() { gfx 17 chrome/browser/ui/views/autofill/autofill_popup_base_view.h namespace gfx { gfx 63 chrome/browser/ui/views/autofill/autofill_popup_base_view.h const gfx::Rect& new_bounds) OVERRIDE; gfx 68 chrome/browser/ui/views/autofill/autofill_popup_base_view.h void SetSelection(const gfx::Point& point); gfx 69 chrome/browser/ui/views/autofill/autofill_popup_base_view.h void AcceptSelection(const gfx::Point& point); gfx 83 chrome/browser/ui/views/autofill/autofill_popup_base_view.h gfx::NativeView container_view(); gfx 28 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc MOCK_METHOD1(SetSelectionAtPoint, void(const gfx::Point&)); gfx 34 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc MOCK_CONST_METHOD0(popup_bounds, gfx::Rect&()); gfx 35 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc MOCK_METHOD0(container_view, gfx::NativeView()); gfx 46 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); gfx 62 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc ui::GestureEvent CreateGestureEvent(ui::EventType type, gfx::Point point) { gfx 82 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc gfx::Rect bounds(0, 0, 5, 5); gfx 83 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc gfx::Point point = bounds.CenterPoint(); gfx 108 chrome/browser/ui/views/autofill/autofill_popup_base_view_browsertest.cc gfx::Point(100, 100)); gfx 45 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc void AutofillPopupViewViews::OnPaint(gfx::Canvas* canvas) { gfx 53 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::Rect line_rect = controller_->GetRowBounds(i); gfx 67 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc void AutofillPopupViewViews::DrawAutofillEntry(gfx::Canvas* canvas, gfx 69 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc const gfx::Rect& entry_rect) { gfx 75 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::GetStringWidth(controller_->names()[index], gfx 84 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::Rect(value_content_x, gfx 88 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::Canvas::TEXT_ALIGN_CENTER); gfx 99 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc const gfx::ImageSkia* image = rb.GetImageSkiaNamed(icon); gfx 111 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::GetStringWidth(controller_->subtexts()[index], gfx 120 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::Rect(x_align_left, gfx 124 chrome/browser/ui/views/autofill/autofill_popup_view_views.cc gfx::Canvas::TEXT_ALIGN_CENTER); gfx 35 chrome/browser/ui/views/autofill/autofill_popup_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 38 chrome/browser/ui/views/autofill/autofill_popup_view_views.h void DrawAutofillEntry(gfx::Canvas* canvas, gfx 40 chrome/browser/ui/views/autofill/autofill_popup_view_views.h const gfx::Rect& entry_rect); gfx 63 chrome/browser/ui/views/autofill/decorated_textfield.cc void DecoratedTextfield::SetIcon(const gfx::Image& icon) { gfx 103 chrome/browser/ui/views/autofill/decorated_textfield.cc views::View* DecoratedTextfield::GetEventHandlerForRect(const gfx::Rect& rect) { gfx 110 chrome/browser/ui/views/autofill/decorated_textfield.cc gfx::Size DecoratedTextfield::GetPreferredSize() { gfx 113 chrome/browser/ui/views/autofill/decorated_textfield.cc const gfx::Size size = views::Textfield::GetPreferredSize(); gfx 114 chrome/browser/ui/views/autofill/decorated_textfield.cc return gfx::Size(size.width(), std::max(size.height(), height)); gfx 121 chrome/browser/ui/views/autofill/decorated_textfield.cc gfx::Rect bounds = GetContentsBounds(); gfx 122 chrome/browser/ui/views/autofill/decorated_textfield.cc gfx::Size icon_size = icon_view_->GetPreferredSize(); gfx 128 chrome/browser/ui/views/autofill/decorated_textfield.cc gfx::Rect icon_bounds(x, y, icon_size.width(), icon_size.height()); gfx 40 chrome/browser/ui/views/autofill/decorated_textfield.h void SetIcon(const gfx::Image& icon); gfx 51 chrome/browser/ui/views/autofill/decorated_textfield.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 53 chrome/browser/ui/views/autofill/decorated_textfield.h virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; gfx 95 chrome/browser/ui/views/autofill/expanding_textfield.cc void ExpandingTextfield::SetIcon(const gfx::Image& icon) { gfx 15 chrome/browser/ui/views/autofill/expanding_textfield.h namespace gfx { gfx 58 chrome/browser/ui/views/autofill/expanding_textfield.h void SetIcon(const gfx::Image& icon); gfx 52 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc gfx::Size GeneratedCreditCardBubbleViews::GetPreferredSize() { gfx 53 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc return gfx::Size( gfx 76 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc style.font_style = gfx::Font::BOLD; gfx 84 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc void GeneratedCreditCardBubbleViews::StyledLabelLinkClicked(const gfx::Range& r, gfx 103 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc gfx::Insets insets = views::BubbleFrameView::GetTitleInsets(); gfx 104 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left())); gfx 34 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 39 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h virtual void StyledLabelLinkClicked(const gfx::Range& range, int event_flags) gfx 35 chrome/browser/ui/views/autofill/info_bubble.cc explicit InfoBubbleFrame(const gfx::Insets& content_margins) gfx 39 chrome/browser/ui/views/autofill/info_bubble.cc virtual gfx::Rect GetAvailableScreenBounds(const gfx::Rect& rect) OVERRIDE { gfx 43 chrome/browser/ui/views/autofill/info_bubble.cc void set_available_bounds(const gfx::Rect& available_bounds) { gfx 49 chrome/browser/ui/views/autofill/info_bubble.cc gfx::Rect available_bounds_; gfx 64 chrome/browser/ui/views/autofill/info_bubble.cc set_margins(gfx::Insets(kInfoBubbleVerticalMargin, gfx 72 chrome/browser/ui/views/autofill/info_bubble.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 130 chrome/browser/ui/views/autofill/info_bubble.cc gfx::Size InfoBubble::GetPreferredSize() { gfx 134 chrome/browser/ui/views/autofill/info_bubble.cc return gfx::Size(pref_width, GetHeightForWidth(pref_width)); gfx 143 chrome/browser/ui/views/autofill/info_bubble.cc const gfx::Rect& new_bounds) { gfx 36 chrome/browser/ui/views/autofill/info_bubble.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 39 chrome/browser/ui/views/autofill/info_bubble.h const gfx::Rect& new_bounds) OVERRIDE; gfx 66 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc gfx::Size NewCreditCardBubbleViews::GetPreferredSize() { gfx 67 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc return gfx::Size( gfx 90 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc card_name->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 95 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc desc->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 102 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc link->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 107 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc gfx::Rect NewCreditCardBubbleViews::GetBubbleBounds() { gfx 108 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc gfx::Rect bounds = views::BubbleDelegateView::GetBubbleBounds(); gfx 118 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc gfx::Rect web_contents_bounds = contents_view->GetBoundsInScreen(); gfx 119 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc gfx::Insets border_insets(GetBubbleFrameView()->bubble_border()->GetInsets()); gfx 133 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc return gfx::Rect(gfx::Point(x, y), gfx::Size(width, height)); gfx 157 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc gfx::Insets insets = views::BubbleFrameView::GetTitleInsets(); gfx 158 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left())); gfx 32 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 35 chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h virtual gfx::Rect GetBubbleBounds() OVERRIDE; gfx 35 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc const gfx::FontList& font_list, gfx 37 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc set_clip_insets(gfx::Insets( gfx 46 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc password_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 50 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc suggestion_label_->SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 56 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE { gfx 156 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc void PasswordGenerationPopupViewViews::OnPaint(gfx::Canvas* canvas) { gfx 170 chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc const gfx::Range& range, int event_flags) { gfx 43 chrome/browser/ui/views/autofill/password_generation_popup_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 46 chrome/browser/ui/views/autofill/password_generation_popup_view_views.h virtual void StyledLabelLinkClicked(const gfx::Range& range, gfx 21 chrome/browser/ui/views/autofill/tooltip_icon.cc gfx::Insets GetPreferredInsets(views::View* view) { gfx 22 chrome/browser/ui/views/autofill/tooltip_icon.cc gfx::Size pref_size = view->GetPreferredSize(); gfx 23 chrome/browser/ui/views/autofill/tooltip_icon.cc gfx::Rect local_bounds = view->GetLocalBounds(); gfx 24 chrome/browser/ui/views/autofill/tooltip_icon.cc gfx::Point origin = local_bounds.CenterPoint(); gfx 26 chrome/browser/ui/views/autofill/tooltip_icon.cc return gfx::Insets(origin.y(), gfx 41 chrome/browser/ui/views/autofill/tooltip_icon.cc virtual gfx::Rect GetAnchorRect() OVERRIDE { gfx 42 chrome/browser/ui/views/autofill/tooltip_icon.cc gfx::Rect bounds = views::BubbleDelegateView::GetAnchorRect(); gfx 125 chrome/browser/ui/views/autofill/tooltip_icon.cc new views::MouseWatcherViewHost(frame, gfx::Insets())); gfx 26 chrome/browser/ui/views/avatar_label.cc virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; gfx 27 chrome/browser/ui/views/avatar_label.cc virtual gfx::Insets GetInsets() const OVERRIDE; gfx 28 chrome/browser/ui/views/avatar_label.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 32 chrome/browser/ui/views/avatar_label.cc gfx::Insets insets_; gfx 44 chrome/browser/ui/views/avatar_label.cc const int difference = std::max<int>(0, 13 - gfx::FontList().GetFontSize()); gfx 47 chrome/browser/ui/views/avatar_label.cc insets_ = gfx::Insets(kVerticalInsetTop + addToTop, gfx 55 chrome/browser/ui/views/avatar_label.cc void AvatarLabelBorder::Paint(const views::View& view, gfx::Canvas* canvas) { gfx 62 chrome/browser/ui/views/avatar_label.cc gfx::Rect rect(1, 1, view.size().width() - 2, view.size().height() - 2); gfx 77 chrome/browser/ui/views/avatar_label.cc rect = gfx::Rect(2, 2, view.size().width() - 4, view.size().height() - 4); gfx 81 chrome/browser/ui/views/avatar_label.cc gfx::Insets AvatarLabelBorder::GetInsets() const { gfx 85 chrome/browser/ui/views/avatar_label.cc gfx::Size AvatarLabelBorder::GetMinimumSize() const { gfx 86 chrome/browser/ui/views/avatar_label.cc gfx::Size size(4, 4); gfx 60 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Rect GetCenteredAndScaledRect(int src_width, int src_height, gfx 78 chrome/browser/ui/views/avatar_menu_bubble_view.cc return gfx::Rect(x, y, scaled_width, scaled_height); gfx 82 chrome/browser/ui/views/avatar_menu_bubble_view.cc class BadgeImageSource: public gfx::CanvasImageSource { gfx 84 chrome/browser/ui/views/avatar_menu_bubble_view.cc BadgeImageSource(const gfx::ImageSkia& icon, gfx 85 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::Size& icon_size, gfx 86 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia& badge); gfx 91 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE; gfx 94 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size ComputeSize(const gfx::ImageSkia& icon, gfx 95 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::Size& size, gfx 96 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia& badge); gfx 98 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia icon_; gfx 99 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size icon_size_; gfx 100 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia badge_; gfx 105 chrome/browser/ui/views/avatar_menu_bubble_view.cc BadgeImageSource::BadgeImageSource(const gfx::ImageSkia& icon, gfx 106 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::Size& icon_size, gfx 107 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia& badge) gfx 108 chrome/browser/ui/views/avatar_menu_bubble_view.cc : gfx::CanvasImageSource(ComputeSize(icon, icon_size, badge), false), gfx 117 chrome/browser/ui/views/avatar_menu_bubble_view.cc void BadgeImageSource::Draw(gfx::Canvas* canvas) { gfx 124 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size BadgeImageSource::ComputeSize(const gfx::ImageSkia& icon, gfx 125 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::Size& icon_size, gfx 126 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia& badge) { gfx 131 chrome/browser/ui/views/avatar_menu_bubble_view.cc return gfx::Size(width, height); gfx 204 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 207 chrome/browser/ui/views/avatar_menu_bubble_view.cc bool ProfileImageView::HitTestRect(const gfx::Rect& rect) const { gfx 223 chrome/browser/ui/views/avatar_menu_bubble_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 237 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::ImageSkia GetBadgedIcon(const gfx::ImageSkia& icon); gfx 262 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::ImageSkia profile_icon = *item_.icon.ToImageSkia(); gfx 275 chrome/browser/ui/views/avatar_menu_bubble_view.cc name_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 284 chrome/browser/ui/views/avatar_menu_bubble_view.cc sync_state_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 292 chrome/browser/ui/views/avatar_menu_bubble_view.cc edit_link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 298 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size ProfileItemView::GetPreferredSize() { gfx 303 chrome/browser/ui/views/avatar_menu_bubble_view.cc return gfx::Size(profiles::kAvatarIconWidth + kIconMarginX + text_width, gfx 309 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Rect icon_rect; gfx 316 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia& icon = image_view_->GetImage(); gfx 324 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size name_size = name_label_->GetPreferredSize(); gfx 326 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size state_size = sync_state_label_->GetPreferredSize(); gfx 328 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size edit_size = edit_link_->GetPreferredSize(); gfx 386 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::ImageSkia ProfileItemView::GetBadgedIcon(const gfx::ImageSkia& icon) { gfx 388 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::ImageSkia* badge = NULL; gfx 397 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size icon_size = GetCenteredAndScaledRect(icon.width(), icon.height(), gfx 399 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::CanvasImageSource* source = gfx 402 chrome/browser/ui/views/avatar_menu_bubble_view.cc return gfx::ImageSkia(source, source->size()); gfx 487 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::Rect& anchor_rect, gfx 516 chrome/browser/ui/views/avatar_menu_bubble_view.cc const gfx::Rect& anchor_rect, gfx 536 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size AvatarMenuBubbleView::GetPreferredSize() { gfx 538 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size preferred_size(kBubbleViewMinWidth, 0); gfx 540 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size size = item_views_[i]->GetPreferredSize(); gfx 549 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size buttons_size = buttons_view_->GetPreferredSize(); gfx 558 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size size = switch_profile_link_->GetPreferredSize(); gfx 570 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size(kBubbleViewMaxWidth, preferred_size.height())); gfx 608 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Size icon_size = icon_view_->GetPreferredSize(); gfx 609 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Rect icon_bounds(0, y, icon_size.width(), icon_size.height()); gfx 699 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::Rect AvatarMenuBubbleView::GetAnchorRect() { gfx 738 chrome/browser/ui/views/avatar_menu_bubble_view.cc add_profile_link->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 769 chrome/browser/ui/views/avatar_menu_bubble_view.cc managed_user_info_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 784 chrome/browser/ui/views/avatar_menu_bubble_view.cc switch_profile_link_->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 54 chrome/browser/ui/views/avatar_menu_bubble_view.h const gfx::Rect& anchor_rect, gfx 62 chrome/browser/ui/views/avatar_menu_bubble_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 74 chrome/browser/ui/views/avatar_menu_bubble_view.h virtual gfx::Rect GetAnchorRect() OVERRIDE; gfx 92 chrome/browser/ui/views/avatar_menu_bubble_view.h const gfx::Rect& anchor_rect, gfx 107 chrome/browser/ui/views/avatar_menu_bubble_view.h gfx::Rect anchor_rect_; gfx 48 chrome/browser/ui/views/avatar_menu_button.cc void AvatarMenuButton::OnPaint(gfx::Canvas* canvas) { gfx 79 chrome/browser/ui/views/avatar_menu_button.cc bool AvatarMenuButton::HitTestRect(const gfx::Rect& rect) const { gfx 85 chrome/browser/ui/views/avatar_menu_button.cc void AvatarMenuButton::SetAvatarIcon(const gfx::Image& icon, gfx 87 chrome/browser/ui/views/avatar_menu_button.cc icon_.reset(new gfx::Image(icon)); gfx 88 chrome/browser/ui/views/avatar_menu_button.cc button_icon_ = gfx::ImageSkia(); gfx 95 chrome/browser/ui/views/avatar_menu_button.cc const gfx::Point& point) { gfx 103 chrome/browser/ui/views/avatar_menu_button.cc gfx::Point origin; gfx 105 chrome/browser/ui/views/avatar_menu_button.cc gfx::Rect bounds(origin, size()); gfx 15 chrome/browser/ui/views/avatar_menu_button.h namespace gfx { gfx 40 chrome/browser/ui/views/avatar_menu_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 41 chrome/browser/ui/views/avatar_menu_button.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 45 chrome/browser/ui/views/avatar_menu_button.h virtual void SetAvatarIcon(const gfx::Image& icon, bool is_rectangle); gfx 57 chrome/browser/ui/views/avatar_menu_button.h const gfx::Point& point) OVERRIDE; gfx 64 chrome/browser/ui/views/avatar_menu_button.h scoped_ptr<gfx::Image> icon_; gfx 65 chrome/browser/ui/views/avatar_menu_button.h gfx::ImageSkia button_icon_; gfx 69 chrome/browser/ui/views/avatar_menu_button_browsertest.cc NULL, gfx::Point()); gfx 102 chrome/browser/ui/views/avatar_menu_button_browsertest.cc NULL, gfx::Point()); gfx 51 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc gfx::Size BookmarkBarInstructionsView::GetPreferredSize() { gfx 55 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc gfx::Size pref = view->GetPreferredSize(); gfx 68 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc return gfx::Size(width, height); gfx 76 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc gfx::Size pref = view->GetPreferredSize(); gfx 112 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.cc const gfx::Point& point, gfx 34 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 46 chrome/browser/ui/views/bookmarks/bookmark_bar_instructions_view.h const gfx::Point& point, gfx 108 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc static gfx::ImageSkia* kDefaultFavicon = NULL; gfx 111 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc static gfx::ImageSkia* kFolderIcon = NULL; gfx 153 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc show_animation_.reset(new gfx::SlideAnimation(this)); gfx 170 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc scoped_ptr<gfx::SlideAnimation> show_animation_; gfx 193 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc virtual bool GetTooltipText(const gfx::Point& p, gfx 195 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Point location(p); gfx 253 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc show_animation_.reset(new gfx::SlideAnimation(this)); gfx 263 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc virtual bool GetTooltipText(const gfx::Point& p, gfx 284 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 289 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc scoped_ptr<gfx::SlideAnimation> show_animation_; gfx 390 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 398 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 401 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return gfx::Size(kSeparatorWidth, 1); gfx 420 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc static const gfx::ImageSkia& GetDefaultFavicon() { gfx 428 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc static const gfx::ImageSkia& GetFolderIcon() { gfx 520 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& loc, gfx 527 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Point adjusted_loc(GetMirroredXInView(loc.x()), loc.y()); gfx 599 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& screen_loc, gfx 607 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::FontList tt_fonts = widget->GetTooltipManager()->GetFontList(); gfx 615 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::ELIDE_AT_END)); gfx 667 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size BookmarkBarView::GetPreferredSize() { gfx 671 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc bool BookmarkBarView::HitTestRect(const gfx::Rect& rect) const { gfx 684 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size BookmarkBarView::GetMinimumSize() { gfx 699 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size other_bookmarked_pref; gfx 702 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size overflow_pref; gfx 705 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size bookmarks_separator_pref; gfx 709 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size apps_page_shortcut_pref; gfx 717 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return gfx::Size(width, height); gfx 741 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::PaintChildren(gfx::Canvas* canvas) { gfx 770 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Rect indicator_bounds(x - kDropIndicatorWidth / 2, gfx 926 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::AnimationProgressed(const gfx::Animation* animation) { gfx 932 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::AnimationEnded(const gfx::Animation* animation) { gfx 1080 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& press_pt, gfx 1087 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc scoped_ptr<gfx::Canvas> canvas( gfx 1101 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& p) { gfx 1123 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& press_pt, gfx 1124 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& p) { gfx 1127 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Vector2d move_offset = p - press_pt; gfx 1128 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Vector2d horizontal_offset(move_offset.x(), 0); gfx 1148 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& point) { gfx 1211 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Point& point, gfx 1286 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc size_animation_.reset(new gfx::SlideAnimation(this)); gfx 1399 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Image& favicon = model_->GetFavicon(node); gfx 1458 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size old_pref = button->GetPreferredSize(); gfx 1460 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size new_pref = button->GetPreferredSize(); gfx 1712 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size BookmarkBarView::LayoutItems(bool compute_bounds_only) { gfx 1713 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size prefsize; gfx 1737 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size other_bookmarked_pref = other_bookmarked_button_->visible() ? gfx 1738 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc other_bookmarked_button_->GetPreferredSize() : gfx::Size(); gfx 1739 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size overflow_pref = overflow_button_->GetPreferredSize(); gfx 1740 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size bookmarks_separator_pref = gfx 1742 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size apps_page_shortcut_pref = apps_page_shortcut_->visible() ? gfx 1743 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc apps_page_shortcut_->GetPreferredSize() : gfx::Size(); gfx 1764 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size pref = instructions_->GetPreferredSize(); gfx 1779 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc gfx::Size pref = child->GetPreferredSize(); gfx 39 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h namespace gfx { gfx 62 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h public gfx::AnimationDelegate, gfx 114 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const BookmarkNode* GetNodeForButtonAtModelIndex(const gfx::Point& loc, gfx 154 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const gfx::Point& screen_loc, gfx 165 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 166 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 167 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 171 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 188 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 189 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 228 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const gfx::Point& press_pt, gfx 231 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const gfx::Point& p) OVERRIDE; gfx 233 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const gfx::Point& press_pt, gfx 234 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const gfx::Point& p) OVERRIDE; gfx 238 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const gfx::Point& point) OVERRIDE; gfx 246 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h const gfx::Point& point, gfx 370 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h gfx::Size LayoutItems(bool compute_bounds_only); gfx 426 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h scoped_ptr<gfx::SlideAnimation> size_animation_; gfx 55 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc void MoveMouseAndPress(const gfx::Point& screen_pos, gfx 206 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc virtual gfx::Size GetPreferredSize() OVERRIDE { return bb_view_pref_; } gfx 252 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Size bb_view_pref_; gfx 334 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point mouse_loc; gfx 568 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(1, target_menu->height() - 1); gfx 583 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(1, target_menu->height() - 2); gfx 677 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); gfx 699 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); gfx 713 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(1, 1); gfx 777 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); gfx 798 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(other_button->width() / 2, other_button->height() / 2); gfx 812 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(button->width() / 2, button->height() / 2); gfx 871 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point menu_loc; gfx 882 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point loc(scroll_down_button->width() / 2, gfx 900 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point menu_loc; gfx 1081 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point mouse_loc; gfx 1494 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Rect context_rect = context_menu->GetSubmenu()->GetBoundsInScreen(); gfx 1495 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Rect child_menu_rect = child_menu->GetBoundsInScreen(); gfx 1496 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Rect clickable_rect = gfx 1497 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::SubtractRects(child_menu_rect, context_rect); gfx 1555 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point button_center(button->width() / 2, button->height() / 2); gfx 1627 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc gfx::Point button_center(button->width() / 2, button->height() / 2); gfx 279 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc set_margins(gfx::Insets(views::kPanelVertMargin, 0, 0, 0)); gfx 281 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc set_anchor_view_insets(gfx::Insets(2, 0, 2, 0)); gfx 296 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc gfx::Size BookmarkBubbleView::GetMinimumSize() { gfx 297 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc gfx::Size size(views::BubbleDelegateView::GetPreferredSize()); gfx 298 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc size.SetToMax(gfx::Size(kMinBubbleWidth, 0)); gfx 80 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 63 chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc void BookmarkContextMenu::RunMenuAt(const gfx::Point& point, gfx 71 chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc parent_widget_, NULL, gfx::Rect(point.x(), point.y(), 0, 0), gfx 48 chrome/browser/ui/views/bookmarks/bookmark_context_menu.h void RunMenuAt(const gfx::Point& point, gfx 24 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc gfx::NativeView view, gfx 43 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc widget->RunShellDrag(NULL, data, gfx::Point(), operation, source); gfx 47 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc views::RunShellDrag(view, data, gfx::Point(), operation, source); gfx 52 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc void BookmarkEditor::Show(gfx::NativeWindow parent_window, gfx 137 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc gfx::Size BookmarkEditorView::GetPreferredSize() { gfx 141 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc return gfx::Size(views::Widget::GetLocalizedContentsSize( gfx 227 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc void BookmarkEditorView::Show(gfx::NativeWindow parent) { gfx 241 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc const gfx::Point& point, gfx 253 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc NULL, gfx::Rect(point, gfx::Size()), views::MenuItemView::TOPRIGHT, gfx 91 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 119 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h void Show(gfx::NativeWindow parent); gfx 123 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h const gfx::Point& point, gfx 56 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc gfx::Point screen_loc; gfx 59 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc gfx::Rect bounds(screen_loc.x(), screen_loc.y(), menu_button->width(), gfx 89 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc const gfx::Point& p) const { gfx 141 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc const gfx::Point& p, gfx 165 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc const gfx::Point& screen_point, gfx 171 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.cc gfx::Point bookmark_bar_loc(screen_point); gfx 78 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h const gfx::Point& p) const OVERRIDE; gfx 100 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h const gfx::Point& p, gfx 109 chrome/browser/ui/views/bookmarks/bookmark_menu_controller_views.h const gfx::Point& screen_point, gfx 109 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const gfx::Point& screen_loc) const { gfx 279 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const gfx::Point& p, gfx 449 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc gfx::ImageSkia* folder_icon = rb->GetImageSkiaNamed(IDR_BOOKMARK_BAR_FOLDER); gfx 474 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const gfx::Image& image = GetBookmarkModel()->GetFavicon(node); gfx 475 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc const gfx::ImageSkia* icon = image.IsEmpty() ? gfx 480 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc gfx::ImageSkia* folder_icon = gfx 96 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h base::string16 GetTooltipText(int id, const gfx::Point& p) const; gfx 115 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h const gfx::Point& p, gfx 42 chrome/browser/ui/views/bookmarks/bookmark_prompt_view.cc set_anchor_view_insets(gfx::Insets(5, 0, 5, 0)); gfx 61 chrome/browser/ui/views/bookmarks/bookmark_prompt_view.cc dismiss_link_->SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 52 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc link_style.font_style = gfx::Font::NORMAL; gfx 53 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc promo_label->AddStyleRange(gfx::Range(offset, offset + link_text.length()), gfx 58 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc gfx::Range before_link_range(0, offset); gfx 61 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc gfx::Range after_link_range(offset + link_text.length(), promo_text.length()); gfx 73 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.cc void BookmarkSyncPromoView::StyledLabelLinkClicked(const gfx::Range& range, gfx 24 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view.h virtual void StyledLabelLinkClicked(const gfx::Range& range, gfx 39 chrome/browser/ui/views/bookmarks/bookmark_sync_promo_view_unittest.cc listener->StyledLabelLinkClicked(gfx::Range(), ui::EF_NONE); gfx 34 chrome/browser/ui/views/browser_dialogs.h void EditSearchEngine(gfx::NativeWindow parent, gfx 60 chrome/browser/ui/views/certificate_viewer_win.cc gfx::NativeWindow parent, gfx 73 chrome/browser/ui/views/certificate_viewer_win.cc gfx::NativeWindow parent, gfx 78 chrome/browser/ui/views/chrome_views_delegate.cc const gfx::Rect& bounds, gfx 93 chrome/browser/ui/views/chrome_views_delegate.cc gfx::Rect work_area(gfx::Screen::GetScreenFor(window->GetNativeView())-> gfx 104 chrome/browser/ui/views/chrome_views_delegate.cc gfx::Rect* bounds, gfx 130 chrome/browser/ui/views/chrome_views_delegate.cc gfx::NativeView window = widget->GetNativeView(); gfx 133 chrome/browser/ui/views/chrome_views_delegate.cc gfx::Display display = gfx::Screen::GetScreenFor(window)-> gfx 163 chrome/browser/ui/views/chrome_views_delegate.cc bool ChromeViewsDelegate::IsWindowInMetro(gfx::NativeWindow window) const { gfx 168 chrome/browser/ui/views/chrome_views_delegate.cc gfx::ImageSkia* ChromeViewsDelegate::GetDefaultWindowIcon() const { gfx 294 chrome/browser/ui/views/chrome_views_delegate.cc gfx::NativeView to_check = gfx 22 chrome/browser/ui/views/chrome_views_delegate.h const gfx::Rect& bounds, gfx 27 chrome/browser/ui/views/chrome_views_delegate.h gfx::Rect* bounds, gfx 39 chrome/browser/ui/views/chrome_views_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) const OVERRIDE; gfx 41 chrome/browser/ui/views/chrome_views_delegate.h virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE; gfx 13 chrome/browser/ui/views/chrome_views_delegate_aura.cc gfx::NativeView native_view = params.parent ? params.parent : params.context; gfx 13 chrome/browser/ui/views/chrome_web_dialog_view.cc gfx::NativeWindow ShowWebDialog(gfx::NativeWindow parent, gfx 158 chrome/browser/ui/views/collected_cookies_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 160 chrome/browser/ui/views/collected_cookies_views.cc return gfx::Size(); gfx 163 chrome/browser/ui/views/collected_cookies_views.cc gfx::Size size(content_->GetPreferredSize()); gfx 294 chrome/browser/ui/views/collected_cookies_views.cc gfx::Size CollectedCookiesViews::GetMinimumSize() { gfx 296 chrome/browser/ui/views/collected_cookies_views.cc return gfx::Size(0, View::GetMinimumSize().height()); gfx 326 chrome/browser/ui/views/collected_cookies_views.cc layout->SetInsets(gfx::Insets(kTabbedPaneTopPadding, 0, 0, 0)); gfx 434 chrome/browser/ui/views/collected_cookies_views.cc blocked_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 67 chrome/browser/ui/views/collected_cookies_views.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 32 chrome/browser/ui/views/color_chooser_dialog.cc gfx::NativeWindow owning_window) gfx 46 chrome/browser/ui/views/color_chooser_dialog.cc bool ColorChooserDialog::IsRunning(gfx::NativeWindow owning_window) const { gfx 25 chrome/browser/ui/views/color_chooser_dialog.h gfx::NativeWindow owning_window); gfx 29 chrome/browser/ui/views/color_chooser_dialog.h virtual bool IsRunning(gfx::NativeWindow owning_window) const OVERRIDE; gfx 64 chrome/browser/ui/views/color_chooser_win.cc gfx::NativeWindow owning_window = platform_util::GetTopLevel( gfx 107 chrome/browser/ui/views/color_chooser_win.cc gfx::NativeView native_view = web_contents->GetView()->GetNativeView(); gfx 31 chrome/browser/ui/views/confirm_bubble_views.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 40 chrome/browser/ui/views/confirm_bubble_views.cc link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 102 chrome/browser/ui/views/confirm_bubble_views.cc void ShowConfirmBubble(gfx::NativeView view, gfx 103 chrome/browser/ui/views/confirm_bubble_views.cc const gfx::Point& origin, gfx 31 chrome/browser/ui/views/confirm_bubble_views_unittest.cc gfx::NativeView parent = parent_widget->GetNativeView(); gfx 63 chrome/browser/ui/views/conflicting_module_view_win.cc set_anchor_view_insets(gfx::Insets(5, 0, 5, 0)); gfx 140 chrome/browser/ui/views/conflicting_module_view_win.cc gfx::Size icon_size = icon->GetPreferredSize(); gfx 157 chrome/browser/ui/views/conflicting_module_view_win.cc explanation_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 156 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 157 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc gfx::Size size; gfx 162 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc virtual gfx::Size GetMinimumSize() OVERRIDE { gfx 164 chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc return gfx::Size(); gfx 74 chrome/browser/ui/views/constrained_window_views.cc const gfx::Size& size) { gfx 79 chrome/browser/ui/views/constrained_window_views.cc gfx::Point position = dialog_host->GetDialogPosition(size); gfx 94 chrome/browser/ui/views/constrained_window_views.cc widget->SetBounds(gfx::Rect(position, size)); gfx 102 chrome/browser/ui/views/constrained_window_views.cc gfx::Size size = widget->GetRootView()->GetPreferredSize(); gfx 103 chrome/browser/ui/views/constrained_window_views.cc gfx::Size max_size = dialog_host->GetMaximumDialogSize(); gfx 122 chrome/browser/ui/views/constrained_window_views.cc gfx::NativeWindow parent) { gfx 33 chrome/browser/ui/views/constrained_window_views.h gfx::NativeWindow parent); gfx 24 chrome/browser/ui/views/constrained_window_views_unittest.cc void set_preferred_size(const gfx::Size& preferred_size) { gfx 30 chrome/browser/ui/views/constrained_window_views_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { return preferred_size_; } gfx 31 chrome/browser/ui/views/constrained_window_views_unittest.cc virtual gfx::Size GetMinimumSize() OVERRIDE { return gfx::Size(); } gfx 34 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size preferred_size_; gfx 54 chrome/browser/ui/views/constrained_window_views_unittest.cc dialog_host_->set_max_dialog_size(gfx::Size(5000, 5000)); gfx 58 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size preferred_size = dialog()->GetRootView()->GetPreferredSize(); gfx 70 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size GetDialogSize() { gfx 92 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size expected_size = GetDialogSize(); gfx 93 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size preferred_size = contents()->GetPreferredSize(); gfx 105 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size expected_size = GetDialogSize(); gfx 106 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size preferred_size = contents()->GetPreferredSize(); gfx 118 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size dialog_size = GetDialogSize(); gfx 119 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size max_dialog_size = dialog_size; gfx 130 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size full_dialog_size = GetDialogSize(); gfx 131 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size max_dialog_size = full_dialog_size; gfx 138 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size expected_size = max_dialog_size; gfx 68 chrome/browser/ui/views/content_setting_bubble_contents.cc Favicon(const gfx::Image& image, gfx 77 chrome/browser/ui/views/content_setting_bubble_contents.cc virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 84 chrome/browser/ui/views/content_setting_bubble_contents.cc const gfx::Image& image, gfx 108 chrome/browser/ui/views/content_setting_bubble_contents.cc gfx::NativeCursor ContentSettingBubbleContents::Favicon::GetCursor( gfx 150 chrome/browser/ui/views/content_setting_bubble_contents.cc set_anchor_view_insets(gfx::Insets(5, 0, 5, 0)); gfx 157 chrome/browser/ui/views/content_setting_bubble_contents.cc gfx::Size ContentSettingBubbleContents::GetPreferredSize() { gfx 158 chrome/browser/ui/views/content_setting_bubble_contents.cc gfx::Size preferred_size(views::View::GetPreferredSize()); gfx 199 chrome/browser/ui/views/content_setting_bubble_contents.cc title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 289 chrome/browser/ui/views/content_setting_bubble_contents.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 343 chrome/browser/ui/views/content_setting_bubble_contents.cc const gfx::FontList& domain_font = gfx 352 chrome/browser/ui/views/content_setting_bubble_contents.cc section_title->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 439 chrome/browser/ui/views/content_setting_bubble_contents.cc const gfx::Point& point) { gfx 445 chrome/browser/ui/views/content_setting_bubble_contents.cc gfx::Point screen_location; gfx 450 chrome/browser/ui/views/content_setting_bubble_contents.cc gfx::Rect(screen_location, j->first->size()), gfx 54 chrome/browser/ui/views/content_setting_bubble_contents.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 80 chrome/browser/ui/views/content_setting_bubble_contents.h const gfx::Point& point) OVERRIDE; gfx 65 chrome/browser/ui/views/create_application_shortcut_view.cc const gfx::ImageFamily& icon); gfx 72 chrome/browser/ui/views/create_application_shortcut_view.cc void UpdateIcon(const gfx::ImageFamily& image); gfx 75 chrome/browser/ui/views/create_application_shortcut_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 80 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& description, const gfx::ImageFamily& icon); gfx 95 chrome/browser/ui/views/create_application_shortcut_view.cc const gfx::ImageFamily& icon) gfx 104 chrome/browser/ui/views/create_application_shortcut_view.cc const gfx::ImageFamily& icon) { gfx 107 chrome/browser/ui/views/create_application_shortcut_view.cc icon_->SetImageSize(gfx::Size(kIconPreviewSizePixels, gfx 115 chrome/browser/ui/views/create_application_shortcut_view.cc title_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 141 chrome/browser/ui/views/create_application_shortcut_view.cc description_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 176 chrome/browser/ui/views/create_application_shortcut_view.cc void AppInfoView::UpdateIcon(const gfx::ImageFamily& image) { gfx 178 chrome/browser/ui/views/create_application_shortcut_view.cc const gfx::Image* icon = image.GetBest(kIconPreviewSizePixels, gfx 186 chrome/browser/ui/views/create_application_shortcut_view.cc icon_->SetImage(gfx::ImageSkia::CreateFrom1xBitmap(bitmap)); gfx 193 chrome/browser/ui/views/create_application_shortcut_view.cc icon_->SetImage(gfx::ImageSkia::CreateFrom1xBitmap(resized_bitmap)); gfx 197 chrome/browser/ui/views/create_application_shortcut_view.cc void AppInfoView::OnPaint(gfx::Canvas* canvas) { gfx 198 chrome/browser/ui/views/create_application_shortcut_view.cc gfx::Rect bounds = GetLocalBounds(); gfx 232 chrome/browser/ui/views/create_application_shortcut_view.cc void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, gfx 240 chrome/browser/ui/views/create_application_shortcut_view.cc gfx::NativeWindow parent_window, gfx 267 chrome/browser/ui/views/create_application_shortcut_view.cc create_shortcuts_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 335 chrome/browser/ui/views/create_application_shortcut_view.cc gfx::Size CreateApplicationShortcutView::GetPreferredSize() { gfx 340 chrome/browser/ui/views/create_application_shortcut_view.cc return gfx::Size(kDialogWidth, height); gfx 452 chrome/browser/ui/views/create_application_shortcut_view.cc const gfx::Image* icon = shortcut_info_.favicon.GetBest(0, 0); gfx 487 chrome/browser/ui/views/create_application_shortcut_view.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 510 chrome/browser/ui/views/create_application_shortcut_view.cc shortcut_info_.favicon.Add(gfx::ImageSkia::CreateFrom1xBitmap(image)); gfx 50 chrome/browser/ui/views/create_application_shortcut_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 106 chrome/browser/ui/views/create_application_shortcut_view.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 193 chrome/browser/ui/views/critical_notification_bubble_view.cc message->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 159 chrome/browser/ui/views/crypto_module_password_dialog_view.cc gfx::NativeWindow parent, gfx 49 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::AcceleratedWidget accelerated_widget) { gfx 71 chrome/browser/ui/views/desktop_media_picker_views.cc void SetThumbnail(const gfx::ImageSkia& thumbnail); gfx 91 chrome/browser/ui/views/desktop_media_picker_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 129 chrome/browser/ui/views/desktop_media_picker_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 150 chrome/browser/ui/views/desktop_media_picker_views.cc DesktopMediaPickerDialogView(gfx::NativeWindow context, gfx 151 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::NativeWindow parent_window, gfx 166 chrome/browser/ui/views/desktop_media_picker_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 197 chrome/browser/ui/views/desktop_media_picker_views.cc virtual void Show(gfx::NativeWindow context, gfx 198 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::NativeWindow parent, gfx 234 chrome/browser/ui/views/desktop_media_picker_views.cc void DesktopMediaSourceView::SetThumbnail(const gfx::ImageSkia& thumbnail) { gfx 299 chrome/browser/ui/views/desktop_media_picker_views.cc void DesktopMediaSourceView::OnPaint(gfx::Canvas* canvas) { gfx 302 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::Rect bounds(GetLocalBounds()); gfx 311 chrome/browser/ui/views/desktop_media_picker_views.cc ScrollRectToVisible(gfx::Rect(size())); gfx 337 chrome/browser/ui/views/desktop_media_picker_views.cc media_list_->SetThumbnailSize(gfx::Size(kThumbnailWidth, kThumbnailHeight)); gfx 367 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::Size DesktopMediaListView::GetPreferredSize() { gfx 369 chrome/browser/ui/views/desktop_media_picker_views.cc return gfx::Size(kTotalListWidth, kListItemHeight * total_rows); gfx 389 chrome/browser/ui/views/desktop_media_picker_views.cc SetSize(gfx::Size(kTotalListWidth, y)); gfx 488 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::NativeWindow context, gfx 489 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::NativeWindow parent_window, gfx 507 chrome/browser/ui/views/desktop_media_picker_views.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 550 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::Size DesktopMediaPickerDialogView::GetPreferredSize() { gfx 551 chrome/browser/ui/views/desktop_media_picker_views.cc return gfx::Size(600, 500); gfx 555 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::Rect rect = GetLocalBounds(); gfx 558 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::Rect label_rect(rect.x(), rect.y(), rect.width(), gfx 629 chrome/browser/ui/views/desktop_media_picker_views.cc void DesktopMediaPickerViews::Show(gfx::NativeWindow context, gfx 630 chrome/browser/ui/views/desktop_media_picker_views.cc gfx::NativeWindow parent, gfx 27 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, gfx 29 chrome/browser/ui/views/detachable_toolbar_view.cc const gfx::Rect& bounds, gfx 30 chrome/browser/ui/views/detachable_toolbar_view.cc const gfx::Point& background_origin, gfx 40 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::ImageSkia* toolbar_left = gfx 45 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::ImageSkia* toolbar_right = gfx 70 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, gfx 76 chrome/browser/ui/views/detachable_toolbar_view.cc canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), color); gfx 81 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, gfx 95 chrome/browser/ui/views/detachable_toolbar_view.cc gfx::Canvas* canvas, ui::ThemeProvider* theme_provider, gfx 110 chrome/browser/ui/views/detachable_toolbar_view.cc void DetachableToolbarView::PaintVerticalDivider(gfx::Canvas* canvas, gfx 119 chrome/browser/ui/views/detachable_toolbar_view.cc skia::RefPtr<SkShader> shader = gfx::CreateGradientShader( gfx 130 chrome/browser/ui/views/detachable_toolbar_view.cc shader = gfx::CreateGradientShader( gfx 38 chrome/browser/ui/views/detachable_toolbar_view.h gfx::Canvas* canvas, gfx 40 chrome/browser/ui/views/detachable_toolbar_view.h const gfx::Rect& bounds, gfx 41 chrome/browser/ui/views/detachable_toolbar_view.h const gfx::Point& background_origin, gfx 59 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintHorizontalBorder(gfx::Canvas* canvas, gfx 67 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintContentAreaBackground(gfx::Canvas* canvas, gfx 72 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintContentAreaBorder(gfx::Canvas* canvas, gfx 84 chrome/browser/ui/views/detachable_toolbar_view.h static void PaintVerticalDivider(gfx::Canvas* canvas, gfx 111 chrome/browser/ui/views/download/download_danger_prompt_views.cc message_lead_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 122 chrome/browser/ui/views/download/download_danger_prompt_views.cc message_body_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 35 chrome/browser/ui/views/download/download_feedback_dialog_view.cc gfx::NativeWindow parent_window, gfx 29 chrome/browser/ui/views/download/download_feedback_dialog_view.h gfx::NativeWindow parent_window, gfx 24 chrome/browser/ui/views/download/download_in_progress_dialog_view.cc gfx::NativeWindow parent, gfx 19 chrome/browser/ui/views/download/download_in_progress_dialog_view.h static void Show(gfx::NativeWindow parent_window, gfx 55 chrome/browser/ui/views/download/download_in_progress_dialog_view.h gfx::Size dialog_dimensions_; gfx 211 chrome/browser/ui/views/download/download_item_view.cc body_hover_animation_.reset(new gfx::SlideAnimation(this)); gfx 212 chrome/browser/ui/views/download/download_item_view.cc drop_hover_animation_.reset(new gfx::SlideAnimation(this)); gfx 246 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnExtractIconComplete(gfx::Image* icon_bitmap) { gfx 276 chrome/browser/ui/views/download/download_item_view.cc complete_animation_.reset(new gfx::SlideAnimation(this)); gfx 278 chrome/browser/ui/views/download/download_item_view.cc complete_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 289 chrome/browser/ui/views/download/download_item_view.cc complete_animation_.reset(new gfx::SlideAnimation(this)); gfx 291 chrome/browser/ui/views/download/download_item_view.cc complete_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 352 chrome/browser/ui/views/download/download_item_view.cc gfx::Size button_size = GetButtonSize(); gfx 364 chrome/browser/ui/views/download/download_item_view.cc gfx::Size DownloadItemView::GetPreferredSize() { gfx 380 chrome/browser/ui/views/download/download_item_view.cc gfx::Size button_size = GetButtonSize(); gfx 399 chrome/browser/ui/views/download/download_item_view.cc return gfx::Size(width, height); gfx 422 chrome/browser/ui/views/download/download_item_view.cc gfx::Image* icon = im->LookupIconFromFilepath( gfx 482 chrome/browser/ui/views/download/download_item_view.cc bool DownloadItemView::GetTooltipText(const gfx::Point& p, gfx 525 chrome/browser/ui/views/download/download_item_view.cc const gfx::Point& point, gfx 528 chrome/browser/ui/views/download/download_item_view.cc gfx::Point local_point = point; gfx 577 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::AnimationProgressed(const gfx::Animation* animation) { gfx 583 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnPaint(gfx::Canvas* canvas) { gfx 626 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnPaintBackground(gfx::Canvas* canvas) { gfx 695 chrome/browser/ui/views/download/download_item_view.cc gfx::Rect(mirrored_x, y, kTextWidth, gfx 709 chrome/browser/ui/views/download/download_item_view.cc canvas->Translate(gfx::Vector2d(width(), 0)); gfx 786 chrome/browser/ui/views/download/download_item_view.cc filename = gfx::ElideFilename(download()->GetFileNameToReportUser(), gfx 793 chrome/browser/ui/views/download/download_item_view.cc int status_string_width = gfx::GetStringWidth(status_string, font_list_); gfx 796 chrome/browser/ui/views/download/download_item_view.cc gfx::ElideFilename(download()->GetFileNameToReportUser(), font_list_, gfx 815 chrome/browser/ui/views/download/download_item_view.cc gfx::Rect(mirrored_x, y, kTextWidth, font_list_.GetHeight())); gfx 820 chrome/browser/ui/views/download/download_item_view.cc gfx::Image* image = im->LookupIconFromFilepath( gfx 822 chrome/browser/ui/views/download/download_item_view.cc const gfx::ImageSkia* icon = NULL; gfx 965 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::ShowContextMenuImpl(const gfx::Point& p, gfx 967 chrome/browser/ui/views/download/download_item_view.cc gfx::Point point = p; gfx 968 chrome/browser/ui/views/download/download_item_view.cc gfx::Size size; gfx 1004 chrome/browser/ui/views/download/download_item_view.cc gfx::Rect(point, size), source_type); gfx 1063 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::PaintImages(gfx::Canvas* canvas, gfx 1064 chrome/browser/ui/views/download/download_item_view.cc const gfx::ImageSkia* top_image, gfx 1065 chrome/browser/ui/views/download/download_item_view.cc const gfx::ImageSkia* center_image, gfx 1066 chrome/browser/ui/views/download/download_item_view.cc const gfx::ImageSkia* bottom_image, gfx 1199 chrome/browser/ui/views/download/download_item_view.cc dangerous_download_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1207 chrome/browser/ui/views/download/download_item_view.cc gfx::Size DownloadItemView::GetButtonSize() { gfx 1209 chrome/browser/ui/views/download/download_item_view.cc gfx::Size size; gfx 1220 chrome/browser/ui/views/download/download_item_view.cc gfx::Size discard_size = discard_button_->GetMinimumSize(); gfx 1258 chrome/browser/ui/views/download/download_item_view.cc gfx::Size size = dangerous_download_label_->GetPreferredSize(); gfx 1330 chrome/browser/ui/views/download/download_item_view.cc gfx::Size size = GetPreferredSize(); gfx 1344 chrome/browser/ui/views/download/download_item_view.cc gfx::SlideAnimation* animation) { gfx 41 chrome/browser/ui/views/download/download_item_view.h namespace gfx { gfx 56 chrome/browser/ui/views/download/download_item_view.h public gfx::AnimationDelegate { gfx 67 chrome/browser/ui/views/download/download_item_view.h void OnExtractIconComplete(gfx::Image* icon); gfx 79 chrome/browser/ui/views/download/download_item_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 87 chrome/browser/ui/views/download/download_item_view.h virtual bool GetTooltipText(const gfx::Point& p, gfx 97 chrome/browser/ui/views/download/download_item_view.h const gfx::Point& point, gfx 105 chrome/browser/ui/views/download/download_item_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 109 chrome/browser/ui/views/download/download_item_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 110 chrome/browser/ui/views/download/download_item_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 129 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* top_left; gfx 130 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* left; gfx 131 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* bottom_left; gfx 132 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* top; gfx 133 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* center; gfx 134 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* bottom; gfx 135 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* top_right; gfx 136 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* right; gfx 137 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* bottom_right; gfx 142 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* top; gfx 143 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* center; gfx 144 chrome/browser/ui/views/download/download_item_view.h gfx::ImageSkia* bottom; gfx 166 chrome/browser/ui/views/download/download_item_view.h void ShowContextMenuImpl(const gfx::Point& point, gfx 175 chrome/browser/ui/views/download/download_item_view.h void PaintImages(gfx::Canvas* canvas, gfx 176 chrome/browser/ui/views/download/download_item_view.h const gfx::ImageSkia* top_image, gfx 177 chrome/browser/ui/views/download/download_item_view.h const gfx::ImageSkia* center_image, gfx 178 chrome/browser/ui/views/download/download_item_view.h const gfx::ImageSkia* bottom_image, gfx 201 chrome/browser/ui/views/download/download_item_view.h gfx::Size GetButtonSize(); gfx 230 chrome/browser/ui/views/download/download_item_view.h gfx::SlideAnimation* animation); gfx 243 chrome/browser/ui/views/download/download_item_view.h const gfx::ImageSkia* warning_icon_; gfx 252 chrome/browser/ui/views/download/download_item_view.h gfx::FontList font_list_; gfx 287 chrome/browser/ui/views/download/download_item_view.h gfx::Point drag_start_point_; gfx 296 chrome/browser/ui/views/download/download_item_view.h scoped_ptr<gfx::SlideAnimation> body_hover_animation_; gfx 297 chrome/browser/ui/views/download/download_item_view.h scoped_ptr<gfx::SlideAnimation> drop_hover_animation_; gfx 300 chrome/browser/ui/views/download/download_item_view.h scoped_ptr<gfx::SlideAnimation> complete_animation_; gfx 316 chrome/browser/ui/views/download/download_item_view.h gfx::Size cached_button_size_; gfx 25 chrome/browser/ui/views/download/download_shelf_context_menu_view.cc const gfx::Rect& rect, gfx 20 chrome/browser/ui/views/download/download_shelf_context_menu_view.h namespace gfx { gfx 40 chrome/browser/ui/views/download/download_shelf_context_menu_view.h const gfx::Rect& rect, gfx 82 chrome/browser/ui/views/download/download_shelf_view.cc void AdjustSize(views::View* view, gfx::Size* size) { gfx 83 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size view_preferred = view->GetPreferredSize(); gfx 100 chrome/browser/ui/views/download/download_shelf_view.cc mouse_watcher_(new views::MouseWatcherViewHost(this, gfx::Insets()), gfx 155 chrome/browser/ui/views/download/download_shelf_view.cc void DownloadShelfView::OnPaintBorder(gfx::Canvas* canvas) { gfx 156 chrome/browser/ui/views/download/download_shelf_view.cc canvas->FillRect(gfx::Rect(0, 0, width(), 1), kBorderColor); gfx 168 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size DownloadShelfView::GetPreferredSize() { gfx 169 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size prefsize(kRightPadding + kLeftPadding + kCloseAndLinkPadding, 0); gfx 186 chrome/browser/ui/views/download/download_shelf_view.cc void DownloadShelfView::AnimationProgressed(const gfx::Animation *animation) { gfx 201 chrome/browser/ui/views/download/download_shelf_view.cc void DownloadShelfView::AnimationEnded(const gfx::Animation *animation) { gfx 218 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size image_size = arrow_image_->GetPreferredSize(); gfx 219 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); gfx 220 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size show_all_size = show_all_view_->GetPreferredSize(); gfx 256 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size view_size = (*ri)->GetPreferredSize(); gfx 308 chrome/browser/ui/views/download/download_shelf_view.cc new_item_animation_.reset(new gfx::SlideAnimation(this)); gfx 311 chrome/browser/ui/views/download/download_shelf_view.cc shelf_animation_.reset(new gfx::SlideAnimation(this)); gfx 320 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size image_size = arrow_image_->GetPreferredSize(); gfx 321 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); gfx 322 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size show_all_size = show_all_view_->GetPreferredSize(); gfx 333 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size item_size = (*download_views_.rbegin())->GetPreferredSize(); gfx 28 chrome/browser/ui/views/download/download_shelf_view.h namespace gfx { gfx 43 chrome/browser/ui/views/download/download_shelf_view.h public gfx::AnimationDelegate, gfx 63 chrome/browser/ui/views/download/download_shelf_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 69 chrome/browser/ui/views/download/download_shelf_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 70 chrome/browser/ui/views/download/download_shelf_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 110 chrome/browser/ui/views/download/download_shelf_view.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; gfx 132 chrome/browser/ui/views/download/download_shelf_view.h scoped_ptr<gfx::SlideAnimation> new_item_animation_; gfx 135 chrome/browser/ui/views/download/download_shelf_view.h scoped_ptr<gfx::SlideAnimation> shelf_animation_; gfx 29 chrome/browser/ui/views/download/download_started_animation_views.cc class DownloadStartedAnimationViews : public gfx::LinearAnimation, gfx 53 chrome/browser/ui/views/download/download_started_animation_views.cc gfx::Rect web_contents_bounds_; gfx 60 chrome/browser/ui/views/download/download_started_animation_views.cc : gfx::LinearAnimation(kMoveTimeMs, kFrameRateHz, NULL), gfx 62 chrome/browser/ui/views/download/download_started_animation_views.cc static gfx::ImageSkia* kDownloadImage = NULL; gfx 94 chrome/browser/ui/views/download/download_started_animation_views.cc gfx::Size size = GetPreferredSize(); gfx 97 chrome/browser/ui/views/download/download_started_animation_views.cc popup_->SetBounds(gfx::Rect( gfx 30 chrome/browser/ui/views/dropdown_bar_host.cc typedef gfx::ScopedSkRegion ScopedPlatformRegion; gfx 37 chrome/browser/ui/views/dropdown_bar_host.cc using gfx::Path; gfx 89 chrome/browser/ui/views/dropdown_bar_host.cc animation_.reset(new gfx::SlideAnimation(this)); gfx 188 chrome/browser/ui/views/dropdown_bar_host.cc void DropdownBarHost::AnimationProgressed(const gfx::Animation* animation) { gfx 190 chrome/browser/ui/views/dropdown_bar_host.cc gfx::Size pref_size = view_->GetPreferredSize(); gfx 196 chrome/browser/ui/views/dropdown_bar_host.cc gfx::Rect dlg_rect = GetDialogPosition(gfx::Rect()); gfx 205 chrome/browser/ui/views/dropdown_bar_host.cc void DropdownBarHost::AnimationEnded(const gfx::Animation* animation) { gfx 229 chrome/browser/ui/views/dropdown_bar_host.cc void DropdownBarHost::GetWidgetBounds(gfx::Rect* bounds) { gfx 234 chrome/browser/ui/views/dropdown_bar_host.cc void DropdownBarHost::UpdateWindowEdges(const gfx::Rect& new_pos) { gfx 307 chrome/browser/ui/views/dropdown_bar_host.cc gfx::Rect widget_bounds; gfx 318 chrome/browser/ui/views/dropdown_bar_host.cc gfx::scrollbar_size() + 1; gfx 334 chrome/browser/ui/views/dropdown_bar_host.cc gfx::Path exclude_path(exclude, arraysize(exclude)); gfx 24 chrome/browser/ui/views/dropdown_bar_host.h namespace gfx { gfx 45 chrome/browser/ui/views/dropdown_bar_host.h public gfx::AnimationDelegate { gfx 74 chrome/browser/ui/views/dropdown_bar_host.h virtual gfx::Rect GetDialogPosition(gfx::Rect avoid_overlapping_rect) = 0; gfx 79 chrome/browser/ui/views/dropdown_bar_host.h virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) = 0; gfx 92 chrome/browser/ui/views/dropdown_bar_host.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 93 chrome/browser/ui/views/dropdown_bar_host.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 143 chrome/browser/ui/views/dropdown_bar_host.h virtual void GetWidgetBounds(gfx::Rect* bounds); gfx 152 chrome/browser/ui/views/dropdown_bar_host.h void UpdateWindowEdges(const gfx::Rect& new_pos); gfx 155 chrome/browser/ui/views/dropdown_bar_host.h void SetWidgetPositionNative(const gfx::Rect& new_pos, bool no_redraw); gfx 163 chrome/browser/ui/views/dropdown_bar_host.h gfx::SlideAnimation* animation() { gfx 185 chrome/browser/ui/views/dropdown_bar_host.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 26 chrome/browser/ui/views/dropdown_bar_host_aura.cc void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos, gfx 33 chrome/browser/ui/views/dropdown_bar_view.cc const gfx::ImageSkia* left_alpha_mask, gfx 34 chrome/browser/ui/views/dropdown_bar_view.cc const gfx::ImageSkia* right_alpha_mask); gfx 38 chrome/browser/ui/views/dropdown_bar_view.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; gfx 42 chrome/browser/ui/views/dropdown_bar_view.cc const gfx::ImageSkia* left_alpha_mask_; gfx 43 chrome/browser/ui/views/dropdown_bar_view.cc const gfx::ImageSkia* right_alpha_mask_; gfx 49 chrome/browser/ui/views/dropdown_bar_view.cc const gfx::ImageSkia* left_alpha_mask, gfx 50 chrome/browser/ui/views/dropdown_bar_view.cc const gfx::ImageSkia* right_alpha_mask) gfx 56 chrome/browser/ui/views/dropdown_bar_view.cc void DropdownBackground::Paint(gfx::Canvas* canvas, views::View* view) const { gfx 59 chrome/browser/ui/views/dropdown_bar_view.cc gfx::Point origin = view->GetWidget()->GetWindowBoundsInScreen().origin(); gfx 66 chrome/browser/ui/views/dropdown_bar_view.cc gfx::ImageSkia background = *tp->GetImageSkiaNamed(IDR_THEME_TOOLBAR); gfx 104 chrome/browser/ui/views/dropdown_bar_view.cc set_clip_insets(gfx::Insets(animation_offset_, 0, 0, 0)); gfx 108 chrome/browser/ui/views/dropdown_bar_view.cc void DropdownBarView::OnPaint(gfx::Canvas* canvas) { gfx 113 chrome/browser/ui/views/dropdown_bar_view.cc gfx::Canvas animating_edges( gfx 114 chrome/browser/ui/views/dropdown_bar_view.cc gfx::Size(bounds().width(), kAnimatingEdgeHeight), gfx 120 chrome/browser/ui/views/dropdown_bar_view.cc canvas->DrawImageInt(gfx::ImageSkia(animating_edges.ExtractImageRep()), gfx 128 chrome/browser/ui/views/dropdown_bar_view.cc void DropdownBarView::SetBackground(const gfx::ImageSkia* left_alpha_mask, gfx 129 chrome/browser/ui/views/dropdown_bar_view.cc const gfx::ImageSkia* right_alpha_mask) { gfx 140 chrome/browser/ui/views/dropdown_bar_view.cc new views::HorizontalPainter(border_image_ids), gfx::Insets())); gfx 12 chrome/browser/ui/views/dropdown_bar_view.h namespace gfx { gfx 38 chrome/browser/ui/views/dropdown_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 43 chrome/browser/ui/views/dropdown_bar_view.h void SetBackground(const gfx::ImageSkia* left_alpha_mask, gfx 44 chrome/browser/ui/views/dropdown_bar_view.h const gfx::ImageSkia* right_alpha_mask); gfx 34 chrome/browser/ui/views/edit_search_engine_dialog.cc void EditSearchEngine(gfx::NativeWindow parent, gfx 57 chrome/browser/ui/views/edit_search_engine_dialog.cc void EditSearchEngineDialog::Show(gfx::NativeWindow parent, gfx 109 chrome/browser/ui/views/edit_search_engine_dialog.cc const gfx::SelectionModel selection_model = sender->GetSelectionModel(); gfx 221 chrome/browser/ui/views/edit_search_engine_dialog.cc description_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 230 chrome/browser/ui/views/edit_search_engine_dialog.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 36 chrome/browser/ui/views/edit_search_engine_dialog.h static void Show(gfx::NativeWindow parent, gfx 86 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc set_margins(gfx::Insets(views::kPanelVertMargin, 0, 0, 0)); gfx 94 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 162 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc icon_image_view_->SetImageSize(gfx::Size(kIconSize, kIconSize)); gfx 215 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc gfx::Size BookmarkAppBubbleView::GetMinimumSize() { gfx 216 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc gfx::Size size(views::BubbleDelegateView::GetPreferredSize()); gfx 217 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc size.SetToMax(gfx::Size(kMinBubbleWidth, 0)); gfx 227 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc const gfx::ImageSkia& image) { gfx 21 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h namespace gfx { gfx 63 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 72 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h const gfx::ImageSkia& image) OVERRIDE; gfx 46 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc virtual void OnIconUpdated(const gfx::ImageSkia& icon) OVERRIDE { gfx 109 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc gfx::Rect bounds = menu_button_->bounds(); gfx 110 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc gfx::Point screen_loc; gfx 144 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc const gfx::Point& p, gfx 158 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc NULL, gfx::Rect(p, gfx::Size()), views::MenuItemView::TOPLEFT, gfx 59 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h const gfx::Point& p, gfx 115 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc extension_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 139 chrome/browser/ui/views/extensions/bundle_installed_bubble.cc heading_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 65 chrome/browser/ui/views/extensions/extension_dialog.cc host->view()->SetPreferredSize(gfx::Size(width, height)); gfx 66 chrome/browser/ui/views/extensions/extension_dialog.cc host->view()->set_minimum_size(gfx::Size(min_width, min_height)); gfx 91 chrome/browser/ui/views/extensions/extension_dialog.cc gfx::Point center = parent->GetBoundsInScreen().CenterPoint(); gfx 96 chrome/browser/ui/views/extensions/extension_dialog.cc gfx::Rect screen_rect = gfx::Screen::GetScreenFor(parent)-> gfx 98 chrome/browser/ui/views/extensions/extension_dialog.cc gfx::Rect bounds_rect = gfx::Rect(x, y, width, height); gfx 136 chrome/browser/ui/views/extensions/extension_dialog.cc return host_->view()->GetPreferredSize() != gfx::Size(); gfx 140 chrome/browser/ui/views/extensions/extension_dialog.cc host_->view()->SetPreferredSize(gfx::Size(width, height)); gfx 104 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc void AddResourceIcon(const gfx::ImageSkia* skia_image, void* data) { gfx 156 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 213 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size dialog_size_; gfx 305 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc public gfx::AnimationDelegate { gfx 327 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 328 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 346 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 373 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::SlideAnimation slide_animation_; gfx 565 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const gfx::FontList& small_font_list = gfx 600 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc extension_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 630 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc permissions_header->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 654 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc permission_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 703 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc permission_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 730 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc oauth_header->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 774 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc retained_files_header->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 810 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc explanation->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 829 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc show_details_link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 842 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc checkbox_info_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 848 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size scrollable_size = scrollable_->GetPreferredSize(); gfx 849 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc scrollable_->SetBoundsRect(gfx::Rect(scrollable_size)); gfx 850 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc dialog_size_ = gfx::Size( gfx 855 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size header_only_size = scrollable_header_only_->GetPreferredSize(); gfx 856 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc scrollable_header_only_->SetBoundsRect(gfx::Rect(header_only_size)); gfx 857 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc dialog_size_ = gfx::Size( gfx 896 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc heading->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 902 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const gfx::ImageSkia* image = prompt_.icon().ToImageSkia(); gfx 903 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size size(image->width(), image->height()); gfx 905 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc size = gfx::Size(kIconSize, kIconSize); gfx 1018 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Rect bounds = GetWidget()->GetWindowBoundsInScreen(); gfx 1054 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Rect parent_bounds = parent()->GetContentsBounds(); gfx 1065 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size link_size = show_details_link_->GetPreferredSize(); gfx 1072 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size label_size = checkbox_info_label_->GetPreferredSize(); gfx 1088 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size ExtensionInstallDialogView::GetPreferredSize() { gfx 1167 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc detail_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1175 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size ExpandableContainerView::DetailsView::GetPreferredSize() { gfx 1176 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::Size size = views::View::GetPreferredSize(); gfx 1177 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc return gfx::Size(size.width(), size.height() * state_); gfx 1217 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc description_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1244 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc std::max(gfx::GetStringWidth( gfx 1247 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc gfx::GetStringWidth( gfx 1278 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc more_details_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1304 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc const gfx::Animation* animation) { gfx 1310 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc void ExpandableContainerView::AnimationEnded(const gfx::Animation* animation) { gfx 164 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc const gfx::FontList& font_list = gfx 169 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Size size(icon->width(), icon->height()); gfx 171 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc size = gfx::Size(kIconSize, kIconSize); gfx 174 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc icon_->SetImage(gfx::ImageSkia::CreateFrom1xBitmap(*icon)); gfx 184 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc heading_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 191 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc how_to_use_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 211 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc manage_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 329 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Rect contents_area = GetContentsBounds(); gfx 337 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc const gfx::Size link_size = sign_in_link_->GetPreferredSize(); gfx 342 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc const gfx::FontList font_list; gfx 344 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::ElideRectangleText(full_text, font_list, contents_area.width(), gfx 345 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc contents_area.height(), gfx::ELIDE_LONG_WORDS, gfx 348 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Point position = gfx::Point( gfx 352 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc position -= gfx::Vector2d( gfx 359 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::RenderText* line = gfx::RenderText::CreateInstance(); gfx 360 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc line->SetDirectionalityMode(gfx::DIRECTIONALITY_FROM_UI); gfx 362 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc const gfx::Size size(contents_area.width(), gfx 364 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc line->SetDisplayRect(gfx::Rect(position, size)); gfx 373 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Range(0, signin_promo_link_text_.size())); gfx 378 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 410 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc return gfx::Size(width, std::max(height, kIconSize + 2 * kVertOuterMargin)); gfx 451 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Size sz = manage_shortcut_->GetPreferredSize(); gfx 460 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Size sz; gfx 470 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 471 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc for (ScopedVector<gfx::RenderText>::const_iterator it = gfx 497 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc ScopedVector<gfx::RenderText> sign_in_promo_lines_; gfx 591 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Rect ExtensionInstalledBubbleView::GetAnchorRect() { gfx 598 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc return gfx::Rect(location_bar_view->GetOmniboxViewOrigin(), gfx 599 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc gfx::Size(0, location_bar_view->omnibox_view()->height())); gfx 53 chrome/browser/ui/views/extensions/extension_installed_bubble_view.h virtual gfx::Rect GetAnchorRect() OVERRIDE; gfx 76 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc set_anchor_view_insets(gfx::Insets(5, 0, 5, 0)); gfx 159 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc message->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 178 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc extensions->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 49 chrome/browser/ui/views/extensions/extension_popup.cc bool IsOwnerOf(gfx::NativeView child, gfx::NativeView possible_owner) { gfx 81 chrome/browser/ui/views/extensions/extension_popup.cc set_margins(gfx::Insets(margin, margin, margin, margin)); gfx 150 chrome/browser/ui/views/extensions/extension_popup.cc gfx::Size ExtensionPopup::GetPreferredSize() { gfx 152 chrome/browser/ui/views/extensions/extension_popup.cc gfx::Size sz = views::View::GetPreferredSize(); gfx 181 chrome/browser/ui/views/extensions/extension_popup.cc gfx::NativeView activated_view = widget->GetNativeView(); gfx 182 chrome/browser/ui/views/extensions/extension_popup.cc gfx::NativeView this_view = this_widget->GetNativeView(); gfx 226 chrome/browser/ui/views/extensions/extension_popup.cc gfx::NativeView native_view = popup->GetWidget()->GetNativeView(); gfx 76 chrome/browser/ui/views/extensions/extension_popup.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 39 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc gfx::NativeWindow GetParent(Browser* browser) { gfx 75 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc gfx::ImageSkia* icon); gfx 99 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 131 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc gfx::NativeWindow parent = show_in_app_list_ ? gfx 160 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc gfx::ImageSkia* icon) gfx 163 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc gfx::Size size(icon->width(), icon->height()); gfx 165 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc size = gfx::Size(kIconSize, kIconSize); gfx 173 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc heading_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 202 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc gfx::Size ExtensionUninstallDialogDelegateView::GetPreferredSize() { gfx 211 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc return gfx::Size(width, gfx 41 chrome/browser/ui/views/extensions/extension_view_views.cc gfx::Size ExtensionViewViews::GetMinimumSize() { gfx 44 chrome/browser/ui/views/extensions/extension_view_views.cc return (minimum_size_ == gfx::Size()) ? GetPreferredSize() : minimum_size_; gfx 64 chrome/browser/ui/views/extensions/extension_view_views.cc gfx::NativeCursor ExtensionViewViews::GetCursor(const ui::MouseEvent& event) { gfx 65 chrome/browser/ui/views/extensions/extension_view_views.cc return gfx::kNullCursor; gfx 87 chrome/browser/ui/views/extensions/extension_view_views.cc void ExtensionViewViews::ResizeDueToAutoResize(const gfx::Size& new_size) { gfx 103 chrome/browser/ui/views/extensions/extension_view_views.cc gfx::Size(ExtensionPopup::kMinWidth, ExtensionPopup::kMinHeight), gfx 104 chrome/browser/ui/views/extensions/extension_view_views.cc gfx::Size(ExtensionPopup::kMaxWidth, ExtensionPopup::kMaxHeight)); gfx 123 chrome/browser/ui/views/extensions/extension_view_views.cc void ExtensionViewViews::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 38 chrome/browser/ui/views/extensions/extension_view_views.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 40 chrome/browser/ui/views/extensions/extension_view_views.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 50 chrome/browser/ui/views/extensions/extension_view_views.h void set_minimum_size(const gfx::Size& minimum_size) { gfx 59 chrome/browser/ui/views/extensions/extension_view_views.h void ResizeDueToAutoResize(const gfx::Size& new_size); gfx 73 chrome/browser/ui/views/extensions/extension_view_views.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 99 chrome/browser/ui/views/extensions/extension_view_views.h gfx::Size pending_preferred_size_; gfx 100 chrome/browser/ui/views/extensions/extension_view_views.h gfx::Size minimum_size_; gfx 51 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc gfx::Size pref = GetPreferredSize(); gfx 119 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc subtext->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 164 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc unattached_text->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 328 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc const gfx::Point& point, gfx 339 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc void MediaGalleriesDialogViews::ShowContextMenu(const gfx::Point& point, gfx 346 chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc GetWidget(), NULL, gfx::Rect(point.x(), point.y(), 0, 0), gfx 59 chrome/browser/ui/views/extensions/media_galleries_dialog_views.h const gfx::Point& point, gfx 81 chrome/browser/ui/views/extensions/media_galleries_dialog_views.h void ShowContextMenu(const gfx::Point& point, gfx 48 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc gfx::Size pref = GetPreferredSize(); gfx 106 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc subtext->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 254 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc const gfx::Point& point, gfx 267 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc const gfx::Point& point, gfx 274 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.cc GetWidget(), NULL, gfx::Rect(point.x(), point.y(), 0, 0), gfx 59 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.h const gfx::Point& point, gfx 75 chrome/browser/ui/views/extensions/media_galleries_scan_result_dialog_views.h void ShowContextMenu(const gfx::Point& point, gfx 101 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc gfx::Rect area(GetLocalBounds()); gfx 138 chrome/browser/ui/views/external_protocol_dialog.cc gfx::NativeWindow parent_window = NULL; gfx 40 chrome/browser/ui/views/find_bar_controller_interactive_uitest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); gfx 112 chrome/browser/ui/views/find_bar_host.cc void FindBarHost::MoveWindowIfNecessary(const gfx::Rect& selection_rect, gfx 125 chrome/browser/ui/views/find_bar_host.cc gfx::Rect new_pos = GetDialogPosition(selection_rect); gfx 135 chrome/browser/ui/views/find_bar_host.cc const gfx::Range& selected_range) { gfx 143 chrome/browser/ui/views/find_bar_host.cc gfx::Range FindBarHost::GetSelectedRange() { gfx 222 chrome/browser/ui/views/find_bar_host.cc bool FindBarHost::GetFindBarWindowInfo(gfx::Point* position, gfx 234 chrome/browser/ui/views/find_bar_host.cc *position = gfx::Point(); gfx 240 chrome/browser/ui/views/find_bar_host.cc gfx::Rect window_rect = host()->GetWindowBoundsInScreen(); gfx 263 chrome/browser/ui/views/find_bar_host.cc gfx::Rect FindBarHost::GetDialogPosition(gfx::Rect avoid_overlapping_rect) { gfx 265 chrome/browser/ui/views/find_bar_host.cc gfx::Rect widget_bounds; gfx 268 chrome/browser/ui/views/find_bar_host.cc return gfx::Rect(); gfx 271 chrome/browser/ui/views/find_bar_host.cc gfx::Size prefsize = view()->GetPreferredSize(); gfx 279 chrome/browser/ui/views/find_bar_host.cc return gfx::Rect(); gfx 283 chrome/browser/ui/views/find_bar_host.cc gfx::Rect view_location; gfx 300 chrome/browser/ui/views/find_bar_host.cc gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( gfx 311 chrome/browser/ui/views/find_bar_host.cc void FindBarHost::SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) { gfx 329 chrome/browser/ui/views/find_bar_host.cc void FindBarHost::GetWidgetBounds(gfx::Rect* bounds) { gfx 357 chrome/browser/ui/views/find_bar_host.cc gfx::Rect visible_bounds; gfx 367 chrome/browser/ui/views/find_bar_host.cc void FindBarHost::GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect) { gfx 368 chrome/browser/ui/views/find_bar_host.cc gfx::Rect frame_rect = host()->GetTopLevelWidget()->GetWindowBoundsInScreen(); gfx 371 chrome/browser/ui/views/find_bar_host.cc gfx::Rect webcontents_rect = tab_view->GetViewBounds(); gfx 56 chrome/browser/ui/views/find_bar_host.h virtual void MoveWindowIfNecessary(const gfx::Rect& selection_rect, gfx 60 chrome/browser/ui/views/find_bar_host.h const gfx::Range& selected_range) OVERRIDE; gfx 62 chrome/browser/ui/views/find_bar_host.h virtual gfx::Range GetSelectedRange() OVERRIDE; gfx 77 chrome/browser/ui/views/find_bar_host.h virtual bool GetFindBarWindowInfo(gfx::Point* position, gfx 95 chrome/browser/ui/views/find_bar_host.h virtual gfx::Rect GetDialogPosition( gfx 96 chrome/browser/ui/views/find_bar_host.h gfx::Rect avoid_overlapping_rect) OVERRIDE; gfx 102 chrome/browser/ui/views/find_bar_host.h virtual void SetDialogPosition(const gfx::Rect& new_pos, gfx 116 chrome/browser/ui/views/find_bar_host.h virtual void GetWidgetBounds(gfx::Rect* bounds) OVERRIDE; gfx 128 chrome/browser/ui/views/find_bar_host.h void GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect); gfx 170 chrome/browser/ui/views/find_bar_view.cc const gfx::Range& selected_range) { gfx 179 chrome/browser/ui/views/find_bar_view.cc gfx::Range FindBarView::GetSelectedRange() const { gfx 241 chrome/browser/ui/views/find_bar_view.cc void FindBarView::OnPaint(gfx::Canvas* canvas) { gfx 247 chrome/browser/ui/views/find_bar_view.cc const gfx::Rect text_bounds(find_text_x, find_next_button_->y(), gfx 251 chrome/browser/ui/views/find_bar_view.cc gfx::Rect background_bounds = text_bounds; gfx 258 chrome/browser/ui/views/find_bar_view.cc canvas->ClipRect(gfx::Rect(0, 0, find_previous_button_->x(), height())); gfx 268 chrome/browser/ui/views/find_bar_view.cc gfx::Rect match_count_background_bounds(match_count_text_->bounds()); gfx 286 chrome/browser/ui/views/find_bar_view.cc gfx::Size sz = close_button_->GetPreferredSize(); gfx 317 chrome/browser/ui/views/find_bar_view.cc sz.SetToMax(gfx::Size(kMatchCountMinWidth, 0)); gfx 342 chrome/browser/ui/views/find_bar_view.cc gfx::Size FindBarView::GetPreferredSize() { gfx 343 chrome/browser/ui/views/find_bar_view.cc gfx::Size prefsize = find_text_->GetPreferredSize(); gfx 457 chrome/browser/ui/views/find_bar_view.cc find_bar_host()->MoveWindowIfNecessary(gfx::Rect(), false); gfx 49 chrome/browser/ui/views/find_bar_view.h const gfx::Range& selected_range); gfx 51 chrome/browser/ui/views/find_bar_view.h gfx::Range GetSelectedRange() const; gfx 71 chrome/browser/ui/views/find_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 73 chrome/browser/ui/views/find_bar_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 40 chrome/browser/ui/views/first_run_bubble.cc const gfx::FontList& original_font_list = gfx 48 chrome/browser/ui/views/first_run_bubble.cc original_font_list.Derive(2, gfx::Font::BOLD)); gfx 84 chrome/browser/ui/views/first_run_bubble.cc gfx::Insets(kAnchorVerticalInset, 0, kAnchorVerticalInset, 0)); gfx 96 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect AppPanelBrowserFrameView::GetBoundsForTabStrip( gfx 100 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc return gfx::Rect(); gfx 115 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Size AppPanelBrowserFrameView::GetMinimumSize() { gfx 116 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Size min_size(browser_view()->GetMinimumSize()); gfx 130 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect AppPanelBrowserFrameView::GetBoundsForClientView() const { gfx 134 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect AppPanelBrowserFrameView::GetWindowBoundsForClientBounds( gfx 135 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc const gfx::Rect& client_bounds) const { gfx 138 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), gfx 144 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc int AppPanelBrowserFrameView::NonClientHitTest(const gfx::Point& point) { gfx 152 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect sysmenu_rect(IconBounds()); gfx 177 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::GetWindowMask(const gfx::Size& size, gfx 178 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Path* window_mask) { gfx 215 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::OnPaint(gfx::Canvas* canvas) { gfx 251 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia AppPanelBrowserFrameView::GetFaviconForTabIconView() { gfx 288 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect AppPanelBrowserFrameView::IconBounds() const { gfx 309 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc return gfx::Rect(frame_thickness + kIconLeftSpacing, y, size, size); gfx 312 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintRestoredFrameBorder(gfx::Canvas* canvas) { gfx 315 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* top_left_corner = gfx 317 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* top_right_corner = gfx 319 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* top_edge = rb.GetImageSkiaNamed(IDR_WINDOW_TOP_CENTER); gfx 320 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* right_edge = rb.GetImageSkiaNamed(IDR_WINDOW_RIGHT_SIDE); gfx 321 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* left_edge = rb.GetImageSkiaNamed(IDR_WINDOW_LEFT_SIDE); gfx 322 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* bottom_left_corner = gfx 324 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* bottom_right_corner = gfx 326 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* bottom_edge = rb.GetImageSkiaNamed(IDR_WINDOW_BOTTOM_CENTER); gfx 329 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* theme_frame; gfx 341 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(0, 0, width(), theme_frame->height()), gfx 347 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(0, theme_frame->height(), left_edge->width(), gfx 349 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(width() - right_edge->width(), gfx 355 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->FillRect(gfx::Rect(left_edge->width(), gfx 393 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintMaximizedFrameBorder(gfx::Canvas* canvas) { gfx 396 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* frame_image = rb.GetImageSkiaNamed(IDR_FRAME_APP_PANEL); gfx 402 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* titlebar_bottom = rb.GetImageSkiaNamed(IDR_APP_TOP_CENTER); gfx 409 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintTitleBar(gfx::Canvas* canvas) { gfx 412 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect rect = title_bounds_; gfx 418 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc void AppPanelBrowserFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { gfx 419 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect client_area_bounds = CalculateClientAreaBounds(width(), height()); gfx 423 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* top_left = rb.GetImageSkiaNamed(IDR_APP_TOP_LEFT); gfx 424 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* top = rb.GetImageSkiaNamed(IDR_APP_TOP_CENTER); gfx 425 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* top_right = rb.GetImageSkiaNamed(IDR_APP_TOP_RIGHT); gfx 426 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* right = rb.GetImageSkiaNamed(IDR_CONTENT_RIGHT_SIDE); gfx 427 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* bottom_right = gfx 429 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* bottom = rb.GetImageSkiaNamed(IDR_CONTENT_BOTTOM_CENTER); gfx 430 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* bottom_left = gfx 432 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::ImageSkia* left = rb.GetImageSkiaNamed(IDR_CONTENT_LEFT_SIDE); gfx 462 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc canvas->DrawRect(gfx::Rect( gfx 478 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); gfx 491 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect icon_bounds(IconBounds()); gfx 508 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Rect AppPanelBrowserFrameView::CalculateClientAreaBounds(int width, gfx 512 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc return gfx::Rect(border_thickness, top_height, gfx 32 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; gfx 36 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 40 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 41 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 42 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 43 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 44 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 45 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 50 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 59 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; gfx 82 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h gfx::Rect IconBounds() const; gfx 87 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintRestoredFrameBorder(gfx::Canvas* canvas); gfx 88 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintMaximizedFrameBorder(gfx::Canvas* canvas); gfx 89 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintTitleBar(gfx::Canvas* canvas); gfx 90 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); gfx 97 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; gfx 100 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h gfx::Rect title_bounds_; gfx 109 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h gfx::Rect client_view_bounds_; gfx 10 chrome/browser/ui/views/frame/browser_desktop_window_tree_host.h namespace gfx { gfx 45 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE { gfx 138 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc gfx::Insets* insets) const { gfx 314 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc gfx::Rect tabstrip_bounds( gfx 316 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc tabstrip_bounds = gfx::win::DIPToScreenRect(tabstrip_bounds); gfx 44 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.h virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE; gfx 81 chrome/browser/ui/views/frame/browser_frame.cc const gfx::FontList& BrowserFrame::GetTitleFontList() { gfx 82 chrome/browser/ui/views/frame/browser_frame.cc static const gfx::FontList* title_font_list = new gfx::FontList(); gfx 168 chrome/browser/ui/views/frame/browser_frame.cc gfx::Rect BrowserFrame::GetBoundsForTabStrip(views::View* tabstrip) const { gfx 215 chrome/browser/ui/views/frame/browser_frame.cc void BrowserFrame::SchedulePaintInRect(const gfx::Rect& rect) { gfx 243 chrome/browser/ui/views/frame/browser_frame.cc const gfx::Point& p, gfx 252 chrome/browser/ui/views/frame/browser_frame.cc gfx::Point point_in_view_coords(p); gfx 258 chrome/browser/ui/views/frame/browser_frame.cc gfx::Rect(p, gfx::Size(0,0)), views::MenuItemView::TOPLEFT, gfx 24 chrome/browser/ui/views/frame/browser_frame.h namespace gfx { gfx 48 chrome/browser/ui/views/frame/browser_frame.h static const gfx::FontList& GetTitleFontList(); gfx 62 chrome/browser/ui/views/frame/browser_frame.h gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const; gfx 88 chrome/browser/ui/views/frame/browser_frame.h virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; gfx 93 chrome/browser/ui/views/frame/browser_frame.h const gfx::Point& p, gfx 42 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void TileRoundRect(gfx::Canvas* canvas, gfx 43 chrome/browser/ui/views/frame/browser_header_painter_ash.cc const gfx::ImageSkia& image, gfx 45 chrome/browser/ui/views/frame/browser_header_painter_ash.cc const gfx::Rect& bounds, gfx 49 chrome/browser/ui/views/frame/browser_header_painter_ash.cc SkRect rect = gfx::RectToSkRect(bounds); gfx 64 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void PaintFrameImagesInRoundRect(gfx::Canvas* canvas, gfx 65 chrome/browser/ui/views/frame/browser_header_painter_ash.cc const gfx::ImageSkia& frame_image, gfx 66 chrome/browser/ui/views/frame/browser_header_painter_ash.cc const gfx::ImageSkia& frame_overlay_image, gfx 68 chrome/browser/ui/views/frame/browser_header_painter_ash.cc const gfx::Rect& bounds, gfx 87 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Rect overlay_bounds = bounds; gfx 89 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Rect(bounds.origin(), frame_overlay_image.size())); gfx 98 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Canvas temporary_canvas(bounds.size(), canvas->image_scale(), false); gfx 104 chrome/browser/ui/views/frame/browser_header_painter_ash.cc TileRoundRect(canvas, gfx::ImageSkia(temporary_canvas.ExtractImageRep()), gfx 124 chrome/browser/ui/views/frame/browser_header_painter_ash.cc activation_animation_(new gfx::SlideAnimation(this)) { gfx 158 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void BrowserHeaderPainterAsh::PaintHeader(gfx::Canvas* canvas, Mode mode) { gfx 190 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia inactive_frame_image; gfx 191 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia inactive_frame_overlay_image; gfx 207 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia active_frame_image; gfx 208 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia active_frame_overlay_image; gfx 240 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Size caption_button_container_size = gfx 274 chrome/browser/ui/views/frame/browser_header_painter_ash.cc const gfx::Animation* animation) { gfx 282 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Canvas* canvas) { gfx 284 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia top_left_corner = *rb.GetImageSkiaNamed( gfx 286 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia top_right_corner = *rb.GetImageSkiaNamed( gfx 288 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia top_edge = *rb.GetImageSkiaNamed( gfx 290 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia left_edge = *rb.GetImageSkiaNamed( gfx 292 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia right_edge = *rb.GetImageSkiaNamed( gfx 325 chrome/browser/ui/views/frame/browser_header_painter_ash.cc void BrowserHeaderPainterAsh::PaintTitleBar(gfx::Canvas* canvas) { gfx 327 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Rect title_bounds = GetTitleBounds(); gfx 335 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 340 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia* frame_image, gfx 341 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia* frame_overlay_image) const { gfx 346 chrome/browser/ui/views/frame/browser_header_painter_ash.cc *frame_overlay_image = gfx::ImageSkia(); gfx 352 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia* frame_image, gfx 353 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia* frame_overlay_image) const { gfx 382 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia() : *tp->GetImageSkiaNamed(frame_overlay_image_id); gfx 385 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::ImageSkia BrowserHeaderPainterAsh::GetFrameImageForNonTabbedBrowser( gfx 467 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Rect BrowserHeaderPainterAsh::GetPaintedBounds() const { gfx 468 chrome/browser/ui/views/frame/browser_header_painter_ash.cc return gfx::Rect(view_->width(), painted_height_); gfx 471 chrome/browser/ui/views/frame/browser_header_painter_ash.cc gfx::Rect BrowserHeaderPainterAsh::GetTitleBounds() const { gfx 20 chrome/browser/ui/views/frame/browser_header_painter_ash.h namespace gfx { gfx 32 chrome/browser/ui/views/frame/browser_header_painter_ash.h public gfx::AnimationDelegate { gfx 47 chrome/browser/ui/views/frame/browser_header_painter_ash.h virtual void PaintHeader(gfx::Canvas* canvas, Mode mode) OVERRIDE; gfx 55 chrome/browser/ui/views/frame/browser_header_painter_ash.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 58 chrome/browser/ui/views/frame/browser_header_painter_ash.h void PaintHighlightForRestoredWindow(gfx::Canvas* canvas); gfx 61 chrome/browser/ui/views/frame/browser_header_painter_ash.h void PaintTitleBar(gfx::Canvas* canvas); gfx 67 chrome/browser/ui/views/frame/browser_header_painter_ash.h gfx::ImageSkia* frame_image, gfx 68 chrome/browser/ui/views/frame/browser_header_painter_ash.h gfx::ImageSkia* frame_overlay_image) const; gfx 75 chrome/browser/ui/views/frame/browser_header_painter_ash.h gfx::ImageSkia* frame_image, gfx 76 chrome/browser/ui/views/frame/browser_header_painter_ash.h gfx::ImageSkia* frame_overlay_image) const; gfx 80 chrome/browser/ui/views/frame/browser_header_painter_ash.h gfx::ImageSkia GetFrameImageForNonTabbedBrowser(Mode mode) const; gfx 88 chrome/browser/ui/views/frame/browser_header_painter_ash.h gfx::Rect GetPaintedBounds() const; gfx 91 chrome/browser/ui/views/frame/browser_header_painter_ash.h gfx::Rect GetTitleBounds() const; gfx 114 chrome/browser/ui/views/frame/browser_header_painter_ash.h scoped_ptr<gfx::SlideAnimation> activation_animation_; gfx 89 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc gfx::Image avatar; gfx 90 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc gfx::Image taskbar_badge_avatar; gfx 32 chrome/browser/ui/views/frame/browser_non_client_frame_view.h virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const = 0; gfx 129 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect BrowserNonClientFrameViewAsh::GetBoundsForTabStrip( gfx 132 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc return gfx::Rect(); gfx 141 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc return gfx::Rect(left_inset, gfx 182 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect BrowserNonClientFrameViewAsh::GetBoundsForClientView() const { gfx 192 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect BrowserNonClientFrameViewAsh::GetWindowBoundsForClientBounds( gfx 193 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc const gfx::Rect& client_bounds) const { gfx 197 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc int BrowserNonClientFrameViewAsh::NonClientHitTest(const gfx::Point& point) { gfx 213 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Point client_point(point); gfx 216 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect tabstrip_bounds(browser_view()->tabstrip()->bounds()); gfx 223 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc void BrowserNonClientFrameViewAsh::GetWindowMask(const gfx::Size& size, gfx 224 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Path* window_mask) { gfx 251 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc void BrowserNonClientFrameViewAsh::OnPaint(gfx::Canvas* canvas) { gfx 298 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc bool BrowserNonClientFrameViewAsh::HitTestRect(const gfx::Rect& rect) const { gfx 308 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::RectF rect_in_tabstrip_coords_f(rect); gfx 310 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect rect_in_tabstrip_coords = gfx::ToEnclosingRect( gfx 329 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Size BrowserNonClientFrameViewAsh::GetMinimumSize() { gfx 330 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Size min_client_view_size(frame()->client_view()->GetMinimumSize()); gfx 341 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc return gfx::Size(min_width, min_client_view_size.height()); gfx 372 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::ImageSkia BrowserNonClientFrameViewAsh::GetFaviconForTabIconView() { gfx 375 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc return gfx::ImageSkia(); gfx 416 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::ImageSkia incognito_icon = browser_view()->GetOTRAvatarIcon(); gfx 432 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect avatar_bounds(kAvatarSideSpacing, gfx 455 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Canvas* canvas) { gfx 457 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::ImageSkia* frame_image = GetThemeProvider()->GetImageSkiaNamed( gfx 462 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc void BrowserNonClientFrameViewAsh::PaintToolbarBackground(gfx::Canvas* canvas) { gfx 463 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect toolbar_bounds(browser_view()->GetToolbarBounds()); gfx 466 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Point toolbar_origin(toolbar_bounds.origin()); gfx 486 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->FillRect(gfx::Rect(x, bottom_y, w, bottom_edge_height), gfx 494 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::ImageSkia* theme_toolbar = tp->GetImageSkiaNamed(IDR_THEME_TOOLBAR); gfx 505 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::ImageSkia* toolbar_top = tp->GetImageSkiaNamed(IDR_TOOLBAR_SHADE_TOP); gfx 512 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::ImageSkia* toolbar_left = tp->GetImageSkiaNamed(IDR_TOOLBAR_SHADE_LEFT); gfx 518 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::ImageSkia* toolbar_right = gfx 528 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc gfx::Rect(x + kClientEdgeThickness, gfx 536 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc void BrowserNonClientFrameViewAsh::PaintContentEdge(gfx::Canvas* canvas) { gfx 538 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc canvas->FillRect(gfx::Rect(0, caption_button_container_->bounds().bottom(), gfx 39 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; gfx 45 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 46 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 47 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 48 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 49 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual void GetWindowMask(const gfx::Size& size, gfx 50 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h gfx::Path* window_mask) OVERRIDE; gfx 56 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 59 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 61 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 69 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; gfx 106 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h void PaintImmersiveLightbarStyleHeader(gfx::Canvas* canvas); gfx 108 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h void PaintToolbarBackground(gfx::Canvas* canvas); gfx 112 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h void PaintContentEdge(gfx::Canvas* canvas); gfx 40 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc widget->SetBounds(gfx::Rect(10, 10, kWindowWidth, kWindowHeight)); gfx 41 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc gfx::Point top_edge(kWindowWidth / 2, 0); gfx 45 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc gfx::Point below_resize(kWindowWidth / 2, ash::kResizeInsideBoundsSize); gfx 212 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc const gfx::Rect initial = frame_view->caption_button_container_->bounds(); gfx 214 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc const gfx::Rect during_maximize = frame_view->caption_button_container_-> gfx 218 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc const gfx::Rect after_restore = frame_view->caption_button_container_-> gfx 168 chrome/browser/ui/views/frame/browser_root_view.cc gfx::Point tab_loc_in_host; gfx 176 chrome/browser/ui/views/frame/browser_root_view.cc gfx::Point tab_strip_loc(event.location()); gfx 191 chrome/browser/ui/views/frame/browser_view.cc void PaintDetachedBookmarkBar(gfx::Canvas* canvas, gfx 222 chrome/browser/ui/views/frame/browser_view.cc void PaintAttachedBookmarkBar(gfx::Canvas* canvas, gfx 228 chrome/browser/ui/views/frame/browser_view.cc gfx::Point background_image_offset = gfx 230 chrome/browser/ui/views/frame/browser_view.cc gfx::Point(view->GetMirroredX(), view->y())); gfx 292 chrome/browser/ui/views/frame/browser_view.cc virtual gfx::Rect GetBoundsForTabStripInBrowserView() const OVERRIDE { gfx 293 chrome/browser/ui/views/frame/browser_view.cc gfx::RectF bounds_f(browser_view_->frame()->GetBoundsForTabStrip( gfx 297 chrome/browser/ui/views/frame/browser_view.cc return gfx::ToEnclosingRect(bounds_f); gfx 340 chrome/browser/ui/views/frame/browser_view.cc virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; gfx 362 chrome/browser/ui/views/frame/browser_view.cc void BookmarkExtensionBackground::Paint(gfx::Canvas* canvas, gfx 499 chrome/browser/ui/views/frame/browser_view.cc gfx::NativeWindow window) { gfx 521 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect BrowserView::GetToolbarBounds() const { gfx 522 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect toolbar_bounds(toolbar_->bounds()); gfx 530 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect BrowserView::GetFindBarBoundingBox() const { gfx 541 chrome/browser/ui/views/frame/browser_view.cc gfx::Point BrowserView::OffsetPointForToolbarBackgroundImage( gfx 542 chrome/browser/ui/views/frame/browser_view.cc const gfx::Point& point) const { gfx 546 chrome/browser/ui/views/frame/browser_view.cc gfx::Point window_point(point + GetMirroredPosition().OffsetFromOrigin()); gfx 648 chrome/browser/ui/views/frame/browser_view.cc gfx::ImageSkia BrowserView::GetOTRAvatarIcon() const { gfx 698 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::SetBounds(const gfx::Rect& bounds) { gfx 732 chrome/browser/ui/views/frame/browser_view.cc gfx::NativeWindow BrowserView::GetNativeWindow() { gfx 881 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect BrowserView::GetRestoredBounds() const { gfx 893 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect BrowserView::GetBounds() const { gfx 1174 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect BrowserView::GetRootWindowResizerRect() const { gfx 1177 chrome/browser/ui/views/frame/browser_view.cc return gfx::Rect(); gfx 1428 chrome/browser/ui/views/frame/browser_view.cc const gfx::Rect& bounds) { gfx 1587 chrome/browser/ui/views/frame/browser_view.cc gfx::ImageSkia BrowserView::GetWindowAppIcon() { gfx 1593 chrome/browser/ui/views/frame/browser_view.cc return gfx::ImageSkia::CreateFrom1xBitmap( gfx 1600 chrome/browser/ui/views/frame/browser_view.cc gfx::ImageSkia BrowserView::GetWindowIcon() { gfx 1603 chrome/browser/ui/views/frame/browser_view.cc return gfx::ImageSkia(); gfx 1646 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::SaveWindowPlacement(const gfx::Rect& bounds, gfx 1662 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect* bounds, gfx 1686 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect window_rect = frame_->non_client_view()-> gfx 1693 chrome/browser/ui/views/frame/browser_view.cc gfx::Size size = window_rect.size(); gfx 1818 chrome/browser/ui/views/frame/browser_view.cc content::Source<gfx::NativeWindow>(frame_->GetNativeWindow()), gfx 1823 chrome/browser/ui/views/frame/browser_view.cc int BrowserView::NonClientHitTest(const gfx::Point& point) { gfx 1827 chrome/browser/ui/views/frame/browser_view.cc gfx::Size BrowserView::GetMinimumSize() { gfx 1848 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::PaintChildren(gfx::Canvas* canvas) { gfx 1926 chrome/browser/ui/views/frame/browser_view.cc gfx::Point anchor(toolbar_->location_bar()->GetLocationBarAnchorPoint()); gfx 2425 chrome/browser/ui/views/frame/browser_view.cc const gfx::Rect& rect) { gfx 2426 chrome/browser/ui/views/frame/browser_view.cc gfx::Point origin(rect.origin()); gfx 2428 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect bounds(origin, rect.size()); gfx 2438 chrome/browser/ui/views/frame/browser_view.cc gfx::Point origin; gfx 2440 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect bounds(origin, size()); gfx 2458 chrome/browser/ui/views/frame/browser_view.cc const gfx::Rect& rect, gfx 2462 chrome/browser/ui/views/frame/browser_view.cc gfx::Point origin(rect.origin()); gfx 2464 chrome/browser/ui/views/frame/browser_view.cc gfx::Rect bounds(origin, rect.size()); gfx 2546 chrome/browser/ui/views/frame/browser_view.cc gfx::NativeView native_view = contents->GetView()->GetContentNativeView(); gfx 2586 chrome/browser/ui/views/frame/browser_view.cc gfx::Point icon_bottom( gfx 2589 chrome/browser/ui/views/frame/browser_view.cc gfx::Point infobar_top(0, infobar_container_->GetVerticalOverlap(NULL)); gfx 97 chrome/browser/ui/views/frame/browser_view.h public gfx::SysColorChangeListener, gfx 119 chrome/browser/ui/views/frame/browser_view.h static BrowserView* GetBrowserViewForNativeWindow(gfx::NativeWindow window); gfx 142 chrome/browser/ui/views/frame/browser_view.h gfx::Rect GetToolbarBounds() const; gfx 149 chrome/browser/ui/views/frame/browser_view.h gfx::Rect GetFindBarBoundingBox() const; gfx 158 chrome/browser/ui/views/frame/browser_view.h gfx::Point OffsetPointForToolbarBackgroundImage( gfx 159 chrome/browser/ui/views/frame/browser_view.h const gfx::Point& point) const; gfx 232 chrome/browser/ui/views/frame/browser_view.h gfx::ImageSkia GetOTRAvatarIcon() const; gfx 268 chrome/browser/ui/views/frame/browser_view.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 276 chrome/browser/ui/views/frame/browser_view.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 291 chrome/browser/ui/views/frame/browser_view.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 293 chrome/browser/ui/views/frame/browser_view.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 326 chrome/browser/ui/views/frame/browser_view.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 372 chrome/browser/ui/views/frame/browser_view.h const gfx::Rect& bounds) OVERRIDE; gfx 377 chrome/browser/ui/views/frame/browser_view.h const gfx::Rect& rect) OVERRIDE; gfx 380 chrome/browser/ui/views/frame/browser_view.h const gfx::Rect& rect, gfx 420 chrome/browser/ui/views/frame/browser_view.h virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; gfx 421 chrome/browser/ui/views/frame/browser_view.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 425 chrome/browser/ui/views/frame/browser_view.h virtual void SaveWindowPlacement(const gfx::Rect& bounds, gfx 429 chrome/browser/ui/views/frame/browser_view.h gfx::Rect* bounds, gfx 445 chrome/browser/ui/views/frame/browser_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 446 chrome/browser/ui/views/frame/browser_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 459 chrome/browser/ui/views/frame/browser_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 741 chrome/browser/ui/views/frame/browser_view.h gfx::ScopedSysColorChangeListener color_change_listener_; gfx 39 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); gfx 67 chrome/browser/ui/views/frame/browser_view_focus_uitest.cc gfx::NativeWindow window2 = browser2->window()->GetNativeWindow(); gfx 51 chrome/browser/ui/views/frame/browser_view_layout.cc bool ConvertedHitTest(views::View* src, views::View* dst, gfx::Point* point) { gfx 81 chrome/browser/ui/views/frame/browser_view_layout.cc virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE { gfx 83 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect content_area = view->ConvertRectToWidget(view->GetLocalBounds()); gfx 86 chrome/browser/ui/views/frame/browser_view_layout.cc return gfx::Point(middle_x - size.width() / 2, top); gfx 89 chrome/browser/ui/views/frame/browser_view_layout.cc virtual gfx::Size GetMaximumDialogSize() OVERRIDE { gfx 91 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect content_area = view->ConvertRectToWidget(view->GetLocalBounds()); gfx 93 chrome/browser/ui/views/frame/browser_view_layout.cc return gfx::Size(content_area.width(), content_area.bottom() - top); gfx 97 chrome/browser/ui/views/frame/browser_view_layout.cc virtual gfx::NativeView GetHostView() const OVERRIDE { gfx 98 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::NativeWindow window = gfx 170 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size BrowserViewLayout::GetMinimumSize() { gfx 171 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size tabstrip_size( gfx 173 chrome/browser/ui/views/frame/browser_view_layout.cc tab_strip_->GetMinimumSize() : gfx::Size()); gfx 174 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size toolbar_size( gfx 177 chrome/browser/ui/views/frame/browser_view_layout.cc toolbar_->GetMinimumSize() : gfx::Size()); gfx 180 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size bookmark_bar_size; gfx 187 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size infobar_container_size(infobar_container_->GetMinimumSize()); gfx 190 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size contents_size(contents_container_->GetMinimumSize()); gfx 203 chrome/browser/ui/views/frame/browser_view_layout.cc return gfx::Size(min_width, min_height); gfx 206 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect BrowserViewLayout::GetFindBarBoundingBox() const { gfx 215 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect bounding_box = contents_container_->ConvertRectToWidget( gfx 218 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect top_container_bounds = top_container_->ConvertRectToWidget( gfx 245 chrome/browser/ui/views/frame/browser_view_layout.cc int scrollbar_width = gfx::scrollbar_size(); gfx 253 chrome/browser/ui/views/frame/browser_view_layout.cc int BrowserViewLayout::NonClientHitTest(const gfx::Point& point) { gfx 261 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Point point_in_browser_view_coords(point); gfx 264 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Point test_point(point); gfx 293 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect bv_bounds = browser_view_->bounds(); gfx 303 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Point window_switcher_point(point_in_browser_view_coords); gfx 341 chrome/browser/ui/views/frame/browser_view_layout.cc tab_strip_->SetBackgroundOffset(gfx::Point(x, y)); gfx 364 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect(), true); gfx 376 chrome/browser/ui/views/frame/browser_view_layout.cc const gfx::Rect dialog_bounds(dialog_host_->GetDialogPosition(gfx::Size()), gfx 386 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size BrowserViewLayout::GetPreferredSize(views::View* host) { gfx 387 chrome/browser/ui/views/frame/browser_view_layout.cc return gfx::Size(); gfx 401 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect tabstrip_bounds(delegate_->GetBoundsForTabStripInBrowserView()); gfx 420 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Size ps = switcher_button->GetPreferredSize(); gfx 518 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect contents_container_bounds(vertical_layout_rect_.x(), gfx 548 chrome/browser/ui/views/frame/browser_view_layout.cc gfx::Rect top_container_bounds(vertical_layout_rect_.width(), height); gfx 24 chrome/browser/ui/views/frame/browser_view_layout.h namespace gfx { gfx 74 chrome/browser/ui/views/frame/browser_view_layout.h gfx::Size GetMinimumSize(); gfx 77 chrome/browser/ui/views/frame/browser_view_layout.h gfx::Rect GetFindBarBoundingBox() const; gfx 83 chrome/browser/ui/views/frame/browser_view_layout.h int NonClientHitTest(const gfx::Point& point); gfx 87 chrome/browser/ui/views/frame/browser_view_layout.h virtual gfx::Size GetPreferredSize(views::View* host) OVERRIDE; gfx 157 chrome/browser/ui/views/frame/browser_view_layout.h gfx::Rect vertical_layout_rect_; gfx 163 chrome/browser/ui/views/frame/browser_view_layout.h gfx::Rect latest_dialog_bounds_; gfx 10 chrome/browser/ui/views/frame/browser_view_layout_delegate.h namespace gfx { gfx 26 chrome/browser/ui/views/frame/browser_view_layout_delegate.h virtual gfx::Rect GetBoundsForTabStripInBrowserView() const = 0; gfx 52 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc virtual gfx::Rect GetBoundsForTabStripInBrowserView() const OVERRIDE { gfx 53 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc return gfx::Rect(); gfx 90 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc explicit MockView(gfx::Size initial_size) gfx 92 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc SetBoundsRect(gfx::Rect(gfx::Point(), size_)); gfx 97 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 102 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc gfx::Size size_; gfx 122 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc const gfx::Size& top_container_size) const OVERRIDE { return 0; } gfx 126 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc const gfx::Rect& new_visible_bounds) OVERRIDE {} gfx 161 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc root_view_.reset(new MockView(gfx::Size(800, 600))); gfx 165 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc top_container_ = new MockView(gfx::Size(800, 60)); gfx 168 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc toolbar_ = new MockView(gfx::Size(800, 30)); gfx 175 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc contents_web_view_ = new MockView(gfx::Size(800, 600)); gfx 176 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc devtools_web_view_ = new MockView(gfx::Size(800, 600)); gfx 179 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc contents_container_ = new MockView(gfx::Size(800, 600)); gfx 258 chrome/browser/ui/views/frame/browser_view_layout_unittest.cc scoped_ptr<MockView> download_shelf(new MockView(gfx::Size(800, 50))); gfx 26 chrome/browser/ui/views/frame/browser_view_unittest.cc gfx::Point ExpectedTabStripOrigin(BrowserView* browser_view) { gfx 27 chrome/browser/ui/views/frame/browser_view_unittest.cc gfx::Rect tabstrip_bounds( gfx 29 chrome/browser/ui/views/frame/browser_view_unittest.cc gfx::Point tabstrip_origin(tabstrip_bounds.origin()); gfx 96 chrome/browser/ui/views/frame/browser_view_unittest.cc gfx::Point expected_tabstrip_origin = ExpectedTabStripOrigin(browser_view()); gfx 196 chrome/browser/ui/views/frame/browser_view_unittest.cc gfx::Point header_offset; gfx 47 chrome/browser/ui/views/frame/contents_layout_manager.cc gfx::Size container_size(width, height); gfx 48 chrome/browser/ui/views/frame/contents_layout_manager.cc gfx::Rect old_devtools_bounds(devtools_view_->bounds()); gfx 49 chrome/browser/ui/views/frame/contents_layout_manager.cc gfx::Rect old_contents_bounds(contents_view_->bounds()); gfx 50 chrome/browser/ui/views/frame/contents_layout_manager.cc gfx::Rect new_devtools_bounds; gfx 51 chrome/browser/ui/views/frame/contents_layout_manager.cc gfx::Rect new_contents_bounds; gfx 65 chrome/browser/ui/views/frame/contents_layout_manager.cc gfx::Size ContentsLayoutManager::GetPreferredSize(views::View* host) { gfx 66 chrome/browser/ui/views/frame/contents_layout_manager.cc return gfx::Size(); gfx 29 chrome/browser/ui/views/frame/contents_layout_manager.h virtual gfx::Size GetPreferredSize(views::View* host) OVERRIDE; gfx 108 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect GlassBrowserFrameView::GetBoundsForTabStrip( gfx 140 chrome/browser/ui/views/frame/glass_browser_frame_view.cc return gfx::Rect(tabstrip_x, NonClientTopBorderHeight(), gfx 165 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Size GlassBrowserFrameView::GetMinimumSize() { gfx 166 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Size min_size(browser_view()->GetMinimumSize()); gfx 169 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Insets insets = GetClientAreaInsets(); gfx 190 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect GlassBrowserFrameView::GetBoundsForClientView() const { gfx 194 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect GlassBrowserFrameView::GetWindowBoundsForClientBounds( gfx 195 chrome/browser/ui/views/frame/glass_browser_frame_view.cc const gfx::Rect& client_bounds) const { gfx 205 chrome/browser/ui/views/frame/glass_browser_frame_view.cc return gfx::Rect(rect); gfx 208 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Insets insets = GetClientAreaInsets(); gfx 209 chrome/browser/ui/views/frame/glass_browser_frame_view.cc return gfx::Rect(std::max(0, client_bounds.x() - insets.left()), gfx 215 chrome/browser/ui/views/frame/glass_browser_frame_view.cc int GlassBrowserFrameView::NonClientHitTest(const gfx::Point& point) { gfx 237 chrome/browser/ui/views/frame/glass_browser_frame_view.cc if (gfx::Rect(nonclient_border_thickness, GetSystemMetrics(SM_CXSIZEFRAME), gfx 257 chrome/browser/ui/views/frame/glass_browser_frame_view.cc void GlassBrowserFrameView::OnPaint(gfx::Canvas* canvas) { gfx 275 chrome/browser/ui/views/frame/glass_browser_frame_view.cc bool GlassBrowserFrameView::HitTestRect(const gfx::Rect& rect) const { gfx 316 chrome/browser/ui/views/frame/glass_browser_frame_view.cc return gfx::win::GetSystemMetricsInDIP(SM_CYSIZEFRAME) + gfx 321 chrome/browser/ui/views/frame/glass_browser_frame_view.cc void GlassBrowserFrameView::PaintToolbarBackground(gfx::Canvas* canvas) { gfx 324 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect toolbar_bounds(browser_view()->GetToolbarBounds()); gfx 325 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Point toolbar_origin(toolbar_bounds.origin()); gfx 332 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* theme_toolbar = tp->GetImageSkiaNamed(IDR_THEME_TOOLBAR); gfx 333 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* toolbar_left = tp->GetImageSkiaNamed( gfx 335 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* toolbar_center = tp->GetImageSkiaNamed( gfx 351 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* toolbar_left_mask = gfx 353 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* toolbar_right_mask = gfx 384 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect(x + kClientEdgeThickness, gfx 392 chrome/browser/ui/views/frame/glass_browser_frame_view.cc void GlassBrowserFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { gfx 394 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect client_area_bounds = CalculateClientAreaBounds(width(), height()); gfx 406 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* right = tp->GetImageSkiaNamed(IDR_CONTENT_RIGHT_SIDE); gfx 412 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* bottom = tp->GetImageSkiaNamed(IDR_CONTENT_BOTTOM_CENTER); gfx 416 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* bottom_left = gfx 420 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia* left = tp->GetImageSkiaNamed(IDR_CONTENT_LEFT_SIDE); gfx 429 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - kClientEdgeThickness, gfx 433 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x(), client_area_bottom, gfx 436 chrome/browser/ui/views/frame/glass_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.right(), client_area_top, gfx 447 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Size label_size = new_avatar_button()->GetPreferredSize(); gfx 462 chrome/browser/ui/views/frame/glass_browser_frame_view.cc button_y + gfx::win::GetSystemMetricsInDIP(SM_CXMENUSIZE)); gfx 469 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia incognito_icon = browser_view()->GetOTRAvatarIcon(); gfx 495 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Insets GlassBrowserFrameView::GetClientAreaInsets() const { gfx 497 chrome/browser/ui/views/frame/glass_browser_frame_view.cc return gfx::Insets(); gfx 501 chrome/browser/ui/views/frame/glass_browser_frame_view.cc return gfx::Insets(top_height, gfx 507 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect GlassBrowserFrameView::CalculateClientAreaBounds(int width, gfx 509 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::Rect bounds(0, 0, width, height); gfx 533 chrome/browser/ui/views/frame/glass_browser_frame_view.cc gfx::ImageSkia icon = browser_view()->GetWindowIcon(); gfx 26 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; gfx 30 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 33 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 34 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 35 chrome/browser/ui/views/frame/glass_browser_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 36 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 37 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) gfx 45 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 47 chrome/browser/ui/views/frame/glass_browser_frame_view.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 67 chrome/browser/ui/views/frame/glass_browser_frame_view.h void PaintToolbarBackground(gfx::Canvas* canvas); gfx 68 chrome/browser/ui/views/frame/glass_browser_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); gfx 76 chrome/browser/ui/views/frame/glass_browser_frame_view.h gfx::Insets GetClientAreaInsets() const; gfx 79 chrome/browser/ui/views/frame/glass_browser_frame_view.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; gfx 94 chrome/browser/ui/views/frame/glass_browser_frame_view.h gfx::Rect avatar_bounds_; gfx 97 chrome/browser/ui/views/frame/glass_browser_frame_view.h gfx::Rect client_view_bounds_; gfx 533 chrome/browser/ui/views/frame/global_menu_bar_x11.cc gfx::ElideString(title, kMaximumMenuWidthInChars, &title); gfx 17 chrome/browser/ui/views/frame/immersive_mode_controller.h namespace gfx { gfx 84 chrome/browser/ui/views/frame/immersive_mode_controller.h const gfx::Size& top_container_size) const = 0; gfx 103 chrome/browser/ui/views/frame/immersive_mode_controller.h const gfx::Rect& new_visible_bounds_in_screen) = 0; gfx 95 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc const gfx::Size& top_container_size) const { gfx 117 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc const gfx::Rect& new_visible_bounds_in_screen) { gfx 197 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc std::vector<gfx::Rect> gfx 200 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc gfx::Rect top_container_view_bounds = top_container_view->GetVisibleBounds(); gfx 202 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc gfx::Point top_container_view_bounds_in_screen_origin( gfx 206 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc gfx::Rect top_container_view_bounds_in_screen( gfx 210 chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc std::vector<gfx::Rect> bounds_in_screen; gfx 38 chrome/browser/ui/views/frame/immersive_mode_controller_ash.h const gfx::Size& top_container_size) const OVERRIDE; gfx 42 chrome/browser/ui/views/frame/immersive_mode_controller_ash.h const gfx::Rect& new_visible_bounds_in_screen) OVERRIDE; gfx 62 chrome/browser/ui/views/frame/immersive_mode_controller_ash.h virtual std::vector<gfx::Rect> GetVisibleBoundsInScreen() const OVERRIDE; gfx 91 chrome/browser/ui/views/frame/immersive_mode_controller_ash.h gfx::Rect find_bar_visible_bounds_in_screen_; gfx 54 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc gfx::Rect GetBoundsInWidget(views::View* view) { gfx 326 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc gfx::Rect top_container_bounds_in_widget(GetBoundsInWidget(top_container)); gfx 39 chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc const gfx::Size& top_container_size) const { gfx 49 chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc const gfx::Rect& new_visible_bounds_in_screen) { gfx 28 chrome/browser/ui/views/frame/immersive_mode_controller_stub.h const gfx::Size& top_container_size) const OVERRIDE; gfx 32 chrome/browser/ui/views/frame/immersive_mode_controller_stub.h const gfx::Rect& new_visible_bounds_in_screen) OVERRIDE; gfx 42 chrome/browser/ui/views/frame/minimize_button_metrics_win.cc gfx::win::GetUndocumentedDPIScale()); gfx 45 chrome/browser/ui/views/frame/minimize_button_metrics_win.cc return minimize_button_corner.x / gfx::win::GetDeviceScaleFactor(); gfx 142 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::FontList(BrowserFrame::GetTitleFontList())); gfx 148 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc window_title_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 173 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect OpaqueBrowserFrameView::GetBoundsForTabStrip( gfx 176 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc return gfx::Rect(); gfx 196 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Size OpaqueBrowserFrameView::GetMinimumSize() { gfx 203 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect OpaqueBrowserFrameView::GetBoundsForClientView() const { gfx 207 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect OpaqueBrowserFrameView::GetWindowBoundsForClientBounds( gfx 208 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc const gfx::Rect& client_bounds) const { gfx 212 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc int OpaqueBrowserFrameView::NonClientHitTest(const gfx::Point& point) { gfx 229 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect sysmenu_rect(IconBounds()); gfx 267 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::GetWindowMask(const gfx::Size& size, gfx 268 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Path* window_mask) { gfx 298 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc bool OpaqueBrowserFrameView::HitTestRect(const gfx::Rect& rect) const { gfx 305 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::RectF rect_in_client_view_coords_f(rect); gfx 308 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect rect_in_client_view_coords = gfx::ToEnclosingRect( gfx 319 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::RectF rect_in_tabstrip_coords_f(rect); gfx 321 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect rect_in_tabstrip_coords = gfx::ToEnclosingRect( gfx 338 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::RectF rect_in_window_switcher_coords_f(rect); gfx 341 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect rect_in_window_switcher_coords = gfx::ToEnclosingRect( gfx 380 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc const gfx::Point& point) { gfx 403 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia OpaqueBrowserFrameView::GetFaviconForTabIconView() { gfx 407 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc return gfx::ImageSkia(); gfx 470 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Size OpaqueBrowserFrameView::GetBrowserViewMinimumSize() const { gfx 488 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia OpaqueBrowserFrameView::GetOTRAvatarIcon() const { gfx 521 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Size OpaqueBrowserFrameView::GetTabstripPreferredSize() const { gfx 522 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Size s = browser_view()->tabstrip()->GetPreferredSize(); gfx 529 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::OnPaint(gfx::Canvas* canvas) { gfx 595 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect OpaqueBrowserFrameView::IconBounds() const { gfx 614 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintRestoredFrameBorder(gfx::Canvas* canvas) { gfx 639 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintMaximizedFrameBorder(gfx::Canvas* canvas) { gfx 661 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* top_center = tp->GetImageSkiaNamed(IDR_APP_TOP_CENTER); gfx 668 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintToolbarBackground(gfx::Canvas* canvas) { gfx 669 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect toolbar_bounds(browser_view()->GetToolbarBounds()); gfx 672 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Point toolbar_origin(toolbar_bounds.origin()); gfx 688 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* toolbar_left = tp->GetImageSkiaNamed( gfx 695 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc 255, gfx::Rect(x - kClientEdgeThickness, y, w + kClientEdgeThickness * 3, gfx 699 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(x, bottom_y, w, bottom_edge_height), gfx 704 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* theme_toolbar = tp->GetImageSkiaNamed(IDR_THEME_TOOLBAR); gfx 711 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* toolbar_left_mask = gfx 713 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* toolbar_right_mask = gfx 751 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* toolbar_center = gfx 757 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* toolbar_right = tp->GetImageSkiaNamed( gfx 768 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect(x + kClientEdgeThickness, gfx 776 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc void OpaqueBrowserFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { gfx 781 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect client_area_bounds = gfx 789 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Rect toolbar_bounds(browser_view()->GetToolbarBounds()); gfx 797 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* top_left = tp->GetImageSkiaNamed(IDR_APP_TOP_LEFT); gfx 798 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* top_center = tp->GetImageSkiaNamed(IDR_APP_TOP_CENTER); gfx 799 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* top_right = tp->GetImageSkiaNamed(IDR_APP_TOP_RIGHT); gfx 813 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - kClientEdgeThickness, gfx 824 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* right = tp->GetImageSkiaNamed(IDR_CONTENT_RIGHT_SIDE); gfx 830 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* bottom = tp->GetImageSkiaNamed(IDR_CONTENT_BOTTOM_CENTER); gfx 834 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* bottom_left = gfx 838 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* left = tp->GetImageSkiaNamed(IDR_CONTENT_LEFT_SIDE); gfx 846 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - kClientEdgeThickness, gfx 850 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x(), client_area_bottom, gfx 853 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.right(), client_area_top, gfx 882 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* OpaqueBrowserFrameView::GetFrameImage() const { gfx 917 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* OpaqueBrowserFrameView::GetFrameOverlayImage() const { gfx 929 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::ImageSkia* frame_image = GetFrameImage(); gfx 44 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; gfx 48 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 51 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 52 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 53 chrome/browser/ui/views/frame/opaque_browser_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 54 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 55 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) gfx 62 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 70 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual void OnMenuButtonClicked(views::View* source, const gfx::Point& point) gfx 75 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; gfx 88 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::Size GetBrowserViewMinimumSize() const OVERRIDE; gfx 92 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::ImageSkia GetOTRAvatarIcon() const OVERRIDE; gfx 99 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual gfx::Size GetTabstripPreferredSize() const OVERRIDE; gfx 108 chrome/browser/ui/views/frame/opaque_browser_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 135 chrome/browser/ui/views/frame/opaque_browser_frame_view.h gfx::Rect IconBounds() const; gfx 143 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintRestoredFrameBorder(gfx::Canvas* canvas); gfx 144 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintMaximizedFrameBorder(gfx::Canvas* canvas); gfx 145 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintToolbarBackground(gfx::Canvas* canvas); gfx 146 chrome/browser/ui/views/frame/opaque_browser_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); gfx 150 chrome/browser/ui/views/frame/opaque_browser_frame_view.h gfx::ImageSkia* GetFrameImage() const; gfx 151 chrome/browser/ui/views/frame/opaque_browser_frame_view.h gfx::ImageSkia* GetFrameOverlayImage() const; gfx 155 chrome/browser/ui/views/frame/opaque_browser_frame_view.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; gfx 147 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Rect OpaqueBrowserFrameViewLayout::GetBoundsForTabStrip( gfx 148 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc const gfx::Size& tabstrip_preferred_size, gfx 158 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Rect bounds(leading_button_start_, GetTabStripInsetsTop(false), gfx 173 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Size OpaqueBrowserFrameViewLayout::GetMinimumSize( gfx 175 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Size min_size = delegate_->GetBrowserViewMinimumSize(); gfx 186 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Size preferred_size = delegate_->GetTabstripPreferredSize(); gfx 195 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Rect OpaqueBrowserFrameViewLayout::GetWindowBoundsForClientBounds( gfx 196 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc const gfx::Rect& client_bounds) const { gfx 199 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc return gfx::Rect(std::max(0, client_bounds.x() - border_thickness), gfx 257 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Rect OpaqueBrowserFrameViewLayout::IconBounds() const { gfx 261 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Rect OpaqueBrowserFrameViewLayout::CalculateClientAreaBounds( gfx 266 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc return gfx::Rect(border_thickness, top_height, gfx 361 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc window_icon_bounds_ = gfx::Rect(leading_button_start_ + kIconLeftSpacing, y, gfx 389 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc window_icon_bounds_ = gfx::Rect(); gfx 393 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc window_icon_bounds_ = gfx::Rect( gfx 404 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Size label_size = new_avatar_button_->GetPreferredSize(); gfx 425 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::ImageSkia incognito_icon = delegate_->GetOTRAvatarIcon(); gfx 453 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Size label_size = avatar_label_->GetPreferredSize(); gfx 459 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Rect label_bounds( gfx 533 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Size button_size = button->GetPreferredSize(); gfx 695 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc gfx::Size OpaqueBrowserFrameViewLayout::GetPreferredSize(views::View* host) { gfx 699 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc return gfx::Size(); gfx 43 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect GetBoundsForTabStrip( gfx 44 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h const gfx::Size& tabstrip_preferred_size, gfx 47 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Size GetMinimumSize(int available_width) const; gfx 51 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect GetWindowBoundsForClientBounds( gfx 52 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h const gfx::Rect& client_bounds) const; gfx 81 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect IconBounds() const; gfx 84 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect CalculateClientAreaBounds(int width, int height) const; gfx 94 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h const gfx::Rect& client_view_bounds() const { return client_view_bounds_; } gfx 143 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h virtual gfx::Size GetPreferredSize(views::View* host) OVERRIDE; gfx 150 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect avatar_bounds_; gfx 153 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect client_view_bounds_; gfx 156 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h gfx::Rect window_icon_bounds_; gfx 8 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h namespace gfx { gfx 33 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h virtual gfx::Size GetBrowserViewMinimumSize() const = 0; gfx 47 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h virtual gfx::ImageSkia GetOTRAvatarIcon() const = 0; gfx 64 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h virtual gfx::Size GetTabstripPreferredSize() const = 0; gfx 85 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc virtual gfx::Size GetBrowserViewMinimumSize() const OVERRIDE { gfx 87 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc return gfx::Size(168, 64); gfx 102 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc virtual gfx::ImageSkia GetOTRAvatarIcon() const OVERRIDE { gfx 106 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc gfx::ImageSkiaRep rep(gfx::Size(40, 29), 1.0f); gfx 107 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc gfx::ImageSkia image(rep); gfx 135 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc virtual gfx::Size GetTabstripPreferredSize() const OVERRIDE { gfx 137 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc return IsTabStripVisible() ? gfx::Size(78, 29) : gfx::Size(0, 0); gfx 166 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc root_view_->SetSize(gfx::Size(kWidth, kWidth)); gfx 177 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc VIEW_ID_MINIMIZE_BUTTON, gfx::Size(26, 18)); gfx 179 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc VIEW_ID_MAXIMIZE_BUTTON, gfx::Size(25, 18)); gfx 181 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc VIEW_ID_RESTORE_BUTTON, gfx::Size(25, 18)); gfx 183 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc VIEW_ID_CLOSE_BUTTON, gfx::Size(43, 18)); gfx 194 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc const gfx::Size& size) { gfx 196 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc gfx::ImageSkiaRep rep(size, 1.0f); gfx 197 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc gfx::ImageSkia image(rep); gfx 214 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc window_title_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 458 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc gfx::Rect tab_strip_bounds = layout_manager_->GetBoundsForTabStrip( gfx 18 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc gfx::Rect PopupNonClientFrameView::GetBoundsForClientView() const { gfx 19 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc return gfx::Rect(0, 0, width(), height()); gfx 22 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc gfx::Rect PopupNonClientFrameView::GetWindowBoundsForClientBounds( gfx 23 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc const gfx::Rect& client_bounds) const { gfx 27 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc int PopupNonClientFrameView::NonClientHitTest(const gfx::Point& point) { gfx 31 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc void PopupNonClientFrameView::GetWindowMask(const gfx::Size& size, gfx 32 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc gfx::Path* window_mask) { gfx 44 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc gfx::Rect PopupNonClientFrameView::GetBoundsForTabStrip( gfx 46 chrome/browser/ui/views/frame/popup_non_client_frame_view.cc return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height()); gfx 18 chrome/browser/ui/views/frame/popup_non_client_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 19 chrome/browser/ui/views/frame/popup_non_client_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 20 chrome/browser/ui/views/frame/popup_non_client_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 21 chrome/browser/ui/views/frame/popup_non_client_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 22 chrome/browser/ui/views/frame/popup_non_client_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) gfx 29 chrome/browser/ui/views/frame/popup_non_client_frame_view.h virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; gfx 9 chrome/browser/ui/views/frame/taskbar_decorator.cc void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { gfx 10 chrome/browser/ui/views/frame/taskbar_decorator.h namespace gfx { gfx 19 chrome/browser/ui/views/frame/taskbar_decorator.h void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image); gfx 90 chrome/browser/ui/views/frame/taskbar_decorator_win.cc void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { gfx 22 chrome/browser/ui/views/frame/top_container_view.cc void TopContainerView::OnPaintBackground(gfx::Canvas* canvas) { gfx 24 chrome/browser/ui/views/frame/top_container_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 51 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 84 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Size ButtonView::GetPreferredSize() { gfx 85 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc return visible() ? views::View::GetPreferredSize() : gfx::Size(); gfx 145 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const gfx::FontList& medium_font_list = gfx 191 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Insets padding(kPaddingPx, kPaddingPx, kPaddingPx, kPaddingPx); gfx 228 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc button_view_->deny_button()->set_min_size(gfx::Size()); gfx 265 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc animation_(new gfx::SlideAnimation(this)), gfx 289 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Size size = GetPopupRect(true).size(); gfx 337 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Size size = GetPopupRect(true).size(); gfx 396 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Rect popup_rect(GetPopupRect(false)); gfx 408 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const gfx::Animation* animation) { gfx 428 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc const gfx::Animation* animation) { gfx 432 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Rect FullscreenExitBubbleViews::GetPopupRect( gfx 434 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Size size(view_->GetPreferredSize()); gfx 437 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Screen* screen = gfx 438 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Screen::GetScreenFor(browser_view_->GetWidget()->GetNativeView()); gfx 439 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Rect screen_bounds = screen->GetDisplayNearestWindow( gfx 467 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc return gfx::Rect(gfx::Point(x, y), size); gfx 470 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Point FullscreenExitBubbleViews::GetCursorScreenPoint() { gfx 471 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc gfx::Point cursor_pos = gfx::Screen::GetScreenFor( gfx 477 chrome/browser/ui/views/fullscreen_exit_bubble_views.cc bool FullscreenExitBubbleViews::WindowContainsPoint(gfx::Point pos) { gfx 17 chrome/browser/ui/views/fullscreen_exit_bubble_views.h namespace gfx { gfx 66 chrome/browser/ui/views/fullscreen_exit_bubble_views.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 67 chrome/browser/ui/views/fullscreen_exit_bubble_views.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 68 chrome/browser/ui/views/fullscreen_exit_bubble_views.h virtual gfx::Rect GetPopupRect(bool ignore_animation_state) const OVERRIDE; gfx 69 chrome/browser/ui/views/fullscreen_exit_bubble_views.h virtual gfx::Point GetCursorScreenPoint() OVERRIDE; gfx 70 chrome/browser/ui/views/fullscreen_exit_bubble_views.h virtual bool WindowContainsPoint(gfx::Point pos) OVERRIDE; gfx 91 chrome/browser/ui/views/fullscreen_exit_bubble_views.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 70 chrome/browser/ui/views/global_error_bubble_view.cc gfx::Insets(kAnchorVerticalInset, 0, kAnchorVerticalInset, 0)); gfx 73 chrome/browser/ui/views/global_error_bubble_view.cc gfx::Image image = error_->GetBubbleViewIcon(); gfx 81 chrome/browser/ui/views/global_error_bubble_view.cc title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 90 chrome/browser/ui/views/global_error_bubble_view.cc message_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 133 chrome/browser/ui/views/hung_renderer_view.cc gfx::ImageSkia HungPagesTableModel::GetIcon(int row) { gfx 185 chrome/browser/ui/views/hung_renderer_view.cc gfx::ImageSkia* HungRendererDialogView::frozen_icon_ = NULL; gfx 201 chrome/browser/ui/views/hung_renderer_view.cc gfx::NativeView context) { gfx 216 chrome/browser/ui/views/hung_renderer_view.cc gfx::NativeView frame_view = gfx 260 chrome/browser/ui/views/hung_renderer_view.cc gfx::NativeView frame_view = gfx 400 chrome/browser/ui/views/hung_renderer_view.cc info_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 456 chrome/browser/ui/views/hung_renderer_view.cc gfx::NativeView toplevel_view = gfx 53 chrome/browser/ui/views/hung_renderer_view.h virtual gfx::ImageSkia GetIcon(int row) OVERRIDE; gfx 107 chrome/browser/ui/views/hung_renderer_view.h static HungRendererDialogView* Create(gfx::NativeView context); gfx 169 chrome/browser/ui/views/hung_renderer_view.h static gfx::ImageSkia* frozen_icon_; gfx 24 chrome/browser/ui/views/importer/import_lock_dialog_view.cc void ShowImportLockDialog(gfx::NativeWindow parent, gfx 33 chrome/browser/ui/views/importer/import_lock_dialog_view.cc void ImportLockDialogView::Show(gfx::NativeWindow parent, gfx 46 chrome/browser/ui/views/importer/import_lock_dialog_view.cc description_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 53 chrome/browser/ui/views/importer/import_lock_dialog_view.cc gfx::Size ImportLockDialogView::GetPreferredSize() { gfx 54 chrome/browser/ui/views/importer/import_lock_dialog_view.cc return gfx::Size(views::Widget::GetLocalizedContentsSize( gfx 60 chrome/browser/ui/views/importer/import_lock_dialog_view.cc gfx::Rect bounds(GetLocalBounds()); gfx 23 chrome/browser/ui/views/importer/import_lock_dialog_view.h static void Show(gfx::NativeWindow parent, gfx 31 chrome/browser/ui/views/importer/import_lock_dialog_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 47 chrome/browser/ui/views/infobars/after_translate_infobar.cc label_1_->SetPosition(gfx::Point(x, OffsetY(label_1_))); gfx 53 chrome/browser/ui/views/infobars/after_translate_infobar.cc first_button->SetPosition(gfx::Point(x, OffsetY(first_button))); gfx 57 chrome/browser/ui/views/infobars/after_translate_infobar.cc gfx::Point(x + kButtonInLabelSpacing, OffsetY(label_2_))); gfx 64 chrome/browser/ui/views/infobars/after_translate_infobar.cc second_button->SetPosition(gfx::Point(x, OffsetY(second_button))); gfx 68 chrome/browser/ui/views/infobars/after_translate_infobar.cc gfx::Point(x + kButtonInLabelSpacing, OffsetY(label_3_))); gfx 74 chrome/browser/ui/views/infobars/after_translate_infobar.cc gfx::Point(x + kEndOfLabelSpacing, OffsetY(revert_button_))); gfx 76 chrome/browser/ui/views/infobars/after_translate_infobar.cc options_menu_button_->SetPosition(gfx::Point( gfx 160 chrome/browser/ui/views/infobars/after_translate_infobar.cc const gfx::Point& point) { gfx 37 chrome/browser/ui/views/infobars/after_translate_infobar.h const gfx::Point& point) OVERRIDE; gfx 49 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc labels->back()->SetText(labels->back()->text() + gfx::kEllipsisUTF16); gfx 51 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc last_label->SetSize(gfx::Size(last_label_width, last_label->height())); gfx 68 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc label_1_->SetPosition(gfx::Point(StartX(), OffsetY(label_1_))); gfx 69 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc link_->SetPosition(gfx::Point(label_1_->bounds().right(), OffsetY(link_))); gfx 70 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc label_2_->SetPosition(gfx::Point(link_->bounds().right(), OffsetY(label_2_))); gfx 43 chrome/browser/ui/views/infobars/before_translate_infobar.cc label_1_->SetPosition(gfx::Point(x, OffsetY(label_1_))); gfx 48 chrome/browser/ui/views/infobars/before_translate_infobar.cc gfx::Point(x, OffsetY(language_menu_button_))); gfx 52 chrome/browser/ui/views/infobars/before_translate_infobar.cc gfx::Point(x + kButtonInLabelSpacing, OffsetY(label_2_))); gfx 56 chrome/browser/ui/views/infobars/before_translate_infobar.cc accept_button_->SetPosition(gfx::Point(x, OffsetY(accept_button_))); gfx 59 chrome/browser/ui/views/infobars/before_translate_infobar.cc deny_button_->SetPosition(gfx::Point(x, OffsetY(deny_button_))); gfx 64 chrome/browser/ui/views/infobars/before_translate_infobar.cc gfx::Point(x, OffsetY(never_translate_button_))); gfx 70 chrome/browser/ui/views/infobars/before_translate_infobar.cc gfx::Point(x, OffsetY(always_translate_button_))); gfx 73 chrome/browser/ui/views/infobars/before_translate_infobar.cc options_menu_button_->SetPosition(gfx::Point( gfx 166 chrome/browser/ui/views/infobars/before_translate_infobar.cc const gfx::Point& point) { gfx 38 chrome/browser/ui/views/infobars/before_translate_infobar.h const gfx::Point& point) OVERRIDE; gfx 46 chrome/browser/ui/views/infobars/confirm_infobar.cc label_->SetPosition(gfx::Point(x, OffsetY(label_))); gfx 51 chrome/browser/ui/views/infobars/confirm_infobar.cc ok_button_->SetPosition(gfx::Point(x, OffsetY(ok_button_))); gfx 56 chrome/browser/ui/views/infobars/confirm_infobar.cc cancel_button_->SetPosition(gfx::Point(x, OffsetY(cancel_button_))); gfx 58 chrome/browser/ui/views/infobars/confirm_infobar.cc link_->SetPosition(gfx::Point(EndX() - link_->width(), OffsetY(link_))); gfx 46 chrome/browser/ui/views/infobars/extension_infobar.cc class MenuImageSource: public gfx::CanvasImageSource { gfx 48 chrome/browser/ui/views/infobars/extension_infobar.cc MenuImageSource(const gfx::ImageSkia& icon, const gfx::ImageSkia& drop_image) gfx 49 chrome/browser/ui/views/infobars/extension_infobar.cc : gfx::CanvasImageSource(ComputeSize(drop_image), false), gfx 58 chrome/browser/ui/views/infobars/extension_infobar.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 67 chrome/browser/ui/views/infobars/extension_infobar.cc gfx::Size ComputeSize(const gfx::ImageSkia& drop_image) const { gfx 69 chrome/browser/ui/views/infobars/extension_infobar.cc return gfx::Size(image_size + kDropArrowLeftMargin + drop_image.width(), gfx 76 chrome/browser/ui/views/infobars/extension_infobar.cc const gfx::ImageSkia icon_; gfx 77 chrome/browser/ui/views/infobars/extension_infobar.cc const gfx::ImageSkia drop_image_; gfx 101 chrome/browser/ui/views/infobars/extension_infobar.cc infobar_icon_->SetPosition(gfx::Point(StartX(), OffsetY(infobar_icon_))); gfx 110 chrome/browser/ui/views/infobars/extension_infobar.cc gfx::Size(std::max(0, EndX() - StartX() - NonExtensionViewWidth()), gfx 115 chrome/browser/ui/views/infobars/extension_infobar.cc gfx::Point(infobar_icon_->bounds().right() + kIconHorizontalMargin, gfx 146 chrome/browser/ui/views/infobars/extension_infobar.cc extension_view_host->view()->SetSize(gfx::Size(0, GetDelegate()->height())); gfx 167 chrome/browser/ui/views/infobars/extension_infobar.cc gfx::Size(image_size, image_size), gfx 178 chrome/browser/ui/views/infobars/extension_infobar.cc const gfx::Point& point) { gfx 193 chrome/browser/ui/views/infobars/extension_infobar.cc void ExtensionInfoBar::OnImageLoaded(const gfx::Image& image) { gfx 197 chrome/browser/ui/views/infobars/extension_infobar.cc const gfx::ImageSkia* icon = NULL; gfx 206 chrome/browser/ui/views/infobars/extension_infobar.cc const gfx::ImageSkia* drop_image = gfx 209 chrome/browser/ui/views/infobars/extension_infobar.cc gfx::CanvasImageSource* source = new MenuImageSource(*icon, *drop_image); gfx 210 chrome/browser/ui/views/infobars/extension_infobar.cc gfx::ImageSkia menu_image = gfx::ImageSkia(source, source->size()); gfx 37 chrome/browser/ui/views/infobars/extension_infobar.h const gfx::Point& point) OVERRIDE; gfx 39 chrome/browser/ui/views/infobars/extension_infobar.h void OnImageLoaded(const gfx::Image& image); gfx 25 chrome/browser/ui/views/infobars/infobar_background.cc void InfoBarBackground::Paint(gfx::Canvas* canvas, views::View* view) const { gfx 55 chrome/browser/ui/views/infobars/infobar_background.cc canvas->FillRect(gfx::Rect(0, view->height() - InfoBar::kSeparatorLineHeight, gfx 21 chrome/browser/ui/views/infobars/infobar_background.h virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; gfx 25 chrome/browser/ui/views/infobars/infobar_container_view.cc gfx::Size InfoBarContainerView::GetPreferredSize() { gfx 28 chrome/browser/ui/views/infobars/infobar_container_view.cc gfx::Size size(0, total_height); gfx 30 chrome/browser/ui/views/infobars/infobar_container_view.cc size.SetToMax(gfx::Size(child_at(i)->GetPreferredSize().width(), 0)); gfx 22 chrome/browser/ui/views/infobars/infobar_container_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 100 chrome/browser/ui/views/infobars/infobar_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 110 chrome/browser/ui/views/infobars/infobar_view.cc link->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 189 chrome/browser/ui/views/infobars/infobar_view.cc icon_info.hIcon, gfx::Size(GetSystemMetrics(SM_CXSMICON), gfx 193 chrome/browser/ui/views/infobars/infobar_view.cc gfx::ImageSkia::CreateFrom1xBitmap(*icon)); gfx 257 chrome/browser/ui/views/infobars/infobar_view.cc icon_->SetPosition(gfx::Point(start_x, OffsetY(icon_))); gfx 262 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SetPosition(gfx::Point( gfx 274 chrome/browser/ui/views/infobars/infobar_view.cc gfx::Image image = delegate()->GetIcon(); gfx 313 chrome/browser/ui/views/infobars/infobar_view.cc void InfoBarView::PaintChildren(gfx::Canvas* canvas) { gfx 323 chrome/browser/ui/views/infobars/infobar_view.cc canvas->ClipRect(gfx::Rect(0, arrow_height(), width(), bar_height())); gfx 369 chrome/browser/ui/views/infobars/infobar_view.cc gfx::Point screen_point; gfx 374 chrome/browser/ui/views/infobars/infobar_view.cc GetWidget(), button, gfx::Rect(screen_point, button->size()), anchor, gfx 382 chrome/browser/ui/views/infobars/infobar_view.cc gfx::Size back_label_size(labels->back()->GetPreferredSize()); gfx 434 chrome/browser/ui/views/infobars/infobar_view.cc gfx::Size InfoBarView::GetPreferredSize() { gfx 435 chrome/browser/ui/views/infobars/infobar_view.cc return gfx::Size( gfx 128 chrome/browser/ui/views/infobars/infobar_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 129 chrome/browser/ui/views/infobars/infobar_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 64 chrome/browser/ui/views/infobars/translate_infobar_base.cc background_color_animation_.reset(new gfx::SlideAnimation(this)); gfx 65 chrome/browser/ui/views/infobars/translate_infobar_base.cc background_color_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 87 chrome/browser/ui/views/infobars/translate_infobar_base.cc void TranslateInfoBarBase::OnPaintBackground(gfx::Canvas* canvas) { gfx 107 chrome/browser/ui/views/infobars/translate_infobar_base.cc const gfx::Animation* animation) { gfx 118 chrome/browser/ui/views/infobars/translate_infobar_base.cc void TranslateInfoBarBase::FadeBackground(gfx::Canvas* canvas, gfx 41 chrome/browser/ui/views/infobars/translate_infobar_base.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 42 chrome/browser/ui/views/infobars/translate_infobar_base.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 49 chrome/browser/ui/views/infobars/translate_infobar_base.h void FadeBackground(gfx::Canvas* canvas, gfx 54 chrome/browser/ui/views/infobars/translate_infobar_base.h scoped_ptr<gfx::SlideAnimation> background_color_animation_; gfx 32 chrome/browser/ui/views/infobars/translate_message_infobar.cc button_->SetPosition(gfx::Point(x, OffsetY(button_))); gfx 184 chrome/browser/ui/views/javascript_app_modal_dialog_views.cc gfx::NativeWindow parent_window) { gfx 149 chrome/browser/ui/views/keyboard_access_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); gfx 159 chrome/browser/ui/views/keyboard_access_browsertest.cc gfx::NativeWindow window = browser()->window()->GetNativeWindow(); gfx 28 chrome/browser/ui/views/location_bar/bubble_icon_view.cc bool BubbleIconView::GetTooltipText(const gfx::Point& p, gfx 32 chrome/browser/ui/views/location_bar/bubble_icon_view.h virtual bool GetTooltipText(const gfx::Point& p, base::string16* tooltip) gfx 36 chrome/browser/ui/views/location_bar/content_setting_image_view.cc const gfx::FontList& font_list, gfx 77 chrome/browser/ui/views/location_bar/content_setting_image_view.cc text_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 84 chrome/browser/ui/views/location_bar/content_setting_image_view.cc slide_animator_.SetTweenType(gfx::Tween::LINEAR); gfx 136 chrome/browser/ui/views/location_bar/content_setting_image_view.cc void ContentSettingImageView::AnimationEnded(const gfx::Animation* animation) { gfx 146 chrome/browser/ui/views/location_bar/content_setting_image_view.cc const gfx::Animation* animation) { gfx 154 chrome/browser/ui/views/location_bar/content_setting_image_view.cc const gfx::Animation* animation) { gfx 158 chrome/browser/ui/views/location_bar/content_setting_image_view.cc gfx::Size ContentSettingImageView::GetPreferredSize() { gfx 160 chrome/browser/ui/views/location_bar/content_setting_image_view.cc gfx::Size size(icon_->GetPreferredSize()); gfx 211 chrome/browser/ui/views/location_bar/content_setting_image_view.cc void ContentSettingImageView::OnPaintBackground(gfx::Canvas* canvas) { gfx 23 chrome/browser/ui/views/location_bar/content_setting_image_view.h namespace gfx { gfx 35 chrome/browser/ui/views/location_bar/content_setting_image_view.h class ContentSettingImageView : public gfx::AnimationDelegate, gfx 41 chrome/browser/ui/views/location_bar/content_setting_image_view.h const gfx::FontList& font_list, gfx 66 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 67 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 68 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 71 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 76 chrome/browser/ui/views/location_bar/content_setting_image_view.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 93 chrome/browser/ui/views/location_bar/content_setting_image_view.h gfx::SlideAnimation slide_animator_; gfx 15 chrome/browser/ui/views/location_bar/ev_bubble_view.cc EVBubbleView::EVBubbleView(const gfx::FontList& font_list, gfx 27 chrome/browser/ui/views/location_bar/ev_bubble_view.cc gfx::Size EVBubbleView::GetMinimumSize() { gfx 29 chrome/browser/ui/views/location_bar/ev_bubble_view.cc gfx::Size minimum(GetPreferredSize()); gfx 31 chrome/browser/ui/views/location_bar/ev_bubble_view.cc minimum.SetToMax(gfx::Size(kMinBubbleWidth, 0)); gfx 16 chrome/browser/ui/views/location_bar/ev_bubble_view.h EVBubbleView(const gfx::FontList& font_list, gfx 23 chrome/browser/ui/views/location_bar/ev_bubble_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 21 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc const gfx::FontList& font_list, gfx 79 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc void IconLabelBubbleView::SetImage(const gfx::ImageSkia& image_skia) { gfx 83 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc gfx::Size IconLabelBubbleView::GetPreferredSize() { gfx 97 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc gfx::Size IconLabelBubbleView::GetSizeForLabelWidth(int width) const { gfx 98 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc gfx::Size size(GetPreLabelWidth() + width + GetBubbleOuterPadding(false), 0); gfx 121 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc void IconLabelBubbleView::OnPaint(gfx::Canvas* canvas) { gfx 14 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h namespace gfx { gfx 36 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h const gfx::FontList& font_list, gfx 43 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h void SetImage(const gfx::ImageSkia& image); gfx 50 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 55 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h gfx::Size GetSizeForLabelWidth(int width) const; gfx 66 chrome/browser/ui/views/location_bar/icon_label_bubble_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 26 chrome/browser/ui/views/location_bar/keyword_hint_view.cc const gfx::FontList& font_list, gfx 68 chrome/browser/ui/views/location_bar/keyword_hint_view.cc gfx::Size KeywordHintView::GetPreferredSize() { gfx 70 chrome/browser/ui/views/location_bar/keyword_hint_view.cc return gfx::Size(leading_label_->GetPreferredSize().width() + gfx 76 chrome/browser/ui/views/location_bar/keyword_hint_view.cc gfx::Size KeywordHintView::GetMinimumSize() { gfx 84 chrome/browser/ui/views/location_bar/keyword_hint_view.cc gfx::Size leading_size(leading_label_->GetPreferredSize()); gfx 89 chrome/browser/ui/views/location_bar/keyword_hint_view.cc gfx::Size trailing_size(trailing_label_->GetPreferredSize()); gfx 95 chrome/browser/ui/views/location_bar/keyword_hint_view.cc views::Label* KeywordHintView::CreateLabel(const gfx::FontList& font_list, gfx 16 chrome/browser/ui/views/location_bar/keyword_hint_view.h namespace gfx { gfx 36 chrome/browser/ui/views/location_bar/keyword_hint_view.h const gfx::FontList& font_list, gfx 44 chrome/browser/ui/views/location_bar/keyword_hint_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 46 chrome/browser/ui/views/location_bar/keyword_hint_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 50 chrome/browser/ui/views/location_bar/keyword_hint_view.h views::Label* CreateLabel(const gfx::FontList& font_list, gfx 142 chrome/browser/ui/views/location_bar/location_bar_layout.cc void LocationBarLayout::LayoutPass3(gfx::Rect* bounds, int* available_width) { gfx 10 chrome/browser/ui/views/location_bar/location_bar_layout.h namespace gfx { gfx 72 chrome/browser/ui/views/location_bar/location_bar_layout.h void LayoutPass3(gfx::Rect* bounds, int* available_width); gfx 139 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::FontList GetLargestFontListWithHeightBound( gfx 140 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::FontList& base_font_list, gfx 142 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::FontList font_list = base_font_list; gfx 269 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::FontList font_list = ResourceBundle::GetSharedInstance().GetFontList( gfx 287 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::FontList bubble_font_list( gfx 313 chrome/browser/ui/views/location_bar/location_bar_view.cc ime_inline_autocomplete_view_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 339 chrome/browser/ui/views/location_bar/location_bar_view.cc suggested_text_view_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 404 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_->set_min_size(gfx::Size()); gfx 407 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_border->set_insets(gfx::Insets()); gfx 429 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_->set_min_size(gfx::Size(kSearchButtonWidth, 0)); gfx 433 chrome/browser/ui/views/location_bar/location_bar_view.cc show_url_animation_.reset(new gfx::SlideAnimation(this)); gfx 434 chrome/browser/ui/views/location_bar/location_bar_view.cc show_url_animation_->SetTweenType(gfx::Tween::FAST_OUT_SLOW_IN); gfx 437 chrome/browser/ui/views/location_bar/location_bar_view.cc hide_url_animation_.reset(new gfx::SlideAnimation(this)); gfx 438 chrome/browser/ui/views/location_bar/location_bar_view.cc hide_url_animation_->SetTweenType(gfx::Tween::FAST_OUT_SLOW_IN); gfx 513 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point* top_left_screen_coord, gfx 522 chrome/browser/ui/views/location_bar/location_bar_view.cc *top_left_screen_coord = gfx::Point( gfx 528 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Rect location_bar_bounds(bounds()); gfx 677 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point LocationBarView::GetOmniboxViewOrigin() const { gfx 678 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point origin(omnibox_view_->bounds().origin()); gfx 707 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Size LocationBarView::GetPreferredSize() { gfx 708 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Size background_min_size(border_painter_->GetMinimumSize()); gfx 712 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Size origin_chip_view_min_size(origin_chip_view_->GetMinimumSize()); gfx 713 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Size search_button_min_size(search_button_->GetMinimumSize()); gfx 714 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Size min_size(background_min_size); gfx 759 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Canvas::GetStringWidth(text_leading_host, gfx 806 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Image image = extensions::OmniboxAPI::Get(profile())-> gfx 902 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::Size search_button_size(search_button_->GetPreferredSize()); gfx 916 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Rect location_bounds( gfx 945 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Size suggested_text_size(suggested_text_view_->GetPreferredSize()); gfx 955 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Rect suggested_text_bounds(location_bounds.x(), location_bounds.y(), gfx 977 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::Insets insets = omnibox_view_->GetInsets(); gfx 984 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::GetStringWidth(ime_inline_autocomplete_view_->text(), gfx 1002 chrome/browser/ui/views/location_bar/location_bar_view.cc search_button_->SetBoundsRect(gfx::Rect( gfx 1003 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point(width() - search_button_reserved_width, 0), gfx 1007 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::PaintChildren(gfx::Canvas* canvas) { gfx 1025 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Rect border_rect(GetContentsBounds()); gfx 1036 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::OnPaint(gfx::Canvas* canvas) { gfx 1042 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Rect bounds(GetContentsBounds()); gfx 1082 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point LocationBarView::GetLocationBarAnchorPoint() const { gfx 1084 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point icon_bottom(0, GetLocationIconView()->GetImageBounds().bottom() - gfx 1086 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point icon_center(GetLocationIconView()->GetImageBounds().CenterPoint()); gfx 1087 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::Point point(icon_center.x(), icon_bottom.y()); gfx 1195 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::AnimationProgressed(const gfx::Animation* animation) { gfx 1203 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::AnimationEnded(const gfx::Animation* animation) { gfx 1260 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 1283 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::Point& press_pt, gfx 1291 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::ImageSkia favicon = favicon_tab_helper->GetFavicon().AsImageSkia(); gfx 1300 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::Point& p) { gfx 1312 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::Point& press_pt, gfx 1313 chrome/browser/ui/views/location_bar/location_bar_view.cc const gfx::Point& p) { gfx 60 chrome/browser/ui/views/location_bar/location_bar_view.h namespace gfx { gfx 88 chrome/browser/ui/views/location_bar/location_bar_view.h public gfx::AnimationDelegate, gfx 217 chrome/browser/ui/views/location_bar/location_bar_view.h gfx::Point GetOmniboxViewOrigin() const; gfx 231 chrome/browser/ui/views/location_bar/location_bar_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 235 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 236 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 254 chrome/browser/ui/views/location_bar/location_bar_view.h gfx::Point GetLocationBarAnchorPoint() const; gfx 274 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 282 chrome/browser/ui/views/location_bar/location_bar_view.h const gfx::Point& press_pt, gfx 285 chrome/browser/ui/views/location_bar/location_bar_view.h const gfx::Point& p) OVERRIDE; gfx 287 chrome/browser/ui/views/location_bar/location_bar_view.h const gfx::Point& press_pt, gfx 288 chrome/browser/ui/views/location_bar/location_bar_view.h const gfx::Point& p) OVERRIDE; gfx 339 chrome/browser/ui/views/location_bar/location_bar_view.h void GetOmniboxPopupPositioningInfo(gfx::Point* top_left_screen_coord, gfx 370 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 371 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 539 chrome/browser/ui/views/location_bar/location_bar_view.h scoped_ptr<gfx::SlideAnimation> show_url_animation_; gfx 540 chrome/browser/ui/views/location_bar/location_bar_view.h scoped_ptr<gfx::SlideAnimation> hide_url_animation_; gfx 134 chrome/browser/ui/views/location_bar/origin_chip_view.cc const gfx::FontList& font_list) gfx 159 chrome/browser/ui/views/location_bar/origin_chip_view.cc fade_in_animation_.reset(new gfx::SlideAnimation(this)); gfx 160 chrome/browser/ui/views/location_bar/origin_chip_view.cc fade_in_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 289 chrome/browser/ui/views/location_bar/origin_chip_view.cc void OriginChipView::AnimationProgressed(const gfx::Animation* animation) { gfx 296 chrome/browser/ui/views/location_bar/origin_chip_view.cc void OriginChipView::AnimationEnded(const gfx::Animation* animation) { gfx 303 chrome/browser/ui/views/location_bar/origin_chip_view.cc gfx::Size OriginChipView::GetPreferredSize() { gfx 304 chrome/browser/ui/views/location_bar/origin_chip_view.cc gfx::Size label_size = host_label_->GetPreferredSize(); gfx 305 chrome/browser/ui/views/location_bar/origin_chip_view.cc gfx::Size icon_size = location_icon_view_->GetPreferredSize(); gfx 308 chrome/browser/ui/views/location_bar/origin_chip_view.cc return gfx::Size(kEdgeThickness + icon_size.width() + icon_spacing + gfx 335 chrome/browser/ui/views/location_bar/origin_chip_view.cc void OriginChipView::OnPaintBorder(gfx::Canvas* canvas) { gfx 354 chrome/browser/ui/views/location_bar/origin_chip_view.cc gfx::Size label_size = host_label_->GetPreferredSize(); gfx 22 chrome/browser/ui/views/location_bar/origin_chip_view.h namespace gfx { gfx 39 chrome/browser/ui/views/location_bar/origin_chip_view.h const gfx::FontList& font_list); gfx 74 chrome/browser/ui/views/location_bar/origin_chip_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 75 chrome/browser/ui/views/location_bar/origin_chip_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 76 chrome/browser/ui/views/location_bar/origin_chip_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 78 chrome/browser/ui/views/location_bar/origin_chip_view.h virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE; gfx 103 chrome/browser/ui/views/location_bar/origin_chip_view.h scoped_ptr<gfx::SlideAnimation> fade_in_animation_; gfx 151 chrome/browser/ui/views/location_bar/page_action_image_view.cc const gfx::Point& point, gfx 161 chrome/browser/ui/views/location_bar/page_action_image_view.cc gfx::Point screen_loc; gfx 163 chrome/browser/ui/views/location_bar/page_action_image_view.cc if (menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(screen_loc, size()), gfx 203 chrome/browser/ui/views/location_bar/page_action_image_view.cc gfx::Image icon = icon_factory_->GetIcon(current_tab_id_); gfx 226 chrome/browser/ui/views/location_bar/page_action_image_view.cc void PageActionImageView::PaintChildren(gfx::Canvas* canvas) { gfx 65 chrome/browser/ui/views/location_bar/page_action_image_view.h const gfx::Point& point, gfx 85 chrome/browser/ui/views/location_bar/page_action_image_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 26 chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc gfx::Size PageActionWithBadgeView::GetPreferredSize() { gfx 27 chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc return gfx::Size(extensions::IconsInfo::kPageActionIconMaxSize, gfx 36 chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc const gfx::ImageSkia& image = image_view()->GetImage(); gfx 28 chrome/browser/ui/views/location_bar/page_action_with_badge_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 25 chrome/browser/ui/views/location_bar/selected_keyword_view.cc SelectedKeywordView::SelectedKeywordView(const gfx::FontList& font_list, gfx 42 chrome/browser/ui/views/location_bar/selected_keyword_view.cc gfx::Size SelectedKeywordView::GetPreferredSize() { gfx 47 chrome/browser/ui/views/location_bar/selected_keyword_view.cc gfx::Size SelectedKeywordView::GetMinimumSize() { gfx 15 chrome/browser/ui/views/location_bar/selected_keyword_view.h namespace gfx { gfx 23 chrome/browser/ui/views/location_bar/selected_keyword_view.h SelectedKeywordView(const gfx::FontList& font_list, gfx 29 chrome/browser/ui/views/location_bar/selected_keyword_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 30 chrome/browser/ui/views/location_bar/selected_keyword_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 45 chrome/browser/ui/views/location_bar/star_view_browsertest.cc ui::MouseEvent pressed_event(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), gfx 48 chrome/browser/ui/views/location_bar/star_view_browsertest.cc ui::MouseEvent released_event(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx 49 chrome/browser/ui/views/location_bar/star_view_browsertest.cc gfx::Point(), ui::EF_LEFT_MOUSE_BUTTON, gfx 123 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc set_anchor_view_insets(gfx::Insets(5, 0, 5, 0)); gfx 140 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc void ZoomBubbleView::AdjustForFullscreen(const gfx::Rect& screen_bounds) { gfx 149 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc SetAnchorRect(gfx::Rect(x_pos, screen_bounds.y(), 0, 0)); gfx 227 chrome/browser/ui/views/location_bar/zoom_bubble_view.cc set_default_button->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 58 chrome/browser/ui/views/location_bar/zoom_bubble_view.h void AdjustForFullscreen(const gfx::Rect& screen_bounds); gfx 49 chrome/browser/ui/views/location_bar/zoom_view.cc bool ZoomView::GetTooltipText(const gfx::Point& p, gfx 33 chrome/browser/ui/views/location_bar/zoom_view.h virtual bool GetTooltipText(const gfx::Point& p, gfx 34 chrome/browser/ui/views/login_view.cc message_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 92 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc gfx::ImageSkia(), gfx 177 chrome/browser/ui/views/menu_item_view_interactive_uitest.cc gfx::ImageSkia(), gfx 70 chrome/browser/ui/views/menu_model_adapter_test.cc virtual bool GetIconAt(int index, gfx::Image* icon) OVERRIDE { gfx 228 chrome/browser/ui/views/menu_model_adapter_test.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 234 chrome/browser/ui/views/menu_model_adapter_test.cc const gfx::Point& point) OVERRIDE { gfx 235 chrome/browser/ui/views/menu_model_adapter_test.cc gfx::Point screen_location; gfx 237 chrome/browser/ui/views/menu_model_adapter_test.cc gfx::Rect bounds(screen_location, source->size()); gfx 64 chrome/browser/ui/views/menu_test_base.cc gfx::Size MenuTestBase::GetPreferredSize() { gfx 69 chrome/browser/ui/views/menu_test_base.cc const gfx::Point& point) { gfx 70 chrome/browser/ui/views/menu_test_base.cc gfx::Point screen_location; gfx 72 chrome/browser/ui/views/menu_test_base.cc gfx::Rect bounds(screen_location, source->size()); gfx 68 chrome/browser/ui/views/menu_test_base.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 72 chrome/browser/ui/views/menu_test_base.h const gfx::Point& point) OVERRIDE; gfx 31 chrome/browser/ui/views/message_center/message_center_frame_view.cc gfx::Rect MessageCenterFrameView::GetBoundsForClientView() const { gfx 32 chrome/browser/ui/views/message_center/message_center_frame_view.cc gfx::Rect client_bounds = GetLocalBounds(); gfx 37 chrome/browser/ui/views/message_center/message_center_frame_view.cc gfx::Rect MessageCenterFrameView::GetWindowBoundsForClientBounds( gfx 38 chrome/browser/ui/views/message_center/message_center_frame_view.cc const gfx::Rect& client_bounds) const { gfx 39 chrome/browser/ui/views/message_center/message_center_frame_view.cc gfx::Rect window_bounds = client_bounds; gfx 44 chrome/browser/ui/views/message_center/message_center_frame_view.cc int MessageCenterFrameView::NonClientHitTest(const gfx::Point& point) { gfx 45 chrome/browser/ui/views/message_center/message_center_frame_view.cc gfx::Rect frame_bounds = bounds(); gfx 53 chrome/browser/ui/views/message_center/message_center_frame_view.cc void MessageCenterFrameView::GetWindowMask(const gfx::Size& size, gfx 54 chrome/browser/ui/views/message_center/message_center_frame_view.cc gfx::Path* window_mask) { gfx 66 chrome/browser/ui/views/message_center/message_center_frame_view.cc gfx::Insets MessageCenterFrameView::GetInsets() const { gfx 25 chrome/browser/ui/views/message_center/message_center_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 26 chrome/browser/ui/views/message_center/message_center_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 27 chrome/browser/ui/views/message_center/message_center_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 28 chrome/browser/ui/views/message_center/message_center_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 29 chrome/browser/ui/views/message_center/message_center_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 30 chrome/browser/ui/views/message_center/message_center_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 36 chrome/browser/ui/views/message_center/message_center_frame_view.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 110 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Size MessageCenterWidgetDelegate::GetPreferredSize() { gfx 112 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc return gfx::Size(preferred_width, GetHeightForWidth(preferred_width)); gfx 115 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Size MessageCenterWidgetDelegate::GetMaximumSize() { gfx 116 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Size size = GetPreferredSize(); gfx 164 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Point MessageCenterWidgetDelegate::GetCorrectedAnchor( gfx 165 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Size calculated_size) { gfx 166 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Point corrected_anchor = pos_info_.inital_anchor_point; gfx 218 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Rect MessageCenterWidgetDelegate::GetMessageCenterBounds() { gfx 219 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Size size = GetPreferredSize(); gfx 223 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Rect bounds(size); gfx 225 chrome/browser/ui/views/message_center/message_center_widget_delegate.cc gfx::Point corrected_anchor = GetCorrectedAnchor(size); gfx 40 chrome/browser/ui/views/message_center/message_center_widget_delegate.h gfx::Point inital_anchor_point; gfx 75 chrome/browser/ui/views/message_center/message_center_widget_delegate.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 76 chrome/browser/ui/views/message_center/message_center_widget_delegate.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 88 chrome/browser/ui/views/message_center/message_center_widget_delegate.h gfx::Point GetCorrectedAnchor(gfx::Size calculated_size); gfx 92 chrome/browser/ui/views/message_center/message_center_widget_delegate.h gfx::Rect GetMessageCenterBounds(); gfx 95 chrome/browser/ui/views/message_center/message_center_widget_delegate.h gfx::Insets border_insets_; gfx 43 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::ImageSkia* GetIcon(int unread_count, bool is_quiet_mode) { gfx 68 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 70 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Rect screen_bounds = screen->GetPrimaryDisplay().bounds(); gfx 71 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Rect work_area = screen->GetPrimaryDisplay().work_area(); gfx 91 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Point GetClosestCorner(const gfx::Rect& rect, const gfx::Point& query) { gfx 92 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Point center_point = rect.CenterPoint(); gfx 93 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Point rv; gfx 109 chrome/browser/ui/views/message_center/web_notification_tray.cc Alignment GetAnchorAlignment(const gfx::Rect& work_area, gfx::Point corner) { gfx 110 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Point center = work_area.CenterPoint(); gfx 222 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 255 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::ImageSkia* icon_image = GetIcon( gfx 282 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 283 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Rect work_area = screen->GetPrimaryDisplay().work_area(); gfx 286 chrome/browser/ui/views/message_center/web_notification_tray.cc gfx::Point corner = internal::GetClosestCorner(work_area, mouse_click_point_); gfx 328 chrome/browser/ui/views/message_center/web_notification_tray.cc void WebNotificationTray::CreateStatusIcon(const gfx::ImageSkia& image, gfx 79 chrome/browser/ui/views/message_center/web_notification_tray.h gfx::Point mouse_click_point() { return mouse_click_point_; } gfx 92 chrome/browser/ui/views/message_center/web_notification_tray.h void CreateStatusIcon(const gfx::ImageSkia& image, gfx 105 chrome/browser/ui/views/message_center/web_notification_tray.h gfx::Point mouse_click_point_; gfx 52 chrome/browser/ui/views/message_center/web_notification_tray_win.cc gfx::ImageSkia sized_app_icon_skia = gfx 53 chrome/browser/ui/views/message_center/web_notification_tray_win.cc gfx::ImageSkia::CreateFrom1xBitmap(*sized_app_icon_bitmap); gfx 65 chrome/browser/ui/views/network_profile_bubble_view.cc gfx::Insets(kAnchorVerticalInset, 0, kAnchorVerticalInset, 0)); gfx 90 chrome/browser/ui/views/network_profile_bubble_view.cc title->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 34 chrome/browser/ui/views/new_avatar_button.cc border->SetInsets(gfx::Insets(kInset, kInset, kInset, kInset)); gfx 49 chrome/browser/ui/views/new_avatar_button.cc const gfx::FontList font_list; gfx 50 chrome/browser/ui/views/new_avatar_button.cc return gfx::ElideText( gfx 54 chrome/browser/ui/views/new_avatar_button.cc gfx::ELIDE_AT_END); gfx 110 chrome/browser/ui/views/new_avatar_button.cc void NewAvatarButton::OnPaint(gfx::Canvas* canvas) { gfx 116 chrome/browser/ui/views/new_avatar_button.cc gfx::Rect rect; gfx 119 chrome/browser/ui/views/new_avatar_button.cc rect = gfx::Rect(-kInset, 0, size().width(), size().height()); gfx 121 chrome/browser/ui/views/new_avatar_button.cc rect = gfx::Rect(kInset, 0, size().width(), size().height()); gfx 125 chrome/browser/ui/views/new_avatar_button.cc gfx::FontList(), gfx 129 chrome/browser/ui/views/new_avatar_button.cc gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 30 chrome/browser/ui/views/new_avatar_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 87 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc ui::MouseEvent mouse_ev(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), 0, gfx 126 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), 0, 0); gfx 18 chrome/browser/ui/views/notifications/balloon_collection_views.cc gfx::Size size(layout_.min_balloon_width(), layout_.min_balloon_height()); gfx 80 chrome/browser/ui/views/notifications/balloon_collection_views.cc gfx::Point cursor(GetMessagePos()); gfx 85 chrome/browser/ui/views/notifications/balloon_collection_views.cc gfx::Point cursor(gfx::Screen::GetNativeScreen()->GetCursorScreenPoint()); gfx 46 chrome/browser/ui/views/notifications/balloon_view_host.cc void BalloonViewHost::Init(gfx::NativeView parent_native_view) { gfx 21 chrome/browser/ui/views/notifications/balloon_view_host.h void SetPreferredSize(const gfx::Size& size) { gfx 30 chrome/browser/ui/views/notifications/balloon_view_host.h gfx::NativeView native_view() const { gfx 35 chrome/browser/ui/views/notifications/balloon_view_host.h void Init(gfx::NativeView parent); gfx 42 chrome/browser/ui/views/notifications/balloon_view_host.h gfx::NativeView parent_native_view_; gfx 125 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Size BalloonViewImpl::GetSize() const { gfx 129 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Size(0, 0); gfx 131 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Size(GetTotalWidth(), GetTotalHeight()); gfx 139 chrome/browser/ui/views/notifications/balloon_view_views.cc const gfx::Point& point) { gfx 144 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Point screen_location; gfx 149 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect(screen_location, options_menu_button_->size()), gfx 174 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Size BalloonViewImpl::GetPreferredSize() { gfx 175 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Size(1000, 1000); gfx 182 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect contents_rect = GetContentsRectangle(); gfx 186 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Path path; gfx 205 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect contents_rect = GetContentsRectangle(); gfx 217 chrome/browser/ui/views/notifications/balloon_view_views.cc animation_.reset(new gfx::SlideAnimation(this)); gfx 236 chrome/browser/ui/views/notifications/balloon_view_views.cc void BalloonViewImpl::AnimationProgressed(const gfx::Animation* animation) { gfx 240 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect frame_position(animation_->CurrentValueBetween( gfx 244 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Path path; gfx 245 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect contents_rect = GetContentsRectangle(); gfx 257 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect BalloonViewImpl::GetCloseButtonBounds() const { gfx 258 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect bounds(GetContentsBounds()); gfx 260 chrome/browser/ui/views/notifications/balloon_view_views.cc const gfx::Size& pref_size(close_button_->GetPreferredSize()); gfx 267 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect BalloonViewImpl::GetOptionsButtonBounds() const { gfx 268 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect bounds(GetContentsBounds()); gfx 270 chrome/browser/ui/views/notifications/balloon_view_views.cc const gfx::Size& pref_size(options_menu_button_->GetPreferredSize()); gfx 278 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect BalloonViewImpl::GetLabelBounds() const { gfx 279 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect bounds(GetContentsBounds()); gfx 281 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Size pref_size(source_label_->GetPreferredSize()); gfx 327 chrome/browser/ui/views/notifications/balloon_view_views.cc html_contents_->SetPreferredSize(gfx::Size(10000, 10000)); gfx 377 chrome/browser/ui/views/notifications/balloon_view_views.cc source_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 395 chrome/browser/ui/views/notifications/balloon_view_views.cc void BalloonViewImpl::GetContentsMask(const gfx::Rect& rect, gfx 396 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Path* path) const { gfx 421 chrome/browser/ui/views/notifications/balloon_view_views.cc void BalloonViewImpl::GetFrameMask(const gfx::Rect& rect, gfx 422 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Path* path) const { gfx 445 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Point BalloonViewImpl::GetContentsOffset() const { gfx 446 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Point(kLeftShadowWidth + kLeftMargin, gfx 450 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect BalloonViewImpl::GetBoundsForFrameContainer() const { gfx 451 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Rect(balloon_->GetPosition().x(), balloon_->GetPosition().y(), gfx 479 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect BalloonViewImpl::GetContentsRectangle() const { gfx 481 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Rect(); gfx 483 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Size content_size = balloon_->content_size(); gfx 484 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Point offset = GetContentsOffset(); gfx 485 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect frame_rect = frame_container_->GetWindowBoundsInScreen(); gfx 486 chrome/browser/ui/views/notifications/balloon_view_views.cc return gfx::Rect(frame_rect.x() + offset.x(), gfx 492 chrome/browser/ui/views/notifications/balloon_view_views.cc void BalloonViewImpl::OnPaint(gfx::Canvas* canvas) { gfx 495 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Path path; gfx 496 chrome/browser/ui/views/notifications/balloon_view_views.cc gfx::Rect rect = GetContentsBounds(); gfx 507 chrome/browser/ui/views/notifications/balloon_view_views.cc canvas->FillRect(gfx::Rect(kLeftMargin, rect.bottom(), line_width, 1), gfx 513 chrome/browser/ui/views/notifications/balloon_view_views.cc void BalloonViewImpl::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 23 chrome/browser/ui/views/notifications/balloon_view_views.h namespace gfx { gfx 42 chrome/browser/ui/views/notifications/balloon_view_views.h public gfx::AnimationDelegate { gfx 52 chrome/browser/ui/views/notifications/balloon_view_views.h virtual gfx::Size GetSize() const OVERRIDE; gfx 59 chrome/browser/ui/views/notifications/balloon_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 60 chrome/browser/ui/views/notifications/balloon_view_views.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 61 chrome/browser/ui/views/notifications/balloon_view_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 65 chrome/browser/ui/views/notifications/balloon_view_views.h const gfx::Point& point) OVERRIDE; gfx 82 chrome/browser/ui/views/notifications/balloon_view_views.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 88 chrome/browser/ui/views/notifications/balloon_view_views.h void GetContentsMask(const gfx::Rect& contents_rect, gfx::Path* path) const; gfx 91 chrome/browser/ui/views/notifications/balloon_view_views.h void GetFrameMask(const gfx::Rect&, gfx::Path* path) const; gfx 106 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Rect GetCloseButtonBounds() const; gfx 107 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Rect GetOptionsButtonBounds() const; gfx 108 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Rect GetLabelBounds() const; gfx 112 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Point GetContentsOffset() const; gfx 115 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Rect GetContentsRectangle() const; gfx 118 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Rect GetBoundsForFrameContainer() const; gfx 144 chrome/browser/ui/views/notifications/balloon_view_views.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 145 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Rect anim_frame_start_; gfx 146 chrome/browser/ui/views/notifications/balloon_view_views.h gfx::Rect anim_frame_end_; gfx 47 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::FontList& font_list, gfx 65 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::FontList& font_list, gfx 102 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect OmniboxPopupContentsView::GetPopupBounds() const { gfx 106 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect current_frame_bounds = start_bounds_; gfx 119 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect contents_rect = GetContentsBounds(); gfx 190 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Point top_left_screen_coord; gfx 194 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect new_target_bounds(top_left_screen_coord, gfx 195 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Size(width, CalculatePopupHeight())); gfx 206 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::NativeView popup_parent = gfx 253 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect OmniboxPopupContentsView::GetTargetBounds() { gfx 276 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Image OmniboxPopupContentsView::GetIconIfExtensionMatch( gfx 279 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc return gfx::Image(); gfx 287 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::Animation* animation) { gfx 306 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::Rect& rect) { gfx 311 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::Point& point) { gfx 382 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc void OmniboxPopupContentsView::PaintResultViews(gfx::Canvas* canvas) { gfx 415 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::FontList& font_list) { gfx 423 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc void OmniboxPopupContentsView::OnPaint(gfx::Canvas* canvas) { gfx 424 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect contents_bounds = GetContentsBounds(); gfx 428 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Path path; gfx 439 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Rect(0, 0, width(), views::NonClientFrameView::kClientEdgeThickness), gfx 448 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc void OmniboxPopupContentsView::PaintChildren(gfx::Canvas* canvas) { gfx 465 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Path* path, gfx 466 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::Rect& bounding_rect) { gfx 476 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const gfx::Point& point) { gfx 484 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc gfx::Point point_in_child_coords(point); gfx 27 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h public gfx::AnimationDelegate { gfx 30 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h static OmniboxPopupView* Create(const gfx::FontList& font_list, gfx 37 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h gfx::Rect GetPopupBounds() const; gfx 45 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual gfx::Rect GetTargetBounds() OVERRIDE; gfx 50 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 55 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h const gfx::Rect& rect) OVERRIDE; gfx 57 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h const gfx::Point& point) OVERRIDE; gfx 71 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h gfx::Image GetIconIfExtensionMatch(size_t index) const; gfx 78 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h OmniboxPopupContentsView(const gfx::FontList& font_list, gfx 86 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void PaintResultViews(gfx::Canvas* canvas); gfx 91 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h const gfx::FontList& font_list); gfx 94 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 99 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 117 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h void MakeContentsPath(gfx::Path* path, const gfx::Rect& bounding_rect); gfx 122 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h size_t GetIndexForPoint(const gfx::Point& point); gfx 148 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h gfx::FontList font_list_; gfx 160 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h gfx::SlideAnimation size_animation_; gfx 161 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h gfx::Rect start_bounds_; gfx 162 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h gfx::Rect target_bounds_; gfx 167 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h const gfx::ImageSkia* bottom_shadow_; // Ptr owned by resource bundle. gfx 136 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const gfx::FontList& font_list) gfx 146 chrome/browser/ui/views/omnibox/omnibox_result_view.cc font_list.DeriveWithStyle(gfx::Font::BOLD).GetHeight())), gfx 149 chrome/browser/ui/views/omnibox/omnibox_result_view.cc animation_(new gfx::SlideAnimation(this)) { gfx 213 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::Size OmniboxResultView::GetPreferredSize() { gfx 214 chrome/browser/ui/views/omnibox/omnibox_result_view.cc return gfx::Size(0, std::max( gfx 234 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::RenderText* contents, gfx 235 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::RenderText* description, gfx 236 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::Canvas* canvas, gfx 270 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::RenderText* render_text, gfx 272 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::Canvas* canvas, gfx 293 chrome/browser/ui/views/omnibox/omnibox_result_view.cc scoped_ptr<gfx::RenderText> prefix_render_text( gfx 315 chrome/browser/ui/views/omnibox/omnibox_result_view.cc is_match_contents_rtl ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT); gfx 328 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::DIRECTIONALITY_FORCE_RTL : gfx::DIRECTIONALITY_FORCE_LTR); gfx 330 chrome/browser/ui/views/omnibox/omnibox_result_view.cc is_match_contents_rtl ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT); gfx 331 chrome/browser/ui/views/omnibox/omnibox_result_view.cc prefix_render_text->SetDisplayRect(gfx::Rect( gfx 339 chrome/browser/ui/views/omnibox/omnibox_result_view.cc render_text->SetDisplayRect(gfx::Rect( gfx 346 chrome/browser/ui/views/omnibox/omnibox_result_view.cc scoped_ptr<gfx::RenderText> OmniboxResultView::CreateRenderText( gfx 348 chrome/browser/ui/views/omnibox/omnibox_result_view.cc scoped_ptr<gfx::RenderText> render_text(gfx::RenderText::CreateInstance()); gfx 350 chrome/browser/ui/views/omnibox/omnibox_result_view.cc render_text->SetElideBehavior(gfx::ELIDE_AT_END); gfx 356 chrome/browser/ui/views/omnibox/omnibox_result_view.cc scoped_ptr<gfx::RenderText> OmniboxResultView::CreateClassifiedRenderText( gfx 360 chrome/browser/ui/views/omnibox/omnibox_result_view.cc scoped_ptr<gfx::RenderText> render_text(CreateRenderText(text)); gfx 370 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const gfx::Range current_range(text_start, text_end); gfx 374 chrome/browser/ui/views/omnibox/omnibox_result_view.cc render_text->ApplyStyle(gfx::BOLD, true, current_range); gfx 390 chrome/browser/ui/views/omnibox/omnibox_result_view.cc render_text->SetDirectionalityMode(gfx::DIRECTIONALITY_FORCE_LTR); gfx 420 chrome/browser/ui/views/omnibox/omnibox_result_view.cc scoped_ptr<gfx::RenderText> input_render_text(CreateRenderText(input_text)); gfx 421 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const gfx::Range& glyph_bounds = gfx 434 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::ImageSkia OmniboxResultView::GetIcon() const { gfx 435 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const gfx::Image image = model_->GetIconIfExtensionMatch(model_index_); gfx 463 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const gfx::ImageSkia* OmniboxResultView::GetKeywordIcon() const { gfx 492 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const gfx::ImageSkia icon = GetIcon(); gfx 515 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::Point(kw_x, (height() - keyword_icon_->height()) / 2)); gfx 521 chrome/browser/ui/views/omnibox/omnibox_result_view.cc void OmniboxResultView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 525 chrome/browser/ui/views/omnibox/omnibox_result_view.cc void OmniboxResultView::OnPaint(gfx::Canvas* canvas) { gfx 569 chrome/browser/ui/views/omnibox/omnibox_result_view.cc void OmniboxResultView::AnimationProgressed(const gfx::Animation* animation) { gfx 23 chrome/browser/ui/views/omnibox/omnibox_result_view.h namespace gfx { gfx 29 chrome/browser/ui/views/omnibox/omnibox_result_view.h private gfx::AnimationDelegate { gfx 52 chrome/browser/ui/views/omnibox/omnibox_result_view.h const gfx::FontList& font_list); gfx 67 chrome/browser/ui/views/omnibox/omnibox_result_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 82 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::RenderText* contents, gfx 83 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::RenderText* description, gfx 84 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::Canvas* canvas, gfx 94 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::RenderText* render_text, gfx 96 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::Canvas* canvas, gfx 102 chrome/browser/ui/views/omnibox/omnibox_result_view.h scoped_ptr<gfx::RenderText> CreateRenderText( gfx 107 chrome/browser/ui/views/omnibox/omnibox_result_view.h scoped_ptr<gfx::RenderText> CreateClassifiedRenderText( gfx 112 chrome/browser/ui/views/omnibox/omnibox_result_view.h const gfx::Rect& text_bounds() const { return text_bounds_; } gfx 121 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::ImageSkia GetIcon() const; gfx 122 chrome/browser/ui/views/omnibox/omnibox_result_view.h const gfx::ImageSkia* GetKeywordIcon() const; gfx 138 chrome/browser/ui/views/omnibox/omnibox_result_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 139 chrome/browser/ui/views/omnibox/omnibox_result_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 142 chrome/browser/ui/views/omnibox/omnibox_result_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 164 chrome/browser/ui/views/omnibox/omnibox_result_view.h const gfx::FontList font_list_; gfx 173 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::Rect text_bounds_; gfx 174 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::Rect icon_bounds_; gfx 176 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::Rect keyword_text_bounds_; gfx 179 chrome/browser/ui/views/omnibox/omnibox_result_view.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 183 chrome/browser/ui/views/omnibox/omnibox_result_view.h mutable scoped_ptr<gfx::RenderText> contents_rendertext_; gfx 184 chrome/browser/ui/views/omnibox/omnibox_result_view.h mutable scoped_ptr<gfx::RenderText> description_rendertext_; gfx 185 chrome/browser/ui/views/omnibox/omnibox_result_view.h mutable scoped_ptr<gfx::RenderText> separator_rendertext_; gfx 186 chrome/browser/ui/views/omnibox/omnibox_result_view.h mutable scoped_ptr<gfx::RenderText> keyword_contents_rendertext_; gfx 187 chrome/browser/ui/views/omnibox/omnibox_result_view.h mutable scoped_ptr<gfx::RenderText> keyword_description_rendertext_; gfx 74 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range& selection, gfx 75 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range& saved_selection_for_focus_change); gfx 84 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range selection; gfx 85 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range saved_selection_for_focus_change; gfx 92 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range& selection, gfx 93 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range& saved_selection_for_focus_change) gfx 137 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::FontList& font_list) gfx 141 chrome/browser/ui/views/omnibox/omnibox_view_views.cc saved_selection_for_focus_change_(gfx::Range::InvalidRange()), gfx 185 chrome/browser/ui/views/omnibox/omnibox_view_views.cc fade_in_animation_.reset(new gfx::SlideAnimation(this)); gfx 186 chrome/browser/ui/views/omnibox/omnibox_view_views.cc fade_in_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 201 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::OnPaint(gfx::Canvas* canvas) { gfx 228 chrome/browser/ui/views/omnibox/omnibox_view_views.cc saved_selection_for_focus_change_ = gfx::Range::InvalidRange(); gfx 333 chrome/browser/ui/views/omnibox/omnibox_view_views.cc saved_selection_for_focus_change_ = gfx::Range::InvalidRange(); gfx 405 chrome/browser/ui/views/omnibox/omnibox_view_views.cc saved_selection_for_focus_change_ = gfx::Range::InvalidRange(); gfx 414 chrome/browser/ui/views/omnibox/omnibox_view_views.cc gfx::NativeView native_view = NULL; gfx 437 chrome/browser/ui/views/omnibox/omnibox_view_views.cc SelectRange(gfx::Range(0)); gfx 528 chrome/browser/ui/views/omnibox/omnibox_view_views.cc saved_selection_for_focus_change_ = gfx::Range::InvalidRange(); gfx 536 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range range(caret_pos, caret_pos); gfx 552 chrome/browser/ui/views/omnibox/omnibox_view_views.cc SelectRange(gfx::Range(current_text.size(), start + 1)); gfx 567 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range range = GetSelectedRange(); gfx 577 chrome/browser/ui/views/omnibox/omnibox_view_views.cc saved_selection_for_focus_change_ = gfx::Range::InvalidRange(); gfx 589 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range sel = GetSelectedRange(); gfx 631 chrome/browser/ui/views/omnibox/omnibox_view_views.cc gfx::Range range(display_text.size(), user_text_length); gfx 661 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range new_sel = GetSelectedRange(); gfx 695 chrome/browser/ui/views/omnibox/omnibox_view_views.cc gfx::NativeView OmniboxViewViews::GetNativeView() const { gfx 699 chrome/browser/ui/views/omnibox/omnibox_view_views.cc gfx::NativeView OmniboxViewViews::GetRelativeWindowForPopup() const { gfx 807 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::AnimationProgressed(const gfx::Animation* animation) { gfx 811 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::AnimationEnded(const gfx::Animation* animation) { gfx 905 chrome/browser/ui/views/omnibox/omnibox_view_views.cc gfx::Image favicon; gfx 1013 chrome/browser/ui/views/omnibox/omnibox_view_views.cc gfx::Range(host.begin, host.end())); gfx 1021 chrome/browser/ui/views/omnibox/omnibox_view_views.cc SetStyle(gfx::DIAGONAL_STRIKE, false); gfx 1027 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range scheme_range(scheme.begin, scheme.end()); gfx 1029 chrome/browser/ui/views/omnibox/omnibox_view_views.cc ApplyStyle(gfx::DIAGONAL_STRIKE, strike, scheme_range); gfx 1034 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const gfx::Range& range) { gfx 28 chrome/browser/ui/views/omnibox/omnibox_view_views.h namespace gfx { gfx 40 chrome/browser/ui/views/omnibox/omnibox_view_views.h public gfx::AnimationDelegate, gfx 55 chrome/browser/ui/views/omnibox/omnibox_view_views.h const gfx::FontList& font_list); gfx 66 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 114 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 115 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual gfx::NativeView GetRelativeWindowForPopup() const OVERRIDE; gfx 132 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 133 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 168 chrome/browser/ui/views/omnibox/omnibox_view_views.h const gfx::Range& range); gfx 193 chrome/browser/ui/views/omnibox/omnibox_view_views.h gfx::Range saved_temporary_selection_; gfx 197 chrome/browser/ui/views/omnibox/omnibox_view_views.h gfx::Range saved_selection_for_focus_change_; gfx 201 chrome/browser/ui/views/omnibox/omnibox_view_views.h gfx::Range sel_before_change_; gfx 224 chrome/browser/ui/views/omnibox/omnibox_view_views.h scoped_ptr<gfx::SlideAnimation> fade_in_animation_; gfx 57 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Point& press_location, gfx 58 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Point& release_location) { gfx 70 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc gfx::Point center = BrowserView::GetBrowserViewForBrowser( gfx 78 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc void Tap(const gfx::Point& press_location, gfx 79 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Point& release_location) { gfx 135 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Rect omnibox_bounds = BrowserView::GetBrowserViewForBrowser( gfx 137 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Point click_location = omnibox_bounds.CenterPoint(); gfx 156 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Point click2_location = omnibox_bounds.origin() + gfx 157 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc gfx::Vector2d(omnibox_bounds.width() / 4, omnibox_bounds.height() / 4); gfx 191 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Rect omnibox_bounds = BrowserView::GetBrowserViewForBrowser( gfx 193 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Point tap_location = omnibox_bounds.CenterPoint(); gfx 210 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc const gfx::Point tap2_location = omnibox_bounds.origin() + gfx 211 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc gfx::Vector2d(omnibox_bounds.width() / 4, omnibox_bounds.height() / 4); gfx 24 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc const gfx::FontList& font_list) gfx 36 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc gfx::RenderText* contents, gfx 37 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc gfx::RenderText* description, gfx 38 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc gfx::Canvas* canvas, gfx 62 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc const gfx::FontList& font_list, gfx 78 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc void TouchOmniboxPopupContentsView::PaintResultViews(gfx::Canvas* canvas) { gfx 85 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc gfx::Rect bounds(GetContentsBounds()); gfx 100 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc canvas->DrawLine(gfx::Point(bounds.x(), line_y), gfx 101 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc gfx::Point(bounds.right(), line_y), divider_color); gfx 107 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc const gfx::FontList& font_list) { gfx 15 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h namespace gfx { gfx 28 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h const gfx::FontList& font_list); gfx 35 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h gfx::RenderText* contents, gfx 36 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h gfx::RenderText* description, gfx 37 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h gfx::Canvas* canvas, gfx 47 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h TouchOmniboxPopupContentsView(const gfx::FontList& font_list, gfx 58 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h virtual void PaintResultViews(gfx::Canvas* canvas) OVERRIDE; gfx 61 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h const gfx::FontList& font_list) OVERRIDE; gfx 83 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc icon_info.hIcon, gfx::Size(GetSystemMetrics(SM_CXSMICON), gfx 87 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc gfx::ImageSkia::CreateFrom1xBitmap(*icon)); gfx 160 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 166 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc text_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 229 chrome/browser/ui/views/outdated_upgrade_bubble_view.cc set_anchor_view_insets(gfx::Insets(5, 0, 5, 0)); gfx 63 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::ImageSkia* CreateImageForColor(SkColor color) { gfx 64 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Canvas canvas(gfx::Size(1, 1), 1.0f, true); gfx 66 chrome/browser/ui/views/panels/panel_frame_view.cc return new gfx::ImageSkia(canvas.ExtractImageRep()); gfx 70 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetTopLeftCornerImage(panel::CornerStyle corner_style) { gfx 71 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* rounded_image = NULL; gfx 72 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* non_rounded_image = NULL; gfx 82 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetTopRightCornerImage(panel::CornerStyle corner_style) { gfx 83 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* rounded_image = NULL; gfx 84 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* non_rounded_image = NULL; gfx 94 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetBottomLeftCornerImage( gfx 96 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* rounded_image = NULL; gfx 97 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* non_rounded_image = NULL; gfx 107 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetBottomRightCornerImage( gfx 109 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* rounded_image = NULL; gfx 110 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* non_rounded_image = NULL; gfx 120 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetTopEdgeImage() { gfx 121 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 129 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetBottomEdgeImage() { gfx 130 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 138 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetLeftEdgeImage() { gfx 139 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 147 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& GetRightEdgeImage() { gfx 148 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 157 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia* GetActiveBackgroundDefaultImage() { gfx 158 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 164 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia* GetInactiveBackgroundDefaultImage() { gfx 165 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 171 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia* GetAttentionBackgroundDefaultImage() { gfx 172 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 178 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia* GetMinimizeBackgroundDefaultImage() { gfx 179 chrome/browser/ui/views/panels/panel_frame_view.cc static gfx::ImageSkia* image = NULL; gfx 185 chrome/browser/ui/views/panels/panel_frame_view.cc int GetFrameEdgeHitTest(const gfx::Point& point, gfx 186 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::Size& frame_size, gfx 311 chrome/browser/ui/views/panels/panel_frame_view.cc title_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 323 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Insets(thickness_for_mouse_resizing, thickness_for_mouse_resizing, gfx 361 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Path window_mask; gfx 363 chrome/browser/ui/views/panels/panel_frame_view.cc base::win::ScopedRegion new_region(gfx::CreateHRGNFromSkPath(window_mask)); gfx 373 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Rect PanelFrameView::GetBoundsForClientView() const { gfx 396 chrome/browser/ui/views/panels/panel_frame_view.cc return gfx::Rect(border_thickness, gfx 402 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Rect PanelFrameView::GetWindowBoundsForClientBounds( gfx 403 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::Rect& client_bounds) const { gfx 408 chrome/browser/ui/views/panels/panel_frame_view.cc return gfx::Rect(client_bounds.x() - border_thickness, gfx 414 chrome/browser/ui/views/panels/panel_frame_view.cc int PanelFrameView::NonClientHitTest(const gfx::Point& point) { gfx 445 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::GetWindowMask(const gfx::Size& size, gfx 446 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Path* window_mask) { gfx 497 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Size PanelFrameView::GetPreferredSize() { gfx 498 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Size pref_size = gfx 500 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Rect bounds(0, 0, pref_size.width(), pref_size.height()); gfx 509 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Size PanelFrameView::GetMinimumSize() { gfx 513 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Size PanelFrameView::GetMaximumSize() { gfx 559 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::OnPaint(gfx::Canvas* canvas) { gfx 569 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Point mouse_location = event.location(); gfx 586 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 587 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Point mouse_location = screen->GetCursorScreenPoint(); gfx 591 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Point mouse_location = event.location(); gfx 635 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::ImageSkia PanelFrameView::GetFaviconForTabIconView() { gfx 639 chrome/browser/ui/views/panels/panel_frame_view.cc gfx::Size PanelFrameView::NonClientAreaSize() const { gfx 641 chrome/browser/ui/views/panels/panel_frame_view.cc return gfx::Size(0, TitlebarHeight()); gfx 645 chrome/browser/ui/views/panels/panel_frame_view.cc return gfx::Size(2 * kNonAeroBorderThickness, gfx 672 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia* PanelFrameView::GetFrameBackground( gfx 693 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::PaintFrameBackground(gfx::Canvas* canvas) { gfx 698 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia* image = GetFrameBackground(GetPaintState()); gfx 717 chrome/browser/ui/views/panels/panel_frame_view.cc void PanelFrameView::PaintFrameEdge(gfx::Canvas* canvas) { gfx 723 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& top_left_image = GetTopLeftCornerImage(corner_style_); gfx 724 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& top_right_image = GetTopRightCornerImage(corner_style_); gfx 725 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& bottom_left_image = gfx 727 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& bottom_right_image = gfx 729 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& top_image = GetTopEdgeImage(); gfx 730 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& bottom_image = GetBottomEdgeImage(); gfx 731 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& left_image = GetLeftEdgeImage(); gfx 732 chrome/browser/ui/views/panels/panel_frame_view.cc const gfx::ImageSkia& right_image = GetRightEdgeImage(); gfx 44 chrome/browser/ui/views/panels/panel_frame_view.h gfx::Size NonClientAreaSize() const; gfx 59 chrome/browser/ui/views/panels/panel_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 60 chrome/browser/ui/views/panels/panel_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 61 chrome/browser/ui/views/panels/panel_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 62 chrome/browser/ui/views/panels/panel_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 63 chrome/browser/ui/views/panels/panel_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 64 chrome/browser/ui/views/panels/panel_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 70 chrome/browser/ui/views/panels/panel_frame_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 72 chrome/browser/ui/views/panels/panel_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 73 chrome/browser/ui/views/panels/panel_frame_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 75 chrome/browser/ui/views/panels/panel_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 87 chrome/browser/ui/views/panels/panel_frame_view.h virtual gfx::ImageSkia GetFaviconForTabIconView() OVERRIDE; gfx 91 chrome/browser/ui/views/panels/panel_frame_view.h const gfx::ImageSkia* GetFrameBackground(PaintState paint_state) const; gfx 97 chrome/browser/ui/views/panels/panel_frame_view.h void PaintFrameBackground(gfx::Canvas* canvas); gfx 98 chrome/browser/ui/views/panels/panel_frame_view.h void PaintFrameEdge(gfx::Canvas* canvas); gfx 35 chrome/browser/ui/views/panels/panel_stack_view.cc PanelStackWindow(const gfx::Rect& bounds, gfx 41 chrome/browser/ui/views/panels/panel_stack_view.cc virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; gfx 42 chrome/browser/ui/views/panels/panel_stack_view.cc virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 57 chrome/browser/ui/views/panels/panel_stack_view.cc PanelStackWindow::PanelStackWindow(const gfx::Rect& bounds, gfx 80 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::ImageSkia PanelStackWindow::GetWindowAppIcon() { gfx 82 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Image app_icon = delegate_->GetIcon(); gfx 86 chrome/browser/ui/views/panels/panel_stack_view.cc return gfx::ImageSkia(); gfx 89 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::ImageSkia PanelStackWindow::GetWindowIcon() { gfx 195 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::MovePanelsBy(const gfx::Vector2d& delta) { gfx 216 chrome/browser/ui/views/panels/panel_stack_view.cc const gfx::Rect& new_bounds) { gfx 246 chrome/browser/ui/views/panels/panel_stack_view.cc bounds_animator_.reset(new gfx::LinearAnimation( gfx 342 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::OnNativeFocusChange(gfx::NativeView focused_before, gfx 343 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::NativeView focused_now) { gfx 360 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::AnimationEnded(const gfx::Animation* animation) { gfx 373 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::AnimationCanceled(const gfx::Animation* animation) { gfx 381 chrome/browser/ui/views/panels/panel_stack_view.cc void PanelStackView::AnimationProgressed(const gfx::Animation* animation) { gfx 392 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Rect enclosing_bounds; gfx 396 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Rect target_bounds = panel->GetBounds(); gfx 397 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Rect current_bounds; gfx 438 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Rect PanelStackView::GetStackWindowBounds() const { gfx 439 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Rect enclosing_bounds; gfx 499 chrome/browser/ui/views/panels/panel_stack_view.cc views::Widget* PanelStackView::CreateWindowWithBounds(const gfx::Rect& bounds) { gfx 529 chrome/browser/ui/views/panels/panel_stack_view.cc window_ = CreateWindowWithBounds(gfx::Rect(0, 0, 1, 1)); gfx 550 chrome/browser/ui/views/panels/panel_stack_view.cc gfx::Rect new_stack_bounds(*(reinterpret_cast<LPRECT>(l_param))); gfx 580 chrome/browser/ui/views/panels/panel_stack_view.cc const gfx::Rect& bounds) { gfx 23 chrome/browser/ui/views/panels/panel_stack_view.h namespace gfx { gfx 38 chrome/browser/ui/views/panels/panel_stack_view.h public gfx::AnimationDelegate { gfx 51 chrome/browser/ui/views/panels/panel_stack_view.h virtual void MovePanelsBy(const gfx::Vector2d& delta) OVERRIDE; gfx 54 chrome/browser/ui/views/panels/panel_stack_view.h Panel* panel, const gfx::Rect& new_bounds) OVERRIDE; gfx 66 chrome/browser/ui/views/panels/panel_stack_view.h typedef std::map<Panel*, gfx::Rect> BoundsUpdates; gfx 69 chrome/browser/ui/views/panels/panel_stack_view.h virtual void OnNativeFocusChange(gfx::NativeView focused_before, gfx 70 chrome/browser/ui/views/panels/panel_stack_view.h gfx::NativeView focused_now) OVERRIDE; gfx 73 chrome/browser/ui/views/panels/panel_stack_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 74 chrome/browser/ui/views/panels/panel_stack_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 75 chrome/browser/ui/views/panels/panel_stack_view.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 84 chrome/browser/ui/views/panels/panel_stack_view.h gfx::Rect GetStackWindowBounds() const; gfx 87 chrome/browser/ui/views/panels/panel_stack_view.h views::Widget* CreateWindowWithBounds(const gfx::Rect& bounds); gfx 114 chrome/browser/ui/views/panels/panel_stack_view.h const gfx::Rect& bounds); gfx 141 chrome/browser/ui/views/panels/panel_stack_view.h scoped_ptr<gfx::LinearAnimation> bounds_animator_; gfx 99 chrome/browser/ui/views/panels/panel_view.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) OVERRIDE; gfx 102 chrome/browser/ui/views/panels/panel_view.cc virtual void DragTitlebar(const gfx::Point& mouse_location) OVERRIDE; gfx 125 chrome/browser/ui/views/panels/panel_view.cc const gfx::Point& mouse_location, panel::ClickModifier modifier) { gfx 134 chrome/browser/ui/views/panels/panel_view.cc void NativePanelTestingWin::DragTitlebar(const gfx::Point& mouse_location) { gfx 249 chrome/browser/ui/views/panels/panel_view.cc const gfx::Rect& bounds, gfx 258 chrome/browser/ui/views/panels/panel_view.cc PanelView::PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top) gfx 330 chrome/browser/ui/views/panels/panel_view.cc gfx::Rect PanelView::GetPanelBounds() const { gfx 334 chrome/browser/ui/views/panels/panel_view.cc void PanelView::SetPanelBounds(const gfx::Rect& bounds) { gfx 338 chrome/browser/ui/views/panels/panel_view.cc void PanelView::SetPanelBoundsInstantly(const gfx::Rect& bounds) { gfx 342 chrome/browser/ui/views/panels/panel_view.cc void PanelView::SetBoundsInternal(const gfx::Rect& new_bounds, bool animate) { gfx 379 chrome/browser/ui/views/panels/panel_view.cc void PanelView::AnimationEnded(const gfx::Animation* animation) { gfx 383 chrome/browser/ui/views/panels/panel_view.cc void PanelView::AnimationProgressed(const gfx::Animation* animation) { gfx 384 chrome/browser/ui/views/panels/panel_view.cc gfx::Rect new_bounds = bounds_animator_->CurrentValueBetween( gfx 389 chrome/browser/ui/views/panels/panel_view.cc void PanelView::SetWidgetBounds(const gfx::Rect& new_bounds) { gfx 411 chrome/browser/ui/views/panels/panel_view.cc gfx::Rect old_bounds = GetWidget()->GetRestoredBounds(); gfx 501 chrome/browser/ui/views/panels/panel_view.cc gfx::NativeWindow PanelView::GetNativePanelWindow() { gfx 672 chrome/browser/ui/views/panels/panel_view.cc gfx::Size PanelView::WindowSizeFromContentSize( gfx 673 chrome/browser/ui/views/panels/panel_view.cc const gfx::Size& content_size) const { gfx 674 chrome/browser/ui/views/panels/panel_view.cc gfx::Size frame = GetFrameView()->NonClientAreaSize(); gfx 675 chrome/browser/ui/views/panels/panel_view.cc return gfx::Size(content_size.width() + frame.width(), gfx 679 chrome/browser/ui/views/panels/panel_view.cc gfx::Size PanelView::ContentSizeFromWindowSize( gfx 680 chrome/browser/ui/views/panels/panel_view.cc const gfx::Size& window_size) const { gfx 681 chrome/browser/ui/views/panels/panel_view.cc gfx::Size frame = GetFrameView()->NonClientAreaSize(); gfx 682 chrome/browser/ui/views/panels/panel_view.cc return gfx::Size(window_size.width() - frame.width(), gfx 768 chrome/browser/ui/views/panels/panel_view.cc gfx::ImageSkia PanelView::GetWindowAppIcon() { gfx 769 chrome/browser/ui/views/panels/panel_view.cc gfx::Image app_icon = panel_->app_icon(); gfx 776 chrome/browser/ui/views/panels/panel_view.cc gfx::ImageSkia PanelView::GetWindowIcon() { gfx 777 chrome/browser/ui/views/panels/panel_view.cc gfx::Image icon = panel_->GetCurrentPageIcon(); gfx 778 chrome/browser/ui/views/panels/panel_view.cc return icon.IsEmpty() ? gfx::ImageSkia() : *icon.ToImageSkia(); gfx 836 chrome/browser/ui/views/panels/panel_view.cc gfx::Rect new_bounds = window_->GetWindowBoundsInScreen(); gfx 906 chrome/browser/ui/views/panels/panel_view.cc gfx::Size PanelView::GetMinimumSize() { gfx 910 chrome/browser/ui/views/panels/panel_view.cc return panel_->IsMinimized() ? gfx::Size() : gfx 911 chrome/browser/ui/views/panels/panel_view.cc gfx::Size(panel::kPanelMinWidth, panel::kPanelMinHeight); gfx 914 chrome/browser/ui/views/panels/panel_view.cc gfx::Size PanelView::GetMaximumSize() { gfx 924 chrome/browser/ui/views/panels/panel_view.cc return gfx::Size(0, below_panel->GetBounds().bottom() - gfx 929 chrome/browser/ui/views/panels/panel_view.cc return gfx::Size(); gfx 988 chrome/browser/ui/views/panels/panel_view.cc gfx::Screen::GetScreenFor(widget->GetNativeWindow())-> gfx 1005 chrome/browser/ui/views/panels/panel_view.cc const gfx::Rect& new_bounds) { gfx 1010 chrome/browser/ui/views/panels/panel_view.cc bool PanelView::OnTitlebarMousePressed(const gfx::Point& mouse_location) { gfx 1017 chrome/browser/ui/views/panels/panel_view.cc bool PanelView::OnTitlebarMouseDragged(const gfx::Point& mouse_location) { gfx 1101 chrome/browser/ui/views/panels/panel_view.cc bool PanelView::IsWithinResizingArea(const gfx::Point& mouse_location) const { gfx 1102 chrome/browser/ui/views/panels/panel_view.cc gfx::Rect bounds = window_->GetWindowBoundsInScreen(); gfx 34 chrome/browser/ui/views/panels/panel_view.h public gfx::AnimationDelegate { gfx 39 chrome/browser/ui/views/panels/panel_view.h PanelView(Panel* panel, const gfx::Rect& bounds, bool always_on_top); gfx 45 chrome/browser/ui/views/panels/panel_view.h virtual gfx::Rect GetPanelBounds() const OVERRIDE; gfx 46 chrome/browser/ui/views/panels/panel_view.h virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; gfx 47 chrome/browser/ui/views/panels/panel_view.h virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; gfx 53 chrome/browser/ui/views/panels/panel_view.h virtual gfx::NativeWindow GetNativePanelWindow() OVERRIDE; gfx 74 chrome/browser/ui/views/panels/panel_view.h virtual gfx::Size WindowSizeFromContentSize( gfx 75 chrome/browser/ui/views/panels/panel_view.h const gfx::Size& content_size) const OVERRIDE; gfx 76 chrome/browser/ui/views/panels/panel_view.h virtual gfx::Size ContentSizeFromWindowSize( gfx 77 chrome/browser/ui/views/panels/panel_view.h const gfx::Size& window_size) const OVERRIDE; gfx 86 chrome/browser/ui/views/panels/panel_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 87 chrome/browser/ui/views/panels/panel_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 91 chrome/browser/ui/views/panels/panel_view.h bool OnTitlebarMousePressed(const gfx::Point& mouse_location); gfx 92 chrome/browser/ui/views/panels/panel_view.h bool OnTitlebarMouseDragged(const gfx::Point& mouse_location); gfx 103 chrome/browser/ui/views/panels/panel_view.h bool IsWithinResizingArea(const gfx::Point& mouse_location) const; gfx 113 chrome/browser/ui/views/panels/panel_view.h void set_cached_bounds_directly(const gfx::Rect& bounds) { bounds_ = bounds; } gfx 134 chrome/browser/ui/views/panels/panel_view.h virtual gfx::ImageSkia GetWindowAppIcon() OVERRIDE; gfx 135 chrome/browser/ui/views/panels/panel_view.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 150 chrome/browser/ui/views/panels/panel_view.h const gfx::Rect& new_bounds) OVERRIDE; gfx 162 chrome/browser/ui/views/panels/panel_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 163 chrome/browser/ui/views/panels/panel_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 168 chrome/browser/ui/views/panels/panel_view.h void SetBoundsInternal(const gfx::Rect& bounds, bool animate); gfx 174 chrome/browser/ui/views/panels/panel_view.h void SetWidgetBounds(const gfx::Rect& new_bounds); gfx 187 chrome/browser/ui/views/panels/panel_view.h gfx::Rect bounds_; gfx 214 chrome/browser/ui/views/panels/panel_view.h gfx::Size original_full_size_of_resizing_panel_; gfx 218 chrome/browser/ui/views/panels/panel_view.h gfx::Size original_full_size_of_panel_below_resizing_panel_; gfx 228 chrome/browser/ui/views/panels/panel_view.h gfx::Point last_mouse_location_; gfx 236 chrome/browser/ui/views/panels/panel_view.h gfx::Rect animation_start_bounds_; gfx 36 chrome/browser/ui/views/panels/panel_view_browsertest.cc CreatePanelParams params("1", gfx::Rect(0, 0, 200, 150), SHOW_AS_ACTIVE); gfx 64 chrome/browser/ui/views/panels/panel_view_browsertest.cc CreatePanelParams params("1", gfx::Rect(0, 0, 200, 150), SHOW_AS_INACTIVE); gfx 94 chrome/browser/ui/views/panels/panel_view_browsertest.cc Panel* panel = CreatePanelWithBounds("PanelTest", gfx::Rect(0, 0, 200, 50)); gfx 139 chrome/browser/ui/views/panels/panel_view_browsertest.cc gfx::Rect bounds(0, 0, 200, 50); gfx 152 chrome/browser/ui/views/panels/panel_view_browsertest.cc gfx::Rect bounds(0, 0, 200, 50); gfx 22 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc gfx::CreateBitmapV4Header(width, height, &native_bitmap_header); gfx 191 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc gfx::Canvas canvas(gfx::Size(width, height), 1.0f, false); gfx 58 chrome/browser/ui/views/password_generation_bubble_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 61 chrome/browser/ui/views/password_generation_bubble_view.cc gfx::Size GetImageSize() const; gfx 81 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->SetPosition(gfx::Point(kTextfieldHorizontalPadding, gfx 90 chrome/browser/ui/views/password_generation_bubble_view.cc image_button_->SetPosition(gfx::Point(button_x, gfx 100 chrome/browser/ui/views/password_generation_bubble_view.cc gfx::Size TextfieldWrapper::GetPreferredSize() { gfx 107 chrome/browser/ui/views/password_generation_bubble_view.cc return gfx::Size(width, height); gfx 110 chrome/browser/ui/views/password_generation_bubble_view.cc gfx::Size TextfieldWrapper::GetImageSize() const { gfx 115 chrome/browser/ui/views/password_generation_bubble_view.cc return gfx::Size(size, size); gfx 121 chrome/browser/ui/views/password_generation_bubble_view.cc const gfx::Rect& anchor_rect, gfx 145 chrome/browser/ui/views/password_generation_bubble_view.cc set_margins(gfx::Insets(kBubbleMargin, kBubbleMargin, gfx 185 chrome/browser/ui/views/password_generation_bubble_view.cc title_label_->SetPosition(gfx::Point(0, kTitleLabelVerticalOffset)); gfx 190 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_wrapper_->SetPosition(gfx::Point(0, y)); gfx 202 chrome/browser/ui/views/password_generation_bubble_view.cc gfx::Size PasswordGenerationBubbleView::GetPreferredSize() { gfx 209 chrome/browser/ui/views/password_generation_bubble_view.cc return gfx::Size(width, height); gfx 212 chrome/browser/ui/views/password_generation_bubble_view.cc gfx::Rect PasswordGenerationBubbleView::GetAnchorRect() { gfx 43 chrome/browser/ui/views/password_generation_bubble_view.h const gfx::Rect& anchor_rect, gfx 53 chrome/browser/ui/views/password_generation_bubble_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 59 chrome/browser/ui/views/password_generation_bubble_view.h virtual gfx::Rect GetAnchorRect() OVERRIDE; gfx 86 chrome/browser/ui/views/password_generation_bubble_view.h gfx::Rect anchor_rect_; gfx 53 chrome/browser/ui/views/passwords/manage_password_item_view.cc label_1_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 59 chrome/browser/ui/views/passwords/manage_password_item_view.cc label_2_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 137 chrome/browser/ui/views/passwords/manage_password_item_view.cc label_2_->SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 160 chrome/browser/ui/views/passwords/manage_password_item_view.cc label_2_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 50 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc const gfx::FontList font_list; gfx 56 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc gfx::FontList().GetExpectedTextWidth(kMaxDisplayableStringWidth), gfx 57 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc gfx::GetStringWidth(display_string, font_list)); gfx 153 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc set_anchor_view_insets(gfx::Insets(5, 0, 5, 0)); gfx 236 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc const gfx::Rect& screen_bounds) { gfx 246 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc SetAnchorRect(gfx::Rect(x_pos, screen_bounds.y(), 0, 0)); gfx 94 chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h void AdjustForFullscreen(const gfx::Rect& screen_bounds); gfx 61 chrome/browser/ui/views/passwords/manage_passwords_icon_view.cc bool ManagePasswordsIconView::GetTooltipText(const gfx::Point& p, gfx 39 chrome/browser/ui/views/passwords/manage_passwords_icon_view.h virtual bool GetTooltipText(const gfx::Point& p, gfx 92 chrome/browser/ui/views/profile_chooser_view.cc link_button->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 106 chrome/browser/ui/views/profile_chooser_view.cc const gfx::ImageSkia& normal_icon, gfx 107 chrome/browser/ui/views/profile_chooser_view.cc const gfx::ImageSkia& hover_icon); gfx 112 chrome/browser/ui/views/profile_chooser_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 120 chrome/browser/ui/views/profile_chooser_view.cc const gfx::ImageSkia& normal_icon, gfx 121 chrome/browser/ui/views/profile_chooser_view.cc const gfx::ImageSkia& hover_icon) gfx 125 chrome/browser/ui/views/profile_chooser_view.cc set_min_size(gfx::Size(0, kButtonHeight)); gfx 133 chrome/browser/ui/views/profile_chooser_view.cc void BackgroundColorHoverButton::OnPaint(gfx::Canvas* canvas) { gfx 150 chrome/browser/ui/views/profile_chooser_view.cc const gfx::Image& icon, gfx 155 chrome/browser/ui/views/profile_chooser_view.cc gfx::Image image = profiles::GetSizedAvatarIconWithBorder( gfx 169 chrome/browser/ui/views/profile_chooser_view.cc change_photo_button_->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 223 chrome/browser/ui/views/profile_chooser_view.cc const gfx::FontList& medium_font_list = gfx 278 chrome/browser/ui/views/profile_chooser_view.cc SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 280 chrome/browser/ui/views/profile_chooser_view.cc label()->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 310 chrome/browser/ui/views/profile_chooser_view.cc title_label_->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 311 chrome/browser/ui/views/profile_chooser_view.cc const gfx::FontList& medium_font_list = gfx 325 chrome/browser/ui/views/profile_chooser_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE{ gfx 329 chrome/browser/ui/views/profile_chooser_view.cc return gfx::Size(width(), height); gfx 350 chrome/browser/ui/views/profile_chooser_view.cc const gfx::Rect& anchor_rect, gfx 377 chrome/browser/ui/views/profile_chooser_view.cc const gfx::Rect& anchor_rect, gfx 384 chrome/browser/ui/views/profile_chooser_view.cc set_margins(gfx::Insets()); gfx 607 chrome/browser/ui/views/profile_chooser_view.cc const gfx::Point& point) { gfx 712 chrome/browser/ui/views/profile_chooser_view.cc title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 722 chrome/browser/ui/views/profile_chooser_view.cc content_header_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 724 chrome/browser/ui/views/profile_chooser_view.cc const gfx::FontList& small_font_list = gfx 743 chrome/browser/ui/views/profile_chooser_view.cc bullet_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 765 chrome/browser/ui/views/profile_chooser_view.cc tutorial_learn_more_link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 771 chrome/browser/ui/views/profile_chooser_view.cc tutorial_ok_button_->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 858 chrome/browser/ui/views/profile_chooser_view.cc gfx::Image guest_icon = gfx 882 chrome/browser/ui/views/profile_chooser_view.cc gfx::Image image = profiles::GetSizedAvatarIconWithBorder( gfx 995 chrome/browser/ui/views/profile_chooser_view.cc const gfx::ImageSkia* menu_marker = gfx 1002 chrome/browser/ui/views/profile_chooser_view.cc gfx::ElideEmail(base::UTF8ToUTF16(account), gfx 1054 chrome/browser/ui/views/profile_chooser_view.cc gfx::Size(kFixedGaiaViewWidth, kFixedGaiaViewHeight)); gfx 1089 chrome/browser/ui/views/profile_chooser_view.cc content_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 1091 chrome/browser/ui/views/profile_chooser_view.cc const gfx::FontList& small_font_list = gfx 1102 chrome/browser/ui/views/profile_chooser_view.cc gfx::ALIGN_CENTER); gfx 25 chrome/browser/ui/views/profile_chooser_view.h namespace gfx { gfx 71 chrome/browser/ui/views/profile_chooser_view.h const gfx::Rect& anchor_rect, gfx 93 chrome/browser/ui/views/profile_chooser_view.h const gfx::Rect& anchor_rect, gfx 110 chrome/browser/ui/views/profile_chooser_view.h const gfx::Point& point) OVERRIDE; gfx 119 chrome/browser/ui/views/profile_reset_bubble_view.cc left_text_label->SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 125 chrome/browser/ui/views/profile_reset_bubble_view.cc right_text_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 195 chrome/browser/ui/views/profile_reset_bubble_view.cc set_margins(gfx::Insets(kMarginHeight, 0, 0, 0)); gfx 215 chrome/browser/ui/views/profile_reset_bubble_view.cc title_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 223 chrome/browser/ui/views/profile_reset_bubble_view.cc text_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 228 chrome/browser/ui/views/profile_reset_bubble_view.cc learn_more_link->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 244 chrome/browser/ui/views/profile_reset_bubble_view.cc gfx::Size reset_button_size = controls_.reset_button->GetPreferredSize(); gfx 274 chrome/browser/ui/views/profile_reset_bubble_view.cc const gfx::ImageSkia* help_image = rb.GetImageSkiaNamed(IDR_QUESTION_MARK); gfx 276 chrome/browser/ui/views/profile_reset_bubble_view.cc brighter_help_image_ = gfx::ImageSkiaOperations::CreateHSLShiftedImage( gfx 110 chrome/browser/ui/views/profile_reset_bubble_view.h gfx::ImageSkia brighter_help_image_; gfx 48 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc const gfx::Point& point, gfx 55 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc if (menu_runner_->RunMenuAt(parent, NULL, gfx::Rect(point, gfx::Size()), gfx 14 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.h namespace gfx { gfx 33 chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.h const gfx::Point& point, gfx 204 chrome/browser/ui/views/sad_tab_view.cc void SadTabView::OnPaint(gfx::Canvas* canvas) { gfx 252 chrome/browser/ui/views/sad_tab_view.cc gfx::Rect bounds; gfx 254 chrome/browser/ui/views/sad_tab_view.cc sad_tab->SetBounds(gfx::Rect(bounds.size())); gfx 52 chrome/browser/ui/views/sad_tab_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 53 chrome/browser/ui/views/screen_capture_notification_ui_views.cc void set_client_rect(const gfx::Rect& rect) { rect_ = rect; } gfx 56 chrome/browser/ui/views/screen_capture_notification_ui_views.cc virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE { gfx 60 chrome/browser/ui/views/screen_capture_notification_ui_views.cc if (rect_.Contains(gfx::PointAtOffsetFromOrigin(point - bounds().origin()))) gfx 67 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Rect rect_; gfx 85 chrome/browser/ui/views/screen_capture_notification_ui_views.cc virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) gfx 89 chrome/browser/ui/views/screen_capture_notification_ui_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 163 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::NativeViewId ScreenCaptureNotificationUIViews::OnStarted( gfx 168 chrome/browser/ui/views/screen_capture_notification_ui_views.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 198 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 201 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Rect work_area = screen->GetPrimaryDisplay().work_area(); gfx 204 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Size size = widget->non_client_view()->GetPreferredSize(); gfx 205 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Rect bounds( gfx 214 chrome/browser/ui/views/screen_capture_notification_ui_views.cc return gfx::NativeViewId(views::HWNDForWidget(widget)); gfx 220 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Size ScreenCaptureNotificationUIViews::GetPreferredSize() { gfx 221 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Size grip_size = gripper_->GetPreferredSize(); gfx 222 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Size label_size = label_->GetPreferredSize(); gfx 223 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Size stop_button_size = stop_button_->GetPreferredSize(); gfx 224 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Size hide_link_size = hide_link_->GetPreferredSize(); gfx 229 chrome/browser/ui/views/screen_capture_notification_ui_views.cc return gfx::Size(width, std::max(label_size.height(), gfx 235 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Rect grip_rect(gripper_->GetPreferredSize()); gfx 239 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Rect stop_button_rect(stop_button_->GetPreferredSize()); gfx 240 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Rect hide_link_rect(hide_link_->GetPreferredSize()); gfx 250 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Rect label_rect; gfx 257 chrome/browser/ui/views/screen_capture_notification_ui_views.cc client_view_->set_client_rect(gfx::Rect( gfx 282 chrome/browser/ui/views/screen_capture_notification_ui_views.cc gfx::Insets(kPaddingVertical, gfx 99 chrome/browser/ui/views/select_file_dialog_extension.cc gfx::NativeWindow owner_window, gfx 191 chrome/browser/ui/views/select_file_dialog_extension.cc gfx::NativeWindow owner_window) const { gfx 325 chrome/browser/ui/views/select_file_dialog_extension.cc gfx::NativeWindow owner_window, gfx 46 chrome/browser/ui/views/select_file_dialog_extension.h virtual bool IsRunning(gfx::NativeWindow owner_window) const OVERRIDE; gfx 75 chrome/browser/ui/views/select_file_dialog_extension.h gfx::NativeWindow owning_window, gfx 111 chrome/browser/ui/views/select_file_dialog_extension.h gfx::NativeWindow owner_window_; gfx 137 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc const gfx::NativeWindow& owning_window, gfx 174 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc void TryOpeningSecondDialog(const gfx::NativeWindow& owning_window) { gfx 192 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc const gfx::NativeWindow& owning_window) { gfx 227 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow native_window = browser()->window()->GetNativeWindow(); gfx 249 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); gfx 276 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); gfx 304 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); gfx 329 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); gfx 354 chrome/browser/ui/views/select_file_dialog_extension_browsertest.cc gfx::NativeWindow owning_window = browser()->window()->GetNativeWindow(); gfx 188 chrome/browser/ui/views/simple_message_box_views.cc MessageBoxResult ShowMessageBoxImpl(gfx::NativeWindow parent, gfx 228 chrome/browser/ui/views/simple_message_box_views.cc MessageBoxResult ShowMessageBox(gfx::NativeWindow parent, gfx 236 chrome/browser/ui/views/simple_message_box_views.cc MessageBoxResult ShowMessageBoxWithButtonText(gfx::NativeWindow parent, gfx 46 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::Rect& element_rect, gfx 51 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::ImageSkia& image); gfx 52 chrome/browser/ui/views/speech_recognition_bubble_views.cc void SetImage(const gfx::ImageSkia& image); gfx 57 chrome/browser/ui/views/speech_recognition_bubble_views.cc virtual gfx::Rect GetAnchorRect() OVERRIDE; gfx 69 chrome/browser/ui/views/speech_recognition_bubble_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 78 chrome/browser/ui/views/speech_recognition_bubble_views.cc gfx::Rect element_rect_; gfx 96 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::Rect& element_rect, gfx 130 chrome/browser/ui/views/speech_recognition_bubble_views.cc gfx::Rect SpeechRecognitionBubbleView::GetAnchorRect() { gfx 131 chrome/browser/ui/views/speech_recognition_bubble_views.cc gfx::Rect container_rect; gfx 133 chrome/browser/ui/views/speech_recognition_bubble_views.cc gfx::Rect anchor(element_rect_); gfx 142 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::FontList& font_list = gfx 149 chrome/browser/ui/views/speech_recognition_bubble_views.cc heading_->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 178 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::ImageSkia& image) { gfx 213 chrome/browser/ui/views/speech_recognition_bubble_views.cc void SpeechRecognitionBubbleView::SetImage(const gfx::ImageSkia& image) { gfx 246 chrome/browser/ui/views/speech_recognition_bubble_views.cc gfx::Size SpeechRecognitionBubbleView::GetPreferredSize() { gfx 276 chrome/browser/ui/views/speech_recognition_bubble_views.cc return gfx::Size(width, height); gfx 337 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::Rect& element_rect); gfx 354 chrome/browser/ui/views/speech_recognition_bubble_views.cc gfx::Rect element_rect_; gfx 361 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::Rect& element_rect) gfx 435 chrome/browser/ui/views/speech_recognition_bubble_views.cc const gfx::Rect& element_rect) { gfx 135 chrome/browser/ui/views/ssl_client_certificate_selector.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 79 chrome/browser/ui/views/status_bubble_views.cc class StatusBubbleViews::StatusViewAnimation : public gfx::LinearAnimation, gfx 80 chrome/browser/ui/views/status_bubble_views.cc public gfx::AnimationDelegate { gfx 177 chrome/browser/ui/views/status_bubble_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 364 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::StatusView::OnPaint(gfx::Canvas* canvas) { gfx 372 chrome/browser/ui/views/status_bubble_views.cc gfx::Rect popup_bounds = popup_->GetWindowBoundsInScreen(); gfx 434 chrome/browser/ui/views/status_bubble_views.cc SkRect rect(gfx::RectToSkRect(gfx::Rect(popup_bounds.size()))); gfx 454 chrome/browser/ui/views/status_bubble_views.cc const gfx::FontList font_list; gfx 456 chrome/browser/ui/views/status_bubble_views.cc gfx::GetStringWidth(text_, font_list), gfx 459 chrome/browser/ui/views/status_bubble_views.cc gfx::Rect body_bounds(kShadowThickness + kTextPositionX, gfx 476 chrome/browser/ui/views/status_bubble_views.cc : gfx::LinearAnimation(kFramerate, this), gfx 490 chrome/browser/ui/views/status_bubble_views.cc gfx::LinearAnimation::GetCurrentValue(); gfx 498 chrome/browser/ui/views/status_bubble_views.cc const gfx::Animation* animation) { gfx 508 chrome/browser/ui/views/status_bubble_views.cc class StatusBubbleViews::StatusViewExpander : public gfx::LinearAnimation, gfx 509 chrome/browser/ui/views/status_bubble_views.cc public gfx::AnimationDelegate { gfx 513 chrome/browser/ui/views/status_bubble_views.cc : gfx::LinearAnimation(kFramerate, this), gfx 533 chrome/browser/ui/views/status_bubble_views.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 554 chrome/browser/ui/views/status_bubble_views.cc const gfx::Animation* animation) { gfx 576 chrome/browser/ui/views/status_bubble_views.cc gfx::LinearAnimation::GetCurrentValue()); gfx 649 chrome/browser/ui/views/status_bubble_views.cc gfx::Point origin(-overlap, base_view_height - height + overlap); gfx 655 chrome/browser/ui/views/status_bubble_views.cc gfx::Point top_left; gfx 658 chrome/browser/ui/views/status_bubble_views.cc popup_->SetBounds(gfx::Rect(top_left.x() + position_.x(), gfx 664 chrome/browser/ui/views/status_bubble_views.cc gfx::Size StatusBubbleViews::GetPreferredSize() { gfx 665 chrome/browser/ui/views/status_bubble_views.cc return gfx::Size(0, gfx::FontList().GetHeight() + kTotalVerticalPadding); gfx 723 chrome/browser/ui/views/status_bubble_views.cc gfx::Rect popup_bounds = popup_->GetWindowBoundsInScreen(); gfx 726 chrome/browser/ui/views/status_bubble_views.cc url_text_ = ElideUrl(url, gfx::FontList(), text_width, languages); gfx 759 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::MouseMoved(const gfx::Point& location, gfx 783 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::AvoidMouse(const gfx::Point& location) { gfx 785 chrome/browser/ui/views/status_bubble_views.cc gfx::Point top_left; gfx 791 chrome/browser/ui/views/status_bubble_views.cc gfx::Point relative_location = location; gfx 834 chrome/browser/ui/views/status_bubble_views.cc gfx::NativeView window = base_view_->GetWidget()->GetNativeView(); gfx 835 chrome/browser/ui/views/status_bubble_views.cc gfx::Rect monitor_rect = gfx::Screen::GetScreenFor(window)-> gfx 850 chrome/browser/ui/views/status_bubble_views.cc popup_->SetBounds(gfx::Rect(top_left.x() + right_position_x, gfx 855 chrome/browser/ui/views/status_bubble_views.cc popup_->SetBounds(gfx::Rect(top_left.x() + position_.x(), gfx 863 chrome/browser/ui/views/status_bubble_views.cc popup_->SetBounds(gfx::Rect(top_left.x() + position_.x(), gfx 887 chrome/browser/ui/views/status_bubble_views.cc gfx::Rect popup_bounds = popup_->GetWindowBoundsInScreen(); gfx 889 chrome/browser/ui/views/status_bubble_views.cc const gfx::FontList font_list; gfx 893 chrome/browser/ui/views/status_bubble_views.cc std::min(gfx::GetStringWidth(url_text_, font_list) + gfx 17 chrome/browser/ui/views/status_bubble_views.h namespace gfx { gfx 48 chrome/browser/ui/views/status_bubble_views.h gfx::Size GetPreferredSize(); gfx 60 chrome/browser/ui/views/status_bubble_views.h virtual void MouseMoved(const gfx::Point& location, gfx 79 chrome/browser/ui/views/status_bubble_views.h void AvoidMouse(const gfx::Point& location); gfx 116 chrome/browser/ui/views/status_bubble_views.h gfx::Point original_position_; gfx 118 chrome/browser/ui/views/status_bubble_views.h gfx::Point position_; gfx 119 chrome/browser/ui/views/status_bubble_views.h gfx::Size size_; gfx 122 chrome/browser/ui/views/status_bubble_views.h gfx::Point last_mouse_moved_location_; gfx 21 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc void StatusIconLinuxWrapper::SetImage(const gfx::ImageSkia& image) { gfx 25 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc void StatusIconLinuxWrapper::SetPressedImage(const gfx::ImageSkia& image) { gfx 33 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc void StatusIconLinuxWrapper::DisplayBalloon(const gfx::ImageSkia& icon, gfx 52 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc const gfx::ImageSkia& image, gfx 22 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE; gfx 23 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE; gfx 25 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 37 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h const gfx::ImageSkia& image, gfx 43 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconWin::HandleClickEvent(const gfx::Point& cursor_pos, gfx 62 chrome/browser/ui/views/status_icons/status_icon_win.cc gfx::Rect(cursor_pos, gfx::Size()), views::MenuItemView::TOPLEFT, gfx 90 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconWin::SetImage(const gfx::ImageSkia& image) { gfx 102 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconWin::SetPressedImage(const gfx::ImageSkia& image) { gfx 118 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconWin::DisplayBalloon(const gfx::ImageSkia& icon, gfx 182 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconMetro::SetImage(const gfx::ImageSkia& image) { gfx 186 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconMetro::SetPressedImage(const gfx::ImageSkia& image) { gfx 195 chrome/browser/ui/views/status_icons/status_icon_win.cc void StatusIconMetro::DisplayBalloon(const gfx::ImageSkia& icon, gfx 17 chrome/browser/ui/views/status_icons/status_icon_win.h namespace gfx { gfx 34 chrome/browser/ui/views/status_icons/status_icon_win.h void HandleClickEvent(const gfx::Point& cursor_pos, bool left_button_click); gfx 46 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE; gfx 47 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE; gfx 49 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 93 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE; gfx 94 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE; gfx 96 chrome/browser/ui/views/status_icons/status_icon_win.h virtual void DisplayBalloon(const gfx::ImageSkia& icon, gfx 19 chrome/browser/ui/views/status_icons/status_tray_linux.cc const gfx::ImageSkia& image, gfx 20 chrome/browser/ui/views/status_icons/status_tray_linux.h const gfx::ImageSkia& image, gfx 53 chrome/browser/ui/views/status_icons/status_tray_win.cc gfx::CheckWindowCreated(window_); gfx 54 chrome/browser/ui/views/status_icons/status_tray_win.cc gfx::SetWindowUserData(window_, this); gfx 111 chrome/browser/ui/views/status_icons/status_tray_win.cc gfx::Point cursor_pos( gfx 112 chrome/browser/ui/views/status_icons/status_tray_win.cc gfx::Screen::GetNativeScreen()->GetCursorScreenPoint()); gfx 130 chrome/browser/ui/views/status_icons/status_tray_win.cc const gfx::ImageSkia& image, gfx 28 chrome/browser/ui/views/status_icons/status_tray_win.h const gfx::ImageSkia& image, gfx 48 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 62 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 80 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 96 chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc gfx::ImageSkia* image = rb.GetImageSkiaNamed(IDR_STATUS_TRAY_ICON); gfx 117 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc set_anchor_view_insets(gfx::Insets(0, 0, anchor_view->height() / 2, 0)); gfx 121 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc set_margins(gfx::Insets(margin, margin, margin, margin)); gfx 169 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc layout->set_minimum_size(gfx::Size(kMinBubbleWidth, 0)); gfx 183 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 199 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 231 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 254 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 287 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc (*ok_button)->set_min_size(gfx::Size()); gfx 292 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc (*undo_button)->set_min_size(gfx::Size()); gfx 305 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc advanced_link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 312 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc learn_more_link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 153 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc gfx::Point(), gfx::Point(), gfx 171 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc gfx::Point(), gfx::Point(), gfx 191 chrome/browser/ui/views/sync/one_click_signin_bubble_view_unittest.cc gfx::Point(), gfx::Point(), gfx 174 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc bold_style.font_style = gfx::Font::BOLD; gfx 176 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc gfx::Range(offset, offset + domain.size()), bold_style); gfx 202 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc gfx::Range(offsets[1], offsets[1] + learn_more_text.size()), gfx 243 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc const gfx::Range& range, gfx 61 chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h virtual void StyledLabelLinkClicked(const gfx::Range& range, gfx 138 chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc gfx::Point screen_point(params.x, params.y); gfx 156 chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc void ChromeWebContentsViewDelegateViews::SizeChanged(const gfx::Size& size) { gfx 162 chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.cc sad_tab->GetWidget()->SetBounds(gfx::Rect(size)); gfx 47 chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.h virtual void SizeChanged(const gfx::Size& size) OVERRIDE; gfx 29 chrome/browser/ui/views/tab_icon_view.cc static gfx::ImageSkia* g_default_favicon = NULL; gfx 41 chrome/browser/ui/views/tab_icon_view.cc IconUtil::CreateSkBitmapFromHICON(app_icon, gfx::Size(16, 16))); gfx 42 chrome/browser/ui/views/tab_icon_view.cc g_default_favicon = new gfx::ImageSkia(gfx::ImageSkiaRep(*bitmap, 1.0f)); gfx 69 chrome/browser/ui/views/tab_icon_view.cc gfx::ImageSkia throbber(*ui::ResourceBundle::GetSharedInstance(). gfx 95 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::PaintThrobber(gfx::Canvas* canvas) { gfx 96 chrome/browser/ui/views/tab_icon_view.cc gfx::ImageSkia throbber(*GetThemeProvider()->GetImageSkiaNamed( gfx 103 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::PaintFavicon(gfx::Canvas* canvas, gfx 104 chrome/browser/ui/views/tab_icon_view.cc const gfx::ImageSkia& image) { gfx 108 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::PaintIcon(gfx::Canvas* canvas, gfx 109 chrome/browser/ui/views/tab_icon_view.cc const gfx::ImageSkia& image, gfx 121 chrome/browser/ui/views/tab_icon_view.cc if (src_w <= gfx::kFaviconSize && src_h <= gfx::kFaviconSize) { gfx 122 chrome/browser/ui/views/tab_icon_view.cc scalable_w = scalable_h = gfx::kFaviconSize; gfx 140 chrome/browser/ui/views/tab_icon_view.cc void TabIconView::OnPaint(gfx::Canvas* canvas) { gfx 147 chrome/browser/ui/views/tab_icon_view.cc gfx::ImageSkia favicon = model_->GetFaviconForTabIconView(); gfx 158 chrome/browser/ui/views/tab_icon_view.cc gfx::Size TabIconView::GetPreferredSize() { gfx 159 chrome/browser/ui/views/tab_icon_view.cc return gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize); gfx 17 chrome/browser/ui/views/tab_icon_view.h namespace gfx { gfx 37 chrome/browser/ui/views/tab_icon_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 38 chrome/browser/ui/views/tab_icon_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 41 chrome/browser/ui/views/tab_icon_view.h void PaintThrobber(gfx::Canvas* canvas); gfx 42 chrome/browser/ui/views/tab_icon_view.h void PaintFavicon(gfx::Canvas* canvas, const gfx::ImageSkia& image); gfx 43 chrome/browser/ui/views/tab_icon_view.h void PaintIcon(gfx::Canvas* canvas, gfx 44 chrome/browser/ui/views/tab_icon_view.h const gfx::ImageSkia& image, gfx 8 chrome/browser/ui/views/tab_icon_view_model.h namespace gfx { gfx 21 chrome/browser/ui/views/tab_icon_view_model.h virtual gfx::ImageSkia GetFaviconForTabIconView() = 0; gfx 129 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void RunMenuAt(const gfx::Point& point, ui::MenuSourceType source_type) { gfx 131 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc tab_->GetWidget(), NULL, gfx::Rect(point, gfx::Size()), gfx 320 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc const gfx::Point& p, gfx 62 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h const gfx::Point& p, gfx 84 chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc const gfx::Point& p, gfx 39 chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h const gfx::Point& p, gfx 12 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc StackedTabStripLayout::StackedTabStripLayout(const gfx::Size& size, gfx 123 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc gfx::Rect mini_bounds(view_model_->ideal_bounds(i)); gfx 435 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc gfx::Rect mini_bounds(view_model_->ideal_bounds(i)); gfx 532 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.cc view_model_->set_ideal_bounds(index, gfx::Rect(gfx::Point(x, 0), size_)); gfx 35 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h StackedTabStripLayout(const gfx::Size& size, gfx 208 chrome/browser/ui/views/tabs/stacked_tab_strip_layout.h const gfx::Size size_; gfx 50 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Size(data.tab_size, 10), data.tab_padding, gfx 89 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Rect bounds(view_model_.ideal_bounds(i)); gfx 142 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc StackedTabStripLayout layout(gfx::Size(100, 10), -10, 2, 4, &view_model_); gfx 454 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc StackedTabStripLayout layout(gfx::Size(160, 10), -27, 6, 4, &view_model_); gfx 493 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Rect bounds; gfx 510 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Size(100, 10), -10, 2, 4, &view_model_)); gfx 531 chrome/browser/ui/views/tabs/stacked_tab_strip_layout_unittest.cc gfx::Size(100, 10), -10, 2, 4, &view_model_)); gfx 156 chrome/browser/ui/views/tabs/tab.cc value = gfx::kFaviconSize; gfx 251 chrome/browser/ui/views/tabs/tab.cc void DrawIconAtLocation(gfx::Canvas* canvas, gfx 252 chrome/browser/ui/views/tabs/tab.cc const gfx::ImageSkia& image, gfx 262 chrome/browser/ui/views/tabs/tab.cc canvas->ClipRect(gfx::Rect(dst_x, dst_y, icon_width, icon_height)); gfx 271 chrome/browser/ui/views/tabs/tab.cc void DrawIconCenter(gfx::Canvas* canvas, gfx 272 chrome/browser/ui/views/tabs/tab.cc const gfx::ImageSkia& image, gfx 276 chrome/browser/ui/views/tabs/tab.cc const gfx::Rect& bounds, gfx 299 chrome/browser/ui/views/tabs/tab.cc class Tab::FaviconCrashAnimation : public gfx::LinearAnimation, gfx 300 chrome/browser/ui/views/tabs/tab.cc public gfx::AnimationDelegate { gfx 303 chrome/browser/ui/views/tabs/tab.cc : gfx::LinearAnimation(1000, 25, this), gfx 324 chrome/browser/ui/views/tabs/tab.cc virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE { gfx 345 chrome/browser/ui/views/tabs/tab.cc virtual View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE { gfx 350 chrome/browser/ui/views/tabs/tab.cc gfx::Rect contents_bounds = GetContentsBounds(); gfx 368 chrome/browser/ui/views/tabs/tab.cc virtual View* GetTooltipHandlerForPoint(const gfx::Point& point) OVERRIDE { gfx 409 chrome/browser/ui/views/tabs/tab.cc gfx::Path* path) const OVERRIDE { gfx 413 chrome/browser/ui/views/tabs/tab.cc gfx::Path tab_mask; gfx 416 chrome/browser/ui/views/tabs/tab.cc gfx::Rect button_bounds(GetContentsBounds()); gfx 418 chrome/browser/ui/views/tabs/tab.cc gfx::RectF tab_bounds_f(gfx::SkRectToRectF(tab_mask.getBounds())); gfx 420 chrome/browser/ui/views/tabs/tab.cc gfx::Rect tab_bounds = gfx::ToEnclosingRect(tab_bounds_f); gfx 437 chrome/browser/ui/views/tabs/tab.cc gfx::Rect intersection(gfx::IntersectRects(tab_bounds, button_bounds)); gfx 480 chrome/browser/ui/views/tabs/tab.cc gfx::Font* Tab::font_ = NULL; gfx 535 chrome/browser/ui/views/tabs/tab.cc void Tab::set_animation_container(gfx::AnimationContainer* container) { gfx 609 chrome/browser/ui/views/tabs/tab.cc gfx::ThrobAnimation* animation = new gfx::ThrobAnimation(this); gfx 630 chrome/browser/ui/views/tabs/tab.cc gfx::MultiAnimation::Parts parts; gfx 632 chrome/browser/ui/views/tabs/tab.cc gfx::MultiAnimation::Part(kMiniTitleChangeAnimationDuration1MS, gfx 633 chrome/browser/ui/views/tabs/tab.cc gfx::Tween::EASE_OUT)); gfx 635 chrome/browser/ui/views/tabs/tab.cc gfx::MultiAnimation::Part(kMiniTitleChangeAnimationDuration2MS, gfx 636 chrome/browser/ui/views/tabs/tab.cc gfx::Tween::ZERO)); gfx 638 chrome/browser/ui/views/tabs/tab.cc gfx::MultiAnimation::Part(kMiniTitleChangeAnimationDuration3MS, gfx 639 chrome/browser/ui/views/tabs/tab.cc gfx::Tween::EASE_IN)); gfx 646 chrome/browser/ui/views/tabs/tab.cc gfx::MultiAnimation* animation = new gfx::MultiAnimation(parts, timeout); gfx 663 chrome/browser/ui/views/tabs/tab.cc gfx::Size Tab::GetBasicMinimumUnselectedSize() { gfx 666 chrome/browser/ui/views/tabs/tab.cc gfx::Size minimum_size; gfx 674 chrome/browser/ui/views/tabs/tab.cc gfx::Size Tab::GetMinimumUnselectedSize() { gfx 679 chrome/browser/ui/views/tabs/tab.cc gfx::Size Tab::GetMinimumSelectedSize() { gfx 680 chrome/browser/ui/views/tabs/tab.cc gfx::Size minimum_size = GetBasicMinimumUnselectedSize(); gfx 682 chrome/browser/ui/views/tabs/tab.cc left_padding() + gfx::kFaviconSize + right_padding()); gfx 687 chrome/browser/ui/views/tabs/tab.cc gfx::Size Tab::GetStandardSize() { gfx 688 chrome/browser/ui/views/tabs/tab.cc gfx::Size standard_size = GetBasicMinimumUnselectedSize(); gfx 712 chrome/browser/ui/views/tabs/tab.cc void Tab::AnimationProgressed(const gfx::Animation* animation) { gfx 720 chrome/browser/ui/views/tabs/tab.cc void Tab::AnimationCanceled(const gfx::Animation* animation) { gfx 726 chrome/browser/ui/views/tabs/tab.cc void Tab::AnimationEnded(const gfx::Animation* animation) { gfx 750 chrome/browser/ui/views/tabs/tab.cc const gfx::Point& point, gfx 759 chrome/browser/ui/views/tabs/tab.cc void Tab::OnPaint(gfx::Canvas* canvas) { gfx 765 chrome/browser/ui/views/tabs/tab.cc gfx::Rect clip; gfx 783 chrome/browser/ui/views/tabs/tab.cc gfx::Rect lb = GetContentsBounds(); gfx 793 chrome/browser/ui/views/tabs/tab.cc gfx::Size close_button_size(close_button_->GetPreferredSize()); gfx 833 chrome/browser/ui/views/tabs/tab.cc close_button_->SetPosition(gfx::Point(lb.width(), 0)); gfx 843 chrome/browser/ui/views/tabs/tab.cc const gfx::Image& media_indicator_image = gfx 869 chrome/browser/ui/views/tabs/tab.cc gfx::Size minimum_size = GetMinimumUnselectedSize(); gfx 915 chrome/browser/ui/views/tabs/tab.cc void Tab::GetHitTestMask(HitTestSource source, gfx::Path* path) const { gfx 927 chrome/browser/ui/views/tabs/tab.cc gfx::Rect clip; gfx 937 chrome/browser/ui/views/tabs/tab.cc bool Tab::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const { gfx 944 chrome/browser/ui/views/tabs/tab.cc bool Tab::GetTooltipTextOrigin(const gfx::Point& p, gfx::Point* origin) const { gfx 1058 chrome/browser/ui/views/tabs/tab.cc gfx::Point loc(event->location()); gfx 1088 chrome/browser/ui/views/tabs/tab.cc const gfx::Rect& Tab::GetTitleBounds() const { gfx 1092 chrome/browser/ui/views/tabs/tab.cc const gfx::Rect& Tab::GetIconBounds() const { gfx 1096 chrome/browser/ui/views/tabs/tab.cc void Tab::MaybeAdjustLeftForMiniTab(gfx::Rect* bounds) const { gfx 1120 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintTab(gfx::Canvas* canvas) { gfx 1157 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintImmersiveTab(gfx::Canvas* canvas) { gfx 1171 chrome/browser/ui/views/tabs/tab.cc gfx::Rect bar_rect = GetImmersiveBarRect(); gfx 1184 chrome/browser/ui/views/tabs/tab.cc gfx::Rect eye_rect( gfx 1191 chrome/browser/ui/views/tabs/tab.cc gfx::Rect right_eye_rect( gfx 1196 chrome/browser/ui/views/tabs/tab.cc gfx::Rect left_eye_rect( gfx 1203 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintTabBackground(gfx::Canvas* canvas) { gfx 1210 chrome/browser/ui/views/tabs/tab.cc gfx::MultiAnimation* animation = gfx 1211 chrome/browser/ui/views/tabs/tab.cc static_cast<gfx::MultiAnimation*>(tab_animation_.get()); gfx 1228 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas* canvas, gfx 1229 chrome/browser/ui/views/tabs/tab.cc gfx::MultiAnimation* animation) { gfx 1231 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas background_canvas(size(), canvas->image_scale(), false); gfx 1234 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia background_image(background_canvas.ExtractImageRep()); gfx 1237 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas hover_canvas(size(), canvas->image_scale(), false); gfx 1260 chrome/browser/ui/views/tabs/tab.cc hover_canvas.DrawRect(gfx::Rect(x - radius, -radius, radius * 2, radius * 2), gfx 1264 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia hover_image = gfx::ImageSkiaOperations::CreateMaskedImage( gfx 1265 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia(hover_canvas.ExtractImageRep()), background_image); gfx 1279 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintInactiveTabBackground(gfx::Canvas* canvas) { gfx 1302 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia cached_image(GetCachedImage(tab_id, size(), scale_factor)); gfx 1304 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas tmp_canvas(size(), canvas->image_scale(), false); gfx 1306 chrome/browser/ui/views/tabs/tab.cc cached_image = gfx::ImageSkia(tmp_canvas.ExtractImageRep()); gfx 1315 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintInactiveTabBackgroundUsingResourceId(gfx::Canvas* canvas, gfx 1325 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia* tab_bg = GetThemeProvider()->GetImageSkiaNamed(tab_id); gfx 1340 chrome/browser/ui/views/tabs/tab.cc gfx::Canvas background_canvas(size(), canvas->image_scale(), false); gfx 1344 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia tab_l = gfx::ImageSkiaOperations::CreateTiledImage( gfx 1346 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia theme_l = gfx 1347 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkiaOperations::CreateMaskedImage(tab_l, *alpha->image_l); gfx 1354 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia tab_r = gfx::ImageSkiaOperations::CreateTiledImage(*tab_bg, gfx 1357 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia theme_r = gfx 1358 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkiaOperations::CreateMaskedImage(tab_r, *alpha->image_r); gfx 1376 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia(background_canvas.ExtractImageRep()), 0, 0); gfx 1380 chrome/browser/ui/views/tabs/tab.cc hover_controller_.Draw(canvas, gfx::ImageSkia( gfx 1395 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintActiveTabBackground(gfx::Canvas* canvas) { gfx 1396 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia* tab_background = gfx 1404 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia tab_l = gfx::ImageSkiaOperations::CreateTiledImage( gfx 1406 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia theme_l = gfx 1407 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkiaOperations::CreateMaskedImage(tab_l, *alpha->image_l); gfx 1411 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia tab_r = gfx::ImageSkiaOperations::CreateTiledImage( gfx 1414 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia theme_r = gfx 1415 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkiaOperations::CreateMaskedImage(tab_r, *alpha->image_r); gfx 1435 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintIcon(gfx::Canvas* canvas) { gfx 1436 chrome/browser/ui/views/tabs/tab.cc gfx::Rect bounds = GetIconBounds(); gfx 1445 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia frames(*tp->GetImageSkiaNamed( gfx 1457 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia crashed_favicon(*rb.GetImageSkiaNamed(IDR_SAD_FAVICON)); gfx 1472 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintMediaIndicator(gfx::Canvas* canvas) { gfx 1476 chrome/browser/ui/views/tabs/tab.cc gfx::Rect bounds = media_indicator_bounds_; gfx 1486 chrome/browser/ui/views/tabs/tab.cc const gfx::ImageSkia& media_indicator_image = gfx 1494 chrome/browser/ui/views/tabs/tab.cc void Tab::PaintTitle(gfx::Canvas* canvas, SkColor title_color) { gfx 1505 chrome/browser/ui/views/tabs/tab.cc canvas->DrawFadeTruncatingStringRect(title, gfx::Canvas::TruncateFadeTail, gfx 1506 chrome/browser/ui/views/tabs/tab.cc gfx::FontList(*font_), title_color, GetTitleBounds()); gfx 1518 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia loading_animation(*rb.GetImageSkiaNamed(IDR_THROBBER)); gfx 1521 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia waiting_animation(*rb.GetImageSkiaNamed( gfx 1651 chrome/browser/ui/views/tabs/tab.cc gfx::Rect bounds = GetIconBounds(); gfx 1663 chrome/browser/ui/views/tabs/tab.cc gfx::Rect Tab::GetImmersiveBarRect() const { gfx 1670 chrome/browser/ui/views/tabs/tab.cc return gfx::Rect( gfx 1707 chrome/browser/ui/views/tabs/tab.cc font_ = new gfx::Font(rb.GetFont(ui::ResourceBundle::BaseFont)); gfx 1738 chrome/browser/ui/views/tabs/tab.cc gfx::ImageSkia Tab::GetCachedImage(int resource_id, gfx 1739 chrome/browser/ui/views/tabs/tab.cc const gfx::Size& size, gfx 1748 chrome/browser/ui/views/tabs/tab.cc return gfx::ImageSkia(); gfx 1754 chrome/browser/ui/views/tabs/tab.cc const gfx::ImageSkia& image) { gfx 24 chrome/browser/ui/views/tabs/tab.h namespace gfx { gfx 40 chrome/browser/ui/views/tabs/tab.h class Tab : public gfx::AnimationDelegate, gfx 60 chrome/browser/ui/views/tabs/tab.h void set_animation_container(gfx::AnimationContainer* container); gfx 86 chrome/browser/ui/views/tabs/tab.h void set_background_offset(const gfx::Point& offset) { gfx 103 chrome/browser/ui/views/tabs/tab.h static gfx::Size GetMinimumUnselectedSize(); gfx 107 chrome/browser/ui/views/tabs/tab.h static gfx::Size GetMinimumSelectedSize(); gfx 110 chrome/browser/ui/views/tabs/tab.h static gfx::Size GetStandardSize(); gfx 145 chrome/browser/ui/views/tabs/tab.h gfx::ImageSkia image; gfx 151 chrome/browser/ui/views/tabs/tab.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 152 chrome/browser/ui/views/tabs/tab.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 153 chrome/browser/ui/views/tabs/tab.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 161 chrome/browser/ui/views/tabs/tab.h const gfx::Point& point, gfx 165 chrome/browser/ui/views/tabs/tab.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 171 chrome/browser/ui/views/tabs/tab.h gfx::Path* path) const OVERRIDE; gfx 172 chrome/browser/ui/views/tabs/tab.h virtual bool GetTooltipText(const gfx::Point& p, gfx 174 chrome/browser/ui/views/tabs/tab.h virtual bool GetTooltipTextOrigin(const gfx::Point& p, gfx 175 chrome/browser/ui/views/tabs/tab.h gfx::Point* origin) const OVERRIDE; gfx 189 chrome/browser/ui/views/tabs/tab.h const gfx::Rect& GetTitleBounds() const; gfx 190 chrome/browser/ui/views/tabs/tab.h const gfx::Rect& GetIconBounds() const; gfx 194 chrome/browser/ui/views/tabs/tab.h void MaybeAdjustLeftForMiniTab(gfx::Rect* bounds) const; gfx 200 chrome/browser/ui/views/tabs/tab.h void PaintTab(gfx::Canvas* canvas); gfx 203 chrome/browser/ui/views/tabs/tab.h void PaintImmersiveTab(gfx::Canvas* canvas); gfx 206 chrome/browser/ui/views/tabs/tab.h void PaintTabBackground(gfx::Canvas* canvas); gfx 208 chrome/browser/ui/views/tabs/tab.h gfx::Canvas* canvas, gfx 209 chrome/browser/ui/views/tabs/tab.h gfx::MultiAnimation* animation); gfx 210 chrome/browser/ui/views/tabs/tab.h void PaintInactiveTabBackground(gfx::Canvas* canvas); gfx 211 chrome/browser/ui/views/tabs/tab.h void PaintInactiveTabBackgroundUsingResourceId(gfx::Canvas* canvas, gfx 213 chrome/browser/ui/views/tabs/tab.h void PaintActiveTabBackground(gfx::Canvas* canvas); gfx 216 chrome/browser/ui/views/tabs/tab.h void PaintIcon(gfx::Canvas* canvas); gfx 217 chrome/browser/ui/views/tabs/tab.h void PaintMediaIndicator(gfx::Canvas* canvas); gfx 218 chrome/browser/ui/views/tabs/tab.h void PaintTitle(gfx::Canvas* canvas, SkColor title_color); gfx 263 chrome/browser/ui/views/tabs/tab.h gfx::Rect GetImmersiveBarRect() const; gfx 275 chrome/browser/ui/views/tabs/tab.h static gfx::Size GetBasicMinimumUnselectedSize(); gfx 282 chrome/browser/ui/views/tabs/tab.h static gfx::ImageSkia GetCachedImage(int resource_id, gfx 283 chrome/browser/ui/views/tabs/tab.h const gfx::Size& size, gfx 289 chrome/browser/ui/views/tabs/tab.h const gfx::ImageSkia& image); gfx 316 chrome/browser/ui/views/tabs/tab.h scoped_ptr<gfx::Animation> tab_animation_; gfx 319 chrome/browser/ui/views/tabs/tab.h scoped_ptr<gfx::LinearAnimation> crash_icon_animation_; gfx 323 chrome/browser/ui/views/tabs/tab.h scoped_ptr<gfx::Animation> media_indicator_animation_; gfx 326 chrome/browser/ui/views/tabs/tab.h scoped_refptr<gfx::AnimationContainer> animation_container_; gfx 335 chrome/browser/ui/views/tabs/tab.h gfx::Rect favicon_bounds_; gfx 336 chrome/browser/ui/views/tabs/tab.h gfx::Rect title_bounds_; gfx 337 chrome/browser/ui/views/tabs/tab.h gfx::Rect media_indicator_bounds_; gfx 340 chrome/browser/ui/views/tabs/tab.h gfx::Point background_offset_; gfx 343 chrome/browser/ui/views/tabs/tab.h gfx::ImageSkia* image_l; gfx 344 chrome/browser/ui/views/tabs/tab.h gfx::ImageSkia* image_c; gfx 345 chrome/browser/ui/views/tabs/tab.h gfx::ImageSkia* image_r; gfx 368 chrome/browser/ui/views/tabs/tab.h static gfx::Font* font_; gfx 12 chrome/browser/ui/views/tabs/tab_controller.h namespace gfx { gfx 49 chrome/browser/ui/views/tabs/tab_controller.h const gfx::Point& p, gfx 78 chrome/browser/ui/views/tabs/tab_controller.h const gfx::Point& tab_in_tab_coordinates) = 0; gfx 87 chrome/browser/ui/views/tabs/tab_controller.h virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) = 0; gfx 87 chrome/browser/ui/views/tabs/tab_drag_controller.cc void SetWindowPositionManaged(gfx::NativeWindow window, bool value) { gfx 108 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& bounds, gfx 117 chrome/browser/ui/views/tabs/tab_drag_controller.cc void OffsetX(int x_offset, std::vector<gfx::Rect>* rects) { gfx 227 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& mouse_offset, gfx 238 chrome/browser/ui/views/tabs/tab_drag_controller.cc screen_ = gfx::Screen::GetScreenFor( gfx 248 chrome/browser/ui/views/tabs/tab_drag_controller.cc start_point_in_screen_ = gfx::Point(source_tab_offset, mouse_offset.y()); gfx 304 chrome/browser/ui/views/tabs/tab_drag_controller.cc void TabDragController::Drag(const gfx::Point& point_in_screen) { gfx 326 chrome/browser/ui/views/tabs/tab_drag_controller.cc Attach(source_tabstrip_, gfx::Point()); gfx 335 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect> drag_bounds = CalculateBoundsForDraggedTabs(); gfx 337 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect new_bounds(CalculateDraggedBrowserBounds(source_tabstrip_, gfx 431 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& initial_pos, gfx 513 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& new_bounds) { gfx 545 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point TabDragController::GetWindowCreatePoint( gfx 546 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& origin) const { gfx 549 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect work_area = screen_->GetDisplayNearestPoint(origin).work_area(); gfx 550 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point create_point(origin); gfx 561 chrome/browser/ui/views/tabs/tab_drag_controller.cc return gfx::Point(create_point.x() - window_create_point_.x(), gfx 592 chrome/browser/ui/views/tabs/tab_drag_controller.cc bool TabDragController::CanStartDrag(const gfx::Point& point_in_screen) const { gfx 602 chrome/browser/ui/views/tabs/tab_drag_controller.cc void TabDragController::ContinueDragging(const gfx::Point& point_in_screen) { gfx 659 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 738 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 748 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 759 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 769 chrome/browser/ui/views/tabs/tab_drag_controller.cc void TabDragController::MoveAttached(const gfx::Point& point_in_screen) { gfx 773 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point dragged_view_point = GetAttachedDragPoint(point_in_screen); gfx 798 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect bounds = GetDraggedViewTabStripBounds(dragged_view_point); gfx 813 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point tab_strip_point(point_in_screen); gfx 863 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen, gfx 871 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point dragged_view_point = GetAttachedDragPoint(point_in_screen); gfx 872 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect bounds = GetDraggedViewTabStripBounds(dragged_view_point); gfx 890 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 892 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point attached_point(point_in_screen); gfx 902 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 910 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect tabstrip_bounds = GetViewScreenBounds(attached_tabstrip_); gfx 916 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::NativeWindow local_window = gfx 924 chrome/browser/ui/views/tabs/tab_drag_controller.cc TabStrip* TabDragController::GetTabStripForWindow(gfx::NativeWindow window) { gfx 946 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) const { gfx 949 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect tabstrip_bounds = GetViewScreenBounds(tabstrip); gfx 958 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 996 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point tab_strip_point(point_in_screen); gfx 1001 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect bounds = GetDraggedViewTabStripBounds(tab_strip_point); gfx 1080 chrome/browser/ui/views/tabs/tab_drag_controller.cc source_dragged_contents()->IncrementCapturerCount(gfx::Size()); gfx 1082 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect> drag_bounds = CalculateBoundsForDraggedTabs(); gfx 1121 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 1132 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect> drag_bounds = CalculateBoundsForDraggedTabs(); gfx 1135 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Vector2d drag_offset; gfx 1139 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::NativeView attached_native_view = gfx 1158 chrome/browser/ui/views/tabs/tab_drag_controller.cc Attach(dragged_browser_view->tabstrip(), gfx::Point()); gfx 1177 chrome/browser/ui/views/tabs/tab_drag_controller.cc void TabDragController::RunMoveLoop(const gfx::Vector2d& drag_offset) { gfx 1223 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point point_in_screen(GetCursorScreenPoint()); gfx 1242 chrome/browser/ui/views/tabs/tab_drag_controller.cc int TabDragController::GetInsertionIndexFrom(const gfx::Rect& dragged_bounds, gfx 1247 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& ideal_bounds = attached_tabstrip_->ideal_bounds(i); gfx 1248 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect left_half, right_half; gfx 1262 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& dragged_bounds) const { gfx 1304 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& dragged_bounds, gfx 1319 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& dragged_bounds, gfx 1334 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Rect& dragged_bounds) const { gfx 1362 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect TabDragController::GetDraggedViewTabStripBounds( gfx 1363 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& tab_strip_point) { gfx 1366 chrome/browser/ui/views/tabs/tab_drag_controller.cc return gfx::Rect(tab_strip_point.x(), tab_strip_point.y(), gfx 1373 chrome/browser/ui/views/tabs/tab_drag_controller.cc return gfx::Rect(tab_strip_point.x(), tab_strip_point.y(), gfx 1378 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point TabDragController::GetAttachedDragPoint( gfx 1379 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 1382 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point tab_loc(point_in_screen); gfx 1393 chrome/browser/ui/views/tabs/tab_drag_controller.cc return gfx::Point(std::min(std::max(x, 0), max_x), 0); gfx 1409 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect> TabDragController::CalculateBoundsForDraggedTabs() { gfx 1410 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect> drag_bounds; gfx 1618 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect window_bounds(widget->GetRestoredBounds()); gfx 1669 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect TabDragController::GetViewScreenBounds( gfx 1671 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point view_topleft; gfx 1673 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect view_screen_bounds = view->GetLocalBounds(); gfx 1686 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 1763 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect TabDragController::CalculateDraggedBrowserBounds( gfx 1765 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen, gfx 1766 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect>* drag_bounds) { gfx 1767 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point center(0, source->height() / 2); gfx 1769 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect new_bounds(source->GetWidget()->GetRestoredBounds()); gfx 1774 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Size max_size( gfx 1788 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point right_edge(source->width(), 0); gfx 1809 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen, gfx 1810 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect>* drag_bounds) { gfx 1832 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point offset( gfx 1837 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect bounds = GetAttachedBrowserWidget()->GetWindowBoundsInScreen(); gfx 1846 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen, gfx 1847 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Vector2d* drag_offset, gfx 1848 chrome/browser/ui/views/tabs/tab_drag_controller.cc std::vector<gfx::Rect>* drag_bounds) { gfx 1849 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Rect new_bounds(CalculateDraggedBrowserBounds(source, gfx 1870 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point TabDragController::GetCursorScreenPoint() { gfx 1879 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::PointF touch_point_f; gfx 1883 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point touch_point = gfx::ToFlooredPoint(touch_point_f); gfx 1892 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Vector2d TabDragController::GetWindowOffset( gfx 1893 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& point_in_screen) { gfx 1898 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::Point point = point_in_screen; gfx 1903 chrome/browser/ui/views/tabs/tab_drag_controller.cc gfx::NativeWindow TabDragController::GetLocalProcessWindow( gfx 1904 chrome/browser/ui/views/tabs/tab_drag_controller.cc const gfx::Point& screen_point, gfx 23 chrome/browser/ui/views/tabs/tab_drag_controller.h namespace gfx { gfx 94 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Point& mouse_offset, gfx 131 chrome/browser/ui/views/tabs/tab_drag_controller.h void Drag(const gfx::Point& point_in_screen); gfx 225 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Rect& initial_pos, gfx 248 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Rect& new_bounds) OVERRIDE; gfx 259 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point GetWindowCreatePoint(const gfx::Point& origin) const; gfx 261 chrome/browser/ui/views/tabs/tab_drag_controller.h void UpdateDockInfo(const gfx::Point& point_in_screen); gfx 273 chrome/browser/ui/views/tabs/tab_drag_controller.h bool CanStartDrag(const gfx::Point& point_in_screen) const; gfx 277 chrome/browser/ui/views/tabs/tab_drag_controller.h void ContinueDragging(const gfx::Point& point_in_screen); gfx 284 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Point& point_in_screen); gfx 288 chrome/browser/ui/views/tabs/tab_drag_controller.h void DragActiveTabStacked(const gfx::Point& point_in_screen); gfx 292 chrome/browser/ui/views/tabs/tab_drag_controller.h void MoveAttachedToNextStackedIndex(const gfx::Point& point_in_screen); gfx 293 chrome/browser/ui/views/tabs/tab_drag_controller.h void MoveAttachedToPreviousStackedIndex(const gfx::Point& point_in_screen); gfx 296 chrome/browser/ui/views/tabs/tab_drag_controller.h void MoveAttached(const gfx::Point& point_in_screen); gfx 301 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Point& point_in_screen, gfx 306 chrome/browser/ui/views/tabs/tab_drag_controller.h TabStrip* GetTabStripForWindow(gfx::NativeWindow window); gfx 310 chrome/browser/ui/views/tabs/tab_drag_controller.h TabStrip* GetTargetTabStripForPoint(const gfx::Point& point_in_screen); gfx 315 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Point& point_in_screen) const; gfx 319 chrome/browser/ui/views/tabs/tab_drag_controller.h DetachPosition GetDetachPosition(const gfx::Point& point_in_screen); gfx 322 chrome/browser/ui/views/tabs/tab_drag_controller.h void Attach(TabStrip* attached_tabstrip, const gfx::Point& point_in_screen); gfx 329 chrome/browser/ui/views/tabs/tab_drag_controller.h void DetachIntoNewBrowserAndRunMoveLoop(const gfx::Point& point_in_screen); gfx 335 chrome/browser/ui/views/tabs/tab_drag_controller.h void RunMoveLoop(const gfx::Vector2d& drag_offset); gfx 340 chrome/browser/ui/views/tabs/tab_drag_controller.h int GetInsertionIndexFrom(const gfx::Rect& dragged_bounds, gfx 349 chrome/browser/ui/views/tabs/tab_drag_controller.h int GetInsertionIndexForDraggedBounds(const gfx::Rect& dragged_bounds) const; gfx 353 chrome/browser/ui/views/tabs/tab_drag_controller.h bool ShouldDragToNextStackedTab(const gfx::Rect& dragged_bounds, gfx 358 chrome/browser/ui/views/tabs/tab_drag_controller.h bool ShouldDragToPreviousStackedTab(const gfx::Rect& dragged_bounds, gfx 363 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Rect& dragged_bounds) const; gfx 368 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Rect GetDraggedViewTabStripBounds(const gfx::Point& tab_strip_point); gfx 372 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point GetAttachedDragPoint(const gfx::Point& point_in_screen); gfx 379 chrome/browser/ui/views/tabs/tab_drag_controller.h std::vector<gfx::Rect> CalculateBoundsForDraggedTabs(); gfx 409 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Rect GetViewScreenBounds(views::View* tabstrip) const; gfx 418 chrome/browser/ui/views/tabs/tab_drag_controller.h void BringWindowUnderPointToFront(const gfx::Point& point_in_screen); gfx 444 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Rect CalculateDraggedBrowserBounds(TabStrip* source, gfx 445 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Point& point_in_screen, gfx 446 chrome/browser/ui/views/tabs/tab_drag_controller.h std::vector<gfx::Rect>* drag_bounds); gfx 454 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Point& point_in_screen, gfx 455 chrome/browser/ui/views/tabs/tab_drag_controller.h std::vector<gfx::Rect>* drag_bounds); gfx 459 chrome/browser/ui/views/tabs/tab_drag_controller.h const gfx::Point& point_in_screen, gfx 460 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Vector2d* drag_offset, gfx 461 chrome/browser/ui/views/tabs/tab_drag_controller.h std::vector<gfx::Rect>* drag_bounds); gfx 468 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point GetCursorScreenPoint(); gfx 472 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Vector2d GetWindowOffset(const gfx::Point& point_in_screen); gfx 481 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::NativeWindow GetLocalProcessWindow(const gfx::Point& screen_point, gfx 501 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Screen* screen_; gfx 515 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point start_point_in_screen_; gfx 521 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point mouse_offset_; gfx 531 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point window_create_point_; gfx 535 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point first_source_tab_point_; gfx 542 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Rect restore_bounds_; gfx 596 chrome/browser/ui/views/tabs/tab_drag_controller.h gfx::Point last_point_in_screen_; gfx 104 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point GetCenterInScreenCoordinates(const views::View* view) { gfx 105 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point center(view->width() / 2, view->height() / 2); gfx 180 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( gfx 182 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Size half_size = gfx 183 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Size(work_area.width() / 3 - 10, work_area.height() / 2 - 10); gfx 184 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser()->window()->SetBounds(gfx::Rect(work_area.origin(), half_size)); gfx 185 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc browser2->window()->SetBounds(gfx::Rect( gfx 224 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const gfx::Point& point) const OVERRIDE { gfx 308 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_1_center(GetCenterInScreenCoordinates(tab_strip->tab_at(1))); gfx 312 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 330 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_1_center(tab1->width() / 2, tab1->height() / 2); gfx 382 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc void SetEventGeneratorRootWindow(const gfx::Point& point) { gfx 393 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool PressInput(const gfx::Point& location) { gfx 421 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool DragInputTo(const gfx::Point& location) { gfx 432 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool DragInputToAsync(const gfx::Point& location) { gfx 450 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc event_generator_->MoveTouch(gfx::Point(x, y)); gfx 465 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc event_generator_->MoveTouch(gfx::Point(x, y)); gfx 479 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc event_generator_->MoveTouchId(gfx::Point(x, y), 1); gfx 559 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_1_center(GetCenterInScreenCoordinates(tab_strip->tab_at(1))); gfx 561 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 585 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point target_point(target_tab_strip->width() -1, gfx 614 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 662 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool IsWindowPositionManaged(gfx::NativeWindow window) { gfx 665 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool HasUserChangedWindowPositionOrSize(gfx::NativeWindow window) { gfx 682 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const gfx::Rect initial_bounds(browser()->window()->GetBounds()); gfx 688 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 755 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 802 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 843 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 846 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point(tab_0_center.x() + 20, tab_0_center.y()))); gfx 888 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 937 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 987 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1043 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1079 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point target_point(target_tab_strip->width() - 1, gfx 1111 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 1152 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point target_point(target_tab_strip->width() - 1, gfx 1186 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 1238 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect bounds(browser2->window()->GetBounds()); gfx 1244 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1247 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point b2_location(5, 0); gfx 1291 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const gfx::Rect initial_bounds(browser2->window()->GetBounds()); gfx 1295 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 1361 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 1423 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 1492 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const gfx::Point& target_point) { gfx 1518 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1523 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc this, gfx::Point(600 + tab_0_center.x(), gfx 1571 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point target_point( gfx 1606 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( gfx 1614 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1664 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( gfx 1669 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect work_area2(work_area); gfx 1683 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1733 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( gfx 1755 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1809 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect work_area = gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( gfx 1827 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1968 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 1990 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool Press(const gfx::Point& position) { gfx 1996 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc bool DragTabAndExecuteTaskWhenDone(const gfx::Point& position, gfx 2031 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point final_destination, gfx 2071 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point final_destination = gfx 2072 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( gfx 2077 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_dst(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 2119 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect work_area = gfx::Screen::GetNativeScreen()-> gfx 2125 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point final_destination = gfx 2126 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Screen::GetNativeScreen()->GetDisplayNearestWindow( gfx 2131 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_dst(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 2174 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Rect bounds(browser()->window()->GetBounds()); gfx 2181 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 2216 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc const gfx::Point& target_point, gfx 2230 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point(target_point.x(), 1 + target_point.y()), gfx 2264 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point tab_0_center( gfx 2273 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc gfx::Point(0, tab_0_center.y() + GetDetachY(tab_strip)), gfx 21 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h namespace gfx { gfx 61 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h gfx::Point GetCenterInScreenCoordinates(const views::View* view); gfx 54 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_1_center(GetCenterInScreenCoordinates(tab_strip->tab_at(1))); gfx 58 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 86 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 91 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point(tab_0_center.x(), gfx 96 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point target_point(tab_strip2->width() -1, tab_strip2->height() / 2); gfx 119 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center( gfx 151 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 178 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 183 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point(tab_0_center.x() + 20, tab_0_center.y()))); gfx 207 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 213 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point(tab_0_center.x(), gfx 232 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center(GetCenterInScreenCoordinates(tab_strip->tab_at(0))); gfx 238 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point(tab_0_center.x(), gfx 278 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center( gfx 284 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point(tab_0_center.x(), gfx 293 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point target_point(tab_strip2->width() - 1, gfx 327 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point tab_0_center( gfx 333 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point(tab_0_center.x(), gfx 341 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc gfx::Point target_point(tab_strip2->width() - 1, gfx 41 chrome/browser/ui/views/tabs/tab_renderer_data.h gfx::ImageSkia favicon; gfx 260 chrome/browser/ui/views/tabs/tab_strip.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE { gfx 264 chrome/browser/ui/views/tabs/tab_strip.cc virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE { gfx 279 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Point& point_in_source) { gfx 280 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point dest_point(point_in_source); gfx 291 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Point& point_in_source) { gfx 292 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point dest_point(point_in_source); gfx 318 chrome/browser/ui/views/tabs/tab_strip.cc void set_background_offset(const gfx::Point& offset) { gfx 326 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Path* path) const OVERRIDE; gfx 330 chrome/browser/ui/views/tabs/tab_strip.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 337 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia GetBackgroundImage(views::CustomButton::ButtonState state, gfx 339 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia GetImageForState(views::CustomButton::ButtonState state, gfx 341 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia GetImageForScale(ui::ScaleFactor scale_factor) const; gfx 347 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point background_offset_; gfx 377 chrome/browser/ui/views/tabs/tab_strip.cc void NewTabButton::GetHitTestMask(HitTestSource source, gfx::Path* path) const { gfx 401 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point point = event.location(); gfx 405 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ShowSystemMenuAtPoint(views::HWNDForView(this), point); gfx 417 chrome/browser/ui/views/tabs/tab_strip.cc void NewTabButton::OnPaint(gfx::Canvas* canvas) { gfx 418 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia image = gfx 435 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia NewTabButton::GetBackgroundImage( gfx 466 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia* mask = gfx 475 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Canvas canvas(gfx::Size(width, height), scale, false); gfx 479 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia* background = gfx 502 chrome/browser/ui/views/tabs/tab_strip.cc canvas.DrawRect(gfx::Rect(0, 0, width, height), paint); gfx 509 chrome/browser/ui/views/tabs/tab_strip.cc return gfx::ImageSkiaOperations::CreateMaskedImage( gfx 510 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia(canvas.ExtractImageRep()), *mask); gfx 513 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia NewTabButton::GetImageForState( gfx 518 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia* overlay = GetThemeProvider()->GetImageSkiaNamed(overlay_id); gfx 520 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Canvas canvas( gfx 521 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Size(overlay->width(), overlay->height()), gfx 533 chrome/browser/ui/views/tabs/tab_strip.cc return gfx::ImageSkia(canvas.ExtractImageRep()); gfx 536 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia NewTabButton::GetImageForScale( gfx 540 chrome/browser/ui/views/tabs/tab_strip.cc return gfx::ImageSkiaOperations::CreateBlendedImage( gfx 556 chrome/browser/ui/views/tabs/tab_strip.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 557 chrome/browser/ui/views/tabs/tab_strip.cc virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 580 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Animation* animation) { gfx 585 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Animation* animation) { gfx 627 chrome/browser/ui/views/tabs/tab_strip.cc animation_container_(new gfx::AnimationContainer()), gfx 688 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect TabStrip::GetNewTabButtonBounds() { gfx 927 chrome/browser/ui/views/tabs/tab_strip.cc bool TabStrip::IsPositionInWindowCaption(const gfx::Point& point) { gfx 928 chrome/browser/ui/views/tabs/tab_strip.cc return IsRectInWindowCaption(gfx::Rect(point, gfx::Size(1, 1))); gfx 931 chrome/browser/ui/views/tabs/tab_strip.cc bool TabStrip::IsRectInWindowCaption(const gfx::Rect& rect) { gfx 942 chrome/browser/ui/views/tabs/tab_strip.cc gfx::RectF rect_in_newtab_coords_f(rect); gfx 944 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect rect_in_newtab_coords = gfx::ToEnclosingRect( gfx 956 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::SetBackgroundOffset(const gfx::Point& offset) { gfx 1050 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Point& p, gfx 1151 chrome/browser/ui/views/tabs/tab_strip.cc this, tab, tabs, gfx::Point(x, y), event.x(), selection_model, gfx 1158 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point screen_location(event.location()); gfx 1172 chrome/browser/ui/views/tabs/tab_strip.cc Tab* TabStrip::GetTabAt(Tab* tab, const gfx::Point& tab_in_tab_coordinates) { gfx 1173 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point local_point = tab_in_tab_coordinates; gfx 1192 chrome/browser/ui/views/tabs/tab_strip.cc bool TabStrip::ShouldPaintTab(const Tab* tab, gfx::Rect* clip) { gfx 1217 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Rect& tab_bounds(tab_at(index)->bounds()); gfx 1218 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Rect& previous_tab_bounds(tab_at(index - 1)->bounds()); gfx 1259 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::PaintChildren(gfx::Canvas* canvas) { gfx 1340 chrome/browser/ui/views/tabs/tab_strip.cc canvas->DrawRect(gfx::Rect(0, 0, width(), height() - 2), paint); gfx 1372 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Size TabStrip::GetPreferredSize() { gfx 1387 chrome/browser/ui/views/tabs/tab_strip.cc return gfx::Size(needed_width, Tab::GetImmersiveHeight()); gfx 1388 chrome/browser/ui/views/tabs/tab_strip.cc return gfx::Size(needed_width, Tab::GetMinimumUnselectedSize().height()); gfx 1457 chrome/browser/ui/views/tabs/tab_strip.cc views::View* TabStrip::GetEventHandlerForRect(const gfx::Rect& rect) { gfx 1460 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Point point(rect.CenterPoint()); gfx 1486 chrome/browser/ui/views/tabs/tab_strip.cc views::View* TabStrip::GetTooltipHandlerForPoint(const gfx::Point& point) { gfx 1620 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point local_point = event->location(); gfx 1676 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia* drop_image = GetDropArrowImage(true); gfx 1735 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect tab_bounds = tab->bounds(); gfx 1804 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect bounds(ideal_bounds(i)); gfx 1823 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect new_bounds(ideal_bounds(i)); gfx 1832 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect new_bounds(ideal_bounds(i)); gfx 1857 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect new_bounds(ideal_bounds(i)); gfx 1870 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect new_bounds(ideal_bounds(i)); gfx 1889 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Point& location, gfx 1894 chrome/browser/ui/views/tabs/tab_strip.cc std::vector<gfx::Rect> bounds; gfx 1902 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect new_bounds = bounds[i]; gfx 1920 chrome/browser/ui/views/tabs/tab_strip.cc std::vector<gfx::Rect>* bounds) { gfx 1926 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect new_bounds = tab->bounds(); gfx 1927 chrome/browser/ui/views/tabs/tab_strip.cc new_bounds.set_origin(gfx::Point(x, 0)); gfx 2095 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::PaintClosingTabs(gfx::Canvas* canvas, int index) { gfx 2129 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point tab_strip_point(event.location()); gfx 2144 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point location(event.location()); gfx 2167 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point location(event.location()); gfx 2310 chrome/browser/ui/views/tabs/tab_strip.cc void TabStrip::SetTabBoundsForDrag(const std::vector<gfx::Rect>& tab_bounds) { gfx 2317 chrome/browser/ui/views/tabs/tab_strip.cc last_layout_size_ = gfx::Size(); gfx 2325 chrome/browser/ui/views/tabs/tab_strip.cc this, gfx::Insets(0, 0, kTabStripAnimationVSlop, 0)), gfx 2335 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect TabStrip::GetDropBounds(int drop_index, gfx 2355 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point drop_loc(center_x - drop_indicator_width / 2, gfx 2358 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect drop_bounds(drop_loc.x(), drop_loc.y(), drop_indicator_width, gfx 2362 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(GetWidget()->GetNativeView()); gfx 2363 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Display display = screen->GetDisplayMatching(drop_bounds); gfx 2412 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect drop_bounds = GetDropBounds(tab_data_index, drop_before, gfx 2444 chrome/browser/ui/views/tabs/tab_strip.cc gfx::ImageSkia* TabStrip::GetDropArrowImage(bool is_down) { gfx 2468 chrome/browser/ui/views/tabs/tab_strip.cc params.bounds = gfx::Rect(drop_indicator_width, drop_indicator_height); gfx 2497 chrome/browser/ui/views/tabs/tab_strip.cc newtab_button_bounds_.set_origin(gfx::Point(new_tab_x, new_tab_y)); gfx 2519 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect(rounded_tab_x, 0, Round(end_of_tab) - rounded_tab_x, gfx 2535 chrome/browser/ui/views/tabs/tab_strip.cc newtab_button_bounds_.set_origin(gfx::Point(new_tab_x, new_tab_y)); gfx 2545 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect(next_x, 0, mini_width, tab_height)); gfx 2599 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect bounds = ideal_bounds(i); gfx 2616 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Rect tab_bounds = tab_closing->bounds(); gfx 2629 chrome/browser/ui/views/tabs/tab_strip.cc const gfx::Point& point_in_tabstrip_coords) { gfx 2630 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Point point_in_tab_coords(point_in_tabstrip_coords); gfx 2643 chrome/browser/ui/views/tabs/tab_strip.cc Tab* TabStrip::FindTabForEvent(const gfx::Point& point) { gfx 2663 chrome/browser/ui/views/tabs/tab_strip.cc Tab* TabStrip::FindTabForEventFrom(const gfx::Point& point, gfx 2676 chrome/browser/ui/views/tabs/tab_strip.cc views::View* TabStrip::FindTabHitByPoint(const gfx::Point& point) { gfx 2706 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Size tab_size(Tab::GetMinimumSelectedSize()); gfx 74 chrome/browser/ui/views/tabs/tab_strip.h gfx::Rect GetNewTabButtonBounds(); gfx 115 chrome/browser/ui/views/tabs/tab_strip.h const gfx::Rect& ideal_bounds(int tab_data_index) { gfx 158 chrome/browser/ui/views/tabs/tab_strip.h bool IsPositionInWindowCaption(const gfx::Point& point); gfx 162 chrome/browser/ui/views/tabs/tab_strip.h bool IsRectInWindowCaption(const gfx::Rect& rect); gfx 165 chrome/browser/ui/views/tabs/tab_strip.h void SetBackgroundOffset(const gfx::Point& offset); gfx 193 chrome/browser/ui/views/tabs/tab_strip.h const gfx::Point& p, gfx 206 chrome/browser/ui/views/tabs/tab_strip.h const gfx::Point& tab_in_tab_coordinates) OVERRIDE; gfx 209 chrome/browser/ui/views/tabs/tab_strip.h virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) OVERRIDE; gfx 217 chrome/browser/ui/views/tabs/tab_strip.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 219 chrome/browser/ui/views/tabs/tab_strip.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 227 chrome/browser/ui/views/tabs/tab_strip.h virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; gfx 229 chrome/browser/ui/views/tabs/tab_strip.h const gfx::Point& point) OVERRIDE; gfx 238 chrome/browser/ui/views/tabs/tab_strip.h void set_ideal_bounds(int index, const gfx::Rect& bounds) { gfx 358 chrome/browser/ui/views/tabs/tab_strip.h const gfx::Point& location, gfx 364 chrome/browser/ui/views/tabs/tab_strip.h std::vector<gfx::Rect>* bounds); gfx 412 chrome/browser/ui/views/tabs/tab_strip.h void PaintClosingTabs(gfx::Canvas* canvas, int index); gfx 447 chrome/browser/ui/views/tabs/tab_strip.h void SetTabBoundsForDrag(const std::vector<gfx::Rect>& tab_bounds); gfx 459 chrome/browser/ui/views/tabs/tab_strip.h gfx::Rect GetDropBounds(int drop_index, bool drop_before, bool* is_beneath); gfx 473 chrome/browser/ui/views/tabs/tab_strip.h static gfx::ImageSkia* GetDropArrowImage(bool is_down); gfx 507 chrome/browser/ui/views/tabs/tab_strip.h bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords); gfx 516 chrome/browser/ui/views/tabs/tab_strip.h Tab* FindTabForEvent(const gfx::Point& point); gfx 520 chrome/browser/ui/views/tabs/tab_strip.h Tab* FindTabForEventFrom(const gfx::Point& point, int start, int delta); gfx 527 chrome/browser/ui/views/tabs/tab_strip.h views::View* FindTabHitByPoint(const gfx::Point& point); gfx 564 chrome/browser/ui/views/tabs/tab_strip.h gfx::Rect newtab_button_bounds_; gfx 591 chrome/browser/ui/views/tabs/tab_strip.h scoped_refptr<gfx::AnimationContainer> animation_container_; gfx 606 chrome/browser/ui/views/tabs/tab_strip.h gfx::Size last_layout_size_; gfx 621 chrome/browser/ui/views/tabs/tab_strip.h gfx::Point last_mouse_move_location_; gfx 16 chrome/browser/ui/views/tabs/tab_strip_controller.h namespace gfx { gfx 72 chrome/browser/ui/views/tabs/tab_strip_controller.h const gfx::Point& p, gfx 102 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Rect GetTabHitTestMask(Tab* tab) { gfx 103 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Path mask; gfx 105 chrome/browser/ui/views/tabs/tab_strip_unittest.cc return gfx::ToEnclosingRect((gfx::SkRectToRectF(mask.getBounds()))); gfx 111 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Rect GetTabCloseHitTestMask(Tab* tab, bool padding) { gfx 112 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::RectF bounds_f = tab->close_button_->GetContentsBounds(); gfx 116 chrome/browser/ui/views/tabs/tab_strip_unittest.cc return gfx::ToEnclosingRect(bounds_f); gfx 121 chrome/browser/ui/views/tabs/tab_strip_unittest.cc bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords) { gfx 122 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Point point_in_tab_coords(point_in_tabstrip_coords); gfx 241 chrome/browser/ui/views/tabs/tab_strip_unittest.cc left_tab->SetBoundsRect(gfx::Rect(gfx::Point(0, 0), gfx::Size(200, 20))); gfx 244 chrome/browser/ui/views/tabs/tab_strip_unittest.cc active_tab->SetBoundsRect(gfx::Rect(gfx::Point(150, 0), gfx::Size(200, 20))); gfx 248 chrome/browser/ui/views/tabs/tab_strip_unittest.cc right_tab->SetBoundsRect(gfx::Rect(gfx::Point(300, 0), gfx::Size(200, 20))); gfx 251 chrome/browser/ui/views/tabs/tab_strip_unittest.cc most_right_tab->SetBoundsRect(gfx::Rect(gfx::Point(450, 0), gfx 252 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Size(200, 20))); gfx 263 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Rect tab_bounds = GetTabHitTestMask(left_tab); gfx 264 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_EQ(gfx::Rect(6, 2, 61, 27).ToString(), tab_bounds.ToString()); gfx 268 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Rect contents_bounds = GetTabCloseHitTestMask(left_tab, false); gfx 276 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 2, 2))); gfx 277 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(6, 2, 1, 1))); gfx 278 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 1, 1))); gfx 279 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(30, 15, 25, 35))); gfx 280 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_tab->HitTestRect(gfx::Rect(-10, -5, 20, 30))); gfx 283 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, 15, 2, 2))); gfx 284 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(70, -15, 30, 40))); gfx 285 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(87, 20, 5, 3))); gfx 288 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 1, 1))); gfx 289 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_tab->HitTestRect(gfx::Rect(-20, -25, 3, 19))); gfx 294 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(1, 1, 1, 1))); gfx 295 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(1, 1, 5, 10))); gfx 296 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(10, 10, 1, 1))); gfx 297 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(10, 10, 3, 4))); gfx 303 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_EQ(gfx::Rect(6, 2, 108, 27).ToString(), tab_bounds.ToString()); gfx 313 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Rect local_bounds = GetTabCloseHitTestMask(active_tab, true); gfx 314 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_EQ(gfx::Rect(81, 0, 39, 29).ToString(), local_bounds.ToString()); gfx 317 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(active_tab->HitTestRect(gfx::Rect(30, 15, 1, 1))); gfx 318 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(active_tab->HitTestRect(gfx::Rect(30, 15, 2, 2))); gfx 324 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(active_close->HitTestRect(gfx::Rect(1, 1, 1, 1))); gfx 325 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(active_close->HitTestRect(gfx::Rect(1, 1, 2, 2))); gfx 326 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(active_close->HitTestRect(gfx::Rect(10, 10, 1, 1))); gfx 327 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(active_close->HitTestRect(gfx::Rect(10, 10, 25, 35))); gfx 334 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_EQ(gfx::Rect(84, 2, 30, 27).ToString(), tab_bounds.ToString()); gfx 339 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_EQ(gfx::Rect(81, 0, 39, 29).ToString(), local_bounds.ToString()); gfx 345 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(most_right_tab->HitTestRect(gfx::Rect(20, 15, 1, 1))); gfx 346 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(most_right_tab->HitTestRect(gfx::Rect(20, 15, 5, 6))); gfx 349 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(most_right_tab->HitTestRect(gfx::Rect(85, 15, 1, 1))); gfx 350 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(most_right_tab->HitTestRect(gfx::Rect(85, 15, 2, 2))); gfx 356 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(most_right_close->HitTestRect(gfx::Rect(1, 1, 1, 1))); gfx 357 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(most_right_close->HitTestRect(gfx::Rect(1, 1, 2, 2))); gfx 358 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(most_right_close->HitTestRect(gfx::Rect(10, 10, 1, 1))); gfx 359 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(most_right_close->HitTestRect(gfx::Rect(10, 10, 25, 35))); gfx 360 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(most_right_close->HitTestRect(gfx::Rect(-10, 10, 25, 35))); gfx 374 chrome/browser/ui/views/tabs/tab_strip_unittest.cc left_tab->SetBoundsRect(gfx::Rect(gfx::Point(0, 0), gfx::Size(200, 20))); gfx 377 chrome/browser/ui/views/tabs/tab_strip_unittest.cc active_tab->SetBoundsRect(gfx::Rect(gfx::Point(180, 0), gfx::Size(200, 20))); gfx 389 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Rect tab_bounds = GetTabHitTestMask(left_tab); gfx 390 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_EQ(gfx::Rect(6, 2, 91, 27).ToString(), tab_bounds.ToString()); gfx 394 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Rect contents_bounds = GetTabCloseHitTestMask(left_tab, false); gfx 406 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(2, 15, 1, 1))); gfx 407 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_close->HitTestRect(gfx::Rect(3, 15, 1, 1))); gfx 408 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_close->HitTestRect(gfx::Rect(10, 10, 1, 1))); gfx 409 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_TRUE(left_close->HitTestRect(gfx::Rect(15, 12, 1, 1))); gfx 410 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(16, 10, 1, 1))); gfx 414 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(2, 15, 2, 2))); gfx 415 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(3, 15, 25, 25))); gfx 416 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(10, 10, 4, 5))); gfx 417 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(15, 12, 2, 2))); gfx 418 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(left_close->HitTestRect(gfx::Rect(16, 10, 20, 20))); gfx 433 chrome/browser/ui/views/tabs/tab_strip_unittest.cc left_tab->SetBoundsRect(gfx::Rect(gfx::Point(0, 0), gfx::Size(200, 20))); gfx 436 chrome/browser/ui/views/tabs/tab_strip_unittest.cc active_tab->SetBoundsRect(gfx::Rect(gfx::Point(150, 0), gfx::Size(200, 20))); gfx 440 chrome/browser/ui/views/tabs/tab_strip_unittest.cc right_tab->SetBoundsRect(gfx::Rect(gfx::Point(300, 0), gfx::Size(200, 20))); gfx 443 chrome/browser/ui/views/tabs/tab_strip_unittest.cc most_right_tab->SetBoundsRect(gfx::Rect(gfx::Point(450, 0), gfx 444 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Size(200, 20))); gfx 448 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Point left_overlap( gfx 461 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Point right_overlap((active_tab->bounds().right() + right_tab->x()) / 2, gfx 472 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Point unactive_overlap( gfx 496 chrome/browser/ui/views/tabs/tab_strip_unittest.cc left_tab->SetBoundsRect(gfx::Rect(gfx::Point(0, 0), gfx::Size(200, 20))); gfx 499 chrome/browser/ui/views/tabs/tab_strip_unittest.cc active_tab->SetBoundsRect(gfx::Rect(gfx::Point(150, 0), gfx::Size(200, 20))); gfx 503 chrome/browser/ui/views/tabs/tab_strip_unittest.cc right_tab->SetBoundsRect(gfx::Rect(gfx::Point(300, 0), gfx::Size(200, 20))); gfx 506 chrome/browser/ui/views/tabs/tab_strip_unittest.cc most_right_tab->SetBoundsRect(gfx::Rect(gfx::Point(450, 0), gfx 507 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Size(200, 20))); gfx 511 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Point left_overlap( gfx 524 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Point right_overlap((active_tab->bounds().right() + right_tab->x()) / 2, gfx 535 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::Point unactive_overlap( gfx 549 chrome/browser/ui/views/tabs/tab_strip_unittest.cc EXPECT_FALSE(tab_strip_->GetTooltipHandlerForPoint(gfx::Point(-1, 2))); gfx 36 chrome/browser/ui/views/tabs/tab_unittest.cc const gfx::Point& p, gfx 53 chrome/browser/ui/views/tabs/tab_unittest.cc const gfx::Point& tab_in_tab_coordinates) OVERRIDE { gfx 58 chrome/browser/ui/views/tabs/tab_unittest.cc virtual bool ShouldPaintTab(const Tab* tab, gfx::Rect* clip) OVERRIDE { gfx 150 chrome/browser/ui/views/tabs/tab_unittest.cc const gfx::Rect contents_bounds = tab.GetContentsBounds(); gfx 199 chrome/browser/ui/views/tabs/tab_unittest.cc tab.SetBoundsRect(gfx::Rect(gfx::Point(0, 0), Tab::GetStandardSize())); gfx 203 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_FALSE(tab.HitTestPoint(gfx::Point(middle_x, 0))); gfx 207 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_FALSE(tab.HitTestPoint(gfx::Point(0, middle_y))); gfx 212 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_TRUE(tab.HitTestPoint(gfx::Point(middle_x, 0))); gfx 215 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_FALSE(tab.HitTestPoint(gfx::Point(0, 0))); gfx 216 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_FALSE(tab.HitTestPoint(gfx::Point(tab.width() - 1, 0))); gfx 232 chrome/browser/ui/views/tabs/tab_unittest.cc data.favicon = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 259 chrome/browser/ui/views/tabs/tab_unittest.cc gfx::Rect bounds(gfx::Point(0, 0), Tab::GetStandardSize()); gfx 286 chrome/browser/ui/views/tabs/tab_unittest.cc gfx::Insets close_button_insets = tab.close_button_->GetInsets(); gfx 288 chrome/browser/ui/views/tabs/tab_unittest.cc gfx::Insets close_button_insets_2 = tab.close_button_->GetInsets(); gfx 16 chrome/browser/ui/views/tabs/window_finder.h namespace gfx { gfx 23 chrome/browser/ui/views/tabs/window_finder.h const gfx::Point& screen_point, gfx 15 chrome/browser/ui/views/tabs/window_finder_ash.cc const gfx::Point& screen_point, gfx 16 chrome/browser/ui/views/tabs/window_finder_ash.cc const std::set<gfx::NativeView>& ignore, gfx 44 chrome/browser/ui/views/tabs/window_finder_ash.cc const gfx::Point& screen_point, gfx 11 chrome/browser/ui/views/tabs/window_finder_chromeos.cc const gfx::Point& screen_point, gfx 16 chrome/browser/ui/views/tabs/window_finder_chromeos.cc const gfx::Point& screen_point, gfx 16 chrome/browser/ui/views/tabs/window_finder_win.cc const gfx::Point& screen_point, gfx 68 chrome/browser/ui/views/tabs/window_finder_win.cc const gfx::Point& screen_loc, gfx 125 chrome/browser/ui/views/tabs/window_finder_win.cc const gfx::Point& screen_loc, gfx 139 chrome/browser/ui/views/tabs/window_finder_win.cc gfx::Point screen_loc_; gfx 158 chrome/browser/ui/views/tabs/window_finder_win.cc static gfx::NativeWindow GetProcessWindowAtPoint( gfx 159 chrome/browser/ui/views/tabs/window_finder_win.cc const gfx::Point& screen_loc, gfx 188 chrome/browser/ui/views/tabs/window_finder_win.cc LocalProcessWindowFinder(const gfx::Point& screen_loc, gfx 197 chrome/browser/ui/views/tabs/window_finder_win.cc gfx::Point screen_loc_; gfx 206 chrome/browser/ui/views/tabs/window_finder_win.cc std::set<HWND> RemapIgnoreSet(const std::set<gfx::NativeView>& ignore) { gfx 208 chrome/browser/ui/views/tabs/window_finder_win.cc std::set<gfx::NativeView>::const_iterator it = ignore.begin(); gfx 221 chrome/browser/ui/views/tabs/window_finder_win.cc const gfx::Point& screen_point, gfx 16 chrome/browser/ui/views/tabs/window_finder_x11.cc const gfx::Point& screen_point, gfx 66 chrome/browser/ui/views/tabs/window_finder_x11.cc const gfx::Point& screen_loc, gfx 97 chrome/browser/ui/views/tabs/window_finder_x11.cc const gfx::Point& screen_loc, gfx 110 chrome/browser/ui/views/tabs/window_finder_x11.cc gfx::Point screen_loc_; gfx 128 chrome/browser/ui/views/tabs/window_finder_x11.cc static XID GetProcessWindowAtPoint(const gfx::Point& screen_loc, gfx 160 chrome/browser/ui/views/tabs/window_finder_x11.cc LocalProcessWindowFinder(const gfx::Point& screen_loc, gfx 169 chrome/browser/ui/views/tabs/window_finder_x11.cc gfx::Point screen_loc_; gfx 182 chrome/browser/ui/views/tabs/window_finder_x11.cc const gfx::Point& screen_point, gfx 80 chrome/browser/ui/views/task_manager_view.cc virtual gfx::ImageSkia GetIcon(int row) OVERRIDE; gfx 109 chrome/browser/ui/views/task_manager_view.cc gfx::ImageSkia TaskManagerTableModel::GetIcon(int row) { gfx 165 chrome/browser/ui/views/task_manager_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 198 chrome/browser/ui/views/task_manager_view.cc const gfx::Point& point, gfx 430 chrome/browser/ui/views/task_manager_view.cc gfx::Size size = kill_button_->GetPreferredSize(); gfx 431 chrome/browser/ui/views/task_manager_view.cc gfx::Rect parent_bounds = parent()->GetContentsBounds(); gfx 444 chrome/browser/ui/views/task_manager_view.cc gfx::Rect rect = GetLocalBounds(); gfx 451 chrome/browser/ui/views/task_manager_view.cc gfx::Size TaskManagerView::GetPreferredSize() { gfx 452 chrome/browser/ui/views/task_manager_view.cc return gfx::Size(460, 270); gfx 479 chrome/browser/ui/views/task_manager_view.cc gfx::NativeWindow window = gfx 593 chrome/browser/ui/views/task_manager_view.cc const gfx::Point& point, gfx 602 chrome/browser/ui/views/task_manager_view.cc if (menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(point, gfx::Size()), gfx 20 chrome/browser/ui/views/toolbar/back_button.cc gfx::Rect BackButton::GetThemePaintRect() const { gfx 21 chrome/browser/ui/views/toolbar/back_button.cc gfx::Rect rect(LabelButton::GetThemePaintRect()); gfx 32 chrome/browser/ui/views/toolbar/back_button.cc const gfx::Insets insets(border->GetInsets()); gfx 33 chrome/browser/ui/views/toolbar/back_button.cc border->set_insets(gfx::Insets(insets.top(), insets.left() + margin, gfx 43 chrome/browser/ui/views/toolbar/back_button.cc gfx::Insets(kFocusRectInset, kFocusRectInset + margin, gfx 32 chrome/browser/ui/views/toolbar/back_button.h virtual gfx::Rect GetThemePaintRect() const OVERRIDE; gfx 49 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc gfx::Image BrowserActionTestUtil::GetIcon(int index) { gfx 50 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc gfx::ImageSkia icon = GetContainer(browser_)->GetBrowserActionViewAt(index)-> gfx 52 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc return gfx::Image(icon); gfx 68 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc GetTooltipText(gfx::Point(), &text); gfx 76 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc gfx::Rect BrowserActionTestUtil::GetPopupBounds() { gfx 90 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc gfx::Size BrowserActionTestUtil::GetMinPopupSize() { gfx 91 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc return gfx::Size(ExtensionPopup::kMinWidth, ExtensionPopup::kMinHeight); gfx 94 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc gfx::Size BrowserActionTestUtil::GetMaxPopupSize() { gfx 95 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc return gfx::Size(ExtensionPopup::kMaxWidth, ExtensionPopup::kMaxHeight); gfx 64 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia BrowserActionView::GetIconWithBadge() { gfx 78 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::Size BrowserActionView::GetPreferredSize() { gfx 79 chrome/browser/ui/views/toolbar/browser_action_view.cc return gfx::Size(BrowserActionsContainer::IconWidth(false), gfx 83 chrome/browser/ui/views/toolbar/browser_action_view.cc void BrowserActionView::PaintChildren(gfx::Canvas* canvas) { gfx 174 chrome/browser/ui/views/toolbar/browser_action_view.cc const gfx::Point& point, gfx 187 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::Point screen_loc; gfx 189 chrome/browser/ui/views/toolbar/browser_action_view.cc if (menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(screen_loc, size()), gfx 216 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia icon = *icon_factory_.GetIcon(tab_id).ToImageSkia(); gfx 220 chrome/browser/ui/views/toolbar/browser_action_view.cc icon = gfx::ImageSkiaOperations::CreateTransparentImage(icon, .25); gfx 225 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia bg = *theme->GetImageSkiaNamed(IDR_BROWSER_ACTION); gfx 226 chrome/browser/ui/views/toolbar/browser_action_view.cc SetIcon(gfx::ImageSkiaOperations::CreateSuperimposedImage(bg, icon)); gfx 228 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia bg_h = *theme->GetImageSkiaNamed(IDR_BROWSER_ACTION_H); gfx 229 chrome/browser/ui/views/toolbar/browser_action_view.cc SetHoverIcon(gfx::ImageSkiaOperations::CreateSuperimposedImage(bg_h, icon)); gfx 231 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia bg_p = *theme->GetImageSkiaNamed(IDR_BROWSER_ACTION_P); gfx 233 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkiaOperations::CreateSuperimposedImage(bg_p, icon)); gfx 322 chrome/browser/ui/views/toolbar/browser_action_view.cc ShowContextMenu(gfx::Point(), ui::MENU_SOURCE_MOUSE); gfx 376 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia BrowserActionButton::GetIconWithBadge() { gfx 378 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::Size spacing(0, ToolbarView::kVertSpacing); gfx 379 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia icon = *icon_factory_.GetIcon(tab_id).ToImageSkia(); gfx 381 chrome/browser/ui/views/toolbar/browser_action_view.cc icon = gfx::ImageSkiaOperations::CreateTransparentImage(icon, .25); gfx 385 chrome/browser/ui/views/toolbar/browser_action_view.cc gfx::ImageSkia BrowserActionButton::GetIconForTest() { gfx 28 chrome/browser/ui/views/toolbar/browser_action_view.h namespace gfx { gfx 72 chrome/browser/ui/views/toolbar/browser_action_view.h gfx::ImageSkia GetIconWithBadge(); gfx 77 chrome/browser/ui/views/toolbar/browser_action_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 81 chrome/browser/ui/views/toolbar/browser_action_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 115 chrome/browser/ui/views/toolbar/browser_action_view.h virtual void OnIconUpdated(const gfx::ImageSkia& icon) = 0; gfx 152 chrome/browser/ui/views/toolbar/browser_action_view.h const gfx::Point& point, gfx 192 chrome/browser/ui/views/toolbar/browser_action_view.h gfx::ImageSkia GetIconWithBadge(); gfx 195 chrome/browser/ui/views/toolbar/browser_action_view.h gfx::ImageSkia GetIconForTest(); gfx 96 chrome/browser/ui/views/toolbar/browser_actions_container.cc resize_animation_.reset(new gfx::SlideAnimation(this)); gfx 210 chrome/browser/ui/views/toolbar/browser_actions_container.cc gfx::Size BrowserActionsContainer::GetPreferredSize() { gfx 212 chrome/browser/ui/views/toolbar/browser_actions_container.cc return gfx::Size(ToolbarView::kStandardSpacing, 0); gfx 223 chrome/browser/ui/views/toolbar/browser_actions_container.cc return gfx::Size(clamped_width, 0); gfx 239 chrome/browser/ui/views/toolbar/browser_actions_container.cc gfx::Size chevron_size(chevron_->GetPreferredSize()); gfx 399 chrome/browser/ui/views/toolbar/browser_actions_container.cc const gfx::Point& point) { gfx 410 chrome/browser/ui/views/toolbar/browser_actions_container.cc const gfx::Point& press_pt, gfx 418 chrome/browser/ui/views/toolbar/browser_actions_container.cc gfx::ImageSkia badge(browser_action_views_[i]->GetIconWithBadge()); gfx 433 chrome/browser/ui/views/toolbar/browser_actions_container.cc const gfx::Point& p) { gfx 438 chrome/browser/ui/views/toolbar/browser_actions_container.cc const gfx::Point& press_pt, gfx 439 chrome/browser/ui/views/toolbar/browser_actions_container.cc const gfx::Point& p) { gfx 457 chrome/browser/ui/views/toolbar/browser_actions_container.cc SaveDesiredSizeAndAnimate(gfx::Tween::EASE_OUT, gfx 462 chrome/browser/ui/views/toolbar/browser_actions_container.cc const gfx::Animation* animation) { gfx 469 chrome/browser/ui/views/toolbar/browser_actions_container.cc void BrowserActionsContainer::AnimationEnded(const gfx::Animation* animation) { gfx 592 chrome/browser/ui/views/toolbar/browser_actions_container.cc void BrowserActionsContainer::OnPaint(gfx::Canvas* canvas) { gfx 605 chrome/browser/ui/views/toolbar/browser_actions_container.cc gfx::Rect indicator_bounds( gfx 693 chrome/browser/ui/views/toolbar/browser_actions_container.cc SaveDesiredSizeAndAnimate(gfx::Tween::LINEAR, visible_actions + 1); gfx 729 chrome/browser/ui/views/toolbar/browser_actions_container.cc SaveDesiredSizeAndAnimate(gfx::Tween::EASE_OUT, gfx 769 chrome/browser/ui/views/toolbar/browser_actions_container.cc SaveDesiredSizeAndAnimate(gfx::Tween::LINEAR, browser_action_views_.size()); gfx 862 chrome/browser/ui/views/toolbar/browser_actions_container.cc gfx::Tween::Type tween_type, gfx 37 chrome/browser/ui/views/toolbar/browser_actions_container.h namespace gfx { gfx 121 chrome/browser/ui/views/toolbar/browser_actions_container.h public gfx::AnimationDelegate, gfx 175 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 189 chrome/browser/ui/views/toolbar/browser_actions_container.h const gfx::Point& point) OVERRIDE; gfx 193 chrome/browser/ui/views/toolbar/browser_actions_container.h const gfx::Point& press_pt, gfx 196 chrome/browser/ui/views/toolbar/browser_actions_container.h const gfx::Point& p) OVERRIDE; gfx 198 chrome/browser/ui/views/toolbar/browser_actions_container.h const gfx::Point& press_pt, gfx 199 chrome/browser/ui/views/toolbar/browser_actions_container.h const gfx::Point& p) OVERRIDE; gfx 205 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 206 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 258 chrome/browser/ui/views/toolbar/browser_actions_container.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 325 chrome/browser/ui/views/toolbar/browser_actions_container.h void SaveDesiredSizeAndAnimate(gfx::Tween::Type type, gfx 381 chrome/browser/ui/views/toolbar/browser_actions_container.h scoped_ptr<gfx::SlideAnimation> resize_animation_; gfx 225 chrome/browser/ui/views/toolbar/browser_actions_container_browsertest.cc gfx::Point point(action_view->x(), action_view->y()); gfx 106 chrome/browser/ui/views/toolbar/home_button.cc message_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 103 chrome/browser/ui/views/toolbar/reload_button.cc bool ReloadButton::GetTooltipText(const gfx::Point& p, gfx 53 chrome/browser/ui/views/toolbar/reload_button.h virtual bool GetTooltipText(const gfx::Point& p, gfx 60 chrome/browser/ui/views/toolbar/reload_button_unittest.cc ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0); gfx 79 chrome/browser/ui/views/toolbar/reload_button_unittest.cc ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0); gfx 105 chrome/browser/ui/views/toolbar/reload_button_unittest.cc ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0); gfx 118 chrome/browser/ui/views/toolbar/reload_button_unittest.cc ui::MouseEvent e2(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), 0, 0); gfx 126 chrome/browser/ui/views/toolbar/reload_button_unittest.cc ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0); gfx 140 chrome/browser/ui/views/toolbar/reload_button_unittest.cc ui::MouseEvent e(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0); gfx 49 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Size ToolbarButton::GetPreferredSize() { gfx 50 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Size size(image()->GetPreferredSize()); gfx 51 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Size label_size = label()->GetPreferredSize(); gfx 132 chrome/browser/ui/views/toolbar/toolbar_button.cc const gfx::Point& point, gfx 158 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Rect lb = GetLocalBounds(); gfx 162 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Point menu_position(lb.origin()); gfx 175 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::NativeView view = GetWidget()->GetNativeView(); gfx 176 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Display display = gfx::Screen::GetScreenFor( gfx 182 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::NativeView view = GetWidget()->GetNativeView(); gfx 183 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(view); gfx 184 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Display display = screen->GetDisplayNearestPoint( gfx 203 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Rect(menu_position, gfx::Size(0, 0)), gfx 215 chrome/browser/ui/views/toolbar/toolbar_button.cc gfx::Rect(menu_position, gfx::Size(0, 0)), gfx 39 chrome/browser/ui/views/toolbar/toolbar_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 51 chrome/browser/ui/views/toolbar/toolbar_button.h const gfx::Point& point, gfx 41 chrome/browser/ui/views/toolbar/toolbar_button_test.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 83 chrome/browser/ui/views/toolbar/toolbar_button_test.cc gfx::Point view_center; gfx 265 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc gfx::Size ToolbarOriginChipView::GetPreferredSize() { gfx 266 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc gfx::Size label_size = host_label_->GetPreferredSize(); gfx 267 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc gfx::Size icon_size = location_icon_view_->GetPreferredSize(); gfx 270 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc return gfx::Size(kEdgeThickness + icon_size.width() + icon_spacing + gfx 297 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc void ToolbarOriginChipView::OnPaint(gfx::Canvas* canvas) { gfx 298 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc gfx::Rect rect(GetLocalBounds()); gfx 314 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc gfx::Size label_size = host_label_->GetPreferredSize(); gfx 348 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc const gfx::Point& press_pt, gfx 355 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc gfx::ImageSkia favicon = favicon_tab_helper->GetFavicon().AsImageSkia(); gfx 364 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc const gfx::Point& p) { gfx 369 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc const gfx::Point& press_pt, gfx 370 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc const gfx::Point& p) { gfx 22 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h namespace gfx { gfx 67 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 69 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 77 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h const gfx::Point& press_pt, gfx 80 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h const gfx::Point& p) OVERRIDE; gfx 82 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h const gfx::Point& press_pt, gfx 83 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h const gfx::Point& p) OVERRIDE; gfx 410 chrome/browser/ui/views/toolbar/toolbar_view.cc const gfx::Point& point) { gfx 549 chrome/browser/ui/views/toolbar/toolbar_view.cc gfx::Size ToolbarView::GetPreferredSize() { gfx 550 chrome/browser/ui/views/toolbar/toolbar_view.cc gfx::Size size(location_bar_->GetPreferredSize()); gfx 566 chrome/browser/ui/views/toolbar/toolbar_view.cc gfx::ImageSkia* normal_background = gfx 569 chrome/browser/ui/views/toolbar/toolbar_view.cc gfx::Size(0, normal_background->height() - content_shadow_height())); gfx 697 chrome/browser/ui/views/toolbar/toolbar_view.cc bool ToolbarView::HitTestRect(const gfx::Rect& rect) const { gfx 707 chrome/browser/ui/views/toolbar/toolbar_view.cc void ToolbarView::OnPaint(gfx::Canvas* canvas) { gfx 718 chrome/browser/ui/views/toolbar/toolbar_view.cc canvas->FillRect(gfx::Rect(0, height() - 1, width(), 1), SK_ColorBLACK); gfx 116 chrome/browser/ui/views/toolbar/toolbar_view.h const gfx::Point& point) OVERRIDE; gfx 154 chrome/browser/ui/views/toolbar/toolbar_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 156 chrome/browser/ui/views/toolbar/toolbar_view.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 157 chrome/browser/ui/views/toolbar/toolbar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 35 chrome/browser/ui/views/toolbar/toolbar_view_browsertest.cc gfx::NativeWindow window = browser->window()->GetNativeWindow(); gfx 101 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 102 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Size pref = ImageButton::GetPreferredSize(); gfx 104 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Insets insets = border()->GetInsets(); gfx 126 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE { gfx 130 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::Insets GetInsets() const OVERRIDE { gfx 134 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 137 chrome/browser/ui/views/toolbar/wrench_menu.cc return gfx::Size(4, 4); gfx 144 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::Insets insets_; gfx 180 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE { gfx 191 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 0, 1, h), gfx 194 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Rect bounds(view->GetLocalBounds()); gfx 204 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(1, 1, w, h - 2), state); gfx 205 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, 0, w, 1), border_color); gfx 206 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, 1, 1, 1), border_color); gfx 207 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 2, 1, h - 4), border_color); gfx 208 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, h - 2, 1, 1), border_color); gfx 209 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, h - 1, w, 1), border_color); gfx 213 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(1, 1, w - 2, h - 2), state); gfx 216 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 0, 1, h), left_color); gfx 217 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, 0, w - 2, 1), border_color); gfx 218 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, h - 1, w - 2, 1), gfx 222 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 1, 0, 1, h), right_color); gfx 227 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(0, 1, w - 1, h - 2), state); gfx 228 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 0, w - 2, 1), border_color); gfx 229 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, 1, 1, 1), border_color); gfx 230 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 1, 2, 1, h - 4), border_color); gfx 231 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, h - 2, 1, 1), border_color); gfx 232 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, h - 1, w - 2, 1), border_color); gfx 236 chrome/browser/ui/views/toolbar/wrench_menu.cc DrawBackground(canvas, view, gfx::Rect(1, 1, w - 2, h - 2), state); gfx 237 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, 0, w - 4, 1), border_color); gfx 238 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, 1, 1, 1), border_color); gfx 239 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(0, 2, 1, h - 4), border_color); gfx 240 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(1, h - 2, 1, 1), border_color); gfx 241 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(2, h - 1, w - 4, 1), border_color); gfx 242 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, 1, 1, 1), border_color); gfx 243 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 1, 2, 1, h - 4), border_color); gfx 244 chrome/browser/ui/views/toolbar/wrench_menu.cc canvas->FillRect(gfx::Rect(w - 2, h - 2, 1, 1), border_color); gfx 287 chrome/browser/ui/views/toolbar/wrench_menu.cc void DrawBackground(gfx::Canvas* canvas, gfx 289 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::Rect& bounds, gfx 361 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual void SchedulePaintInRect(const gfx::Rect& r) OVERRIDE { gfx 366 chrome/browser/ui/views/toolbar/wrench_menu.cc View::SchedulePaintInRect(gfx::Rect(size())); gfx 386 chrome/browser/ui/views/toolbar/wrench_menu.cc LabelButton* button = new LabelButton(this, gfx::RemoveAcceleratorChar( gfx 402 chrome/browser/ui/views/toolbar/wrench_menu.cc button->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 460 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::Size GetChildPreferredSize() OVERRIDE { gfx 461 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Size size = MenuItemView::GetChildPreferredSize(); gfx 478 chrome/browser/ui/views/toolbar/wrench_menu.cc class HoveredImageSource : public gfx::ImageSkiaSource { gfx 480 chrome/browser/ui/views/toolbar/wrench_menu.cc HoveredImageSource(const gfx::ImageSkia& image, SkColor color) gfx 486 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 487 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::ImageSkiaRep& rep = image_.GetRepresentation(scale); gfx 505 chrome/browser/ui/views/toolbar/wrench_menu.cc return gfx::ImageSkiaRep(white, scale); gfx 509 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::ImageSkia image_; gfx 547 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 550 chrome/browser/ui/views/toolbar/wrench_menu.cc return gfx::Size(GetMaxChildViewPreferredWidth() * child_count(), 0); gfx 614 chrome/browser/ui/views/toolbar/wrench_menu.cc zoom_label_->SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 640 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::ImageSkia* full_screen_image = gfx 646 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::ImageSkia hovered_fullscreen_image( gfx 690 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 701 chrome/browser/ui/views/toolbar/wrench_menu.cc return gfx::Size(button_width + zoom_label_width_ + button_width + gfx 709 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Rect bounds(0, 0, button_width, height()); gfx 769 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::FontList& font_list = zoom_label_->font_list(); gfx 783 chrome/browser/ui/views/toolbar/wrench_menu.cc int w = gfx::GetStringWidth( gfx 788 chrome/browser/ui/views/toolbar/wrench_menu.cc max_w = gfx::GetStringWidth( gfx 847 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::FontList* GetLabelFontListAt(int index) const { gfx 863 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Image icon; gfx 951 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Point screen_loc; gfx 953 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Rect bounds(screen_loc, host->size()); gfx 993 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::FontList* WrenchMenu::GetLabelFontList(int command_id) const { gfx 1012 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::Point& p) const { gfx 1067 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::Point& p, gfx 1318 chrome/browser/ui/views/toolbar/wrench_menu.cc gfx::Image icon; gfx 62 chrome/browser/ui/views/toolbar/wrench_menu.h virtual const gfx::FontList* GetLabelFontList(int command_id) const OVERRIDE; gfx 66 chrome/browser/ui/views/toolbar/wrench_menu.h const gfx::Point& p) const OVERRIDE; gfx 84 chrome/browser/ui/views/toolbar/wrench_menu.h const gfx::Point& p, gfx 28 chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc void WrenchToolbarButton::OnPaint(gfx::Canvas* canvas) { gfx 36 chrome/browser/ui/views/toolbar/wrench_toolbar_button.cc canvas, GetThemeProvider(), gfx::Rect(size()), GetCurrentBezelType()); gfx 22 chrome/browser/ui/views/toolbar/wrench_toolbar_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 268 chrome/browser/ui/views/translate/translate_bubble_view.cc gfx::Size TranslateBubbleView::GetPreferredSize() { gfx 275 chrome/browser/ui/views/translate/translate_bubble_view.cc return gfx::Size(width, height); gfx 325 chrome/browser/ui/views/translate/translate_bubble_view.cc set_margins(gfx::Insets(views::kPanelVertMargin, views::kPanelHorizMargin, gfx 64 chrome/browser/ui/views/translate/translate_bubble_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 61 chrome/browser/ui/views/uninstall_view.cc confirm_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 24 chrome/browser/ui/views/update_recommended_message_box.cc void UpdateRecommendedMessageBox::Show(gfx::NativeWindow parent_window) { gfx 20 chrome/browser/ui/views/update_recommended_message_box.h static void Show(gfx::NativeWindow parent_window); gfx 109 chrome/browser/ui/views/user_manager_view.cc gfx::NativeWindow window = instance_->GetWidget()->GetNativeWindow(); gfx 125 chrome/browser/ui/views/user_manager_view.cc gfx::Size UserManagerView::GetPreferredSize() { gfx 126 chrome/browser/ui/views/user_manager_view.cc return gfx::Size(kWindowWidth, kWindowHeight); gfx 44 chrome/browser/ui/views/user_manager_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 22 chrome/browser/ui/views/validation_message_bubble_delegate.cc const gfx::Rect& anchor_in_screen, gfx 34 chrome/browser/ui/views/validation_message_bubble_delegate.cc gfx::Size size = icon->GetPreferredSize(); gfx 40 chrome/browser/ui/views/validation_message_bubble_delegate.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 52 chrome/browser/ui/views/validation_message_bubble_delegate.cc sub_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 88 chrome/browser/ui/views/validation_message_bubble_delegate.cc const gfx::Rect& anchor_in_screen) { gfx 92 chrome/browser/ui/views/validation_message_bubble_delegate.cc gfx::Size ValidationMessageBubbleDelegate::GetPreferredSize() { gfx 93 chrome/browser/ui/views/validation_message_bubble_delegate.cc return gfx::Size(width_, height_); gfx 26 chrome/browser/ui/views/validation_message_bubble_delegate.h ValidationMessageBubbleDelegate(const gfx::Rect& anchor_in_screen, gfx 33 chrome/browser/ui/views/validation_message_bubble_delegate.h void SetPositionRelativeToAnchor(const gfx::Rect& anchor_in_screen); gfx 36 chrome/browser/ui/views/validation_message_bubble_delegate.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 12 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc gfx::Size GetSizeForMessages(const std::string& main_text, gfx 15 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc gfx::Rect(), base::UTF8ToUTF16(main_text), gfx 21 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc gfx::Size short_main_empty_sub_size = GetSizeForMessages("foo", ""); gfx 26 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc gfx::Size long_main_empty_sub_size = GetSizeForMessages( gfx 34 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc gfx::Size short_main_medium_sub_size = gfx 41 chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc gfx::Size short_main_long_sub_size = GetSizeForMessages("foo", gfx 21 chrome/browser/ui/views/validation_message_bubble_view.cc const gfx::Rect& anchor_in_screen, gfx 32 chrome/browser/ui/views/validation_message_bubble_view.cc const gfx::Rect& anchor_in_root_view) OVERRIDE { gfx 52 chrome/browser/ui/views/validation_message_bubble_view.cc const gfx::Rect& anchor_in_screen, gfx 69 chrome/browser/ui/views/validation_message_bubble_view.cc const gfx::Rect& anchor_in_root_view, gfx 72 chrome/browser/ui/views/validation_message_bubble_view.cc const gfx::Rect anchor_in_screen = anchor_in_root_view gfx 86 chrome/browser/ui/views/web_contents_modal_dialog_manager_views.cc gfx::NativeView parent = platform_util::GetParent(widget->GetNativeView()); gfx 217 chrome/browser/ui/views/web_contents_modal_dialog_manager_views.cc gfx::NativeView view = platform_util::GetParent(widget->GetNativeView()); gfx 54 chrome/browser/ui/views/web_dialog_view_browsertest.cc virtual void SaveWindowPlacement(const gfx::Rect& bounds, gfx 76 chrome/browser/ui/views/web_dialog_view_browsertest.cc gfx::Size last_size_; gfx 118 chrome/browser/ui/views/web_dialog_view_browsertest.cc gfx::Rect bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); gfx 120 chrome/browser/ui/views/web_dialog_view_browsertest.cc gfx::Rect set_bounds = bounds; gfx 121 chrome/browser/ui/views/web_dialog_view_browsertest.cc gfx::Rect actual_bounds, rwhv_bounds; gfx 156 chrome/browser/ui/views/web_dialog_view_browsertest.cc gfx::Size min_size = view->GetWidget()->GetMinimumSize(); gfx 63 chrome/browser/ui/views/website_settings/permission_selector_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 74 chrome/browser/ui/views/website_settings/permission_selector_view.cc const gfx::Point& point) OVERRIDE; gfx 102 chrome/browser/ui/views/website_settings/permission_selector_view.cc gfx::Size PermissionMenuButton::GetPreferredSize() { gfx 103 chrome/browser/ui/views/website_settings/permission_selector_view.cc gfx::Insets insets = GetInsets(); gfx 105 chrome/browser/ui/views/website_settings/permission_selector_view.cc gfx::Size prefsize(text_size_.width() + insets.width(), gfx 129 chrome/browser/ui/views/website_settings/permission_selector_view.cc const gfx::Point& point) { gfx 132 chrome/browser/ui/views/website_settings/permission_selector_view.cc gfx::Point p(point); gfx 137 chrome/browser/ui/views/website_settings/permission_selector_view.cc gfx::Rect(p, gfx::Size()), gfx 191 chrome/browser/ui/views/website_settings/permission_selector_view.cc const gfx::Image& image = WebsiteSettingsUI::GetPermissionIcon(type, setting); gfx 249 chrome/browser/ui/views/website_settings/permission_selector_view.cc const gfx::Image& image = WebsiteSettingsUI::GetPermissionIcon( gfx 205 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 237 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc set_anchor_view_insets(gfx::Insets(kLocationIconVerticalMargin, 0, gfx 252 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 319 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc set_anchor_view_insets(gfx::Insets(kLocationIconVerticalMargin, 0, gfx 358 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc set_margins(gfx::Insets(kPopupMarginTop, kPopupMarginLeft, gfx 405 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc gfx::Size WebsiteSettingsPopupView::GetPreferredSize() { gfx 423 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc return gfx::Size(width, height); gfx 463 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const gfx::Image& image = WebsiteSettingsUI::GetPermissionIcon( gfx 707 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const gfx::Image& icon, gfx 759 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc headline_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 769 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc description_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 799 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc gfx::NativeWindow parent = gfx 84 chrome/browser/ui/views/website_settings/website_settings_popup_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 117 chrome/browser/ui/views/website_settings/website_settings_popup_view.h const gfx::Image& icon, gfx 244 chrome/browser/ui/website_settings/website_settings_ui.cc const gfx::Image& WebsiteSettingsUI::GetPermissionIcon( gfx 282 chrome/browser/ui/website_settings/website_settings_ui.cc const gfx::Image& WebsiteSettingsUI::GetIdentityIcon( gfx 315 chrome/browser/ui/website_settings/website_settings_ui.cc const gfx::Image& WebsiteSettingsUI::GetConnectionIcon( gfx 329 chrome/browser/ui/website_settings/website_settings_ui.cc const gfx::Image& WebsiteSettingsUI::GetFirstVisitIcon( gfx 26 chrome/browser/ui/website_settings/website_settings_ui.h namespace gfx { gfx 127 chrome/browser/ui/website_settings/website_settings_ui.h static const gfx::Image& GetPermissionIcon(ContentSettingsType type, gfx 134 chrome/browser/ui/website_settings/website_settings_ui.h static const gfx::Image& GetIdentityIcon( gfx 142 chrome/browser/ui/website_settings/website_settings_ui.h static const gfx::Image& GetConnectionIcon( gfx 149 chrome/browser/ui/website_settings/website_settings_ui.h static const gfx::Image& GetFirstVisitIcon(const base::string16& first_visit); gfx 32 chrome/browser/ui/webui/certificate_viewer_webui.cc gfx::NativeWindow parent, gfx 56 chrome/browser/ui/webui/certificate_viewer_webui.cc gfx::NativeWindow parent) { gfx 90 chrome/browser/ui/webui/certificate_viewer_webui.cc void CertificateViewerModalDialog::GetDialogSize(gfx::Size* size) const { gfx 226 chrome/browser/ui/webui/certificate_viewer_webui.cc gfx::NativeWindow parent) { gfx 38 chrome/browser/ui/webui/certificate_viewer_webui.h gfx::NativeWindow parent); gfx 50 chrome/browser/ui/webui/certificate_viewer_webui.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 68 chrome/browser/ui/webui/certificate_viewer_webui.h gfx::NativeWindow window_; gfx 86 chrome/browser/ui/webui/certificate_viewer_webui.h gfx::NativeWindow parent) OVERRIDE; gfx 83 chrome/browser/ui/webui/chrome_web_contents_handler.cc const gfx::Rect& initial_pos, gfx 26 chrome/browser/ui/webui/chrome_web_contents_handler.h const gfx::Rect& initial_pos, gfx 605 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc static_cast<int>(gfx::kFaviconSize * scale + 0.5f); gfx 606 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc bitmap_result.pixel_size = gfx::Size(edge_pixel_size, edge_pixel_size); gfx 47 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h void set_charger_window(gfx::NativeWindow window) { gfx 59 chrome/browser/ui/webui/chromeos/charger_replacement_handler.h gfx::NativeWindow charger_window_; gfx 106 chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc gfx::NativeWindow BaseScreenHandler::GetNativeWindow() { gfx 214 chrome/browser/ui/webui/chromeos/login/base_screen_handler.h virtual gfx::NativeWindow GetNativeWindow(); gfx 19 chrome/browser/ui/webui/chromeos/login/native_window_delegate.h virtual gfx::NativeWindow GetNativeWindow() const = 0; gfx 90 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc gfx::Image icon; gfx 99 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc const gfx::FontList* font_list = model->GetLabelFontListAt(i); gfx 101 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetBoolean("bold", font_list->GetFontStyle() == gfx::Font::BOLD); gfx 143 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc gfx::NativeWindow NetworkDropdown::GetNativeWindow() const { gfx 184 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc gfx::ImageSkia icon_image; gfx 43 chrome/browser/ui/webui/chromeos/login/network_dropdown.h virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; gfx 120 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h gfx::Point network_control_pos_; gfx 14 chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.cc const gfx::Image& icon) { gfx 23 chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.cc gfx::Image ScreenlockIconProvider::GetIcon(const std::string& username) { gfx 25 chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.cc return gfx::Image(); gfx 24 chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.h void AddIcon(const std::string& username, const gfx::Image& icon); gfx 31 chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.h gfx::Image GetIcon(const std::string& username); gfx 38 chrome/browser/ui/webui/chromeos/login/screenlock_icon_provider.h std::map<std::string, gfx::Image> user_icon_map_; gfx 14 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc gfx::Image GetDefaultIcon() { gfx 15 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc return gfx::Image(); gfx 51 chrome/browser/ui/webui/chromeos/login/screenlock_icon_source.cc gfx::Image image = icon_provider_->GetIcon(username); gfx 735 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc gfx::NativeWindow SigninScreenHandler::GetNativeWindow() { gfx 272 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 51 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 61 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc gfx::NativeWindow dialog_window_; gfx 88 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc gfx::NativeWindow parent = NULL; gfx 123 chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc void MobileSetupDialogDelegate::GetDialogSize(gfx::Size* size) const { gfx 385 chrome/browser/ui/webui/downloads_dom_handler.cc gfx::Image* icon = g_browser_process->icon_manager()->LookupIconFromFilepath( gfx 387 chrome/browser/ui/webui/downloads_dom_handler.cc gfx::NativeView view = web_contents->GetView()->GetNativeView(); gfx 46 chrome/browser/ui/webui/extensions/extension_icon_source.cc gfx::PNGCodec::EncodeBGRASkBitmap(*image, false, &image_bytes->data()); gfx 57 chrome/browser/ui/webui/extensions/extension_icon_source.cc bool success = gfx::PNGCodec::Decode(data, size, decoded); gfx 207 chrome/browser/ui/webui/extensions/extension_icon_source.cc gfx::Size(request->size, request->size), gfx 224 chrome/browser/ui/webui/extensions/extension_icon_source.cc gfx::kFaviconSize), gfx 254 chrome/browser/ui/webui/extensions/extension_icon_source.cc const gfx::Image& image) { gfx 116 chrome/browser/ui/webui/extensions/extension_icon_source.h void OnImageLoaded(int request_id, const gfx::Image& image); gfx 28 chrome/browser/ui/webui/favicon_source.cc : size_in_dip(gfx::kFaviconSize), gfx 101 chrome/browser/ui/webui/fileicon_source.cc gfx::Image* icon = im->LookupIconFromFilepath(path, icon_size); gfx 105 chrome/browser/ui/webui/fileicon_source.cc gfx::PNGCodec::EncodeBGRASkBitmap( gfx 150 chrome/browser/ui/webui/fileicon_source.cc gfx::Image* icon) { gfx 153 chrome/browser/ui/webui/fileicon_source.cc gfx::PNGCodec::EncodeBGRASkBitmap( gfx 16 chrome/browser/ui/webui/fileicon_source.h namespace gfx { gfx 62 chrome/browser/ui/webui/fileicon_source.h gfx::Image* icon); gfx 475 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc gfx::PNGCodec::Decode(bitmap_result.bitmap_data->front(), gfx 719 chrome/browser/ui/webui/ntp/app_launcher_handler.cc gfx::kFaviconSize), gfx 56 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc const gfx::Image& image) OVERRIDE { gfx 118 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc gfx::kFaviconSize), gfx 160 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc if (!gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &bits)) gfx 54 chrome/browser/ui/webui/ntp/ntp_login_handler.cc SkBitmap GetGAIAPictureForNTP(const gfx::Image& image) { gfx 61 chrome/browser/ui/webui/ntp/ntp_login_handler.cc gfx::Canvas canvas(gfx::Size(kLength, kLength), 1.0f, false); gfx 62 chrome/browser/ui/webui/ntp/ntp_login_handler.cc canvas.DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(bmp), 0, 0); gfx 66 chrome/browser/ui/webui/ntp/ntp_login_handler.cc canvas.DrawRect(gfx::Rect(0, 0, kLength - 1, kLength - 1), color); gfx 165 chrome/browser/ui/webui/ntp/ntp_login_handler.cc gfx::Rect rect(x * zoom, y * zoom, width * zoom, height * zoom); gfx 218 chrome/browser/ui/webui/ntp/ntp_login_handler.cc const gfx::Image* image = gfx 113 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc return gfx::IsInvertedColorScheme() ? gfx 509 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc gfx::Animation::ShouldRenderRichAnimation()); gfx 1158 chrome/browser/ui/webui/options/browser_options_handler.cc gfx::Image icon = profiles::GetAvatarIconForWebUI( gfx 135 chrome/browser/ui/webui/options/certificate_manager_handler.cc gfx::NativeWindow parent, gfx 1156 chrome/browser/ui/webui/options/certificate_manager_handler.cc gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { gfx 160 chrome/browser/ui/webui/options/certificate_manager_handler.h gfx::NativeWindow GetParentWindow() const; gfx 234 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc user_photo_ = gfx::ImageSkia(); gfx 298 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc void ChangePictureOptionsHandler::SendProfileImage(const gfx::ImageSkia& image, gfx 407 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc const gfx::ImageSkia& photo) { gfx 435 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc SendProfileImage(*content::Details<const gfx::ImageSkia>(details).ptr(), gfx 445 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc gfx::NativeWindow ChangePictureOptionsHandler::GetBrowserWindow() const { gfx 456 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc user_photo_ = gfx::ImageSkia::CreateFrom1xBitmap(decoded_image); gfx 57 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void SendProfileImage(const gfx::ImageSkia& image, bool should_select); gfx 110 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h void SetImageFromCamera(const gfx::ImageSkia& photo); gfx 113 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h gfx::NativeWindow GetBrowserWindow() const; gfx 127 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h gfx::ImageSkia previous_image_; gfx 134 chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h gfx::ImageSkia user_photo_; gfx 45 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc return gfx::Display::kInvalidDisplayID; gfx 48 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc int64 display_id = gfx::Display::kInvalidDisplayID; gfx 51 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc return gfx::Display::kInvalidDisplayID; gfx 189 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc std::vector<gfx::Display> displays; gfx 197 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc const std::vector<gfx::Display>& displays) { gfx 204 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc const gfx::Display& display = displays[i]; gfx 207 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc const gfx::Rect& bounds = display.bounds(); gfx 224 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::SizeF base_size = display_info.bounds_in_native().size(); gfx 226 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (display_info.rotation() == gfx::Display::ROTATE_90 || gfx 227 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc display_info.rotation() == gfx::Display::ROTATE_270) { gfx 233 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::SizeF new_size = base_size; gfx 236 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::ToFlooredSize(new_size), -1.0f, false, false)); gfx 245 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Size current_size = display_info.bounds_in_native().size(); gfx 246 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Insets current_overscan = display_info.GetOverscanInsetsInPixel(); gfx 249 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Size resolution = display_modes[i].size; gfx 338 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (display_id == gfx::Display::kInvalidDisplayID) gfx 369 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (display_id == gfx::Display::kInvalidDisplayID) gfx 384 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (display_id == gfx::Display::kInvalidDisplayID) gfx 402 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Insets current_overscan = display_info.GetOverscanInsetsInPixel(); gfx 403 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Size new_resolution = gfx::ToFlooredSize(gfx::SizeF(width, height)); gfx 405 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Size old_resolution = display_info.bounds_in_native().size(); gfx 436 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (display_id == gfx::Display::kInvalidDisplayID) gfx 440 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc gfx::Display::Rotation new_rotation = gfx::Display::ROTATE_0; gfx 446 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc new_rotation = gfx::Display::ROTATE_90; gfx 448 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc new_rotation = gfx::Display::ROTATE_180; gfx 450 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc new_rotation = gfx::Display::ROTATE_270; gfx 462 chrome/browser/ui/webui/options/chromeos/display_options_handler.cc if (display_id == gfx::Display::kInvalidDisplayID) gfx 45 chrome/browser/ui/webui/options/chromeos/display_options_handler.h void SendDisplayInfo(const std::vector<gfx::Display>& displays); gfx 85 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc const gfx::Display& display) { gfx 88 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::OnDisplayAdded(const gfx::Display& new_display) { gfx 93 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc void DisplayOverscanHandler::OnDisplayRemoved(const gfx::Display& old_display) { gfx 99 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc int64 display_id = gfx::Display::kInvalidDisplayID; gfx 107 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc display_id == gfx::Display::kInvalidDisplayID) { gfx 112 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc const gfx::Display& display = ash::ScreenUtil::GetDisplayForId(display_id); gfx 155 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc gfx::Insets insets = overscan_calibrator_->insets(); gfx 186 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.cc gfx::Insets insets = overscan_calibrator_->insets(); gfx 24 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h public gfx::DisplayObserver { gfx 37 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 38 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 39 chrome/browser/ui/webui/options/chromeos/display_overscan_handler.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 429 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const gfx::ImageSkia& icon, gfx 432 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc gfx::ImageSkiaRep image_rep = gfx 462 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc gfx::ImageSkia icon = ash::network_icon::GetImageForNetwork( gfx 479 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc gfx::ImageSkia icon = ash::network_icon::GetImageForDisconnectedNetwork( gfx 778 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc gfx::NativeWindow owning_window) { gfx 1275 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc gfx::ImageSkia* icon = gfx 1277 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc gfx::ImageSkiaRep image_rep = icon->GetRepresentation( gfx 1941 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc gfx::NativeWindow InternetOptionsHandler::GetNativeWindow() const { gfx 27 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h namespace gfx { gfx 126 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h gfx::NativeWindow GetNativeWindow() const; gfx 50 chrome/browser/ui/webui/options/font_settings_handler.cc gfx::Font font(font_name, 12); // dummy font size gfx 51 chrome/browser/ui/webui/options/font_settings_handler.cc return static_cast<gfx::PlatformFontWin*>(font.platform_font())-> gfx 253 chrome/browser/ui/webui/options/manage_profile_handler.cc const gfx::Image* icon = gfx 256 chrome/browser/ui/webui/options/manage_profile_handler.cc gfx::Image icon2 = profiles::GetAvatarIconForWebUI(*icon, true); gfx 43 chrome/browser/ui/webui/options/password_manager_handler.cc gfx::NativeWindow PasswordManagerHandler::GetNativeWindow() { gfx 42 chrome/browser/ui/webui/options/password_manager_handler.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 762 chrome/browser/ui/webui/print_preview/print_preview_handler.cc printer_name, print_ticket, capabilities, gfx::Size(width, height)); gfx 938 chrome/browser/ui/webui/print_preview/print_preview_handler.cc gfx::NativeWindow modal_parent = platform_util::GetTopLevel( gfx 1432 chrome/browser/ui/webui/print_preview/print_preview_handler.cc gfx::Size page_size, gfx 1442 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const gfx::Size& page_size) { gfx 1514 chrome/browser/ui/webui/print_preview/print_preview_handler.cc const gfx::Size& page_size) { gfx 34 chrome/browser/ui/webui/print_preview/print_preview_handler.h namespace gfx { gfx 257 chrome/browser/ui/webui/print_preview/print_preview_handler.h gfx::Size page_size, gfx 263 chrome/browser/ui/webui/print_preview/print_preview_handler.h const gfx::Size& page_size); gfx 268 chrome/browser/ui/webui/print_preview/print_preview_handler.h const gfx::Size& page_size); gfx 484 chrome/browser/ui/webui/print_preview/print_preview_ui.cc const PageSizeMargins& page_layout, const gfx::Rect& printable_area, gfx 24 chrome/browser/ui/webui/print_preview/print_preview_ui.h namespace gfx { gfx 94 chrome/browser/ui/webui/print_preview/print_preview_ui.h const gfx::Rect& printable_area, gfx 231 chrome/browser/ui/webui/set_as_default_browser_ui.cc virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 286 chrome/browser/ui/webui/set_as_default_browser_ui.cc gfx::NativeWindow native_window = chrome::ShowWebDialog(NULL, profile_, this); gfx 311 chrome/browser/ui/webui/set_as_default_browser_ui.cc void SetAsDefaultBrowserDialogImpl::GetDialogSize(gfx::Size* size) const { gfx 313 chrome/browser/ui/webui/set_as_default_browser_ui.cc gfx::Font approximate_web_font( gfx 178 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.cc void ProfileSigninConfirmationDialog::GetDialogSize(gfx::Size* size) const { gfx 60 chrome/browser/ui/webui/signin/profile_signin_confirmation_dialog.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 106 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc gfx::Image avatar_image = info_cache.GetAvatarIconOfProfileAtIndex(index); gfx 112 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc gfx::Image resized_image = profiles::GetSizedAvatarIconWithBorder( gfx 75 chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc test_web_contents_delegate_->MoveContents(NULL, gfx::Rect()); gfx 93 chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc NULL, contents, NEW_FOREGROUND_TAB, gfx::Rect(), false, NULL); gfx 108 chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc gfx::Rect(), false, NULL); gfx 45 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* bounds, gfx 46 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* work_area, gfx 88 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* bounds, gfx 145 chrome/browser/ui/window_sizer/window_sizer.cc virtual gfx::Display GetTargetDisplay( gfx 146 chrome/browser/ui/window_sizer/window_sizer.cc const gfx::Screen* screen, gfx 147 chrome/browser/ui/window_sizer/window_sizer.cc const gfx::Rect& bounds) const OVERRIDE { gfx 176 chrome/browser/ui/window_sizer/window_sizer.cc screen_(gfx::Screen::GetNativeScreen()), gfx 183 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Screen* screen, gfx 198 chrome/browser/ui/window_sizer/window_sizer.cc const gfx::Rect& specified_bounds, gfx 200 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* window_bounds, gfx 218 chrome/browser/ui/window_sizer/window_sizer.cc const gfx::Rect& specified_bounds, gfx 219 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* bounds, gfx 247 chrome/browser/ui/window_sizer/window_sizer.cc GetDefaultWindowBounds(GetTargetDisplay(gfx::Rect()), bounds); gfx 265 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect work_area = screen_->GetDisplayMatching(*bounds).work_area(); gfx 272 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* bounds, gfx 279 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect last_window_bounds = *bounds; gfx 282 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect(), gfx 287 chrome/browser/ui/window_sizer/window_sizer.cc bool WindowSizer::GetSavedWindowBounds(gfx::Rect* bounds, gfx 291 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect saved_work_area; gfx 303 chrome/browser/ui/window_sizer/window_sizer.cc void WindowSizer::GetDefaultWindowBounds(const gfx::Display& display, gfx 304 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* default_bounds) const { gfx 313 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect work_area = display.work_area(); gfx 322 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect screen_size = screen_->GetPrimaryDisplay().bounds(); gfx 344 chrome/browser/ui/window_sizer/window_sizer.cc const gfx::Display& display, gfx 345 chrome/browser/ui/window_sizer/window_sizer.cc const gfx::Rect& saved_work_area, gfx 346 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect* bounds) const { gfx 351 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect default_bounds; gfx 363 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Rect work_area = display.work_area(); gfx 414 chrome/browser/ui/window_sizer/window_sizer.cc gfx::Display WindowSizer::GetTargetDisplay(const gfx::Rect& bounds) const { gfx 16 chrome/browser/ui/window_sizer/window_sizer.h namespace gfx { gfx 47 chrome/browser/ui/window_sizer/window_sizer.h gfx::Screen* screen, gfx 62 chrome/browser/ui/window_sizer/window_sizer.h virtual bool GetPersistentState(gfx::Rect* bounds, gfx 63 chrome/browser/ui/window_sizer/window_sizer.h gfx::Rect* work_area, gfx 72 chrome/browser/ui/window_sizer/window_sizer.h gfx::Rect* bounds, gfx 81 chrome/browser/ui/window_sizer/window_sizer.h virtual gfx::Display GetTargetDisplay(const gfx::Screen* screen, gfx 82 chrome/browser/ui/window_sizer/window_sizer.h const gfx::Rect& bounds) const = 0; gfx 94 chrome/browser/ui/window_sizer/window_sizer.h const gfx::Rect& specified_bounds, gfx 95 chrome/browser/ui/window_sizer/window_sizer.h gfx::Rect* bounds, gfx 105 chrome/browser/ui/window_sizer/window_sizer.h const gfx::Rect& specified_bounds, gfx 107 chrome/browser/ui/window_sizer/window_sizer.h gfx::Rect* window_bounds, gfx 111 chrome/browser/ui/window_sizer/window_sizer.h static gfx::Point GetDefaultPopupOrigin(const gfx::Size& size, gfx 126 chrome/browser/ui/window_sizer/window_sizer.h bool GetLastActiveWindowBounds(gfx::Rect* bounds, gfx 134 chrome/browser/ui/window_sizer/window_sizer.h bool GetSavedWindowBounds(gfx::Rect* bounds, gfx 141 chrome/browser/ui/window_sizer/window_sizer.h void GetDefaultWindowBounds(const gfx::Display& display, gfx 142 chrome/browser/ui/window_sizer/window_sizer.h gfx::Rect* default_bounds) const; gfx 153 chrome/browser/ui/window_sizer/window_sizer.h const gfx::Display& display, gfx 154 chrome/browser/ui/window_sizer/window_sizer.h const gfx::Rect& saved_work_area, gfx 155 chrome/browser/ui/window_sizer/window_sizer.h gfx::Rect* bounds) const; gfx 160 chrome/browser/ui/window_sizer/window_sizer.h gfx::Display GetTargetDisplay(const gfx::Rect& bounds) const; gfx 167 chrome/browser/ui/window_sizer/window_sizer.h void GetTabbedBrowserBoundsAsh(gfx::Rect* bounds_in_screen, gfx 183 chrome/browser/ui/window_sizer/window_sizer.h gfx::Screen* screen_; // not owned. gfx 17 chrome/browser/ui/window_sizer/window_sizer_ash.cc gfx::Rect* bounds_in_screen, gfx 27 chrome/browser/ui/window_sizer/window_sizer_ash.cc gfx::Display display; gfx 46 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc gfx::Rect GetChromeIconBoundsForRootWindow(aura::Window* root_window) { gfx 58 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc gfx::Point center = gfx 60 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc gfx::Display display = gfx 62 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc const gfx::Point& origin = display.bounds().origin(); gfx 123 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc static void Step1(gfx::Point release_point) { gfx 129 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc static void Step2(gfx::Point release_point) { gfx 152 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc gfx::Point chrome_icon = gfx 154 chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc gfx::Point release_point = chrome_icon; gfx 55 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc virtual gfx::NativeWindow GetNativeWindow() OVERRIDE { gfx 58 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc virtual gfx::Rect GetBounds() const OVERRIDE { gfx 83 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc const gfx::Rect& bounds, gfx 102 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 103 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx::Rect(), gfx 104 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 105 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 113 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 114 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, taskbar_bottom_work_area, gfx::Rect(), gfx 115 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 117 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 126 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 127 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, taskbar_right_work_area, gfx::Rect(), gfx 128 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 130 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 139 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 140 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, taskbar_left_work_area, gfx::Rect(), gfx 141 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 143 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(taskbar_left_work_area.x() + gfx 154 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 155 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, taskbar_top_work_area, gfx::Rect(), gfx 156 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 158 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 168 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 169 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1280x1024, p1280x1024, gfx::Rect(), gfx::Rect(), gfx 170 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 171 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect((1280 - ash::WindowPositioner::kMaximumWindowWidth) / 2, gfx 179 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 180 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1600x1200, p1600x1200, gfx::Rect(), gfx::Rect(), gfx 181 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 182 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect((1600 - ash::WindowPositioner::kMaximumWindowWidth) / 2, gfx 190 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 191 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1680x1050, p1680x1050, gfx::Rect(), gfx::Rect(), gfx 192 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 193 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect((1680 - ash::WindowPositioner::kMaximumWindowWidth) / 2, gfx 201 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 202 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1920x1200, p1920x1200, gfx::Rect(), gfx::Rect(), gfx 203 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 204 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect((1920 - ash::WindowPositioner::kMaximumWindowWidth) / 2, gfx 216 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 218 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc p1024x768, p1024x768, gfx::Rect(), gfx 219 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 221 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 224 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(kWindowTilePixels + ash::WindowPositioner::kDesktopBorderSize, gfx 231 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 233 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc p1024x768, taskbar_top_work_area, gfx::Rect(), gfx 234 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 236 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 239 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(kWindowTilePixels + ash::WindowPositioner::kDesktopBorderSize, gfx 248 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 250 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc p1024x768, p1024x768, gfx::Rect(), gfx 251 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 253 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 256 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(kWindowTilePixels + ash::WindowPositioner::kDesktopBorderSize, gfx 265 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 267 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc p1024x768, p1024x768, gfx::Rect(), gfx 268 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 270 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 273 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(kWindowTilePixels + ash::WindowPositioner::kDesktopBorderSize, gfx 283 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect initial_bounds( gfx 287 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 288 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds, gfx 289 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 294 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect initial_bounds(0, 0, 1024, 768); gfx 296 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 297 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds, gfx 298 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 303 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect initial_bounds(-600, 10, 500, 400); gfx 305 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 307 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(), gfx 313 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect initial_bounds(-1024, 0, 1024, 768); gfx 315 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 317 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(), gfx 325 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect initial_bounds(1074, 50, 600, 500); gfx 327 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 328 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600), gfx 330 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), &window_bounds); gfx 337 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect initial_bounds(1274, 50, 600, 500); gfx 339 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 340 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600), gfx 342 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 349 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect initial_bounds(1274, 50, 900, 700); gfx 351 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 352 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600), gfx 354 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 359 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 361 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc p1024x768, p1024x768, gfx::Rect(), gfx 362 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 364 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 365 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 380 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 382 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc p1024x768, taskbar_left_work_area, gfx::Rect(), gfx 383 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(ash::WindowPositioner::kDesktopBorderSize, gfx 385 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 388 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(kWindowTilePixels + ash::WindowPositioner::kDesktopBorderSize, gfx 396 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 397 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 398 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(10, 728, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 399 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 400 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels, 738, 500, 400).ToString(), gfx 406 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 407 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 408 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(10, 729, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 409 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 410 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels, gfx 419 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 420 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 421 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(984, 10, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 422 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 423 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(994, 10 + kWindowTilePixels, 500, 400).ToString(), gfx 429 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 430 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 431 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(985, 10, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 432 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 433 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 995 */, gfx 442 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 443 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 444 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(985, 729, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 445 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 446 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 995 */, gfx 470 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(16, 32, 640, 320), gfx 476 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(16, 32, 128, 256), gfx 483 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(32, 48, 256, 512), gfx 488 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 489 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1600x1200, p1600x1200, gfx::Rect(), gfx 490 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(50, 100, 300, 150), bottom_s1600x1200, gfx 492 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), &window_bounds); gfx 498 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 499 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1600x1200, p1600x1200, gfx::Rect(), gfx 500 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(50, 100, 300, 150), bottom_s1600x1200, gfx 501 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc PERSISTED, browser.get(), gfx::Rect(), &window_bounds); gfx 506 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 507 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetWindowBounds(p1600x1200, p1600x1200, gfx::Rect(), gfx 508 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), bottom_s1600x1200, gfx 509 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc DEFAULT, browser.get(), gfx::Rect(), &window_bounds); gfx 513 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect( gfx 538 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc const gfx::Rect p1366x768(0, 0, 1366, 768); gfx 542 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 547 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // The second monitor. gfx 548 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // The (persisted) bounds. gfx 554 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // Don't request valid bounds. gfx 564 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // The second monitor. gfx 565 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(50, 100, 300, 150), // The (persisted) bounds. gfx 571 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // Don't request valid bounds. gfx 582 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // The second monitor. gfx 583 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // The (persisted) bounds. gfx 589 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), // Don't request valid bounds. gfx 609 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect primary_bounds = ash::Shell::GetInstance()->GetScreen()-> gfx 611 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect secondary_bounds = ash::ScreenUtil::GetSecondaryDisplay().bounds(); gfx 621 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(10, 10, 200, 200), gfx 629 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(400, 10, 300, 300), gfx 636 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), gfx 646 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 648 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), secondary_bounds, gfx 650 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), &window_bounds); gfx 660 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Display second_display = ash::Shell::GetScreen()-> gfx 661 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc GetDisplayNearestPoint(gfx::Point(1600 + 100,10)); gfx 663 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(secondary_bounds.CenterPoint().x() - 100, 10, 200, 200), gfx 668 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 670 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), secondary_bounds, gfx 672 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), &window_bounds); gfx 686 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect window_bounds; gfx 688 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), secondary_bounds, gfx 690 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), &window_bounds); gfx 705 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(16, 32, 640, 320), gfx 712 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(16, 32, 640, 320), gfx 750 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(16, 32, 640, 320), gfx 773 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc const gfx::Rect tiny_screen(0, 0, min_size, min_size); gfx 798 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(16, 32, 640, 320), gfx 806 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(16, 32, 128, 256), gfx 874 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect bounds; gfx 878 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), gfx 888 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect bounds; gfx 892 chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc gfx::Rect(), gfx 14 chrome/browser/ui/window_sizer/window_sizer_aura.cc gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size, gfx 18 chrome/browser/ui/window_sizer/window_sizer_aura.cc return gfx::Point(); gfx 22 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc class TestScreen : public gfx::Screen { gfx 33 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::Point GetCursorScreenPoint() OVERRIDE { gfx 35 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc return gfx::Point(); gfx 38 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE { gfx 43 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 53 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE { gfx 57 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::Display GetDisplayNearestWindow( gfx 58 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::NativeView view) const OVERRIDE { gfx 63 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc return gfx::Display(); gfx 67 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::Display GetDisplayNearestPoint( gfx 68 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Point& point) const OVERRIDE { gfx 70 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc return gfx::Display(); gfx 73 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::Display GetDisplayMatching( gfx 74 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& match_rect) const OVERRIDE { gfx 79 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect overlap = displays_[i].bounds(); gfx 90 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::Display GetPrimaryDisplay() const OVERRIDE { gfx 94 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE { gfx 98 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE { gfx 102 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc void AddDisplay(const gfx::Rect& bounds, gfx 103 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& work_area) { gfx 104 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Display display(displays_.size(), bounds); gfx 110 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc std::vector<gfx::Display> displays_; gfx 120 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc virtual gfx::Display GetTargetDisplay( gfx 121 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Screen* screen, gfx 122 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& bounds) const OVERRIDE { gfx 141 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc void TestStateProvider::SetPersistentState(const gfx::Rect& bounds, gfx 142 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& work_area, gfx 151 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc void TestStateProvider::SetLastActiveState(const gfx::Rect& bounds, gfx 160 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect* bounds, gfx 161 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect* saved_work_area, gfx 172 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect* bounds, gfx 185 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& monitor1_bounds, gfx 186 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& monitor1_work_area, gfx 187 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& monitor2_bounds, gfx 188 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& bounds, gfx 189 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& work_area, gfx 194 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& passed_in, gfx 195 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect* out_bounds, gfx 217 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc void GetWindowBounds(const gfx::Rect& monitor1_bounds, gfx 218 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& monitor1_work_area, gfx 219 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& monitor2_bounds, gfx 220 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& bounds, gfx 221 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& work_area, gfx 224 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& passed_in, gfx 225 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect* out_bounds) { gfx 238 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc const gfx::Rect& display_config) { gfx 239 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect bounds = display_config; gfx 240 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect work_area = display_config; gfx 255 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect out_bounds; gfx 257 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(), gfx 268 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect initial_bounds(-470, 50, 500, 400); gfx 270 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 271 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 272 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc initial_bounds, gfx::Rect(), PERSISTED, gfx 273 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 279 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 280 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 281 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(-471, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 282 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 283 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(-470 /* not -471 */, 50, 500, 400).ToString(), gfx 288 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect initial_bounds(50, -370, 500, 400); gfx 290 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 291 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 292 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(50, -370, 500, 400), gfx::Rect(), PERSISTED, gfx 293 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 299 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect initial_bounds(994, 50, 500, 400); gfx 301 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 302 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 303 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc initial_bounds, gfx::Rect(), PERSISTED, gfx 304 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 310 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 311 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 312 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(995, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 313 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 314 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 995 */, 50, 500, 400).ToString(), gfx 320 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect initial_bounds(50, 738, 500, 400); gfx 322 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 323 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 324 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc initial_bounds, gfx::Rect(), PERSISTED, gfx 325 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 331 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 332 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 333 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(50, 739, 500, 400), gfx::Rect(), PERSISTED, gfx 334 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 335 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(50, 738 /* not 739 */, 500, 400).ToString(), gfx 340 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 341 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 342 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(-471, -371, 500, 400), gfx::Rect(), PERSISTED, gfx 343 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 344 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(-470 /* not -471 */, 0, 500, 400).ToString(), gfx 350 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 351 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 352 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(995, -371, 500, 400), gfx::Rect(), PERSISTED, gfx 353 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 354 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 995 */, 0, 500, 400).ToString(), gfx 360 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 361 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 362 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(-471, 739, 500, 400), gfx::Rect(), PERSISTED, gfx 363 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 364 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(-470 /* not -471 */, gfx 373 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 374 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 375 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(995, 739, 500, 400), gfx::Rect(), PERSISTED, gfx 376 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 377 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 995 */, gfx 385 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 386 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 387 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(-700, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 388 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 389 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(-470 /* not -700 */, 50, 500, 400).ToString(), gfx 394 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 395 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 396 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(-700, 50, 500, 400), left_s1024x768, PERSISTED, gfx 397 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 402 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 403 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 404 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(50, -500, 500, 400), gfx::Rect(), PERSISTED, gfx 405 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 410 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 411 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 412 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(50, -500, 500, 400), top_s1024x768, gfx 413 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 418 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 419 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 420 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(1200, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 421 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 422 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 1200 */, 50, 500, 400).ToString(), gfx 427 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 428 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 429 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(1200, 50, 500, 400), right_s1024x768, gfx 430 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 435 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 436 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 437 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(50, 800, 500, 400), gfx::Rect(), PERSISTED, gfx 438 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 439 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc EXPECT_EQ(gfx::Rect(50, 738 /* not 800 */, 500, 400).ToString(), gfx 444 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 445 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 446 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(50, 800, 500, 400), bottom_s1024x768, gfx 447 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 456 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 457 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx::Rect(), gfx 458 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx 459 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(-10, -10, 1024 + 20, 768 + 20), &window_bounds); gfx 464 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect window_bounds; gfx 465 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx::Rect(), gfx 466 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx 467 chrome/browser/ui/window_sizer/window_sizer_common_unittest.cc gfx::Rect(1020, 700, 100, 100), &window_bounds); gfx 16 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect p1024x768(0, 0, 1024, 768); gfx 17 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect p1280x1024(0, 0, 1280, 1024); gfx 18 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect p1600x1200(0, 0, 1600, 1200); gfx 19 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect p1680x1050(0, 0, 1680, 1050); gfx 20 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect p1920x1200(0, 0, 1920, 1200); gfx 24 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect left_s1024x768(-1024, 0, 1024, 768); gfx 28 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect right_s1024x768(1024, 0, 1024, 768); gfx 32 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect top_s1024x768(0, -768, 1024, 768); gfx 36 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect bottom_s1024x768(0, 768, 1024, 768); gfx 40 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect bottom_s1600x1200(0, 1200, 1600, 1200); gfx 43 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect taskbar_bottom_work_area(0, 0, 1024, 734); gfx 44 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect taskbar_top_work_area(0, 34, 1024, 734); gfx 45 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect taskbar_left_work_area(107, 0, 917, 768); gfx 46 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h static const gfx::Rect taskbar_right_work_area(0, 0, 917, 768); gfx 57 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h void SetPersistentState(const gfx::Rect& bounds, gfx 58 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& work_area, gfx 61 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h void SetLastActiveState(const gfx::Rect& bounds, gfx 67 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect* bounds, gfx 68 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect* saved_work_area, gfx 71 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect* bounds, gfx 75 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect persistent_bounds_; gfx 76 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect persistent_work_area_; gfx 80 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect last_active_bounds_; gfx 98 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h void GetWindowBoundsAndShowState(const gfx::Rect& monitor1_bounds, gfx 99 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& monitor1_work_area, gfx 100 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& monitor2_bounds, gfx 101 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& bounds, gfx 102 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& work_area, gfx 107 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& passed_in, gfx 108 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect* out_bounds, gfx 117 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h void GetWindowBounds(const gfx::Rect& monitor1_bounds, gfx 118 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& monitor1_work_area, gfx 119 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& monitor2_bounds, gfx 120 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& bounds, gfx 121 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& work_area, gfx 124 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& passed_in, gfx 125 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h gfx::Rect* out_bounds); gfx 135 chrome/browser/ui/window_sizer/window_sizer_common_unittest.h const gfx::Rect& display_config); gfx 23 chrome/browser/ui/window_sizer/window_sizer_gtk.cc gfx::Point WindowSizer::GetDefaultPopupOrigin(const gfx::Size& size, gfx 25 chrome/browser/ui/window_sizer/window_sizer_gtk.cc gfx::Rect monitor_bounds = gfx::Screen::GetNativeScreen()-> gfx 27 chrome/browser/ui/window_sizer/window_sizer_gtk.cc gfx::Point corner(monitor_bounds.x(), monitor_bounds.y()); gfx 35 chrome/browser/ui/window_sizer/window_sizer_gtk.cc gfx::Point limit( gfx 41 chrome/browser/ui/window_sizer/window_sizer_gtk.cc corner = gfx::Point( gfx 14 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 15 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx::Rect(), gfx 16 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 17 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 24 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 25 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, taskbar_bottom_work_area, gfx::Rect(), gfx 26 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 28 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 36 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 37 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, taskbar_right_work_area, gfx::Rect(), gfx 38 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 40 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 47 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 48 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, taskbar_left_work_area, gfx::Rect(), gfx 49 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 51 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(taskbar_left_work_area.x() + kWindowTilePixels, gfx 60 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 61 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, taskbar_top_work_area, gfx::Rect(), gfx 62 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), gfx::Rect(), DEFAULT, NULL, gfx::Rect(), gfx 64 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, gfx 72 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 73 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1280x1024, p1280x1024, gfx::Rect(), gfx::Rect(), gfx 74 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 75 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 82 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 83 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1600x1200, p1600x1200, gfx::Rect(), gfx::Rect(), gfx 84 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 85 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 92 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 93 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1680x1050, p1680x1050, gfx::Rect(), gfx::Rect(), gfx 94 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 95 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 102 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 103 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1920x1200, p1920x1200, gfx::Rect(), gfx::Rect(), gfx 104 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), DEFAULT, NULL, gfx::Rect(), &window_bounds); gfx 105 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 116 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 117 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 118 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400), gfx 119 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 121 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2, gfx 126 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 127 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, taskbar_top_work_area, gfx::Rect(), gfx 128 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400), gfx 129 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 131 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2, gfx 138 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 139 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 140 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 29, 29), gfx 141 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 143 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2, gfx 152 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 153 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 154 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400), gfx 155 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 157 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2, gfx 165 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect initial_bounds(kWindowTilePixels, kWindowTilePixels, 500, 400); gfx 167 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 168 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds, gfx 169 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 174 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect initial_bounds(0, 0, 1024, 768); gfx 176 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 177 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), initial_bounds, gfx 178 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 183 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect initial_bounds(-600, 10, 500, 400); gfx 185 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 187 chrome/browser/ui/window_sizer/window_sizer_unittest.cc initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(), gfx 193 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect initial_bounds(-1024, 0, 1024, 768); gfx 195 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 197 chrome/browser/ui/window_sizer/window_sizer_unittest.cc initial_bounds, gfx::Rect(), PERSISTED, NULL, gfx::Rect(), gfx 205 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect initial_bounds(1074, 50, 600, 500); gfx 207 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 208 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600), gfx 210 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), &window_bounds); gfx 217 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect initial_bounds(1274, 50, 600, 500); gfx 219 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 220 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600), gfx 222 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 229 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect initial_bounds(1274, 50, 900, 700); gfx 231 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 232 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(1024, 0, 800, 600), gfx 234 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 239 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 240 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 241 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 29, 29), gfx 242 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 243 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels, kWindowTilePixels, gfx 253 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 254 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 255 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 30, 5000), gfx 256 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 272 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 273 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, taskbar_left_work_area, gfx::Rect(), gfx 274 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400), gfx 275 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 277 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(taskbar_left_work_area.x(), gfx 282 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 283 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 284 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(10, 729, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 285 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 286 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels, gfx 293 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 294 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 295 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(985, 10, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 296 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 297 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not 985 + kWindowTilePixels*/, gfx 304 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 305 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 306 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(985, 729, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 307 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 308 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not 985 + kWindowTilePixels*/, gfx 317 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 318 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 319 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(-471, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 320 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 321 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not -471 */, 50, 500, 400), window_bounds); gfx 325 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 326 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 327 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(50, -370, 500, 400), gfx::Rect(), PERSISTED, gfx 328 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 329 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(50, 0, 500, 400), window_bounds); gfx 333 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 334 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 335 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(995, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 336 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 337 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not 995 */, 50, 500, 400), window_bounds); gfx 341 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 342 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 343 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(50, 739, 500, 400), gfx::Rect(), PERSISTED, gfx 344 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 345 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(50, 0 /* not 739 */, 500, 400), window_bounds); gfx 349 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 350 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 351 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(-471, -371, 500, 400), gfx::Rect(), PERSISTED, gfx 352 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 353 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not -471 */, 0 /* not -371 */, 500, 400), gfx 358 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 359 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 360 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(995, -371, 500, 400), gfx::Rect(), PERSISTED, gfx 361 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 362 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not 995 */, 0 /* not -371 */, 500, 400), gfx 367 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 368 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 369 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(-471, 739, 500, 400), gfx::Rect(), PERSISTED, gfx 370 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 371 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not -471 */, 0 /* not 739 */, 500, 400), gfx 376 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 377 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 378 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(995, 739, 500, 400), gfx::Rect(), PERSISTED, gfx 379 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 380 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not 995 */, 0 /* not 739 */, 500, 400), gfx 385 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 386 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 387 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(-700, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 388 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 389 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not -700 */, 50, 500, 400), window_bounds); gfx 393 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 394 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 395 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(-700, 50, 500, 400), left_s1024x768, gfx 396 chrome/browser/ui/window_sizer/window_sizer_unittest.cc PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 397 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0, 50, 500, 400), window_bounds); gfx 401 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 402 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 403 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(50, -500, 500, 400), gfx::Rect(), PERSISTED, gfx 404 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 405 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(50, 0, 500, 400), window_bounds); gfx 409 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 410 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 411 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(50, -500, 500, 400), top_s1024x768, PERSISTED, gfx 412 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 413 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(50, 0, 500, 400), window_bounds); gfx 417 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 418 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 419 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(1200, 50, 500, 400), gfx::Rect(), PERSISTED, gfx 420 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 421 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not 1200 */, 50, 500, 400), window_bounds); gfx 425 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 426 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 427 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(1200, 50, 500, 400), right_s1024x768, PERSISTED, gfx 428 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 429 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(524 /* not 1200 */, 50, 500, 400), window_bounds); gfx 433 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 434 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 435 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(50, 800, 500, 400), gfx::Rect(), PERSISTED, gfx 436 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 437 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(50, 0 /* not 800 */, 500, 400), window_bounds); gfx 441 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 442 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 443 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(50, 800, 500, 400), bottom_s1024x768, gfx 444 chrome/browser/ui/window_sizer/window_sizer_unittest.cc PERSISTED, NULL, gfx::Rect(), &window_bounds); gfx 445 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(50, 368 /* not 800 */, 500, 400), window_bounds); gfx 449 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 450 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 451 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(-100, 50, 2000, 400), gfx::Rect(), PERSISTED, gfx 452 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 453 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(0 /* not -100 */, 50, 2000, 400), window_bounds); gfx 459 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 460 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, taskbar_left_work_area, gfx::Rect(), gfx 461 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(kWindowTilePixels, kWindowTilePixels, 500, 400), gfx 462 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(), LAST_ACTIVE, NULL, gfx::Rect(), gfx 464 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(kWindowTilePixels * 2, gfx 472 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 473 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 474 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(10, 728, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 475 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 476 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels, 738, gfx 482 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 483 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 484 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(10, 729, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 485 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 486 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(10 + kWindowTilePixels, 738 /* not 739 */, 500, 400), gfx 492 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 493 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 494 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(984, 10, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 495 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 496 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(994, 10 + kWindowTilePixels, 500, 400), window_bounds); gfx 501 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 502 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 503 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(985, 10, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 504 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 505 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 995 */, 10 + kWindowTilePixels, gfx 511 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect window_bounds; gfx 512 chrome/browser/ui/window_sizer/window_sizer_unittest.cc GetWindowBounds(p1024x768, p1024x768, gfx::Rect(), gfx 513 chrome/browser/ui/window_sizer/window_sizer_unittest.cc gfx::Rect(985, 729, 500, 400), gfx::Rect(), LAST_ACTIVE, gfx 514 chrome/browser/ui/window_sizer/window_sizer_unittest.cc NULL, gfx::Rect(), &window_bounds); gfx 515 chrome/browser/ui/window_sizer/window_sizer_unittest.cc EXPECT_EQ(gfx::Rect(994 /* not 995 */, 738 /* not 739 */, 500, 400), gfx 104 chrome/browser/web_applications/update_shortcut_worker_win.cc const std::vector<gfx::Size>& original_sizes) { gfx 119 chrome/browser/web_applications/update_shortcut_worker_win.cc gfx::Image::CreateFrom1xBitmap(bitmaps[closest_index])); gfx 48 chrome/browser/web_applications/update_shortcut_worker_win.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 91 chrome/browser/web_applications/web_app.cc const gfx::ImageFamily& image_family) { gfx 95 chrome/browser/web_applications/web_app.cc gfx::Image default_icon = gfx 101 chrome/browser/web_applications/web_app.cc gfx::ImageSkia image_skia = gfx::ImageSkia::CreateFrom1xBitmap(bmp); gfx 105 chrome/browser/web_applications/web_app.cc shortcut_info.favicon.Add(gfx::Image(image_skia)); gfx 199 chrome/browser/web_applications/web_app.cc gfx::Size(size, size), gfx 221 chrome/browser/web_applications/web_app.cc gfx::Size(size, size), gfx 28 chrome/browser/web_applications/web_app.h namespace gfx { gfx 38 chrome/browser/web_applications/web_app_win.cc void GetImageCheckSum(const gfx::ImageFamily& image, base::MD5Digest* digest) { gfx 43 chrome/browser/web_applications/web_app_win.cc for (gfx::ImageFamily::const_iterator it = image.begin(); it != image.end(); gfx 58 chrome/browser/web_applications/web_app_win.cc const gfx::ImageFamily& image) { gfx 73 chrome/browser/web_applications/web_app_win.cc const gfx::ImageFamily& image) { gfx 362 chrome/browser/web_applications/web_app_win.cc const gfx::ImageFamily& image) { gfx 15 chrome/browser/web_applications/web_app_win.h namespace gfx { gfx 30 chrome/browser/web_applications/web_app_win.h const gfx::ImageFamily& image); gfx 84 chrome/browser/webdata/web_apps_table.cc gfx::PNGCodec::EncodeBGRASkBitmap(image, false, &image_data); gfx 103 chrome/browser/webdata/web_apps_table.cc if (gfx::PNGCodec::Decode( gfx 83 chrome/common/badge_util.cc const gfx::Font& base_font = rb.GetFont(ResourceBundle::BaseFont); gfx 126 chrome/common/badge_util.cc scoped_ptr<gfx::Canvas> canvas(new gfx::Canvas( gfx 127 chrome/common/badge_util.cc gfx::Size(badge_width, icon.height()), 1.0f, false)); gfx 128 chrome/common/badge_util.cc canvas->DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(icon), 0, 0); gfx 142 chrome/common/badge_util.cc void PaintBadge(gfx::Canvas* canvas, gfx 143 chrome/common/badge_util.cc const gfx::Rect& bounds, gfx 190 chrome/common/badge_util.cc gfx::Rect rect(rect_x, rect_y, rect_width, rect_height); gfx 200 chrome/common/badge_util.cc gfx::ImageSkia* gradient_left = rb.GetImageSkiaNamed( gfx 202 chrome/common/badge_util.cc gfx::ImageSkia* gradient_right = rb.GetImageSkiaNamed( gfx 204 chrome/common/badge_util.cc gfx::ImageSkia* gradient_center = rb.GetImageSkiaNamed( gfx 16 chrome/common/badge_util.h namespace gfx { gfx 38 chrome/common/badge_util.h void PaintBadge(gfx::Canvas* canvas, gfx 39 chrome/common/badge_util.h const gfx::Rect& bounds, gfx 526 chrome/common/chrome_content_client.cc gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const { gfx 41 chrome/common/chrome_content_client.h virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; gfx 42 chrome/common/extensions/manifest_handlers/icons_handler.cc const gfx::ImageSkia& IconsInfo::GetDefaultAppIcon() { gfx 48 chrome/common/extensions/manifest_handlers/icons_handler.cc const gfx::ImageSkia& IconsInfo::GetDefaultExtensionIcon() { gfx 30 chrome/common/extensions/manifest_handlers/icons_handler.h static const gfx::ImageSkia& GetDefaultExtensionIcon(); gfx 31 chrome/common/extensions/manifest_handlers/icons_handler.h static const gfx::ImageSkia& GetDefaultAppIcon(); gfx 36 chrome/common/favicon/favicon_types.h gfx::Image image; gfx 62 chrome/common/favicon/favicon_types.h gfx::Size pixel_size; gfx 41 chrome/common/favicon/favicon_url_parser.cc parsed->size_in_dip = gfx::kFaviconSize; gfx 75 chrome/common/favicon/favicon_url_parser.cc if (parsed->size_in_dip != (gfx::kFaviconSize * 4) && gfx 76 chrome/common/favicon/favicon_url_parser.cc parsed->size_in_dip != (gfx::kFaviconSize * 2)) { gfx 78 chrome/common/favicon/favicon_url_parser.cc parsed->size_in_dip = gfx::kFaviconSize; gfx 90 chrome/common/favicon/favicon_url_parser.cc if (parsed->size_in_dip != gfx::kFaviconSize && gfx 13 chrome/common/icon_with_badge_image_source.cc const gfx::ImageSkia& icon, gfx 14 chrome/common/icon_with_badge_image_source.cc const gfx::Size& icon_size, gfx 15 chrome/common/icon_with_badge_image_source.cc const gfx::Size& spacing, gfx 20 chrome/common/icon_with_badge_image_source.cc : gfx::CanvasImageSource(icon_size, false), gfx 31 chrome/common/icon_with_badge_image_source.cc void IconWithBadgeImageSource::Draw(gfx::Canvas* canvas) { gfx 33 chrome/common/icon_with_badge_image_source.cc gfx::Rect bounds(size_.width() + spacing_.width(), gfx 14 chrome/common/icon_with_badge_image_source.h namespace gfx { gfx 20 chrome/common/icon_with_badge_image_source.h : public gfx::CanvasImageSource { gfx 23 chrome/common/icon_with_badge_image_source.h const gfx::ImageSkia& icon, gfx 24 chrome/common/icon_with_badge_image_source.h const gfx::Size& icon_size, gfx 25 chrome/common/icon_with_badge_image_source.h const gfx::Size& spacing, gfx 33 chrome/common/icon_with_badge_image_source.h virtual void Draw(gfx::Canvas* canvas) OVERRIDE; gfx 36 chrome/common/icon_with_badge_image_source.h gfx::ImageSkia icon_; gfx 39 chrome/common/icon_with_badge_image_source.h gfx::Size spacing_; gfx 32 chrome/common/prerender_messages.h gfx::Size, gfx 38 chrome/common/print_messages.cc page_size = gfx::Size(); gfx 39 chrome/common/print_messages.cc content_size = gfx::Size(); gfx 40 chrome/common/print_messages.cc printable_area = gfx::Rect(); gfx 30 chrome/common/print_messages.h gfx::Size page_size; gfx 31 chrome/common/print_messages.h gfx::Size content_size; gfx 32 chrome/common/print_messages.h gfx::Rect printable_area; gfx 260 chrome/common/print_messages.h IPC_STRUCT_MEMBER(gfx::Size, page_size) gfx 263 chrome/common/print_messages.h IPC_STRUCT_MEMBER(gfx::Rect, content_area) gfx 394 chrome/common/print_messages.h gfx::Rect /* printable area in points */, gfx 75 chrome/common/render_messages.h struct ParamTraits<gfx::NativeView> { gfx 76 chrome/common/render_messages.h typedef gfx::NativeView param_type; gfx 330 chrome/common/render_messages.h gfx::Size /* thumbnail_max_size_pixels */) gfx 347 chrome/common/render_messages.h gfx::Size /* original size of the image */) gfx 38 chrome/renderer/autofill/autofill_renderer_browsertest.cc gfx::RectF, gfx 29 chrome/renderer/chrome_render_frame_observer.cc gfx::Size thumbnail_max_size_pixels) { gfx 33 chrome/renderer/chrome_render_frame_observer.cc gfx::Size image_size = image.size(); gfx 42 chrome/renderer/chrome_render_frame_observer.cc gfx::SizeF scaled_size = image_size; gfx 106 chrome/renderer/chrome_render_frame_observer.cc const gfx::Size& thumbnail_max_size_pixels) { gfx 109 chrome/renderer/chrome_render_frame_observer.cc gfx::Size original_size; gfx 10 chrome/renderer/chrome_render_frame_observer.h namespace gfx { gfx 29 chrome/renderer/chrome_render_frame_observer.h const gfx::Size& thumbnail_max_size_pixels); gfx 187 chrome/renderer/media/cast_rtp_stream.cc const gfx::Size& expected_coded_size, gfx 242 chrome/renderer/media/cast_rtp_stream.cc gfx::Size expected_coded_size_; gfx 465 chrome/renderer/media/cast_rtp_stream.cc gfx::Size(config.width, config.height), gfx 113 chrome/renderer/mock_printer.h gfx::Size page_size_; gfx 114 chrome/renderer/mock_printer.h gfx::Size content_size_; gfx 117 chrome/renderer/mock_printer.h gfx::Rect printable_area_; gfx 159 chrome/renderer/pepper/pepper_flash_menu_host.cc gfx::Point render_frame_pt = renderer_ppapi_host_->PluginPointToRenderFrame( gfx 160 chrome/renderer/pepper/pepper_flash_menu_host.cc pp_instance(), gfx::Point(location.x, location.y)); gfx 376 chrome/renderer/pepper/pepper_flash_renderer_host.cc gfx::Rect(rect.point.x, rect.point.y,rect.size.width, rect.size.height))) gfx 277 chrome/renderer/pepper/pepper_pdf_host.cc gfx::ImageSkia* res_image_skia = gfx 283 chrome/renderer/pepper/pepper_pdf_host.cc gfx::ImageSkiaRep image_skia_rep = res_image_skia->GetRepresentation(scale); gfx 395 chrome/renderer/pepper/ppb_pdf_impl.cc gfx::ImageSkia* res_image_skia = gfx 14 chrome/renderer/prerender/prerender_extra_data.cc const gfx::Size& size) gfx 18 chrome/renderer/prerender/prerender_extra_data.h const gfx::Size& size); gfx 23 chrome/renderer/prerender/prerender_extra_data.h const gfx::Size& size() const { return size_; } gfx 31 chrome/renderer/prerender/prerender_extra_data.h const gfx::Size size_; gfx 145 chrome/renderer/printing/print_web_view_helper.cc page_css_params.content_size = gfx::Size( gfx 150 chrome/renderer/printing/print_web_view_helper.cc page_css_params.page_size = gfx::Size( gfx 198 chrome/renderer/printing/print_web_view_helper.cc params_to_fit->content_size = gfx::Size( gfx 243 chrome/renderer/printing/print_web_view_helper.cc gfx::Size(page_params->printable_area.height(), gfx 388 chrome/renderer/printing/print_web_view_helper.cc result_params.content_size = gfx::Size( gfx 510 chrome/renderer/printing/print_web_view_helper.cc const gfx::Rect& canvas_area, gfx 511 chrome/renderer/printing/print_web_view_helper.cc const gfx::Rect& content_area, gfx 562 chrome/renderer/printing/print_web_view_helper.cc gfx::Size GetPrintCanvasSize() const; gfx 592 chrome/renderer/printing/print_web_view_helper.cc gfx::Size prev_view_size_; gfx 593 chrome/renderer/printing/print_web_view_helper.cc gfx::Size prev_scroll_offset_; gfx 642 chrome/renderer/printing/print_web_view_helper.cc gfx::Size print_layout_size(web_print_params_.printContentArea.width, gfx 734 chrome/renderer/printing/print_web_view_helper.cc gfx::Size PrepareFrameAndViewForPrint::GetPrintCanvasSize() const { gfx 736 chrome/renderer/printing/print_web_view_helper.cc return gfx::Size(web_print_params_.printContentArea.width, gfx 903 chrome/renderer/printing/print_web_view_helper.cc print_params.printable_area = gfx::Rect(print_params.page_size); gfx 944 chrome/renderer/printing/print_web_view_helper.cc gfx::Size* page_size, gfx 945 chrome/renderer/printing/print_web_view_helper.cc gfx::Rect* content_area) { gfx 946 chrome/renderer/printing/print_web_view_helper.cc *page_size = gfx::Size( gfx 953 chrome/renderer/printing/print_web_view_helper.cc *content_area = gfx::Rect(page_layout_in_points.margin_left, gfx 1085 chrome/renderer/printing/print_web_view_helper.cc gfx::Rect printable_area_in_points( gfx 1347 chrome/renderer/printing/print_web_view_helper.cc const gfx::Size& canvas_size) { gfx 2005 chrome/renderer/printing/print_web_view_helper.cc gfx::Size PrintWebViewHelper::PrintPreviewContext::GetPrintCanvasSize() const { gfx 132 chrome/renderer/printing/print_web_view_helper.h gfx::Size* page_size, gfx 133 chrome/renderer/printing/print_web_view_helper.h gfx::Rect* content_area); gfx 199 chrome/renderer/printing/print_web_view_helper.h const gfx::Size& canvas_size); gfx 205 chrome/renderer/printing/print_web_view_helper.h const gfx::Size& canvas_size, gfx 210 chrome/renderer/printing/print_web_view_helper.h const gfx::Size& canvas_size, gfx 226 chrome/renderer/printing/print_web_view_helper.h gfx::Size* page_size_in_dpi, gfx 227 chrome/renderer/printing/print_web_view_helper.h gfx::Rect* content_area_in_dpi); gfx 234 chrome/renderer/printing/print_web_view_helper.h gfx::Size* page_size, gfx 235 chrome/renderer/printing/print_web_view_helper.h gfx::Rect* content_rect); gfx 244 chrome/renderer/printing/print_web_view_helper.h const gfx::Rect& canvas_area, gfx 245 chrome/renderer/printing/print_web_view_helper.h const gfx::Rect& content_area, gfx 402 chrome/renderer/printing/print_web_view_helper.h gfx::Size GetPrintCanvasSize() const; gfx 263 chrome/renderer/printing/print_web_view_helper_browsertest.cc gfx::Size new_size(200, 100); gfx 264 chrome/renderer/printing/print_web_view_helper_browsertest.cc Resize(new_size, gfx::Rect(), false); gfx 266 chrome/renderer/printing/print_web_view_helper_browsertest.cc gfx::Rect bounds = GetElementBounds("print"); gfx 62 chrome/renderer/printing/print_web_view_helper_linux.cc const gfx::Size& canvas_size) { gfx 153 chrome/renderer/printing/print_web_view_helper_linux.cc const gfx::Size& canvas_size, gfx 161 chrome/renderer/printing/print_web_view_helper_linux.cc gfx::Size page_size; gfx 162 chrome/renderer/printing/print_web_view_helper_linux.cc gfx::Rect content_area; gfx 165 chrome/renderer/printing/print_web_view_helper_linux.cc gfx::Rect canvas_area = gfx 166 chrome/renderer/printing/print_web_view_helper_linux.cc params.params.display_header_footer ? gfx::Rect(page_size) : content_area; gfx 35 chrome/renderer/printing/print_web_view_helper_win.cc const gfx::Size& canvas_size, gfx 52 chrome/renderer/printing/print_web_view_helper_win.cc gfx::Size page_size_in_dpi; gfx 53 chrome/renderer/printing/print_web_view_helper_win.cc gfx::Rect content_area_in_dpi; gfx 125 chrome/renderer/printing/print_web_view_helper_win.cc gfx::Size* page_size_in_dpi, gfx::Rect* content_area_in_dpi) { gfx 131 chrome/renderer/printing/print_web_view_helper_win.cc gfx::Size page_size; gfx 132 chrome/renderer/printing/print_web_view_helper_win.cc gfx::Rect content_area; gfx 138 chrome/renderer/printing/print_web_view_helper_win.cc *page_size_in_dpi = gfx::Size( gfx 146 chrome/renderer/printing/print_web_view_helper_win.cc *content_area_in_dpi = gfx::Rect( gfx 161 chrome/renderer/printing/print_web_view_helper_win.cc page_size = gfx::Size( gfx 171 chrome/renderer/printing/print_web_view_helper_win.cc gfx::Rect canvas_area = gfx 172 chrome/renderer/printing/print_web_view_helper_win.cc params.display_header_footer ? gfx::Rect(page_size) : content_area; gfx 64 chrome/renderer/web_apps.cc gfx::Size ParseIconSize(const base::string16& text) { gfx 68 chrome/renderer/web_apps.cc return gfx::Size(); gfx 70 chrome/renderer/web_apps.cc return gfx::Size(ParseSingleIconSize(sizes[0]), gfx 87 chrome/renderer/web_apps.cc std::vector<gfx::Size> icon_sizes; gfx 102 chrome/renderer/web_apps.cc std::vector<gfx::Size>* sizes, gfx 111 chrome/renderer/web_apps.cc gfx::Size size = ParseIconSize(size_strings[i]); gfx 27 chrome/renderer/web_apps.h bool ParseIconSizes(const base::string16& text, std::vector<gfx::Size>* sizes, gfx 45 chrome/renderer/web_apps_unittest.cc std::vector<gfx::Size> sizes; gfx 29 chrome/renderer/webview_color_overlay.cc SkRect rect = gfx::RectToSkRect(gfx::Rect(render_view_->GetSize())); gfx 168 chrome/service/cloud_print/cdd_conversion_win.cc gfx::Size paper_size = semantic_info.papers[i].size_um; gfx 433 chrome/service/cloud_print/print_system_win.cc gfx::Rect render_area(0, 0, dc_width, dc_height); gfx 443 chrome/service/cloud_print/print_system_win.cc const base::FilePath& pdf_path, const gfx::Rect& render_area, gfx 85 chrome/test/base/chrome_test_suite.cc gfx::android::RegisterJni(base::android::AttachCurrentThread()); gfx 156 chrome/test/base/chrome_unit_test_suite.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 37 chrome/test/base/find_in_page_observer.h gfx::Rect selection_rect() const { return selection_rect_; } gfx 49 chrome/test/base/find_in_page_observer.h gfx::Rect selection_rect_; gfx 328 chrome/test/base/in_process_browser_test.cc Browser::TYPE_POPUP, app_name, gfx::Rect(), profile, gfx 14 chrome/test/base/interactive_test_utils.cc bool GetNativeWindow(const Browser* browser, gfx::NativeWindow* native_window) { gfx 26 chrome/test/base/interactive_test_utils.cc gfx::NativeWindow window = NULL; gfx 39 chrome/test/base/interactive_test_utils.cc gfx::NativeWindow window = NULL; gfx 45 chrome/test/base/interactive_test_utils.cc bool SendKeyPressToWindowSync(const gfx::NativeWindow window, gfx 91 chrome/test/base/interactive_test_utils.cc bool SendMouseMoveSync(const gfx::Point& location) { gfx 16 chrome/test/base/interactive_test_utils.h namespace gfx { gfx 37 chrome/test/base/interactive_test_utils.h void HideNativeWindow(gfx::NativeWindow window); gfx 40 chrome/test/base/interactive_test_utils.h bool ShowAndFocusNativeWindow(gfx::NativeWindow window) WARN_UNUSED_RESULT; gfx 55 chrome/test/base/interactive_test_utils.h bool SendKeyPressToWindowSync(const gfx::NativeWindow window, gfx 79 chrome/test/base/interactive_test_utils.h bool SendMouseMoveSync(const gfx::Point& location) WARN_UNUSED_RESULT; gfx 13 chrome/test/base/interactive_test_utils_aura.cc void HideNativeWindow(gfx::NativeWindow window) { gfx 17 chrome/test/base/interactive_test_utils_aura.cc bool ShowAndFocusNativeWindow(gfx::NativeWindow window) { gfx 22 chrome/test/base/interactive_test_utils_aura.cc void HideNativeWindowAura(gfx::NativeWindow window) { gfx 26 chrome/test/base/interactive_test_utils_aura.cc bool ShowAndFocusNativeWindowAura(gfx::NativeWindow window) { gfx 16 chrome/test/base/interactive_test_utils_aura.h void HideNativeWindowAura(gfx::NativeWindow window); gfx 17 chrome/test/base/interactive_test_utils_aura.h bool ShowAndFocusNativeWindowAura(gfx::NativeWindow window); gfx 42 chrome/test/base/interactive_test_utils_gtk.cc gfx::NativeWindow window = browser_window->GetNativeWindow(); gfx 52 chrome/test/base/interactive_test_utils_gtk.cc gfx::NativeWindow window = browser_window->GetNativeWindow(); gfx 63 chrome/test/base/interactive_test_utils_gtk.cc void HideNativeWindow(gfx::NativeWindow window) { gfx 67 chrome/test/base/interactive_test_utils_gtk.cc bool ShowAndFocusNativeWindow(gfx::NativeWindow window) { gfx 77 chrome/test/base/interactive_test_utils_gtk.cc gfx::Rect bounds = ui::GetWidgetScreenBounds(widget); gfx 21 chrome/test/base/interactive_test_utils_views.cc gfx::NativeWindow window = browser_window->GetNativeWindow(); gfx 59 chrome/test/base/interactive_test_utils_views.cc gfx::Point view_center(view->width() / 2, view->height() / 2); gfx 24 chrome/test/base/interactive_test_utils_win.cc void HideNativeWindow(gfx::NativeWindow window) { gfx 38 chrome/test/base/interactive_test_utils_win.cc bool ShowAndFocusNativeWindow(gfx::NativeWindow window) { gfx 97 chrome/test/base/test_browser_window.cc gfx::NativeWindow TestBrowserWindow::GetNativeWindow() { gfx 109 chrome/test/base/test_browser_window.cc gfx::Rect TestBrowserWindow::GetRestoredBounds() const { gfx 110 chrome/test/base/test_browser_window.cc return gfx::Rect(); gfx 117 chrome/test/base/test_browser_window.cc gfx::Rect TestBrowserWindow::GetBounds() const { gfx 118 chrome/test/base/test_browser_window.cc return gfx::Rect(); gfx 173 chrome/test/base/test_browser_window.cc gfx::Rect TestBrowserWindow::GetRootWindowResizerRect() const { gfx 174 chrome/test/base/test_browser_window.cc return gfx::Rect(); gfx 200 chrome/test/base/test_browser_window.cc const gfx::Rect& bounds) { gfx 35 chrome/test/base/test_browser_window.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE {} gfx 43 chrome/test/base/test_browser_window.h virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; gfx 58 chrome/test/base/test_browser_window.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 60 chrome/test/base/test_browser_window.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 99 chrome/test/base/test_browser_window.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 142 chrome/test/base/test_browser_window.h const gfx::Rect& bounds) OVERRIDE; gfx 147 chrome/test/base/test_browser_window.h const gfx::Rect& rect) OVERRIDE {} gfx 151 chrome/test/base/test_browser_window.h const gfx::Rect& rect, gfx 351 chrome/test/base/ui_test_utils.cc gfx::Rect* selection_rect) { gfx 532 chrome/test/base/ui_test_utils.cc gfx::Rect bounds( gfx 533 chrome/test/base/ui_test_utils.cc gfx::Size(rect.right - rect.left, rect.bottom - rect.top)); gfx 52 chrome/test/base/ui_test_utils.h namespace gfx { gfx 145 chrome/test/base/ui_test_utils.h gfx::Rect* selection_rect); gfx 53 chrome/test/base/view_event_test_base.cc void SetPreferredSize(const gfx::Size& size) { gfx 58 chrome/test/base/view_event_test_base.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 70 chrome/test/base/view_event_test_base.cc gfx::Size preferred_size_; gfx 111 chrome/test/base/view_event_test_base.cc gfx::NativeView context = NULL; gfx 123 chrome/test/base/view_event_test_base.cc gfx::Screen::SetScreenInstance( gfx 124 chrome/test/base/view_event_test_base.cc gfx::SCREEN_TYPE_NATIVE, views::CreateDesktopScreen()); gfx 237 chrome/test/base/view_event_test_base.cc gfx::Size ViewEventTestBase::GetPreferredSize() { gfx 238 chrome/test/base/view_event_test_base.cc return gfx::Size(); gfx 33 chrome/test/base/view_event_test_base.h namespace gfx { gfx 121 chrome/test/base/view_event_test_base.h virtual gfx::Size GetPreferredSize(); gfx 193 chrome/test/chromedriver/keycode_text_conversion_x.cc XDisplay* display = gfx::GetXDisplay(); gfx 75 chrome/test/gpu/gpu_feature_browsertest.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationOSMesaGL) gfx 107 chrome/test/gpu/gpu_feature_browsertest.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationOSMesaGL) gfx 141 chrome/test/gpu/gpu_feature_browsertest.cc bool ResizeAndWait(const gfx::Rect& new_bounds, gfx 307 chrome/test/gpu/gpu_feature_browsertest.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationOSMesaGL) gfx 504 chrome/test/gpu/gpu_feature_browsertest.cc gfx::Rect bounds = browser()->window()->GetBounds(); gfx 505 chrome/test/gpu/gpu_feature_browsertest.cc gfx::Rect new_bounds = bounds; gfx 444 chrome/test/remoting/remote_desktop_browsertest.cc gfx::Point(left + x, top + y)); gfx 505 chrome/utility/chrome_content_utility_client.cc gfx::Size(), gfx 649 chrome/utility/chrome_content_utility_client.cc *scale_factor = gfx::CalculatePageScale(metafile.context(), gfx 652 chrome/utility/chrome_content_utility_client.cc gfx::ScaleDC(metafile.context(), *scale_factor); gfx 662 chrome/utility/chrome_content_utility_client.cc metafile.StartPage(gfx::Size(), gfx::Rect(), 1); gfx 758 chrome/utility/chrome_content_utility_client.cc if (gfx::JPEGCodec::JpegLibraryVariant() == gfx::JPEGCodec::IJG_LIBJPEG) { gfx 759 chrome/utility/chrome_content_utility_client.cc scoped_ptr<SkBitmap> decoded_image(gfx::JPEGCodec::Decode( gfx 21 chrome/utility/chrome_content_utility_client.h namespace gfx { gfx 13 chrome/utility/cloud_print/bitmap_image.cc BitmapImage::BitmapImage(const gfx::Size& size, gfx 21 chrome/utility/cloud_print/bitmap_image.h BitmapImage(const gfx::Size& size, Colorspace colorspace); gfx 25 chrome/utility/cloud_print/bitmap_image.h const gfx::Size& size() const { return size_; } gfx 32 chrome/utility/cloud_print/bitmap_image.h gfx::Size size_; gfx 30 chrome/utility/cloud_print/pwg_encoder_unittest.cc new BitmapImage(gfx::Size(kRasterWidth, kRasterHeight), gfx 60 chrome/utility/extensions/unpacker.cc gfx::Size(), gfx 21 chrome/utility/importer/favicon_reencode.cc gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize), gfx 26 chrome/utility/importer/favicon_reencode.cc if (decoded.width() != gfx::kFaviconSize || gfx 27 chrome/utility/importer/favicon_reencode.cc decoded.height() != gfx::kFaviconSize) { gfx 31 chrome/utility/importer/favicon_reencode.cc gfx::CalculateFaviconTargetSize(&new_width, &new_height); gfx 37 chrome/utility/importer/favicon_reencode.cc gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data); gfx 196 chromeos/accelerometer/accelerometer_reader.cc gfx::Vector3dF base_reading, lid_reading; gfx 44 chromeos/accelerometer/accelerometer_reader.h virtual void HandleAccelerometerReading(const gfx::Vector3dF& base, gfx 45 chromeos/accelerometer/accelerometer_reader.h const gfx::Vector3dF& lid) = 0; gfx 136 components/autofill/content/browser/risk/fingerprint.cc gfx::Screen::GetNativeScreen()->GetNumDisplays()); gfx 138 components/autofill/content/browser/risk/fingerprint.cc const gfx::Size screen_size = gfx 139 components/autofill/content/browser/risk/fingerprint.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().GetSizeInPixel(); gfx 145 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect screen_rect(screen_info.rect); gfx 146 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect available_rect(screen_info.availableRect); gfx 147 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect unavailable_rect = gfx 148 components/autofill/content/browser/risk/fingerprint.cc gfx::SubtractRects(screen_rect, available_rect); gfx 257 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect& window_bounds, gfx 258 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect& content_bounds, gfx 298 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect window_bounds_; gfx 299 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect content_bounds_; gfx 330 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect& window_bounds, gfx 331 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect& content_bounds, gfx 510 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect& window_bounds, gfx 511 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect& content_bounds, gfx 533 components/autofill/content/browser/risk/fingerprint.cc const gfx::Rect& window_bounds, gfx 542 components/autofill/content/browser/risk/fingerprint.cc gfx::Rect content_bounds; gfx 32 components/autofill/content/browser/risk/fingerprint.h namespace gfx { gfx 55 components/autofill/content/browser/risk/fingerprint.h const gfx::Rect& window_bounds, gfx 32 components/autofill/content/browser/risk/fingerprint_browsertest.cc const gfx::Rect& window_bounds, gfx 33 components/autofill/content/browser/risk/fingerprint_browsertest.cc const gfx::Rect& content_bounds, gfx 170 components/autofill/content/browser/risk/fingerprint_browsertest.cc const gfx::Rect window_bounds_; gfx 171 components/autofill/content/browser/risk/fingerprint_browsertest.cc const gfx::Rect content_bounds_; gfx 172 components/autofill/content/browser/risk/fingerprint_browsertest.cc const gfx::Rect screen_bounds_; gfx 173 components/autofill/content/browser/risk/fingerprint_browsertest.cc const gfx::Rect available_screen_bounds_; gfx 174 components/autofill/content/browser/risk/fingerprint_browsertest.cc const gfx::Rect unavailable_screen_bounds_; gfx 301 components/autofill/content/browser/wallet/wallet_items.cc const gfx::Image& WalletItems::MaskedInstrument::CardIcon() const { gfx 25 components/autofill/content/browser/wallet/wallet_items.h namespace gfx { gfx 91 components/autofill/content/browser/wallet/wallet_items.h const gfx::Image& CardIcon() const; gfx 204 components/autofill/content/common/autofill_messages.h gfx::RectF /* input field bounds, window-relative */, gfx 233 components/autofill/content/common/autofill_messages.h gfx::RectF /* source location */, gfx 241 components/autofill/content/common/autofill_messages.h gfx::RectF /* source location */, gfx 256 components/autofill/content/common/autofill_messages.h gfx::RectF /* input field bounds, window-relative */, gfx 601 components/autofill/content/renderer/autofill_agent.cc gfx::RectF bounding_box_scaled = gfx 1172 components/autofill/content/renderer/form_autofill_util.cc gfx::RectF GetScaledBoundingBox(float scale, WebFormControlElement* element) { gfx 1173 components/autofill/content/renderer/form_autofill_util.cc gfx::Rect bounding_box(element->boundsInViewportSpace()); gfx 1174 components/autofill/content/renderer/form_autofill_util.cc return gfx::RectF(bounding_box.x() * scale, gfx 173 components/autofill/content/renderer/form_autofill_util.h gfx::RectF GetScaledBoundingBox(float scale, gfx 699 components/autofill/content/renderer/password_autofill_agent.cc gfx::Rect bounding_box(selected_element.boundsInViewportSpace()); gfx 702 components/autofill/content/renderer/password_autofill_agent.cc gfx::RectF bounding_box_scaled(bounding_box.x() * scale, gfx 332 components/autofill/content/renderer/password_generation_agent.cc gfx::RectF bounding_box_scaled = gfx 347 components/autofill/content/renderer/password_generation_agent.cc gfx::RectF bounding_box_scaled = gfx 36 components/autofill/core/browser/autofill_external_delegate.cc const gfx::RectF& element_bounds, gfx 118 components/autofill/core/browser/autofill_external_delegate.cc const gfx::RectF& element_bounds) { gfx 20 components/autofill/core/browser/autofill_external_delegate.h namespace gfx { gfx 65 components/autofill/core/browser/autofill_external_delegate.h const gfx::RectF& element_bounds, gfx 81 components/autofill/core/browser/autofill_external_delegate.h const gfx::RectF& bounds); gfx 149 components/autofill/core/browser/autofill_external_delegate.h gfx::RectF element_bounds_; gfx 58 components/autofill/core/browser/autofill_external_delegate_unittest.cc void(const gfx::RectF& element_bounds, gfx 125 components/autofill/core/browser/autofill_external_delegate_unittest.cc const gfx::RectF element_bounds; gfx 333 components/autofill/core/browser/autofill_external_delegate_unittest.cc const gfx::RectF element_bounds; gfx 413 components/autofill/core/browser/autofill_external_delegate_unittest.cc const gfx::RectF element_bounds; gfx 473 components/autofill/core/browser/autofill_external_delegate_unittest.cc const gfx::RectF element_bounds; gfx 375 components/autofill/core/browser/autofill_manager.cc const gfx::RectF& bounding_box, gfx 665 components/autofill/core/browser/autofill_manager.cc const gfx::RectF& bounds, gfx 38 components/autofill/core/browser/autofill_manager.h namespace gfx { gfx 139 components/autofill/core/browser/autofill_manager.h const gfx::RectF& bounding_box, gfx 148 components/autofill/core/browser/autofill_manager.h const gfx::RectF& bounds, gfx 15 components/autofill/core/browser/autofill_manager_delegate.h namespace gfx { gfx 79 components/autofill/core/browser/autofill_manager_delegate.h const gfx::RectF& element_bounds, gfx 514 components/autofill/core/browser/autofill_manager_unittest.cc const gfx::RectF& bounds, gfx 622 components/autofill/core/browser/autofill_manager_unittest.cc gfx::Rect(), gfx 637 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); gfx 643 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); gfx 655 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); gfx 668 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); gfx 18 components/autofill/core/browser/test_autofill_external_delegate.cc gfx::RectF bounds(100.f, 100.f); gfx 38 components/autofill/core/browser/test_autofill_manager_delegate.cc const gfx::RectF& element_bounds, gfx 37 components/autofill/core/browser/test_autofill_manager_delegate.h const gfx::RectF& element_bounds, gfx 130 components/plugins/renderer/webview_plugin.cc gfx::Rect paint_rect = gfx::IntersectRects(rect_, rect); gfx 150 components/plugins/renderer/webview_plugin.cc if (static_cast<gfx::Rect>(frame_rect) != rect_) { gfx 151 components/plugins/renderer/webview_plugin.h gfx::Rect rect_; gfx 39 components/test/run_all_unittests.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 44 components/test/run_all_unittests.cc gfx::android::RegisterJni(env); gfx 32 components/web_contents_delegate_android/validation_message_bubble_android.cc const gfx::Rect& anchor_in_root_view, gfx 54 components/web_contents_delegate_android/validation_message_bubble_android.cc RenderWidgetHost* widget_host, const gfx::Rect& anchor_in_root_view) { gfx 13 components/web_contents_delegate_android/validation_message_bubble_android.h namespace gfx { gfx 28 components/web_contents_delegate_android/validation_message_bubble_android.h const gfx::Rect& anchor_in_screen, gfx 34 components/web_contents_delegate_android/validation_message_bubble_android.h const gfx::Rect& anchor_in_screen); gfx 193 components/web_contents_delegate_android/web_contents_delegate_android.cc const gfx::Rect& pos) { gfx 318 components/web_contents_delegate_android/web_contents_delegate_android.cc const gfx::Rect& anchor_in_root_view, gfx 338 components/web_contents_delegate_android/web_contents_delegate_android.cc const gfx::Rect& anchor_in_root_view) { gfx 73 components/web_contents_delegate_android/web_contents_delegate_android.h const gfx::Rect& pos) OVERRIDE; gfx 93 components/web_contents_delegate_android/web_contents_delegate_android.h const gfx::Rect& anchor_in_root_view, gfx 100 components/web_contents_delegate_android/web_contents_delegate_android.h const gfx::Rect& anchor_in_root_view) OVERRIDE; gfx 10 components/web_modal/modal_dialog_host.h namespace gfx { gfx 33 components/web_modal/modal_dialog_host.h virtual gfx::NativeView GetHostView() const = 0; gfx 35 components/web_modal/modal_dialog_host.h virtual gfx::Point GetDialogPosition(const gfx::Size& size) = 0; gfx 17 components/web_modal/native_web_contents_modal_dialog.h typedef gfx::NativeView NativeWebContentsModalDialog; gfx 12 components/web_modal/test_web_contents_modal_dialog_host.cc gfx::NativeView host_view) gfx 17 components/web_modal/test_web_contents_modal_dialog_host.cc gfx::Size TestWebContentsModalDialogHost::GetMaximumDialogSize() { gfx 21 components/web_modal/test_web_contents_modal_dialog_host.cc gfx::NativeView TestWebContentsModalDialogHost::GetHostView() const { gfx 25 components/web_modal/test_web_contents_modal_dialog_host.cc gfx::Point TestWebContentsModalDialogHost::GetDialogPosition( gfx 26 components/web_modal/test_web_contents_modal_dialog_host.cc const gfx::Size& size) { gfx 27 components/web_modal/test_web_contents_modal_dialog_host.cc return gfx::Point(); gfx 19 components/web_modal/test_web_contents_modal_dialog_host.h explicit TestWebContentsModalDialogHost(gfx::NativeView host_view); gfx 23 components/web_modal/test_web_contents_modal_dialog_host.h virtual gfx::Size GetMaximumDialogSize() OVERRIDE; gfx 24 components/web_modal/test_web_contents_modal_dialog_host.h virtual gfx::NativeView GetHostView() const OVERRIDE; gfx 25 components/web_modal/test_web_contents_modal_dialog_host.h virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; gfx 29 components/web_modal/test_web_contents_modal_dialog_host.h void set_max_dialog_size(const gfx::Size& max_dialog_size) { gfx 34 components/web_modal/test_web_contents_modal_dialog_host.h gfx::NativeView host_view_; gfx 35 components/web_modal/test_web_contents_modal_dialog_host.h gfx::Size max_dialog_size_; gfx 10 components/web_modal/web_contents_modal_dialog_host.h namespace gfx { gfx 25 components/web_modal/web_contents_modal_dialog_host.h virtual gfx::Size GetMaximumDialogSize() = 0; gfx 12 components/web_modal/web_contents_modal_dialog_manager_delegate.h namespace gfx { gfx 54 content/app/android/child_process_service.cc scoped_refptr<gfx::SurfaceTexture> surface_texture, gfx 66 content/app/android/child_process_service.cc virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) OVERRIDE { gfx 68 content/app/android/child_process_service.cc gfx::ScopedJavaSurface surface( gfx 82 content/app/android/child_process_service.cc virtual gfx::AcceleratedWidget AcquireNativeWidget(int primary_id, gfx 86 content/app/android/child_process_service.cc gfx::ScopedJavaSurface surface( gfx 41 content/app/android/library_loader_hooks.cc if (!gfx::android::RegisterJni(env)) gfx 118 content/browser/accessibility/browser_accessibility.cc void BrowserAccessibility::SetLocation(const gfx::Rect& new_location) { gfx 156 content/browser/accessibility/browser_accessibility.cc gfx::Rect BrowserAccessibility::GetLocalBoundsRect() const { gfx 157 content/browser/accessibility/browser_accessibility.cc gfx::Rect bounds = location_; gfx 197 content/browser/accessibility/browser_accessibility.cc gfx::Rect BrowserAccessibility::GetGlobalBoundsRect() const { gfx 198 content/browser/accessibility/browser_accessibility.cc gfx::Rect bounds = GetLocalBoundsRect(); gfx 207 content/browser/accessibility/browser_accessibility.cc gfx::Rect BrowserAccessibility::GetLocalBoundsForRange(int start, int len) gfx 214 content/browser/accessibility/browser_accessibility.cc gfx::Rect bounds; gfx 219 content/browser/accessibility/browser_accessibility.cc gfx::Rect child_rect = child->GetLocalBoundsForRange(start, len); gfx 231 content/browser/accessibility/browser_accessibility.cc gfx::Rect bounds; gfx 250 content/browser/accessibility/browser_accessibility.cc gfx::Rect child_rect = child->location(); gfx 260 content/browser/accessibility/browser_accessibility.cc gfx::Rect child_overlap_rect; gfx 266 content/browser/accessibility/browser_accessibility.cc child_overlap_rect = gfx::Rect(left, child_rect.y(), gfx 273 content/browser/accessibility/browser_accessibility.cc child_overlap_rect = gfx::Rect(left, child_rect.y(), gfx 280 content/browser/accessibility/browser_accessibility.cc child_overlap_rect = gfx::Rect(child_rect.x(), top, gfx 287 content/browser/accessibility/browser_accessibility.cc child_overlap_rect = gfx::Rect(child_rect.x(), top, gfx 304 content/browser/accessibility/browser_accessibility.cc gfx::Rect BrowserAccessibility::GetGlobalBoundsForRange(int start, int len) gfx 306 content/browser/accessibility/browser_accessibility.cc gfx::Rect bounds = GetLocalBoundsForRange(start, len); gfx 316 content/browser/accessibility/browser_accessibility.cc const gfx::Point& point) { gfx 81 content/browser/accessibility/browser_accessibility.h virtual void SetLocation(const gfx::Rect& new_location); gfx 118 content/browser/accessibility/browser_accessibility.h gfx::Rect GetLocalBoundsRect() const; gfx 121 content/browser/accessibility/browser_accessibility.h gfx::Rect GetGlobalBoundsRect() const; gfx 126 content/browser/accessibility/browser_accessibility.h gfx::Rect GetLocalBoundsForRange(int start, int len) const; gfx 130 content/browser/accessibility/browser_accessibility.h gfx::Rect GetGlobalBoundsForRange(int start, int len) const; gfx 134 content/browser/accessibility/browser_accessibility.h BrowserAccessibility* BrowserAccessibilityForPoint(const gfx::Point& point); gfx 165 content/browser/accessibility/browser_accessibility.h gfx::Rect location() const { return location_; } gfx 309 content/browser/accessibility/browser_accessibility.h gfx::Rect location_; gfx 43 content/browser/accessibility/browser_accessibility_gtk.cc gfx::Point point(x, y); gfx 63 content/browser/accessibility/browser_accessibility_gtk.cc gfx::Rect bounds = obj->GetGlobalBoundsRect(); gfx 104 content/browser/accessibility/browser_accessibility_manager.cc bool BrowserAccessibilityManager::IsOSKAllowed(const gfx::Rect& bounds) { gfx 108 content/browser/accessibility/browser_accessibility_manager.cc gfx::Point touch_point = delegate_->GetLastTouchEventLocation(); gfx 216 content/browser/accessibility/browser_accessibility_manager.cc const BrowserAccessibility& node, gfx::Rect subfocus) { gfx 223 content/browser/accessibility/browser_accessibility_manager.cc const BrowserAccessibility& node, gfx::Point point) { gfx 237 content/browser/accessibility/browser_accessibility_manager.cc gfx::Rect BrowserAccessibilityManager::GetViewBounds() { gfx 240 content/browser/accessibility/browser_accessibility_manager.cc return gfx::Rect(); gfx 37 content/browser/accessibility/browser_accessibility_manager.h int acc_obj_id, gfx::Rect subfocus) = 0; gfx 39 content/browser/accessibility/browser_accessibility_manager.h int acc_obj_id, gfx::Point point) = 0; gfx 43 content/browser/accessibility/browser_accessibility_manager.h virtual gfx::Rect GetViewBounds() const = 0; gfx 44 content/browser/accessibility/browser_accessibility_manager.h virtual gfx::Point GetLastTouchEventLocation() const = 0; gfx 111 content/browser/accessibility/browser_accessibility_manager.h const BrowserAccessibility& node, gfx::Rect subfocus); gfx 116 content/browser/accessibility/browser_accessibility_manager.h const BrowserAccessibility& node, gfx::Point point); gfx 123 content/browser/accessibility/browser_accessibility_manager.h gfx::Rect GetViewBounds(); gfx 148 content/browser/accessibility/browser_accessibility_manager.h bool IsOSKAllowed(const gfx::Rect& bounds); gfx 200 content/browser/accessibility/browser_accessibility_manager_android.cc root_->BrowserAccessibilityForPoint(gfx::Point(x, y))); gfx 253 content/browser/accessibility/browser_accessibility_manager_android.cc gfx::Rect absolute_rect = node->GetLocalBoundsRect(); gfx 254 content/browser/accessibility/browser_accessibility_manager_android.cc gfx::Rect parent_relative_rect = absolute_rect; gfx 256 content/browser/accessibility/browser_accessibility_manager_android.cc gfx::Rect parent_rect = node->parent()->GetLocalBoundsRect(); gfx 413 content/browser/accessibility/browser_accessibility_manager_android.cc ScrollToMakeVisible(*node, gfx::Rect(node->location().size())); gfx 459 content/browser/accessibility/browser_accessibility_manager_android.cc gfx::Rect node_bounds = node->GetLocalBoundsRect(); gfx 73 content/browser/accessibility/browser_accessibility_manager_unittest.cc int acc_obj_id, gfx::Rect subfocus) OVERRIDE {} gfx 75 content/browser/accessibility/browser_accessibility_manager_unittest.cc int acc_obj_id, gfx::Point point) OVERRIDE {} gfx 81 content/browser/accessibility/browser_accessibility_manager_unittest.cc virtual gfx::Rect GetViewBounds() const OVERRIDE { gfx 82 content/browser/accessibility/browser_accessibility_manager_unittest.cc return gfx::Rect(); gfx 84 content/browser/accessibility/browser_accessibility_manager_unittest.cc virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE { gfx 85 content/browser/accessibility/browser_accessibility_manager_unittest.cc return gfx::Point(); gfx 634 content/browser/accessibility/browser_accessibility_manager_unittest.cc static_text.location = gfx::Rect(100, 100, 29, 18); gfx 641 content/browser/accessibility/browser_accessibility_manager_unittest.cc inline_text1.location = gfx::Rect(100, 100, 29, 9); gfx 660 content/browser/accessibility/browser_accessibility_manager_unittest.cc inline_text2.location = gfx::Rect(100, 109, 28, 9); gfx 685 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 6, 9).ToString(), gfx 688 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 26, 9).ToString(), gfx 691 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 109, 5, 9).ToString(), gfx 694 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 109, 25, 9).ToString(), gfx 697 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 29, 18).ToString(), gfx 700 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 29, 18).ToString(), gfx 704 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 29, 18).ToString(), gfx 709 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 29, 18).ToString(), gfx 730 content/browser/accessibility/browser_accessibility_manager_unittest.cc static_text.location = gfx::Rect(100, 100, 60, 20); gfx 737 content/browser/accessibility/browser_accessibility_manager_unittest.cc inline_text1.location = gfx::Rect(100, 100, 30, 20); gfx 752 content/browser/accessibility/browser_accessibility_manager_unittest.cc inline_text2.location = gfx::Rect(130, 100, 30, 20); gfx 774 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 60, 20).ToString(), gfx 777 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 10, 20).ToString(), gfx 780 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 30, 20).ToString(), gfx 783 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(150, 100, 10, 20).ToString(), gfx 786 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(130, 100, 30, 20).ToString(), gfx 791 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(120, 100, 40, 20).ToString(), gfx 810 content/browser/accessibility/browser_accessibility_manager_unittest.cc div.location = gfx::Rect(100, 100, 100, 20); gfx 819 content/browser/accessibility/browser_accessibility_manager_unittest.cc static_text1.location = gfx::Rect(100, 100, 40, 20); gfx 825 content/browser/accessibility/browser_accessibility_manager_unittest.cc img.location = gfx::Rect(140, 100, 20, 20); gfx 831 content/browser/accessibility/browser_accessibility_manager_unittest.cc static_text2.location = gfx::Rect(160, 100, 40, 20); gfx 838 content/browser/accessibility/browser_accessibility_manager_unittest.cc inline_text1.location = gfx::Rect(100, 100, 40, 20); gfx 851 content/browser/accessibility/browser_accessibility_manager_unittest.cc inline_text2.location = gfx::Rect(160, 100, 40, 20); gfx 870 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 20, 20).ToString(), gfx 873 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 40, 20).ToString(), gfx 876 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 80, 20).ToString(), gfx 879 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(120, 100, 60, 20).ToString(), gfx 882 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(120, 100, 80, 20).ToString(), gfx 885 content/browser/accessibility/browser_accessibility_manager_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 100, 20).ToString(), gfx 140 content/browser/accessibility/browser_accessibility_state_impl.cc gfx::IsInvertedColorScheme()); gfx 248 content/browser/accessibility/browser_accessibility_win.cc gfx::Point point(x_left, y_top); gfx 282 content/browser/accessibility/browser_accessibility_win.cc gfx::Rect bounds = target->GetGlobalBoundsRect(); gfx 813 content/browser/accessibility/browser_accessibility_win.cc gfx::Rect r = location(); gfx 816 content/browser/accessibility/browser_accessibility_win.cc manager()->ScrollToMakeVisible(*this, gfx::Rect(r.x(), r.y(), 0, 0)); gfx 820 content/browser/accessibility/browser_accessibility_win.cc *this, gfx::Rect(r.right(), r.bottom(), 0, 0)); gfx 824 content/browser/accessibility/browser_accessibility_win.cc *this, gfx::Rect(r.x(), r.y(), r.width(), 0)); gfx 828 content/browser/accessibility/browser_accessibility_win.cc *this, gfx::Rect(r.x(), r.bottom(), r.width(), 0)); gfx 832 content/browser/accessibility/browser_accessibility_win.cc *this, gfx::Rect(r.x(), r.y(), 0, r.height())); gfx 836 content/browser/accessibility/browser_accessibility_win.cc *this, gfx::Rect(r.right(), r.y(), 0, r.height())); gfx 856 content/browser/accessibility/browser_accessibility_win.cc gfx::Point scroll_to(x, y); gfx 1942 content/browser/accessibility/browser_accessibility_win.cc gfx::Rect character_bounds; gfx 2728 content/browser/accessibility/browser_accessibility_win.cc gfx::Rect bounds = GetGlobalBoundsForRange( gfx 3176 content/browser/accessibility/browser_accessibility_win.cc void BrowserAccessibilityWin::SetLocation(const gfx::Rect& new_location) { gfx 108 content/browser/accessibility/browser_accessibility_win.h CONTENT_EXPORT virtual void SetLocation(const gfx::Rect& new_location) gfx 56 content/browser/android/child_process_launcher_android.cc gfx::ScopedJavaSurface scoped_surface(surface); gfx 184 content/browser/android/content_video_view.cc gfx::ScopedJavaSurface::AcquireExternalSurface(surface)); gfx 198 content/browser/android/content_video_view.cc gfx::NativeView ContentVideoView::GetNativeView() { gfx 204 content/browser/android/content_video_view.cc return reinterpret_cast<gfx::NativeView>( gfx 83 content/browser/android/content_video_view.h gfx::NativeView GetNativeView(); gfx 110 content/browser/android/content_view_core_impl.cc const gfx::Rect& rect) { gfx 163 content/browser/android/content_view_core_impl.cc const gfx::Display& display = gfx 164 content/browser/android/content_view_core_impl.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 457 content/browser/android/content_view_core_impl.cc const gfx::Vector2dF& scroll_offset, gfx 459 content/browser/android/content_view_core_impl.cc const gfx::Vector2dF& page_scale_factor_limits, gfx 460 content/browser/android/content_view_core_impl.cc const gfx::SizeF& content_size, gfx 461 content/browser/android/content_view_core_impl.cc const gfx::SizeF& viewport_size, gfx 462 content/browser/android/content_view_core_impl.cc const gfx::Vector2dF& controls_offset, gfx 463 content/browser/android/content_view_core_impl.cc const gfx::Vector2dF& content_offset, gfx 471 content/browser/android/content_view_core_impl.cc gfx::Vector2dF window_offset( gfx 475 content/browser/android/content_view_core_impl.cc gfx::ScaleVector2d(content_offset, dpi_scale_) + window_offset); gfx 686 content/browser/android/content_view_core_impl.cc const gfx::Rect& bounds) { gfx 712 content/browser/android/content_view_core_impl.cc gfx::Rect src_subrect, gfx 719 content/browser/android/content_view_core_impl.cc SkBitmap::Config skbitmap_format = gfx::ConvertToSkiaConfig(jbitmap_config); gfx 737 content/browser/android/content_view_core_impl.cc const gfx::Rect& target_rect, gfx 748 content/browser/android/content_view_core_impl.cc gfx::ConvertToJavaBitmap(&zoomed_bitmap); gfx 805 content/browser/android/content_view_core_impl.cc gfx::Size ContentViewCoreImpl::GetPhysicalBackingSize() const { gfx 809 content/browser/android/content_view_core_impl.cc return gfx::Size(); gfx 810 content/browser/android/content_view_core_impl.cc return gfx::Size( gfx 815 content/browser/android/content_view_core_impl.cc gfx::Size ContentViewCoreImpl::GetViewportSizePix() const { gfx 819 content/browser/android/content_view_core_impl.cc return gfx::Size(); gfx 820 content/browser/android/content_view_core_impl.cc return gfx::Size( gfx 825 content/browser/android/content_view_core_impl.cc gfx::Size ContentViewCoreImpl::GetViewportSizeOffsetPix() const { gfx 829 content/browser/android/content_view_core_impl.cc return gfx::Size(); gfx 830 content/browser/android/content_view_core_impl.cc return gfx::Size( gfx 835 content/browser/android/content_view_core_impl.cc gfx::Size ContentViewCoreImpl::GetViewportSizeDip() const { gfx 836 content/browser/android/content_view_core_impl.cc return gfx::ToCeiledSize( gfx 837 content/browser/android/content_view_core_impl.cc gfx::ScaleSize(GetViewportSizePix(), 1.0f / dpi_scale())); gfx 840 content/browser/android/content_view_core_impl.cc gfx::Size ContentViewCoreImpl::GetViewportSizeOffsetDip() const { gfx 841 content/browser/android/content_view_core_impl.cc return gfx::ToCeiledSize( gfx 842 content/browser/android/content_view_core_impl.cc gfx::ScaleSize(GetViewportSizeOffsetPix(), 1.0f / dpi_scale())); gfx 1260 content/browser/android/content_view_core_impl.cc frame->SelectRange(gfx::Point(x1 / dpi_scale(), y1 / dpi_scale()), gfx 1261 content/browser/android/content_view_core_impl.cc gfx::Point(x2 / dpi_scale(), y2 / dpi_scale())); gfx 1268 content/browser/android/content_view_core_impl.cc gfx::Point(x / dpi_scale(), y / dpi_scale())); gfx 1490 content/browser/android/content_view_core_impl.cc host->GetRoutingID(), gfx::Rect())); gfx 1511 content/browser/android/content_view_core_impl.cc j_bitmap = gfx::ConvertToJavaBitmap(status.image.ToSkBitmap()); gfx 1752 content/browser/android/content_view_core_impl.cc gfx::Rect rect( gfx 62 content/browser/android/content_view_core_impl.h gfx::Rect src_subrect, gfx 254 content/browser/android/content_view_core_impl.h void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, gfx 256 content/browser/android/content_view_core_impl.h const gfx::Vector2dF& page_scale_factor_limits, gfx 257 content/browser/android/content_view_core_impl.h const gfx::SizeF& content_size, gfx 258 content/browser/android/content_view_core_impl.h const gfx::SizeF& viewport_size, gfx 259 content/browser/android/content_view_core_impl.h const gfx::Vector2dF& controls_offset, gfx 260 content/browser/android/content_view_core_impl.h const gfx::Vector2dF& content_offset, gfx 279 content/browser/android/content_view_core_impl.h void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); gfx 287 content/browser/android/content_view_core_impl.h const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap); gfx 308 content/browser/android/content_view_core_impl.h gfx::Size GetPhysicalBackingSize() const; gfx 309 content/browser/android/content_view_core_impl.h gfx::Size GetViewportSizeDip() const; gfx 310 content/browser/android/content_view_core_impl.h gfx::Size GetViewportSizeOffsetDip() const; gfx 350 content/browser/android/content_view_core_impl.h gfx::Size GetViewportSizePix() const; gfx 351 content/browser/android/content_view_core_impl.h gfx::Size GetViewportSizeOffsetPix() const; gfx 36 content/browser/android/content_view_render_view.cc gfx::NativeWindow root_window) gfx 48 content/browser/android/content_view_render_view.cc gfx::NativeWindow root_window = gfx 49 content/browser/android/content_view_render_view.cc reinterpret_cast<gfx::NativeWindow>(native_root_window); gfx 86 content/browser/android/content_view_render_view.cc compositor_->SetWindowBounds(gfx::Size(width, height)); gfx 100 content/browser/android/content_view_render_view.cc gfx::JavaBitmap bitmap(java_bitmap); gfx 104 content/browser/android/content_view_render_view.cc gfx::Rect(bitmap.size())); gfx 25 content/browser/android/content_view_render_view.h gfx::NativeWindow root_window); gfx 55 content/browser/android/content_view_render_view.h gfx::NativeWindow root_window_; gfx 78 content/browser/android/edge_effect.cc gfx::Transform ComputeTransform(EdgeEffect::Edge edge, gfx 79 content/browser/android/edge_effect.cc gfx::SizeF size, int height) { gfx 83 content/browser/android/edge_effect.cc return gfx::Transform(1, 0, 0, 1, 0, 0); gfx 85 content/browser/android/edge_effect.cc return gfx::Transform(0, 1, -1, 0, gfx 89 content/browser/android/edge_effect.cc return gfx::Transform(-1, 0, 0, -1, 0, size.height() - height); gfx 91 content/browser/android/edge_effect.cc return gfx::Transform(0, -1, 1, 0, gfx 100 content/browser/android/edge_effect.cc layer->SetTransform(gfx::Transform()); gfx 106 content/browser/android/edge_effect.cc gfx::SizeF size, gfx 112 content/browser/android/edge_effect.cc layer->SetBounds(gfx::Size(size.width(), height)); gfx 142 content/browser/android/edge_effect.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().device_scale_factor(); gfx 331 content/browser/android/edge_effect.cc void EdgeEffect::ApplyToLayers(gfx::SizeF size, Edge edge) { gfx 346 content/browser/android/edge_effect.cc gfx::Size glow_image_bounds; gfx 358 content/browser/android/edge_effect.cc gfx::Size edge_image_bounds; gfx 46 content/browser/android/edge_effect.h void ApplyToLayers(gfx::SizeF size, Edge edge); gfx 36 content/browser/android/in_process/synchronous_compositor_factory_impl.cc scoped_refptr<gfx::GLSurface> surface, gfx 39 content/browser/android/in_process/synchronous_compositor_factory_impl.cc const gfx::GpuPreference gpu_preference = gfx::PreferDiscreteGpu; gfx 42 content/browser/android/in_process/synchronous_compositor_factory_impl.cc surface = gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1)); gfx 77 content/browser/android/in_process/synchronous_compositor_factory_impl.cc virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture( gfx 160 content/browser/android/in_process/synchronous_compositor_factory_impl.cc CreateContext(new gfx::GLSurfaceStub, service_, NULL); gfx 178 content/browser/android/in_process/synchronous_compositor_factory_impl.cc scoped_refptr<gfx::GLSurface> surface) { gfx 229 content/browser/android/in_process/synchronous_compositor_factory_impl.cc CreateContext(new gfx::GLSurfaceStub, gfx 15 content/browser/android/in_process/synchronous_compositor_factory_impl.h namespace gfx { gfx 66 content/browser/android/in_process/synchronous_compositor_factory_impl.h scoped_refptr<gfx::GLSurface> surface); gfx 92 content/browser/android/in_process/synchronous_compositor_impl.cc scoped_refptr<gfx::GLSurface> surface) { gfx 119 content/browser/android/in_process/synchronous_compositor_impl.cc gfx::Size surface_size, gfx 120 content/browser/android/in_process/synchronous_compositor_impl.cc const gfx::Transform& transform, gfx 121 content/browser/android/in_process/synchronous_compositor_impl.cc gfx::Rect viewport, gfx 122 content/browser/android/in_process/synchronous_compositor_impl.cc gfx::Rect clip, gfx 229 content/browser/android/in_process/synchronous_compositor_impl.cc const gfx::Vector2dF& max_scroll_offset) { gfx 236 content/browser/android/in_process/synchronous_compositor_impl.cc const gfx::Vector2dF& new_value) { gfx 242 content/browser/android/in_process/synchronous_compositor_impl.cc gfx::Vector2dF SynchronousCompositorImpl::GetTotalScrollOffset() { gfx 246 content/browser/android/in_process/synchronous_compositor_impl.cc return gfx::Vector2dF(); gfx 267 content/browser/android/in_process/synchronous_compositor_impl.cc const gfx::SizeF& scrollable_size) { gfx 52 content/browser/android/in_process/synchronous_compositor_impl.h scoped_refptr<gfx::GLSurface> surface) OVERRIDE; gfx 55 content/browser/android/in_process/synchronous_compositor_impl.h gfx::Size surface_size, gfx 56 content/browser/android/in_process/synchronous_compositor_impl.h const gfx::Transform& transform, gfx 57 content/browser/android/in_process/synchronous_compositor_impl.h gfx::Rect viewport, gfx 58 content/browser/android/in_process/synchronous_compositor_impl.h gfx::Rect clip, gfx 77 content/browser/android/in_process/synchronous_compositor_impl.h const gfx::Vector2dF& max_scroll_offset) OVERRIDE; gfx 78 content/browser/android/in_process/synchronous_compositor_impl.h virtual void SetTotalScrollOffset(const gfx::Vector2dF& new_value) OVERRIDE; gfx 79 content/browser/android/in_process/synchronous_compositor_impl.h virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE; gfx 85 content/browser/android/in_process/synchronous_compositor_impl.h virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) OVERRIDE; gfx 42 content/browser/android/in_process/synchronous_compositor_output_surface.cc virtual void Resize(const gfx::Size& size) OVERRIDE { gfx 45 content/browser/android/in_process/synchronous_compositor_output_surface.cc virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect) OVERRIDE { gfx 56 content/browser/android/in_process/synchronous_compositor_output_surface.cc virtual void CopyToPixels(const gfx::Rect& rect, void* pixels) OVERRIDE { gfx 122 content/browser/android/in_process/synchronous_compositor_output_surface.cc const gfx::Size& size, float scale_factor) { gfx 167 content/browser/android/in_process/synchronous_compositor_output_surface.cc void AdjustTransform(gfx::Transform* transform, gfx::Rect viewport) { gfx 190 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Size surface_size, gfx 191 content/browser/android/in_process/synchronous_compositor_output_surface.cc const gfx::Transform& transform, gfx 192 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Rect viewport, gfx 193 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Rect clip, gfx 214 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Rect clip = gfx::SkIRectToRect(canvas_clip); gfx 216 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Transform transform(gfx::Transform::kSkipInitialization); gfx 219 content/browser/android/in_process/synchronous_compositor_output_surface.cc surface_size_ = gfx::Size(canvas->getDeviceSize().width(), gfx 229 content/browser/android/in_process/synchronous_compositor_output_surface.cc const gfx::Transform& transform, gfx 230 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Rect viewport, gfx 231 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Rect clip, gfx 237 content/browser/android/in_process/synchronous_compositor_output_surface.cc gfx::Transform adjusted_transform = transform; gfx 241 content/browser/android/in_process/synchronous_compositor_output_surface.cc SetNeedsRedrawRect(gfx::Rect(viewport.size())); gfx 61 content/browser/android/in_process/synchronous_compositor_output_surface.h virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE; gfx 70 content/browser/android/in_process/synchronous_compositor_output_surface.h bool DemandDrawHw(gfx::Size surface_size, gfx 71 content/browser/android/in_process/synchronous_compositor_output_surface.h const gfx::Transform& transform, gfx 72 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect viewport, gfx 73 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect clip, gfx 85 content/browser/android/in_process/synchronous_compositor_output_surface.h void InvokeComposite(const gfx::Transform& transform, gfx 86 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect viewport, gfx 87 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect clip, gfx 97 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Transform cached_hw_transform_; gfx 98 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect cached_hw_viewport_; gfx 99 content/browser/android/in_process/synchronous_compositor_output_surface.h gfx::Rect cached_hw_clip_; gfx 24 content/browser/android/overscroll_glow.cc SkBitmap CreateSkBitmapFromAndroidResource(const char* name, gfx::Size size) { gfx 26 content/browser/android/overscroll_glow.cc gfx::CreateJavaBitmapFromAndroidResource(name, size); gfx 30 content/browser/android/overscroll_glow.cc SkBitmap bitmap = CreateSkBitmapFromJavaBitmap(gfx::JavaBitmap(jobj.obj())); gfx 44 content/browser/android/overscroll_glow.cc gfx::Size(128, 12)); gfx 47 content/browser/android/overscroll_glow.cc gfx::Size(128, 64)); gfx 74 content/browser/android/overscroll_glow.cc gfx::Vector2dF ZeroSmallComponents(gfx::Vector2dF vector) { gfx 126 content/browser/android/overscroll_glow.cc gfx::Vector2dF overscroll, gfx 127 content/browser/android/overscroll_glow.cc gfx::Vector2dF velocity) { gfx 195 content/browser/android/overscroll_glow.cc const gfx::SizeF sizes[EdgeEffect::EDGE_COUNT] = { gfx 196 content/browser/android/overscroll_glow.cc size_, gfx::SizeF(size_.height(), size_.width()), gfx 197 content/browser/android/overscroll_glow.cc size_, gfx::SizeF(size_.height(), size_.width()) gfx 271 content/browser/android/overscroll_glow.cc gfx::Vector2dF overscroll_delta) { gfx 277 content/browser/android/overscroll_glow.cc gfx::Vector2dF overscroll_pull = gfx::ScaleVector2d(overscroll_delta, gfx 297 content/browser/android/overscroll_glow.cc gfx::Vector2dF velocity, gfx 298 content/browser/android/overscroll_glow.cc gfx::Vector2dF overscroll, gfx 299 content/browser/android/overscroll_glow.cc gfx::Vector2dF old_overscroll) { gfx 326 content/browser/android/overscroll_glow.cc old_overscroll_ = old_velocity_ = gfx::Vector2dF(); gfx 51 content/browser/android/overscroll_glow.h gfx::Vector2dF overscroll, gfx 52 content/browser/android/overscroll_glow.h gfx::Vector2dF velocity); gfx 67 content/browser/android/overscroll_glow.h void set_size(gfx::SizeF size) { gfx 82 content/browser/android/overscroll_glow.h gfx::Vector2dF added_overscroll); gfx 84 content/browser/android/overscroll_glow.h gfx::Vector2dF velocity, gfx 85 content/browser/android/overscroll_glow.h gfx::Vector2dF overscroll, gfx 86 content/browser/android/overscroll_glow.h gfx::Vector2dF old_overscroll); gfx 96 content/browser/android/overscroll_glow.h gfx::SizeF size_; gfx 97 content/browser/android/overscroll_glow.h gfx::Vector2dF old_overscroll_; gfx 98 content/browser/android/overscroll_glow.h gfx::Vector2dF old_velocity_; gfx 21 content/browser/android/surface_texture_peer_browser_impl.cc scoped_refptr<gfx::SurfaceTexture> surface_texture, gfx 43 content/browser/android/surface_texture_peer_browser_impl.cc gfx::ScopedJavaSurface surface(surface_texture.get()); gfx 60 content/browser/android/surface_texture_peer_browser_impl.cc scoped_refptr<gfx::SurfaceTexture> surface_texture, gfx 27 content/browser/android/surface_texture_peer_browser_impl.h scoped_refptr<gfx::SurfaceTexture> surface_texture, gfx 388 content/browser/browser_main_loop.cc gfx::GtkInitFromCommandLine(parsed_command_line_); gfx 950 content/browser/browser_main_loop.cc if (!gfx::GLSurface::InitializeOneOff()) gfx 1063 content/browser/browser_main_loop.cc gfx::InitRCStyles(); gfx 133 content/browser/browser_plugin/browser_plugin_embedder.cc gfx::Point guest_offset = gfx 134 content/browser/browser_plugin/browser_plugin_embedder.cc guest_started_drag_->GetScreenCoordinates(gfx::Point()); gfx 28 content/browser/browser_plugin/browser_plugin_embedder.h namespace gfx { gfx 108 content/browser/browser_plugin/browser_plugin_embedder.h const gfx::Point& position); gfx 507 content/browser/browser_plugin/browser_plugin_guest.cc RequestNewWindowPermission(params.disposition, gfx::Rect(), gfx 732 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Rect src_subrect, gfx 733 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Size dst_size, gfx 742 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Rect BrowserPluginGuest::ToGuestRect(const gfx::Rect& bounds) { gfx 743 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Rect guest_rect(bounds); gfx 756 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Rect& initial_pos, gfx 847 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Rect& selection_rect, gfx 973 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Point BrowserPluginGuest::GetScreenCoordinates( gfx 974 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Point& relative_position) const { gfx 975 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Point screen_pos(relative_position); gfx 980 content/browser/browser_plugin/browser_plugin_guest.cc bool BrowserPluginGuest::InAutoSizeBounds(const gfx::Size& size) const { gfx 987 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Rect& initial_bounds, gfx 1326 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Point& location) { gfx 1372 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Range::InvalidRange(), gfx 1397 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Rect& guest_window_rect, gfx 1582 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Size old_max_size = max_auto_size_; gfx 1583 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Size old_min_size = min_auto_size_; gfx 1689 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Rect& view_rect) { gfx 1711 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Rect translated_bounds(params.bounds); gfx 1727 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Rect& initial_pos) { gfx 1833 content/browser/browser_plugin/browser_plugin_guest.cc gfx::Size old_size = last_seen_view_size_; gfx 1907 content/browser/browser_plugin/browser_plugin_guest.cc const gfx::Range& range, gfx 1908 content/browser/browser_plugin/browser_plugin_guest.cc const std::vector<gfx::Rect>& character_bounds) { gfx 65 content/browser/browser_plugin/browser_plugin_guest.h namespace gfx { gfx 166 content/browser/browser_plugin/browser_plugin_guest.h gfx::Rect src_subrect, gfx 167 content/browser/browser_plugin/browser_plugin_guest.h gfx::Size dst_size, gfx 196 content/browser/browser_plugin/browser_plugin_guest.h const gfx::Rect& initial_pos, gfx 218 content/browser/browser_plugin/browser_plugin_guest.h const gfx::Rect& selection_rect, gfx 271 content/browser/browser_plugin/browser_plugin_guest.h gfx::Point GetScreenCoordinates(const gfx::Point& relative_position) const; gfx 309 content/browser/browser_plugin/browser_plugin_guest.h gfx::Rect ToGuestRect(const gfx::Rect& rect); gfx 391 content/browser/browser_plugin/browser_plugin_guest.h const gfx::Size& damage_view_size() const { return damage_view_size_; } gfx 399 content/browser/browser_plugin/browser_plugin_guest.h bool InAutoSizeBounds(const gfx::Size& size) const; gfx 402 content/browser/browser_plugin/browser_plugin_guest.h const gfx::Rect& initial_bounds, gfx 423 content/browser/browser_plugin/browser_plugin_guest.h const gfx::Point& location); gfx 435 content/browser/browser_plugin/browser_plugin_guest.h const gfx::Rect& guest_window_rect, gfx 482 content/browser/browser_plugin/browser_plugin_guest.h void OnUpdateGeometry(int instance_id, const gfx::Rect& view_rect); gfx 507 content/browser/browser_plugin/browser_plugin_guest.h const gfx::Range& range, gfx 508 content/browser/browser_plugin/browser_plugin_guest.h const std::vector<gfx::Rect>& character_bounds); gfx 524 content/browser/browser_plugin/browser_plugin_guest.h void OnShowWidget(int route_id, const gfx::Rect& initial_pos); gfx 561 content/browser/browser_plugin/browser_plugin_guest.h gfx::Size damage_view_size_; gfx 564 content/browser/browser_plugin/browser_plugin_guest.h gfx::Rect guest_window_rect_; gfx 565 content/browser/browser_plugin/browser_plugin_guest.h gfx::Rect guest_screen_rect_; gfx 575 content/browser/browser_plugin/browser_plugin_guest.h gfx::Size max_auto_size_; gfx 576 content/browser/browser_plugin/browser_plugin_guest.h gfx::Size min_auto_size_; gfx 602 content/browser/browser_plugin/browser_plugin_guest.h gfx::Size last_seen_view_size_; gfx 23 content/browser/browser_plugin/browser_plugin_guest_manager.h namespace gfx { gfx 360 content/browser/browser_plugin/browser_plugin_host_browsertest.cc const gfx::Size nxt_size = gfx::Size(100, 200); gfx 612 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rvh->DragTargetDragEnter(drop_data, gfx::Point(start_x, start_y), gfx 613 content/browser/browser_plugin/browser_plugin_host_browsertest.cc gfx::Point(start_x, start_y), blink::WebDragOperationEvery, 0); gfx 614 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rvh->DragTargetDragOver(gfx::Point(end_x, end_y), gfx::Point(end_x, end_y), gfx 616 content/browser/browser_plugin/browser_plugin_host_browsertest.cc rvh->DragTargetDrop(gfx::Point(end_x, end_y), gfx::Point(end_x, end_y), 0); gfx 896 content/browser/browser_plugin/browser_plugin_host_browsertest.cc gfx::Rect(), gfx 937 content/browser/browser_plugin/browser_plugin_host_browsertest.cc gfx::Point kClickPoints[3] = { gfx 938 content/browser/browser_plugin/browser_plugin_host_browsertest.cc gfx::Point(20, 20), gfx::Point(700, 20), gfx::Point(20, 20) gfx 1005 content/browser/browser_plugin/browser_plugin_host_browsertest.cc gfx::Range(), gfx 32 content/browser/browser_plugin/test_browser_plugin_guest.cc last_damage_buffer_size_(gfx::Size()) { gfx 73 content/browser/browser_plugin/test_browser_plugin_guest.cc const gfx::Size& size) { gfx 95 content/browser/browser_plugin/test_browser_plugin_guest.cc const gfx::Rect& guest_window_rect, gfx 173 content/browser/browser_plugin/test_browser_plugin_guest.cc void TestBrowserPluginGuest::WaitForViewSize(const gfx::Size& view_size) { gfx 175 content/browser/browser_plugin/test_browser_plugin_guest.cc last_view_size_observed_ = gfx::Size(); gfx 182 content/browser/browser_plugin/test_browser_plugin_guest.cc last_view_size_observed_ = gfx::Size(); gfx 33 content/browser/browser_plugin/test_browser_plugin_guest.h const gfx::Rect& guest_window_rect, gfx 51 content/browser/browser_plugin/test_browser_plugin_guest.h void WaitForDamageBufferWithSize(const gfx::Size& size); gfx 67 content/browser/browser_plugin/test_browser_plugin_guest.h void WaitForViewSize(const gfx::Size& view_size); gfx 94 content/browser/browser_plugin/test_browser_plugin_guest.h gfx::Size last_view_size_observed_; gfx 95 content/browser/browser_plugin/test_browser_plugin_guest.h gfx::Size expected_auto_view_size_; gfx 99 content/browser/browser_plugin/test_browser_plugin_guest.h gfx::Size expected_damage_buffer_size_; gfx 100 content/browser/browser_plugin/test_browser_plugin_guest.h gfx::Size last_damage_buffer_size_; gfx 64 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc void TestBrowserPluginGuestDelegate::SizeChanged(const gfx::Size& old_size, gfx 65 content/browser/browser_plugin/test_browser_plugin_guest_delegate.cc const gfx::Size& new_size) { gfx 42 content/browser/browser_plugin/test_browser_plugin_guest_delegate.h virtual void SizeChanged(const gfx::Size& old_size, gfx 43 content/browser/browser_plugin/test_browser_plugin_guest_delegate.h const gfx::Size& new_size) OVERRIDE; gfx 70 content/browser/compositor/browser_compositor_output_surface.cc void BrowserCompositorOutputSurface::Reshape(const gfx::Size& size, gfx 32 content/browser/compositor/browser_compositor_output_surface.h virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE; gfx 43 content/browser/compositor/gpu_browser_compositor_output_surface.cc gfx::Rect(frame->gl_frame_data->size)) gfx 63 content/browser/compositor/gpu_process_transport_factory.cc const gfx::Size& size, gfx 115 content/browser/compositor/gpu_process_transport_factory.cc gfx::Size(0, 0), gfx 120 content/browser/compositor/gpu_process_transport_factory.cc const gfx::Size& new_size) OVERRIDE { gfx 186 content/browser/compositor/gpu_process_transport_factory.cc gfx::AcceleratedWidget widget) { gfx 188 content/browser/compositor/gpu_process_transport_factory.cc gfx::OverlayCandidatesOzone* overlay_candidates = gfx 189 content/browser/compositor/gpu_process_transport_factory.cc gfx::SurfaceFactoryOzone::GetInstance()->GetOverlayCandidates(widget); gfx 319 content/browser/compositor/gpu_process_transport_factory.cc gfx::GLSurfaceHandle GpuProcessTransportFactory::GetSharedSurfaceHandle() { gfx 320 content/browser/compositor/gpu_process_transport_factory.cc gfx::GLSurfaceHandle handle = gfx::GLSurfaceHandle( gfx 321 content/browser/compositor/gpu_process_transport_factory.cc gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); gfx 342 content/browser/compositor/gpu_process_transport_factory.cc const gfx::Size& size, gfx 424 content/browser/compositor/gpu_process_transport_factory.cc gfx::AcceleratedWidget widget = compositor->widget(); gfx 431 content/browser/compositor/gpu_process_transport_factory.cc gfx::GLSurfaceHandle(widget, gfx::NATIVE_DIRECT)); gfx 54 content/browser/compositor/gpu_process_transport_factory.h virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() OVERRIDE; gfx 58 content/browser/compositor/gpu_process_transport_factory.h const gfx::Size& size, gfx 20 content/browser/compositor/image_transport_factory.cc static gfx::DisableNullDrawGLBindings* g_disable_null_draw = NULL; gfx 41 content/browser/compositor/image_transport_factory.cc g_disable_null_draw = new gfx::DisableNullDrawGLBindings; gfx 15 content/browser/compositor/image_transport_factory.h namespace gfx { gfx 70 content/browser/compositor/image_transport_factory.h virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() = 0; gfx 79 content/browser/compositor/image_transport_factory.h const gfx::Size& size, gfx 20 content/browser/compositor/no_transport_image_transport_factory.cc : ui::Texture(false, gfx::Size(), device_scale_factor), gfx 29 content/browser/compositor/no_transport_image_transport_factory.cc const gfx::Size& new_size) OVERRIDE { gfx 63 content/browser/compositor/no_transport_image_transport_factory.cc gfx::GLSurfaceHandle gfx 65 content/browser/compositor/no_transport_image_transport_factory.cc return gfx::GLSurfaceHandle(); gfx 76 content/browser/compositor/no_transport_image_transport_factory.cc const gfx::Size& size, gfx 26 content/browser/compositor/no_transport_image_transport_factory.h virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() OVERRIDE; gfx 30 content/browser/compositor/no_transport_image_transport_factory.h const gfx::Size& size, gfx 11 content/browser/compositor/overlay_candidate_validator_ozone.cc static gfx::SurfaceFactoryOzone::BufferFormat GetOzoneFormat( gfx 15 content/browser/compositor/overlay_candidate_validator_ozone.cc return gfx::SurfaceFactoryOzone::RGBA_8888; gfx 24 content/browser/compositor/overlay_candidate_validator_ozone.cc return gfx::SurfaceFactoryOzone::UNKNOWN; gfx 28 content/browser/compositor/overlay_candidate_validator_ozone.cc gfx::AcceleratedWidget widget, gfx 29 content/browser/compositor/overlay_candidate_validator_ozone.cc gfx::OverlayCandidatesOzone* overlay_candidates) gfx 37 content/browser/compositor/overlay_candidate_validator_ozone.cc gfx::OverlayCandidatesOzone::OverlaySurfaceCandidateList ozone_surface_list; gfx 13 content/browser/compositor/overlay_candidate_validator_ozone.h namespace gfx { gfx 23 content/browser/compositor/overlay_candidate_validator_ozone.h gfx::AcceleratedWidget widget, gfx 24 content/browser/compositor/overlay_candidate_validator_ozone.h gfx::OverlayCandidatesOzone* overlay_candidates); gfx 31 content/browser/compositor/overlay_candidate_validator_ozone.h gfx::AcceleratedWidget widget_; gfx 32 content/browser/compositor/overlay_candidate_validator_ozone.h gfx::OverlayCandidatesOzone* overlay_candidates_; gfx 104 content/browser/compositor/reflector_impl.cc void ReflectorImpl::OnReshape(gfx::Size size) { gfx 137 content/browser/compositor/reflector_impl.cc void ReflectorImpl::OnPostSubBuffer(gfx::Rect rect) { gfx 153 content/browser/compositor/reflector_impl.cc void ReflectorImpl::CreateSharedTextureOnMainThread(gfx::Size size) { gfx 187 content/browser/compositor/reflector_impl.cc void ReflectorImpl::UpdateTextureSizeOnMainThread(gfx::Size size) { gfx 190 content/browser/compositor/reflector_impl.cc mirroring_layer_->SetBounds(gfx::Rect(size)); gfx 193 content/browser/compositor/reflector_impl.cc void ReflectorImpl::FullRedrawOnMainThread(gfx::Size size) { gfx 200 content/browser/compositor/reflector_impl.cc void ReflectorImpl::UpdateSubBufferOnMainThread(gfx::Size size, gfx 201 content/browser/compositor/reflector_impl.cc gfx::Rect rect) { gfx 207 content/browser/compositor/reflector_impl.cc gfx::Rect new_rect(rect.x(), y, rect.width(), rect.height()); gfx 18 content/browser/compositor/reflector_impl.h namespace gfx { class Rect; } gfx 61 content/browser/compositor/reflector_impl.h void OnReshape(gfx::Size size); gfx 71 content/browser/compositor/reflector_impl.h void OnPostSubBuffer(gfx::Rect rect); gfx 77 content/browser/compositor/reflector_impl.h void CreateSharedTextureOnMainThread(gfx::Size size); gfx 89 content/browser/compositor/reflector_impl.h void UpdateTextureSizeOnMainThread(gfx::Size size); gfx 92 content/browser/compositor/reflector_impl.h void FullRedrawOnMainThread(gfx::Size size); gfx 94 content/browser/compositor/reflector_impl.h void UpdateSubBufferOnMainThread(gfx::Size size, gfx::Rect rect); gfx 112 content/browser/compositor/reflector_impl.h gfx::Size texture_size_; gfx 9 content/browser/compositor/resize_lock.cc ResizeLock::ResizeLock(const gfx::Size new_size, bool defer_compositor_lock) gfx 21 content/browser/compositor/resize_lock.h const gfx::Size& expected_size() const { return new_size_; } gfx 24 content/browser/compositor/resize_lock.h ResizeLock(const gfx::Size new_size, bool defer_compositor_lock); gfx 29 content/browser/compositor/resize_lock.h gfx::Size new_size_; gfx 46 content/browser/compositor/software_browser_compositor_output_surface.cc gfx::VSyncProvider* vsync_provider = software_device()->GetVSyncProvider(); gfx 16 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc class FakeVSyncProvider : public gfx::VSyncProvider { gfx 46 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc virtual gfx::VSyncProvider* GetVSyncProvider() OVERRIDE { gfx 51 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc scoped_ptr<gfx::VSyncProvider> vsync_provider_; gfx 96 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc compositor_.reset(new ui::Compositor(gfx::kNullAcceleratedWidget)); gfx 17 content/browser/compositor/software_output_device_ozone.cc gfx::SurfaceFactoryOzone* factory = gfx::SurfaceFactoryOzone::GetInstance(); gfx 19 content/browser/compositor/software_output_device_ozone.cc if (factory->InitializeHardware() != gfx::SurfaceFactoryOzone::INITIALIZED) gfx 33 content/browser/compositor/software_output_device_ozone.cc void SoftwareOutputDeviceOzone::Resize(const gfx::Size& viewport_size) { gfx 42 content/browser/compositor/software_output_device_ozone.cc SkCanvas* SoftwareOutputDeviceOzone::BeginPaint(const gfx::Rect& damage_rect) { gfx 43 content/browser/compositor/software_output_device_ozone.cc DCHECK(gfx::Rect(viewport_size_).Contains(damage_rect)); gfx 48 content/browser/compositor/software_output_device_ozone.cc canvas_->clipRect(gfx::RectToSkRect(damage_rect), SkRegion::kReplace_Op); gfx 16 content/browser/compositor/software_output_device_ozone.h namespace gfx { gfx 31 content/browser/compositor/software_output_device_ozone.h virtual void Resize(const gfx::Size& viewport_size) OVERRIDE; gfx 32 content/browser/compositor/software_output_device_ozone.h virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect) OVERRIDE; gfx 38 content/browser/compositor/software_output_device_ozone.h scoped_ptr<gfx::SurfaceOzone> surface_ozone_; gfx 22 content/browser/compositor/software_output_device_ozone_unittest.cc class MockSurfaceOzone : public gfx::SurfaceOzoneBase { gfx 29 content/browser/compositor/software_output_device_ozone_unittest.cc virtual bool ResizeCanvas(const gfx::Size& size) OVERRIDE { gfx 44 content/browser/compositor/software_output_device_ozone_unittest.cc class MockSurfaceFactoryOzone : public gfx::SurfaceFactoryOzone { gfx 54 content/browser/compositor/software_output_device_ozone_unittest.cc virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE { return 1; } gfx 60 content/browser/compositor/software_output_device_ozone_unittest.cc virtual scoped_ptr<gfx::SurfaceOzone> CreateSurfaceForWidget( gfx 61 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::AcceleratedWidget widget) OVERRIDE { gfx 62 content/browser/compositor/software_output_device_ozone_unittest.cc return make_scoped_ptr<gfx::SurfaceOzone>(new MockSurfaceOzone()); gfx 86 content/browser/compositor/software_output_device_ozone_unittest.cc scoped_ptr<gfx::SurfaceFactoryOzone> surface_factory_; gfx 104 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::SurfaceFactoryOzone::SetInstance(surface_factory_.get()); gfx 106 content/browser/compositor/software_output_device_ozone_unittest.cc const gfx::Size size(500, 400); gfx 108 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::SurfaceFactoryOzone::GetInstance()->GetAcceleratedWidget())); gfx 136 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Rect damage(10, 10, 100, 100); gfx 142 content/browser/compositor/software_output_device_ozone_unittest.cc EXPECT_EQ(damage.ToString(), gfx::SkIRectToRect(sk_bounds).ToString()); gfx 146 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Rect damage(10, 10, 100, 100); gfx 152 content/browser/compositor/software_output_device_ozone_unittest.cc damage = gfx::Rect(100, 100, 100, 100); gfx 157 content/browser/compositor/software_output_device_ozone_unittest.cc EXPECT_EQ(damage.ToString(), gfx::SkIRectToRect(sk_bounds).ToString()); gfx 161 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Rect damage(0, 0, 100, 100); gfx 162 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Size size(200, 100); gfx 167 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Size canvas_size(canvas->getDeviceSize().width(), gfx 185 content/browser/compositor/software_output_device_ozone_unittest.cc const gfx::Rect area(width, height); gfx 196 content/browser/compositor/software_output_device_ozone_unittest.cc gfx::Rect damage(area.width() / 2, area.height() / 2); gfx 32 content/browser/compositor/software_output_device_win.cc void SoftwareOutputDeviceWin::Resize(const gfx::Size& viewport_size) { gfx 39 content/browser/compositor/software_output_device_win.cc contents_.reset(new gfx::Canvas(viewport_size, 1.0f, true)); gfx 41 content/browser/compositor/software_output_device_win.cc gfx::CreateBitmapHeader(viewport_size_.width(), viewport_size_.height(), gfx 45 content/browser/compositor/software_output_device_win.cc SkCanvas* SoftwareOutputDeviceWin::BeginPaint(const gfx::Rect& damage_rect) { gfx 63 content/browser/compositor/software_output_device_win.cc gfx::Rect rect = damage_rect_; gfx 64 content/browser/compositor/software_output_device_win.cc rect.Intersect(gfx::Rect(viewport_size_)); gfx 95 content/browser/compositor/software_output_device_win.cc void SoftwareOutputDeviceWin::CopyToPixels(const gfx::Rect& rect, gfx 13 content/browser/compositor/software_output_device_win.h namespace gfx { gfx 28 content/browser/compositor/software_output_device_win.h virtual void Resize(const gfx::Size& viewport_size) OVERRIDE; gfx 29 content/browser/compositor/software_output_device_win.h virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect) OVERRIDE; gfx 31 content/browser/compositor/software_output_device_win.h virtual void CopyToPixels(const gfx::Rect& rect, void* pixels) OVERRIDE; gfx 36 content/browser/compositor/software_output_device_win.h scoped_ptr<gfx::Canvas> contents_; gfx 19 content/browser/compositor/software_output_device_x11.cc : compositor_(compositor), display_(gfx::GetXDisplay()), gc_(NULL) { gfx 47 content/browser/compositor/software_output_device_x11.cc gfx::Rect rect = damage_rect_; gfx 48 content/browser/compositor/software_output_device_x11.cc rect.Intersect(gfx::Rect(viewport_size_)); gfx 56 content/browser/compositor/software_output_device_x11.cc gfx::PutARGBImage(display_, gfx 199 content/browser/devtools/renderer_overrides_handler.cc gfx::Rect view_bounds = host->GetView()->GetViewBounds(); gfx 200 content/browser/devtools/renderer_overrides_handler.cc gfx::Size snapshot_size = gfx::ToFlooredSize( gfx 201 content/browser/devtools/renderer_overrides_handler.cc gfx::ScaleSize(view_bounds.size(), scale)); gfx 234 content/browser/devtools/renderer_overrides_handler.cc gfx::Rect view_bounds = host->GetView()->GetViewBounds(); gfx 444 content/browser/devtools/renderer_overrides_handler.cc gfx::Rect view_bounds = host->GetView()->GetViewBounds(); gfx 445 content/browser/devtools/renderer_overrides_handler.cc gfx::Rect snapshot_bounds(view_bounds.size()); gfx 446 content/browser/devtools/renderer_overrides_handler.cc gfx::Size snapshot_size = snapshot_bounds.size(); gfx 534 content/browser/devtools/renderer_overrides_handler.cc encoded = gfx::PNGCodec::Encode( gfx 536 content/browser/devtools/renderer_overrides_handler.cc gfx::PNGCodec::FORMAT_SkBitmap, gfx 537 content/browser/devtools/renderer_overrides_handler.cc gfx::Size(bitmap.width(), bitmap.height()), gfx 539 content/browser/devtools/renderer_overrides_handler.cc false, std::vector<gfx::PNGCodec::Comment>(), &data); gfx 541 content/browser/devtools/renderer_overrides_handler.cc encoded = gfx::JPEGCodec::Encode( gfx 543 content/browser/devtools/renderer_overrides_handler.cc gfx::JPEGCodec::FORMAT_SkBitmap, gfx 125 content/browser/frame_host/cross_process_frame_connector.cc void CrossProcessFrameConnector::OnInitializeChildFrame(gfx::Rect frame_rect, gfx 143 content/browser/frame_host/cross_process_frame_connector.cc gfx::Rect CrossProcessFrameConnector::ChildFrameRect() { gfx 91 content/browser/frame_host/cross_process_frame_connector.h gfx::Rect ChildFrameRect(); gfx 102 content/browser/frame_host/cross_process_frame_connector.h void OnInitializeChildFrame(gfx::Rect frame_rect, float scale_factor); gfx 113 content/browser/frame_host/cross_process_frame_connector.h gfx::Rect child_frame_rect_; gfx 81 content/browser/frame_host/interstitial_page_impl.cc virtual void ShowPopupMenu(const gfx::Rect& bounds, gfx 92 content/browser/frame_host/interstitial_page_impl.cc const gfx::ImageSkia& image, gfx 93 content/browser/frame_host/interstitial_page_impl.cc const gfx::Vector2d& image_offset, gfx 100 content/browser/frame_host/interstitial_page_impl.cc const gfx::Rect& selection_rect, gfx 534 content/browser/frame_host/interstitial_page_impl.cc gfx::NativeViewAccessible gfx 677 content/browser/frame_host/interstitial_page_impl.cc void InterstitialPageImpl::SetSize(const gfx::Size& size) { gfx 726 content/browser/frame_host/interstitial_page_impl.cc gfx::Rect InterstitialPageImpl::GetRootWindowResizerRect() const { gfx 727 content/browser/frame_host/interstitial_page_impl.cc return gfx::Rect(); gfx 753 content/browser/frame_host/interstitial_page_impl.cc const gfx::Rect& initial_pos, gfx 759 content/browser/frame_host/interstitial_page_impl.cc const gfx::Rect& initial_pos) { gfx 854 content/browser/frame_host/interstitial_page_impl.cc const gfx::Rect& bounds, gfx 872 content/browser/frame_host/interstitial_page_impl.cc const gfx::ImageSkia& image, gfx 873 content/browser/frame_host/interstitial_page_impl.cc const gfx::Vector2d& image_offset, gfx 902 content/browser/frame_host/interstitial_page_impl.cc int request_id, int number_of_matches, const gfx::Rect& selection_rect, gfx 69 content/browser/frame_host/interstitial_page_impl.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 133 content/browser/frame_host/interstitial_page_impl.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 147 content/browser/frame_host/interstitial_page_impl.h const gfx::Rect& initial_pos, gfx 150 content/browser/frame_host/interstitial_page_impl.h const gfx::Rect& initial_pos) OVERRIDE; gfx 167 content/browser/frame_host/interstitial_page_impl.h virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; gfx 45 content/browser/frame_host/navigation_controller_impl_unittest.cc gfx::Image CreateImage(SkColor color) { gfx 50 content/browser/frame_host/navigation_controller_impl_unittest.cc return gfx::Image::CreateFrom1xBitmap(bitmap); gfx 54 content/browser/frame_host/navigation_controller_impl_unittest.cc bool DoImagesMatch(const gfx::Image& a, const gfx::Image& b) { gfx 3826 content/browser/frame_host/navigation_controller_impl_unittest.cc const gfx::Image kDefaultFavicon = FaviconStatus().image; gfx 3877 content/browser/frame_host/navigation_controller_impl_unittest.cc gfx::Image favicon_image = CreateImage(SK_ColorWHITE); gfx 196 content/browser/frame_host/navigation_entry_impl.cc gfx::ElideString(title, kMaxTitleChars, &cached_display_title_); gfx 69 content/browser/frame_host/navigation_entry_screenshot_manager.cc if (gfx::PNGCodec::EncodeA8SkBitmap(a8Bitmap, &data)) gfx 139 content/browser/frame_host/navigation_entry_screenshot_manager.cc gfx::Rect(), gfx 129 content/browser/frame_host/render_frame_host_impl.cc gfx::NativeView RenderFrameHostImpl::GetNativeView() { gfx 724 content/browser/frame_host/render_frame_host_impl.cc void RenderFrameHostImpl::SelectRange(const gfx::Point& start, gfx 725 content/browser/frame_host/render_frame_host_impl.cc const gfx::Point& end) { gfx 29 content/browser/frame_host/render_frame_host_impl.h namespace gfx { gfx 60 content/browser/frame_host/render_frame_host_impl.h virtual gfx::NativeView GetNativeView() OVERRIDE; gfx 165 content/browser/frame_host/render_frame_host_impl.h void SelectRange(const gfx::Point& start, const gfx::Point& end); gfx 1337 content/browser/frame_host/render_frame_host_manager_browsertest.cc MSG_ROUTING_NONE, gfx::Size()); gfx 26 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::NativeView parent_view) { gfx 34 content/browser/frame_host/render_widget_host_view_child_frame.cc void RenderWidgetHostViewChildFrame::SetSize(const gfx::Size& size) { gfx 38 content/browser/frame_host/render_widget_host_view_child_frame.cc void RenderWidgetHostViewChildFrame::SetBounds(const gfx::Rect& rect) { gfx 66 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::Rect RenderWidgetHostViewChildFrame::GetViewBounds() const { gfx 67 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::Rect rect; gfx 73 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::NativeView RenderWidgetHostViewChildFrame::GetNativeView() const { gfx 78 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::NativeViewId RenderWidgetHostViewChildFrame::GetNativeViewId() const { gfx 83 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::NativeViewAccessible gfx 93 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const { gfx 94 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::Size size; gfx 102 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Rect& pos) { gfx 117 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Range& range, gfx 118 content/browser/frame_host/render_widget_host_view_child_frame.cc const std::vector<gfx::Rect>& character_bounds) { gfx 124 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Rect& scroll_rect, gfx 125 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Vector2d& scroll_delta, gfx 126 content/browser/frame_host/render_widget_host_view_child_frame.cc const std::vector<gfx::Rect>& copy_rects, gfx 144 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Vector2d& scroll_offset, gfx 191 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Range& range) { gfx 200 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Rect& bounds) { gfx 242 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::Rect RenderWidgetHostViewChildFrame::GetBoundsInRootWindow() { gfx 299 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Rect& target_rect, gfx 309 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::NativeView RenderWidgetHostViewChildFrame::BuildInputMethodsGtkMenu() { gfx 315 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Size& size) { gfx 321 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Rect& src_subrect, gfx 322 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Size& /* dst_size */, gfx 329 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Rect& src_subrect, gfx 348 content/browser/frame_host/render_widget_host_view_child_frame.cc const gfx::Size& desired_size) { gfx 352 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::GLSurfaceHandle RenderWidgetHostViewChildFrame::GetCompositingSurface() { gfx 353 content/browser/frame_host/render_widget_host_view_child_frame.cc return gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); gfx 366 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::NativeViewAccessible accessible_parent) { gfx 369 content/browser/frame_host/render_widget_host_view_child_frame.cc gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() gfx 39 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; gfx 41 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 42 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; gfx 49 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 50 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 51 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; gfx 52 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 54 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; gfx 58 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Rect& pos) OVERRIDE; gfx 64 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Vector2d& scroll_offset, gfx 75 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Range& range, gfx 76 content/browser/frame_host/render_widget_host_view_child_frame.h const std::vector<gfx::Rect>& character_bounds) OVERRIDE; gfx 79 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Rect& scroll_rect, gfx 80 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Vector2d& scroll_delta, gfx 81 content/browser/frame_host/render_widget_host_view_child_frame.h const std::vector<gfx::Rect>& copy_rects, gfx 89 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Range& range) OVERRIDE; gfx 93 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE; gfx 96 content/browser/frame_host/render_widget_host_view_child_frame.h virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; gfx 98 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Rect& src_subrect, gfx 99 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Size& dst_size, gfx 103 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Rect& src_subrect, gfx 118 content/browser/frame_host/render_widget_host_view_child_frame.h virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; gfx 123 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; gfx 124 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; gfx 157 content/browser/frame_host/render_widget_host_view_child_frame.h const gfx::Rect& target_rect, gfx 163 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; gfx 168 content/browser/frame_host/render_widget_host_view_child_frame.h gfx::NativeViewAccessible accessible_parent) OVERRIDE; gfx 169 content/browser/frame_host/render_widget_host_view_child_frame.h virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; gfx 85 content/browser/frame_host/render_widget_host_view_guest.cc void RenderWidgetHostViewGuest::SetSize(const gfx::Size& size) { gfx 90 content/browser/frame_host/render_widget_host_view_guest.cc void RenderWidgetHostViewGuest::SetBounds(const gfx::Rect& rect) { gfx 118 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Rect RenderWidgetHostViewGuest::GetViewBounds() const { gfx 120 content/browser/frame_host/render_widget_host_view_guest.cc return gfx::Rect(); gfx 124 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Rect embedder_bounds; gfx 127 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Rect shifted_rect = guest_->ToGuestRect(embedder_bounds); gfx 149 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Size RenderWidgetHostViewGuest::GetPhysicalBackingSize() const { gfx 233 content/browser/frame_host/render_widget_host_view_guest.cc gfx::NativeView parent_view) { gfx 238 content/browser/frame_host/render_widget_host_view_guest.cc RenderWidgetHostView* parent_host_view, const gfx::Rect& pos) { gfx 249 content/browser/frame_host/render_widget_host_view_guest.cc gfx::NativeView RenderWidgetHostViewGuest::GetNativeView() const { gfx 251 content/browser/frame_host/render_widget_host_view_guest.cc return gfx::NativeView(); gfx 255 content/browser/frame_host/render_widget_host_view_guest.cc return gfx::NativeView(); gfx 259 content/browser/frame_host/render_widget_host_view_guest.cc gfx::NativeViewId RenderWidgetHostViewGuest::GetNativeViewId() const { gfx 261 content/browser/frame_host/render_widget_host_view_guest.cc return static_cast<gfx::NativeViewId>(NULL); gfx 265 content/browser/frame_host/render_widget_host_view_guest.cc return static_cast<gfx::NativeViewId>(NULL); gfx 269 content/browser/frame_host/render_widget_host_view_guest.cc gfx::NativeViewAccessible RenderWidgetHostViewGuest::GetNativeViewAccessible() { gfx 271 content/browser/frame_host/render_widget_host_view_guest.cc return gfx::NativeViewAccessible(); gfx 275 content/browser/frame_host/render_widget_host_view_guest.cc return gfx::NativeViewAccessible(); gfx 280 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Vector2d& scroll_offset, gfx 322 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Range& range, gfx 323 content/browser/frame_host/render_widget_host_view_guest.cc const std::vector<gfx::Rect>& character_bounds) { gfx 331 content/browser/frame_host/render_widget_host_view_guest.cc std::vector<gfx::Rect> guest_character_bounds; gfx 333 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Rect guest_rect = guest_->ToGuestRect(character_bounds[i]); gfx 342 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Rect& scroll_rect, gfx 343 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Vector2d& scroll_delta, gfx 344 content/browser/frame_host/render_widget_host_view_guest.cc const std::vector<gfx::Rect>& copy_rects, gfx 351 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Range& range) { gfx 372 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Rect& bounds) { gfx 386 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Rect& src_subrect, gfx 387 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Size& dst_size, gfx 448 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Point origin; gfx 449 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Rect guest_bounds = GetViewBounds(); gfx 451 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Rect embedder_bounds; gfx 455 content/browser/frame_host/render_widget_host_view_guest.cc gfx::Vector2d guest_offset = gfx::Vector2d( gfx 492 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Rect& target_rect, gfx 502 content/browser/frame_host/render_widget_host_view_guest.cc gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { gfx 509 content/browser/frame_host/render_widget_host_view_guest.cc gfx::NativeViewAccessible accessible_parent) { gfx 512 content/browser/frame_host/render_widget_host_view_guest.cc gfx::NativeViewId RenderWidgetHostViewGuest::GetParentForWindowlessPlugin() gfx 560 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Point& client_point = gesture->location(); gfx 561 content/browser/frame_host/render_widget_host_view_guest.cc const gfx::Point& screen_point = gesture->location(); gfx 53 content/browser/frame_host/render_widget_host_view_guest.h virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; gfx 54 content/browser/frame_host/render_widget_host_view_guest.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 55 content/browser/frame_host/render_widget_host_view_guest.h virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; gfx 56 content/browser/frame_host/render_widget_host_view_guest.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 57 content/browser/frame_host/render_widget_host_view_guest.h virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; gfx 58 content/browser/frame_host/render_widget_host_view_guest.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 59 content/browser/frame_host/render_widget_host_view_guest.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 61 content/browser/frame_host/render_widget_host_view_guest.h virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; gfx 66 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Rect& pos) OVERRIDE; gfx 72 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Vector2d& scroll_offset, gfx 82 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Range& range, gfx 83 content/browser/frame_host/render_widget_host_view_guest.h const std::vector<gfx::Rect>& character_bounds) OVERRIDE; gfx 86 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Rect& scroll_rect, gfx 87 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Vector2d& scroll_delta, gfx 88 content/browser/frame_host/render_widget_host_view_guest.h const std::vector<gfx::Rect>& copy_rects, gfx 96 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Range& range) OVERRIDE; gfx 100 content/browser/frame_host/render_widget_host_view_guest.h virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE; gfx 103 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Rect& src_subrect, gfx 104 content/browser/frame_host/render_widget_host_view_guest.h const gfx::Size& dst_size, gfx 148 content/browser/frame_host/render_widget_host_view_guest.h virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, gfx 154 content/browser/frame_host/render_widget_host_view_guest.h virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; gfx 159 content/browser/frame_host/render_widget_host_view_guest.h gfx::NativeViewAccessible accessible_parent) OVERRIDE; gfx 160 content/browser/frame_host/render_widget_host_view_guest.h virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; gfx 186 content/browser/frame_host/render_widget_host_view_guest.h gfx::Size size_; gfx 208 content/browser/gpu/browser_gpu_channel_host_factory.cc gfx::GLSurfaceHandle surface = gfx 249 content/browser/gpu/browser_gpu_channel_host_factory.cc gfx::PluginWindowHandle window, gfx 254 content/browser/gpu/browser_gpu_channel_host_factory.cc ImageCreatedOnIO(callback, gfx::Size()); gfx 267 content/browser/gpu/browser_gpu_channel_host_factory.cc const CreateImageCallback& callback, const gfx::Size size) { gfx 277 content/browser/gpu/browser_gpu_channel_host_factory.cc const CreateImageCallback& callback, const gfx::Size size) { gfx 282 content/browser/gpu/browser_gpu_channel_host_factory.cc gfx::PluginWindowHandle window, gfx 374 content/browser/gpu/browser_gpu_channel_host_factory.cc scoped_ptr<gfx::GpuMemoryBuffer> gfx 380 content/browser/gpu/browser_gpu_channel_host_factory.cc return scoped_ptr<gfx::GpuMemoryBuffer>(); gfx 386 content/browser/gpu/browser_gpu_channel_host_factory.cc return scoped_ptr<gfx::GpuMemoryBuffer>(); gfx 389 content/browser/gpu/browser_gpu_channel_host_factory.cc new GpuMemoryBufferImplShm(gfx::Size(width, height), internalformat)); gfx 391 content/browser/gpu/browser_gpu_channel_host_factory.cc return scoped_ptr<gfx::GpuMemoryBuffer>(); gfx 393 content/browser/gpu/browser_gpu_channel_host_factory.cc return buffer.PassAs<gfx::GpuMemoryBuffer>(); gfx 36 content/browser/gpu/browser_gpu_channel_host_factory.h gfx::PluginWindowHandle window, gfx 40 content/browser/gpu/browser_gpu_channel_host_factory.h virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( gfx 115 content/browser/gpu/browser_gpu_channel_host_factory.h gfx::PluginWindowHandle window, gfx 119 content/browser/gpu/browser_gpu_channel_host_factory.h const CreateImageCallback& callback, const gfx::Size size); gfx 121 content/browser/gpu/browser_gpu_channel_host_factory.h const CreateImageCallback& callback, const gfx::Size size); gfx 243 content/browser/gpu/gpu_data_manager_impl_private.cc gfx::DeviceDisplayInfo info; gfx 555 content/browser/gpu/gpu_data_manager_impl_private.cc switches::kUseGL) == gfx::kGLImplementationOSMesaName) { gfx 566 content/browser/gpu/gpu_data_manager_impl_private.cc gpu_info.driver_vendor = gfx::kGLImplementationOSMesaName; gfx 680 content/browser/gpu/gpu_data_manager_impl_private.cc switches::kUseGL, gfx::kGLImplementationOSMesaName); gfx 210 content/browser/gpu/gpu_process_host.cc gfx::kGLImplementationDesktopName) { gfx 719 content/browser/gpu/gpu_process_host.cc const gfx::GLSurfaceHandle& compositing_surface, gfx 739 content/browser/gpu/gpu_process_host.cc void GpuProcessHost::CreateImage(gfx::PluginWindowHandle window, gfx 750 content/browser/gpu/gpu_process_host.cc callback.Run(gfx::Size()); gfx 826 content/browser/gpu/gpu_process_host.cc void GpuProcessHost::OnImageCreated(const gfx::Size size) { gfx 898 content/browser/gpu/gpu_process_host.cc gfx::GLSurfaceHandle surface_handle = gfx 903 content/browser/gpu/gpu_process_host.cc if (surface_handle.handle != gfx::kNullPluginWindow || gfx 904 content/browser/gpu/gpu_process_host.cc surface_handle.transport_type == gfx::TEXTURE_TRANSPORT) { gfx 960 content/browser/gpu/gpu_process_host.cc gfx::GLSurfaceHandle handle = gfx 966 content/browser/gpu/gpu_process_host.cc if (handle.transport_type == gfx::TEXTURE_TRANSPORT) { gfx 1003 content/browser/gpu/gpu_process_host.cc gfx::PluginWindowHandle handle = gfx 1018 content/browser/gpu/gpu_process_host.cc gfx::PluginWindowHandle handle = gfx 64 content/browser/gpu/gpu_process_host.h typedef base::Callback<void(const gfx::Size)> CreateImageCallback; gfx 111 content/browser/gpu/gpu_process_host.h const gfx::GLSurfaceHandle& compositing_surface, gfx 119 content/browser/gpu/gpu_process_host.h gfx::PluginWindowHandle window, gfx 160 content/browser/gpu/gpu_process_host.h void OnImageCreated(const gfx::Size size); gfx 243 content/browser/gpu/gpu_process_host_ui_shim.cc gfx::Size size) { gfx 35 content/browser/gpu/gpu_process_host_ui_shim.h namespace gfx { gfx 92 content/browser/gpu/gpu_process_host_ui_shim.h gfx::Size size); gfx 25 content/browser/gpu/gpu_surface_tracker.cc const gfx::PluginWindowHandle& surface) { gfx 36 content/browser/gpu/gpu_surface_tracker.cc SurfaceRefPluginWindow(const gfx::PluginWindowHandle& surface_ref); gfx 39 content/browser/gpu/gpu_surface_tracker.cc gfx::PluginWindowHandle surface_; gfx 43 content/browser/gpu/gpu_surface_tracker.cc const gfx::PluginWindowHandle& surface) gfx 45 content/browser/gpu/gpu_surface_tracker.cc if (surface_ != gfx::kNullPluginWindow) { gfx 54 content/browser/gpu/gpu_surface_tracker.cc if (surface_ != gfx::kNullPluginWindow) { gfx 82 content/browser/gpu/gpu_surface_tracker.cc SurfaceInfo(renderer_id, render_widget_id, gfx::kNullAcceleratedWidget, gfx 83 content/browser/gpu/gpu_surface_tracker.cc gfx::GLSurfaceHandle(), NULL); gfx 102 content/browser/gpu/gpu_surface_tracker.cc gfx::AcceleratedWidget widget) { gfx 106 content/browser/gpu/gpu_surface_tracker.cc SurfaceInfo(0, 0, widget, gfx::GLSurfaceHandle(), NULL); gfx 132 content/browser/gpu/gpu_surface_tracker.cc const gfx::GLSurfaceHandle& handle) { gfx 142 content/browser/gpu/gpu_surface_tracker.cc gfx::GLSurfaceHandle GpuSurfaceTracker::GetSurfaceHandle(int surface_id) { gfx 146 content/browser/gpu/gpu_surface_tracker.cc return gfx::GLSurfaceHandle(); gfx 150 content/browser/gpu/gpu_surface_tracker.cc gfx::AcceleratedWidget GpuSurfaceTracker::AcquireNativeWidget(int surface_id) { gfx 154 content/browser/gpu/gpu_surface_tracker.cc return gfx::kNullAcceleratedWidget; gfx 157 content/browser/gpu/gpu_surface_tracker.cc if (it->second.native_widget != gfx::kNullAcceleratedWidget) gfx 165 content/browser/gpu/gpu_surface_tracker.cc int surface_id, gfx::AcceleratedWidget widget, gfx 183 content/browser/gpu/gpu_surface_tracker.cc native_widget(gfx::kNullAcceleratedWidget) { } gfx 188 content/browser/gpu/gpu_surface_tracker.cc const gfx::AcceleratedWidget& native_widget, gfx 189 content/browser/gpu/gpu_surface_tracker.cc const gfx::GLSurfaceHandle& handle, gfx 54 content/browser/gpu/gpu_surface_tracker.h virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) OVERRIDE; gfx 70 content/browser/gpu/gpu_surface_tracker.h int AddSurfaceForNativeWidget(gfx::AcceleratedWidget widget); gfx 84 content/browser/gpu/gpu_surface_tracker.h void SetSurfaceHandle(int surface_id, const gfx::GLSurfaceHandle& handle); gfx 89 content/browser/gpu/gpu_surface_tracker.h gfx::AcceleratedWidget widget, gfx 94 content/browser/gpu/gpu_surface_tracker.h gfx::GLSurfaceHandle GetSurfaceHandle(int surface_id); gfx 112 content/browser/gpu/gpu_surface_tracker.h const gfx::AcceleratedWidget& native_widget, gfx 113 content/browser/gpu/gpu_surface_tracker.h const gfx::GLSurfaceHandle& handle, gfx 118 content/browser/gpu/gpu_surface_tracker.h gfx::AcceleratedWidget native_widget; gfx 119 content/browser/gpu/gpu_surface_tracker.h gfx::GLSurfaceHandle handle; gfx 222 content/browser/media/android/browser_media_player_manager.cc player->SetVideoSurface(gfx::ScopedJavaSurface()); gfx 232 content/browser/media/android/browser_media_player_manager.cc gfx::ScopedJavaSurface surface) { gfx 430 content/browser/media/android/browser_media_player_manager.cc gfx::ScopedJavaSurface::AcquireExternalSurface(surface)); gfx 437 content/browser/media/android/browser_media_player_manager.cc player->SetVideoSurface(gfx::ScopedJavaSurface()); gfx 441 content/browser/media/android/browser_media_player_manager.cc int player_id, bool is_request, const gfx::RectF& rect) { gfx 507 content/browser/media/android/browser_media_player_manager.cc player->SetVideoSurface(gfx::ScopedJavaSurface()); gfx 64 content/browser/media/android/browser_media_player_manager.h virtual void SetVideoSurface(gfx::ScopedJavaSurface surface); gfx 157 content/browser/media/android/browser_media_player_manager.h int player_id, bool is_request, const gfx::RectF& rect); gfx 53 content/browser/media/capture/content_video_capture_device_core.cc capture_size_ = gfx::Size( gfx 116 content/browser/media/capture/content_video_capture_device_core.cc gfx::Rect(capture_size_), gfx 131 content/browser/media/capture/content_video_capture_device_core.cc gfx::Size ThreadSafeCaptureOracle::GetCaptureSize() const { gfx 136 content/browser/media/capture/content_video_capture_device_core.cc void ThreadSafeCaptureOracle::UpdateCaptureSize(const gfx::Size& source_size) { gfx 147 content/browser/media/capture/content_video_capture_device_core.cc gfx::Rect capture_rect = media::ComputeLetterboxRegion( gfx 148 content/browser/media/capture/content_video_capture_device_core.cc gfx::Rect(params_.requested_format.frame_size), source_size); gfx 149 content/browser/media/capture/content_video_capture_device_core.cc capture_size_ = gfx::Size(MakeEven(capture_rect.width()), gfx 152 content/browser/media/capture/content_video_capture_device_core.cc capture_size_ = gfx::Size(MakeEven(source_size.width()), gfx 71 content/browser/media/capture/content_video_capture_device_core.h gfx::Size GetCaptureSize() const; gfx 75 content/browser/media/capture/content_video_capture_device_core.h void UpdateCaptureSize(const gfx::Size& source_size); gfx 111 content/browser/media/capture/content_video_capture_device_core.h gfx::Size capture_size_; gfx 39 content/browser/media/capture/desktop_capture_device.cc gfx::Rect result = media::ComputeLetterboxRegion( gfx 40 content/browser/media/capture/desktop_capture_device.cc gfx::Rect(0, 0, max_size.width(), max_size.height()), gfx 41 content/browser/media/capture/desktop_capture_device.cc gfx::Size(source_size.width(), source_size.height())); gfx 60 content/browser/media/capture/desktop_capture_device.cc void SetNotificationWindowId(gfx::NativeViewId window_id); gfx 91 content/browser/media/capture/desktop_capture_device.cc void DoSetNotificationWindowId(gfx::NativeViewId window_id); gfx 160 content/browser/media/capture/desktop_capture_device.cc gfx::NativeViewId window_id) { gfx 362 content/browser/media/capture/desktop_capture_device.cc gfx::NativeViewId window_id) { gfx 440 content/browser/media/capture/desktop_capture_device.cc gfx::NativeViewId window_id) { gfx 47 content/browser/media/capture/desktop_capture_device.h void SetNotificationWindowId(gfx::NativeViewId window_id); gfx 45 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Point& cursor_position) { gfx 49 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect rect = gfx::IntersectRects( gfx 50 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect(cursor_bitmap.width(), cursor_bitmap.height()) + gfx 51 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Vector2d(cursor_position.x(), cursor_position.y()), gfx 104 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Rect& old_bounds, gfx 105 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Rect& new_bounds) OVERRIDE; gfx 135 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Point UpdateCursorState(const gfx::Rect& region_in_frame); gfx 160 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Point cursor_hot_point_; gfx 267 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect window_rect = gfx 269 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect(desktop_window_->bounds().width(), gfx 281 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Point& cursor_position, gfx 304 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect region_in_frame = gfx 305 content/browser/media/capture/desktop_capture_device_aura.cc media::ComputeLetterboxRegion(gfx::Rect(video_frame->coded_size()), gfx 307 content/browser/media/capture/desktop_capture_device_aura.cc region_in_frame = gfx::Rect(region_in_frame.x() & ~1, gfx 326 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Rect result_rect(result->size()); gfx 341 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Point cursor_position_in_frame = UpdateCursorState(region_in_frame); gfx 355 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Point DesktopVideoCaptureMachine::UpdateCursorState( gfx 356 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Rect& region_in_frame) { gfx 357 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Rect desktop_bounds = desktop_layer_->bounds(); gfx 358 content/browser/media/capture/desktop_capture_device_aura.cc gfx::NativeCursor cursor = gfx 378 content/browser/media/capture/desktop_capture_device_aura.cc gfx::Point cursor_position = aura::Env::GetInstance()->last_mouse_location(); gfx 379 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Point hot_point_in_dip = ui::ConvertPointToDIP( gfx 383 content/browser/media/capture/desktop_capture_device_aura.cc return gfx::Point( gfx 392 content/browser/media/capture/desktop_capture_device_aura.cc cursor_hot_point_ = gfx::Point(); gfx 398 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Rect& old_bounds, gfx 399 content/browser/media/capture/desktop_capture_device_aura.cc const gfx::Rect& new_bounds) { gfx 39 content/browser/media/capture/desktop_capture_device_aura_unittest.cc const gfx::Size& dimensions)); gfx 72 content/browser/media/capture/desktop_capture_device_aura_unittest.cc gfx::Rect desktop_bounds = root_window()->bounds(); gfx 45 content/browser/media/capture/desktop_capture_device_unittest.cc const gfx::Size& dimensions)); gfx 89 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Rect ComputeYV12LetterboxRegion(const gfx::Size& frame_size, gfx 90 content/browser/media/capture/web_contents_video_capture_device.cc const gfx::Size& content_size) { gfx 92 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Rect result = media::ComputeLetterboxRegion(gfx::Rect(frame_size), gfx 327 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Size last_view_size_; gfx 495 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Rect region_in_frame = ComputeYV12LetterboxRegion( gfx 496 content/browser/media/capture/web_contents_video_capture_device.cc output->coded_size(), gfx::Size(input.width(), input.height())); gfx 642 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Size video_size = target->coded_size(); gfx 643 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Size view_size = view->GetViewBounds().size(); gfx 644 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Size fitted_size; gfx 661 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Rect(), gfx 667 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Rect(view_size), gfx 675 content/browser/media/capture/web_contents_video_capture_device.cc gfx::Rect(), gfx 95 content/browser/media/capture/web_contents_video_capture_device_unittest.cc copy_result_size_ = gfx::Size(width, height); gfx 98 content/browser/media/capture/web_contents_video_capture_device_unittest.cc gfx::Size GetCopyResultSize() { gfx 144 content/browser/media/capture/web_contents_video_capture_device_unittest.cc gfx::Size copy_result_size_; gfx 166 content/browser/media/capture/web_contents_video_capture_device_unittest.cc virtual gfx::Rect GetViewBounds() const OVERRIDE { gfx 167 content/browser/media/capture/web_contents_video_capture_device_unittest.cc return gfx::Rect(100, 100, 100 + kTestWidth, 100 + kTestHeight); gfx 175 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const gfx::Rect& src_subrect, gfx 249 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const gfx::Rect& src_rect, gfx 250 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const gfx::Size& accelerated_dst_size, gfx 253 content/browser/media/capture/web_contents_video_capture_device_unittest.cc gfx::Size size = controller_->GetCopyResultSize(); gfx 322 content/browser/media/capture/web_contents_video_capture_device_unittest.cc const gfx::Size& dimensions) OVERRIDE { gfx 352 content/browser/media/capture/web_contents_video_capture_device_unittest.cc EXPECT_EQ(gfx::Size(kTestWidth, kTestHeight), buffer_format.frame_size); gfx 408 content/browser/plugin_browsertest.cc gfx::Rect bounds(50, 50, 400, 400); gfx 114 content/browser/plugin_process_host.cc void PluginProcessHost::OnMapNativeViewId(gfx::NativeViewId id, gfx 115 content/browser/plugin_process_host.cc gfx::PluginWindowHandle* output) { gfx 30 content/browser/plugin_process_host.h namespace gfx { gfx 137 content/browser/plugin_process_host.h void OnMapNativeViewId(gfx::NativeViewId id, gfx::PluginWindowHandle* output); gfx 141 content/browser/plugin_process_host.h void OnPluginSelectWindow(uint32 window_id, gfx::Rect window_rect, gfx 143 content/browser/plugin_process_host.h void OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect, gfx 145 content/browser/plugin_process_host.h void OnPluginHideWindow(uint32 window_id, gfx::Rect window_rect); gfx 23 content/browser/plugin_process_host_mac.cc gfx::Rect window_rect, gfx 31 content/browser/plugin_process_host_mac.cc gfx::Rect window_rect, gfx 69 content/browser/plugin_process_host_mac.cc gfx::Rect window_rect) { gfx 852 content/browser/plugin_service_impl.cc return gfx::GetClassName(window) == base::string16(kNativeWindowClassName); gfx 18 content/browser/power_save_blocker_android.cc using gfx::NativeView; gfx 23 content/browser/power_save_blocker_impl.h void InitDisplaySleepBlocker(gfx::NativeView view_android); gfx 9 content/browser/renderer_host/backing_store.cc BackingStore::BackingStore(RenderWidgetHost* widget, const gfx::Size& size) gfx 19 content/browser/renderer_host/backing_store.h namespace gfx { gfx 39 content/browser/renderer_host/backing_store.h const gfx::Size& size() { return size_; } gfx 59 content/browser/renderer_host/backing_store.h const gfx::Rect& bitmap_rect, gfx 60 content/browser/renderer_host/backing_store.h const std::vector<gfx::Rect>& copy_rects, gfx 69 content/browser/renderer_host/backing_store.h virtual bool CopyFromBackingStore(const gfx::Rect& rect, gfx 74 content/browser/renderer_host/backing_store.h virtual void ScrollBackingStore(const gfx::Vector2d& delta, gfx 75 content/browser/renderer_host/backing_store.h const gfx::Rect& clip_rect, gfx 76 content/browser/renderer_host/backing_store.h const gfx::Size& view_size) = 0; gfx 79 content/browser/renderer_host/backing_store.h BackingStore(RenderWidgetHost* widget, const gfx::Size& size); gfx 86 content/browser/renderer_host/backing_store.h gfx::Size size_; gfx 21 content/browser/renderer_host/backing_store_aura.cc gfx::Size ToPixelSize(gfx::Size dipSize, float scale) { gfx 22 content/browser/renderer_host/backing_store_aura.cc return gfx::ToCeiledSize(gfx::ScaleSize(dipSize, scale)); gfx 38 content/browser/renderer_host/backing_store_aura.cc const gfx::Size& size) gfx 42 content/browser/renderer_host/backing_store_aura.cc gfx::Size pixel_size = ToPixelSize(size, device_scale_factor_); gfx 52 content/browser/renderer_host/backing_store_aura.cc void BackingStoreAura::SkiaShowRect(const gfx::Point& point, gfx 53 content/browser/renderer_host/backing_store_aura.cc gfx::Canvas* canvas) { gfx 54 content/browser/renderer_host/backing_store_aura.cc gfx::ImageSkia image = gfx::ImageSkia(gfx::ImageSkiaRep(bitmap_, gfx 63 content/browser/renderer_host/backing_store_aura.cc gfx::Size old_pixel_size = ToPixelSize(size(), device_scale_factor_); gfx 66 content/browser/renderer_host/backing_store_aura.cc gfx::Size pixel_size = ToPixelSize(size(), device_scale_factor_); gfx 94 content/browser/renderer_host/backing_store_aura.cc const gfx::Rect& bitmap_rect, gfx 95 content/browser/renderer_host/backing_store_aura.cc const std::vector<gfx::Rect>& copy_rects, gfx 103 content/browser/renderer_host/backing_store_aura.cc gfx::Rect pixel_bitmap_rect = gfx::ToEnclosingRect( gfx 104 content/browser/renderer_host/backing_store_aura.cc gfx::ScaleRect(bitmap_rect, scale_factor)); gfx 124 content/browser/renderer_host/backing_store_aura.cc const gfx::Rect pixel_copy_rect = gfx::ToEnclosingRect( gfx 125 content/browser/renderer_host/backing_store_aura.cc gfx::ScaleRect(copy_rects[i], scale_factor)); gfx 132 content/browser/renderer_host/backing_store_aura.cc const gfx::Rect pixel_copy_dst_rect = gfx::ToEnclosingRect( gfx 133 content/browser/renderer_host/backing_store_aura.cc gfx::ScaleRect(copy_rects[i], device_scale_factor_)); gfx 143 content/browser/renderer_host/backing_store_aura.cc void BackingStoreAura::ScrollBackingStore(const gfx::Vector2d& delta, gfx 144 content/browser/renderer_host/backing_store_aura.cc const gfx::Rect& clip_rect, gfx 145 content/browser/renderer_host/backing_store_aura.cc const gfx::Size& view_size) { gfx 146 content/browser/renderer_host/backing_store_aura.cc gfx::Rect pixel_rect = gfx::ToEnclosingRect( gfx 147 content/browser/renderer_host/backing_store_aura.cc gfx::ScaleRect(clip_rect, device_scale_factor_)); gfx 148 content/browser/renderer_host/backing_store_aura.cc gfx::Vector2d pixel_delta = gfx::ToFlooredVector2d( gfx 149 content/browser/renderer_host/backing_store_aura.cc gfx::ScaleVector2d(delta, device_scale_factor_)); gfx 159 content/browser/renderer_host/backing_store_aura.cc bool BackingStoreAura::CopyFromBackingStore(const gfx::Rect& rect, gfx 15 content/browser/renderer_host/backing_store_aura.h namespace gfx { gfx 29 content/browser/renderer_host/backing_store_aura.h const gfx::Size& size); gfx 33 content/browser/renderer_host/backing_store_aura.h CONTENT_EXPORT void SkiaShowRect(const gfx::Point& point, gfx 34 content/browser/renderer_host/backing_store_aura.h gfx::Canvas* canvas); gfx 44 content/browser/renderer_host/backing_store_aura.h const gfx::Rect& bitmap_rect, gfx 45 content/browser/renderer_host/backing_store_aura.h const std::vector<gfx::Rect>& copy_rects, gfx 49 content/browser/renderer_host/backing_store_aura.h virtual bool CopyFromBackingStore(const gfx::Rect& rect, gfx 51 content/browser/renderer_host/backing_store_aura.h virtual void ScrollBackingStore(const gfx::Vector2d& delta, gfx 52 content/browser/renderer_host/backing_store_aura.h const gfx::Rect& clip_rect, gfx 53 content/browser/renderer_host/backing_store_aura.h const gfx::Size& view_size) OVERRIDE; gfx 156 content/browser/renderer_host/backing_store_gtk.cc XSyncChangeCounter(gfx::GetXDisplay(), gfx 167 content/browser/renderer_host/backing_store_gtk.cc XDisplay* display = gfx::GetXDisplay(); gfx 194 content/browser/renderer_host/backing_store_gtk.cc XSync(gfx::GetXDisplay(), False); gfx 247 content/browser/renderer_host/backing_store_gtk.cc const gfx::Size& size, gfx 251 content/browser/renderer_host/backing_store_gtk.cc display_(gfx::GetXDisplay()), gfx 275 content/browser/renderer_host/backing_store_gtk.cc pixmap_bpp_ = gfx::BitsPerPixelForPixmapDepth(display_, depth); gfx 282 content/browser/renderer_host/backing_store_gtk.cc const gfx::Size& size) gfx 315 content/browser/renderer_host/backing_store_gtk.cc const gfx::Rect& bitmap_rect, gfx 316 content/browser/renderer_host/backing_store_gtk.cc const std::vector<gfx::Rect>& copy_rects) { gfx 323 content/browser/renderer_host/backing_store_gtk.cc gfx::PutARGBImage(display_, visual_, visual_depth_, pixmap, gfx 328 content/browser/renderer_host/backing_store_gtk.cc const gfx::Rect& copy_rect = copy_rects[i]; gfx 347 content/browser/renderer_host/backing_store_gtk.cc const gfx::Rect& bitmap_rect, gfx 348 content/browser/renderer_host/backing_store_gtk.cc const std::vector<gfx::Rect>& copy_rects, gfx 360 content/browser/renderer_host/backing_store_gtk.cc gfx::Rect pixel_bitmap_rect = gfx::ToEnclosedRect( gfx 361 content/browser/renderer_host/backing_store_gtk.cc gfx::ScaleRect(bitmap_rect, scale_factor)); gfx 419 content/browser/renderer_host/backing_store_gtk.cc const gfx::Rect& copy_rect = copy_rects[i]; gfx 420 content/browser/renderer_host/backing_store_gtk.cc gfx::Rect pixel_copy_rect = gfx::ToEnclosedRect( gfx 421 content/browser/renderer_host/backing_store_gtk.cc gfx::ScaleRect(copy_rect, scale_factor)); gfx 479 content/browser/renderer_host/backing_store_gtk.cc const gfx::Rect& copy_rect = copy_rects[i]; gfx 516 content/browser/renderer_host/backing_store_gtk.cc bool BackingStoreGtk::CopyFromBackingStore(const gfx::Rect& rect, gfx 625 content/browser/renderer_host/backing_store_gtk.cc void BackingStoreGtk::ScrollBackingStore(const gfx::Vector2d& delta, gfx 626 content/browser/renderer_host/backing_store_gtk.cc const gfx::Rect& clip_rect, gfx 627 content/browser/renderer_host/backing_store_gtk.cc const gfx::Size& view_size) { gfx 660 content/browser/renderer_host/backing_store_gtk.cc void BackingStoreGtk::XShowRect(const gfx::Point &origin, gfx 661 content/browser/renderer_host/backing_store_gtk.cc const gfx::Rect& rect, XID target) { gfx 668 content/browser/renderer_host/backing_store_gtk.cc void BackingStoreGtk::PaintToRect(const gfx::Rect& rect, GdkDrawable* target) { gfx 17 content/browser/renderer_host/backing_store_gtk.h namespace gfx { gfx 32 content/browser/renderer_host/backing_store_gtk.h const gfx::Size& size, gfx 38 content/browser/renderer_host/backing_store_gtk.h BackingStoreGtk(RenderWidgetHost* widget, const gfx::Size& size); gfx 49 content/browser/renderer_host/backing_store_gtk.h void XShowRect(const gfx::Point &origin, const gfx::Rect& damage, gfx 54 content/browser/renderer_host/backing_store_gtk.h void PaintToRect(const gfx::Rect& dest_rect, GdkDrawable* target); gfx 62 content/browser/renderer_host/backing_store_gtk.h const gfx::Rect& bitmap_rect, gfx 63 content/browser/renderer_host/backing_store_gtk.h const std::vector<gfx::Rect>& copy_rects, gfx 67 content/browser/renderer_host/backing_store_gtk.h virtual bool CopyFromBackingStore(const gfx::Rect& rect, gfx 69 content/browser/renderer_host/backing_store_gtk.h virtual void ScrollBackingStore(const gfx::Vector2d& delta, gfx 70 content/browser/renderer_host/backing_store_gtk.h const gfx::Rect& clip_rect, gfx 71 content/browser/renderer_host/backing_store_gtk.h const gfx::Size& view_size) OVERRIDE; gfx 77 content/browser/renderer_host/backing_store_gtk.h const gfx::Rect& bitmap_rect, gfx 78 content/browser/renderer_host/backing_store_gtk.h const std::vector<gfx::Rect>& copy_rects); gfx 19 content/browser/renderer_host/backing_store_mac.h const gfx::Size& size, gfx 39 content/browser/renderer_host/backing_store_mac.h const gfx::Rect& bitmap_rect, gfx 40 content/browser/renderer_host/backing_store_mac.h const std::vector<gfx::Rect>& copy_rects, gfx 44 content/browser/renderer_host/backing_store_mac.h virtual bool CopyFromBackingStore(const gfx::Rect& rect, gfx 46 content/browser/renderer_host/backing_store_mac.h virtual void ScrollBackingStore(const gfx::Vector2d& delta, gfx 47 content/browser/renderer_host/backing_store_mac.h const gfx::Rect& clip_rect, gfx 48 content/browser/renderer_host/backing_store_mac.h const gfx::Size& view_size) OVERRIDE; gfx 113 content/browser/renderer_host/backing_store_manager.cc const gfx::Size& backing_store_size) { gfx 156 content/browser/renderer_host/backing_store_manager.cc int ComputeTotalArea(const std::vector<gfx::Rect>& rects) { gfx 180 content/browser/renderer_host/backing_store_manager.cc const gfx::Size& desired_size) { gfx 196 content/browser/renderer_host/backing_store_manager.cc const gfx::Size& backing_store_size, gfx 198 content/browser/renderer_host/backing_store_manager.cc const gfx::Rect& bitmap_rect, gfx 199 content/browser/renderer_host/backing_store_manager.cc const std::vector<gfx::Rect>& copy_rects, gfx 33 content/browser/renderer_host/backing_store_manager.h const gfx::Size& desired_size); gfx 55 content/browser/renderer_host/backing_store_manager.h const gfx::Size& backing_store_size, gfx 57 content/browser/renderer_host/backing_store_manager.h const gfx::Rect& bitmap_rect, gfx 58 content/browser/renderer_host/backing_store_manager.h const std::vector<gfx::Rect>& copy_rects, gfx 269 content/browser/renderer_host/clipboard_message_filter.cc if (gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, false, &png_data)) { gfx 28 content/browser/renderer_host/compositing_iosurface_mac.h namespace gfx { gfx 53 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Size& size, gfx 65 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Rect& window_rect, gfx 77 content/browser/renderer_host/compositing_iosurface_mac.h void CopyTo(const gfx::Rect& src_pixel_subrect, gfx 78 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Size& dst_pixel_size, gfx 84 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Rect& src_subrect, gfx 94 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Size& pixel_io_surface_size() const { gfx 98 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Size& dip_io_surface_size() const { return dip_io_surface_size_; } gfx 134 content/browser/renderer_host/compositing_iosurface_mac.h void set_size(gfx::Size vertex_size, gfx::Size texcoord_size) { gfx 187 content/browser/renderer_host/compositing_iosurface_mac.h gfx::Size output_texture_sizes[3]; gfx 221 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Rect& src_subrect, gfx 230 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Rect& src_pixel_subrect, gfx 231 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Rect& dst_pixel_rect, gfx 239 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Rect& dst_pixel_rect, gfx 245 content/browser/renderer_host/compositing_iosurface_mac.h const gfx::Rect& dst_pixel_rect, gfx 265 content/browser/renderer_host/compositing_iosurface_mac.h gfx::Rect IntersectWithIOSurface(const gfx::Rect& rect) const; gfx 280 content/browser/renderer_host/compositing_iosurface_mac.h gfx::Size pixel_io_surface_size_; // In pixels. gfx 281 content/browser/renderer_host/compositing_iosurface_mac.h gfx::Size dip_io_surface_size_; // In view / density independent pixels. gfx 27 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc void SetTransformationsForOffScreenRendering(const gfx::Size& dst_size) { gfx 118 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc texture_sizes_[i] = gfx::Size(); gfx 128 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc GLuint src_texture, const gfx::Rect& src_subrect, const gfx::Size& dst_size, gfx 168 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc const gfx::Rect& src_subrect, gfx 169 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc const gfx::Size& dst_size, gfx 173 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc gfx::Size* packed_y_size, gfx 174 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc gfx::Size* packed_uv_size) { gfx 191 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc *packed_y_size = gfx::Size((dst_size.width() + 3) / 4, dst_size.height()); gfx 192 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc *packed_uv_size = gfx::Size((packed_y_size->width() + 1) / 2, gfx 270 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc CachedTexture which, const gfx::Size& size) { gfx 278 content/browser/renderer_host/compositing_iosurface_transformer_mac.cc texture_sizes_[which] = gfx::Size(); gfx 14 content/browser/renderer_host/compositing_iosurface_transformer_mac.h namespace gfx { gfx 53 content/browser/renderer_host/compositing_iosurface_transformer_mac.h bool ResizeBilinear(GLuint src_texture, const gfx::Rect& src_subrect, gfx 54 content/browser/renderer_host/compositing_iosurface_transformer_mac.h const gfx::Size& dst_size, GLuint* texture); gfx 81 content/browser/renderer_host/compositing_iosurface_transformer_mac.h GLuint src_texture, const gfx::Rect& src_subrect, gfx 82 content/browser/renderer_host/compositing_iosurface_transformer_mac.h const gfx::Size& dst_size, gfx 84 content/browser/renderer_host/compositing_iosurface_transformer_mac.h gfx::Size* packed_y_size, gfx::Size* packed_uv_size); gfx 97 content/browser/renderer_host/compositing_iosurface_transformer_mac.h void PrepareTexture(CachedTexture which, const gfx::Size& size); gfx 112 content/browser/renderer_host/compositing_iosurface_transformer_mac.h gfx::Size texture_sizes_[NUM_CACHED_TEXTURES]; gfx 111 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc SkBitmap GenerateTestPatternBitmap(const gfx::Size& size) { gfx 147 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc SkBitmap ReadBackTexture(GLuint texture, const gfx::Size& size, GLenum format) { gfx 177 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Rect& src_rect, gfx 178 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size& to_size) { gfx 180 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc if (src_rect == gfx::Rect(0, 0, src.width(), src.height())) { gfx 246 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size& dst_size) { gfx 290 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc void RunResizeTest(const SkBitmap& src_bitmap, const gfx::Rect& src_rect, gfx 291 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size& dst_size) { gfx 320 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const SkBitmap& src_bitmap, const gfx::Rect& src_rect, gfx 321 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size& dst_size) { gfx 334 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Size packed_y_size; gfx 335 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Size packed_uv_size; gfx 361 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size dst_uv_size( gfx 467 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size src_size(params.src_width, params.src_height); gfx 468 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size dst_size(params.scaled_width, params.scaled_height); gfx 472 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc RunResizeTest(src_bitmap, gfx::Rect(src_size), dst_size); gfx 475 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Rect(0, 1, params.src_width, params.src_height - 1), gfx 479 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Rect(1, 0, params.src_width - 1, params.src_height), gfx 483 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Rect(1, 1, params.src_width - 1, params.src_height - 2), gfx 487 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Rect(1, 1, params.src_width - 2, params.src_height - 1), gfx 504 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size src_size(params.src_width, params.src_height); gfx 505 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc const gfx::Size dst_size(params.scaled_width, params.scaled_height); gfx 509 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc RunTransformRGBToYV12Test(src_bitmap, gfx::Rect(src_size), dst_size); gfx 512 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc src_bitmap, gfx::Rect(0, 1, params.src_width, params.src_height - 1), gfx 516 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc src_bitmap, gfx::Rect(1, 0, params.src_width - 1, params.src_height), gfx 522 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Rect(1, 1, params.src_width - 1, params.src_height - 2), gfx 527 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc gfx::Rect(1, 1, params.src_width - 2, params.src_height - 1), gfx 70 content/browser/renderer_host/compositor_impl_android.cc virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE { gfx 140 content/browser/renderer_host/compositor_impl_android.cc class SurfaceTextureTrackerImpl : public gfx::SurfaceTextureTracker { gfx 147 content/browser/renderer_host/compositor_impl_android.cc virtual scoped_refptr<gfx::SurfaceTexture> AcquireSurfaceTexture( gfx 156 content/browser/renderer_host/compositor_impl_android.cc int AddSurfaceTexture(gfx::SurfaceTexture* surface_texture, gfx 197 content/browser/renderer_host/compositor_impl_android.cc explicit SurfaceTextureInfo(gfx::SurfaceTexture* surface_texture) gfx 200 content/browser/renderer_host/compositor_impl_android.cc scoped_refptr<gfx::SurfaceTexture> surface_texture; gfx 201 content/browser/renderer_host/compositor_impl_android.cc gfx::ScopedJavaSurface surface; gfx 229 content/browser/renderer_host/compositor_impl_android.cc gfx::NativeWindow root_window) { gfx 238 content/browser/renderer_host/compositor_impl_android.cc gfx::SurfaceTextureTracker::InitInstance(g_surface_texture_tracker.Pointer()); gfx 283 content/browser/renderer_host/compositor_impl_android.cc scoped_refptr<gfx::SurfaceTexture> surface_texture = gfx 284 content/browser/renderer_host/compositor_impl_android.cc gfx::SurfaceTexture::Create(kDummyTextureId); gfx 296 content/browser/renderer_host/compositor_impl_android.cc gfx::NativeWindow root_window) gfx 319 content/browser/renderer_host/compositor_impl_android.cc host_->Composite(gfx::FrameTime::Now()); gfx 344 content/browser/renderer_host/compositor_impl_android.cc gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::NATIVE_DIRECT)); gfx 415 content/browser/renderer_host/compositor_impl_android.cc void CompositorImpl::SetWindowBounds(const gfx::Size& size) { gfx 431 content/browser/renderer_host/compositor_impl_android.cc bool CompositorImpl::CompositeAndReadback(void *pixels, const gfx::Rect& rect) { gfx 469 content/browser/renderer_host/compositor_impl_android.cc const gfx::Size& size, gfx 509 content/browser/renderer_host/compositor_impl_android.cc gfx::DeviceDisplayInfo display_info; gfx 45 content/browser/renderer_host/compositor_impl_android.h CompositorImpl(CompositorClient* client, gfx::NativeWindow root_window); gfx 71 content/browser/renderer_host/compositor_impl_android.h virtual void SetWindowBounds(const gfx::Size& size) OVERRIDE; gfx 74 content/browser/renderer_host/compositor_impl_android.h void *pixels, const gfx::Rect& rect) OVERRIDE; gfx 78 content/browser/renderer_host/compositor_impl_android.h virtual cc::UIResourceId GenerateCompressedUIResource(const gfx::Size& size, gfx 89 content/browser/renderer_host/compositor_impl_android.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 121 content/browser/renderer_host/compositor_impl_android.h gfx::Size size_; gfx 136 content/browser/renderer_host/compositor_impl_android.h gfx::NativeWindow root_window_; gfx 17 content/browser/renderer_host/compositor_resize_lock_aura.cc const gfx::Size new_size, gfx 26 content/browser/renderer_host/compositor_resize_lock_aura.h const gfx::Size new_size, gfx 30 content/browser/renderer_host/dip_util.cc gfx::Point ConvertViewPointToDIP(const RenderWidgetHostView* view, gfx 31 content/browser/renderer_host/dip_util.cc const gfx::Point& point_in_pixel) { gfx 32 content/browser/renderer_host/dip_util.cc return gfx::ToFlooredPoint( gfx 33 content/browser/renderer_host/dip_util.cc gfx::ScalePoint(point_in_pixel, 1.0f / GetScaleForView(view))); gfx 36 content/browser/renderer_host/dip_util.cc gfx::Size ConvertViewSizeToPixel(const RenderWidgetHostView* view, gfx 37 content/browser/renderer_host/dip_util.cc const gfx::Size& size_in_dip) { gfx 38 content/browser/renderer_host/dip_util.cc return gfx::ToFlooredSize( gfx 39 content/browser/renderer_host/dip_util.cc gfx::ScaleSize(size_in_dip, GetScaleForView(view))); gfx 42 content/browser/renderer_host/dip_util.cc gfx::Rect ConvertViewRectToPixel(const RenderWidgetHostView* view, gfx 43 content/browser/renderer_host/dip_util.cc const gfx::Rect& rect_in_dip) { gfx 47 content/browser/renderer_host/dip_util.cc gfx::Size ConvertSizeToDIP(float scale_factor, gfx 48 content/browser/renderer_host/dip_util.cc const gfx::Size& size_in_pixel) { gfx 49 content/browser/renderer_host/dip_util.cc return gfx::ToFlooredSize( gfx 50 content/browser/renderer_host/dip_util.cc gfx::ScaleSize(size_in_pixel, 1.0f / scale_factor)); gfx 53 content/browser/renderer_host/dip_util.cc gfx::Rect ConvertRectToDIP(float scale_factor, gfx 54 content/browser/renderer_host/dip_util.cc const gfx::Rect& rect_in_pixel) { gfx 55 content/browser/renderer_host/dip_util.cc return gfx::ToFlooredRectDeprecated( gfx 56 content/browser/renderer_host/dip_util.cc gfx::ScaleRect(rect_in_pixel, 1.0f / scale_factor)); gfx 60 content/browser/renderer_host/dip_util.cc gfx::Rect ConvertRectToPixel(float scale_factor, gfx 61 content/browser/renderer_host/dip_util.cc const gfx::Rect& rect_in_dip) { gfx 62 content/browser/renderer_host/dip_util.cc return gfx::ToFlooredRectDeprecated( gfx 63 content/browser/renderer_host/dip_util.cc gfx::ScaleRect(rect_in_dip, scale_factor)); gfx 11 content/browser/renderer_host/dip_util.h namespace gfx { gfx 27 content/browser/renderer_host/dip_util.h CONTENT_EXPORT gfx::Point ConvertViewPointToDIP( gfx 28 content/browser/renderer_host/dip_util.h const RenderWidgetHostView* view, const gfx::Point& point_in_pixel); gfx 29 content/browser/renderer_host/dip_util.h CONTENT_EXPORT gfx::Size ConvertViewSizeToPixel( gfx 30 content/browser/renderer_host/dip_util.h const RenderWidgetHostView* view, const gfx::Size& size_in_dip); gfx 31 content/browser/renderer_host/dip_util.h CONTENT_EXPORT gfx::Rect ConvertViewRectToPixel( gfx 32 content/browser/renderer_host/dip_util.h const RenderWidgetHostView* view, const gfx::Rect& rect_in_dip); gfx 34 content/browser/renderer_host/dip_util.h CONTENT_EXPORT gfx::Size ConvertSizeToDIP( gfx 35 content/browser/renderer_host/dip_util.h float scale_factor, const gfx::Size& size_in_pixel); gfx 36 content/browser/renderer_host/dip_util.h CONTENT_EXPORT gfx::Rect ConvertRectToDIP( gfx 37 content/browser/renderer_host/dip_util.h float scale_factor, const gfx::Rect& rect_in_pixel); gfx 38 content/browser/renderer_host/dip_util.h CONTENT_EXPORT gfx::Rect ConvertRectToPixel( gfx 39 content/browser/renderer_host/dip_util.h float scale_factor, const gfx::Rect& rect_in_dip); gfx 166 content/browser/renderer_host/gpu_message_filter.cc gfx::GLSurfaceHandle compositing_surface; gfx 182 content/browser/renderer_host/gpu_message_filter.cc compositing_surface = gfx::GLSurfaceHandle(); gfx 255 content/browser/renderer_host/gtk_im_context_wrapper.cc const gfx::Rect& caret_bounds) { gfx 442 content/browser/renderer_host/gtk_im_context_wrapper.cc commit_text_,gfx::Range::InvalidRange(),false); gfx 480 content/browser/renderer_host/gtk_im_context_wrapper.cc base::string16(), gfx::Range::InvalidRange(), false); gfx 506 content/browser/renderer_host/gtk_im_context_wrapper.cc text, gfx::Range::InvalidRange(), false); gfx 535 content/browser/renderer_host/gtk_im_context_wrapper.cc composition_.selection = gfx::Range(cursor_position); gfx 22 content/browser/renderer_host/gtk_im_context_wrapper.h namespace gfx { gfx 51 content/browser/renderer_host/gtk_im_context_wrapper.h void UpdateCaretBounds(const gfx::Rect& caret_bounds); gfx 22 content/browser/renderer_host/gtk_plugin_container_manager.cc gfx::PluginWindowHandle id) { gfx 52 content/browser/renderer_host/gtk_plugin_container_manager.cc gfx::PluginWindowHandle id) { gfx 86 content/browser/renderer_host/gtk_plugin_container_manager.cc gfx::SubtractRectanglesFromRegion(clip_region, move.cutout_rects); gfx 126 content/browser/renderer_host/gtk_plugin_container_manager.cc gfx::PluginWindowHandle id) { gfx 137 content/browser/renderer_host/gtk_plugin_container_manager.cc gfx::PluginWindowHandle GtkPluginContainerManager::MapWidgetToID( gfx 156 content/browser/renderer_host/gtk_plugin_container_manager.cc gfx::PluginWindowHandle id = plugin_container_manager->MapWidgetToID(widget); gfx 28 content/browser/renderer_host/gtk_plugin_container_manager.h GtkWidget* CreatePluginContainer(gfx::PluginWindowHandle id); gfx 31 content/browser/renderer_host/gtk_plugin_container_manager.h void DestroyPluginContainer(gfx::PluginWindowHandle id); gfx 39 content/browser/renderer_host/gtk_plugin_container_manager.h GtkWidget* MapIDToWidget(gfx::PluginWindowHandle id); gfx 42 content/browser/renderer_host/gtk_plugin_container_manager.h gfx::PluginWindowHandle MapWidgetToID(GtkWidget* widget); gfx 52 content/browser/renderer_host/gtk_plugin_container_manager.h typedef std::map<gfx::PluginWindowHandle, GtkWidget*> PluginWindowToWidgetMap; gfx 25 content/browser/renderer_host/gtk_window_utils.cc gfx::Rect GetWorkArea(Window window) { gfx 34 content/browser/renderer_host/gtk_window_utils.cc return gfx::Rect(); gfx 38 content/browser/renderer_host/gtk_window_utils.cc return gfx::Rect(); gfx 42 content/browser/renderer_host/gtk_window_utils.cc return gfx::Rect(); gfx 44 content/browser/renderer_host/gtk_window_utils.cc return gfx::Rect(property[start_index], property[start_index + 1], gfx 82 content/browser/renderer_host/gtk_window_utils.cc gfx::Rect available_rect = results->rect; gfx 83 content/browser/renderer_host/gtk_window_utils.cc gfx::Rect work_area = GetWorkArea(GDK_WINDOW_XID(gdk_window)); gfx 73 content/browser/renderer_host/image_transport_factory_android.cc gfx::DeviceDisplayInfo display_info; gfx 11 content/browser/renderer_host/image_transport_factory_android.h namespace gfx { gfx 166 content/browser/renderer_host/ime_adapter_android.cc rwhi->ImeConfirmComposition(text16, gfx::Range::InvalidRange(), false); gfx 174 content/browser/renderer_host/ime_adapter_android.cc rwhi->ImeConfirmComposition(base::string16(), gfx::Range::InvalidRange(), gfx 35 content/browser/renderer_host/input/gesture_event_queue.cc combined_scroll_pinch_(gfx::Transform()), gfx 365 content/browser/renderer_host/input/gesture_event_queue.cc gfx::Transform GestureEventQueue::GetTransformForEvent( gfx 367 content/browser/renderer_host/input/gesture_event_queue.cc gfx::Transform gesture_transform = gfx::Transform(); gfx 385 content/browser/renderer_host/input/gesture_event_queue.cc combined_scroll_pinch_ = gfx::Transform(); gfx 165 content/browser/renderer_host/input/gesture_event_queue.h gfx::Transform GetTransformForEvent( gfx 188 content/browser/renderer_host/input/gesture_event_queue.h gfx::Transform combined_scroll_pinch_; gfx 73 content/browser/renderer_host/input/input_router_impl.cc static_cast<double>(gfx::ViewConfiguration::GetTouchSlopInPixels()); gfx 75 content/browser/renderer_host/input/input_router_impl.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().device_scale_factor(); gfx 115 content/browser/renderer_host/input/input_router_impl_perftest.cc gfx::Vector2dF origin, gfx 116 content/browser/renderer_host/input/input_router_impl_perftest.cc gfx::Vector2dF distance) { gfx 118 content/browser/renderer_host/input/input_router_impl_perftest.cc const gfx::Vector2dF delta = ScaleVector2d(distance, 1.f / steps); gfx 142 content/browser/renderer_host/input/input_router_impl_perftest.cc gfx::Vector2dF origin, gfx 143 content/browser/renderer_host/input/input_router_impl_perftest.cc gfx::Vector2dF distance) { gfx 145 content/browser/renderer_host/input/input_router_impl_perftest.cc const gfx::Vector2dF delta = ScaleVector2d(distance, 1.f / steps); gfx 306 content/browser/renderer_host/input/input_router_impl_perftest.cc gfx::Vector2dF origin, gfx 307 content/browser/renderer_host/input/input_router_impl_perftest.cc gfx::Vector2dF distance, gfx 346 content/browser/renderer_host/input/input_router_impl_perftest.cc const gfx::Vector2dF kDefaultOrigin(100, 100); gfx 347 content/browser/renderer_host/input/input_router_impl_perftest.cc const gfx::Vector2dF kDefaultDistance(500, 500); gfx 323 content/browser/renderer_host/input/input_router_impl_unittest.cc new InputMsg_SelectRange(0, gfx::Point(1, 2), gfx::Point(3, 4)))); gfx 326 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(1, 2), gfx 327 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(3, 4)); gfx 332 content/browser/renderer_host/input/input_router_impl_unittest.cc new InputMsg_SelectRange(0, gfx::Point(5, 6), gfx::Point(7, 8)))); gfx 336 content/browser/renderer_host/input/input_router_impl_unittest.cc new InputMsg_SelectRange(0, gfx::Point(9, 10), gfx::Point(11, 12)))); gfx 348 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(9, 10), gfx 349 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(11, 12)); gfx 362 content/browser/renderer_host/input/input_router_impl_unittest.cc scoped_ptr<IPC::Message>(new InputMsg_MoveCaret(0, gfx::Point(1, 2)))); gfx 364 content/browser/renderer_host/input/input_router_impl_unittest.cc process_->sink().GetMessageAt(0), gfx::Point(1, 2)); gfx 369 content/browser/renderer_host/input/input_router_impl_unittest.cc scoped_ptr<IPC::Message>(new InputMsg_MoveCaret(0, gfx::Point(5, 6)))); gfx 373 content/browser/renderer_host/input/input_router_impl_unittest.cc scoped_ptr<IPC::Message>(new InputMsg_MoveCaret(0, gfx::Point(9, 10)))); gfx 384 content/browser/renderer_host/input/input_router_impl_unittest.cc process_->sink().GetMessageAt(0), gfx::Point(9, 10)); gfx 645 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(1, 1), 0, timestamp)); gfx 654 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(500, 500), 0, timestamp)); gfx 663 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(2, 2), 1, timestamp)); gfx 673 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(10, 10), 0, timestamp)); gfx 675 content/browser/renderer_host/input/input_router_impl_unittest.cc gfx::Point(20, 20), 1, timestamp)); gfx 94 content/browser/renderer_host/input/motion_event_android.cc cached_positions_[0] = gfx::PointF(pos_x_0, pos_y_0); gfx 95 content/browser/renderer_host/input/motion_event_android.cc cached_positions_[1] = gfx::PointF(pos_x_1, pos_y_1); gfx 102 content/browser/renderer_host/input/motion_event_android.h gfx::PointF cached_positions_[MAX_POINTERS_TO_CACHE]; gfx 123 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::Vector2dF start_to_end_distance() const { gfx 131 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::Vector2dF start_to_end_distance_; gfx 145 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::Vector2dF delta(mouse_wheel_event.deltaX, mouse_wheel_event.deltaY); gfx 172 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF touch_point(touch_event.touches[0].position.x, gfx 174 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::Vector2dF delta = touch_point - last_touch_point_; gfx 185 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::Point start_; gfx 186 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF last_touch_point_; gfx 214 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc start_0_ = gfx::PointF(touch_event.touches[0].position); gfx 215 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc start_1_ = gfx::PointF(touch_event.touches[1].position); gfx 223 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF current_0 = gfx::PointF(touch_event.touches[0].position); gfx 224 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF current_1 = gfx::PointF(touch_event.touches[1].position); gfx 258 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF start_0_; gfx 259 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF start_1_; gfx 269 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF position() const { return position_; } gfx 279 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::PointF position_; gfx 299 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc position_ = gfx::PointF(touch_event.touches[0].position); gfx 306 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc EXPECT_EQ(position_, gfx::PointF(touch_event.touches[0].position)); gfx 333 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc position_ = gfx::PointF(mouse_event.x, mouse_event.y); gfx 342 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc EXPECT_EQ(position_, gfx::PointF(mouse_event.x, mouse_event.y)); gfx 520 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc gfx::Vector2d AddTouchSlopToVector(const gfx::Vector2d& vector, gfx 536 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc return gfx::Vector2d(x, y); gfx 545 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(0, 123)); gfx 558 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc scroll_target->start_to_end_distance() - gfx::Vector2dF(0, 0.001f)); gfx 567 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(-234, 0)); gfx 602 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const gfx::Vector2dF& scroll_distance, gfx 603 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const gfx::Vector2d& target_distance, gfx 615 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(413, -83)); gfx 639 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(21, -12)); gfx 667 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(-43, 19)); gfx 692 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(0, 0)); gfx 703 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc EXPECT_EQ(gfx::Vector2dF(0, 0), scroll_target->start_to_end_distance()); gfx 712 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(0, -234)); gfx 732 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(345, 0)); gfx 752 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(-194, 303)); gfx 772 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(-129, 212)); gfx 773 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(8, -9)); gfx 794 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(-129, 0)); gfx 795 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(79, 0)); gfx 827 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const gfx::Vector2dF& scroll_distance, gfx 828 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc const gfx::Vector2d& target_distance, gfx 840 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(234, 133)); gfx 841 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(-9, 78)); gfx 864 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(0, 133)); gfx 865 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc params.distances.push_back(gfx::Vector2d(0, 78)); gfx 883 content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc scroll_target->start_to_end_distance() - gfx::Vector2dF(0, 0.001f)); gfx 92 content/browser/renderer_host/input/synthetic_gesture_target_android.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().device_scale_factor(); gfx 93 content/browser/renderer_host/input/synthetic_gesture_target_android.cc return gfx::ViewConfiguration::GetTouchSlopInPixels() / device_scale_factor; gfx 49 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc gfx::Point location(web_wheel.x, web_wheel.y); gfx 117 content/browser/renderer_host/input/synthetic_gesture_target_aura.cc gfx::Point location(web_mouse.x, web_mouse.y); gfx 13 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2d FloorTowardZero(const gfx::Vector2dF& vector) { gfx 16 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc return gfx::Vector2d(x, y); gfx 19 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2d CeilFromZero(const gfx::Vector2dF& vector) { gfx 22 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc return gfx::Vector2d(x, y); gfx 25 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2dF ProjectScalarOntoVector( gfx 26 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc float scalar, const gfx::Vector2d& vector) { gfx 27 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc return gfx::ScaleVector2d(vector, scalar / vector.Length()); gfx 84 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2dF delta = GetPositionDeltaAtTime(event_timestamp); gfx 147 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2dF current_scroll_segment_total_delta = gfx 149 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2d delta_discrete = gfx 157 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc current_scroll_segment_total_delta_discrete_ = gfx::Vector2d(); gfx 186 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const gfx::Vector2dF& delta, gfx 208 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc const gfx::Vector2dF& delta, gfx 213 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::PointF touch_position = current_scroll_segment_start_position_ + delta; gfx 229 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2d& first_scroll_distance = params_.distances[0]; gfx 235 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.cc gfx::Vector2dF SyntheticSmoothScrollGesture::GetPositionDeltaAtTime( gfx 54 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const gfx::Vector2dF& delta, gfx 60 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h const gfx::Vector2dF& delta, gfx 66 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h gfx::Vector2dF GetPositionDeltaAtTime(const base::TimeTicks& timestamp) gfx 76 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h gfx::Vector2d current_scroll_segment_total_delta_discrete_; gfx 78 content/browser/renderer_host/input/synthetic_smooth_scroll_gesture.h gfx::Point current_scroll_segment_start_position_; gfx 92 content/browser/renderer_host/input/touch_action_browsertest.cc host->GetView()->SetSize(gfx::Size(400, 400)); gfx 124 content/browser/renderer_host/input/touch_action_browsertest.cc bool DoTouchScroll(const gfx::Point& point, const gfx::Vector2d& distance) { gfx 177 content/browser/renderer_host/input/touch_action_browsertest.cc bool scrolled = DoTouchScroll(gfx::Point(50, 50), gfx::Vector2d(0, 45)); gfx 197 content/browser/renderer_host/input/touch_action_browsertest.cc bool scrolled = DoTouchScroll(gfx::Point(50, 150), gfx::Vector2d(0, 45)); gfx 180 content/browser/renderer_host/input/touch_event_queue.cc gfx::PointF(event.touches[0].position); gfx 193 content/browser/renderer_host/input/touch_event_queue.cc gfx::PointF position(event.touches[0].position); gfx 209 content/browser/renderer_host/input/touch_event_queue.cc gfx::PointF touch_sequence_start_position_; gfx 153 content/browser/renderer_host/input/touch_input_browsertest.cc host->GetView()->SetSize(gfx::Size(400, 400)); gfx 59 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc return gfx::ViewConfiguration::GetTapTimeoutInMs(); gfx 63 content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc return gfx::ViewConfiguration::GetLongPressTimeoutInMs(); gfx 75 content/browser/renderer_host/legacy_render_widget_host_win.cc void LegacyRenderWidgetHostHWND::SetBounds(const gfx::Rect& bounds) { gfx 108 content/browser/renderer_host/legacy_render_widget_host_win.h void SetBounds(const gfx::Rect& bounds); gfx 1910 content/browser/renderer_host/media/media_stream_manager.cc gfx::NativeViewId window_id) { gfx 352 content/browser/renderer_host/media/media_stream_manager.h gfx::NativeViewId window_id); gfx 21 content/browser/renderer_host/media/media_stream_ui_proxy.cc void OnStarted(gfx::NativeViewId* window_id); gfx 81 content/browser/renderer_host/media/media_stream_ui_proxy.cc void MediaStreamUIProxy::Core::OnStarted(gfx::NativeViewId* window_id) { gfx 152 content/browser/renderer_host/media/media_stream_ui_proxy.cc gfx::NativeViewId* window_id = new gfx::NativeViewId(0); gfx 165 content/browser/renderer_host/media/media_stream_ui_proxy.cc gfx::NativeViewId* window_id) { gfx 28 content/browser/renderer_host/media/media_stream_ui_proxy.h typedef base::Callback<void(gfx::NativeViewId window_id)> WindowIdCallback; gfx 66 content/browser/renderer_host/media/media_stream_ui_proxy.h gfx::NativeViewId* window_id); gfx 29 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE { gfx 31 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc return gfx::Rect(); gfx 49 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc MOCK_METHOD1(OnStarted, gfx::NativeViewId(const base::Closure& stop)); gfx 55 content/browser/renderer_host/media/media_stream_ui_proxy_unittest.cc MOCK_METHOD1(OnWindowId, void(gfx::NativeViewId window_id)); gfx 47 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc scoped_ptr<Buffer> ReserveI420Buffer(const gfx::Size& dimensions) { gfx 72 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc const gfx::Size size_lo = gfx::Size(640, 480); gfx 73 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc const gfx::Size size_hi = gfx::Size(1024, 768); gfx 76 content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc gfx::Rect(size_lo), size_lo, gfx 125 content/browser/renderer_host/media/video_capture_controller.cc const gfx::Size& size) OVERRIDE; gfx 140 content/browser/renderer_host/media/video_capture_controller.cc const gfx::Size& dimensions); gfx 285 content/browser/renderer_host/media/video_capture_controller.cc const gfx::Size& size) { gfx 322 content/browser/renderer_host/media/video_capture_controller.cc const gfx::Size dimensions(destination_width, destination_height); gfx 426 content/browser/renderer_host/media/video_capture_controller.cc gfx::Rect(dimensions), gfx 493 content/browser/renderer_host/media/video_capture_controller.cc const gfx::Size& dimensions) { gfx 127 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size dimensions) { gfx 131 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Rect(dimensions), gfx 144 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size dimensions) { gfx 149 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Rect(dimensions), gfx 170 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420); gfx 276 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420); gfx 284 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size capture_resolution(444, 200); gfx 289 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(10, 10), 25, media::PIXEL_FORMAT_RGB24); gfx 487 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(0, 0)); gfx 509 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(0, 0))); gfx 526 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420); gfx 530 content/browser/renderer_host/media/video_capture_controller_unittest.cc const gfx::Size capture_resolution(320, 240); gfx 570 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420); gfx 580 content/browser/renderer_host/media/video_capture_controller_unittest.cc gfx::Size(10, 10), 25, media::PIXEL_FORMAT_ARGB); gfx 588 content/browser/renderer_host/media/video_capture_controller_unittest.cc const gfx::Size dims(320, 240); gfx 66 content/browser/renderer_host/media/video_capture_host_unittest.cc media::VideoFrame::I420, gfx::Size(width, height)); gfx 397 content/browser/renderer_host/media/video_capture_host_unittest.cc gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420); gfx 410 content/browser/renderer_host/media/video_capture_host_unittest.cc gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420); gfx 429 content/browser/renderer_host/media/video_capture_host_unittest.cc media::VideoCaptureFormat(gfx::Size(width, height), frame_rate); gfx 381 content/browser/renderer_host/media/video_capture_manager.cc gfx::NativeViewId window_id) { gfx 643 content/browser/renderer_host/media/video_capture_manager.cc gfx::NativeViewId window_id) { gfx 655 content/browser/renderer_host/media/video_capture_manager.cc gfx::NativeViewId window_id) { gfx 104 content/browser/renderer_host/media/video_capture_manager.h gfx::NativeViewId window_id); gfx 177 content/browser/renderer_host/media/video_capture_manager.h gfx::NativeViewId window_id); gfx 181 content/browser/renderer_host/media/video_capture_manager.h gfx::NativeViewId window_id); gfx 243 content/browser/renderer_host/media/video_capture_manager.h std::map<media::VideoCaptureSessionId, gfx::NativeViewId> gfx 108 content/browser/renderer_host/media/video_capture_manager_unittest.cc gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420); gfx 41 content/browser/renderer_host/native_web_keyboard_event_aura.cc NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event) gfx 13 content/browser/renderer_host/native_web_keyboard_event_gtk.cc void CopyEventTo(gfx::NativeEvent in, gfx::NativeEvent* out) { gfx 17 content/browser/renderer_host/native_web_keyboard_event_gtk.cc void FreeEvent(gfx::NativeEvent event) { gfx 32 content/browser/renderer_host/native_web_keyboard_event_gtk.cc NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event) gfx 159 content/browser/renderer_host/overscroll_controller.cc gfx::Rect bounds = delegate_->GetVisibleBounds(); gfx 24 content/browser/renderer_host/overscroll_controller_delegate.h virtual gfx::Rect GetVisibleBounds() const = 0; gfx 24 content/browser/renderer_host/pepper/pepper_print_settings_manager.cc PP_Size PrintSizeToPPPrintSize(const gfx::Size& print_size, gfx 33 content/browser/renderer_host/pepper/pepper_print_settings_manager.cc PP_Rect PrintAreaToPPPrintArea(const gfx::Rect& print_area, gfx 38 content/browser/renderer_host/popup_menu_helper_mac.h void ShowPopupMenu(const gfx::Rect& bounds, gfx 119 content/browser/renderer_host/render_message_filter.cc base::LazyInstance<gfx::ColorProfile>::Leaky g_color_profile = gfx 1257 content/browser/renderer_host/render_message_filter.cc gfx::GpuMemoryBufferHandle* handle) { gfx 1259 content/browser/renderer_host/render_message_filter.cc handle->type = gfx::EMPTY_BUFFER; gfx 1295 content/browser/renderer_host/render_message_filter.cc handle->type = gfx::IO_SURFACE_BUFFER; gfx 1316 content/browser/renderer_host/render_message_filter.cc handle->type = gfx::SURFACE_TEXTURE_BUFFER; gfx 1318 content/browser/renderer_host/render_message_filter.cc gfx::SurfaceTextureId(surface_texture_id, render_process_id_); gfx 1327 content/browser/renderer_host/render_message_filter.cc handle->type = gfx::EMPTY_BUFFER; gfx 1333 content/browser/renderer_host/render_message_filter.cc handle->type = gfx::EMPTY_BUFFER; gfx 1339 content/browser/renderer_host/render_message_filter.cc handle->type = gfx::SHARED_MEMORY_BUFFER; gfx 55 content/browser/renderer_host/render_message_filter.h namespace gfx { gfx 279 content/browser/renderer_host/render_message_filter.h gfx::GpuMemoryBufferHandle* handle); gfx 37 content/browser/renderer_host/render_process_host_impl.h namespace gfx { gfx 77 content/browser/renderer_host/render_sandbox_host_linux.cc gfx::GetDefaultWebkitSubpixelPositioning()); gfx 40 content/browser/renderer_host/render_view_host_delegate.h namespace gfx { gfx 93 content/browser/renderer_host/render_view_host_delegate.h virtual gfx::Rect GetRootWindowResizerRect() const = 0; gfx 134 content/browser/renderer_host/render_view_host_delegate.h virtual void RequestMove(const gfx::Rect& new_bounds) {} gfx 249 content/browser/renderer_host/render_view_host_delegate.h virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} gfx 252 content/browser/renderer_host/render_view_host_delegate.h virtual void ResizeDueToAutoResize(const gfx::Size& new_size) {} gfx 303 content/browser/renderer_host/render_view_host_delegate.h const gfx::Rect& initial_pos, gfx 309 content/browser/renderer_host/render_view_host_delegate.h const gfx::Rect& initial_pos) {} gfx 739 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& client_pt, gfx 740 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& screen_pt, gfx 807 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& client_pt, gfx 808 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& screen_pt, gfx 820 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& client_pt, gfx 821 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& screen_pt, gfx 890 content/browser/renderer_host/render_view_host_impl.cc gfx::Point(client_x, client_y), gfx 891 content/browser/renderer_host/render_view_host_impl.cc gfx::Point(screen_x, screen_y), gfx 1186 content/browser/renderer_host/render_view_host_impl.cc const gfx::Rect& initial_pos, gfx 1196 content/browser/renderer_host/render_view_host_impl.cc const gfx::Rect& initial_pos) { gfx 1302 content/browser/renderer_host/render_view_host_impl.cc void RenderViewHostImpl::OnRequestMove(const gfx::Rect& pos) { gfx 1334 content/browser/renderer_host/render_view_host_impl.cc const gfx::Size& new_size) { gfx 1338 content/browser/renderer_host/render_view_host_impl.cc void RenderViewHostImpl::OnRenderAutoResized(const gfx::Size& new_size) { gfx 1364 content/browser/renderer_host/render_view_host_impl.cc const gfx::Rect& bounds) { gfx 1412 content/browser/renderer_host/render_view_host_impl.cc const gfx::Vector2d& bitmap_offset_in_dip, gfx 1444 content/browser/renderer_host/render_view_host_impl.cc gfx::ImageSkia image(gfx::ImageSkiaRep(bitmap, scale)); gfx 1523 content/browser/renderer_host/render_view_host_impl.cc gfx::Rect RenderViewHostImpl::GetRootWindowResizerRect() const { gfx 1650 content/browser/renderer_host/render_view_host_impl.cc void RenderViewHostImpl::DisableScrollbarsForThreshold(const gfx::Size& size) { gfx 1658 content/browser/renderer_host/render_view_host_impl.cc void RenderViewHostImpl::EnableAutoResize(const gfx::Size& min_size, gfx 1659 content/browser/renderer_host/render_view_host_impl.cc const gfx::Size& max_size) { gfx 1664 content/browser/renderer_host/render_view_host_impl.cc void RenderViewHostImpl::DisableAutoResize(const gfx::Size& new_size) { gfx 1674 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& location, const blink::WebMediaPlayerAction& action) { gfx 1679 content/browser/renderer_host/render_view_host_impl.cc const gfx::Point& location, const blink::WebPluginAction& action) { gfx 47 content/browser/renderer_host/render_view_host_impl.h namespace gfx { gfx 174 content/browser/renderer_host/render_view_host_impl.h virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE; gfx 181 content/browser/renderer_host/render_view_host_impl.h const gfx::Point& client_pt, gfx 182 content/browser/renderer_host/render_view_host_impl.h const gfx::Point& screen_pt, gfx 186 content/browser/renderer_host/render_view_host_impl.h const gfx::Point& client_pt, gfx 187 content/browser/renderer_host/render_view_host_impl.h const gfx::Point& screen_pt, gfx 191 content/browser/renderer_host/render_view_host_impl.h virtual void DragTargetDrop(const gfx::Point& client_pt, gfx 192 content/browser/renderer_host/render_view_host_impl.h const gfx::Point& screen_pt, gfx 194 content/browser/renderer_host/render_view_host_impl.h virtual void EnableAutoResize(const gfx::Size& min_size, gfx 195 content/browser/renderer_host/render_view_host_impl.h const gfx::Size& max_size) OVERRIDE; gfx 196 content/browser/renderer_host/render_view_host_impl.h virtual void DisableAutoResize(const gfx::Size& new_size) OVERRIDE; gfx 199 content/browser/renderer_host/render_view_host_impl.h const gfx::Point& location, gfx 202 content/browser/renderer_host/render_view_host_impl.h const gfx::Point& location, gfx 393 content/browser/renderer_host/render_view_host_impl.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 494 content/browser/renderer_host/render_view_host_impl.h virtual void OnRenderAutoResized(const gfx::Size& size) OVERRIDE; gfx 504 content/browser/renderer_host/render_view_host_impl.h const gfx::Rect& initial_pos, gfx 506 content/browser/renderer_host/render_view_host_impl.h void OnShowWidget(int route_id, const gfx::Rect& initial_pos); gfx 518 content/browser/renderer_host/render_view_host_impl.h void OnRequestMove(const gfx::Rect& pos); gfx 524 content/browser/renderer_host/render_view_host_impl.h void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); gfx 532 content/browser/renderer_host/render_view_host_impl.h void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); gfx 549 content/browser/renderer_host/render_view_host_impl.h const gfx::Vector2d& bitmap_offset_in_dip, gfx 121 content/browser/renderer_host/render_view_host_unittest.cc const gfx::ImageSkia& image, gfx 122 content/browser/renderer_host/render_view_host_unittest.cc const gfx::Vector2d& image_offset, gfx 130 content/browser/renderer_host/render_view_host_unittest.cc virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} gfx 182 content/browser/renderer_host/render_view_host_unittest.cc gfx::Point client_point; gfx 183 content/browser/renderer_host/render_view_host_unittest.cc gfx::Point screen_point; gfx 65 content/browser/renderer_host/render_widget_host_browsertest.cc rwh->GetSnapshotFromRenderer(gfx::Rect(), base::Bind( gfx 31 content/browser/renderer_host/render_widget_host_delegate.cc gfx::NativeViewAccessible gfx 64 content/browser/renderer_host/render_widget_host_delegate.h virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); gfx 363 content/browser/renderer_host/render_widget_host_impl.cc gfx::NativeViewId RenderWidgetHostImpl::GetNativeViewId() const { gfx 369 content/browser/renderer_host/render_widget_host_impl.cc gfx::GLSurfaceHandle RenderWidgetHostImpl::GetCompositingSurface() { gfx 372 content/browser/renderer_host/render_widget_host_impl.cc return gfx::GLSurfaceHandle(); gfx 617 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect view_bounds = view_->GetViewBounds(); gfx 618 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size new_size(view_bounds.size()); gfx 620 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size old_physical_backing_size = physical_backing_size_; gfx 661 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::ResizeRectChanged(const gfx::Rect& new_rect) { gfx 715 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Rect& src_subrect, gfx 716 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Size& accelerated_dst_size, gfx 722 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect accelerated_copy_rect = src_subrect.IsEmpty() ? gfx 723 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect(view_->GetViewBounds().size()) : src_subrect; gfx 737 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect copy_rect = src_subrect.IsEmpty() ? gfx 738 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect(backing_store->size()) : src_subrect; gfx 766 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Rect& dest_rect, GdkWindow* target) { gfx 775 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size RenderWidgetHostImpl::GetBackingStoreSize() { gfx 777 content/browser/renderer_host/render_widget_host_impl.cc return backing_store ? backing_store->size() : gfx::Size(); gfx 807 content/browser/renderer_host/render_widget_host_impl.cc bool RenderWidgetHostImpl::TryGetBackingStore(const gfx::Size& desired_size, gfx 830 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size view_size = current_size_; gfx 833 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect view_rect = view_->GetViewBounds(); gfx 914 content/browser/renderer_host/render_widget_host_impl.cc BackingStore* RenderWidgetHostImpl::AllocBackingStore(const gfx::Size& size) { gfx 1252 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Rect& src_subrect, gfx 1262 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect copy_rect = src_subrect.IsEmpty() ? gfx 1263 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect(view_->GetViewBounds().size()) : src_subrect; gfx 1265 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect copy_rect_in_pixel = ConvertViewRectToPixel(view_, copy_rect); gfx 1271 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Range& range) { gfx 1336 content/browser/renderer_host/render_widget_host_impl.cc gfx::GLSurfaceHandle()); gfx 1393 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Range& replacement_range, gfx 1404 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect RenderWidgetHostImpl::GetRootWindowResizerRect() const { gfx 1405 content/browser/renderer_host/render_widget_host_impl.cc return gfx::Rect(); gfx 1530 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::OnRequestMove(const gfx::Rect& pos) { gfx 1605 content/browser/renderer_host/render_widget_host_impl.cc gfx::Vector2dF accumulated_overscroll, gfx 1606 content/browser/renderer_host/render_widget_host_impl.cc gfx::Vector2dF current_fling_velocity) { gfx 1658 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size pixel_size = gfx::ToFlooredSize( gfx 1659 content/browser/renderer_host/render_widget_host_impl.cc gfx::ScaleSize(params.bitmap_rect.size(), params.scale_factor)); gfx 1831 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Range& range, gfx 1832 content/browser/renderer_host/render_widget_host_impl.cc const std::vector<gfx::Rect>& character_bounds) { gfx 1878 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Rect& rect, gfx 1879 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Size& size, gfx 1914 content/browser/renderer_host/render_widget_host_impl.cc gfx::NativeViewId dummy_activation_window) { gfx 1936 content/browser/renderer_host/render_widget_host_impl.cc gfx::NativeViewId dummy_activation_window) { gfx 1951 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Rect& bitmap_rect, gfx 1952 content/browser/renderer_host/render_widget_host_impl.cc const std::vector<gfx::Rect>& copy_rects, gfx 1953 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Size& view_size, gfx 1987 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::ScrollBackingStoreRect(const gfx::Vector2d& delta, gfx 1988 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Rect& clip_rect, gfx 1989 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Size& view_size) { gfx 2171 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Vector2d& RenderWidgetHostImpl::GetLastScrollOffset() const { gfx 2229 content/browser/renderer_host/render_widget_host_impl.cc int acc_obj_id, gfx::Rect subfocus) { gfx 2235 content/browser/renderer_host/render_widget_host_impl.cc int acc_obj_id, gfx::Point point) { gfx 2252 content/browser/renderer_host/render_widget_host_impl.cc gfx::NativeViewAccessible accessible_parent) { gfx 2257 content/browser/renderer_host/render_widget_host_impl.cc gfx::NativeViewAccessible gfx 2269 content/browser/renderer_host/render_widget_host_impl.cc const gfx::Rect& rect) { gfx 2273 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::MoveCaret(const gfx::Point& point) { gfx 2342 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size new_size = new_auto_size_; gfx 2446 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size snapshot_size, gfx 2451 content/browser/renderer_host/render_widget_host_impl.cc routing_id, snapshot_id, gfx::Size(), png_vector)); gfx 2469 content/browser/renderer_host/render_widget_host_impl.cc GetRoutingID(), snapshot_id, gfx::Size(), png)); gfx 2473 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect view_bounds = GetView()->GetViewBounds(); gfx 2474 content/browser/renderer_host/render_widget_host_impl.cc gfx::Rect snapshot_bounds(view_bounds.size()); gfx 2475 content/browser/renderer_host/render_widget_host_impl.cc gfx::Size snapshot_size = snapshot_bounds.size(); gfx 57 content/browser/renderer_host/render_widget_host_impl.h namespace gfx { gfx 131 content/browser/renderer_host/render_widget_host_impl.h const gfx::Rect& src_rect, gfx 132 content/browser/renderer_host/render_widget_host_impl.h const gfx::Size& accelerated_dst_size, gfx 141 content/browser/renderer_host/render_widget_host_impl.h virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, gfx 144 content/browser/renderer_host/render_widget_host_impl.h virtual gfx::Size GetBackingStoreSize() OVERRIDE; gfx 158 content/browser/renderer_host/render_widget_host_impl.h virtual const gfx::Vector2d& GetLastScrollOffset() const OVERRIDE; gfx 164 content/browser/renderer_host/render_widget_host_impl.h virtual void ResizeRectChanged(const gfx::Rect& new_rect) OVERRIDE; gfx 179 content/browser/renderer_host/render_widget_host_impl.h const gfx::Rect& src_subrect, gfx 187 content/browser/renderer_host/render_widget_host_impl.h int acc_obj_id, gfx::Rect subfocus) OVERRIDE; gfx 189 content/browser/renderer_host/render_widget_host_impl.h int acc_obj_id, gfx::Point point) OVERRIDE; gfx 262 content/browser/renderer_host/render_widget_host_impl.h bool TryGetBackingStore(const gfx::Size& desired_size, gfx 278 content/browser/renderer_host/render_widget_host_impl.h BackingStore* AllocBackingStore(const gfx::Size& size); gfx 367 content/browser/renderer_host/render_widget_host_impl.h const gfx::Range& replacement_range, gfx 375 content/browser/renderer_host/render_widget_host_impl.h virtual gfx::Rect GetRootWindowResizerRect() const; gfx 429 content/browser/renderer_host/render_widget_host_impl.h gfx::NativeViewAccessible accessible_parent); gfx 430 content/browser/renderer_host/render_widget_host_impl.h gfx::NativeViewAccessible GetParentNativeViewAccessible() const; gfx 440 content/browser/renderer_host/render_widget_host_impl.h void ScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); gfx 443 content/browser/renderer_host/render_widget_host_impl.h void MoveCaret(const gfx::Point& point); gfx 541 content/browser/renderer_host/render_widget_host_impl.h gfx::Size snapshot_size, gfx 567 content/browser/renderer_host/render_widget_host_impl.h gfx::NativeViewId GetNativeViewId() const; gfx 571 content/browser/renderer_host/render_widget_host_impl.h gfx::GLSurfaceHandle GetCompositingSurface(); gfx 591 content/browser/renderer_host/render_widget_host_impl.h virtual void OnRenderAutoResized(const gfx::Size& new_size) {} gfx 654 content/browser/renderer_host/render_widget_host_impl.h void OnRequestMove(const gfx::Rect& pos); gfx 662 content/browser/renderer_host/render_widget_host_impl.h void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, gfx 663 content/browser/renderer_host/render_widget_host_impl.h gfx::Vector2dF current_fling_velocity); gfx 676 content/browser/renderer_host/render_widget_host_impl.h const gfx::Range& range, gfx 677 content/browser/renderer_host/render_widget_host_impl.h const std::vector<gfx::Rect>& character_bounds); gfx 685 content/browser/renderer_host/render_widget_host_impl.h void OnShowDisambiguationPopup(const gfx::Rect& rect, gfx 686 content/browser/renderer_host/render_widget_host_impl.h const gfx::Size& size, gfx 690 content/browser/renderer_host/render_widget_host_impl.h gfx::NativeViewId dummy_activation_window); gfx 692 content/browser/renderer_host/render_widget_host_impl.h gfx::NativeViewId dummy_activation_window); gfx 696 content/browser/renderer_host/render_widget_host_impl.h const gfx::Range& range); gfx 712 content/browser/renderer_host/render_widget_host_impl.h const gfx::Rect& bitmap_rect, gfx 713 content/browser/renderer_host/render_widget_host_impl.h const std::vector<gfx::Rect>& copy_rects, gfx 714 content/browser/renderer_host/render_widget_host_impl.h const gfx::Size& view_size, gfx 721 content/browser/renderer_host/render_widget_host_impl.h void ScrollBackingStoreRect(const gfx::Vector2d& delta, gfx 722 content/browser/renderer_host/render_widget_host_impl.h const gfx::Rect& clip_rect, gfx 723 content/browser/renderer_host/render_widget_host_impl.h const gfx::Size& view_size); gfx 806 content/browser/renderer_host/render_widget_host_impl.h gfx::Size current_size_; gfx 809 content/browser/renderer_host/render_widget_host_impl.h gfx::Size physical_backing_size_; gfx 820 content/browser/renderer_host/render_widget_host_impl.h gfx::Size last_requested_size_; gfx 823 content/browser/renderer_host/render_widget_host_impl.h gfx::Size new_auto_size_; gfx 830 content/browser/renderer_host/render_widget_host_impl.h gfx::Rect last_view_screen_rect_; gfx 831 content/browser/renderer_host/render_widget_host_impl.h gfx::Rect last_window_screen_rect_; gfx 905 content/browser/renderer_host/render_widget_host_impl.h gfx::Vector2d last_scroll_offset_; gfx 84 content/browser/renderer_host/render_widget_host_unittest.cc virtual gfx::Rect GetVisibleBounds() const OVERRIDE { gfx 85 content/browser/renderer_host/render_widget_host_unittest.cc return view_->IsShowing() ? view_->GetViewBounds() : gfx::Rect(); gfx 391 content/browser/renderer_host/render_widget_host_unittest.cc params->bitmap_rect = gfx::Rect(0, 0, w, h); gfx 392 content/browser/renderer_host/render_widget_host_unittest.cc params->scroll_delta = gfx::Vector2d(); gfx 394 content/browser/renderer_host/render_widget_host_unittest.cc params->view_size = gfx::Size(w, h); gfx 432 content/browser/renderer_host/render_widget_host_unittest.cc void set_bounds(const gfx::Rect& bounds) { gfx 452 content/browser/renderer_host/render_widget_host_unittest.cc void SetMockPhysicalBackingSize(const gfx::Size& mock_physical_backing_size) { gfx 461 content/browser/renderer_host/render_widget_host_unittest.cc virtual gfx::Rect GetViewBounds() const OVERRIDE { gfx 478 content/browser/renderer_host/render_widget_host_unittest.cc virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE { gfx 490 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Rect bounds_; gfx 492 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Size mock_physical_backing_size_; gfx 608 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen_.get()); gfx 785 content/browser/renderer_host/render_widget_host_unittest.cc scoped_ptr<gfx::Screen> screen_; gfx 812 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect()); gfx 819 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Rect original_size(0, 0, 100, 100); gfx 822 content/browser/renderer_host/render_widget_host_unittest.cc view_->SetMockPhysicalBackingSize(gfx::Size()); gfx 840 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Rect second_size(0, 0, 110, 110); gfx 853 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Rect third_size(0, 0, 120, 120); gfx 884 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect()); gfx 887 content/browser/renderer_host/render_widget_host_unittest.cc EXPECT_EQ(gfx::Size(), host_->last_requested_size_); gfx 892 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 0, 30)); gfx 895 content/browser/renderer_host/render_widget_host_unittest.cc EXPECT_EQ(gfx::Size(0, 30), host_->last_requested_size_); gfx 902 content/browser/renderer_host/render_widget_host_unittest.cc EXPECT_EQ(gfx::Size(0, 30), host_->last_requested_size_); gfx 906 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 0, 31)); gfx 909 content/browser/renderer_host/render_widget_host_unittest.cc EXPECT_EQ(gfx::Size(0, 31), host_->last_requested_size_); gfx 920 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Rect original_size(0, 0, 100, 100); gfx 933 content/browser/renderer_host/render_widget_host_unittest.cc EXPECT_EQ(gfx::Size(), host_->last_requested_size_); gfx 955 content/browser/renderer_host/render_widget_host_unittest.cc gfx::Canvas canvas(gfx::Size(4, 4), 1.0f, true); gfx 956 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 2, 2), SK_ColorBLACK); gfx 957 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(2, 0, 2, 2), SK_ColorWHITE); gfx 958 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(0, 2, 2, 2), SK_ColorWHITE); gfx 959 content/browser/renderer_host/render_widget_host_unittest.cc canvas.FillRect(gfx::Rect(2, 2, 2, 2), SK_ColorBLACK); gfx 1012 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(params.view_size)); gfx 1043 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(params.view_size)); gfx 1586 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 400, 200)); gfx 1875 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 400, 200)); gfx 2005 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 400, 200)); gfx 2180 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 400, 200)); gfx 2275 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 400, 200)); gfx 2336 content/browser/renderer_host/render_widget_host_unittest.cc view_->set_bounds(gfx::Rect(0, 0, 400, 200)); gfx 170 content/browser/renderer_host/render_widget_host_view_android.cc void RenderWidgetHostViewAndroid::InitAsChild(gfx::NativeView parent_view) { gfx 175 content/browser/renderer_host/render_widget_host_view_android.cc RenderWidgetHostView* parent_host_view, const gfx::Rect& pos) { gfx 217 content/browser/renderer_host/render_widget_host_view_android.cc void RenderWidgetHostViewAndroid::SetSize(const gfx::Size& size) { gfx 224 content/browser/renderer_host/render_widget_host_view_android.cc void RenderWidgetHostViewAndroid::SetBounds(const gfx::Rect& rect) { gfx 231 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Rect src_subrect, gfx 238 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size bounds = layer_->bounds(); gfx 240 content/browser/renderer_host/render_widget_host_view_android.cc src_subrect = gfx::Rect(bounds); gfx 243 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Display& display = gfx 244 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 247 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size dst_size( gfx 248 content/browser/renderer_host/render_widget_host_view_android.cc gfx::ToCeiledSize(gfx::ScaleSize(bounds, scale / device_scale_factor))); gfx 268 content/browser/renderer_host/render_widget_host_view_android.cc gfx::NativeView RenderWidgetHostViewAndroid::GetNativeView() const { gfx 272 content/browser/renderer_host/render_widget_host_view_android.cc gfx::NativeViewId RenderWidgetHostViewAndroid::GetNativeViewId() const { gfx 273 content/browser/renderer_host/render_widget_host_view_android.cc return reinterpret_cast<gfx::NativeViewId>( gfx 277 content/browser/renderer_host/render_widget_host_view_android.cc gfx::NativeViewAccessible gfx 284 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Vector2d& scroll_offset, gfx 381 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Rect RenderWidgetHostViewAndroid::GetViewBounds() const { gfx 383 content/browser/renderer_host/render_widget_host_view_android.cc return gfx::Rect(default_size_); gfx 385 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size size = content_view_core_->GetViewportSizeDip(); gfx 386 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size offset = content_view_core_->GetViewportSizeOffsetDip(); gfx 389 content/browser/renderer_host/render_widget_host_view_android.cc return gfx::Rect(size); gfx 392 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size RenderWidgetHostViewAndroid::GetPhysicalBackingSize() const { gfx 394 content/browser/renderer_host/render_widget_host_view_android.cc return gfx::Size(); gfx 513 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Rect& scroll_rect, gfx 514 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Vector2d& scroll_delta, gfx 515 content/browser/renderer_host/render_widget_host_view_android.cc const std::vector<gfx::Rect>& copy_rects, gfx 542 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Range& range) { gfx 569 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Rect& bounds) { gfx 579 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Size& size) { gfx 590 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Rect& src_subrect, gfx 591 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Size& dst_size, gfx 603 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Display& display = gfx 604 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 606 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size dst_size_in_pixel = gfx 607 content/browser/renderer_host/render_widget_host_view_android.cc ConvertRectToPixel(device_scale_factor, gfx::Rect(dst_size)).size(); gfx 608 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Rect src_subrect_in_pixel = gfx 650 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Rect& src_subrect, gfx 662 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap) { gfx 777 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Vector2dF offset; gfx 783 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Size(texture_size_in_layer_.width() - offset.x(), gfx 879 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Rect& src_subrect_in_pixel, gfx 880 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Size& dst_size_in_pixel, gfx 911 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Vector2dF(frame_metadata.min_page_scale_factor, gfx 961 content/browser/renderer_host/render_widget_host_view_android.cc gfx::SizeF ceiled_viewport_size = gfx 962 content/browser/renderer_host/render_widget_host_view_android.cc gfx::ToCeiledSize(frame_metadata.viewport_size); gfx 991 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Size& desired_size) { gfx 1003 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Rect RenderWidgetHostViewAndroid::GetBoundsInRootWindow() { gfx 1007 content/browser/renderer_host/render_widget_host_view_android.cc gfx::GLSurfaceHandle RenderWidgetHostViewAndroid::GetCompositingSurface() { gfx 1008 content/browser/renderer_host/render_widget_host_view_android.cc gfx::GLSurfaceHandle handle = gfx 1009 content/browser/renderer_host/render_widget_host_view_android.cc gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::NATIVE_TRANSPORT); gfx 1109 content/browser/renderer_host/render_widget_host_view_android.cc int acc_obj_id, gfx::Rect subfocus) { gfx 1117 content/browser/renderer_host/render_widget_host_view_android.cc int acc_obj_id, gfx::Point point) { gfx 1133 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Point RenderWidgetHostViewAndroid::GetLastTouchEventLocation() const { gfx 1136 content/browser/renderer_host/render_widget_host_view_android.cc return gfx::Point(); gfx 1192 content/browser/renderer_host/render_widget_host_view_android.cc void RenderWidgetHostViewAndroid::MoveCaret(const gfx::Point& point) { gfx 1202 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Vector2dF accumulated_overscroll, gfx 1203 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Vector2dF current_fling_velocity) { gfx 1283 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Size& dst_size_in_pixel, gfx 1296 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Size& dst_size_in_pixel, gfx 1339 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Rect(result->size()), gfx 1375 content/browser/renderer_host/render_widget_host_view_android.cc const gfx::Display& display = gfx 1376 content/browser/renderer_host/render_widget_host_view_android.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 1381 content/browser/renderer_host/render_widget_host_view_android.cc gfx::DeviceDisplayInfo info; gfx 73 content/browser/renderer_host/render_widget_host_view_android.h virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; gfx 75 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Rect& pos) OVERRIDE; gfx 81 content/browser/renderer_host/render_widget_host_view_android.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 82 content/browser/renderer_host/render_widget_host_view_android.h virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; gfx 83 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 84 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; gfx 85 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 87 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Vector2d& scroll_offset, gfx 96 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 97 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; gfx 107 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Rect& scroll_rect, gfx 108 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Vector2d& scroll_delta, gfx 109 content/browser/renderer_host/render_widget_host_view_android.h const std::vector<gfx::Rect>& copy_rects, gfx 117 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Range& range) OVERRIDE; gfx 120 content/browser/renderer_host/render_widget_host_view_android.h virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) OVERRIDE; gfx 122 content/browser/renderer_host/render_widget_host_view_android.h virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; gfx 134 content/browser/renderer_host/render_widget_host_view_android.h virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; gfx 137 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Rect& src_subrect, gfx 138 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Size& dst_size, gfx 142 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Rect& src_subrect, gfx 147 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; gfx 148 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; gfx 168 content/browser/renderer_host/render_widget_host_view_android.h virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, gfx 169 content/browser/renderer_host/render_widget_host_view_android.h gfx::Vector2dF current_fling_velocity) OVERRIDE; gfx 171 content/browser/renderer_host/render_widget_host_view_android.h virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, gfx 182 content/browser/renderer_host/render_widget_host_view_android.h int acc_obj_id, gfx::Rect subfocus) OVERRIDE; gfx 184 content/browser/renderer_host/render_widget_host_view_android.h int acc_obj_id, gfx::Point point) OVERRIDE; gfx 187 content/browser/renderer_host/render_widget_host_view_android.h virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; gfx 230 content/browser/renderer_host/render_widget_host_view_android.h gfx::Rect src_subrect, gfx 235 content/browser/renderer_host/render_widget_host_view_android.h void MoveCaret(const gfx::Point& point); gfx 259 content/browser/renderer_host/render_widget_host_view_android.h void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size); gfx 269 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Size& dst_size_in_pixel, gfx 275 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Size& dst_size_in_pixel, gfx 284 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Rect& src_subrect_in_pixel, gfx 285 content/browser/renderer_host/render_widget_host_view_android.h const gfx::Size& dst_size_in_pixel, gfx 325 content/browser/renderer_host/render_widget_host_view_android.h gfx::Size texture_size_in_layer_; gfx 328 content/browser/renderer_host/render_widget_host_view_android.h gfx::Size content_size_in_layer_; gfx 347 content/browser/renderer_host/render_widget_host_view_android.h gfx::Size default_size_; gfx 103 content/browser/renderer_host/render_widget_host_view_aura.cc using gfx::RectToSkIRect; gfx 104 content/browser/renderer_host/render_widget_host_view_aura.cc using gfx::SkIRectToRect; gfx 165 content/browser/renderer_host/render_widget_host_view_aura.cc std::vector<gfx::Rect> cutout_rects; gfx 205 content/browser/renderer_host/render_widget_host_view_aura.cc std::vector<gfx::Rect> cutout_rects = i->second.cutout_rects; gfx 207 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect offset_cutout = params->cutout_rects[i]; gfx 211 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::SubtractRectanglesFromRegion(hrgn, cutout_rects); gfx 305 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Display display = window ? gfx 306 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen::GetScreenFor(window)->GetDisplayNearestWindow(window) : gfx 307 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen::GetScreenFor(window)->GetPrimaryDisplay(); gfx 335 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& received_size, gfx 503 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen::GetScreenFor(window_)->AddObserver(this); gfx 525 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeView parent_view) { gfx 533 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& bounds_in_screen) { gfx 587 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect bounds; gfx 595 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Display display = gfx::Screen::GetScreenFor(window_)-> gfx 669 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::SetSize(const gfx::Size& size) { gfx 673 content/browser/renderer_host/render_widget_host_view_aura.cc InternalSetBounds(gfx::Rect(window_->bounds().origin(), size)); gfx 676 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::SetBounds(const gfx::Rect& rect) { gfx 677 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point relative_origin(rect.origin()); gfx 691 content/browser/renderer_host/render_widget_host_view_aura.cc InternalSetBounds(gfx::Rect(relative_origin, rect.size())); gfx 734 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Size desired_size = window_->bounds().size(); gfx 752 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Size desired_size = window_->bounds().size(); gfx 765 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeView RenderWidgetHostViewAura::GetNativeView() const { gfx 769 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeViewId RenderWidgetHostViewAura::GetNativeViewId() const { gfx 773 content/browser/renderer_host/render_widget_host_view_aura.cc return reinterpret_cast<gfx::NativeViewId>(host->GetAcceleratedWidget()); gfx 775 content/browser/renderer_host/render_widget_host_view_aura.cc return static_cast<gfx::NativeViewId>(NULL); gfx 778 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeViewAccessible RenderWidgetHostViewAura::GetNativeViewAccessible() { gfx 782 content/browser/renderer_host/render_widget_host_view_aura.cc return static_cast<gfx::NativeViewAccessible>(NULL); gfx 792 content/browser/renderer_host/render_widget_host_view_aura.cc return static_cast<gfx::NativeViewAccessible>(NULL); gfx 818 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Vector2d& scroll_offset, gfx 828 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect view_bounds = window_->GetBoundsInRootWindow(); gfx 831 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect view_port(scroll_offset.x(), scroll_offset.y(), view_bounds.width(), gfx 835 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect clip(moves[i].clip_rect); gfx 836 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Vector2d view_port_offset( gfx 850 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect offset_cutout = constrained_rects_[j]; gfx 914 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect RenderWidgetHostViewAura::GetViewBounds() const { gfx 918 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect bounds(window_->GetBoundsInScreen()); gfx 920 content/browser/renderer_host/render_widget_host_view_aura.cc return gfx::Rect(bounds.origin(), resize_lock_->expected_size()); gfx 933 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Display display = gfx::Screen::GetScreenFor(window_)-> gfx 976 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Range& range, gfx 977 content/browser/renderer_host/render_widget_host_view_aura.cc const std::vector<gfx::Rect>& character_bounds) { gfx 982 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& scroll_rect, gfx 983 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Vector2d& scroll_delta, gfx 984 content/browser/renderer_host/render_widget_host_view_aura.cc const std::vector<gfx::Rect>& copy_rects, gfx 1001 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect clip_rect; gfx 1005 content/browser/renderer_host/render_widget_host_view_aura.cc clip_rect = gfx::ToEnclosingRect(gfx::SkRectToRectF(sk_clip_rect)); gfx 1015 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect rect = gfx::SubtractRects(copy_rects[i], scroll_rect); gfx 1024 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect screen_rect = GetViewBounds(); gfx 1025 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect invalid_screen_rect(rect); gfx 1063 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Range& range) { gfx 1115 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& size) { gfx 1120 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& src_subrect, gfx 1121 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& dst_size, gfx 1137 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& dst_size_in_pixel = ConvertViewSizeToPixel(this, dst_size); gfx 1144 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect src_subrect_in_pixel = gfx 1151 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& src_subrect, gfx 1181 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect src_subrect_in_pixel = gfx 1233 content/browser/renderer_host/render_widget_host_view_aura.cc bool RenderWidgetHostViewAura::ShouldSkipFrame(gfx::Size size_in_dip) const { gfx 1242 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::InternalSetBounds(const gfx::Rect& rect) { gfx 1319 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& surface_rect, gfx 1321 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& damage_rect, gfx 1379 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect(current_frame_size_), gfx 1388 content/browser/renderer_host/render_widget_host_view_aura.cc const std::vector<gfx::Rect>& rects) { gfx 1410 content/browser/renderer_host/render_widget_host_view_aura.cc if (gfx::Screen::GetScreenFor(window_) == gfx::Screen::GetNativeScreen()) { gfx 1426 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect(params_in_pixel.size), gfx 1442 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Size frame_size = root_pass->output_rect.size(); gfx 1443 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Size frame_size_in_dip = gfx 1446 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect damage_rect = gfx::ToEnclosingRect(root_pass->damage_rect); gfx 1447 content/browser/renderer_host/render_widget_host_view_aura.cc damage_rect.Intersect(gfx::Rect(frame_size)); gfx 1448 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect damage_rect_in_dip = gfx 1464 content/browser/renderer_host/render_widget_host_view_aura.cc damage_rect = gfx::Rect(frame_size); gfx 1465 content/browser/renderer_host/render_widget_host_view_aura.cc damage_rect_in_dip = gfx::Rect(frame_size_in_dip); gfx 1629 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeViewAccessible accessible_parent) { gfx 1636 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeViewId RenderWidgetHostViewAura::GetParentForWindowlessPlugin() gfx 1639 content/browser/renderer_host/render_widget_host_view_aura.cc return reinterpret_cast<gfx::NativeViewId>( gfx 1647 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& surface_size, gfx 1648 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& damage_rect, gfx 1654 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect surface_rect = gfx::Rect(surface_size); gfx 1673 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size surface_size_in_pixel = surface_size; gfx 1694 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect rect_to_paint = gfx 1696 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect(damage_rect.x(), gfx 1718 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect damage_rect(params_in_pixel.x, gfx 1757 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& desired_size) { gfx 1770 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& dst_size_in_pixel, gfx 1812 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& dst_size_in_pixel, gfx 1849 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect(result->size()), gfx 1862 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Size& dst_size_in_pixel, gfx 1957 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect region_in_frame = gfx 1958 content/browser/renderer_host/render_widget_host_view_aura.cc media::ComputeLetterboxRegion(gfx::Rect(video_frame->coded_size()), gfx 1960 content/browser/renderer_host/render_widget_host_view_aura.cc region_in_frame = gfx::Rect(region_in_frame.x() & ~1, gfx 2011 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect result_rect(result->size()); gfx 2064 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect RenderWidgetHostViewAura::GetBoundsInRootWindow() { gfx 2076 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect rect(window_rect); gfx 2087 content/browser/renderer_host/render_widget_host_view_aura.cc return gfx::win::ScreenToDIPRect(rect); gfx 2151 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeViewAccessible accessible_parent = gfx 2166 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::GLSurfaceHandle RenderWidgetHostViewAura::GetCompositingSurface() { gfx 2193 content/browser/renderer_host/render_widget_host_view_aura.cc window_->MoveCursorTo(gfx::Rect(window_->bounds().size()).CenterPoint()); gfx 2254 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ImeConfirmComposition(base::string16(), gfx::Range::InvalidRange(), gfx 2269 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ImeConfirmComposition(text, gfx::Range::InvalidRange(), false); gfx 2292 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeWindow RenderWidgetHostViewAura::GetAttachedWindow() const { gfx 2308 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect RenderWidgetHostViewAura::ConvertRectToScreen( gfx 2309 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& rect) const { gfx 2310 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point origin = rect.origin(); gfx 2311 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point end = gfx::Point(rect.right(), rect.bottom()); gfx 2322 content/browser/renderer_host/render_widget_host_view_aura.cc return gfx::Rect(origin.x(), gfx 2328 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect RenderWidgetHostViewAura::ConvertRectFromScreen( gfx 2329 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& rect) const { gfx 2330 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point origin = rect.origin(); gfx 2331 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point end = gfx::Point(rect.right(), rect.bottom()); gfx 2339 content/browser/renderer_host/render_widget_host_view_aura.cc return gfx::Rect(origin.x(), gfx 2348 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect RenderWidgetHostViewAura::GetCaretBounds() const { gfx 2349 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect rect = gfx 2350 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::UnionRects(selection_anchor_rect_, selection_focus_rect_); gfx 2356 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect* rect) const { gfx 2368 content/browser/renderer_host/render_widget_host_view_aura.cc bool RenderWidgetHostViewAura::GetTextRange(gfx::Range* range) const { gfx 2375 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Range* range) const { gfx 2381 content/browser/renderer_host/render_widget_host_view_aura.cc bool RenderWidgetHostViewAura::GetSelectionRange(gfx::Range* range) const { gfx 2387 content/browser/renderer_host/render_widget_host_view_aura.cc bool RenderWidgetHostViewAura::SetSelectionRange(const gfx::Range& range) { gfx 2393 content/browser/renderer_host/render_widget_host_view_aura.cc bool RenderWidgetHostViewAura::DeleteRange(const gfx::Range& range) { gfx 2400 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Range& range, gfx 2402 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Range selection_text_range(selection_text_offset_, gfx 2450 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::EnsureCaretInRect(const gfx::Rect& rect) { gfx 2451 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect intersected_rect( gfx 2452 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::IntersectRects(rect, window_->GetBoundsInScreen())); gfx 2477 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Display& display) { gfx 2478 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(window_); gfx 2487 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Display& new_display) { gfx 2491 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Display& old_display) { gfx 2497 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Size RenderWidgetHostViewAura::GetMinimumSize() const { gfx 2498 content/browser/renderer_host/render_widget_host_view_aura.cc return gfx::Size(); gfx 2501 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Size RenderWidgetHostViewAura::GetMaximumSize() const { gfx 2502 content/browser/renderer_host/render_widget_host_view_aura.cc return gfx::Size(); gfx 2505 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnBoundsChanged(const gfx::Rect& old_bounds, gfx 2506 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& new_bounds) { gfx 2516 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeCursor RenderWidgetHostViewAura::GetCursor(const gfx::Point& point) { gfx 2523 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Point& point) const { gfx 2529 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Point& location) { gfx 2543 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::OnPaint(gfx::Canvas* canvas) { gfx 2550 content/browser/renderer_host/render_widget_host_view_aura.cc backing_store->SkiaShowRect(gfx::Point(), canvas); gfx 2579 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Display display = gfx::Screen::GetScreenFor(window_)-> gfx 2619 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::GetHitTestMask(gfx::Path* mask) const { gfx 2704 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point center(gfx::Rect(window_->bounds().size()).CenterPoint()); gfx 3014 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(window_); gfx 3027 content/browser/renderer_host/render_widget_host_view_aura.cc screen->GetDisplayNearestPoint(gfx::Point(point)).id()) gfx 3041 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Point& new_origin) { gfx 3116 content/browser/renderer_host/render_widget_host_view_aura.cc int acc_obj_id, gfx::Rect subfocus) { gfx 3124 content/browser/renderer_host/render_widget_host_view_aura.cc int acc_obj_id, gfx::Point point) { gfx 3140 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point RenderWidgetHostViewAura::GetLastTouchEventLocation() const { gfx 3142 content/browser/renderer_host/render_widget_host_view_aura.cc return gfx::Point(); gfx 3192 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen::GetScreenFor(window_)->RemoveObserver(this); gfx 3220 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Point screen_point = gfx 3221 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(); gfx 3226 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Point root_window_point = screen_point; gfx 3237 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::NativeCursor cursor = current_cursor_.GetNativeCursor(); gfx 3264 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ImeConfirmComposition(base::string16(), gfx::Range::InvalidRange(), gfx 3316 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& rect, gfx 3317 content/browser/renderer_host/render_widget_host_view_aura.cc const gfx::Rect& clip) { gfx 3319 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect to_paint = gfx::SubtractRects(rect, clip); gfx 3328 content/browser/renderer_host/render_widget_host_view_aura.cc gfx::Rect rect = window_->bounds(); gfx 59 content/browser/renderer_host/render_widget_host_view_aura.h namespace gfx { gfx 93 content/browser/renderer_host/render_widget_host_view_aura.h public gfx::DisplayObserver, gfx 119 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnSelectionOrCursorChanged(const gfx::Rect& anchor, gfx 120 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& focus) = 0; gfx 146 content/browser/renderer_host/render_widget_host_view_aura.h virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; gfx 148 content/browser/renderer_host/render_widget_host_view_aura.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 149 content/browser/renderer_host/render_widget_host_view_aura.h virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; gfx 150 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 151 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; gfx 152 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 158 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 163 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& pos) OVERRIDE; gfx 169 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Vector2d& scroll_offset, gfx 180 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Range& range, gfx 181 content/browser/renderer_host/render_widget_host_view_aura.h const std::vector<gfx::Rect>& character_bounds) OVERRIDE; gfx 183 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& scroll_rect, gfx 184 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Vector2d& scroll_delta, gfx 185 content/browser/renderer_host/render_widget_host_view_aura.h const std::vector<gfx::Rect>& copy_rects, gfx 193 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Range& range) OVERRIDE; gfx 197 content/browser/renderer_host/render_widget_host_view_aura.h virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; gfx 199 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& src_subrect, gfx 200 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Size& dst_size, gfx 204 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& src_subrect, gfx 223 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; gfx 225 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; gfx 237 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; gfx 246 content/browser/renderer_host/render_widget_host_view_aura.h gfx::NativeViewAccessible accessible_parent) OVERRIDE; gfx 247 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; gfx 257 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; gfx 261 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::Rect GetCaretBounds() const OVERRIDE; gfx 263 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Rect* rect) const OVERRIDE; gfx 265 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; gfx 266 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; gfx 267 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; gfx 268 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; gfx 269 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool DeleteRange(const gfx::Range& range) OVERRIDE; gfx 270 content/browser/renderer_host/render_widget_host_view_aura.h virtual bool GetTextFromRange(const gfx::Range& range, gfx 276 content/browser/renderer_host/render_widget_host_view_aura.h virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; gfx 282 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 283 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 284 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 287 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 288 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::Size GetMaximumSize() const OVERRIDE; gfx 289 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 290 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& new_bounds) OVERRIDE; gfx 291 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; gfx 292 content/browser/renderer_host/render_widget_host_view_aura.h virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; gfx 295 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Point& location) OVERRIDE; gfx 298 content/browser/renderer_host/render_widget_host_view_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 304 content/browser/renderer_host/render_widget_host_view_aura.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 329 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Point& new_origin) OVERRIDE; gfx 339 content/browser/renderer_host/render_widget_host_view_aura.h void UpdateConstrainedWindowRects(const std::vector<gfx::Rect>& rects); gfx 368 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Size current_frame_size() const { return current_frame_size_; } gfx 418 content/browser/renderer_host/render_widget_host_view_aura.h int acc_obj_id, gfx::Rect subfocus) OVERRIDE; gfx 420 content/browser/renderer_host/render_widget_host_view_aura.h int acc_obj_id, gfx::Point point) OVERRIDE; gfx 423 content/browser/renderer_host/render_widget_host_view_aura.h virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; gfx 427 content/browser/renderer_host/render_widget_host_view_aura.h bool ShouldSkipFrame(gfx::Size size_in_dip) const; gfx 432 content/browser/renderer_host/render_widget_host_view_aura.h void InternalSetBounds(const gfx::Rect& rect); gfx 461 content/browser/renderer_host/render_widget_host_view_aura.h void SchedulePaintIfNotInClip(const gfx::Rect& rect, const gfx::Rect& clip); gfx 486 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Size& dst_size_in_pixel, gfx 491 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Size& dst_size_in_pixel, gfx 496 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Size& dst_size_in_pixel, gfx 532 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const; gfx 535 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const; gfx 542 content/browser/renderer_host/render_widget_host_view_aura.h void BuffersSwapped(const gfx::Size& surface_size, gfx 543 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& damage_rect, gfx 549 content/browser/renderer_host/render_widget_host_view_aura.h bool SwapBuffersPrepare(const gfx::Rect& surface_rect, gfx 551 content/browser/renderer_host/render_widget_host_view_aura.h const gfx::Rect& damage_rect, gfx 626 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Rect selection_anchor_rect_; gfx 627 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Rect selection_focus_rect_; gfx 630 content/browser/renderer_host/render_widget_host_view_aura.h std::vector<gfx::Rect> composition_character_bounds_; gfx 679 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Size last_swapped_surface_size_; gfx 683 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Canvas* paint_canvas_; gfx 689 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Point unlocked_mouse_position_; gfx 691 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Point unlocked_global_mouse_position_; gfx 693 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Point global_mouse_position_; gfx 714 content/browser/renderer_host/render_widget_host_view_aura.h gfx::Size current_frame_size_; gfx 746 content/browser/renderer_host/render_widget_host_view_aura.h std::vector<gfx::Rect> constrained_rects_; gfx 65 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point* point) OVERRIDE { gfx 70 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point* point) OVERRIDE { gfx 75 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point* point) OVERRIDE { gfx 80 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc const gfx::Rect& bounds, gfx 81 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc const gfx::Display& display) OVERRIDE { gfx 124 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc FakeFrameSubscriber(gfx::Size size, base::Callback<void(bool)> callback) gfx 132 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(size_), gfx 146 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size size_; gfx 158 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size desired_size = window()->bounds().size(); gfx 164 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size desired_size = window()->bounds().size(); gfx 191 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc FakeResizeLock(const gfx::Size new_size, bool defer_compositor_lock) gfx 196 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size last_frame_size_; gfx 223 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 303 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (*i)->SetBounds(gfx::Rect()); gfx 307 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc child->SetBounds(gfx::Rect()); gfx 317 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc const gfx::Rect& requested_bounds) OVERRIDE { gfx 318 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc SetChildBoundsDirect(child, gfx::Rect(owner_->bounds().size())); gfx 328 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc MOCK_METHOD2(OnWindowPaintScheduled, void(aura::Window*, const gfx::Rect&)); gfx 359 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc parent_view_->SetBounds(gfx::Rect(10, 10, 800, 600)); gfx 360 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect bounds_in_screen = parent_view_->GetViewBounds(); gfx 369 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect final_bounds_in_screen = view_->GetViewBounds(); gfx 374 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc bounds_in_screen = gfx::Rect(60, 60, 100, 100); gfx 380 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point original_origin = window->bounds().origin(); gfx 381 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc view_->SetSize(gfx::Size(120, 120)); gfx 382 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point new_origin = window->bounds().origin(); gfx 415 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc parent_view_->SetBounds(gfx::Rect(10, 10, 400, 400)); gfx 419 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc view_->InitAsPopup(parent_view_, gfx::Rect(10, 10, 100, 100)); gfx 423 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point click_point; gfx 442 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc parent_view_->SetBounds(gfx::Rect(10, 10, 400, 400)); gfx 446 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc view_->InitAsPopup(parent_view_, gfx::Rect(10, 10, 100, 100)); gfx 450 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point tap_point; gfx 484 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc composition_text.selection = gfx::Range(4); gfx 525 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point(30, 30), gfx 529 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point(20, 20), gfx 533 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point(20, 20), gfx 592 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(20, 20), 0, gfx 601 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(20, 20), 0, gfx 619 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point(30, 30), gfx 623 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point(20, 20), gfx 627 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Point(20, 20), gfx 665 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 667 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc view_->SetSize(gfx::Size(100, 100)); gfx 725 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 726 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc view_->SetSize(gfx::Size(100, 100)); gfx 806 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 809 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc view_->SetBounds(gfx::Rect(60, 60, 100, 100)); gfx 817 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(110, 110)); gfx 823 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(80, 65)); gfx 829 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(159, 159)); gfx 835 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(67, 59)); gfx 841 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc aura::Env::GetInstance()->set_last_mouse_location(gfx::Point(161, 161)); gfx 847 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size size, gfx 848 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect damage, gfx 864 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size size, gfx 865 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect damage) { gfx 880 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size size, gfx 881 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect damage) { gfx 888 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(size), gfx 889 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::RectF(damage), gfx 890 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Transform()); gfx 906 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gl_helper->ResizeTexture(owned_mailbox->texture_id(), gfx::Size(1, 1)); gfx 918 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(params.a.screen_info.availableRect).ToString()); gfx 925 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(params.a.new_size), gfx 944 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(params.a.screen_info.availableRect).ToString()); gfx 949 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(params.a.new_size), gfx 958 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size view_size(100, 100); gfx 959 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect view_rect(view_size); gfx 963 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gl_helper->ResizeTexture(owned_mailbox->texture_id(), gfx::Size(400, 400)); gfx 970 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 992 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc params.size = gfx::Size(200, 200); gfx 1005 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc post_params.surface_size = gfx::Size(200, 200); gfx 1013 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(19, 39, 42, 42))); gfx 1025 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(4, 89, 7, 7))); gfx 1028 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc MakeGLFrame(1.f, view_size, gfx::Rect(5, 5, 5, 5), owned_mailbox.get())); gfx 1038 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect(5, 5, 5, 5))); gfx 1040 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc 0, MakeDelegatedFrame(1.f, view_size, gfx::Rect(5, 5, 5, 5))); gfx 1048 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect view_rect(100, 100); gfx 1049 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size frame_size = view_rect.size(); gfx 1055 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 1069 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect partial_view_rect(30, 30, 20, 20); gfx 1078 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc view_rect = gfx::Rect(150, 150); gfx 1083 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect dropped_damage_rect_1(10, 20, 30, 40); gfx 1090 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect dropped_damage_rect_2(40, 50, 10, 20); gfx 1100 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect new_damage_rect(5, 6, 10, 10); gfx 1121 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect view_rect(100, 100); gfx 1122 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size frame_size = view_rect.size(); gfx 1128 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 1150 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc 2, MakeDelegatedFrame(1.f, gfx::Size(), gfx::Rect())); gfx 1169 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect view_rect(100, 100); gfx 1170 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size frame_size = view_rect.size(); gfx 1189 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 1268 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect view_rect(100, 100); gfx 1269 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size frame_size = view_rect.size(); gfx 1288 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 1325 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect view_rect(100, 100); gfx 1326 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Size frame_size(100, 100); gfx 1332 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 1338 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc 1, MakeDelegatedFrame(1.f, frame_size, gfx::Rect(frame_size))); gfx 1347 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc 1, MakeDelegatedFrame(2.f, frame_size, gfx::Rect(frame_size))); gfx 1377 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect view_rect(100, 100); gfx 1384 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc gfx::Rect()); gfx 1400 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc 1, MakeDelegatedFrame(1.f, view_rect.size(), gfx::Rect(view_rect))); gfx 1425 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc 1, MakeDelegatedFrame(1.f, view_rect.size(), gfx::Rect(view_rect))); gfx 121 content/browser/renderer_host/render_widget_host_view_base.cc return gfx::GetClassNameW(window) == gfx 154 content/browser/renderer_host/render_widget_host_view_base.cc gfx::CheckWindowCreated(new_parent); gfx 171 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Rect* rect = reinterpret_cast<gfx::Rect*>(lparam); gfx 172 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Rect rect_in_pixels = gfx::win::DIPToScreenRect(*rect); gfx 286 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Rect clip_rect_in_pixel = gfx::win::DIPToScreenRect(move.clip_rect); gfx 291 content/browser/renderer_host/render_widget_host_view_base.cc gfx::SubtractRectanglesFromRegion(hrgn, move.cutout_rects); gfx 315 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Rect window_rect_in_pixel = gfx 316 content/browser/renderer_host/render_widget_host_view_base.cc gfx::win::DIPToScreenRect(move.window_rect); gfx 339 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Rect gr(r); gfx 355 content/browser/renderer_host/render_widget_host_view_base.cc HWND parent, const gfx::Rect& damaged_screen_rect) { gfx 392 content/browser/renderer_host/render_widget_host_view_base.cc selection_range_(gfx::Range::InvalidRange()), gfx 414 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Size RenderWidgetHostViewBase::GetPhysicalBackingSize() const { gfx 415 content/browser/renderer_host/render_widget_host_view_base.cc gfx::NativeView view = GetNativeView(); gfx 416 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Display display = gfx 417 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Screen::GetScreenFor(view)->GetDisplayNearestWindow(view); gfx 418 content/browser/renderer_host/render_widget_host_view_base.cc return gfx::ToCeiledSize(gfx::ScaleSize(GetViewBounds().size(), gfx 428 content/browser/renderer_host/render_widget_host_view_base.cc const gfx::Range& range) { gfx 508 content/browser/renderer_host/render_widget_host_view_base.cc void RenderWidgetHostViewBase::UpdateScreenInfo(gfx::NativeView view) { gfx 520 content/browser/renderer_host/render_widget_host_view_base.cc bool RenderWidgetHostViewBase::HasDisplayPropertyChanged(gfx::NativeView view) { gfx 521 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Display display = gfx 522 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Screen::GetScreenFor(view)->GetDisplayNearestWindow(view); gfx 584 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Vector2dF accumulated_overscroll, gfx 585 content/browser/renderer_host/render_widget_host_view_base.cc gfx::Vector2dF current_fling_velocity) { gfx 52 content/browser/renderer_host/render_widget_host_view_base.h const gfx::Range& range) OVERRIDE; gfx 55 content/browser/renderer_host/render_widget_host_view_base.h virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; gfx 86 content/browser/renderer_host/render_widget_host_view_base.h virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE {} gfx 87 content/browser/renderer_host/render_widget_host_view_base.h virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, gfx 88 content/browser/renderer_host/render_widget_host_view_base.h gfx::Vector2dF current_fling_velocity) OVERRIDE; gfx 100 content/browser/renderer_host/render_widget_host_view_base.h void UpdateScreenInfo(gfx::NativeView view); gfx 104 content/browser/renderer_host/render_widget_host_view_base.h bool HasDisplayPropertyChanged(gfx::NativeView view); gfx 124 content/browser/renderer_host/render_widget_host_view_base.h const gfx::Rect& damaged_screen_rect); gfx 157 content/browser/renderer_host/render_widget_host_view_base.h gfx::Range selection_range_; gfx 173 content/browser/renderer_host/render_widget_host_view_base.h gfx::Rect current_display_area_; gfx 93 content/browser/renderer_host/render_widget_host_view_browsertest.cc const gfx::Size& frame_size() const { gfx 169 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(), gfx 207 content/browser/renderer_host/render_widget_host_view_browsertest.cc const gfx::Size frame_size_; gfx 340 content/browser/renderer_host/render_widget_host_view_browsertest.cc *storage = media::VideoFrame::CreateBlackFrame(gfx::Size(100, 100)); gfx 376 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(), gfx 416 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(view->GetViewBounds().size()), dest, base::Bind( gfx 480 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(view->GetViewBounds().size()), gfx 488 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(view->GetViewBounds().size()), gfx 610 content/browser/renderer_host/render_widget_host_view_browsertest.cc void SetExcludeRect(gfx::Rect exclude) { exclude_rect_ = exclude; } gfx 626 content/browser/renderer_host/render_widget_host_view_browsertest.cc void PerformTestWithLeftRightRects(const gfx::Size& html_rect_size, gfx 627 content/browser/renderer_host/render_widget_host_view_browsertest.cc const gfx::Rect& copy_rect, gfx 628 content/browser/renderer_host/render_widget_host_view_browsertest.cc const gfx::Size& output_size, gfx 629 content/browser/renderer_host/render_widget_host_view_browsertest.cc const gfx::Size& expected_bitmap_size, gfx 631 content/browser/renderer_host/render_widget_host_view_browsertest.cc const gfx::Size box_size(html_rect_size.width() / 2, gfx 699 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(output_size.width() / 2 - 1, 0, 2, output_size.height())); gfx 704 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(expected_bitmap_size), gfx 725 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(output_size.width() / 2 - 1, 0, 2, output_size.height())); gfx 744 content/browser/renderer_host/render_widget_host_view_browsertest.cc void SetupLeftRightBitmap(const gfx::Size& copy_size, SkBitmap* bitmap) { gfx 771 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect exclude_rect_; gfx 777 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect(400, 300); gfx 778 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size = copy_rect.size(); gfx 779 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = output_size; gfx 780 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(400, 300); gfx 791 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect(400, 300); gfx 792 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size(200, 100); gfx 793 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = output_size; gfx 794 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(400, 300); gfx 806 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect(400, 300); gfx 807 content/browser/renderer_host/render_widget_host_view_browsertest.cc copy_rect = gfx::Rect(copy_rect.CenterPoint() - gfx::Vector2d(30, 30), gfx 808 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size(60, 60)); gfx 809 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size = copy_rect.size(); gfx 810 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = output_size; gfx 811 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(400, 300); gfx 823 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect(400, 300); gfx 824 content/browser/renderer_host/render_widget_host_view_browsertest.cc copy_rect = gfx::Rect(copy_rect.CenterPoint() - gfx::Vector2d(30, 30), gfx 825 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size(60, 60)); gfx 826 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size(20, 10); gfx 827 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = output_size; gfx 828 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(400, 300); gfx 840 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect(400, 300); gfx 841 content/browser/renderer_host/render_widget_host_view_browsertest.cc copy_rect = gfx::Rect(copy_rect.CenterPoint() - gfx::Vector2d(45, 30), gfx 842 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size(90, 60)); gfx 843 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size = copy_rect.size(); gfx 844 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = output_size; gfx 845 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(400, 300); gfx 857 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect(400, 300); gfx 858 content/browser/renderer_host/render_widget_host_view_browsertest.cc copy_rect = gfx::Rect(copy_rect.CenterPoint() - gfx::Vector2d(45, 30), gfx 859 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size(90, 60)); gfx 861 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size(30, 20); gfx 862 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = output_size; gfx 863 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(400, 300); gfx 882 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::ForceHighDPISupportForTesting(scale()); gfx 883 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::EnableHighDPISupport(); gfx 902 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect(200, 150); gfx 903 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size = copy_rect.size(); gfx 904 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = gfx 905 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::ToFlooredSize(gfx::ScaleSize(output_size, scale(), scale())); gfx 906 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(200, 150); gfx 917 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size html_rect_size(200, 150); gfx 919 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect copy_rect = gfx 920 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Rect(gfx::Rect(html_rect_size).CenterPoint() - gfx::Vector2d(45, 30), gfx 921 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size(90, 60)); gfx 922 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size output_size = copy_rect.size(); gfx 923 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::Size expected_bitmap_size = gfx 924 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::ToFlooredSize(gfx::ScaleSize(output_size, scale(), scale())); gfx 98 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Point& center) { gfx 187 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Rect damage_rect(expose->area); gfx 214 content/browser/renderer_host/render_widget_host_view_gtk.cc host_view->SetSize(gfx::Size(allocation->width, allocation->height)); gfx 391 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Point center = host_view->GetWidgetCenter(); gfx 565 content/browser/renderer_host/render_widget_host_view_gtk.cc compositing_surface_(gfx::kNullPluginWindow), gfx 589 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::NativeView parent_view) { gfx 595 content/browser/renderer_host/render_widget_host_view_gtk.cc RenderWidgetHostView* parent_host_view, const gfx::Rect& pos) { gfx 671 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Rect bounds; gfx 677 content/browser/renderer_host/render_widget_host_view_gtk.cc bounds = gfx::Rect(monitor_rect); gfx 679 content/browser/renderer_host/render_widget_host_view_gtk.cc bounds = gfx::Rect( gfx 713 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::SetSize(const gfx::Size& size) { gfx 724 content/browser/renderer_host/render_widget_host_view_gtk.cc requested_size_ = gfx::Size(width, height); gfx 730 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::SetBounds(const gfx::Rect& rect) { gfx 740 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::NativeView RenderWidgetHostViewGtk::GetNativeView() const { gfx 744 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::NativeViewId RenderWidgetHostViewGtk::GetNativeViewId() const { gfx 748 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::NativeViewAccessible RenderWidgetHostViewGtk::GetNativeViewAccessible() { gfx 754 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Vector2d& scroll_offset, gfx 809 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Rect RenderWidgetHostViewGtk::GetViewBounds() const { gfx 812 content/browser/renderer_host/render_widget_host_view_gtk.cc return gfx::Rect(requested_size_); gfx 815 content/browser/renderer_host/render_widget_host_view_gtk.cc return gfx::Rect(window_rect.x, window_rect.y, gfx 851 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Rect& scroll_rect, gfx 852 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Vector2d& scroll_delta, gfx 853 content/browser/renderer_host/render_widget_host_view_gtk.cc const std::vector<gfx::Rect>& copy_rects, gfx 873 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Rect rect = gfx::SubtractRects(copy_rects[i], scroll_rect); gfx 891 content/browser/renderer_host/render_widget_host_view_gtk.cc if (compositing_surface_ != gfx::kNullPluginWindow) { gfx 942 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::TruncateString(tooltip_text, kMaxTooltipLength); gfx 954 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Range& range) { gfx 978 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::UnionRects(params.anchor_rect, params.focus_rect)); gfx 988 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::NativeView RenderWidgetHostViewGtk::BuildInputMethodsGtkMenu() { gfx 1013 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Rect& bounds) { gfx 1038 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Size& size) { gfx 1048 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Rect& src_subrect, gfx 1049 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Size& /* dst_size */, gfx 1062 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Rect& src_subrect, gfx 1104 content/browser/renderer_host/render_widget_host_view_gtk.cc const gfx::Size& desired_size) { gfx 1129 content/browser/renderer_host/render_widget_host_view_gtk.cc CR_DEFINE_STATIC_LOCAL(gfx::Size, drag_monitor_size, ()); gfx 1169 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::Paint(const gfx::Rect& damage_rect) { gfx 1195 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Rect paint_rect = gfx::Rect(0, 0, kMaxWindowWidth, kMaxWindowHeight); gfx 1203 content/browser/renderer_host/render_widget_host_view_gtk.cc backing_store->XShowRect(gfx::Point(0, 0), gfx 1286 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Rect RenderWidgetHostViewGtk::GetBoundsInRootWindow() { gfx 1297 content/browser/renderer_host/render_widget_host_view_gtk.cc return gfx::Rect(frame_extents.x, frame_extents.y, gfx 1301 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::GLSurfaceHandle RenderWidgetHostViewGtk::GetCompositingSurface() { gfx 1302 content/browser/renderer_host/render_widget_host_view_gtk.cc if (compositing_surface_ == gfx::kNullPluginWindow) { gfx 1304 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::NativeViewId view_id = GetNativeViewId(); gfx 1310 content/browser/renderer_host/render_widget_host_view_gtk.cc return gfx::GLSurfaceHandle(compositing_surface_, gfx::NATIVE_TRANSPORT); gfx 1313 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::ResizeCompositingSurface(const gfx::Size& size) { gfx 1457 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Point RenderWidgetHostViewGtk::GetWidgetCenter() { gfx 1541 content/browser/renderer_host/render_widget_host_view_gtk.cc int acc_obj_id, gfx::Rect subfocus) { gfx 1549 content/browser/renderer_host/render_widget_host_view_gtk.cc int acc_obj_id, gfx::Point point) { gfx 1564 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::Point RenderWidgetHostViewGtk::GetLastTouchEventLocation() const { gfx 1566 content/browser/renderer_host/render_widget_host_view_gtk.cc return gfx::Point(); gfx 1606 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::PluginWindowHandle id) { gfx 1611 content/browser/renderer_host/render_widget_host_view_gtk.cc gfx::PluginWindowHandle id) { gfx 52 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; gfx 54 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 55 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; gfx 56 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 57 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; gfx 58 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 64 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 66 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; gfx 71 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Rect& pos) OVERRIDE; gfx 77 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Vector2d& scroll_offset, gfx 88 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Rect& scroll_rect, gfx 89 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Vector2d& scroll_delta, gfx 90 content/browser/renderer_host/render_widget_host_view_gtk.h const std::vector<gfx::Rect>& copy_rects, gfx 99 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Range& range) OVERRIDE; gfx 103 content/browser/renderer_host/render_widget_host_view_gtk.h virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; gfx 105 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Rect& src_subrect, gfx 106 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Size& dst_size, gfx 110 content/browser/renderer_host/render_widget_host_view_gtk.h const gfx::Rect& src_subrect, gfx 125 content/browser/renderer_host/render_widget_host_view_gtk.h virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; gfx 131 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; gfx 132 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; gfx 133 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE; gfx 155 content/browser/renderer_host/render_widget_host_view_gtk.h void Paint(const gfx::Rect&); gfx 171 content/browser/renderer_host/render_widget_host_view_gtk.h int acc_obj_id, gfx::Rect subfocus) OVERRIDE; gfx 173 content/browser/renderer_host/render_widget_host_view_gtk.h int acc_obj_id, gfx::Point point) OVERRIDE; gfx 176 content/browser/renderer_host/render_widget_host_view_gtk.h virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; gfx 210 content/browser/renderer_host/render_widget_host_view_gtk.h void DoPopupOrFullscreenInit(GtkWindow* window, const gfx::Rect& bounds); gfx 220 content/browser/renderer_host/render_widget_host_view_gtk.h void OnCreatePluginContainer(gfx::PluginWindowHandle id); gfx 221 content/browser/renderer_host/render_widget_host_view_gtk.h void OnDestroyPluginContainer(gfx::PluginWindowHandle id); gfx 223 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::Point GetWidgetCenter(); gfx 237 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::Rect invalid_rect_; gfx 280 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::Point unlocked_mouse_position_; gfx 282 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::Point unlocked_global_mouse_position_; gfx 284 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::Point global_mouse_position_; gfx 307 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::Size requested_size_; gfx 310 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::Point widget_center_; gfx 324 content/browser/renderer_host/render_widget_host_view_gtk.h gfx::PluginWindowHandle compositing_surface_; gfx 233 content/browser/renderer_host/render_widget_host_view_mac.h virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE; gfx 235 content/browser/renderer_host/render_widget_host_view_mac.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 236 content/browser/renderer_host/render_widget_host_view_mac.h virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; gfx 237 content/browser/renderer_host/render_widget_host_view_mac.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 238 content/browser/renderer_host/render_widget_host_view_mac.h virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; gfx 239 content/browser/renderer_host/render_widget_host_view_mac.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 245 content/browser/renderer_host/render_widget_host_view_mac.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 260 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Rect& pos) OVERRIDE; gfx 266 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Vector2d& scroll_offset, gfx 277 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Range& range, gfx 278 content/browser/renderer_host/render_widget_host_view_mac.h const std::vector<gfx::Rect>& character_bounds) OVERRIDE; gfx 280 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Rect& scroll_rect, gfx 281 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Vector2d& scroll_delta, gfx 282 content/browser/renderer_host/render_widget_host_view_mac.h const std::vector<gfx::Rect>& copy_rects, gfx 290 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Range& range) OVERRIDE; gfx 294 content/browser/renderer_host/render_widget_host_view_mac.h virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; gfx 296 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Rect& src_subrect, gfx 297 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Size& dst_size, gfx 301 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Rect& src_subrect, gfx 326 content/browser/renderer_host/render_widget_host_view_mac.h virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; gfx 328 content/browser/renderer_host/render_widget_host_view_mac.h virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; gfx 329 content/browser/renderer_host/render_widget_host_view_mac.h virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; gfx 365 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Size& size, gfx 380 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Point& offset); gfx 394 content/browser/renderer_host/render_widget_host_view_mac.h bool GetLineBreakIndex(const std::vector<gfx::Rect>& bounds, gfx 395 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Range& range, gfx 401 content/browser/renderer_host/render_widget_host_view_mac.h gfx::Rect GetFirstRectForCompositionRange(const gfx::Range& range, gfx 402 content/browser/renderer_host/render_widget_host_view_mac.h gfx::Range* actual_range); gfx 406 content/browser/renderer_host/render_widget_host_view_mac.h gfx::Range ConvertCharacterRangeToCompositionRange( gfx 407 content/browser/renderer_host/render_widget_host_view_mac.h const gfx::Range& request_range); gfx 578 content/browser/renderer_host/render_widget_host_view_mac.h gfx::Rect GetScaledOpenGLPixelRect(const gfx::Rect& rect); gfx 615 content/browser/renderer_host/render_widget_host_view_mac.h gfx::Point overlay_view_offset_; gfx 634 content/browser/renderer_host/render_widget_host_view_mac.h gfx::Range composition_range_; gfx 635 content/browser/renderer_host/render_widget_host_view_mac.h std::vector<gfx::Rect> composition_bounds_; gfx 638 content/browser/renderer_host/render_widget_host_view_mac.h gfx::Rect caret_rect_; gfx 32 content/browser/renderer_host/render_widget_host_view_mac_dictionary_helper.h void set_offset(const gfx::Vector2d& offset) { offset_ = offset; } gfx 45 content/browser/renderer_host/render_widget_host_view_mac_dictionary_helper.h gfx::Vector2d offset_; gfx 37 content/browser/renderer_host/software_frame_manager.cc gfx::Size frame_size_pixels, gfx 45 content/browser/renderer_host/software_frame_manager.cc const gfx::Size frame_size_pixels_; gfx 56 content/browser/renderer_host/software_frame_manager.cc gfx::Size frame_size_pixels, gfx 191 content/browser/renderer_host/software_frame_manager.cc gfx::Size SoftwareFrameManager::GetCurrentFrameSizeInPixels() const { gfx 196 content/browser/renderer_host/software_frame_manager.cc gfx::Size SoftwareFrameManager::GetCurrentFrameSizeInDIP() const { gfx 61 content/browser/renderer_host/software_frame_manager.h gfx::Size GetCurrentFrameSizeInPixels() const; gfx 62 content/browser/renderer_host/software_frame_manager.h gfx::Size GetCurrentFrameSizeInDIP() const; gfx 33 content/browser/renderer_host/software_frame_manager_unittest.cc frame.size = gfx::Size(1, 1); gfx 34 content/browser/renderer_host/software_frame_manager_unittest.cc frame.damage_rect = gfx::Rect(frame.size); gfx 56 content/browser/renderer_host/text_input_client_mac.h NSUInteger GetCharacterIndexAtPoint(RenderWidgetHost* rwh, gfx::Point point); gfx 78 content/browser/renderer_host/text_input_client_mac.h gfx::Point point, gfx 11 content/browser/renderer_host/text_input_client_message_filter.h namespace gfx { gfx 38 content/browser/renderer_host/text_input_client_message_filter.h const gfx::Point& point); gfx 40 content/browser/renderer_host/text_input_client_message_filter.h void OnGotFirstRectForRange(const gfx::Rect& rect); gfx 124 content/browser/renderer_host/ui_events_helper.cc gfx::PointF location; gfx 316 content/browser/renderer_host/ui_events_helper.cc const gfx::Point root_point = event.root_location(); gfx 237 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); gfx 260 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); gfx 282 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); gfx 321 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); gfx 340 content/browser/renderer_host/web_input_event_aura.cc const gfx::Point root_point = event->root_location(); gfx 52 content/browser/renderer_host/web_input_event_aura_unittest.cc xevent->xkey.keycode = XKeysymToKeycode(gfx::GetXDisplay(), XK_Control_L); gfx 62 content/browser/renderer_host/web_input_event_aura_unittest.cc xevent->xkey.keycode = XKeysymToKeycode(gfx::GetXDisplay(), XK_Control_R); gfx 86 content/browser/web_contents/aura/gesture_nav_simple.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 93 content/browser/web_contents/aura/gesture_nav_simple.cc gfx::Point(left_arrow_ ? 0 : kArrowWidth, kArrowHeight / 2), gfx 107 content/browser/web_contents/aura/gesture_nav_simple.cc const gfx::Image& image_; gfx 119 content/browser/web_contents/aura/gesture_nav_simple.cc void GestureNavSimple::ApplyEffectsAndDestroy(const gfx::Transform& transform, gfx 134 content/browser/web_contents/aura/gesture_nav_simple.cc gfx::Transform transform; gfx 153 content/browser/web_contents/aura/gesture_nav_simple.cc float translate_x = gfx::Tween::FloatValueBetween(complete, -kArrowWidth, 0); gfx 154 content/browser/web_contents/aura/gesture_nav_simple.cc gfx::Transform transform; gfx 158 content/browser/web_contents/aura/gesture_nav_simple.cc arrow_->SetOpacity(gfx::Tween::FloatValueBetween(complete, kMinOpacity, 1.f)); gfx 161 content/browser/web_contents/aura/gesture_nav_simple.cc gfx::Rect GestureNavSimple::GetVisibleBounds() const { gfx 203 content/browser/web_contents/aura/gesture_nav_simple.cc const gfx::Rect& window_bounds = window->bounds(); gfx 212 content/browser/web_contents/aura/gesture_nav_simple.cc arrow_->SetBounds(gfx::Rect(x, y, kArrowWidth, kArrowHeight)); gfx 11 content/browser/web_contents/aura/gesture_nav_simple.h namespace gfx { gfx 32 content/browser/web_contents/aura/gesture_nav_simple.h void ApplyEffectsAndDestroy(const gfx::Transform& transform, float opacity); gfx 38 content/browser/web_contents/aura/gesture_nav_simple.h virtual gfx::Rect GetVisibleBounds() const OVERRIDE; gfx 25 content/browser/web_contents/aura/image_window_delegate.cc void ImageWindowDelegate::SetImage(const gfx::Image& image) { gfx 31 content/browser/web_contents/aura/image_window_delegate.cc gfx::Size ImageWindowDelegate::GetMinimumSize() const { gfx 32 content/browser/web_contents/aura/image_window_delegate.cc return gfx::Size(); gfx 35 content/browser/web_contents/aura/image_window_delegate.cc gfx::Size ImageWindowDelegate::GetMaximumSize() const { gfx 36 content/browser/web_contents/aura/image_window_delegate.cc return gfx::Size(); gfx 39 content/browser/web_contents/aura/image_window_delegate.cc void ImageWindowDelegate::OnBoundsChanged(const gfx::Rect& old_bounds, gfx 40 content/browser/web_contents/aura/image_window_delegate.cc const gfx::Rect& new_bounds) { gfx 46 content/browser/web_contents/aura/image_window_delegate.cc gfx::NativeCursor ImageWindowDelegate::GetCursor(const gfx::Point& point) { gfx 47 content/browser/web_contents/aura/image_window_delegate.cc return gfx::kNullCursor; gfx 50 content/browser/web_contents/aura/image_window_delegate.cc int ImageWindowDelegate::GetNonClientComponent(const gfx::Point& point) const { gfx 56 content/browser/web_contents/aura/image_window_delegate.cc const gfx::Point& location) { gfx 67 content/browser/web_contents/aura/image_window_delegate.cc void ImageWindowDelegate::OnPaint(gfx::Canvas* canvas) { gfx 94 content/browser/web_contents/aura/image_window_delegate.cc void ImageWindowDelegate::GetHitTestMask(gfx::Path* mask) const { gfx 21 content/browser/web_contents/aura/image_window_delegate.h void SetImage(const gfx::Image& image); gfx 28 content/browser/web_contents/aura/image_window_delegate.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 29 content/browser/web_contents/aura/image_window_delegate.h virtual gfx::Size GetMaximumSize() const OVERRIDE; gfx 30 content/browser/web_contents/aura/image_window_delegate.h virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 31 content/browser/web_contents/aura/image_window_delegate.h const gfx::Rect& new_bounds) OVERRIDE; gfx 32 content/browser/web_contents/aura/image_window_delegate.h virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; gfx 33 content/browser/web_contents/aura/image_window_delegate.h virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; gfx 36 content/browser/web_contents/aura/image_window_delegate.h const gfx::Point& location) OVERRIDE; gfx 39 content/browser/web_contents/aura/image_window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 45 content/browser/web_contents/aura/image_window_delegate.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 48 content/browser/web_contents/aura/image_window_delegate.h gfx::Image image_; gfx 49 content/browser/web_contents/aura/image_window_delegate.h gfx::Size window_size_; gfx 30 content/browser/web_contents/aura/overscroll_navigation_overlay.cc void SetImage(const gfx::Image& image) { gfx 34 content/browser/web_contents/aura/overscroll_navigation_overlay.cc const gfx::Image& image() const { return image_; } gfx 38 content/browser/web_contents/aura/overscroll_navigation_overlay.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 61 content/browser/web_contents/aura/overscroll_navigation_overlay.cc gfx::Image image_; gfx 62 content/browser/web_contents/aura/overscroll_navigation_overlay.cc gfx::Size image_size_; gfx 187 content/browser/web_contents/aura/overscroll_navigation_overlay.cc gfx::Image image; gfx 189 content/browser/web_contents/aura/overscroll_navigation_overlay.cc std::vector<gfx::ImagePNGRep> image_reps; gfx 190 content/browser/web_contents/aura/overscroll_navigation_overlay.cc image_reps.push_back(gfx::ImagePNGRep(entry->screenshot(), gfx 193 content/browser/web_contents/aura/overscroll_navigation_overlay.cc image = gfx::Image(image_reps); gfx 267 content/browser/web_contents/aura/overscroll_navigation_overlay.cc window_->layer()->SetTransform(gfx::Transform()); gfx 268 content/browser/web_contents/aura/overscroll_navigation_overlay.cc window_->SchedulePaintInRect(gfx::Rect(window_->bounds().size())); gfx 25 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc gfx::Image CreateDummyScreenshot() { gfx 30 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc return gfx::Image::CreateFrom1xBitmap(bitmap); gfx 39 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &png_data); gfx 86 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc params.view_size = gfx::Size(10, 10); gfx 87 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc params.bitmap_rect = gfx::Rect(params.view_size); gfx 88 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc params.scroll_rect = gfx::Rect(); gfx 103 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc gfx::Rect(root_window()->bounds().size()), gfx 167 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc params.view_size = gfx::Size(10, 10); gfx 168 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc params.bitmap_rect = gfx::Rect(params.view_size); gfx 169 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc params.scroll_rect = gfx::Rect(); gfx 27 content/browser/web_contents/aura/shadow_layer_delegate.cc layer_->SetBounds(gfx::Rect(-kShadowThick, 0, kShadowThick, gfx 36 content/browser/web_contents/aura/shadow_layer_delegate.cc void ShadowLayerDelegate::OnPaintLayer(gfx::Canvas* canvas) { gfx 47 content/browser/web_contents/aura/shadow_layer_delegate.cc gfx::Rect paint_rect = gfx::Rect(0, 0, kShadowThick, gfx 51 content/browser/web_contents/aura/shadow_layer_delegate.cc canvas->sk_canvas()->drawRect(gfx::RectToSkRect(paint_rect), paint); gfx 35 content/browser/web_contents/aura/shadow_layer_delegate.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; gfx 154 content/browser/web_contents/aura/window_slider.cc gfx::Transform transform; gfx 176 content/browser/web_contents/aura/window_slider.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 183 content/browser/web_contents/aura/window_slider.cc gfx::Transform transform; gfx 202 content/browser/web_contents/aura/window_slider.cc gfx::Transform transform; gfx 214 content/browser/web_contents/aura/window_slider.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 27 content/browser/web_contents/aura/window_slider_unittest.cc const gfx::Vector2dF& delta) { gfx 37 content/browser/web_contents/aura/window_slider_unittest.cc const gfx::Vector2dF& delta) { gfx 50 content/browser/web_contents/aura/window_slider_unittest.cc const gfx::Vector2dF& delta) { gfx 66 content/browser/web_contents/aura/window_slider_unittest.cc const gfx::Vector2dF& delta) { gfx 214 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 223 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 224 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 236 content/browser/web_contents/aura/window_slider_unittest.cc window->SetTransform(gfx::Transform()); gfx 240 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 241 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 256 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 257 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 80), gfx 272 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 273 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(80, 10), gfx 295 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 300 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(55, 10), gfx 301 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(55, 10), gfx 315 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 316 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(80, 10), gfx 338 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 344 content/browser/web_contents/aura/window_slider_unittest.cc gfx::AnimationContainerElement* element = animator; gfx 352 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(55, 10), gfx 353 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(55, 10), gfx 362 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 369 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(100, 10), gfx 392 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(200, 10), gfx 405 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(300, 10), gfx 415 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(300, 10), gfx 431 content/browser/web_contents/aura/window_slider_unittest.cc element->Step(gfx::FrameTime::Now() + duration); gfx 459 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 460 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(80, 10), gfx 482 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 493 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 494 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 505 content/browser/web_contents/aura/window_slider_unittest.cc window->SetTransform(gfx::Transform()); gfx 509 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 510 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 530 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 539 content/browser/web_contents/aura/window_slider_unittest.cc generator.GestureScrollSequence(gfx::Point(10, 10), gfx 540 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 561 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 569 content/browser/web_contents/aura/window_slider_unittest.cc generator.GestureScrollSequence(gfx::Point(10, 10), gfx 570 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 592 content/browser/web_contents/aura/window_slider_unittest.cc window->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 599 content/browser/web_contents/aura/window_slider_unittest.cc gfx::AnimationContainerElement* element = animator; gfx 607 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 608 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 620 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeTicks start_time1 = gfx::FrameTime::Now(); gfx 628 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(10, 10), gfx 629 content/browser/web_contents/aura/window_slider_unittest.cc gfx::Point(180, 10), gfx 641 content/browser/web_contents/aura/window_slider_unittest.cc base::TimeTicks start_time2 = gfx::FrameTime::Now(); gfx 122 content/browser/web_contents/touch_editable_impl_aura.cc void TouchEditableImplAura::OnSelectionOrCursorChanged(const gfx::Rect& anchor, gfx 123 content/browser/web_contents/touch_editable_impl_aura.cc const gfx::Rect& focus) { gfx 154 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Rect anchor(selection_anchor_rect_.origin(), gfx 155 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Size(1, selection_anchor_rect_.height())); gfx 156 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Rect focus(selection_focus_rect_.origin(), gfx 157 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Size(1, selection_focus_rect_.height())); gfx 158 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Rect selection_rect = gfx::UnionRects(anchor, focus); gfx 230 content/browser/web_contents/touch_editable_impl_aura.cc void TouchEditableImplAura::SelectRect(const gfx::Point& start, gfx 231 content/browser/web_contents/touch_editable_impl_aura.cc const gfx::Point& end) { gfx 239 content/browser/web_contents/touch_editable_impl_aura.cc void TouchEditableImplAura::MoveCaretTo(const gfx::Point& point) { gfx 248 content/browser/web_contents/touch_editable_impl_aura.cc void TouchEditableImplAura::GetSelectionEndPoints(gfx::Rect* p1, gfx 249 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Rect* p2) { gfx 254 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Rect TouchEditableImplAura::GetBounds() { gfx 255 content/browser/web_contents/touch_editable_impl_aura.cc return rwhva_ ? gfx::Rect(rwhva_->GetNativeView()->bounds().size()) : gfx 256 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Rect(); gfx 259 content/browser/web_contents/touch_editable_impl_aura.cc gfx::NativeView TouchEditableImplAura::GetNativeView() const { gfx 263 content/browser/web_contents/touch_editable_impl_aura.cc void TouchEditableImplAura::ConvertPointToScreen(gfx::Point* point) { gfx 273 content/browser/web_contents/touch_editable_impl_aura.cc void TouchEditableImplAura::ConvertPointFromScreen(gfx::Point* point) { gfx 287 content/browser/web_contents/touch_editable_impl_aura.cc void TouchEditableImplAura::OpenContextMenu(const gfx::Point& anchor) { gfx 290 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Point point = anchor; gfx 306 content/browser/web_contents/touch_editable_impl_aura.cc gfx::Range selection_range; gfx 48 content/browser/web_contents/touch_editable_impl_aura.h virtual void OnSelectionOrCursorChanged(const gfx::Rect& anchor, gfx 49 content/browser/web_contents/touch_editable_impl_aura.h const gfx::Rect& focus) OVERRIDE; gfx 56 content/browser/web_contents/touch_editable_impl_aura.h virtual void SelectRect(const gfx::Point& start, gfx 57 content/browser/web_contents/touch_editable_impl_aura.h const gfx::Point& end) OVERRIDE; gfx 58 content/browser/web_contents/touch_editable_impl_aura.h virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE; gfx 59 content/browser/web_contents/touch_editable_impl_aura.h virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE; gfx 60 content/browser/web_contents/touch_editable_impl_aura.h virtual gfx::Rect GetBounds() OVERRIDE; gfx 61 content/browser/web_contents/touch_editable_impl_aura.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 62 content/browser/web_contents/touch_editable_impl_aura.h virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE; gfx 63 content/browser/web_contents/touch_editable_impl_aura.h virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE; gfx 65 content/browser/web_contents/touch_editable_impl_aura.h virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE; gfx 84 content/browser/web_contents/touch_editable_impl_aura.h gfx::Rect selection_anchor_rect_; gfx 85 content/browser/web_contents/touch_editable_impl_aura.h gfx::Rect selection_focus_rect_; gfx 46 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc virtual void OnSelectionOrCursorChanged(const gfx::Rect& anchor, gfx 47 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc const gfx::Rect& focus) OVERRIDE { gfx 140 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc content->GetHost()->SetBounds(gfx::Rect(800, 600)); gfx 158 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 165 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc generator.GestureTapAt(gfx::Point(bounds.x() + 10, bounds.y() + 10)); gfx 180 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Point(10, 47), gfx 181 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Point(30, 47), gfx 209 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 251 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 318 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 326 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc generator.GestureTapAt(gfx::Point(bounds.x() + 50, bounds.y() + 40)); gfx 345 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Point(50, 59), gfx 346 content/browser/web_contents/touch_editable_impl_aura_browsertest.cc gfx::Point(10, 59), gfx 734 content/browser/web_contents/web_contents_impl.cc gfx::NativeViewAccessible accessible_parent) { gfx 874 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::IncrementCapturerCount(const gfx::Size& capture_size) { gfx 898 content/browser/web_contents/web_contents_impl.cc const gfx::Size old_size = preferred_size_for_capture_; gfx 899 content/browser/web_contents/web_contents_impl.cc preferred_size_for_capture_ = gfx::Size(); gfx 1080 content/browser/web_contents/web_contents_impl.cc gfx::Size initial_size = params.initial_size; gfx 1260 content/browser/web_contents/web_contents_impl.cc gfx::NativeViewAccessible WebContentsImpl::GetParentNativeViewAccessible() { gfx 1453 content/browser/web_contents/web_contents_impl.cc gfx::Rect initial_pos; gfx 1524 content/browser/web_contents/web_contents_impl.cc const gfx::Rect& initial_pos, gfx 1537 content/browser/web_contents/web_contents_impl.cc const gfx::Rect& initial_pos) { gfx 1542 content/browser/web_contents/web_contents_impl.cc ShowCreatedWidget(route_id, true, gfx::Rect()); gfx 1547 content/browser/web_contents/web_contents_impl.cc const gfx::Rect& initial_pos) { gfx 1658 content/browser/web_contents/web_contents_impl.cc const gfx::Rect& anchor_in_root_view, gfx 1672 content/browser/web_contents/web_contents_impl.cc const gfx::Rect& anchor_in_root_view) { gfx 1682 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::UpdatePreferredSize(const gfx::Size& pref_size) { gfx 1683 content/browser/web_contents/web_contents_impl.cc const gfx::Size old_size = GetPreferredSize(); gfx 1688 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::ResizeDueToAutoResize(const gfx::Size& new_size) { gfx 2050 content/browser/web_contents/web_contents_impl.cc gfx::Size WebContentsImpl::GetPreferredSize() const { gfx 2460 content/browser/web_contents/web_contents_impl.cc const gfx::Rect& selection_rect, gfx 2472 content/browser/web_contents/web_contents_impl.cc const std::vector<gfx::RectF>& rects, gfx 2473 content/browser/web_contents/web_contents_impl.cc const gfx::RectF& active_rect) { gfx 2603 content/browser/web_contents/web_contents_impl.cc const std::vector<gfx::Size>& original_bitmap_sizes) { gfx 2883 content/browser/web_contents/web_contents_impl.cc gfx::Rect WebContentsImpl::GetRootWindowResizerRect() const { gfx 2886 content/browser/web_contents/web_contents_impl.cc return gfx::Rect(); gfx 3089 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::RequestMove(const gfx::Rect& new_bounds) { gfx 3456 content/browser/web_contents/web_contents_impl.cc gfx::Size size = GetSizeForNewRenderView(); gfx 3678 content/browser/web_contents/web_contents_impl.cc gfx::Size WebContentsImpl::GetSizeForNewRenderView() const { gfx 3679 content/browser/web_contents/web_contents_impl.cc gfx::Size size; gfx 3694 content/browser/web_contents/web_contents_impl.cc void WebContentsImpl::OnPreferredSizeChanged(const gfx::Size& old_size) { gfx 3697 content/browser/web_contents/web_contents_impl.cc const gfx::Size new_size = GetPreferredSize(); gfx 208 content/browser/web_contents/web_contents_impl.h gfx::NativeViewAccessible accessible_parent) OVERRIDE; gfx 225 content/browser/web_contents/web_contents_impl.h virtual void IncrementCapturerCount(const gfx::Size& capture_size) OVERRIDE; gfx 277 content/browser/web_contents/web_contents_impl.h virtual gfx::Size GetPreferredSize() const OVERRIDE; gfx 325 content/browser/web_contents/web_contents_impl.h virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; gfx 343 content/browser/web_contents/web_contents_impl.h virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; gfx 398 content/browser/web_contents/web_contents_impl.h virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; gfx 399 content/browser/web_contents/web_contents_impl.h virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; gfx 416 content/browser/web_contents/web_contents_impl.h const gfx::Rect& initial_pos, gfx 419 content/browser/web_contents/web_contents_impl.h const gfx::Rect& initial_pos) OVERRIDE; gfx 495 content/browser/web_contents/web_contents_impl.h virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; gfx 685 content/browser/web_contents/web_contents_impl.h const gfx::Rect& selection_rect, gfx 690 content/browser/web_contents/web_contents_impl.h const std::vector<gfx::RectF>& rects, gfx 691 content/browser/web_contents/web_contents_impl.h const gfx::RectF& active_rect); gfx 721 content/browser/web_contents/web_contents_impl.h const std::vector<gfx::Size>& original_bitmap_sizes); gfx 729 content/browser/web_contents/web_contents_impl.h void OnShowValidationMessage(const gfx::Rect& anchor_in_root_view, gfx 733 content/browser/web_contents/web_contents_impl.h void OnMoveValidationMessage(const gfx::Rect& anchor_in_root_view); gfx 782 content/browser/web_contents/web_contents_impl.h const gfx::Rect& initial_pos); gfx 824 content/browser/web_contents/web_contents_impl.h gfx::Size GetSizeForNewRenderView() const; gfx 832 content/browser/web_contents/web_contents_impl.h void OnPreferredSizeChanged(const gfx::Size& old_size); gfx 879 content/browser/web_contents/web_contents_impl.h gfx::NativeViewAccessible accessible_parent_; gfx 998 content/browser/web_contents/web_contents_impl.h gfx::Size preferred_size_; gfx 1002 content/browser/web_contents/web_contents_impl.h gfx::Size preferred_size_for_capture_; gfx 29 content/browser/web_contents/web_contents_impl_browsertest.cc void ResizeWebContentsView(Shell* shell, const gfx::Size& size, gfx 110 content/browser/web_contents/web_contents_impl_browsertest.cc void set_size_insets(const gfx::Size& size_insets) { gfx 115 content/browser/web_contents/web_contents_impl_browsertest.cc virtual gfx::Size GetSizeForNewRenderView( gfx 117 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size size(web_contents->GetView()->GetContainerSize()); gfx 123 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size size_insets_; gfx 128 content/browser/web_contents/web_contents_impl_browsertest.cc RenderViewSizeObserver(Shell* shell, const gfx::Size& wcv_new_size) gfx 145 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size rwhv_create_size() const { return rwhv_create_size_; } gfx 149 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size wcv_new_size_; gfx 150 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size rwhv_create_size_; gfx 294 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size size(300, 300); gfx 295 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size size_insets(10, 15); gfx 306 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size exp_wcv_size(300, 300); gfx 317 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size init_size(200, 200); gfx 318 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size new_size(100, 100); gfx 319 content/browser/web_contents/web_contents_impl_browsertest.cc size_insets = gfx::Size(20, 30); gfx 334 content/browser/web_contents/web_contents_impl_browsertest.cc gfx::Size actual_size = shell()->web_contents()->GetRenderWidgetHostView()-> gfx 2339 content/browser/web_contents/web_contents_impl_unittest.cc const gfx::Size original_preferred_size(1024, 768); gfx 2349 content/browser/web_contents/web_contents_impl_unittest.cc contents()->IncrementCapturerCount(gfx::Size()); gfx 2351 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(gfx::Size(), contents()->GetPreferredSize()); gfx 2355 content/browser/web_contents/web_contents_impl_unittest.cc const gfx::Size capture_size(1280, 720); gfx 2362 content/browser/web_contents/web_contents_impl_unittest.cc const gfx::Size another_capture_size(720, 480); gfx 57 content/browser/web_contents/web_contents_view_android.cc gfx::NativeView WebContentsViewAndroid::GetNativeView() const { gfx 61 content/browser/web_contents/web_contents_view_android.cc gfx::NativeView WebContentsViewAndroid::GetContentNativeView() const { gfx 65 content/browser/web_contents/web_contents_view_android.cc gfx::NativeWindow WebContentsViewAndroid::GetTopLevelNativeWindow() const { gfx 69 content/browser/web_contents/web_contents_view_android.cc void WebContentsViewAndroid::GetContainerBounds(gfx::Rect* out) const { gfx 90 content/browser/web_contents/web_contents_view_android.cc void WebContentsViewAndroid::SizeContents(const gfx::Size& size) { gfx 124 content/browser/web_contents/web_contents_view_android.cc gfx::Rect WebContentsViewAndroid::GetViewBounds() const { gfx 129 content/browser/web_contents/web_contents_view_android.cc return gfx::Rect(); gfx 133 content/browser/web_contents/web_contents_view_android.cc const gfx::Size& initial_size, gfx::NativeView context) { gfx 179 content/browser/web_contents/web_contents_view_android.cc const gfx::Rect& bounds, gfx 199 content/browser/web_contents/web_contents_view_android.cc const gfx::ImageSkia& image, gfx 200 content/browser/web_contents/web_contents_view_android.cc const gfx::Vector2d& image_offset, gfx 33 content/browser/web_contents/web_contents_view_android.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 34 content/browser/web_contents/web_contents_view_android.h virtual gfx::NativeView GetContentNativeView() const OVERRIDE; gfx 35 content/browser/web_contents/web_contents_view_android.h virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; gfx 36 content/browser/web_contents/web_contents_view_android.h virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; gfx 39 content/browser/web_contents/web_contents_view_android.h virtual void SizeContents(const gfx::Size& size) OVERRIDE; gfx 45 content/browser/web_contents/web_contents_view_android.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 49 content/browser/web_contents/web_contents_view_android.h const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; gfx 62 content/browser/web_contents/web_contents_view_android.h virtual void ShowPopupMenu(const gfx::Rect& bounds, gfx 72 content/browser/web_contents/web_contents_view_android.h const gfx::ImageSkia& image, gfx 73 content/browser/web_contents/web_contents_view_android.h const gfx::Vector2d& image_offset, gfx 131 content/browser/web_contents/web_contents_view_aura.cc gfx::Image image; gfx 133 content/browser/web_contents/web_contents_view_aura.cc std::vector<gfx::ImagePNGRep> image_reps; gfx 134 content/browser/web_contents/web_contents_view_aura.cc image_reps.push_back(gfx::ImagePNGRep(entry->screenshot(), gfx 137 content/browser/web_contents/web_contents_view_aura.cc image = gfx::Image(image_reps); gfx 502 content/browser/web_contents/web_contents_view_aura.cc view->UpdateConstrainedWindowRects(std::vector<gfx::Rect>()); gfx 537 content/browser/web_contents/web_contents_view_aura.cc const gfx::Rect& old_bounds, gfx 538 content/browser/web_contents/web_contents_view_aura.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 579 content/browser/web_contents/web_contents_view_aura.cc const gfx::Point& new_origin) OVERRIDE { gfx 601 content/browser/web_contents/web_contents_view_aura.cc std::vector<gfx::Rect> constrained_windows; gfx 680 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::SizeChangedCommon(const gfx::Size& size) { gfx 691 content/browser/web_contents/web_contents_view_aura.cc gfx::Point screen_loc = gfx 692 content/browser/web_contents/web_contents_view_aura.cc gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(); gfx 693 content/browser/web_contents/web_contents_view_aura.cc gfx::Point client_loc = screen_loc; gfx 748 content/browser/web_contents/web_contents_view_aura.cc gfx::Rect bounds = gfx::Rect(window_->bounds().size()); gfx 775 content/browser/web_contents/web_contents_view_aura.cc content->SetTransform(gfx::Transform()); gfx 789 content/browser/web_contents/web_contents_view_aura.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 791 content/browser/web_contents/web_contents_view_aura.cc target->SetTransform(gfx::Transform()); gfx 797 content/browser/web_contents/web_contents_view_aura.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 822 content/browser/web_contents/web_contents_view_aura.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 824 content/browser/web_contents/web_contents_view_aura.cc gfx::Transform transform; gfx 842 content/browser/web_contents/web_contents_view_aura.cc gfx::Vector2d WebContentsViewAura::GetTranslationForOverscroll(int delta_x, gfx 846 content/browser/web_contents/web_contents_view_aura.cc return gfx::Vector2d(0, delta_y); gfx 851 content/browser/web_contents/web_contents_view_aura.cc const gfx::Rect& bounds = GetViewBounds(); gfx 853 content/browser/web_contents/web_contents_view_aura.cc return gfx::Vector2d(std::max(-bounds.width(), delta_x), 0); gfx 855 content/browser/web_contents/web_contents_view_aura.cc return gfx::Vector2d(std::min(bounds.width(), delta_x), 0); gfx 856 content/browser/web_contents/web_contents_view_aura.cc return gfx::Vector2d(); gfx 863 content/browser/web_contents/web_contents_view_aura.cc gfx::Rect(overscroll_window_->bounds().size())); gfx 864 content/browser/web_contents/web_contents_view_aura.cc overscroll_window_->SetBounds(gfx::Rect(window_->bounds().size())); gfx 865 content/browser/web_contents/web_contents_view_aura.cc overscroll_window_->SetTransform(gfx::Transform()); gfx 907 content/browser/web_contents/web_contents_view_aura.cc gfx::NativeView WebContentsViewAura::GetNativeView() const { gfx 911 content/browser/web_contents/web_contents_view_aura.cc gfx::NativeView WebContentsViewAura::GetContentNativeView() const { gfx 916 content/browser/web_contents/web_contents_view_aura.cc gfx::NativeWindow WebContentsViewAura::GetTopLevelNativeWindow() const { gfx 920 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::GetContainerBounds(gfx::Rect *out) const { gfx 928 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::SizeContents(const gfx::Size& size) { gfx 929 content/browser/web_contents/web_contents_view_aura.cc gfx::Rect bounds = window_->bounds(); gfx 975 content/browser/web_contents/web_contents_view_aura.cc gfx::Rect WebContentsViewAura::GetViewBounds() const { gfx 983 content/browser/web_contents/web_contents_view_aura.cc const gfx::Size& initial_size, gfx::NativeView context) { gfx 1117 content/browser/web_contents/web_contents_view_aura.cc const gfx::ImageSkia& image, gfx 1118 content/browser/web_contents/web_contents_view_aura.cc const gfx::Vector2d& image_offset, gfx 1136 content/browser/web_contents/web_contents_view_aura.cc gfx::Size(image.width(), image.height()), image_offset, &data); gfx 1146 content/browser/web_contents/web_contents_view_aura.cc gfx::NativeView content_native_view = GetContentNativeView(); gfx 1192 content/browser/web_contents/web_contents_view_aura.cc gfx::Rect WebContentsViewAura::GetVisibleBounds() const { gfx 1195 content/browser/web_contents/web_contents_view_aura.cc return gfx::Rect(); gfx 1207 content/browser/web_contents/web_contents_view_aura.cc gfx::Vector2d translate = GetTranslationForOverscroll(delta_x, delta_y); gfx 1208 content/browser/web_contents/web_contents_view_aura.cc gfx::Transform transform; gfx 1289 content/browser/web_contents/web_contents_view_aura.cc content->SetTransform(gfx::Transform()); gfx 1300 content/browser/web_contents/web_contents_view_aura.cc gfx::Size WebContentsViewAura::GetMinimumSize() const { gfx 1301 content/browser/web_contents/web_contents_view_aura.cc return gfx::Size(); gfx 1304 content/browser/web_contents/web_contents_view_aura.cc gfx::Size WebContentsViewAura::GetMaximumSize() const { gfx 1305 content/browser/web_contents/web_contents_view_aura.cc return gfx::Size(); gfx 1308 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnBoundsChanged(const gfx::Rect& old_bounds, gfx 1309 content/browser/web_contents/web_contents_view_aura.cc const gfx::Rect& new_bounds) { gfx 1318 content/browser/web_contents/web_contents_view_aura.cc gfx::Rect bounds = window_->children()[i]->bounds(); gfx 1320 content/browser/web_contents/web_contents_view_aura.cc gfx::Point((new_bounds.width() - bounds.width()) / 2, gfx 1327 content/browser/web_contents/web_contents_view_aura.cc gfx::NativeCursor WebContentsViewAura::GetCursor(const gfx::Point& point) { gfx 1328 content/browser/web_contents/web_contents_view_aura.cc return gfx::kNullCursor; gfx 1331 content/browser/web_contents/web_contents_view_aura.cc int WebContentsViewAura::GetNonClientComponent(const gfx::Point& point) const { gfx 1337 content/browser/web_contents/web_contents_view_aura.cc const gfx::Point& location) { gfx 1356 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::OnPaint(gfx::Canvas* canvas) { gfx 1387 content/browser/web_contents/web_contents_view_aura.cc void WebContentsViewAura::GetHitTestMask(gfx::Path* mask) const { gfx 1408 content/browser/web_contents/web_contents_view_aura.cc gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(), gfx 1428 content/browser/web_contents/web_contents_view_aura.cc gfx::Point screen_pt = gfx 1429 content/browser/web_contents/web_contents_view_aura.cc gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(); gfx 1447 content/browser/web_contents/web_contents_view_aura.cc gfx::Point screen_pt = gfx 1448 content/browser/web_contents/web_contents_view_aura.cc gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(); gfx 1478 content/browser/web_contents/web_contents_view_aura.cc gfx::Screen::GetScreenFor(GetNativeView())->GetCursorScreenPoint(), gfx 58 content/browser/web_contents/web_contents_view_aura.h void SizeChangedCommon(const gfx::Size& size); gfx 89 content/browser/web_contents/web_contents_view_aura.h gfx::Vector2d GetTranslationForOverscroll(int delta_x, int delta_y); gfx 104 content/browser/web_contents/web_contents_view_aura.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 105 content/browser/web_contents/web_contents_view_aura.h virtual gfx::NativeView GetContentNativeView() const OVERRIDE; gfx 106 content/browser/web_contents/web_contents_view_aura.h virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; gfx 107 content/browser/web_contents/web_contents_view_aura.h virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; gfx 110 content/browser/web_contents/web_contents_view_aura.h virtual void SizeContents(const gfx::Size& size) OVERRIDE; gfx 116 content/browser/web_contents/web_contents_view_aura.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 120 content/browser/web_contents/web_contents_view_aura.h const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; gfx 135 content/browser/web_contents/web_contents_view_aura.h const gfx::ImageSkia& image, gfx 136 content/browser/web_contents/web_contents_view_aura.h const gfx::Vector2d& image_offset, gfx 143 content/browser/web_contents/web_contents_view_aura.h virtual gfx::Rect GetVisibleBounds() const OVERRIDE; gfx 153 content/browser/web_contents/web_contents_view_aura.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 154 content/browser/web_contents/web_contents_view_aura.h virtual gfx::Size GetMaximumSize() const OVERRIDE; gfx 155 content/browser/web_contents/web_contents_view_aura.h virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 156 content/browser/web_contents/web_contents_view_aura.h const gfx::Rect& new_bounds) OVERRIDE; gfx 157 content/browser/web_contents/web_contents_view_aura.h virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; gfx 158 content/browser/web_contents/web_contents_view_aura.h virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; gfx 161 content/browser/web_contents/web_contents_view_aura.h const gfx::Point& location) OVERRIDE; gfx 164 content/browser/web_contents/web_contents_view_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 170 content/browser/web_contents/web_contents_view_aura.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 186 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 196 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 197 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 214 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 215 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 232 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 233 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 324 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 328 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + bounds.width() / 2, bounds.y() + 5), gfx 336 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 5), gfx 348 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(x, bounds.y() + 5), gfx 358 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(x, bounds.y() + 5), gfx 368 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(x, bounds.y() + 5), gfx 446 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 449 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 450 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 586 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 589 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 590 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 608 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 611 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 612 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 648 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Rect bounds = content->GetBoundsInRootWindow(); gfx 658 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 659 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 665 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.x() + 2, bounds.y() + 10), gfx 666 content/browser/web_contents/web_contents_view_aura_browsertest.cc gfx::Point(bounds.right() - 10, bounds.y() + 10), gfx 43 content/browser/web_contents/web_contents_view_gtk.cc web_contents, gfx::Point(event->x_root, event->y_root), false); gfx 52 content/browser/web_contents/web_contents_view_gtk.cc web_contents, gfx::Point(event->x_root, event->y_root), true); gfx 111 content/browser/web_contents/web_contents_view_gtk.cc gfx::NativeView WebContentsViewGtk::GetNativeView() const { gfx 118 content/browser/web_contents/web_contents_view_gtk.cc gfx::NativeView WebContentsViewGtk::GetContentNativeView() const { gfx 125 content/browser/web_contents/web_contents_view_gtk.cc gfx::NativeWindow WebContentsViewGtk::GetTopLevelNativeWindow() const { gfx 130 content/browser/web_contents/web_contents_view_gtk.cc void WebContentsViewGtk::GetContainerBounds(gfx::Rect* out) const { gfx 183 content/browser/web_contents/web_contents_view_gtk.cc gfx::Rect WebContentsViewGtk::GetViewBounds() const { gfx 184 content/browser/web_contents/web_contents_view_gtk.cc gfx::Rect rect; gfx 197 content/browser/web_contents/web_contents_view_gtk.cc const gfx::Size& initial_size, gfx::NativeView context) { gfx 216 content/browser/web_contents/web_contents_view_gtk.cc gfx::NativeView content_view = view->GetNativeView(); gfx 252 content/browser/web_contents/web_contents_view_gtk.cc gfx::NativeView content_view = GetContentNativeView(); gfx 261 content/browser/web_contents/web_contents_view_gtk.cc void WebContentsViewGtk::SizeContents(const gfx::Size& size) { gfx 322 content/browser/web_contents/web_contents_view_gtk.cc gfx::NativeView content_view = host->GetView()->GetNativeView(); gfx 377 content/browser/web_contents/web_contents_view_gtk.cc const gfx::ImageSkia& image, gfx 378 content/browser/web_contents/web_contents_view_gtk.cc const gfx::Vector2d& image_offset, gfx 409 content/browser/web_contents/web_contents_view_gtk.cc gfx::Size size(width, height); gfx 48 content/browser/web_contents/web_contents_view_gtk.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 49 content/browser/web_contents/web_contents_view_gtk.h virtual gfx::NativeView GetContentNativeView() const OVERRIDE; gfx 50 content/browser/web_contents/web_contents_view_gtk.h virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; gfx 51 content/browser/web_contents/web_contents_view_gtk.h virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; gfx 54 content/browser/web_contents/web_contents_view_gtk.h virtual void SizeContents(const gfx::Size& size) OVERRIDE; gfx 60 content/browser/web_contents/web_contents_view_gtk.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 64 content/browser/web_contents/web_contents_view_gtk.h const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; gfx 79 content/browser/web_contents/web_contents_view_gtk.h const gfx::ImageSkia& image, gfx 80 content/browser/web_contents/web_contents_view_gtk.h const gfx::Vector2d& image_offset, gfx 134 content/browser/web_contents/web_contents_view_gtk.h gfx::Size requested_size_; gfx 48 content/browser/web_contents/web_contents_view_guest.cc gfx::NativeView WebContentsViewGuest::GetNativeView() const { gfx 52 content/browser/web_contents/web_contents_view_guest.cc gfx::NativeView WebContentsViewGuest::GetContentNativeView() const { gfx 59 content/browser/web_contents/web_contents_view_guest.cc gfx::NativeWindow WebContentsViewGuest::GetTopLevelNativeWindow() const { gfx 74 content/browser/web_contents/web_contents_view_guest.cc void WebContentsViewGuest::GetContainerBounds(gfx::Rect* out) const { gfx 77 content/browser/web_contents/web_contents_view_guest.cc gfx::Point guest_coordinates = guest_->GetScreenCoordinates(gfx::Point()); gfx 82 content/browser/web_contents/web_contents_view_guest.cc void WebContentsViewGuest::SizeContents(const gfx::Size& size) { gfx 93 content/browser/web_contents/web_contents_view_guest.cc gfx::Rect WebContentsViewGuest::GetViewBounds() const { gfx 94 content/browser/web_contents/web_contents_view_guest.cc return gfx::Rect(size_); gfx 107 content/browser/web_contents/web_contents_view_guest.cc WebContentsView* overlay, const gfx::Point& offset) { gfx 116 content/browser/web_contents/web_contents_view_guest.cc void WebContentsViewGuest::CreateView(const gfx::Size& initial_size, gfx 117 content/browser/web_contents/web_contents_view_guest.cc gfx::NativeView context) { gfx 224 content/browser/web_contents/web_contents_view_guest.cc gfx::Rect embedder_bounds; gfx 227 content/browser/web_contents/web_contents_view_guest.cc gfx::Rect guest_bounds; gfx 230 content/browser/web_contents/web_contents_view_guest.cc gfx::Vector2d offset = guest_bounds.origin() - embedder_bounds.origin(); gfx 244 content/browser/web_contents/web_contents_view_guest.cc const gfx::ImageSkia& image, gfx 245 content/browser/web_contents/web_contents_view_guest.cc const gfx::Vector2d& image_offset, gfx 43 content/browser/web_contents/web_contents_view_guest.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 44 content/browser/web_contents/web_contents_view_guest.h virtual gfx::NativeView GetContentNativeView() const OVERRIDE; gfx 45 content/browser/web_contents/web_contents_view_guest.h virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; gfx 46 content/browser/web_contents/web_contents_view_guest.h virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; gfx 49 content/browser/web_contents/web_contents_view_guest.h virtual void SizeContents(const gfx::Size& size) OVERRIDE; gfx 55 content/browser/web_contents/web_contents_view_guest.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 60 content/browser/web_contents/web_contents_view_guest.h const gfx::Point& offset) OVERRIDE; gfx 65 content/browser/web_contents/web_contents_view_guest.h virtual void CreateView(const gfx::Size& initial_size, gfx 66 content/browser/web_contents/web_contents_view_guest.h gfx::NativeView context) OVERRIDE; gfx 85 content/browser/web_contents/web_contents_view_guest.h const gfx::ImageSkia& image, gfx 86 content/browser/web_contents/web_contents_view_guest.h const gfx::Vector2d& image_offset, gfx 99 content/browser/web_contents/web_contents_view_guest.h gfx::Size size_; gfx 34 content/browser/web_contents/web_contents_view_mac.h namespace gfx { gfx 69 content/browser/web_contents/web_contents_view_mac.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 70 content/browser/web_contents/web_contents_view_mac.h virtual gfx::NativeView GetContentNativeView() const OVERRIDE; gfx 71 content/browser/web_contents/web_contents_view_mac.h virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; gfx 72 content/browser/web_contents/web_contents_view_mac.h virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; gfx 75 content/browser/web_contents/web_contents_view_mac.h virtual void SizeContents(const gfx::Size& size) OVERRIDE; gfx 81 content/browser/web_contents/web_contents_view_mac.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 85 content/browser/web_contents/web_contents_view_mac.h const gfx::Point& offset) OVERRIDE; gfx 90 content/browser/web_contents/web_contents_view_mac.h const gfx::Size& initial_size, gfx::NativeView context) OVERRIDE; gfx 105 content/browser/web_contents/web_contents_view_mac.h virtual void ShowPopupMenu(const gfx::Rect& bounds, gfx 115 content/browser/web_contents/web_contents_view_mac.h const gfx::ImageSkia& image, gfx 116 content/browser/web_contents/web_contents_view_mac.h const gfx::Vector2d& image_offset, gfx 154 content/browser/web_contents/web_contents_view_mac.h gfx::Point overlay_view_offset_; gfx 74 content/browser/web_contents/web_drag_source_gtk.cc const gfx::Vector2d& image_offset) { gfx 112 content/browser/web_contents/web_drag_source_gtk.cc drag_pixbuf_ = gfx::GdkPixbufFromSkBitmap(image); gfx 285 content/browser/web_contents/web_drag_source_gtk.cc gfx::Point root = ui::ScreenPoint(GetContentNativeView()); gfx 286 content/browser/web_contents/web_drag_source_gtk.cc gfx::Point client = ui::ClientPoint(GetContentNativeView()); gfx 355 content/browser/web_contents/web_drag_source_gtk.cc gfx::Point root = ui::ScreenPoint(GetContentNativeView()); gfx 356 content/browser/web_contents/web_drag_source_gtk.cc gfx::Point client = ui::ClientPoint(GetContentNativeView()); gfx 371 content/browser/web_contents/web_drag_source_gtk.cc gfx::NativeView WebDragSourceGtk::GetContentNativeView() const { gfx 43 content/browser/web_contents/web_drag_source_gtk.h const gfx::Vector2d& image_offset); gfx 57 content/browser/web_contents/web_drag_source_gtk.h gfx::NativeView GetContentNativeView() const; gfx 69 content/browser/web_contents/web_drag_source_gtk.h gfx::Vector2d image_offset_; gfx 20 content/child/child_shared_bitmap_manager.cc const gfx::Size& size) { gfx 55 content/child/child_shared_bitmap_manager.cc const gfx::Size&, gfx 22 content/child/child_shared_bitmap_manager.h const gfx::Size& size) OVERRIDE; gfx 24 content/child/child_shared_bitmap_manager.h const gfx::Size&, gfx 18 content/child/fling_animator_impl_android.cc gfx::Scroller::Config GetScrollerConfig() { gfx 19 content/child/fling_animator_impl_android.cc gfx::Scroller::Config config; gfx 21 content/child/fling_animator_impl_android.cc config.fling_friction = gfx::ViewConfiguration::GetScrollFriction(); gfx 33 content/child/fling_animator_impl_android.cc void FlingAnimatorImpl::StartFling(const gfx::PointF& velocity) { gfx 51 content/child/fling_animator_impl_android.cc gfx::FrameTime::Now()); gfx 70 content/child/fling_animator_impl_android.cc if (!scroller_.ComputeScrollOffset(gfx::FrameTime::Now())) { gfx 75 content/child/fling_animator_impl_android.cc gfx::PointF current_position(scroller_.GetCurrX(), scroller_.GetCurrY()); gfx 76 content/child/fling_animator_impl_android.cc gfx::Vector2dF scroll_amount(current_position - last_position_); gfx 33 content/child/fling_animator_impl_android.h void StartFling(const gfx::PointF& velocity); gfx 38 content/child/fling_animator_impl_android.h gfx::Scroller scroller_; gfx 40 content/child/fling_animator_impl_android.h gfx::PointF last_position_; gfx 19 content/child/image_decoder.cc const gfx::Size& desired_image_size, gfx 28 content/child/image_decoder.cc ImageDecoder::ImageDecoder(const gfx::Size& desired_icon_size) gfx 25 content/child/image_decoder.h ImageDecoder(const gfx::Size& desired_icon_size); gfx 39 content/child/image_decoder.h gfx::Size desired_icon_size_; gfx 68 content/child/npapi/plugin_host.cc static gfx::GLImplementation implementation = gfx::kGLImplementationNone; gfx 69 content/child/npapi/plugin_host.cc if (implementation == gfx::kGLImplementationNone) { gfx 71 content/child/npapi/plugin_host.cc DCHECK_EQ(implementation, gfx::GetGLImplementation()) gfx 73 content/child/npapi/plugin_host.cc << gfx::GetGLImplementation(); gfx 74 content/child/npapi/plugin_host.cc if (!gfx::GLSurface::InitializeOneOff()) { gfx 77 content/child/npapi/plugin_host.cc implementation = gfx::GetGLImplementation(); gfx 79 content/child/npapi/plugin_host.cc return (implementation == gfx::kGLImplementationDesktopGL); gfx 639 content/child/npapi/plugin_host.cc gfx::Rect rect(invalidRect->left, gfx 733 content/child/npapi/plugin_host.cc gfx::PluginWindowHandle handle = plugin->window_handle(); gfx 79 content/child/npapi/plugin_instance.h gfx::PluginWindowHandle window_handle() const { return window_handle_; } gfx 80 content/child/npapi/plugin_instance.h void set_window_handle(gfx::PluginWindowHandle value) { gfx 116 content/child/npapi/plugin_instance.h void set_plugin_origin(const gfx::Point& origin) { plugin_origin_ = origin; } gfx 119 content/child/npapi/plugin_instance.h void set_window_frame(const gfx::Rect& frame) { gfx 293 content/child/npapi/plugin_instance.h gfx::PluginWindowHandle window_handle_; gfx 304 content/child/npapi/plugin_instance.h gfx::Point plugin_origin_; gfx 305 content/child/npapi/plugin_instance.h gfx::Rect containing_window_frame_; gfx 41 content/child/npapi/webplugin.h virtual void SetWindow(gfx::PluginWindowHandle window) = 0; gfx 48 content/child/npapi/webplugin.h virtual void WillDestroyWindow(gfx::PluginWindowHandle window) = 0; gfx 53 content/child/npapi/webplugin.h virtual void InvalidateRect(const gfx::Rect& rect) = 0; gfx 122 content/child/npapi/webplugin.h gfx::NativeViewId dummy_activation_window) = 0; gfx 134 content/child/npapi/webplugin.h gfx::GpuPreference gpu_preference) = 0; gfx 23 content/child/npapi/webplugin_accelerated_surface_mac.h virtual void SetSize(const gfx::Size& size) = 0; gfx 25 content/child/npapi/webplugin_delegate.h namespace gfx { gfx 62 content/child/npapi/webplugin_delegate.h virtual void UpdateGeometry(const gfx::Rect& window_rect, gfx 63 content/child/npapi/webplugin_delegate.h const gfx::Rect& clip_rect) = 0; gfx 67 content/child/npapi/webplugin_delegate.h virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) = 0; gfx 128 content/child/npapi/webplugin_delegate_impl.cc const gfx::Rect& window_rect, gfx 129 content/child/npapi/webplugin_delegate_impl.cc const gfx::Rect& clip_rect) { gfx 251 content/child/npapi/webplugin_delegate_impl.cc const gfx::Rect& window_rect, gfx 252 content/child/npapi/webplugin_delegate_impl.cc const gfx::Rect& clip_rect) { gfx 92 content/child/npapi/webplugin_delegate_impl.h virtual void UpdateGeometry(const gfx::Rect& window_rect, gfx 93 content/child/npapi/webplugin_delegate_impl.h const gfx::Rect& clip_rect) OVERRIDE; gfx 94 content/child/npapi/webplugin_delegate_impl.h virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; gfx 136 content/child/npapi/webplugin_delegate_impl.h gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; } gfx 139 content/child/npapi/webplugin_delegate_impl.h gfx::Rect GetRect() const { return window_rect_; } gfx 140 content/child/npapi/webplugin_delegate_impl.h gfx::Rect GetClipRect() const { return clip_rect_; } gfx 163 content/child/npapi/webplugin_delegate_impl.h bool GetIMEStatus(int* input_type, gfx::Rect* caret_rect); gfx 169 content/child/npapi/webplugin_delegate_impl.h void UpdateGeometryAndContext(const gfx::Rect& window_rect, gfx 170 content/child/npapi/webplugin_delegate_impl.h const gfx::Rect& clip_rect, gfx 171 content/child/npapi/webplugin_delegate_impl.h gfx::NativeDrawingContext context); gfx 183 content/child/npapi/webplugin_delegate_impl.h void WindowFrameChanged(const gfx::Rect& window_frame, gfx 184 content/child/npapi/webplugin_delegate_impl.h const gfx::Rect& view_frame); gfx 198 content/child/npapi/webplugin_delegate_impl.h void CGPaint(CGContextRef context, const gfx::Rect& rect); gfx 223 content/child/npapi/webplugin_delegate_impl.h void WindowedUpdateGeometry(const gfx::Rect& window_rect, gfx 224 content/child/npapi/webplugin_delegate_impl.h const gfx::Rect& clip_rect); gfx 235 content/child/npapi/webplugin_delegate_impl.h bool WindowedReposition(const gfx::Rect& window_rect, gfx 236 content/child/npapi/webplugin_delegate_impl.h const gfx::Rect& clip_rect); gfx 265 content/child/npapi/webplugin_delegate_impl.h void WindowlessUpdateGeometry(const gfx::Rect& window_rect, gfx 266 content/child/npapi/webplugin_delegate_impl.h const gfx::Rect& clip_rect); gfx 267 content/child/npapi/webplugin_delegate_impl.h void WindowlessPaint(gfx::NativeDrawingContext hdc, const gfx::Rect& rect); gfx 298 content/child/npapi/webplugin_delegate_impl.h gfx::PluginWindowHandle windowed_handle_; gfx 299 content/child/npapi/webplugin_delegate_impl.h gfx::Rect windowed_last_pos_; gfx 344 content/child/npapi/webplugin_delegate_impl.h gfx::Rect window_rect_; gfx 345 content/child/npapi/webplugin_delegate_impl.h gfx::Rect clip_rect_; gfx 406 content/child/npapi/webplugin_delegate_impl.h void SetPluginRect(const gfx::Rect& rect); gfx 408 content/child/npapi/webplugin_delegate_impl.h void SetContentAreaOrigin(const gfx::Point& origin); gfx 433 content/child/npapi/webplugin_delegate_impl.h gfx::Point content_area_origin_; gfx 440 content/child/npapi/webplugin_delegate_impl.h gfx::Rect cached_clip_rect_; gfx 42 content/child/npapi/webplugin_delegate_impl_android.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { gfx 53 content/child/npapi/webplugin_delegate_impl_android.cc const gfx::Rect& window_rect, gfx 54 content/child/npapi/webplugin_delegate_impl_android.cc const gfx::Rect& clip_rect) { gfx 62 content/child/npapi/webplugin_delegate_impl_android.cc const gfx::Rect& window_rect, gfx 63 content/child/npapi/webplugin_delegate_impl_android.cc const gfx::Rect& clip_rect) { gfx 66 content/child/npapi/webplugin_delegate_impl_android.cc void WebPluginDelegateImpl::WindowlessPaint(gfx::NativeDrawingContext context, gfx 67 content/child/npapi/webplugin_delegate_impl_android.cc const gfx::Rect& damage_rect) { gfx 29 content/child/npapi/webplugin_delegate_impl_aura.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { gfx 40 content/child/npapi/webplugin_delegate_impl_aura.cc const gfx::Rect& window_rect, gfx 41 content/child/npapi/webplugin_delegate_impl_aura.cc const gfx::Rect& clip_rect) { gfx 49 content/child/npapi/webplugin_delegate_impl_aura.cc const gfx::Rect& window_rect, gfx 50 content/child/npapi/webplugin_delegate_impl_aura.cc const gfx::Rect& clip_rect) { gfx 53 content/child/npapi/webplugin_delegate_impl_aura.cc void WebPluginDelegateImpl::WindowlessPaint(gfx::NativeDrawingContext context, gfx 54 content/child/npapi/webplugin_delegate_impl_aura.cc const gfx::Rect& damage_rect) { gfx 89 content/child/npapi/webplugin_delegate_impl_gtk.cc gfx::PluginWindowHandle handle = gfx 99 content/child/npapi/webplugin_delegate_impl_gtk.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { gfx 166 content/child/npapi/webplugin_delegate_impl_gtk.cc const gfx::Rect& window_rect, gfx 167 content/child/npapi/webplugin_delegate_impl_gtk.cc const gfx::Rect& clip_rect) { gfx 217 content/child/npapi/webplugin_delegate_impl_gtk.cc const gfx::Rect& window_rect, gfx 218 content/child/npapi/webplugin_delegate_impl_gtk.cc const gfx::Rect& clip_rect) { gfx 259 content/child/npapi/webplugin_delegate_impl_gtk.cc const gfx::Rect& rect, gfx 271 content/child/npapi/webplugin_delegate_impl_gtk.cc const gfx::Rect& damage_rect) { gfx 355 content/child/npapi/webplugin_delegate_impl_gtk.cc gfx::Rect draw_rect = gfx::IntersectRects(window_rect_, damage_rect); gfx 358 content/child/npapi/webplugin_delegate_impl_gtk.cc gfx::Rect clip_rect_window = clip_rect_; gfx 383 content/child/npapi/webplugin_delegate_impl_gtk.cc gfx::Rect pixmap_draw_rect = draw_rect; gfx 386 content/child/npapi/webplugin_delegate_impl_gtk.cc gfx::Rect pixmap_rect(0, 0, gfx 404 content/child/npapi/webplugin_delegate_impl_gtk.cc gfx::Rect plugin_draw_rect = draw_rect; gfx 352 content/child/npapi/webplugin_delegate_impl_win.cc reinterpret_cast<gfx::NativeViewId>(dummy_window_for_activation_)); gfx 457 content/child/npapi/webplugin_delegate_impl_win.cc void WebPluginDelegateImpl::Paint(SkCanvas* canvas, const gfx::Rect& rect) { gfx 786 content/child/npapi/webplugin_delegate_impl_win.cc const gfx::Rect& window_rect_in_dip, gfx 787 content/child/npapi/webplugin_delegate_impl_win.cc const gfx::Rect& clip_rect_in_dip) { gfx 793 content/child/npapi/webplugin_delegate_impl_win.cc gfx::Rect window_rect = gfx::win::DIPToScreenRect(window_rect_in_dip); gfx 794 content/child/npapi/webplugin_delegate_impl_win.cc gfx::Rect clip_rect = gfx::win::DIPToScreenRect(clip_rect_in_dip); gfx 966 content/child/npapi/webplugin_delegate_impl_win.cc gfx::Rect invalid_rect; gfx 1046 content/child/npapi/webplugin_delegate_impl_win.cc const gfx::Rect& window_rect, gfx 1047 content/child/npapi/webplugin_delegate_impl_win.cc const gfx::Rect& clip_rect) { gfx 1075 content/child/npapi/webplugin_delegate_impl_win.cc const gfx::Rect& damage_rect) { gfx 1475 content/child/npapi/webplugin_delegate_impl_win.cc gfx::Rect* caret_rect) { gfx 1503 content/child/npapi/webplugin_delegate_impl_win.cc if (gfx::GetClassName(window) != base::string16(kNativeWindowClassName)) gfx 150 content/child/npapi/webplugin_ime_win.cc bool WebPluginIMEWin::GetStatus(int* input_type, gfx::Rect* caret_rect) { gfx 299 content/child/npapi/webplugin_ime_win.cc gfx::Rect caret_rect(candidate->rcArea); gfx 106 content/child/npapi/webplugin_ime_win.h bool GetStatus(int* input_type, gfx::Rect* caret_rect); gfx 175 content/child/npapi/webplugin_ime_win.h gfx::Rect caret_rect_; gfx 69 content/child/plugin_messages.h IPC_STRUCT_MEMBER(gfx::Rect, window_rect) gfx 70 content/child/plugin_messages.h IPC_STRUCT_MEMBER(gfx::Rect, clip_rect) gfx 103 content/child/plugin_messages.h gfx::Rect /* damaged_rect */) gfx 216 content/child/plugin_messages.h gfx::Rect /* window_frame */, gfx 217 content/child/plugin_messages.h gfx::Rect /* view_frame */, gfx 221 content/child/plugin_messages.h gfx::Rect /* window_frame */, gfx 222 content/child/plugin_messages.h gfx::Rect /* view_frame */) gfx 236 content/child/plugin_messages.h gfx::PluginWindowHandle /* window */) gfx 245 content/child/plugin_messages.h gfx::Rect /* rect */) gfx 304 content/child/plugin_messages.h gfx::NativeViewId /* dummy_activation_window*/) gfx 314 content/child/plugin_messages.h gfx::Rect /* caret_rect */) gfx 189 content/child/webfallbackthemeengine_impl.cc gfx::Rect(rect), gfx 175 content/child/webthemeengine_impl_android.cc gfx::Rect(rect), gfx 183 content/child/webthemeengine_impl_default.cc gfx::Rect(rect), gfx 56 content/child/webthemeengine_impl_mac.cc gfx::SkiaBitLocker bitLocker(canvas); gfx 71 content/common/accessibility_messages.h IPC_STRUCT_MEMBER(gfx::Rect, new_location) gfx 92 content/common/accessibility_messages.h gfx::Rect /* subfocus */) gfx 99 content/common/accessibility_messages.h gfx::Point /* new location */) gfx 17 content/common/android/surface_texture_lookup.h virtual gfx::AcceleratedWidget AcquireNativeWidget(int primary_id, gfx 23 content/common/android/surface_texture_peer.h scoped_refptr<gfx::SurfaceTexture> surface_texture, gfx 45 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Size, max_size) gfx 46 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Size, min_size) gfx 60 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Rect, view_rect) gfx 94 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) gfx 99 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Vector2d, scroll_delta) gfx 102 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Rect, scroll_rect) gfx 105 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Point, scroll_offset) gfx 109 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) gfx 116 content/common/browser_plugin/browser_plugin_messages.h IPC_STRUCT_MEMBER(gfx::Size, view_size) gfx 202 content/common/browser_plugin/browser_plugin_messages.h gfx::Rect /* guest_window_rect */, gfx 256 content/common/browser_plugin/browser_plugin_messages.h gfx::Point /* plugin_location */) gfx 274 content/common/browser_plugin/browser_plugin_messages.h gfx::Rect /* view_rect */) gfx 340 content/common/browser_plugin/browser_plugin_messages.h gfx::Rect /* source_rect */, gfx 341 content/common/browser_plugin/browser_plugin_messages.h gfx::Size /* dest_size */) gfx 57 content/common/cc_messages.cc gfx::Point drop_shadow_offset; gfx 246 content/common/cc_messages.cc void ParamTraits<gfx::Transform>::Write( gfx 258 content/common/cc_messages.cc bool ParamTraits<gfx::Transform>::Read( gfx 268 content/common/cc_messages.cc void ParamTraits<gfx::Transform>::Log( gfx 404 content/common/cc_messages.cc gfx::Rect output_rect; gfx 405 content/common/cc_messages.cc gfx::RectF damage_rect; gfx 406 content/common/cc_messages.cc gfx::Transform transform_to_root_target; gfx 35 content/common/cc_messages.h namespace gfx { gfx 70 content/common/cc_messages.h struct ParamTraits<gfx::Transform> { gfx 71 content/common/cc_messages.h typedef gfx::Transform param_type; gfx 43 content/common/cc_messages_unittest.cc using gfx::Transform; gfx 226 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect1(-5, 9, 3, 15); gfx 227 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect1_inside_rect1(-4, 12, 2, 8); gfx 228 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect2_inside_rect1(-5, 11, 1, 2); gfx 229 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect2(40, 23, 11, 7); gfx 230 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect1_inside_rect2(44, 23, 4, 2); gfx 231 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect2_inside_rect2(41, 25, 3, 5); gfx 232 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect3(7, -53, 22, 19); gfx 233 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect1_inside_rect3(10, -40, 6, 3); gfx 234 content/common/cc_messages_unittest.cc gfx::Rect arbitrary_rect2_inside_rect3(12, -51, 5, 12); gfx 235 content/common/cc_messages_unittest.cc gfx::Size arbitrary_size1(15, 19); gfx 236 content/common/cc_messages_unittest.cc gfx::Size arbitrary_size2(3, 99); gfx 237 content/common/cc_messages_unittest.cc gfx::Size arbitrary_size3(75, 1281); gfx 238 content/common/cc_messages_unittest.cc gfx::RectF arbitrary_rectf1(4.2f, -922.1f, 15.6f, 29.5f); gfx 239 content/common/cc_messages_unittest.cc gfx::SizeF arbitrary_sizef1(15.2f, 104.6f); gfx 240 content/common/cc_messages_unittest.cc gfx::PointF arbitrary_pointf1(31.4f, 15.9f); gfx 241 content/common/cc_messages_unittest.cc gfx::PointF arbitrary_pointf2(26.5f, -35.8f); gfx 537 content/common/cc_messages_unittest.cc gfx::Rect(100, 100), gfx 538 content/common/cc_messages_unittest.cc gfx::RectF(), gfx 539 content/common/cc_messages_unittest.cc gfx::Transform(), gfx 544 content/common/cc_messages_unittest.cc shared_state1_in->SetAll(gfx::Transform(), gfx 545 content/common/cc_messages_unittest.cc gfx::Size(1, 1), gfx 546 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 547 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 554 content/common/cc_messages_unittest.cc gfx::Rect(10, 10), gfx 555 content/common/cc_messages_unittest.cc gfx::Rect(10, 10), gfx 556 content/common/cc_messages_unittest.cc gfx::Rect(10, 10), gfx 563 content/common/cc_messages_unittest.cc shared_state2_in->SetAll(gfx::Transform(), gfx 564 content/common/cc_messages_unittest.cc gfx::Size(2, 2), gfx 565 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 566 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 572 content/common/cc_messages_unittest.cc shared_state3_in->SetAll(gfx::Transform(), gfx 573 content/common/cc_messages_unittest.cc gfx::Size(3, 3), gfx 574 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 575 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 582 content/common/cc_messages_unittest.cc shared_state4_in->SetAll(gfx::Transform(), gfx 583 content/common/cc_messages_unittest.cc gfx::Size(4, 4), gfx 584 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 585 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 592 content/common/cc_messages_unittest.cc gfx::Rect(10, 10), gfx 593 content/common/cc_messages_unittest.cc gfx::Rect(10, 10), gfx 594 content/common/cc_messages_unittest.cc gfx::Rect(10, 10), gfx 601 content/common/cc_messages_unittest.cc shared_state5_in->SetAll(gfx::Transform(), gfx 602 content/common/cc_messages_unittest.cc gfx::Size(5, 5), gfx 603 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 604 content/common/cc_messages_unittest.cc gfx::Rect(), gfx 638 content/common/cc_messages_unittest.cc EXPECT_EQ(gfx::Size(1, 1).ToString(), gfx 640 content/common/cc_messages_unittest.cc EXPECT_EQ(gfx::Size(4, 4).ToString(), gfx 646 content/common/cc_messages_unittest.cc gfx::Size arbitrary_size(757, 1281); gfx 664 content/common/cc_messages_unittest.cc arbitrary_resource1.size = gfx::Size(37189, 123123); gfx 673 content/common/cc_messages_unittest.cc arbitrary_resource2.size = gfx::Size(89123, 23789); gfx 680 content/common/cc_messages_unittest.cc RenderPass::Id(1, 1), gfx::Rect(), gfx::Rect(), gfx::Transform()); gfx 754 content/common/cc_messages_unittest.cc frame_in.size = gfx::Size(40, 20); gfx 755 content/common/cc_messages_unittest.cc frame_in.damage_rect = gfx::Rect(5, 18, 31, 44); gfx 780 content/common/cc_messages_unittest.cc frame_in.size = gfx::Size(40, 20); gfx 781 content/common/cc_messages_unittest.cc frame_in.damage_rect = gfx::Rect(5, 18, 31, 44); gfx 803 content/common/cc_messages_unittest.cc frame_in.size = gfx::Size(max, max); gfx 310 content/common/child_process_host_impl.cc gfx::GpuMemoryBufferHandle* handle) { gfx 311 content/common/child_process_host_impl.cc handle->type = gfx::SHARED_MEMORY_BUFFER; gfx 25 content/common/child_process_host_impl.h namespace gfx { gfx 83 content/common/child_process_host_impl.h gfx::GpuMemoryBufferHandle* handle); gfx 60 content/common/child_process_messages.h IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, gfx 61 content/common/child_process_messages.h gfx::GPU_MEMORY_BUFFER_TYPE_LAST) gfx 64 content/common/child_process_messages.h IPC_STRUCT_TRAITS_BEGIN(gfx::SurfaceTextureId) gfx 70 content/common/child_process_messages.h IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) gfx 188 content/common/child_process_messages.h gfx::GpuMemoryBufferHandle) gfx 14 content/common/content_param_traits.cc void ParamTraits<gfx::Range>::Write(Message* m, const gfx::Range& r) { gfx 19 content/common/content_param_traits.cc bool ParamTraits<gfx::Range>::Read(const Message* m, gfx 21 content/common/content_param_traits.cc gfx::Range* r) { gfx 30 content/common/content_param_traits.cc void ParamTraits<gfx::Range>::Log(const gfx::Range& r, std::string* l) { gfx 21 content/common/content_param_traits.h namespace gfx { gfx 32 content/common/content_param_traits.h struct ParamTraits<gfx::Range> { gfx 33 content/common/content_param_traits.h typedef gfx::Range param_type; gfx 65 content/common/cursors/webcursor.h gfx::Point hotspot; gfx 99 content/common/cursors/webcursor.h gfx::NativeCursor GetNativeCursor(); gfx 112 content/common/cursors/webcursor.h void SetDisplayInfo(const gfx::Display& display); gfx 169 content/common/cursors/webcursor.h gfx::Point hotspot_; gfx 173 content/common/cursors/webcursor.h gfx::Size custom_size_; // In pixels. gfx 187 content/common/cursors/webcursor.h gfx::Display::Rotation rotation_; gfx 15 content/common/cursors/webcursor_aura.cc gfx::NativeCursor WebCursor::GetNativeCursor() { gfx 110 content/common/cursors/webcursor_aura.cc return gfx::kNullCursor; gfx 30 content/common/cursors/webcursor_aurawin.cc void WebCursor::SetDisplayInfo(const gfx::Display& display) { gfx 32 content/common/cursors/webcursor_aurax11.cc gfx::Point hotspot = hotspot_; gfx 41 content/common/cursors/webcursor_aurax11.cc void WebCursor::SetDisplayInfo(const gfx::Display& display) { gfx 58 content/common/cursors/webcursor_aurax11.cc rotation_ = gfx::Display::ROTATE_0; gfx 145 content/common/cursors/webcursor_gtk.cc gfx::NativeCursor WebCursor::GetNativeCursor() { gfx 149 content/common/cursors/webcursor_gtk.cc return gfx::GetCursor(type); gfx 181 content/common/cursors/webcursor_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); gfx 20 content/common/cursors/webcursor_ozone.cc gfx::Point hotspot = hotspot_; gfx 28 content/common/cursors/webcursor_ozone.cc void WebCursor::SetDisplayInfo(const gfx::Display& display) { gfx 45 content/common/cursors/webcursor_ozone.cc rotation_ = gfx::Display::ROTATE_0; gfx 165 content/common/cursors/webcursor_unittest.cc EXPECT_EQ(gfx::Point(1, 1), info.hotspot); gfx 169 content/common/cursors/webcursor_unittest.cc info.hotspot = gfx::Point(-1, -1); gfx 172 content/common/cursors/webcursor_unittest.cc EXPECT_EQ(gfx::Point(0, 0), info.hotspot); gfx 142 content/common/cursors/webcursor_win.cc gfx::NativeCursor WebCursor::GetNativeCursor() { gfx 16 content/common/drag_event_source_info.h gfx::Point event_location; gfx 23 content/common/drag_messages.h gfx::Point /* client_pt */, gfx 24 content/common/drag_messages.h gfx::Point /* screen_pt */, gfx 29 content/common/drag_messages.h gfx::Point /* client_pt */, gfx 30 content/common/drag_messages.h gfx::Point /* screen_pt */, gfx 37 content/common/drag_messages.h gfx::Point /* client_pt */, gfx 38 content/common/drag_messages.h gfx::Point /* screen_pt */, gfx 43 content/common/drag_messages.h gfx::Point /* client_pt */, gfx 44 content/common/drag_messages.h gfx::Point /* screen_pt */, gfx 60 content/common/drag_messages.h gfx::Vector2d /* image_offset */, gfx 512 content/common/frame_messages.h gfx::Rect /* frame_rect */, gfx 28 content/common/frame_param_macros.h IPC_STRUCT_MEMBER(gfx::Size, size) gfx 306 content/common/gpu/client/command_buffer_proxy_impl.cc gfx::GpuMemoryBuffer* CommandBufferProxyImpl::CreateGpuMemoryBuffer( gfx 319 content/common/gpu/client/command_buffer_proxy_impl.cc scoped_ptr<gfx::GpuMemoryBuffer> gpu_memory_buffer( gfx 332 content/common/gpu/client/command_buffer_proxy_impl.cc gfx::GpuMemoryBufferHandle handle = gfx 31 content/common/gpu/client/command_buffer_proxy_impl.h namespace gfx { gfx 105 content/common/gpu/client/command_buffer_proxy_impl.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( gfx 151 content/common/gpu/client/command_buffer_proxy_impl.h typedef std::map<int32, gfx::GpuMemoryBuffer*> GpuMemoryBufferMap; gfx 50 content/common/gpu/client/gl_helper.cc TextureFrameBufferPair(GLES2Interface* gl, gfx::Size size) gfx 70 content/common/gpu/client/gl_helper.cc gfx::Size size() const { return size_; } gfx 75 content/common/gpu/client/gl_helper.cc gfx::Size size_; gfx 140 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 141 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 142 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 149 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_rect, gfx 154 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 161 content/common/gpu/client/gl_helper.cc void ReadbackAsync(const gfx::Size& dst_size, gfx 173 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 178 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 179 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 185 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 186 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 187 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 188 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 207 content/common/gpu/client/gl_helper.cc Request(const gfx::Size& size_, gfx 222 content/common/gpu/client/gl_helper.cc gfx::Size size; gfx 239 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 240 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 241 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 242 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 257 content/common/gpu/client/gl_helper.cc gfx::Size dst_size_; gfx 258 content/common/gpu/client/gl_helper.cc gfx::Rect dst_subrect_; gfx 277 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 278 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 279 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 280 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 295 content/common/gpu/client/gl_helper.cc gfx::Size dst_size_; gfx 296 content/common/gpu/client/gl_helper.cc gfx::Rect dst_subrect_; gfx 314 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 315 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 316 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 344 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 345 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 346 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 360 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 361 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 362 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 411 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 471 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 472 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 473 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 528 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_rect, gfx 556 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 584 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 585 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 590 content/common/gpu/client/gl_helper.cc gfx::Rect(src_size), gfx 681 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 682 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 683 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 702 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 703 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 704 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 717 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_rect, gfx 726 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 738 content/common/gpu/client/gl_helper.cc GLuint GLHelper::CopyTexture(GLuint texture, const gfx::Size& size) { gfx 745 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 746 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 867 content/common/gpu/client/gl_helper.cc void GLHelper::ResizeTexture(GLuint texture, const gfx::Size& size) { gfx 880 content/common/gpu/client/gl_helper.cc void GLHelper::CopyTextureSubImage(GLuint texture, const gfx::Rect& rect) { gfx 892 content/common/gpu/client/gl_helper.cc void GLHelper::CopyTextureFullImage(GLuint texture, const gfx::Size& size) { gfx 907 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 936 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 937 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 938 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 939 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 957 content/common/gpu/client/gl_helper.cc gfx::Rect(0, gfx 961 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height()), gfx 968 content/common/gpu/client/gl_helper.cc gfx::Rect(0, gfx 972 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, gfx 980 content/common/gpu/client/gl_helper.cc gfx::Rect(0, gfx 984 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, gfx 1063 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 1064 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 1065 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 1066 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 1084 content/common/gpu/client/gl_helper.cc gfx::Rect(0, 0, (dst_subrect.width() + 3) & ~3, dst_subrect.height()), gfx 1085 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height()), gfx 1090 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height()), gfx 1091 content/common/gpu/client/gl_helper.cc gfx::Rect(0, gfx 1095 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, gfx 1100 content/common/gpu/client/gl_helper.cc y_(gl, gfx::Size((dst_subrect.width() + 3) / 4, dst_subrect.height())), gfx 1103 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, gfx 1106 content/common/gpu/client/gl_helper.cc gfx::Size((dst_subrect.width() + 7) / 8, gfx 1201 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 1202 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 1203 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 1204 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 1243 content/common/gpu/client/gl_helper.cc const gfx::Size& src_size, gfx 1244 content/common/gpu/client/gl_helper.cc const gfx::Rect& src_subrect, gfx 1245 content/common/gpu/client/gl_helper.cc const gfx::Size& dst_size, gfx 1246 content/common/gpu/client/gl_helper.cc const gfx::Rect& dst_subrect, gfx 17 content/common/gpu/client/gl_helper.h namespace gfx { gfx 171 content/common/gpu/client/gl_helper.h const gfx::Size& src_size, gfx 172 content/common/gpu/client/gl_helper.h const gfx::Rect& src_subrect, gfx 173 content/common/gpu/client/gl_helper.h const gfx::Size& dst_size, gfx 190 content/common/gpu/client/gl_helper.h const gfx::Size& src_size, gfx 191 content/common/gpu/client/gl_helper.h const gfx::Rect& src_subrect, gfx 192 content/common/gpu/client/gl_helper.h const gfx::Size& dst_size, gfx 203 content/common/gpu/client/gl_helper.h const gfx::Rect& src_rect, gfx 208 content/common/gpu/client/gl_helper.h const gfx::Size& dst_size, gfx 216 content/common/gpu/client/gl_helper.h GLuint CopyTexture(GLuint texture, const gfx::Size& size); gfx 223 content/common/gpu/client/gl_helper.h const gfx::Size& src_size, gfx 224 content/common/gpu/client/gl_helper.h const gfx::Size& dst_size, gfx 260 content/common/gpu/client/gl_helper.h void ResizeTexture(GLuint texture, const gfx::Size& size); gfx 263 content/common/gpu/client/gl_helper.h void CopyTextureSubImage(GLuint texture, const gfx::Rect& rect); gfx 267 content/common/gpu/client/gl_helper.h void CopyTextureFullImage(GLuint texture, const gfx::Size& size); gfx 285 content/common/gpu/client/gl_helper.h virtual const gfx::Size& SrcSize() = 0; gfx 286 content/common/gpu/client/gl_helper.h virtual const gfx::Rect& SrcSubrect() = 0; gfx 287 content/common/gpu/client/gl_helper.h virtual const gfx::Size& DstSize() = 0; gfx 295 content/common/gpu/client/gl_helper.h const gfx::Size& src_size, gfx 296 content/common/gpu/client/gl_helper.h const gfx::Rect& src_subrect, gfx 297 content/common/gpu/client/gl_helper.h const gfx::Size& dst_size, gfx 310 content/common/gpu/client/gl_helper.h const gfx::Size& src_size, gfx 311 content/common/gpu/client/gl_helper.h const gfx::Rect& src_subrect, gfx 312 content/common/gpu/client/gl_helper.h const gfx::Size& dst_size, gfx 313 content/common/gpu/client/gl_helper.h const gfx::Rect& dst_subrect, gfx 90 content/common/gpu/client/gl_helper_benchmark.cc ASSERT_TRUE(gfx::PNGCodec::Decode( gfx 98 content/common/gpu/client/gl_helper_benchmark.cc ASSERT_TRUE(gfx::PNGCodec::Encode( gfx 100 content/common/gpu/client/gl_helper_benchmark.cc gfx::PNGCodec::FORMAT_BGRA, gfx 101 content/common/gpu/client/gl_helper_benchmark.cc gfx::Size(bitmap->width(), bitmap->height()), gfx 104 content/common/gpu/client/gl_helper_benchmark.cc std::vector<gfx::PNGCodec::Comment>(), gfx 143 content/common/gpu/client/gl_helper_benchmark.cc const gfx::Size src_size(input_sizes[insize], gfx 145 content/common/gpu/client/gl_helper_benchmark.cc const gfx::Size dst_size(output_sizes[outsize], gfx 183 content/common/gpu/client/gl_helper_benchmark.cc gfx::Rect src_subrect(0, 0, gfx 260 content/common/gpu/client/gl_helper_benchmark.cc const gfx::Size src_size(input.width(), input.height()); gfx 275 content/common/gpu/client/gl_helper_benchmark.cc const gfx::Size dst_size(input.width() * percents[p] / 100, gfx 293 content/common/gpu/client/gl_helper_benchmark.cc gfx::Rect(0, 0, gfx 321 content/common/gpu/client/gl_helper_benchmark.cc gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx 323 content/common/gpu/client/gl_helper_benchmark.cc gfx::GLSurface::InitializeOneOff(); gfx 59 content/common/gpu/client/gl_helper_scaling.cc void UseProgram(const gfx::Size& src_size, gfx 60 content/common/gpu/client/gl_helper_scaling.cc const gfx::Rect& src_subrect, gfx 61 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& dst_size, gfx 223 content/common/gpu/client/gl_helper_scaling.cc virtual const gfx::Size& SrcSize() OVERRIDE { gfx 229 content/common/gpu/client/gl_helper_scaling.cc virtual const gfx::Rect& SrcSubrect() OVERRIDE { gfx 235 content/common/gpu/client/gl_helper_scaling.cc virtual const gfx::Size& DstSize() OVERRIDE { return spec_.dst_size; } gfx 249 content/common/gpu/client/gl_helper_scaling.cc gfx::Size src_size_, gfx 250 content/common/gpu/client/gl_helper_scaling.cc gfx::Rect src_subrect_, gfx 251 content/common/gpu/client/gl_helper_scaling.cc gfx::Size dst_size_, gfx 276 content/common/gpu/client/gl_helper_scaling.cc gfx::Size src_size, gfx 277 content/common/gpu/client/gl_helper_scaling.cc gfx::Rect src_subrect, gfx 278 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& dst_size, gfx 285 content/common/gpu/client/gl_helper_scaling.cc gfx::Size intermediate_size = src_subrect.size(); gfx 389 content/common/gpu/client/gl_helper_scaling.cc src_subrect = gfx::Rect(intermediate_size); gfx 397 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& src_size, gfx 398 content/common/gpu/client/gl_helper_scaling.cc const gfx::Rect& src_subrect, gfx 399 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& dst_size, gfx 440 content/common/gpu/client/gl_helper_scaling.cc gfx::Size src_size, gfx 441 content/common/gpu/client/gl_helper_scaling.cc gfx::Rect src_subrect, gfx 442 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& dst_size, gfx 462 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& src_size, gfx 463 content/common/gpu/client/gl_helper_scaling.cc const gfx::Rect& src_subrect, gfx 464 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& dst_size, gfx 479 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& src_size, gfx 480 content/common/gpu/client/gl_helper_scaling.cc const gfx::Rect& src_subrect, gfx 481 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& dst_size, gfx 874 content/common/gpu/client/gl_helper_scaling.cc void ShaderProgram::UseProgram(const gfx::Size& src_size, gfx 875 content/common/gpu/client/gl_helper_scaling.cc const gfx::Rect& src_subrect, gfx 876 content/common/gpu/client/gl_helper_scaling.cc const gfx::Size& dst_size, gfx 61 content/common/gpu/client/gl_helper_scaling.h gfx::Size src_size, gfx 62 content/common/gpu/client/gl_helper_scaling.h gfx::Rect src_subrect, gfx 63 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& dst_size, gfx 68 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& src_size, gfx 69 content/common/gpu/client/gl_helper_scaling.h const gfx::Rect& src_subrect, gfx 70 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& dst_size, gfx 76 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& src_size, gfx 77 content/common/gpu/client/gl_helper_scaling.h const gfx::Rect& src_subrect, gfx 78 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& dst_size, gfx 128 content/common/gpu/client/gl_helper_scaling.h void UpdateSize(gfx::Size* subrect) { gfx 147 content/common/gpu/client/gl_helper_scaling.h gfx::Size src_size_, gfx 148 content/common/gpu/client/gl_helper_scaling.h gfx::Rect src_subrect_, gfx 149 content/common/gpu/client/gl_helper_scaling.h gfx::Size dst_size_, gfx 154 content/common/gpu/client/gl_helper_scaling.h gfx::Size src_size; gfx 155 content/common/gpu/client/gl_helper_scaling.h gfx::Rect src_subrect; gfx 156 content/common/gpu/client/gl_helper_scaling.h gfx::Size dst_size; gfx 165 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& src_size, gfx 166 content/common/gpu/client/gl_helper_scaling.h const gfx::Rect& src_subrect, gfx 167 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& dst_size, gfx 177 content/common/gpu/client/gl_helper_scaling.h gfx::Size src_size, gfx 178 content/common/gpu/client/gl_helper_scaling.h gfx::Rect src_subrect, gfx 179 content/common/gpu/client/gl_helper_scaling.h const gfx::Size& dst_size, gfx 643 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(xsize, ysize), gfx 644 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, xsize, ysize), gfx 645 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(scaled_xsize, scaled_ysize), gfx 653 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(xsize, ysize), gfx 654 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(scaled_xsize, scaled_ysize), gfx 666 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, scaled_xsize, scaled_ysize), gfx 709 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(xsize, ysize), gfx 710 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, xsize, ysize), gfx 711 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(dst_xsize, dst_ysize), gfx 738 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(xsize, ysize), gfx 739 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, xsize, ysize), gfx 740 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(dst_xsize, dst_ysize), gfx 962 content/common/gpu/client/gl_helper_unittest.cc const gfx::Size& src_size, gfx 981 content/common/gpu/client/gl_helper_unittest.cc const gfx::Size& src_size, gfx 996 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(src_size), gfx 1003 content/common/gpu/client/gl_helper_unittest.cc bool TestTextureFormatReadback(const gfx::Size& src_size, gfx 1155 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(xsize, ysize), gfx 1156 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, xsize, ysize), gfx 1157 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(output_xsize, output_ysize), gfx 1158 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(xmargin, ymargin, xsize, ysize), gfx 1165 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(output_xsize, output_ysize), gfx 1166 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, output_xsize, output_ysize), gfx 1167 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(output_xsize, output_ysize), gfx 1172 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(output_xsize, output_ysize), gfx 1173 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, output_xsize, output_ysize), gfx 1174 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(output_xsize, output_ysize), gfx 1296 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(xsize, ysize), gfx 1297 content/common/gpu/client/gl_helper_unittest.cc gfx::Rect(0, 0, xsize, ysize), gfx 1298 content/common/gpu/client/gl_helper_unittest.cc gfx::Size(dst_xsize, dst_ysize), gfx 1454 content/common/gpu/client/gl_helper_unittest.cc gfx::DisableNullDrawGLBindings enable_pixel_output_; gfx 1459 content/common/gpu/client/gl_helper_unittest.cc bool result = TestTextureFormatReadback(gfx::Size(kTestSize,kTestSize), gfx 1467 content/common/gpu/client/gl_helper_unittest.cc bool result = TestTextureFormatReadback(gfx::Size(kTestSize,kTestSize), gfx 1475 content/common/gpu/client/gl_helper_unittest.cc bool result = TestTextureFormatReadback(gfx::Size(kTestSize,kTestSize), gfx 1483 content/common/gpu/client/gl_helper_unittest.cc bool result = TestTextureFormatReadback(gfx::Size(kTestSize,kTestSize), gfx 1675 content/common/gpu/client/gl_helper_unittest.cc gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx 47 content/common/gpu/client/gpu_channel_host.cc gfx::GpuMemoryBufferHandle handle) { gfx 49 content/common/gpu/client/gpu_channel_host.cc case gfx::SHARED_MEMORY_BUFFER: gfx 51 content/common/gpu/client/gpu_channel_host.cc case gfx::IO_SURFACE_BUFFER: gfx 54 content/common/gpu/client/gpu_channel_host.cc case gfx::SURFACE_TEXTURE_BUFFER: gfx 131 content/common/gpu/client/gpu_channel_host.cc gfx::GpuPreference gpu_preference) { gfx 159 content/common/gpu/client/gpu_channel_host.cc const gfx::Size& size, gfx 163 content/common/gpu/client/gpu_channel_host.cc gfx::GpuPreference gpu_preference) { gfx 274 content/common/gpu/client/gpu_channel_host.cc gfx::GpuMemoryBufferHandle GpuChannelHost::ShareGpuMemoryBufferToGpuProcess( gfx 275 content/common/gpu/client/gpu_channel_host.cc gfx::GpuMemoryBufferHandle source_handle) { gfx 277 content/common/gpu/client/gpu_channel_host.cc case gfx::SHARED_MEMORY_BUFFER: { gfx 278 content/common/gpu/client/gpu_channel_host.cc gfx::GpuMemoryBufferHandle handle; gfx 279 content/common/gpu/client/gpu_channel_host.cc handle.type = gfx::SHARED_MEMORY_BUFFER; gfx 284 content/common/gpu/client/gpu_channel_host.cc case gfx::IO_SURFACE_BUFFER: gfx 288 content/common/gpu/client/gpu_channel_host.cc case gfx::SURFACE_TEXTURE_BUFFER: gfx 293 content/common/gpu/client/gpu_channel_host.cc return gfx::GpuMemoryBufferHandle(); gfx 63 content/common/gpu/client/gpu_channel_host.h typedef base::Callback<void(const gfx::Size)> CreateImageCallback; gfx 74 content/common/gpu/client/gpu_channel_host.h gfx::PluginWindowHandle window, gfx 78 content/common/gpu/client/gpu_channel_host.h virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( gfx 100 content/common/gpu/client/gpu_channel_host.h static bool IsValidGpuMemoryBuffer(gfx::GpuMemoryBufferHandle handle); gfx 119 content/common/gpu/client/gpu_channel_host.h gfx::GpuPreference gpu_preference); gfx 123 content/common/gpu/client/gpu_channel_host.h const gfx::Size& size, gfx 127 content/common/gpu/client/gpu_channel_host.h gfx::GpuPreference gpu_preference); gfx 158 content/common/gpu/client/gpu_channel_host.h gfx::GpuMemoryBufferHandle ShareGpuMemoryBufferToGpuProcess( gfx 159 content/common/gpu/client/gpu_channel_host.h gfx::GpuMemoryBufferHandle source_handle); gfx 11 content/common/gpu/client/gpu_memory_buffer_impl.cc GpuMemoryBufferImpl::GpuMemoryBufferImpl(gfx::Size size, gfx 15 content/common/gpu/client/gpu_memory_buffer_impl.h class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer { gfx 18 content/common/gpu/client/gpu_memory_buffer_impl.h gfx::GpuMemoryBufferHandle handle, gfx 19 content/common/gpu/client/gpu_memory_buffer_impl.h gfx::Size size, gfx 32 content/common/gpu/client/gpu_memory_buffer_impl.h GpuMemoryBufferImpl(gfx::Size size, unsigned internalformat); gfx 34 content/common/gpu/client/gpu_memory_buffer_impl.h const gfx::Size size_; gfx 13 content/common/gpu/client/gpu_memory_buffer_impl_android.cc gfx::GpuMemoryBufferHandle handle, gfx 14 content/common/gpu/client/gpu_memory_buffer_impl_android.cc gfx::Size size, gfx 17 content/common/gpu/client/gpu_memory_buffer_impl_android.cc case gfx::SHARED_MEMORY_BUFFER: { gfx 25 content/common/gpu/client/gpu_memory_buffer_impl_android.cc case gfx::SURFACE_TEXTURE_BUFFER: { gfx 14 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc gfx::Size size, gfx 45 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc gfx::GpuMemoryBufferHandle handle) { gfx 72 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc gfx::GpuMemoryBufferHandle GpuMemoryBufferImplIOSurface::GetHandle() const { gfx 73 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc gfx::GpuMemoryBufferHandle handle; gfx 74 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc handle.type = gfx::IO_SURFACE_BUFFER; gfx 19 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h GpuMemoryBufferImplIOSurface(gfx::Size size, unsigned internalformat); gfx 25 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h bool Initialize(gfx::GpuMemoryBufferHandle handle); gfx 31 content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE; gfx 12 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc gfx::GpuMemoryBufferHandle handle, gfx 13 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc gfx::Size size, gfx 16 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc case gfx::SHARED_MEMORY_BUFFER: { gfx 13 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc gfx::GpuMemoryBufferHandle handle, gfx 14 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc gfx::Size size, gfx 17 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc case gfx::SHARED_MEMORY_BUFFER: { gfx 25 content/common/gpu/client/gpu_memory_buffer_impl_mac.cc case gfx::IO_SURFACE_BUFFER: { gfx 11 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc GpuMemoryBufferImplShm::GpuMemoryBufferImplShm(gfx::Size size, gfx 17 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc bool GpuMemoryBufferImplShm::Initialize(gfx::GpuMemoryBufferHandle handle) { gfx 46 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc gfx::GpuMemoryBufferHandle GpuMemoryBufferImplShm::GetHandle() const { gfx 47 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc gfx::GpuMemoryBufferHandle handle; gfx 48 content/common/gpu/client/gpu_memory_buffer_impl_shm.cc handle.type = gfx::SHARED_MEMORY_BUFFER; gfx 16 content/common/gpu/client/gpu_memory_buffer_impl_shm.h GpuMemoryBufferImplShm(gfx::Size size, unsigned internalformat); gfx 19 content/common/gpu/client/gpu_memory_buffer_impl_shm.h bool Initialize(gfx::GpuMemoryBufferHandle handle); gfx 25 content/common/gpu/client/gpu_memory_buffer_impl_shm.h virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE; gfx 37 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc gfx::Size size, gfx 49 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc gfx::GpuMemoryBufferHandle handle) { gfx 96 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc gfx::GpuMemoryBufferHandle GpuMemoryBufferImplSurfaceTexture::GetHandle() gfx 98 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc gfx::GpuMemoryBufferHandle handle; gfx 99 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc handle.type = gfx::SURFACE_TEXTURE_BUFFER; gfx 17 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h GpuMemoryBufferImplSurfaceTexture(gfx::Size size, unsigned internalformat); gfx 20 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h bool Initialize(gfx::GpuMemoryBufferHandle handle); gfx 28 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE; gfx 32 content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h gfx::SurfaceTextureId surface_texture_id_; gfx 12 content/common/gpu/client/gpu_memory_buffer_impl_win.cc gfx::GpuMemoryBufferHandle handle, gfx 13 content/common/gpu/client/gpu_memory_buffer_impl_win.cc gfx::Size size, gfx 16 content/common/gpu/client/gpu_memory_buffer_impl_win.cc case gfx::SHARED_MEMORY_BUFFER: { gfx 210 content/common/gpu/client/gpu_video_decode_accelerator_host.cc const gfx::Size& dimensions, gfx 64 content/common/gpu/client/gpu_video_decode_accelerator_host.h const gfx::Size& dimensions, gfx 89 content/common/gpu/client/gpu_video_decode_accelerator_host.h gfx::Size picture_buffer_dimensions_; gfx 80 content/common/gpu/client/gpu_video_encode_accelerator_host.cc const gfx::Size& input_visible_size, gfx 210 content/common/gpu/client/gpu_video_encode_accelerator_host.cc const gfx::Size& input_coded_size, gfx 18 content/common/gpu/client/gpu_video_encode_accelerator_host.h namespace gfx { gfx 57 content/common/gpu/client/gpu_video_encode_accelerator_host.h const gfx::Size& input_visible_size, gfx 84 content/common/gpu/client/gpu_video_encode_accelerator_host.h const gfx::Size& input_coded_size, gfx 244 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc gpu_preference_(attributes.preferDiscreteGPU ? gfx::PreferDiscreteGpu gfx 245 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc : gfx::PreferIntegratedGpu), gfx 369 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc gfx::Size(1, 1), gfx 756 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h gfx::GpuPreference gpu_preference_; gfx 390 content/common/gpu/gpu_channel.cc gfx::GLShareGroup* share_group, gfx 397 content/common/gpu/gpu_channel.cc share_group_(share_group ? share_group : new gfx::GLShareGroup), gfx 558 content/common/gpu/gpu_channel.cc const gfx::GLSurfaceHandle& window, gfx 586 content/common/gpu/gpu_channel.cc gfx::Size(), gfx 607 content/common/gpu/gpu_channel.cc gfx::PluginWindowHandle window, gfx 609 content/common/gpu/gpu_channel.cc gfx::Size* size) { gfx 615 content/common/gpu/gpu_channel.cc *size = gfx::Size(); gfx 622 content/common/gpu/gpu_channel.cc scoped_refptr<gfx::GLImage> image = gfx::GLImage::CreateGLImage(window); gfx 790 content/common/gpu/gpu_channel.cc const gfx::Size& size, gfx 801 content/common/gpu/gpu_channel.cc gfx::GLSurfaceHandle(), gfx 56 content/common/gpu/gpu_channel.h gfx::GLShareGroup* share_group, gfx 108 content/common/gpu/gpu_channel.h const gfx::GLSurfaceHandle& window, gfx 114 content/common/gpu/gpu_channel.h gfx::PluginWindowHandle window, gfx 116 content/common/gpu/gpu_channel.h gfx::Size* size); gfx 119 content/common/gpu/gpu_channel.h gfx::GLShareGroup* share_group() const { return share_group_.get(); } gfx 168 content/common/gpu/gpu_channel.h const gfx::Size& size, gfx 208 content/common/gpu/gpu_channel.h scoped_refptr<gfx::GLShareGroup> share_group_; gfx 62 content/common/gpu/gpu_channel_manager.cc (gfx::g_driver_gl.ext.b_GL_ARB_get_program_binary || gfx 63 content/common/gpu/gpu_channel_manager.cc gfx::g_driver_gl.ext.b_GL_OES_get_program_binary) && gfx 125 content/common/gpu/gpu_channel_manager.cc gfx::GLShareGroup* share_group = NULL; gfx 129 content/common/gpu/gpu_channel_manager.cc share_group_ = new gfx::GLShareGroup; gfx 170 content/common/gpu/gpu_channel_manager.cc const gfx::GLSurfaceHandle& window, gfx 187 content/common/gpu/gpu_channel_manager.cc gfx::PluginWindowHandle window, int32 client_id, int32 image_id) { gfx 188 content/common/gpu/gpu_channel_manager.cc gfx::Size size; gfx 199 content/common/gpu/gpu_channel_manager.cc gfx::PluginWindowHandle window, int32 client_id, int32 image_id) { gfx 300 content/common/gpu/gpu_channel_manager.cc gfx::GLSurface* GpuChannelManager::GetDefaultOffscreenSurface() { gfx 303 content/common/gpu/gpu_channel_manager.cc gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1)); gfx 29 content/common/gpu/gpu_channel_manager.h namespace gfx { gfx 98 content/common/gpu/gpu_channel_manager.h gfx::GLSurface* GetDefaultOffscreenSurface(); gfx 117 content/common/gpu/gpu_channel_manager.h const gfx::GLSurfaceHandle& window, gfx 122 content/common/gpu/gpu_channel_manager.h gfx::PluginWindowHandle window, int32 client_id, int32 image_id); gfx 124 content/common/gpu/gpu_channel_manager.h gfx::PluginWindowHandle window, int32 client_id, int32 image_id); gfx 142 content/common/gpu/gpu_channel_manager.h scoped_refptr<gfx::GLShareGroup> share_group_; gfx 150 content/common/gpu/gpu_channel_manager.h scoped_refptr<gfx::GLSurface> default_offscreen_surface_; gfx 110 content/common/gpu/gpu_command_buffer_stub.cc const gfx::GLSurfaceHandle& handle, gfx 113 content/common/gpu/gpu_command_buffer_stub.cc const gfx::Size& size, gfx 116 content/common/gpu/gpu_command_buffer_stub.cc gfx::GpuPreference gpu_preference, gfx 449 content/common/gpu/gpu_command_buffer_stub.cc scoped_refptr<gfx::GLContext> context; gfx 453 content/common/gpu/gpu_command_buffer_stub.cc context = gfx::GLContext::CreateGLContext( gfx 476 content/common/gpu/gpu_command_buffer_stub.cc context = gfx::GLContext::CreateGLContext( gfx 752 content/common/gpu/gpu_command_buffer_stub.cc const gfx::Size& input_visible_size, gfx 876 content/common/gpu/gpu_command_buffer_stub.cc gfx::GpuMemoryBufferHandle gpu_memory_buffer, gfx 883 content/common/gpu/gpu_command_buffer_stub.cc if (gpu_memory_buffer.type == gfx::SURFACE_TEXTURE_BUFFER && gfx 944 content/common/gpu/gpu_command_buffer_stub.cc gfx::Size GpuCommandBufferStub::GetSurfaceSize() const { gfx 946 content/common/gpu/gpu_command_buffer_stub.cc return gfx::Size(); gfx 981 content/common/gpu/gpu_command_buffer_stub.cc (gfx::GLContext::LosesAllContextsOnContextLost() || gfx 71 content/common/gpu/gpu_command_buffer_stub.h const gfx::GLSurfaceHandle& handle, gfx 74 content/common/gpu/gpu_command_buffer_stub.h const gfx::Size& size, gfx 77 content/common/gpu/gpu_command_buffer_stub.h gfx::GpuPreference gpu_preference, gfx 94 content/common/gpu/gpu_command_buffer_stub.h virtual gfx::Size GetSurfaceSize() const OVERRIDE; gfx 123 content/common/gpu/gpu_command_buffer_stub.h gfx::GpuPreference gpu_preference() { return gpu_preference_; } gfx 132 content/common/gpu/gpu_command_buffer_stub.h gfx::GLSurface* surface() const { return surface_.get(); } gfx 176 content/common/gpu/gpu_command_buffer_stub.h const gfx::Size& input_visible_size, gfx 196 content/common/gpu/gpu_command_buffer_stub.h gfx::GpuMemoryBufferHandle gpu_memory_buffer, gfx 230 content/common/gpu/gpu_command_buffer_stub.h gfx::GLSurfaceHandle handle_; gfx 231 content/common/gpu/gpu_command_buffer_stub.h gfx::Size initial_size_; gfx 234 content/common/gpu/gpu_command_buffer_stub.h gfx::GpuPreference gpu_preference_; gfx 244 content/common/gpu/gpu_command_buffer_stub.h scoped_refptr<gfx::GLSurface> surface_; gfx 28 content/common/gpu/gpu_memory_manager_client.h virtual gfx::Size GetSurfaceSize() const = 0; gfx 79 content/common/gpu/gpu_memory_manager_unittest.cc gfx::Size surface_size_; gfx 144 content/common/gpu/gpu_memory_manager_unittest.cc virtual gfx::Size GetSurfaceSize() const OVERRIDE { gfx 147 content/common/gpu/gpu_memory_manager_unittest.cc void SetSurfaceSize(gfx::Size size) { surface_size_ = size; } gfx 46 content/common/gpu/gpu_messages.h IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, gfx 47 content/common/gpu/gpu_messages.h gfx::GpuPreferenceLast) gfx 48 content/common/gpu/gpu_messages.h IPC_ENUM_TRAITS_MAX_VALUE(gfx::SurfaceType, gfx 49 content/common/gpu/gpu_messages.h gfx::SURFACE_TYPE_LAST) gfx 66 content/common/gpu/gpu_messages.h IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) gfx 74 content/common/gpu/gpu_messages.h IPC_STRUCT_MEMBER(gfx::Size, size) gfx 88 content/common/gpu/gpu_messages.h IPC_STRUCT_MEMBER(gfx::Size, surface_size) gfx 231 content/common/gpu/gpu_messages.h IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) gfx 265 content/common/gpu/gpu_messages.h gfx::GLSurfaceHandle, /* compositing_surface */ gfx 273 content/common/gpu/gpu_messages.h gfx::PluginWindowHandle, /* window */ gfx 370 content/common/gpu/gpu_messages.h gfx::Size /* size */) gfx 391 content/common/gpu/gpu_messages.h gfx::Size /* size */) gfx 452 content/common/gpu/gpu_messages.h gfx::Size, /* size */ gfx 488 content/common/gpu/gpu_messages.h gfx::Size /* size */) gfx 576 content/common/gpu/gpu_messages.h gfx::Size /* input_visible_size */, gfx 645 content/common/gpu/gpu_messages.h gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */, gfx 703 content/common/gpu/gpu_messages.h gfx::Size, /* Requested size of buffer */ gfx 757 content/common/gpu/gpu_messages.h gfx::Size /* input_coded_size */, gfx 22 content/common/gpu/gpu_surface_lookup.h virtual gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) = 0; gfx 28 content/common/gpu/image_transport_surface.cc scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateSurface( gfx 31 content/common/gpu/image_transport_surface.cc const gfx::GLSurfaceHandle& handle) { gfx 32 content/common/gpu/image_transport_surface.cc scoped_refptr<gfx::GLSurface> surface; gfx 33 content/common/gpu/image_transport_surface.cc if (handle.transport_type == gfx::TEXTURE_TRANSPORT) gfx 46 content/common/gpu/image_transport_surface.cc gfx::PluginWindowHandle handle) gfx 101 content/common/gpu/image_transport_surface.cc "GLImpl", static_cast<int>(gfx::GetGLImplementation()), gfx 121 content/common/gpu/image_transport_surface.cc void ImageTransportHelper::SendResizeView(const gfx::Size& size) { gfx 166 content/common/gpu/image_transport_surface.cc void ImageTransportHelper::SetSwapInterval(gfx::GLContext* context) { gfx 202 content/common/gpu/image_transport_surface.cc void ImageTransportHelper::Resize(gfx::Size size, float scale_factor) { gfx 219 content/common/gpu/image_transport_surface.cc gfx::GLSurface* surface, gfx 229 content/common/gpu/image_transport_surface.cc gfx::kNullPluginWindow)); gfx 262 content/common/gpu/image_transport_surface.cc bool result = gfx::GLSurfaceAdapter::SwapBuffers(); gfx 289 content/common/gpu/image_transport_surface.cc bool result = gfx::GLSurfaceAdapter::PostSubBuffer(x, y, width, height); gfx 319 content/common/gpu/image_transport_surface.cc bool PassThroughImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) { gfx 346 content/common/gpu/image_transport_surface.cc void PassThroughImageTransportSurface::OnResize(gfx::Size size, gfx 360 content/common/gpu/image_transport_surface.cc gfx::Size PassThroughImageTransportSurface::GetSize() { gfx 371 content/common/gpu/image_transport_surface.cc gfx::VSyncProvider* vsync_provider = GetVSyncProvider(); gfx 28 content/common/gpu/image_transport_surface.h namespace gfx { gfx 64 content/common/gpu/image_transport_surface.h virtual void OnResize(gfx::Size size, float scale_factor) = 0; gfx 70 content/common/gpu/image_transport_surface.h static scoped_refptr<gfx::GLSurface> CreateSurface( gfx 73 content/common/gpu/image_transport_surface.h const gfx::GLSurfaceHandle& handle); gfx 79 content/common/gpu/image_transport_surface.h virtual gfx::Size GetSize() = 0; gfx 92 content/common/gpu/image_transport_surface.h static scoped_refptr<gfx::GLSurface> CreateNativeSurface( gfx 95 content/common/gpu/image_transport_surface.h const gfx::GLSurfaceHandle& handle); gfx 108 content/common/gpu/image_transport_surface.h gfx::PluginWindowHandle handle); gfx 124 content/common/gpu/image_transport_surface.h void SendResizeView(const gfx::Size& size); gfx 142 content/common/gpu/image_transport_surface.h static void SetSwapInterval(gfx::GLContext* context); gfx 160 content/common/gpu/image_transport_surface.h void Resize(gfx::Size size, float scale_factor); gfx 170 content/common/gpu/image_transport_surface.h gfx::PluginWindowHandle handle_; gfx 178 content/common/gpu/image_transport_surface.h : public gfx::GLSurfaceAdapter, gfx 183 content/common/gpu/image_transport_surface.h gfx::GLSurface* surface, gfx 192 content/common/gpu/image_transport_surface.h virtual bool OnMakeCurrent(gfx::GLContext* context) OVERRIDE; gfx 198 content/common/gpu/image_transport_surface.h virtual void OnResize(gfx::Size size, float scale_factor) OVERRIDE; gfx 199 content/common/gpu/image_transport_surface.h virtual gfx::Size GetSize() OVERRIDE; gfx 215 content/common/gpu/image_transport_surface.h gfx::Size new_size_; gfx 39 content/common/gpu/image_transport_surface_android.cc gfx::GLSurface* surface, gfx 45 content/common/gpu/image_transport_surface_android.cc virtual bool OnMakeCurrent(gfx::GLContext* context) OVERRIDE; gfx 63 content/common/gpu/image_transport_surface_android.cc gfx::GLSurface* surface, gfx 79 content/common/gpu/image_transport_surface_android.cc gfx::GLSurface* surface, gfx 104 content/common/gpu/image_transport_surface_android.cc bool ImageTransportSurfaceAndroid::OnMakeCurrent(gfx::GLContext* context) { gfx 151 content/common/gpu/image_transport_surface_android.cc gfx::GLSurface* surface, gfx 165 content/common/gpu/image_transport_surface_android.cc scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( gfx 168 content/common/gpu/image_transport_surface_android.cc const gfx::GLSurfaceHandle& handle) { gfx 169 content/common/gpu/image_transport_surface_android.cc if (handle.transport_type == gfx::NATIVE_TRANSPORT) { gfx 170 content/common/gpu/image_transport_surface_android.cc return scoped_refptr<gfx::GLSurface>( gfx 178 content/common/gpu/image_transport_surface_android.cc DCHECK_EQ(handle.transport_type, gfx::NATIVE_DIRECT); gfx 182 content/common/gpu/image_transport_surface_android.cc scoped_refptr<gfx::GLSurface> surface = gfx 183 content/common/gpu/image_transport_surface_android.cc new gfx::NativeViewGLSurfaceEGL(window); gfx 188 content/common/gpu/image_transport_surface_android.cc return scoped_refptr<gfx::GLSurface>(); gfx 190 content/common/gpu/image_transport_surface_android.cc return scoped_refptr<gfx::GLSurface>( gfx 10 content/common/gpu/image_transport_surface_linux.cc scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( gfx 13 content/common/gpu/image_transport_surface_linux.cc const gfx::GLSurfaceHandle& handle) { gfx 15 content/common/gpu/image_transport_surface_linux.cc DCHECK(handle.transport_type == gfx::NATIVE_DIRECT || gfx 16 content/common/gpu/image_transport_surface_linux.cc handle.transport_type == gfx::NATIVE_TRANSPORT); gfx 17 content/common/gpu/image_transport_surface_linux.cc scoped_refptr<gfx::GLSurface> surface = gfx 18 content/common/gpu/image_transport_surface_linux.cc gfx::GLSurface::CreateViewGLSurface(handle.handle); gfx 21 content/common/gpu/image_transport_surface_linux.cc return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface( gfx 38 content/common/gpu/image_transport_surface_mac.cc : public gfx::NoOpGLSurfaceCGL, gfx 44 content/common/gpu/image_transport_surface_mac.cc gfx::PluginWindowHandle handle); gfx 54 content/common/gpu/image_transport_surface_mac.cc virtual gfx::Size GetSize() OVERRIDE; gfx 55 content/common/gpu/image_transport_surface_mac.cc virtual bool OnMakeCurrent(gfx::GLContext* context) OVERRIDE; gfx 65 content/common/gpu/image_transport_surface_mac.cc virtual void OnResize(gfx::Size size, float scale_factor) OVERRIDE; gfx 94 content/common/gpu/image_transport_surface_mac.cc gfx::GLContext* context_; gfx 96 content/common/gpu/image_transport_surface_mac.cc gfx::Size size_; gfx 97 content/common/gpu/image_transport_surface_mac.cc gfx::Size rounded_size_; gfx 134 content/common/gpu/image_transport_surface_mac.cc gfx::PluginWindowHandle handle) gfx 135 content/common/gpu/image_transport_surface_mac.cc : gfx::NoOpGLSurfaceCGL(gfx::Size(1, 1)), gfx 157 content/common/gpu/image_transport_surface_mac.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL && gfx 158 content/common/gpu/image_transport_surface_mac.cc gfx::GetGLImplementation() != gfx::kGLImplementationAppleGL) gfx 199 content/common/gpu/image_transport_surface_mac.cc bool IOSurfaceImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) { gfx 205 content/common/gpu/image_transport_surface_mac.cc OnResize(gfx::Size(1, 1), 1.f); gfx 288 content/common/gpu/image_transport_surface_mac.cc gfx::Size IOSurfaceImageTransportSurface::GetSize() { gfx 308 content/common/gpu/image_transport_surface_mac.cc void IOSurfaceImageTransportSurface::OnResize(gfx::Size size, gfx 342 content/common/gpu/image_transport_surface_mac.cc DCHECK(gfx::GLContext::GetCurrent() == context_); gfx 367 content/common/gpu/image_transport_surface_mac.cc gfx::Size new_rounded_size(RoundUpSurfaceDimension(size_.width()), gfx 497 content/common/gpu/image_transport_surface_mac.cc class DRTSurfaceOSMesa : public gfx::GLSurfaceOSMesa { gfx 500 content/common/gpu/image_transport_surface_mac.cc DRTSurfaceOSMesa() : GLSurfaceOSMesa(GL_RGBA, gfx::Size(1, 1)) {} gfx 519 content/common/gpu/image_transport_surface_mac.cc scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( gfx 522 content/common/gpu/image_transport_surface_mac.cc const gfx::GLSurfaceHandle& surface_handle) { gfx 523 content/common/gpu/image_transport_surface_mac.cc DCHECK(surface_handle.transport_type == gfx::NATIVE_TRANSPORT); gfx 526 content/common/gpu/image_transport_surface_mac.cc switch (gfx::GetGLImplementation()) { gfx 527 content/common/gpu/image_transport_surface_mac.cc case gfx::kGLImplementationDesktopGL: gfx 528 content/common/gpu/image_transport_surface_mac.cc case gfx::kGLImplementationAppleGL: gfx 531 content/common/gpu/image_transport_surface_mac.cc return scoped_refptr<gfx::GLSurface>(); gfx 533 content/common/gpu/image_transport_surface_mac.cc return scoped_refptr<gfx::GLSurface>(new IOSurfaceImageTransportSurface( gfx 542 content/common/gpu/image_transport_surface_mac.cc return scoped_refptr<gfx::GLSurface>(); gfx 544 content/common/gpu/image_transport_surface_mac.cc scoped_refptr<gfx::GLSurface> surface(new DRTSurfaceOSMesa()); gfx 547 content/common/gpu/image_transport_surface_mac.cc return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface( gfx 24 content/common/gpu/image_transport_surface_win.cc scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( gfx 27 content/common/gpu/image_transport_surface_win.cc const gfx::GLSurfaceHandle& handle) { gfx 29 content/common/gpu/image_transport_surface_win.cc DCHECK(handle.transport_type == gfx::NATIVE_DIRECT || gfx 30 content/common/gpu/image_transport_surface_win.cc handle.transport_type == gfx::NATIVE_TRANSPORT); gfx 31 content/common/gpu/image_transport_surface_win.cc scoped_refptr<gfx::GLSurface> surface = gfx 32 content/common/gpu/image_transport_surface_win.cc gfx::GLSurface::CreateViewGLSurface(handle.handle); gfx 35 content/common/gpu/image_transport_surface_win.cc return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface( gfx 128 content/common/gpu/media/android_video_decode_accelerator.cc surface_texture_ = gfx::SurfaceTexture::Create(surface_texture_id_); gfx 243 content/common/gpu/media/android_video_decode_accelerator.cc size_ = gfx::Size(width, height); gfx 254 content/common/gpu/media/android_video_decode_accelerator.cc RETURN_ON_FAILURE(size_ == gfx::Size(width, height), gfx 442 content/common/gpu/media/android_video_decode_accelerator.cc gfx::ScopedJavaSurface surface(surface_texture_.get()); gfx 447 content/common/gpu/media/android_video_decode_accelerator.cc codec_, false, gfx::Size(320, 240), surface.j_surface().obj(), NULL)); gfx 24 content/common/gpu/media/android_video_decode_accelerator.h namespace gfx { gfx 133 content/common/gpu/media/android_video_decode_accelerator.h scoped_refptr<gfx::SurfaceTexture> surface_texture_; gfx 142 content/common/gpu/media/android_video_decode_accelerator.h gfx::Size size_; gfx 41 content/common/gpu/media/android_video_decode_accelerator_unittest.cc const gfx::Size& dimensions, gfx 74 content/common/gpu/media/android_video_decode_accelerator_unittest.cc accelerator->surface_texture_ = gfx::SurfaceTexture::Create(0); gfx 117 content/common/gpu/media/android_video_encode_accelerator.cc const gfx::Size& input_visible_size, gfx 42 content/common/gpu/media/android_video_encode_accelerator.h const gfx::Size& input_visible_size, gfx 186 content/common/gpu/media/dxva_video_decode_accelerator.cc gfx::Size size() const { gfx 212 content/common/gpu/media/dxva_video_decode_accelerator.cc EGLDisplay egl_display = gfx::GLSurfaceEGL::GetHardwareDisplay(); gfx 271 content/common/gpu/media/dxva_video_decode_accelerator.cc EGLDisplay egl_display = gfx::GLSurfaceEGL::GetHardwareDisplay(); gfx 287 content/common/gpu/media/dxva_video_decode_accelerator.cc EGLDisplay egl_display = gfx::GLSurfaceEGL::GetHardwareDisplay(); gfx 360 content/common/gpu/media/dxva_video_decode_accelerator.cc EGLDisplay egl_display = gfx::GLSurfaceEGL::GetHardwareDisplay(); gfx 468 content/common/gpu/media/dxva_video_decode_accelerator.cc gfx::g_driver_egl.ext.b_EGL_ANGLE_surface_d3d_texture_2d_share_handle, gfx 665 content/common/gpu/media/dxva_video_decode_accelerator.cc EGLDisplay egl_display = gfx::GLSurfaceEGL::GetHardwareDisplay(); gfx 1008 content/common/gpu/media/dxva_video_decode_accelerator.cc gfx::Size(width, height), gfx 124 content/common/gpu/media/exynos_v4l2_video_device.cc gfx::Size frame_buffer_size, gfx 34 content/common/gpu/media/exynos_v4l2_video_device.h gfx::Size frame_buffer_size, gfx 129 content/common/gpu/media/exynos_video_encode_accelerator.cc const gfx::Size& input_visible_size, gfx 44 content/common/gpu/media/exynos_video_encode_accelerator.h const gfx::Size& input_visible_size, gfx 222 content/common/gpu/media/exynos_video_encode_accelerator.h gfx::Size input_visible_size_; gfx 223 content/common/gpu/media/exynos_video_encode_accelerator.h gfx::Size input_allocated_size_; gfx 225 content/common/gpu/media/exynos_video_encode_accelerator.h gfx::Size converted_visible_size_; gfx 226 content/common/gpu/media/exynos_video_encode_accelerator.h gfx::Size converted_allocated_size_; gfx 228 content/common/gpu/media/exynos_video_encode_accelerator.h gfx::Size output_visible_size_; gfx 164 content/common/gpu/media/gpu_video_decode_accelerator.cc const gfx::Size& dimensions, gfx 257 content/common/gpu/media/gpu_video_decode_accelerator.cc new V4L2VideoDecodeAccelerator(gfx::GLSurfaceEGL::GetHardwareDisplay(), gfx 263 content/common/gpu/media/gpu_video_decode_accelerator.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL) { gfx 269 content/common/gpu/media/gpu_video_decode_accelerator.cc gfx::GLContextGLX* glx_context = gfx 270 content/common/gpu/media/gpu_video_decode_accelerator.cc static_cast<gfx::GLContextGLX*>(stub_->decoder()->GetGLContext()); gfx 48 content/common/gpu/media/gpu_video_decode_accelerator.h const gfx::Size& dimensions, gfx 108 content/common/gpu/media/gpu_video_decode_accelerator.h gfx::Size texture_dimensions_; gfx 62 content/common/gpu/media/gpu_video_encode_accelerator.cc const gfx::Size& input_visible_size, gfx 122 content/common/gpu/media/gpu_video_encode_accelerator.cc const gfx::Size& input_coded_size, gfx 207 content/common/gpu/media/gpu_video_encode_accelerator.cc gfx::Rect(input_visible_size_), gfx 39 content/common/gpu/media/gpu_video_encode_accelerator.h const gfx::Size& input_visible_size, gfx 49 content/common/gpu/media/gpu_video_encode_accelerator.h const gfx::Size& input_coded_size, gfx 101 content/common/gpu/media/gpu_video_encode_accelerator.h gfx::Size input_visible_size_; gfx 102 content/common/gpu/media/gpu_video_encode_accelerator.h gfx::Size input_coded_size_; gfx 52 content/common/gpu/media/rendering_helper.cc static const gfx::GLImplementation kGLImplementation = gfx 54 content/common/gpu/media/rendering_helper.cc gfx::kGLImplementationDesktopGL; gfx 56 content/common/gpu/media/rendering_helper.cc gfx::kGLImplementationEGLGLES2; gfx 102 content/common/gpu/media/rendering_helper.cc gfx::InitializeStaticGLBindings(kGLImplementation); gfx 103 content/common/gpu/media/rendering_helper.cc scoped_refptr<gfx::GLContextStubWithExtensions> stub_context( gfx 104 content/common/gpu/media/rendering_helper.cc new gfx::GLContextStubWithExtensions()); gfx 234 content/common/gpu/media/rendering_helper.cc gfx::InitializeDynamicGLBindings(kGLImplementation, stub_context.get()); gfx 373 content/common/gpu/media/rendering_helper.cc gfx::ClearGLBindings(); gfx 38 content/common/gpu/media/rendering_helper.h std::vector<gfx::Size> window_dimensions; gfx 40 content/common/gpu/media/rendering_helper.h std::vector<gfx::Size> frame_dimensions; gfx 45 content/common/gpu/media/rendering_helper.h gfx::Size thumbnails_page_size; gfx 47 content/common/gpu/media/rendering_helper.h gfx::Size thumbnail_size; gfx 98 content/common/gpu/media/rendering_helper.h std::vector<gfx::Size> window_dimensions_; gfx 99 content/common/gpu/media/rendering_helper.h std::vector<gfx::Size> frame_dimensions_; gfx 122 content/common/gpu/media/rendering_helper.h gfx::Size thumbnails_fbo_size_; gfx 123 content/common/gpu/media/rendering_helper.h gfx::Size thumbnail_size_; gfx 159 content/common/gpu/media/tegra_v4l2_video_device.cc gfx::Size /* frame_buffer_size */, gfx 37 content/common/gpu/media/tegra_v4l2_video_device.h gfx::Size frame_buffer_size, gfx 244 content/common/gpu/media/v4l2_video_decode_accelerator.cc if (!gfx::g_driver_egl.ext.b_EGL_KHR_fence_sync) { gfx 334 content/common/gpu/media/v4l2_video_decode_accelerator.cc gfx::ScopedTextureBinder bind_restore(GL_TEXTURE_EXTERNAL_OES, 0); gfx 1917 content/common/gpu/media/v4l2_video_decode_accelerator.cc gfx::Size new_size(base::checked_cast<int>(format.fmt.pix_mp.width), gfx 415 content/common/gpu/media/v4l2_video_decode_accelerator.h gfx::Size frame_buffer_size_; gfx 67 content/common/gpu/media/v4l2_video_device.h gfx::Size frame_buffer_size, gfx 1469 content/common/gpu/media/vaapi_h264_decoder.cc gfx::Size new_pic_size(16 * width_mb, 16 * height_mb); gfx 104 content/common/gpu/media/vaapi_h264_decoder.h gfx::Size GetPicSize() { return pic_size_; } gfx 265 content/common/gpu/media/vaapi_h264_decoder.h gfx::Size pic_size_; gfx 200 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const gfx::Size coded_size(width, height); gfx 201 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const gfx::Rect visible_rect(width, height); gfx 202 content/common/gpu/media/vaapi_h264_decoder_unittest.cc const gfx::Size natural_size(width, height); gfx 313 content/common/gpu/media/vaapi_h264_decoder_unittest.cc gfx::Size size = decoder_->GetPicSize(); gfx 81 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::Size size); gfx 87 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::Size size() { gfx 103 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::Size size); gfx 115 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::Size size_; gfx 129 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::Size size) gfx 147 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::Size size) { gfx 212 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::ScopedTextureBinder texture_binder(GL_TEXTURE_2D, texture_id_); gfx 570 content/common/gpu/media/vaapi_video_decode_accelerator.cc gfx::Size size) { gfx 147 content/common/gpu/media/vaapi_video_decode_accelerator.h void InitiateSurfaceSetChange(size_t num_pics, gfx::Size size); gfx 269 content/common/gpu/media/vaapi_video_decode_accelerator.h gfx::Size requested_pic_size_; gfx 229 content/common/gpu/media/vaapi_wrapper.cc bool VaapiWrapper::CreateSurfaces(gfx::Size size, gfx 368 content/common/gpu/media/vaapi_wrapper.cc gfx::Size dest_size) { gfx 52 content/common/gpu/media/vaapi_wrapper.h bool CreateSurfaces(gfx::Size size, gfx 79 content/common/gpu/media/vaapi_wrapper.h gfx::Size dest_size); gfx 151 content/common/gpu/media/video_decode_accelerator_unittest.cc const gfx::Size kThumbnailsDisplaySize(1366 - 1, 768); gfx 152 content/common/gpu/media/video_decode_accelerator_unittest.cc const gfx::Size kThumbnailsPageSize(1600, 1200); gfx 153 content/common/gpu/media/video_decode_accelerator_unittest.cc const gfx::Size kThumbnailSize(160, 120); gfx 215 content/common/gpu/media/video_decode_accelerator_unittest.cc const gfx::Size& dimensions, gfx 257 content/common/gpu/media/video_decode_accelerator_unittest.cc const gfx::Size& dimensions, gfx 390 content/common/gpu/media/video_decode_accelerator_unittest.cc const gfx::Size& dimensions, gfx 569 content/common/gpu/media/video_decode_accelerator_unittest.cc CHECK_EQ(gfx::kGLImplementationDesktopGL, gfx::GetGLImplementation()) gfx 588 content/common/gpu/media/video_decode_accelerator_unittest.cc const gfx::Size& dimensions, gfx 1217 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::Size frame_size(test_video_files_[0]->width, gfx 1225 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::Size frame_size(test_video_files_[index]->width, gfx 1358 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::PNGCodec::Encode(&rgb[0], gfx 1359 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::PNGCodec::FORMAT_RGB, gfx 1363 content/common/gpu/media/video_decode_accelerator_unittest.cc std::vector<gfx::PNGCodec::Comment>(), gfx 1485 content/common/gpu/media/video_decode_accelerator_unittest.cc gfx::Size frame_size(test_video_files_[0]->width, gfx 63 content/common/gpu/media/video_encode_accelerator_unittest.cc gfx::Size size; gfx 81 content/common/gpu/media/video_encode_accelerator_unittest.cc test_stream->size = gfx::Size(width, height); gfx 253 content/common/gpu/media/video_encode_accelerator_unittest.cc const gfx::Size& input_coded_size, gfx 312 content/common/gpu/media/video_encode_accelerator_unittest.cc gfx::Size input_coded_size_; gfx 420 content/common/gpu/media/video_encode_accelerator_unittest.cc const gfx::Size& input_coded_size, gfx 545 content/common/gpu/media/video_encode_accelerator_unittest.cc gfx::Rect(test_stream_.size), gfx 42 content/common/gpu/stream_texture_android.cc scoped_refptr<gfx::GLImage> gl_image( gfx 44 content/common/gpu/stream_texture_android.cc gfx::Size size = gl_image->GetSize(); gfx 68 content/common/gpu/stream_texture_android.cc : surface_texture_(gfx::SurfaceTexture::Create(texture_id)), gfx 166 content/common/gpu/stream_texture_android.cc gfx::Size StreamTexture::GetSize() { gfx 15 content/common/gpu/stream_texture_android.h namespace gfx { gfx 21 content/common/gpu/stream_texture_android.h class StreamTexture : public gfx::GLImage, gfx 36 content/common/gpu/stream_texture_android.h virtual gfx::Size GetSize() OVERRIDE; gfx 56 content/common/gpu/stream_texture_android.h void OnSetSize(const gfx::Size& size) { size_ = size; } gfx 58 content/common/gpu/stream_texture_android.h scoped_refptr<gfx::SurfaceTexture> surface_texture_; gfx 64 content/common/gpu/stream_texture_android.h gfx::Size size_; gfx 41 content/common/gpu/texture_image_transport_surface.cc const gfx::GLSurfaceHandle& handle) gfx 54 content/common/gpu/texture_image_transport_surface.cc gfx::kNullPluginWindow)); gfx 166 content/common/gpu/texture_image_transport_surface.cc void TextureImageTransportSurface::OnResize(gfx::Size size, gfx 245 content/common/gpu/texture_image_transport_surface.cc const gfx::Rect new_damage_rect(x, y, width, height); gfx 246 content/common/gpu/texture_image_transport_surface.cc DCHECK(gfx::Rect(gfx::Point(), current_size_).Contains(new_damage_rect)); gfx 281 content/common/gpu/texture_image_transport_surface.cc gfx::Size TextureImageTransportSurface::GetSize() { gfx 400 content/common/gpu/texture_image_transport_surface.cc gfx::ScopedTextureBinder texture_binder(GL_TEXTURE_2D, gfx 447 content/common/gpu/texture_image_transport_surface.cc gfx::ScopedFrameBufferBinder fbo_binder(fbo_id_); gfx 25 content/common/gpu/texture_image_transport_surface.h public gfx::GLSurface { gfx 29 content/common/gpu/texture_image_transport_surface.h const gfx::GLSurfaceHandle& handle); gfx 37 content/common/gpu/texture_image_transport_surface.h virtual gfx::Size GetSize() OVERRIDE; gfx 54 content/common/gpu/texture_image_transport_surface.h virtual void OnResize(gfx::Size size, float scale_factor) OVERRIDE; gfx 64 content/common/gpu/texture_image_transport_surface.h gfx::Size backbuffer_size() const { gfx 69 content/common/gpu/texture_image_transport_surface.h return gfx::Size(width, height); gfx 94 content/common/gpu/texture_image_transport_surface.h gfx::Size current_size_; gfx 104 content/common/gpu/texture_image_transport_surface.h gfx::GLSurfaceHandle handle_; gfx 108 content/common/gpu/texture_image_transport_surface.h scoped_refptr<gfx::GLSurface> surface_; gfx 48 content/common/host_shared_bitmap_manager.cc const gfx::Size& size) { gfx 55 content/common/host_shared_bitmap_manager.cc const gfx::Size& size, gfx 49 content/common/host_shared_bitmap_manager.h const gfx::Size& size) OVERRIDE; gfx 51 content/common/host_shared_bitmap_manager.h const gfx::Size& size, gfx 18 content/common/host_shared_bitmap_manager_unittest.cc gfx::Size bitmap_size(1, 1); gfx 32 content/common/host_shared_bitmap_manager_unittest.cc large_bitmap = manager_->GetSharedBitmapFromId(gfx::Size(1024, 1024), id); gfx 37 content/common/host_shared_bitmap_manager_unittest.cc manager_->GetSharedBitmapFromId(gfx::Size(1, (1 << 30) | 1), id); gfx 42 content/common/host_shared_bitmap_manager_unittest.cc manager_->GetSharedBitmapFromId(gfx::Size(-1, 1024), id); gfx 56 content/common/host_shared_bitmap_manager_unittest.cc large_bitmap2 = manager_->GetSharedBitmapFromId(gfx::Size(1024, 1024), id); gfx 77 content/common/host_shared_bitmap_manager_unittest.cc gfx::Size bitmap_size(1, 1); gfx 98 content/common/host_shared_bitmap_manager_unittest.cc gfx::Size bitmap_size(1, 1); gfx 132 content/common/host_shared_bitmap_manager_unittest.cc gfx::Size bitmap_size(1, 1); gfx 43 content/common/image_messages.h std::vector<gfx::Size>) gfx 13 content/common/input/did_overscroll_params.h gfx::Vector2dF accumulated_overscroll; gfx 14 content/common/input/did_overscroll_params.h gfx::Vector2dF latest_overscroll_delta; gfx 15 content/common/input/did_overscroll_params.h gfx::Vector2dF current_fling_velocity; gfx 196 content/common/input/input_param_traits_unittest.cc gesture_params->distances.push_back(gfx::Vector2d(123, -789)); gfx 197 content/common/input/input_param_traits_unittest.cc gesture_params->distances.push_back(gfx::Vector2d(-78, 43)); gfx 26 content/common/input/synthetic_pinch_gesture_params.h gfx::Point anchor; gfx 27 content/common/input/synthetic_smooth_scroll_gesture_params.h gfx::Point anchor; gfx 28 content/common/input/synthetic_smooth_scroll_gesture_params.h std::vector<gfx::Vector2d> distances; // Positive X/Y to scroll left/up. gfx 23 content/common/input/synthetic_tap_gesture_params.h gfx::Point position; gfx 129 content/common/input_messages.h IPC_MESSAGE_ROUTED1(InputMsg_ScrollFocusedEditableNodeIntoRect, gfx::Rect) gfx 157 content/common/input_messages.h gfx::Point /* start */, gfx 158 content/common/input_messages.h gfx::Point /* end */) gfx 163 content/common/input_messages.h gfx::Point /* location */) gfx 38 content/common/mac/attributed_string_coder.h FontAttribute(NSDictionary* ns_attributes, gfx::Range effective_range); gfx 39 content/common/mac/attributed_string_coder.h FontAttribute(FontDescriptor font, gfx::Range range); gfx 54 content/common/mac/attributed_string_coder.h gfx::Range effective_range() const { return effective_range_; } gfx 58 content/common/mac/attributed_string_coder.h gfx::Range effective_range_; gfx 285 content/common/media/media_player_messages_android.h gfx::RectF /* rect */) gfx 553 content/common/page_state_serialization.cc state->scroll_offset = gfx::Point(x, y); gfx 602 content/common/page_state_serialization.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(). gfx 606 content/common/page_state_serialization.cc gfx::Point(state->scroll_offset.x() / state->page_scale_factor, gfx 50 content/common/page_state_serialization.h gfx::Point scroll_offset; gfx 103 content/common/page_state_serialization_unittest.cc frame_state->scroll_offset = gfx::Point(0, 100); gfx 140 content/common/page_state_serialization_unittest.cc frame_state->scroll_offset = gfx::Point(42, -42); gfx 70 content/common/plugin_process_messages.h gfx::NativeViewId /* input: native view id */, gfx 71 content/common/plugin_process_messages.h gfx::PluginWindowHandle /* output: X window id */) gfx 84 content/common/plugin_process_messages.h gfx::Rect /* window rect */, gfx 90 content/common/plugin_process_messages.h gfx::Rect /* window rect */, gfx 96 content/common/plugin_process_messages.h gfx::Rect /* window rect */) gfx 50 content/common/speech_recognition_messages.h IPC_STRUCT_MEMBER(gfx::Rect, element_rect) gfx 26 content/common/text_input_client_messages.h gfx::Point) gfx 30 content/common/text_input_client_messages.h gfx::Range) gfx 34 content/common/text_input_client_messages.h gfx::Range) gfx 38 content/common/text_input_client_messages.h IPC_MESSAGE_ROUTED1(TextInputClientMsg_StringAtPoint, gfx::Point) gfx 52 content/common/text_input_client_messages.h gfx::Rect /* frame rectangle */) gfx 62 content/common/text_input_client_messages.h gfx::Point) gfx 334 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect) gfx 336 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) gfx 346 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Rect, bounds) gfx 406 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect) gfx 411 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Vector2d, scroll_delta) gfx 414 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Rect, scroll_rect) gfx 417 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Vector2d, scroll_offset) gfx 421 content/common/view_messages.h IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) gfx 428 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Size, view_size) gfx 607 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Size, new_size) gfx 608 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) gfx 610 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) gfx 624 content/common/view_messages.h gfx::Rect /* resizer_rect */) gfx 662 content/common/view_messages.h gfx::Point /* location where menu should be shown */) gfx 690 content/common/view_messages.h gfx::Point, /* location */ gfx 696 content/common/view_messages.h gfx::Point, /* location */ gfx 782 content/common/view_messages.h gfx::Range /* replacement_range */, gfx 825 content/common/view_messages.h gfx::Size /* The view size to be repainted */) gfx 832 content/common/view_messages.h gfx::Rect /* view_screen_rect */, gfx 833 content/common/view_messages.h gfx::Rect /* window_screen_rect */) gfx 848 content/common/view_messages.h gfx::Size /* min_size */, gfx 849 content/common/view_messages.h gfx::Size /* max_size */) gfx 853 content/common/view_messages.h gfx::Size /* new_size */) gfx 870 content/common/view_messages.h gfx::Size /* disable_scrollbar_size_limit */) gfx 938 content/common/view_messages.h gfx::Size /* size */, gfx 999 content/common/view_messages.h gfx::Rect /* rect */) gfx 1008 content/common/view_messages.h gfx::Rect /* window frame */, gfx 1009 content/common/view_messages.h gfx::Rect /* content view frame */) gfx 1039 content/common/view_messages.h gfx::Rect /* src_subrect */) gfx 1099 content/common/view_messages.h gfx::Rect /* initial_pos */, gfx 1104 content/common/view_messages.h gfx::Rect /* initial_pos */) gfx 1139 content/common/view_messages.h gfx::Rect /* position */) gfx 1157 content/common/view_messages.h gfx::Rect /* selection_rect */, gfx 1302 content/common/view_messages.h gfx::NativeViewId /* dummy_activation_window */) gfx 1305 content/common/view_messages.h gfx::NativeViewId /* dummy_activation_window */) gfx 1374 content/common/view_messages.h gfx::Size /* pref_size */) gfx 1485 content/common/view_messages.h gfx::PluginWindowHandle /* id */) gfx 1491 content/common/view_messages.h gfx::PluginWindowHandle /* id */) gfx 1509 content/common/view_messages.h gfx::Range /* selection range in the document */) gfx 1518 content/common/view_messages.h gfx::Rect /* bounds of the selection root */) gfx 1613 content/common/view_messages.h IPC_STRUCT_MEMBER(gfx::Size, size) gfx 1633 content/common/view_messages.h gfx::Vector2dF /* accumulated_overscroll */, gfx 1634 content/common/view_messages.h gfx::Vector2dF /* current_fling_velocity */) gfx 1730 content/common/view_messages.h gfx::Rect, /* Border of touched targets */ gfx 1731 content/common/view_messages.h gfx::Size, /* Size of zoomed image */ gfx 1783 content/common/view_messages.h gfx::Rect /* anchor rectangle in root view coordinate */, gfx 1794 content/common/view_messages.h gfx::Rect /* anchor rectangle in root view coordinate */) gfx 1814 content/common/view_messages.h std::vector<gfx::RectF> /* rects */, gfx 1815 content/common/view_messages.h gfx::RectF /* active_rect */) gfx 1895 content/common/view_messages.h gfx::Range /* composition range */, gfx 1896 content/common/view_messages.h std::vector<gfx::Rect> /* character bounds */) gfx 10 content/common/webplugin_geometry.cc : window(gfx::kNullPluginWindow), gfx 35 content/common/webplugin_geometry.h gfx::PluginWindowHandle window; gfx 36 content/common/webplugin_geometry.h gfx::Rect window_rect; gfx 39 content/common/webplugin_geometry.h gfx::Rect clip_rect; gfx 40 content/common/webplugin_geometry.h std::vector<gfx::Rect> cutout_rects; gfx 73 content/gpu/gpu_child_thread.cc if (!gfx::GLSurface::InitializeOneOff()) gfx 139 content/gpu/gpu_main.cc gfx::kGLImplementationDesktopName) { gfx 242 content/gpu/gpu_main.cc ? gfx::GetGLImplementation() != gfx::kGLImplementationNone gfx 243 content/gpu/gpu_main.cc : gfx::GLSurface::InitializeOneOff(); gfx 312 content/gpu/gpu_main.cc gfx::GetGLImplementation() == gfx::kGLImplementationOSMesaGL) { gfx 369 content/gpu/gpu_main.cc scoped_refptr<gfx::GLSurface> surface( gfx 370 content/gpu/gpu_main.cc gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1))); gfx 378 content/gpu/gpu_main.cc scoped_refptr<gfx::GLContext> context(gfx::GLContext::CreateGLContext( gfx 379 content/gpu/gpu_main.cc NULL, surface.get(), gfx::PreferDiscreteGpu)); gfx 101 content/plugin/plugin_thread.cc gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx 21 content/plugin/webplugin_accelerated_surface_proxy_mac.cc gfx::GpuPreference gpu_preference) { gfx 57 content/plugin/webplugin_accelerated_surface_proxy_mac.cc void WebPluginAcceleratedSurfaceProxy::SetSize(const gfx::Size& size) { gfx 76 content/plugin/webplugin_accelerated_surface_proxy_mac.cc surface_->Clear(gfx::Rect(surface_->GetSize())); gfx 26 content/plugin/webplugin_accelerated_surface_proxy_mac.h gfx::GpuPreference gpu_preference); gfx 31 content/plugin/webplugin_accelerated_surface_proxy_mac.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 284 content/plugin/webplugin_delegate_stub.cc void WebPluginDelegateStub::OnPaint(const gfx::Rect& damaged_rect) { gfx 369 content/plugin/webplugin_delegate_stub.cc void WebPluginDelegateStub::OnContainerShown(gfx::Rect window_frame, gfx 370 content/plugin/webplugin_delegate_stub.cc gfx::Rect view_frame, gfx 379 content/plugin/webplugin_delegate_stub.cc void WebPluginDelegateStub::OnWindowFrameChanged(const gfx::Rect& window_frame, gfx 380 content/plugin/webplugin_delegate_stub.cc const gfx::Rect& view_frame) { gfx 74 content/plugin/webplugin_delegate_stub.h void OnPaint(const gfx::Rect& damaged_rect); gfx 95 content/plugin/webplugin_delegate_stub.h void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame, gfx 97 content/plugin/webplugin_delegate_stub.h void OnWindowFrameChanged(const gfx::Rect& window_frame, gfx 98 content/plugin/webplugin_delegate_stub.h const gfx::Rect& view_frame); gfx 78 content/plugin/webplugin_proxy.cc XDisplay* display = gfx::GetXDisplay(); gfx 80 content/plugin/webplugin_proxy.cc gfx::BitsPerPixelForPixmapDepth( gfx 95 content/plugin/webplugin_proxy.cc XFreePixmap(gfx::GetXDisplay(), windowless_shm_pixmaps_[0]); gfx 97 content/plugin/webplugin_proxy.cc XFreePixmap(gfx::GetXDisplay(), windowless_shm_pixmaps_[1]); gfx 116 content/plugin/webplugin_proxy.cc void WebPluginProxy::SetWindow(gfx::PluginWindowHandle window) { gfx 124 content/plugin/webplugin_proxy.cc void WebPluginProxy::WillDestroyWindow(gfx::PluginWindowHandle window) { gfx 138 content/plugin/webplugin_proxy.cc HANDLE pump_messages_event, gfx::NativeViewId dummy_activation_window) { gfx 155 content/plugin/webplugin_proxy.cc gfx::Rect rect(0, 0, gfx 161 content/plugin/webplugin_proxy.cc void WebPluginProxy::InvalidateRect(const gfx::Rect& rect) { gfx 172 content/plugin/webplugin_proxy.cc gfx::Rect plugin_rect = delegate_->GetRect(); gfx 173 content/plugin/webplugin_proxy.cc plugin_rect.set_origin(gfx::Point(0, 0)); gfx 175 content/plugin/webplugin_proxy.cc const gfx::Rect invalidate_rect(plugin_rect); gfx 177 content/plugin/webplugin_proxy.cc const gfx::Rect invalidate_rect(rect); gfx 204 content/plugin/webplugin_proxy.cc damaged_rect_ = gfx::Rect(); gfx 350 content/plugin/webplugin_proxy.cc void WebPluginProxy::Paint(const gfx::Rect& rect) { gfx 361 content/plugin/webplugin_proxy.cc gfx::Rect offset_rect = rect; gfx 420 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect, gfx 421 content/plugin/webplugin_proxy.cc const gfx::Rect& clip_rect, gfx 425 content/plugin/webplugin_proxy.cc gfx::Rect old = delegate_->GetRect(); gfx 426 content/plugin/webplugin_proxy.cc gfx::Rect old_clip_rect = delegate_->GetClipRect(); gfx 463 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect, gfx 478 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect) { gfx 499 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect, gfx 525 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect) { gfx 540 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect, gfx 557 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect, gfx 560 content/plugin/webplugin_proxy.cc XDisplay* display = gfx::GetXDisplay(); gfx 580 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect) { gfx 607 content/plugin/webplugin_proxy.cc const gfx::Rect& window_rect) { gfx 651 content/plugin/webplugin_proxy.cc gfx::GpuPreference gpu_preference) { gfx 675 content/plugin/webplugin_proxy.cc void WebPluginProxy::OnPaint(const gfx::Rect& damaged_rect) { gfx 718 content/plugin/webplugin_proxy.cc gfx::Rect caret_rect; gfx 58 content/plugin/webplugin_proxy.h virtual void SetWindow(gfx::PluginWindowHandle window) OVERRIDE; gfx 60 content/plugin/webplugin_proxy.h virtual void WillDestroyWindow(gfx::PluginWindowHandle window) OVERRIDE; gfx 63 content/plugin/webplugin_proxy.h virtual void InvalidateRect(const gfx::Rect& rect) OVERRIDE; gfx 81 content/plugin/webplugin_proxy.h void UpdateGeometry(const gfx::Rect& window_rect, gfx 82 content/plugin/webplugin_proxy.h const gfx::Rect& clip_rect, gfx 100 content/plugin/webplugin_proxy.h gfx::NativeViewId dummy_activation_window); gfx 106 content/plugin/webplugin_proxy.h GetAcceleratedSurface(gfx::GpuPreference gpu_preference) OVERRIDE; gfx 132 content/plugin/webplugin_proxy.h void Paint(const gfx::Rect& rect); gfx 161 content/plugin/webplugin_proxy.h void OnPaint(const gfx::Rect& damaged_rect); gfx 165 content/plugin/webplugin_proxy.h const gfx::Rect& window_rect, gfx 170 content/plugin/webplugin_proxy.h const gfx::Rect& window_rect, gfx 176 content/plugin/webplugin_proxy.h const gfx::Rect& window_rect, gfx 182 content/plugin/webplugin_proxy.h const gfx::Rect& window_rect, gfx 189 content/plugin/webplugin_proxy.h const gfx::Rect& window_rect); gfx 216 content/plugin/webplugin_proxy.h gfx::Rect damaged_rect_; gfx 17 content/port/browser/render_view_host_delegate_view.h namespace gfx { gfx 42 content/port/browser/render_view_host_delegate_view.h virtual void ShowPopupMenu(const gfx::Rect& bounds, gfx 60 content/port/browser/render_view_host_delegate_view.h const gfx::ImageSkia& image, gfx 61 content/port/browser/render_view_host_delegate_view.h const gfx::Vector2d& image_offset, gfx 11 content/port/browser/render_widget_host_view_frame_subscriber.h namespace gfx { gfx 71 content/port/browser/render_widget_host_view_port.h const gfx::Rect& pos) = 0; gfx 89 content/port/browser/render_widget_host_view_port.h const gfx::Vector2d& scroll_offset, gfx 115 content/port/browser/render_widget_host_view_port.h const gfx::Range& range, gfx 116 content/port/browser/render_widget_host_view_port.h const std::vector<gfx::Rect>& character_bounds) = 0; gfx 138 content/port/browser/render_widget_host_view_port.h const gfx::Rect& scroll_rect, gfx 139 content/port/browser/render_widget_host_view_port.h const gfx::Vector2d& scroll_delta, gfx 140 content/port/browser/render_widget_host_view_port.h const std::vector<gfx::Rect>& copy_rects, gfx 157 content/port/browser/render_widget_host_view_port.h const gfx::Range& range) = 0; gfx 168 content/port/browser/render_widget_host_view_port.h virtual void SelectionRootBoundsChanged(const gfx::Rect& bounds) = 0; gfx 175 content/port/browser/render_widget_host_view_port.h virtual BackingStore* AllocBackingStore(const gfx::Size& size) = 0; gfx 187 content/port/browser/render_widget_host_view_port.h const gfx::Rect& src_subrect, gfx 188 content/port/browser/render_widget_host_view_port.h const gfx::Size& dst_size, gfx 204 content/port/browser/render_widget_host_view_port.h const gfx::Rect& src_subrect, gfx 256 content/port/browser/render_widget_host_view_port.h virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) = 0; gfx 265 content/port/browser/render_widget_host_view_port.h virtual gfx::Size GetPhysicalBackingSize() const = 0; gfx 272 content/port/browser/render_widget_host_view_port.h virtual gfx::Rect GetBoundsInRootWindow() = 0; gfx 274 content/port/browser/render_widget_host_view_port.h virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; gfx 277 content/port/browser/render_widget_host_view_port.h virtual void ResizeCompositingSurface(const gfx::Size&) = 0; gfx 315 content/port/browser/render_widget_host_view_port.h virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, gfx 316 content/port/browser/render_widget_host_view_port.h gfx::Vector2dF current_fling_velocity) = 0; gfx 350 content/port/browser/render_widget_host_view_port.h virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, gfx 356 content/port/browser/render_widget_host_view_port.h gfx::NativeViewAccessible accessible_parent) = 0; gfx 360 content/port/browser/render_widget_host_view_port.h virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; gfx 22 content/port/browser/web_contents_view_port.h const gfx::Size& initial_size, gfx::NativeView context) = 0; gfx 76 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import org.chromium.ui.gfx.DeviceDisplayInfo; gfx 22 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java import org.chromium.ui.gfx.DeviceDisplayInfo; gfx 22 content/public/browser/android/compositor.h namespace gfx { gfx 41 content/public/browser/android/compositor.h gfx::NativeWindow root_window); gfx 50 content/public/browser/android/compositor.h virtual void SetWindowBounds(const gfx::Size& size) = 0; gfx 70 content/public/browser/android/compositor.h virtual bool CompositeAndReadback(void *pixels, const gfx::Rect& rect) = 0; gfx 83 content/public/browser/android/compositor.h virtual cc::UIResourceId GenerateCompressedUIResource(const gfx::Size& size, gfx 22 content/public/browser/android/content_view_core.h namespace gfx { gfx 59 content/public/browser/android/content_view_core.h gfx::Rect src_rect, gfx 67 content/public/browser/android/content_view_core.h const gfx::SizeF& content_size, gfx 68 content/public/browser/android/content_view_core.h const gfx::Vector2dF& scroll_offset, gfx 13 content/public/browser/android/external_video_surface_container.h namespace gfx { gfx 50 content/public/browser/android/external_video_surface_container.h int player_id, const gfx::RectF& rect) = 0; gfx 16 content/public/browser/android/synchronous_compositor.h namespace gfx { gfx 64 content/public/browser/android/synchronous_compositor.h virtual bool InitializeHwDraw(scoped_refptr<gfx::GLSurface> surface) = 0; gfx 75 content/public/browser/android/synchronous_compositor.h gfx::Size surface_size, gfx 76 content/public/browser/android/synchronous_compositor.h const gfx::Transform& transform, gfx 77 content/public/browser/android/synchronous_compositor.h gfx::Rect viewport, gfx 78 content/public/browser/android/synchronous_compositor.h gfx::Rect clip, gfx 30 content/public/browser/android/synchronous_compositor_client.h gfx::Vector2dF max_scroll_offset) = 0; gfx 31 content/public/browser/android/synchronous_compositor_client.h virtual void SetTotalRootLayerScrollOffset(gfx::Vector2dF new_value) = 0; gfx 32 content/public/browser/android/synchronous_compositor_client.h virtual gfx::Vector2dF GetTotalRootLayerScrollOffset() = 0; gfx 38 content/public/browser/android/synchronous_compositor_client.h virtual void SetRootLayerScrollableSize(gfx::SizeF scrollable_size) = 0; gfx 40 content/public/browser/android/synchronous_compositor_client.h virtual void DidOverscroll(gfx::Vector2dF accumulated_overscroll, gfx 41 content/public/browser/android/synchronous_compositor_client.h gfx::Vector2dF latest_overscroll_delta, gfx 42 content/public/browser/android/synchronous_compositor_client.h gfx::Vector2dF current_fling_velocity) = 0; gfx 53 content/public/browser/browser_plugin_guest_delegate.h const gfx::Rect& selection_rect, gfx 101 content/public/browser/browser_plugin_guest_delegate.h virtual void SizeChanged(const gfx::Size& old_size, gfx 102 content/public/browser/browser_plugin_guest_delegate.h const gfx::Size& new_size) {} gfx 110 content/public/browser/content_browser_client.cc gfx::ImageSkia* ContentBrowserClient::GetDefaultFavicon() { gfx 111 content/public/browser/content_browser_client.cc static gfx::ImageSkia* empty = new gfx::ImageSkia(); gfx 51 content/public/browser/content_browser_client.h namespace gfx { gfx 303 content/public/browser/content_browser_client.h virtual gfx::ImageSkia* GetDefaultFavicon(); gfx 13 content/public/browser/favicon_status.cc image = gfx::Image(*GetContentClient()->browser()->GetDefaultFavicon()); gfx 29 content/public/browser/favicon_status.h gfx::Image image; gfx 12 content/public/browser/interstitial_page.h namespace gfx { gfx 77 content/public/browser/interstitial_page.h virtual void SetSize(const gfx::Size& size) = 0; gfx 24 content/public/browser/native_web_keyboard_event.h explicit NativeWebKeyboardEvent(gfx::NativeEvent native_event); gfx 61 content/public/browser/native_web_keyboard_event.h gfx::NativeEvent os_event; gfx 66 content/public/browser/render_frame_host.h virtual gfx::NativeView GetNativeView() = 0; gfx 24 content/public/browser/render_view_host.h namespace gfx { gfx 114 content/public/browser/render_view_host.h virtual void DisableScrollbarsForThreshold(const gfx::Size& size) = 0; gfx 129 content/public/browser/render_view_host.h const gfx::Point& client_pt, gfx 130 content/public/browser/render_view_host.h const gfx::Point& screen_pt, gfx 134 content/public/browser/render_view_host.h const gfx::Point& client_pt, gfx 135 content/public/browser/render_view_host.h const gfx::Point& screen_pt, gfx 139 content/public/browser/render_view_host.h virtual void DragTargetDrop(const gfx::Point& client_pt, gfx 140 content/public/browser/render_view_host.h const gfx::Point& screen_pt, gfx 145 content/public/browser/render_view_host.h virtual void EnableAutoResize(const gfx::Size& min_size, gfx 146 content/public/browser/render_view_host.h const gfx::Size& max_size) = 0; gfx 149 content/public/browser/render_view_host.h virtual void DisableAutoResize(const gfx::Size& new_size) = 0; gfx 157 content/public/browser/render_view_host.h const gfx::Point& location, gfx 163 content/public/browser/render_view_host.h const gfx::Point& location, const blink::WebPluginAction& action) = 0; gfx 27 content/public/browser/render_widget_host.h namespace gfx { gfx 186 content/public/browser/render_widget_host.h const gfx::Rect& src_rect, gfx 187 content/public/browser/render_widget_host.h const gfx::Size& accelerated_dst_size, gfx 198 content/public/browser/render_widget_host.h virtual bool CopyFromBackingStoreToGtkWindow(const gfx::Rect& dest_rect, gfx 201 content/public/browser/render_widget_host.h virtual gfx::Size GetBackingStoreSize() = 0; gfx 231 content/public/browser/render_widget_host.h int acc_obj_id, gfx::Rect subfocus) = 0; gfx 236 content/public/browser/render_widget_host.h virtual void AccessibilityScrollToPoint(int acc_obj_id, gfx::Point point) = 0; gfx 251 content/public/browser/render_widget_host.h virtual const gfx::Vector2d& GetLastScrollOffset() const = 0; gfx 271 content/public/browser/render_widget_host.h virtual void ResizeRectChanged(const gfx::Rect& new_rect) = 0; gfx 314 content/public/browser/render_widget_host.h const gfx::Rect& src_subrect, gfx 22 content/public/browser/render_widget_host_view.h namespace gfx { gfx 65 content/public/browser/render_widget_host_view.h virtual void InitAsChild(gfx::NativeView parent_view) = 0; gfx 71 content/public/browser/render_widget_host_view.h virtual void SetSize(const gfx::Size& size) = 0; gfx 75 content/public/browser/render_widget_host_view.h virtual void SetBounds(const gfx::Rect& rect) = 0; gfx 79 content/public/browser/render_widget_host_view.h virtual gfx::NativeView GetNativeView() const = 0; gfx 80 content/public/browser/render_widget_host_view.h virtual gfx::NativeViewId GetNativeViewId() const = 0; gfx 81 content/public/browser/render_widget_host_view.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0; gfx 99 content/public/browser/render_widget_host_view.h virtual gfx::Rect GetViewBounds() const = 0; gfx 159 content/public/browser/render_widget_host_view.h virtual gfx::NativeView BuildInputMethodsGtkMenu() = 0; gfx 55 content/public/browser/speech_recognition_session_context.h gfx::Rect element_rect; gfx 40 content/public/browser/web_contents.h namespace gfx { gfx 103 content/public/browser/web_contents.h gfx::Size initial_size; gfx 110 content/public/browser/web_contents.h gfx::NativeView context; gfx 231 content/public/browser/web_contents.h gfx::NativeViewAccessible accessible_parent) = 0; gfx 290 content/public/browser/web_contents.h virtual void IncrementCapturerCount(const gfx::Size& capture_size) = 0; gfx 445 content/public/browser/web_contents.h virtual gfx::Size GetPreferredSize() const = 0; gfx 475 content/public/browser/web_contents.h const std::vector<gfx::Size>&)> gfx 32 content/public/browser/web_contents_delegate.cc gfx::Rect WebContentsDelegate::GetRootWindowResizerRect() const { gfx 33 content/public/browser/web_contents_delegate.cc return gfx::Rect(); gfx 194 content/public/browser/web_contents_delegate.cc gfx::Size WebContentsDelegate::GetSizeForNewRenderView( gfx 196 content/public/browser/web_contents_delegate.cc return gfx::Size(); gfx 51 content/public/browser/web_contents_delegate.h namespace gfx { gfx 101 content/public/browser/web_contents_delegate.h const gfx::Rect& initial_pos, gfx 136 content/public/browser/web_contents_delegate.h virtual void MoveContents(WebContents* source, const gfx::Rect& pos) {} gfx 151 content/public/browser/web_contents_delegate.h const gfx::Point& location, gfx 167 content/public/browser/web_contents_delegate.h virtual gfx::Rect GetRootWindowResizerRect() const; gfx 384 content/public/browser/web_contents_delegate.h const gfx::Rect& selection_rect, gfx 393 content/public/browser/web_contents_delegate.h const std::vector<gfx::RectF>& rects, gfx 394 content/public/browser/web_contents_delegate.h const gfx::RectF& active_rect) {} gfx 399 content/public/browser/web_contents_delegate.h const gfx::Size& pref_size) {} gfx 403 content/public/browser/web_contents_delegate.h const gfx::Size& new_size) {} gfx 445 content/public/browser/web_contents_delegate.h virtual gfx::Size GetSizeForNewRenderView( gfx 451 content/public/browser/web_contents_delegate.h const gfx::Rect& anchor_in_root_view, gfx 462 content/public/browser/web_contents_delegate.h const gfx::Rect& anchor_in_root_view) {} gfx 28 content/public/browser/web_contents_view.h virtual gfx::NativeView GetNativeView() const = 0; gfx 33 content/public/browser/web_contents_view.h virtual gfx::NativeView GetContentNativeView() const = 0; gfx 37 content/public/browser/web_contents_view.h virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0; gfx 41 content/public/browser/web_contents_view.h virtual void GetContainerBounds(gfx::Rect* out) const = 0; gfx 45 content/public/browser/web_contents_view.h gfx::Size GetContainerSize() const { gfx 46 content/public/browser/web_contents_view.h gfx::Rect rc; gfx 48 content/public/browser/web_contents_view.h return gfx::Size(rc.width(), rc.height()); gfx 62 content/public/browser/web_contents_view.h virtual void SizeContents(const gfx::Size& size) = 0; gfx 82 content/public/browser/web_contents_view.h virtual gfx::Rect GetViewBounds() const = 0; gfx 98 content/public/browser/web_contents_view.h const gfx::Point& offset) = 0; gfx 21 content/public/browser/web_contents_view_delegate.h namespace gfx { gfx 56 content/public/browser/web_contents_view_delegate.h virtual void SizeChanged(const gfx::Size& size) = 0; gfx 65 content/public/browser/web_contents_view_delegate.h virtual gfx::NativeView GetNativeView() const = 0; gfx 20 content/public/child/image_decoder_utils.h const gfx::Size& desired_image_size, gfx 180 content/public/common/common_param_traits.cc void ParamTraits<gfx::Point>::Write(Message* m, const gfx::Point& p) { gfx 185 content/public/common/common_param_traits.cc bool ParamTraits<gfx::Point>::Read(const Message* m, PickleIterator* iter, gfx 186 content/public/common/common_param_traits.cc gfx::Point* r) { gfx 196 content/public/common/common_param_traits.cc void ParamTraits<gfx::Point>::Log(const gfx::Point& p, std::string* l) { gfx 200 content/public/common/common_param_traits.cc void ParamTraits<gfx::PointF>::Write(Message* m, const gfx::PointF& v) { gfx 205 content/public/common/common_param_traits.cc bool ParamTraits<gfx::PointF>::Read(const Message* m, gfx 207 content/public/common/common_param_traits.cc gfx::PointF* r) { gfx 217 content/public/common/common_param_traits.cc void ParamTraits<gfx::PointF>::Log(const gfx::PointF& v, std::string* l) { gfx 221 content/public/common/common_param_traits.cc void ParamTraits<gfx::Size>::Write(Message* m, const gfx::Size& p) { gfx 228 content/public/common/common_param_traits.cc bool ParamTraits<gfx::Size>::Read(const Message* m, gfx 230 content/public/common/common_param_traits.cc gfx::Size* r) { gfx 242 content/public/common/common_param_traits.cc void ParamTraits<gfx::Size>::Log(const gfx::Size& p, std::string* l) { gfx 246 content/public/common/common_param_traits.cc void ParamTraits<gfx::SizeF>::Write(Message* m, const gfx::SizeF& p) { gfx 251 content/public/common/common_param_traits.cc bool ParamTraits<gfx::SizeF>::Read(const Message* m, gfx 253 content/public/common/common_param_traits.cc gfx::SizeF* r) { gfx 263 content/public/common/common_param_traits.cc void ParamTraits<gfx::SizeF>::Log(const gfx::SizeF& p, std::string* l) { gfx 267 content/public/common/common_param_traits.cc void ParamTraits<gfx::Vector2d>::Write(Message* m, const gfx::Vector2d& p) { gfx 272 content/public/common/common_param_traits.cc bool ParamTraits<gfx::Vector2d>::Read(const Message* m, gfx 274 content/public/common/common_param_traits.cc gfx::Vector2d* r) { gfx 284 content/public/common/common_param_traits.cc void ParamTraits<gfx::Vector2d>::Log(const gfx::Vector2d& v, std::string* l) { gfx 288 content/public/common/common_param_traits.cc void ParamTraits<gfx::Vector2dF>::Write(Message* m, const gfx::Vector2dF& p) { gfx 293 content/public/common/common_param_traits.cc bool ParamTraits<gfx::Vector2dF>::Read(const Message* m, gfx 295 content/public/common/common_param_traits.cc gfx::Vector2dF* r) { gfx 305 content/public/common/common_param_traits.cc void ParamTraits<gfx::Vector2dF>::Log(const gfx::Vector2dF& v, std::string* l) { gfx 309 content/public/common/common_param_traits.cc void ParamTraits<gfx::Rect>::Write(Message* m, const gfx::Rect& p) { gfx 314 content/public/common/common_param_traits.cc bool ParamTraits<gfx::Rect>::Read(const Message* m, gfx 316 content/public/common/common_param_traits.cc gfx::Rect* r) { gfx 327 content/public/common/common_param_traits.cc void ParamTraits<gfx::Rect>::Log(const gfx::Rect& p, std::string* l) { gfx 332 content/public/common/common_param_traits.cc void ParamTraits<gfx::RectF>::Write(Message* m, const gfx::RectF& p) { gfx 337 content/public/common/common_param_traits.cc bool ParamTraits<gfx::RectF>::Read(const Message* m, gfx 339 content/public/common/common_param_traits.cc gfx::RectF* r) { gfx 348 content/public/common/common_param_traits.cc void ParamTraits<gfx::RectF>::Log(const gfx::RectF& p, std::string* l) { gfx 34 content/public/common/common_param_traits.h namespace gfx { gfx 90 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::Point> { gfx 91 content/public/common/common_param_traits.h typedef gfx::Point param_type; gfx 98 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::PointF> { gfx 99 content/public/common/common_param_traits.h typedef gfx::PointF param_type; gfx 106 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::Size> { gfx 107 content/public/common/common_param_traits.h typedef gfx::Size param_type; gfx 114 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::SizeF> { gfx 115 content/public/common/common_param_traits.h typedef gfx::SizeF param_type; gfx 122 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::Vector2d> { gfx 123 content/public/common/common_param_traits.h typedef gfx::Vector2d param_type; gfx 130 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::Vector2dF> { gfx 131 content/public/common/common_param_traits.h typedef gfx::Vector2dF param_type; gfx 138 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::Rect> { gfx 139 content/public/common/common_param_traits.h typedef gfx::Rect param_type; gfx 146 content/public/common/common_param_traits.h struct CONTENT_EXPORT ParamTraits<gfx::RectF> { gfx 147 content/public/common/common_param_traits.h typedef gfx::RectF param_type; gfx 154 content/public/common/common_param_traits.h struct ParamTraits<gfx::NativeWindow> { gfx 155 content/public/common/common_param_traits.h typedef gfx::NativeWindow param_type; gfx 171 content/public/common/common_param_traits.h if (result && data_size == sizeof(gfx::NativeWindow)) { gfx 172 content/public/common/common_param_traits.h memcpy(r, data, sizeof(gfx::NativeWindow)); gfx 100 content/public/common/content_client.cc gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { gfx 101 content/public/common/content_client.cc CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); gfx 28 content/public/common/content_client.h namespace gfx { gfx 122 content/public/common/content_client.h virtual gfx::Image& GetNativeImageNamed(int resource_id) const; gfx 150 content/public/common/context_menu_params.h gfx::Point selection_start; gfx 151 content/public/common/context_menu_params.h gfx::Point selection_end; gfx 15 content/public/common/favicon_url.cc const std::vector<gfx::Size>& sizes) gfx 29 content/public/common/favicon_url.h const std::vector<gfx::Size>& sizes); gfx 39 content/public/common/favicon_url.h std::vector<gfx::Size> icon_sizes; gfx 243 content/public/common/media_stream_request.h virtual gfx::NativeViewId OnStarted(const base::Closure& stop) = 0; gfx 44 content/public/common/page_state.cc state->scroll_offset = gfx::Point(); gfx 22 content/public/renderer/pepper_plugin_instance.h namespace gfx { gfx 68 content/public/renderer/pepper_plugin_instance.h virtual PP_Resource CreateImage(gfx::ImageSkia* source_image, gfx 96 content/public/renderer/pepper_plugin_instance.h virtual bool IsRectTopmost(const gfx::Rect& rect) = 0; gfx 32 content/public/renderer/render_view.h namespace gfx { gfx 69 content/public/renderer/render_view.h virtual gfx::Size GetSize() const = 0; gfx 120 content/public/renderer/render_view.h virtual void Repaint(const gfx::Size& size) = 0; gfx 23 content/public/renderer/renderer_ppapi_host.h namespace gfx { gfx 109 content/public/renderer/renderer_ppapi_host.h virtual gfx::Point PluginPointToRenderFrame( gfx 111 content/public/renderer/renderer_ppapi_host.h const gfx::Point& pt) const = 0; gfx 221 content/public/test/browser_test_base.cc switches::kUseGL, gfx::kGLImplementationOSMesaName); gfx 305 content/public/test/browser_test_base.cc gfx::kGLImplementationOSMesaName; gfx 226 content/public/test/browser_test_utils.cc SimulateMouseClickAt(web_contents, modifiers, button, gfx::Point(x, y)); gfx 232 content/public/test/browser_test_utils.cc const gfx::Point& point) { gfx 240 content/public/test/browser_test_utils.cc gfx::Rect offset; gfx 252 content/public/test/browser_test_utils.cc const gfx::Point& point) { gfx 34 content/public/test/browser_test_utils.h namespace gfx { gfx 74 content/public/test/browser_test_utils.h const gfx::Point& point); gfx 79 content/public/test/browser_test_utils.h const gfx::Point& point); gfx 163 content/public/test/content_browser_test.cc gfx::Size()); gfx 172 content/public/test/content_browser_test.cc gfx::Size()); gfx 16 content/public/test/content_browser_test_utils.h namespace gfx { gfx 76 content/public/test/content_browser_test_utils.h void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds); gfx 61 content/public/test/content_test_suite_base.cc gfx::android::RegisterJni(env); gfx 272 content/public/test/render_view_test.cc gfx::Rect RenderViewTest::GetElementBounds(const std::string& element_id) { gfx 283 content/public/test/render_view_test.cc return gfx::Rect(); gfx 287 content/public/test/render_view_test.cc return gfx::Rect(); gfx 293 content/public/test/render_view_test.cc return gfx::Rect(); gfx 296 content/public/test/render_view_test.cc return gfx::Rect(coords[0], coords[1], coords[2], coords[3]); gfx 300 content/public/test/render_view_test.cc gfx::Rect bounds = GetElementBounds(element_id); gfx 341 content/public/test/render_view_test.cc void RenderViewTest::Resize(gfx::Size new_size, gfx 342 content/public/test/render_view_test.cc gfx::Rect resizer_rect, gfx 26 content/public/test/render_view_test.h namespace gfx { gfx 96 content/public/test/render_view_test.h gfx::Rect GetElementBounds(const std::string& element_id); gfx 116 content/public/test/render_view_test.h void Resize(gfx::Size new_size, gfx 117 content/public/test/render_view_test.h gfx::Rect resizer_rect, gfx 42 content/public/test/render_widget_test.cc resize_params.new_size = gfx::Size(); gfx 43 content/public/test/render_widget_test.cc resize_params.physical_backing_size = gfx::Size(); gfx 45 content/public/test/render_widget_test.cc resize_params.resizer_rect = gfx::Rect(); gfx 51 content/public/test/render_widget_test.cc resize_params.new_size = gfx::Size(10, 10); gfx 57 content/public/test/render_widget_test.cc gfx::Size size(100, 100); gfx 83 content/public/test/render_widget_test.cc resize_params.new_size = gfx::Size(); gfx 84 content/public/test/render_widget_test.cc resize_params.physical_backing_size = gfx::Size(); gfx 14 content/public/test/render_widget_test.h namespace gfx { gfx 430 content/renderer/accessibility/blink_ax_tree_source.cc const gfx::Size& scroll_offset = document.frame()->scrollOffset(); gfx 434 content/renderer/accessibility/blink_ax_tree_source.cc const gfx::Size& min_offset = document.frame()->minimumScrollOffset(); gfx 438 content/renderer/accessibility/blink_ax_tree_source.cc const gfx::Size& max_offset = document.frame()->maximumScrollOffset(); gfx 38 content/renderer/accessibility/renderer_accessibility_complete.cc last_scroll_offset_(gfx::Size()), gfx 113 content/renderer/accessibility/renderer_accessibility_complete.cc gfx::Size scroll_offset = document.frame()->scrollOffset(); gfx 229 content/renderer/accessibility/renderer_accessibility_complete.cc base::hash_map<int, gfx::Rect> new_locations; gfx 239 content/renderer/accessibility/renderer_accessibility_complete.cc base::hash_map<int, gfx::Rect>::iterator iter = locations_.find(id); gfx 244 content/renderer/accessibility/renderer_accessibility_complete.cc gfx::Rect new_location = obj.boundingBoxRect(); gfx 277 content/renderer/accessibility/renderer_accessibility_complete.cc int acc_obj_id, gfx::Rect subfocus) { gfx 303 content/renderer/accessibility/renderer_accessibility_complete.cc int acc_obj_id, gfx::Point point) { gfx 69 content/renderer/accessibility/renderer_accessibility_complete.h void OnScrollToMakeVisible(int acc_obj_id, gfx::Rect subfocus); gfx 70 content/renderer/accessibility/renderer_accessibility_complete.h void OnScrollToPoint(int acc_obj_id, gfx::Point point); gfx 99 content/renderer/accessibility/renderer_accessibility_complete.h base::hash_map<int, gfx::Rect> locations_; gfx 104 content/renderer/accessibility/renderer_accessibility_complete.h gfx::Size last_scroll_offset_; gfx 113 content/renderer/accessibility/renderer_accessibility_focus_only.cc root.location = gfx::Rect(render_view_->size()); gfx 120 content/renderer/accessibility/renderer_accessibility_focus_only.cc child.location = gfx::Rect( gfx 125 content/renderer/accessibility/renderer_accessibility_focus_only.cc child.location = gfx::Rect(); gfx 328 content/renderer/browser_plugin/browser_plugin.cc params->max_size = gfx::Size(GetAdjustedMaxWidth(), GetAdjustedMaxHeight()); gfx 329 content/renderer/browser_plugin/browser_plugin.cc params->min_size = gfx::Size(GetAdjustedMinWidth(), GetAdjustedMinHeight()); gfx 336 content/renderer/browser_plugin/browser_plugin.cc max_auto_size_ = gfx::Size(); gfx 462 content/renderer/browser_plugin/browser_plugin.cc gfx::Rect source_rect, gfx 463 content/renderer/browser_plugin/browser_plugin.cc gfx::Size dest_size) { gfx 627 content/renderer/browser_plugin/browser_plugin.cc gfx::Size(backing_store_width, backing_store_height), gfx 671 content/renderer/browser_plugin/browser_plugin.cc bool BrowserPlugin::InAutoSizeBounds(const gfx::Size& size) const { gfx 1092 content/renderer/browser_plugin/browser_plugin.cc const gfx::Rect& view_rect, gfx 1132 content/renderer/browser_plugin/browser_plugin.cc max_auto_size_ = gfx::Size(); gfx 1134 content/renderer/browser_plugin/browser_plugin.cc gfx::Size view_size = (auto_size_params && auto_size_params->enable) ? gfx 1135 content/renderer/browser_plugin/browser_plugin.cc auto_size_params->max_size : gfx::Size(width(), height()); gfx 1139 content/renderer/browser_plugin/browser_plugin.cc gfx::Rect view_rect = gfx::Rect(plugin_rect_.origin(), view_size); gfx 100 content/renderer/browser_plugin/browser_plugin.h bool InAutoSizeBounds(const gfx::Size& size) const; gfx 223 content/renderer/browser_plugin/browser_plugin.h gfx::Rect plugin_rect() { return plugin_rect_; } gfx 258 content/renderer/browser_plugin/browser_plugin.h const gfx::Rect& view_size, gfx 295 content/renderer/browser_plugin/browser_plugin.h gfx::Rect source_rect, gfx 296 content/renderer/browser_plugin/browser_plugin.h gfx::Size dest_size); gfx 325 content/renderer/browser_plugin/browser_plugin.h gfx::Rect plugin_rect_; gfx 333 content/renderer/browser_plugin/browser_plugin.h gfx::Size max_auto_size_; gfx 345 content/renderer/browser_plugin/browser_plugin.h gfx::Size last_view_size_; gfx 20 content/renderer/browser_plugin/browser_plugin_backing_store.cc const gfx::Size& size, gfx 24 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::Size pixel_size = gfx::ToFlooredSize(gfx::ScaleSize(size, scale_factor)); gfx 35 content/renderer/browser_plugin/browser_plugin_backing_store.cc const gfx::Rect& bitmap_rect, gfx 36 content/renderer/browser_plugin/browser_plugin_backing_store.cc const std::vector<gfx::Rect>& copy_rects, gfx 41 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::Rect pixel_bitmap_rect = gfx::ToFlooredRectDeprecated( gfx 42 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::ScaleRect(bitmap_rect, scale_factor_)); gfx 61 content/renderer/browser_plugin/browser_plugin_backing_store.cc const gfx::Rect& pixel_copy_rect = gfx::ToEnclosingRect( gfx 62 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::ScaleRect(copy_rects[i], scale_factor_)); gfx 79 content/renderer/browser_plugin/browser_plugin_backing_store.cc const gfx::Vector2d& delta, gfx 80 content/renderer/browser_plugin/browser_plugin_backing_store.cc const gfx::Rect& clip_rect, gfx 81 content/renderer/browser_plugin/browser_plugin_backing_store.cc const gfx::Size& view_size) { gfx 82 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::Rect pixel_rect = gfx::ToEnclosingRect( gfx 83 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::ScaleRect(clip_rect, scale_factor_)); gfx 84 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::Vector2d pixel_delta = gfx::ToFlooredVector2d( gfx 85 content/renderer/browser_plugin/browser_plugin_backing_store.cc gfx::ScaleVector2d(delta, scale_factor_)); gfx 18 content/renderer/browser_plugin/browser_plugin_backing_store.h namespace gfx { gfx 35 content/renderer/browser_plugin/browser_plugin_backing_store.h BrowserPluginBackingStore(const gfx::Size& size, float scale_factor); gfx 39 content/renderer/browser_plugin/browser_plugin_backing_store.h const gfx::Rect& bitmap_rect, gfx 40 content/renderer/browser_plugin/browser_plugin_backing_store.h const std::vector<gfx::Rect>& copy_rects, gfx 43 content/renderer/browser_plugin/browser_plugin_backing_store.h void ScrollBackingStore(const gfx::Vector2d& delta, gfx 44 content/renderer/browser_plugin/browser_plugin_backing_store.h const gfx::Rect& clip_rect, gfx 45 content/renderer/browser_plugin/browser_plugin_backing_store.h const gfx::Size& view_size); gfx 49 content/renderer/browser_plugin/browser_plugin_backing_store.h const gfx::Size& GetSize() const { return size_; } gfx 56 content/renderer/browser_plugin/browser_plugin_backing_store.h gfx::Size size_; gfx 217 content/renderer/browser_plugin/browser_plugin_browsertest.cc update_rect_params.view_size = gfx::Size(640, 480); gfx 313 content/renderer/browser_plugin/browser_plugin_browsertest.cc update_rect_params.view_size = gfx::Size(640, 480); gfx 369 content/renderer/browser_plugin/browser_plugin_browsertest.cc update_rect_params.view_size = gfx::Size(641, 480); gfx 385 content/renderer/browser_plugin/browser_plugin_browsertest.cc update_rect_params.view_size = gfx::Size(643, 480); gfx 614 content/renderer/browser_plugin/browser_plugin_browsertest.cc update_rect_params.view_size = gfx::Size(1337, 1338); gfx 13 content/renderer/browser_plugin/browser_plugin_manager_impl.h namespace gfx { gfx 140 content/renderer/child_frame_compositing_helper.cc gfx::Rect source_rect, gfx 141 content/renderer/child_frame_compositing_helper.cc gfx::Size dest_size) { gfx 200 content/renderer/child_frame_compositing_helper.cc const gfx::Size& new_size, gfx 208 content/renderer/child_frame_compositing_helper.cc gfx::Size device_scale_adjusted_size = gfx::ToFlooredSize( gfx 209 content/renderer/child_frame_compositing_helper.cc gfx::ScaleSize(buffer_size_, 1.0f / device_scale_factor)); gfx 378 content/renderer/child_frame_compositing_helper.cc const gfx::Size& size, gfx 454 content/renderer/child_frame_compositing_helper.cc gfx::Size frame_size = root_pass->output_rect.size(); gfx 544 content/renderer/child_frame_compositing_helper.cc gfx::Size dest_size, gfx 39 content/renderer/child_frame_compositing_helper.h namespace gfx { gfx 66 content/renderer/child_frame_compositing_helper.h gfx::Rect source_rect, gfx 67 content/renderer/child_frame_compositing_helper.h gfx::Size dest_size); gfx 71 content/renderer/child_frame_compositing_helper.h void OnBuffersSwapped(const gfx::Size& size, gfx 108 content/renderer/child_frame_compositing_helper.h gfx::Size size; gfx 127 content/renderer/child_frame_compositing_helper.h void CheckSizeAndAdjustLayerProperties(const gfx::Size& new_size, gfx 139 content/renderer/child_frame_compositing_helper.h gfx::Size dest_size, gfx 152 content/renderer/child_frame_compositing_helper.h gfx::Size buffer_size_; gfx 25 content/renderer/clipboard_client.h const gfx::Size& size) = 0; gfx 64 content/renderer/disambiguation_popup_helper.cc gfx::Rect CropZoomArea(const gfx::Rect& zoom_rect, gfx 65 content/renderer/disambiguation_popup_helper.cc const gfx::Size& viewport_size, gfx 66 content/renderer/disambiguation_popup_helper.cc const gfx::Point& touch_point, gfx 68 content/renderer/disambiguation_popup_helper.cc gfx::Size max_size = viewport_size; gfx 80 content/renderer/disambiguation_popup_helper.cc return gfx::Rect(touch_point.x() - left, gfx 91 content/renderer/disambiguation_popup_helper.cc const gfx::Rect& tap_rect, gfx 93 content/renderer/disambiguation_popup_helper.cc const gfx::Size& screen_size, gfx 94 content/renderer/disambiguation_popup_helper.cc const gfx::Size& visible_content_size, gfx 96 content/renderer/disambiguation_popup_helper.cc gfx::Rect* zoom_rect) { gfx 99 content/renderer/disambiguation_popup_helper.cc zoom_rect->Union(gfx::Rect(target_rects[i])); gfx 102 content/renderer/disambiguation_popup_helper.cc zoom_rect->Intersect(gfx::Rect(visible_content_size)); gfx 11 content/renderer/disambiguation_popup_helper.h namespace gfx { gfx 26 content/renderer/disambiguation_popup_helper.h const gfx::Rect& tap_rect, gfx 28 content/renderer/disambiguation_popup_helper.h const gfx::Size& screen_size, gfx 29 content/renderer/disambiguation_popup_helper.h const gfx::Size& visible_content_size, gfx 31 content/renderer/disambiguation_popup_helper.h gfx::Rect* zoom_rect); gfx 29 content/renderer/disambiguation_popup_helper_unittest.cc const gfx::Size kScreenSize_; gfx 30 content/renderer/disambiguation_popup_helper_unittest.cc const gfx::Size kVisibleContentSize_; gfx 35 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Rect tap_rect(1000, 1000, 10, 10); gfx 37 content/renderer/disambiguation_popup_helper_unittest.cc target_rects[0] = gfx::Rect(-20, -20, 10, 10); gfx 39 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Rect zoom_rect; gfx 44 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_TRUE(gfx::Rect(kVisibleContentSize_).Contains(zoom_rect)); gfx 47 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); gfx 48 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_TRUE(gfx::Rect(kScreenSize_).Contains(gfx::Rect(scaled_size))); gfx 52 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Rect tap_rect(-5, -5, 20, 20); gfx 54 content/renderer/disambiguation_popup_helper_unittest.cc target_rects[0] = gfx::Rect(10, 10, 1, 1); gfx 56 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Rect zoom_rect; gfx 61 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_TRUE(gfx::Rect(kVisibleContentSize_).Contains(zoom_rect)); gfx 65 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); gfx 66 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_TRUE(gfx::Rect(kScreenSize_).Contains(gfx::Rect(scaled_size))); gfx 70 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Rect tap_rect(10, 10, 20, 20); gfx 72 content/renderer/disambiguation_popup_helper_unittest.cc target_rects[0] = gfx::Rect(15, 15, 1000, 5); gfx 73 content/renderer/disambiguation_popup_helper_unittest.cc target_rects[1] = gfx::Rect(15, 25, 1000, 5); gfx 75 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Rect zoom_rect; gfx 80 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_TRUE(gfx::Rect(kVisibleContentSize_).Contains(zoom_rect)); gfx 84 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); gfx 85 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_TRUE(gfx::Rect(kScreenSize_).Contains(gfx::Rect(scaled_size))); gfx 26 content/renderer/external_popup_menu.cc float scale, const gfx::Point& offset) { gfx 31 content/renderer/external_popup_menu.h float scale, const gfx::Point& offset); gfx 56 content/renderer/external_popup_menu.h gfx::Point origin_offset_for_emulation_; gfx 52 content/renderer/fetchers/image_resource_fetcher.cc ImageDecoder decoder(gfx::Size(image_size_, image_size_)); gfx 30 content/renderer/gpu/compositor_software_output_device.cc Buffer* parent, const gfx::Rect& damage) { gfx 100 content/renderer/gpu/compositor_software_output_device.cc void CompositorSoftwareOutputDevice::Resize(const gfx::Size& viewport_size) { gfx 135 content/renderer/gpu/compositor_software_output_device.cc const gfx::Rect& damage_rect) { gfx 154 content/renderer/gpu/compositor_software_output_device.cc DCHECK(damage_rect == gfx::Rect(viewport_size_)); gfx 163 content/renderer/gpu/compositor_software_output_device.cc region = SkRegion(RectToSkIRect(gfx::Rect(viewport_size_))); gfx 187 content/renderer/gpu/compositor_software_output_device.cc buffer->SetParent(NULL, gfx::Rect(viewport_size_)); gfx 29 content/renderer/gpu/compositor_software_output_device.h virtual void Resize(const gfx::Size& size) OVERRIDE; gfx 31 content/renderer/gpu/compositor_software_output_device.h virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect) OVERRIDE; gfx 58 content/renderer/gpu/compositor_software_output_device.h void SetParent(Buffer* parent, const gfx::Rect& damage); gfx 67 content/renderer/gpu/compositor_software_output_device.h gfx::Rect damage_; gfx 55 content/renderer/gpu/gpu_benchmarking_extension.cc if (gfx::PNGCodec::EncodeBGRASkBitmap(bm, false, &vector)) { gfx 488 content/renderer/gpu/gpu_benchmarking_extension.cc gfx::Point anchor; gfx 502 content/renderer/gpu/gpu_benchmarking_extension.cc gfx::Vector2d distance; gfx 567 content/renderer/gpu/gpu_benchmarking_extension.cc gfx::Point start; gfx 581 content/renderer/gpu/gpu_benchmarking_extension.cc gfx::Vector2d distance; gfx 582 content/renderer/gpu/gpu_benchmarking_extension.cc gfx::Vector2d overscroll; gfx 737 content/renderer/gpu/gpu_benchmarking_extension.cc const gfx::Size& size, gfx 121 content/renderer/gpu/mailbox_output_surface.cc void MailboxOutputSurface::Reshape(const gfx::Size& size, float scale_factor) { gfx 38 content/renderer/gpu/mailbox_output_surface.h virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE; gfx 54 content/renderer/gpu/mailbox_output_surface.h const gfx::Size size) gfx 59 content/renderer/gpu/mailbox_output_surface.h gfx::Size size; gfx 118 content/renderer/gpu/render_widget_compositor.cc settings.default_tile_size = gfx::Size(default_tile_width, gfx 134 content/renderer/gpu/render_widget_compositor.cc settings.max_untiled_layer_size = gfx::Size(max_untiled_layer_width, gfx 364 content/renderer/gpu/render_widget_compositor.cc void RenderWidgetCompositor::SetNeedsRedrawRect(gfx::Rect damage_rect) { gfx 486 content/renderer/gpu/render_widget_compositor.cc gfx::Vector2d(destination.x, destination.y), gfx 596 content/renderer/gpu/render_widget_compositor.cc const gfx::Vector2d& scroll_delta, gfx 56 content/renderer/gpu/render_widget_compositor.h void SetNeedsRedrawRect(gfx::Rect damage_rect); gfx 122 content/renderer/gpu/render_widget_compositor.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 13 content/renderer/gpu/stream_texture_host_android.h namespace gfx { gfx 57 content/renderer/image_loading_helper.cc std::vector<gfx::Size>* original_image_sizes) { gfx 83 content/renderer/image_loading_helper.cc original_image_sizes->push_back(gfx::Size(image.width(), image.height())); gfx 93 content/renderer/image_loading_helper.cc gfx::Size(min_image->width(), min_image->height())); gfx 112 content/renderer/image_loading_helper.cc std::vector<gfx::Size> result_original_image_sizes; gfx 118 content/renderer/image_loading_helper.cc gfx::Size(data_image.width(), data_image.height())); gfx 157 content/renderer/image_loading_helper.cc std::vector<gfx::Size> result_original_image_sizes; gfx 184 content/renderer/image_loading_helper.cc ImageDecoder decoder(gfx::Size(gfx::kFaviconSize, gfx::kFaviconSize)); gfx 286 content/renderer/input/input_event_filter_unittest.cc gfx::Point(), gfx::Point())); gfx 287 content/renderer/input/input_event_filter_unittest.cc messages.push_back(InputMsg_MoveCaret(kTestRoutingID, gfx::Point())); gfx 136 content/renderer/input/input_handler_proxy.cc gfx::Point(wheel_event.x, wheel_event.y), cc::InputHandler::Wheel); gfx 148 content/renderer/input/input_handler_proxy.cc gfx::Point(wheel_event.x, wheel_event.y), gfx 149 content/renderer/input/input_handler_proxy.cc gfx::Vector2dF(-wheel_event.deltaX, -wheel_event.deltaY)); gfx 171 content/renderer/input/input_handler_proxy.cc gfx::Point(gesture_event.x, gesture_event.y), gfx 196 content/renderer/input/input_handler_proxy.cc gfx::Point(gesture_event.x, gesture_event.y), gfx 197 content/renderer/input/input_handler_proxy.cc gfx::Vector2dF(-gesture_event.data.scrollUpdate.deltaX, gfx 228 content/renderer/input/input_handler_proxy.cc gfx::Point(gesture_event.x, gesture_event.y)); gfx 246 content/renderer/input/input_handler_proxy.cc gfx::Point(touch_event.touches[i].position.x, gfx 261 content/renderer/input/input_handler_proxy.cc input_handler_->MouseMoveAt(gfx::Point(mouse_event.x, mouse_event.y)); gfx 274 content/renderer/input/input_handler_proxy.cc gfx::Point(gesture_event.x, gesture_event.y), gfx 308 content/renderer/input/input_handler_proxy.cc InSecondsF(gfx::FrameTime::Now()), gfx 381 content/renderer/input/input_handler_proxy.cc const gfx::Vector2dF& accumulated_overscroll, gfx 382 content/renderer/input/input_handler_proxy.cc const gfx::Vector2dF& latest_overscroll_delta) { gfx 422 content/renderer/input/input_handler_proxy.cc current_fling_velocity_ = gfx::Vector2dF(); gfx 468 content/renderer/input/input_handler_proxy.cc static gfx::Vector2dF ToClientScrollIncrement(const WebFloatSize& increment) { gfx 469 content/renderer/input/input_handler_proxy.cc return gfx::Vector2dF(-increment.width, -increment.height); gfx 49 content/renderer/input/input_handler_proxy.h virtual void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll, gfx 50 content/renderer/input/input_handler_proxy.h const gfx::Vector2dF& latest_overscroll_delta) gfx 94 content/renderer/input/input_handler_proxy.h gfx::Vector2dF current_fling_velocity_; gfx 42 content/renderer/input/input_handler_proxy_unittest.cc void(float magnify_delta, const gfx::Point& anchor)); gfx 48 content/renderer/input/input_handler_proxy_unittest.cc ScrollStatus(const gfx::Point& viewport_point, gfx 51 content/renderer/input/input_handler_proxy_unittest.cc bool(const gfx::Point& viewport_point, gfx 52 content/renderer/input/input_handler_proxy_unittest.cc const gfx::Vector2dF& scroll_delta)); gfx 54 content/renderer/input/input_handler_proxy_unittest.cc bool(const gfx::Point& viewport_point, gfx 66 content/renderer/input/input_handler_proxy_unittest.cc virtual void StartPageScaleAnimation(const gfx::Vector2d& target_offset, gfx 71 content/renderer/input/input_handler_proxy_unittest.cc virtual void MouseMoveAt(const gfx::Point& mouse_position) OVERRIDE {} gfx 73 content/renderer/input/input_handler_proxy_unittest.cc MOCK_METHOD1(HaveTouchEventHandlersAt, bool(const gfx::Point& point)); gfx 222 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Gt(0)))) gfx 235 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Gt(0)))) gfx 308 content/renderer/input/input_handler_proxy_unittest.cc EXPECT_CALL(mock_input_handler_, PinchGestureUpdate(1.5, gfx::Point(7, 13))); gfx 317 content/renderer/input/input_handler_proxy_unittest.cc EXPECT_CALL(mock_input_handler_, PinchGestureUpdate(.5, gfx::Point(9, 6))); gfx 359 content/renderer/input/input_handler_proxy_unittest.cc EXPECT_CALL(mock_input_handler_, PinchGestureUpdate(1.5, gfx::Point(7, 13))); gfx 369 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Gt(0)))) gfx 379 content/renderer/input/input_handler_proxy_unittest.cc EXPECT_CALL(mock_input_handler_, PinchGestureUpdate(.5, gfx::Point(9, 6))); gfx 517 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::x, testing::Lt(0)))) gfx 625 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::x, testing::Lt(0)))) gfx 731 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Gt(0)))) gfx 908 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::x, testing::Lt(0)))) gfx 965 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::x, testing::Lt(0)))) gfx 1036 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::x, testing::Lt(0)))) gfx 1082 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Lt(0)))) gfx 1090 content/renderer/input/input_handler_proxy_unittest.cc gfx::Vector2dF accumulated_overscroll(0, 100); gfx 1091 content/renderer/input/input_handler_proxy_unittest.cc gfx::Vector2dF latest_overscroll_delta(0, 10); gfx 1100 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Gt(0)))))); gfx 1110 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Eq(0)))) gfx 1152 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Lt(0)))) gfx 1159 content/renderer/input/input_handler_proxy_unittest.cc gfx::Vector2dF accumulated_overscroll(0, 100); gfx 1160 content/renderer/input/input_handler_proxy_unittest.cc gfx::Vector2dF latest_overscroll_delta(0, 100); gfx 1169 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Gt(0)))))); gfx 1177 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::y, testing::Eq(0)))) gfx 1184 content/renderer/input/input_handler_proxy_unittest.cc accumulated_overscroll = gfx::Vector2dF(100, 100); gfx 1185 content/renderer/input/input_handler_proxy_unittest.cc latest_overscroll_delta = gfx::Vector2dF(100, 0); gfx 1194 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Vector2dF::x, testing::Gt(0)))))); gfx 1216 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Point::x, testing::Gt(0)))) gfx 1220 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Point::x, testing::Lt(0)))) gfx 1241 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Point::x, testing::Eq(0)))) gfx 1245 content/renderer/input/input_handler_proxy_unittest.cc testing::Property(&gfx::Point::x, testing::Gt(0)))) gfx 400 content/renderer/media/android/media_source_delegate.cc gfx::Size size = video_stream_->video_decoder_config().coded_size(); gfx 415 content/renderer/media/android/renderer_media_player_manager.cc const gfx::RectF& geometry) { gfx 421 content/renderer/media/android/renderer_media_player_manager.cc std::map<int, gfx::RectF> geometry_change; gfx 423 content/renderer/media/android/renderer_media_player_manager.cc for (std::map<int, gfx::RectF>::iterator it = geometry_change.begin(); gfx 432 content/renderer/media/android/renderer_media_player_manager.cc std::map<int, gfx::RectF>* changes) { gfx 25 content/renderer/media/android/renderer_media_player_manager.h namespace gfx { gfx 92 content/renderer/media/android/renderer_media_player_manager.h void RequestExternalSurface(int player_id, const gfx::RectF& geometry); gfx 148 content/renderer/media/android/renderer_media_player_manager.h void RetrieveGeometryChanges(std::map<int, gfx::RectF>* changes); gfx 68 content/renderer/media/android/stream_texture_factory.h const gfx::Size& size) = 0; gfx 129 content/renderer/media/android/stream_texture_factory_impl.cc const gfx::Size& size) { gfx 38 content/renderer/media/android/stream_texture_factory_impl.h const gfx::Size& size) OVERRIDE; gfx 52 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc scoped_refptr<gfx::SurfaceTexture> surface_texture_; gfx 164 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc scoped_refptr<gfx::SurfaceTexture> surface_texture = gfx 193 content/renderer/media/android/stream_texture_factory_synchronous_impl.cc const gfx::Size& size) {} gfx 12 content/renderer/media/android/stream_texture_factory_synchronous_impl.h namespace gfx { gfx 29 content/renderer/media/android/stream_texture_factory_synchronous_impl.h virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture( gfx 52 content/renderer/media/android/stream_texture_factory_synchronous_impl.h const gfx::Size& size) OVERRIDE; gfx 132 content/renderer/media/android/webmediaplayer_android.cc current_frame_ = VideoFrame::CreateBlackFrame(gfx::Size(1, 1)); gfx 475 content/renderer/media/android/webmediaplayer_android.cc stream_id_, gfx::Size(natural_size_.width, natural_size_.height)); gfx 827 content/renderer/media/android/webmediaplayer_android.cc last_computed_rect_ = gfx::RectF(); gfx 894 content/renderer/media/android/webmediaplayer_android.cc gfx::Size video_size_css_px = video_weblayer_->bounds(); gfx 897 content/renderer/media/android/webmediaplayer_android.cc gfx::Size canvas_size( gfx 1001 content/renderer/media/android/webmediaplayer_android.cc gfx::Rect(canvas_size) /* visible_rect */, gfx 1038 content/renderer/media/android/webmediaplayer_android.cc gfx::Rect(natural_size_), gfx 1074 content/renderer/media/android/webmediaplayer_android.cc gfx::Size natural_size = video_frame->natural_size(); gfx 1149 content/renderer/media/android/webmediaplayer_android.cc gfx::RectF rect(layer->bounds()); gfx 1164 content/renderer/media/android/webmediaplayer_android.cc const gfx::RectF WebMediaPlayerAndroid::GetBoundaryRectangle() { gfx 202 content/renderer/media/android/webmediaplayer_android.h const gfx::RectF GetBoundaryRectangle(); gfx 395 content/renderer/media/android/webmediaplayer_android.h gfx::RectF last_computed_rect_; gfx 71 content/renderer/media/media_stream_video_capturer_source.cc gfx::Size(width, height), gfx 210 content/renderer/media/media_stream_video_capturer_source.cc gfx::Size(kVideoFormats[i].width, kVideoFormats[i].height), gfx 262 content/renderer/media/media_stream_video_source.cc gfx::Size* frame_output_size) { gfx 416 content/renderer/media/media_stream_video_source.cc gfx::Rect rect(horiz_crop, vert_crop, visible_width, visible_height); gfx 462 content/renderer/media/media_stream_video_source.cc gfx::Size* frame_output_size, gfx 147 content/renderer/media/media_stream_video_source.h gfx::Size* frame_output_size, gfx 159 content/renderer/media/media_stream_video_source.h gfx::Size frame_output_size_; gfx 29 content/renderer/media/media_stream_video_source_unittest.cc gfx::Size(1280, 720), 30, media::PIXEL_FORMAT_I420)); gfx 31 content/renderer/media/media_stream_video_source_unittest.cc gfx::Size(640, 480), 30, media::PIXEL_FORMAT_I420)); gfx 33 content/renderer/media/media_stream_video_source_unittest.cc gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420)); gfx 35 content/renderer/media/media_stream_video_source_unittest.cc gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420)); gfx 111 content/renderer/media/media_stream_video_source_unittest.cc media::VideoFrame::CreateBlackFrame(gfx::Size(capture_width, gfx 257 content/renderer/media/media_stream_video_source_unittest.cc gfx::Size(MediaStreamVideoSource::kDefaultWidth, gfx 295 content/renderer/media/media_stream_video_source_unittest.cc gfx::Size(480, 270), 30, media::PIXEL_FORMAT_I420)); gfx 332 content/renderer/media/media_stream_video_source_unittest.cc gfx::Size(MediaStreamVideoSource::kDefaultWidth, gfx 65 content/renderer/media/media_stream_video_track_unittest.cc gfx::Size(MediaStreamVideoSource::kDefaultWidth, gfx 86 content/renderer/media/media_stream_video_track_unittest.cc gfx::Size(MediaStreamVideoSource::kDefaultWidth, gfx 19 content/renderer/media/mock_media_stream_video_source.cc gfx::Size(MediaStreamVideoSource::kDefaultWidth, gfx 88 content/renderer/media/pepper_platform_video_decoder.cc const gfx::Size& dimensions, gfx 38 content/renderer/media/pepper_platform_video_decoder.h const gfx::Size& dimensions, gfx 100 content/renderer/media/renderer_gpu_video_accelerator_factories.cc const gfx::Size& size, gfx 177 content/renderer/media/renderer_gpu_video_accelerator_factories.cc const gfx::Rect& visible_rect, gfx 54 content/renderer/media/renderer_gpu_video_accelerator_factories.h const gfx::Size& size, gfx 61 content/renderer/media/renderer_gpu_video_accelerator_factories.h const gfx::Rect& visible_rect, gfx 213 content/renderer/media/rtc_video_decoder.cc gfx::Size prev_frame_size = frame_size_; gfx 298 content/renderer/media/rtc_video_decoder.cc const gfx::Size& size, gfx 399 content/renderer/media/rtc_video_decoder.cc const gfx::Rect& visible_rect, gfx 409 content/renderer/media/rtc_video_decoder.cc const gfx::Rect& visible_rect, gfx 430 content/renderer/media/rtc_video_decoder.cc gfx::Rect visible_rect(width, height); gfx 83 content/renderer/media/rtc_video_decoder.h const gfx::Size& size, gfx 210 content/renderer/media/rtc_video_decoder.h gfx::Size frame_size_; gfx 53 content/renderer/media/rtc_video_encoder.cc void CreateAndInitializeVEA(const gfx::Size& input_visible_size, gfx 80 content/renderer/media/rtc_video_encoder.cc const gfx::Size& input_coded_size, gfx 140 content/renderer/media/rtc_video_encoder.cc gfx::Size input_frame_coded_size_; gfx 141 content/renderer/media/rtc_video_encoder.cc gfx::Size input_visible_size_; gfx 178 content/renderer/media/rtc_video_encoder.cc const gfx::Size& input_visible_size, gfx 288 content/renderer/media/rtc_video_encoder.cc const gfx::Size& input_coded_size, gfx 443 content/renderer/media/rtc_video_encoder.cc gfx::Rect(input_visible_size_), gfx 549 content/renderer/media/rtc_video_encoder.cc gfx::Size(codec_settings->width, codec_settings->height), gfx 68 content/renderer/media/rtc_video_renderer.h gfx::Size frame_size_; gfx 279 content/renderer/media/video_capture_impl.cc gfx::Rect(last_frame_format_.frame_size), gfx 323 content/renderer/media/video_capture_impl.cc gfx::Rect(last_frame_format_.frame_size), gfx 77 content/renderer/media/video_capture_impl_manager_unittest.cc gfx::Size(176, 144), 30, media::PIXEL_FORMAT_I420); gfx 103 content/renderer/media/video_capture_impl_unittest.cc gfx::Size(176, 144), 30, media::PIXEL_FORMAT_I420); gfx 106 content/renderer/media/video_capture_impl_unittest.cc gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420); gfx 95 content/renderer/media/video_capture_message_filter_unittest.cc gfx::Size(234, 512), 30, media::PIXEL_FORMAT_I420); gfx 111 content/renderer/media/video_capture_message_filter_unittest.cc gfx::Size(234, 512), 30, media::PIXEL_FORMAT_TEXTURE); gfx 20 content/renderer/media/video_frame_compositor.cc const base::Callback<void(gfx::Size)>& natural_size_changed_cb) gfx 97 content/renderer/media/video_frame_compositor.cc base::Callback<void(gfx::Size)>natural_size_changed_cb_; gfx 111 content/renderer/media/video_frame_compositor.cc const base::Callback<void(gfx::Size)>& natural_size_changed_cb) gfx 46 content/renderer/media/video_frame_compositor.h const base::Callback<void(gfx::Size)>& natural_size_changed_cb); gfx 42 content/renderer/media/video_frame_compositor_unittest.cc gfx::Size natural_size() { return natural_size_; } gfx 52 content/renderer/media/video_frame_compositor_unittest.cc void NaturalSizeChanged(gfx::Size natural_size) { gfx 61 content/renderer/media/video_frame_compositor_unittest.cc gfx::Size natural_size_; gfx 86 content/renderer/media/video_frame_compositor_unittest.cc gfx::Size initial_size(8, 8); gfx 90 content/renderer/media/video_frame_compositor_unittest.cc gfx::Size larger_size(16, 16); gfx 549 content/renderer/media/webmediaplayer_impl.cc gfx::Rect gfx_rect(rect); gfx 1278 content/renderer/media/webmediaplayer_impl.cc void WebMediaPlayerImpl::OnNaturalSizeChange(gfx::Size size) { gfx 229 content/renderer/media/webmediaplayer_impl.h void OnNaturalSizeChange(gfx::Size size); gfx 261 content/renderer/media/webmediaplayer_ms.cc gfx::Size size; gfx 326 content/renderer/media/webmediaplayer_ms.cc gfx::RectF dest_rect(rect.x, rect.y, rect.width, rect.height); gfx 81 content/renderer/media/webrtc/video_destination_handler.cc const gfx::Size frame_size(bitmap->width(), bitmap->height()); gfx 108 content/renderer/media/webrtc/video_destination_handler.cc gfx::Rect(frame_size), frame_size, timestamp); gfx 35 content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc gfx::Size coded_size(capture_width, capture_height); gfx 36 content/renderer/media/webrtc/webrtc_video_capturer_adapter_unittest.cc gfx::Rect view_rect(horiz_crop, vert_crop, visible_width, visible_height); gfx 58 content/renderer/media/webrtc/webrtc_video_sink_adapter.cc gfx::Size size(frame->GetWidth(), frame->GetHeight()); gfx 60 content/renderer/media/webrtc/webrtc_video_sink_adapter.cc media::VideoFrame::YV12, size, gfx::Rect(size), size, timestamp); gfx 217 content/renderer/npapi/webplugin_delegate_proxy.cc window_(gfx::kNullPluginWindow), gfx 573 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::UpdateGeometry(const gfx::Rect& window_rect, gfx 574 content/renderer/npapi/webplugin_delegate_proxy.cc const gfx::Rect& clip_rect) { gfx 623 content/renderer/npapi/webplugin_delegate_proxy.cc transport_store_painted_ = gfx::Rect(); gfx 624 content/renderer/npapi/webplugin_delegate_proxy.cc front_buffer_diff_ = gfx::Rect(); gfx 627 content/renderer/npapi/webplugin_delegate_proxy.cc static size_t BitmapSizeForPluginRect(const gfx::Rect& plugin_rect) { gfx 675 content/renderer/npapi/webplugin_delegate_proxy.cc const gfx::Rect& damaged_rect) { gfx 678 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::Rect rect = gfx::IntersectRects(damaged_rect, plugin_rect_); gfx 699 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::Rect offset_rect = rect; gfx 720 content/renderer/npapi/webplugin_delegate_proxy.cc SkIRect src_rect = gfx::RectToSkIRect(offset_rect); gfx 723 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::RectToSkRect(rect), gfx 846 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::Rect window_frame = render_view_->rootWindowRect(); gfx 847 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::Rect view_frame = render_view_->windowRect(); gfx 860 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::WindowFrameChanged(gfx::Rect window_frame, gfx 861 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::Rect view_frame) { gfx 884 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::OnSetWindow(gfx::PluginWindowHandle window) { gfx 898 content/renderer/npapi/webplugin_delegate_proxy.cc window_ = gfx::kNullPluginWindow; gfx 904 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::NativeViewId dummy_activation_window) { gfx 922 content/renderer/npapi/webplugin_delegate_proxy.cc const gfx::Rect& caret_rect) { gfx 948 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::OnInvalidateRect(const gfx::Rect& rect) { gfx 954 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::Rect clipped_rect = gfx 955 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::IntersectRects(rect, gfx::Rect(plugin_rect_.size())); gfx 1018 content/renderer/npapi/webplugin_delegate_proxy.cc const gfx::Rect& rect) { gfx 1046 content/renderer/npapi/webplugin_delegate_proxy.cc const gfx::Rect& rect, gfx 1162 content/renderer/npapi/webplugin_delegate_proxy.cc gfx::PluginWindowHandle WebPluginDelegateProxy::GetPluginWindowHandle() { gfx 1194 content/renderer/npapi/webplugin_delegate_proxy.cc OnSetWindow(gfx::kNullPluginWindow); gfx 64 content/renderer/npapi/webplugin_delegate_proxy.h virtual void UpdateGeometry(const gfx::Rect& window_rect, gfx 65 content/renderer/npapi/webplugin_delegate_proxy.h const gfx::Rect& clip_rect) OVERRIDE; gfx 66 content/renderer/npapi/webplugin_delegate_proxy.h virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) OVERRIDE; gfx 99 content/renderer/npapi/webplugin_delegate_proxy.h virtual void WindowFrameChanged(gfx::Rect window_frame, gfx::Rect view_frame); gfx 144 content/renderer/npapi/webplugin_delegate_proxy.h gfx::PluginWindowHandle GetPluginWindowHandle(); gfx 161 content/renderer/npapi/webplugin_delegate_proxy.h void OnSetWindow(gfx::PluginWindowHandle window); gfx 166 content/renderer/npapi/webplugin_delegate_proxy.h void OnInvalidateRect(const gfx::Rect& rect); gfx 196 content/renderer/npapi/webplugin_delegate_proxy.h gfx::NativeViewId dummy_activation_window); gfx 197 content/renderer/npapi/webplugin_delegate_proxy.h void OnNotifyIMEStatus(const int input_mode, const gfx::Rect& caret_rect); gfx 204 content/renderer/npapi/webplugin_delegate_proxy.h void CopyFromBackBufferToFrontBuffer(const gfx::Rect& rect); gfx 208 content/renderer/npapi/webplugin_delegate_proxy.h void UpdateFrontBuffer(const gfx::Rect& rect, bool allow_buffer_flipping); gfx 266 content/renderer/npapi/webplugin_delegate_proxy.h gfx::NativeViewId dummy_activation_window_; gfx 268 content/renderer/npapi/webplugin_delegate_proxy.h gfx::PluginWindowHandle window_; gfx 274 content/renderer/npapi/webplugin_delegate_proxy.h gfx::Rect plugin_rect_; gfx 275 content/renderer/npapi/webplugin_delegate_proxy.h gfx::Rect clip_rect_; gfx 301 content/renderer/npapi/webplugin_delegate_proxy.h gfx::Rect transport_store_painted_; gfx 305 content/renderer/npapi/webplugin_delegate_proxy.h gfx::Rect front_buffer_diff_; gfx 394 content/renderer/npapi/webplugin_impl.cc move.window_rect = gfx::Rect(); gfx 395 content/renderer/npapi/webplugin_impl.cc move.clip_rect = gfx::Rect(); gfx 534 content/renderer/npapi/webplugin_impl.cc window_(gfx::kNullPluginWindow), gfx 565 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::SetWindow(gfx::PluginWindowHandle window) { gfx 600 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::WillDestroyWindow(gfx::PluginWindowHandle window) { gfx 602 content/renderer/npapi/webplugin_impl.cc window_ = gfx::kNullPluginWindow; gfx 837 content/renderer/npapi/webplugin_impl.cc gfx::GpuPreference gpu_preference) { gfx 872 content/renderer/npapi/webplugin_impl.cc gfx::Size(next_io_surface_width_, next_io_surface_height_)); gfx 891 content/renderer/npapi/webplugin_impl.cc void WebPluginImpl::InvalidateRect(const gfx::Rect& rect) { gfx 100 content/renderer/npapi/webplugin_impl.h virtual void SetWindow(gfx::PluginWindowHandle window) OVERRIDE; gfx 102 content/renderer/npapi/webplugin_impl.h virtual void WillDestroyWindow(gfx::PluginWindowHandle window) OVERRIDE; gfx 105 content/renderer/npapi/webplugin_impl.h virtual void InvalidateRect(const gfx::Rect& rect) OVERRIDE; gfx 136 content/renderer/npapi/webplugin_impl.h gfx::NativeViewId dummy_activation_window) { } gfx 142 content/renderer/npapi/webplugin_impl.h gfx::GpuPreference gpu_preference) OVERRIDE; gfx 199 content/renderer/npapi/webplugin_impl.h gfx::Rect GetWindowClipRect(const gfx::Rect& rect); gfx 276 content/renderer/npapi/webplugin_impl.h gfx::PluginWindowHandle window_; gfx 47 content/renderer/paint_aggregator.cc gfx::Rect PaintAggregator::PendingUpdate::GetScrollDamage() const { gfx 51 content/renderer/paint_aggregator.cc gfx::Rect damaged_rect; gfx 80 content/renderer/paint_aggregator.cc return gfx::IntersectRects(scroll_rect, damaged_rect); gfx 83 content/renderer/paint_aggregator.cc gfx::Rect PaintAggregator::PendingUpdate::GetPaintBounds() const { gfx 84 content/renderer/paint_aggregator.cc gfx::Rect bounds; gfx 104 content/renderer/paint_aggregator.cc gfx::Rect union_rect; gfx 117 content/renderer/paint_aggregator.cc void PaintAggregator::InvalidateRect(const gfx::Rect& rect) { gfx 120 content/renderer/paint_aggregator.cc const gfx::Rect& existing_rect = update_.paint_rects[i]; gfx 125 content/renderer/paint_aggregator.cc gfx::Rect combined_rect = gfx::UnionRects(existing_rect, rect); gfx 143 content/renderer/paint_aggregator.cc gfx::SubtractRects(rect, update_.GetScrollDamage()); gfx 161 content/renderer/paint_aggregator.cc void PaintAggregator::ScrollRect(const gfx::Vector2d& delta, gfx 162 content/renderer/paint_aggregator.cc const gfx::Rect& clip_rect) { gfx 190 content/renderer/paint_aggregator.cc update_.scroll_rect = gfx::Rect(); gfx 211 content/renderer/paint_aggregator.cc if (ShouldInvalidateScrollRect(gfx::Rect())) gfx 215 content/renderer/paint_aggregator.cc gfx::Rect PaintAggregator::ScrollPaintRect(const gfx::Rect& paint_rect, gfx 216 content/renderer/paint_aggregator.cc const gfx::Vector2d& delta) const { gfx 217 content/renderer/paint_aggregator.cc gfx::Rect result = paint_rect + delta; gfx 225 content/renderer/paint_aggregator.cc bool PaintAggregator::ShouldInvalidateScrollRect(const gfx::Rect& rect) const { gfx 240 content/renderer/paint_aggregator.cc const gfx::Rect& existing_rect = update_.paint_rects[i]; gfx 252 content/renderer/paint_aggregator.cc gfx::Rect scroll_rect = update_.scroll_rect; gfx 253 content/renderer/paint_aggregator.cc update_.scroll_rect = gfx::Rect(); gfx 254 content/renderer/paint_aggregator.cc update_.scroll_delta = gfx::Vector2d(); gfx 269 content/renderer/paint_aggregator.cc gfx::Rect bounds = update_.GetPaintBounds(); gfx 273 content/renderer/paint_aggregator.cc gfx::Rect inner, outer; gfx 275 content/renderer/paint_aggregator.cc const gfx::Rect& existing_rect = update_.paint_rects[i]; gfx 34 content/renderer/paint_aggregator.h gfx::Rect GetScrollDamage() const; gfx 37 content/renderer/paint_aggregator.h gfx::Rect GetPaintBounds() const; gfx 39 content/renderer/paint_aggregator.h gfx::Vector2d scroll_delta; gfx 40 content/renderer/paint_aggregator.h gfx::Rect scroll_rect; gfx 41 content/renderer/paint_aggregator.h std::vector<gfx::Rect> paint_rects; gfx 53 content/renderer/paint_aggregator.h void InvalidateRect(const gfx::Rect& rect); gfx 56 content/renderer/paint_aggregator.h void ScrollRect(const gfx::Vector2d& delta, const gfx::Rect& clip_rect); gfx 59 content/renderer/paint_aggregator.h gfx::Rect ScrollPaintRect(const gfx::Rect& paint_rect, gfx 60 content/renderer/paint_aggregator.h const gfx::Vector2d& delta) const; gfx 61 content/renderer/paint_aggregator.h bool ShouldInvalidateScrollRect(const gfx::Rect& rect) const; gfx 18 content/renderer/paint_aggregator_unittest.cc gfx::Rect rect(2, 4, 10, 16); gfx 34 content/renderer/paint_aggregator_unittest.cc gfx::Rect r1(2, 4, 2, 40); gfx 35 content/renderer/paint_aggregator_unittest.cc gfx::Rect r2(4, 2, 40, 2); gfx 40 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_bounds = gfx::UnionRects(r1, r2); gfx 58 content/renderer/paint_aggregator_unittest.cc gfx::Rect r1(2, 4, 2, 1000); gfx 59 content/renderer/paint_aggregator_unittest.cc gfx::Rect r2(5, 2, 2, 1000); gfx 64 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_bounds = gfx::UnionRects(r1, r2); gfx 79 content/renderer/paint_aggregator_unittest.cc gfx::Rect rect(1, 2, 3, 4); gfx 80 content/renderer/paint_aggregator_unittest.cc gfx::Vector2d delta(1, 0); gfx 95 content/renderer/paint_aggregator_unittest.cc gfx::Rect resulting_damage = update.GetScrollDamage(); gfx 96 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_damage(1, 2, 1, 4); gfx 103 content/renderer/paint_aggregator_unittest.cc gfx::Rect rect(1, 2, 3, 4); gfx 104 content/renderer/paint_aggregator_unittest.cc gfx::Vector2d delta1(1, 0); gfx 105 content/renderer/paint_aggregator_unittest.cc gfx::Vector2d delta2(1, 0); gfx 118 content/renderer/paint_aggregator_unittest.cc gfx::Vector2d expected_delta = delta1 + delta2; gfx 121 content/renderer/paint_aggregator_unittest.cc gfx::Rect resulting_damage = update.GetScrollDamage(); gfx 122 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_damage(1, 2, 2, 4); gfx 132 content/renderer/paint_aggregator_unittest.cc gfx::Rect rect(1, 2, 3, 4); gfx 133 content/renderer/paint_aggregator_unittest.cc gfx::Vector2d delta1(1, 0); gfx 134 content/renderer/paint_aggregator_unittest.cc gfx::Vector2d delta2(-1, 0); gfx 147 content/renderer/paint_aggregator_unittest.cc gfx::Rect rect(1, 2, 3, 4); gfx 148 content/renderer/paint_aggregator_unittest.cc gfx::Vector2d delta(1, 1); gfx 164 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 165 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 167 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 2, 2); gfx 185 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 2, 2); gfx 188 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 189 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 208 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect1(4, 4, 2, 2); gfx 211 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 212 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 214 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect2(6, 4, 2, 2); gfx 217 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_paint_rect = paint_rect2; gfx 234 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 235 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(0, 1), scroll_rect); gfx 237 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(0, 0, 10, 9); // Repaint 90% gfx 253 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(0, 0, 10, 9); // Repaint 90% gfx 256 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 257 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(0, 1), scroll_rect); gfx 272 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 10, 2); gfx 275 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 276 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 278 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_paint_rect = gfx::UnionRects(scroll_rect, paint_rect); gfx 293 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 294 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 296 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 10, 2); gfx 299 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_paint_rect = gfx::UnionRects(scroll_rect, paint_rect); gfx 314 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 10, 2); gfx 317 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 2, 10); gfx 318 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 334 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 2, 10); gfx 335 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 337 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 10, 2); gfx 354 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 6, 6); gfx 357 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 358 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(2, 0), scroll_rect); gfx 361 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_paint_rect(6, 4, 4, 6); gfx 377 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(4, 4, 6, 6); gfx 380 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 381 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(6, 0), scroll_rect); gfx 396 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 397 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(4, 0), scroll_rect); gfx 399 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(2, 0, 4, 10); gfx 402 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_scroll_damage(0, 0, 4, 10); gfx 403 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_paint_rect(4, 0, 2, 10); gfx 420 content/renderer/paint_aggregator_unittest.cc gfx::Rect scroll_rect(0, 0, 10, 10); gfx 421 content/renderer/paint_aggregator_unittest.cc greg.ScrollRect(gfx::Vector2d(4, 0), scroll_rect); gfx 423 content/renderer/paint_aggregator_unittest.cc gfx::Rect paint_rect(2, 0, 2, 10); gfx 426 content/renderer/paint_aggregator_unittest.cc gfx::Rect expected_scroll_damage(0, 0, 4, 10); gfx 477 content/renderer/pepper/content_decryptor_delegate.cc natural_size_ = gfx::Size(); gfx 658 content/renderer/pepper/content_decryptor_delegate.cc natural_size_ = gfx::Size(); gfx 800 content/renderer/pepper/content_decryptor_delegate.cc gfx::Size frame_size(frame_info->width, frame_info->height); gfx 807 content/renderer/pepper/content_decryptor_delegate.cc gfx::Rect(frame_size), gfx 191 content/renderer/pepper/content_decryptor_delegate.h gfx::Size natural_size_; gfx 38 content/renderer/pepper/fake_pepper_plugin_instance.cc PP_Resource FakePepperPluginInstance::CreateImage(gfx::ImageSkia* source_image, gfx 63 content/renderer/pepper/fake_pepper_plugin_instance.cc bool FakePepperPluginInstance::IsRectTopmost(const gfx::Rect& rect) { gfx 24 content/renderer/pepper/fake_pepper_plugin_instance.h virtual PP_Resource CreateImage(gfx::ImageSkia* source_image, gfx 35 content/renderer/pepper/fake_pepper_plugin_instance.h virtual bool IsRectTopmost(const gfx::Rect& rect) OVERRIDE; gfx 20 content/renderer/pepper/gfx_conversion.h inline gfx::Point PP_ToGfxPoint(const PP_Point& p) { gfx 21 content/renderer/pepper/gfx_conversion.h return gfx::Point(p.x, p.y); gfx 24 content/renderer/pepper/gfx_conversion.h inline PP_Point PP_FromGfxPoint(const gfx::Point& p) { gfx 28 content/renderer/pepper/gfx_conversion.h inline gfx::Rect PP_ToGfxRect(const PP_Rect& r) { gfx 29 content/renderer/pepper/gfx_conversion.h return gfx::Rect(r.point.x, r.point.y, r.size.width, r.size.height); gfx 32 content/renderer/pepper/gfx_conversion.h inline PP_Rect PP_FromGfxRect(const gfx::Rect& r) { gfx 36 content/renderer/pepper/gfx_conversion.h inline gfx::Size PP_ToGfxSize(const PP_Size& s) { gfx 37 content/renderer/pepper/gfx_conversion.h return gfx::Size(s.width, s.height); gfx 40 content/renderer/pepper/gfx_conversion.h inline PP_Size PP_FromGfxSize(const gfx::Size& s) { gfx 69 content/renderer/pepper/mock_renderer_ppapi_host.cc gfx::Point MockRendererPpapiHost::PluginPointToRenderFrame( gfx 71 content/renderer/pepper/mock_renderer_ppapi_host.cc const gfx::Point& pt) const { gfx 72 content/renderer/pepper/mock_renderer_ppapi_host.cc return gfx::Point(); gfx 49 content/renderer/pepper/mock_renderer_ppapi_host.h virtual gfx::Point PluginPointToRenderFrame( gfx 51 content/renderer/pepper/mock_renderer_ppapi_host.h const gfx::Point& pt) const OVERRIDE; gfx 57 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect* dest) { gfx 60 content/renderer/pepper/pepper_graphics_2d_host.cc *dest = gfx::Rect(0, 0, image_width, image_height); gfx 77 content/renderer/pepper/pepper_graphics_2d_host.cc *dest = gfx::Rect(rect->point.x, rect->point.y, gfx 155 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect paint_src_rect; gfx 158 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect scroll_clip_rect; gfx 319 content/renderer/pepper/pepper_graphics_2d_host.cc new_instance->InvalidateRect(gfx::Rect()); gfx 332 content/renderer/pepper/pepper_graphics_2d_host.cc const gfx::Rect& plugin_rect, gfx 333 content/renderer/pepper/pepper_graphics_2d_host.cc const gfx::Rect& paint_rect) { gfx 338 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect invalidate_rect = plugin_rect; gfx 340 content/renderer/pepper/pepper_graphics_2d_host.cc SkRect sk_invalidate_rect = gfx::RectToSkRect(invalidate_rect); gfx 343 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Size pixel_image_size(image_data_->width(), image_data_->height()); gfx 344 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Size image_size = gfx::ToFlooredSize( gfx 345 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::ScaleSize(pixel_image_size, scale_)); gfx 360 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::RectToSkRect(gfx::Rect(plugin_rect.origin(), image_size)); gfx 424 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Size PepperGraphics2DHost::Size() const { gfx 426 content/renderer/pepper/pepper_graphics_2d_host.cc return gfx::Size(); gfx 427 content/renderer/pepper/pepper_graphics_2d_host.cc return gfx::Size(image_data_->width(), image_data_->height()); gfx 577 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Size pixel_image_size(image_data_->width(), image_data_->height()); gfx 604 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect op_rect; gfx 637 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Point scroll_delta(operation.scroll_dx, operation.scroll_dy); gfx 646 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect clip = PP_ToGfxRect(bound_instance_->view_data().clip_rect); gfx 651 content/renderer/pepper/pepper_graphics_2d_host.cc if (!gfx::IntersectRects(clip, op_rect).IsEmpty()) { gfx 686 content/renderer/pepper/pepper_graphics_2d_host.cc const gfx::Rect& src_rect, gfx 687 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect* invalidated_rect) { gfx 720 content/renderer/pepper/pepper_graphics_2d_host.cc void PepperGraphics2DHost::ExecuteScroll(const gfx::Rect& clip, gfx 722 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect* invalidated_rect) { gfx 723 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::ScrollCanvas(image_data_->GetCanvas(), gfx 724 content/renderer/pepper/pepper_graphics_2d_host.cc clip, gfx::Vector2d(dx, dy)); gfx 729 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect* invalidated_rect, gfx 751 content/renderer/pepper/pepper_graphics_2d_host.cc *invalidated_rect = gfx::Rect(0, 0, gfx 785 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect* op_rect, gfx 786 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Point* delta) { gfx 790 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect original_rect = *op_rect; gfx 794 content/renderer/pepper/pepper_graphics_2d_host.cc *op_rect = gfx::ToEnclosingRect(gfx::ScaleRect(*op_rect, scale)); gfx 796 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Point original_delta = *delta; gfx 798 content/renderer/pepper/pepper_graphics_2d_host.cc *delta = gfx::ToFlooredPoint(gfx::ScalePoint(*delta, scale)); gfx 800 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Rect inverse_scaled_rect = gfx 801 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::ToEnclosingRect(gfx::ScaleRect(*op_rect, inverse_scale)); gfx 804 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::Point inverse_scaled_point = gfx 805 content/renderer/pepper/pepper_graphics_2d_host.cc gfx::ToFlooredPoint(gfx::ScalePoint(*delta, inverse_scale)); gfx 26 content/renderer/pepper/pepper_graphics_2d_host.h namespace gfx { gfx 69 content/renderer/pepper/pepper_graphics_2d_host.h const gfx::Rect& plugin_rect, gfx 70 content/renderer/pepper/pepper_graphics_2d_host.h const gfx::Rect& paint_rect); gfx 86 content/renderer/pepper/pepper_graphics_2d_host.h gfx::Size Size() const; gfx 127 content/renderer/pepper/pepper_graphics_2d_host.h const gfx::Rect& src_rect, gfx 128 content/renderer/pepper/pepper_graphics_2d_host.h gfx::Rect* invalidated_rect); gfx 129 content/renderer/pepper/pepper_graphics_2d_host.h void ExecuteScroll(const gfx::Rect& clip, int dx, int dy, gfx 130 content/renderer/pepper/pepper_graphics_2d_host.h gfx::Rect* invalidated_rect); gfx 132 content/renderer/pepper/pepper_graphics_2d_host.h gfx::Rect* invalidated_rect, gfx 153 content/renderer/pepper/pepper_graphics_2d_host.h gfx::Rect* op_rect, gfx 154 content/renderer/pepper/pepper_graphics_2d_host.h gfx::Point* delta); gfx 28 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Rect* op_rect, gfx 29 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Point* delta) { gfx 71 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Rect plugin_rect(PP_ToGfxRect(renderer_view_data_.rect)); gfx 73 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Rect(0, 0, plugin_rect.width(), plugin_rect.height())); gfx 148 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Rect r1(tests[i].x1, tests[i].y1, tests[i].w1, tests[i].h1); gfx 149 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Rect r2(tests[i].x2, tests[i].y2, tests[i].w2, tests[i].h2); gfx 150 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Rect orig = r1; gfx 151 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc gfx::Point delta(tests[i].dx1, tests[i].dy1); gfx 156 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc EXPECT_EQ(delta, gfx::Point(tests[i].dx2, tests[i].dy2)); gfx 54 content/renderer/pepper/pepper_media_stream_video_track_host.cc gfx::Size GetTargetSize(const gfx::Size& source, gfx 55 content/renderer/pepper/pepper_media_stream_video_track_host.cc const gfx::Size& plugin) { gfx 56 content/renderer/pepper/pepper_media_stream_video_track_host.cc return gfx::Size(plugin.width() ? plugin.width() : source.width(), gfx 69 content/renderer/pepper/pepper_media_stream_video_track_host.cc const gfx::Size& dst_size, gfx 161 content/renderer/pepper/pepper_media_stream_video_track_host.cc gfx::Size size = GetTargetSize(source_frame_size_, plugin_frame_size_); gfx 214 content/renderer/pepper/pepper_media_stream_video_track_host.cc gfx::Size size = GetTargetSize(source_frame_size_, plugin_frame_size_); gfx 255 content/renderer/pepper/pepper_media_stream_video_track_host.cc gfx::Size new_size(attributes.width, attributes.height); gfx 61 content/renderer/pepper/pepper_media_stream_video_track_host.h gfx::Size source_frame_size_; gfx 64 content/renderer/pepper/pepper_media_stream_video_track_host.h gfx::Size plugin_frame_size_; gfx 46 content/renderer/pepper/pepper_platform_context_3d.cc gfx::GpuPreference gpu_preference = gfx::PreferDiscreteGpu; gfx 53 content/renderer/pepper/pepper_platform_context_3d.cc gfx::Size surface_size; gfx 72 content/renderer/pepper/pepper_platform_context_3d.cc gfx::PreferIntegratedGpu : gfx::PreferDiscreteGpu; gfx 675 content/renderer/pepper/pepper_plugin_instance_impl.cc const gfx::Rect& plugin_rect, gfx 676 content/renderer/pepper/pepper_plugin_instance_impl.cc const gfx::Rect& paint_rect) { gfx 691 content/renderer/pepper/pepper_plugin_instance_impl.cc void PepperPluginInstanceImpl::InvalidateRect(const gfx::Rect& rect) { gfx 717 content/renderer/pepper/pepper_plugin_instance_impl.cc const gfx::Rect& rect) { gfx 757 content/renderer/pepper/pepper_plugin_instance_impl.cc InvalidateRect(gfx::Rect()); gfx 1006 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Range* range) const { gfx 1022 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect PepperPluginInstanceImpl::GetCaretBounds() const { gfx 1025 content/renderer/pepper/pepper_plugin_instance_impl.cc return gfx::Rect(view_data_.rect.point.x, gfx 1035 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect caret(text_input_caret_); gfx 1127 content/renderer/pepper/pepper_plugin_instance_impl.cc const gfx::Rect& position, gfx 1128 content/renderer/pepper/pepper_plugin_instance_impl.cc const gfx::Rect& clip, gfx 1129 content/renderer/pepper/pepper_plugin_instance_impl.cc const std::vector<gfx::Rect>& cut_outs_rects) { gfx 1134 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect new_clip; gfx 1231 content/renderer/pepper/pepper_plugin_instance_impl.cc const gfx::Rect& paint_bounds, gfx 1233 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect* location, gfx 1234 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect* clip, gfx 1252 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Point plugin_origin = PP_ToGfxPoint(view_data_.rect.point); gfx 1253 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Vector2d plugin_offset = plugin_origin.OffsetFromOrigin(); gfx 1255 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect relative_paint_bounds(paint_bounds); gfx 1258 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect pixel_plugin_backing_store_rect( gfx 1261 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect plugin_backing_store_rect = gfx::ToEnclosedRect( gfx 1262 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::ScaleRect(pixel_plugin_backing_store_rect, scale)); gfx 1264 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect clip_page = PP_ToGfxRect(view_data_.clip_rect); gfx 1265 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Rect plugin_paint_rect = gfx 1266 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::IntersectRects(plugin_backing_store_rect, clip_page); gfx 1272 content/renderer/pepper/pepper_plugin_instance_impl.cc for (std::vector<gfx::Rect>::const_iterator iter = cut_outs_rects_.begin(); gfx 1316 content/renderer/pepper/pepper_plugin_instance_impl.cc const gfx::Point& point) { gfx 1521 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::SizeF graphics_2d_size_in_dip = gfx 1522 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::ScaleSize(bound_graphics_2d_platform_->Size(), gfx 1524 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Size plugin_size_in_dip(view_data_.rect.size.width, gfx 1528 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::PointF(0.0f, 0.0f), gfx 1529 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::PointF( gfx 1913 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::Size size_in_pixels; gfx 1932 content/renderer/pepper/pepper_plugin_instance_impl.cc double dynamic_scale = gfx::CalculatePageScale(dc, size_in_pixels.width(), gfx 1943 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::ScaleDC(dc, page_scale); gfx 2122 content/renderer/pepper/pepper_plugin_instance_impl.cc base::UTF8ToUTF16(input_event.character_text), gfx::Range()); gfx 2194 content/renderer/pepper/pepper_plugin_instance_impl.cc InvalidateRect(gfx::Rect()); gfx 2892 content/renderer/pepper/pepper_plugin_instance_impl.cc PP_Resource PepperPluginInstanceImpl::CreateImage(gfx::ImageSkia* source_image, gfx 2894 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::ImageSkiaRep image_skia_rep = source_image->GetRepresentation(scale); gfx 3014 content/renderer/pepper/pepper_plugin_instance_impl.cc bool PepperPluginInstanceImpl::IsRectTopmost(const gfx::Rect& rect) { gfx 3115 content/renderer/pepper/pepper_plugin_instance_impl.cc screen_size_for_fullscreen_ = gfx::Size(info.rect.width, info.rect.height); gfx 3138 content/renderer/pepper/pepper_plugin_instance_impl.cc screen_size_for_fullscreen_ = gfx::Size(); gfx 85 content/renderer/pepper/pepper_plugin_instance_impl.h namespace gfx { gfx 158 content/renderer/pepper/pepper_plugin_instance_impl.h const gfx::Rect& plugin_rect, gfx 159 content/renderer/pepper/pepper_plugin_instance_impl.h const gfx::Rect& paint_rect); gfx 165 content/renderer/pepper/pepper_plugin_instance_impl.h void InvalidateRect(const gfx::Rect& rect); gfx 170 content/renderer/pepper/pepper_plugin_instance_impl.h void ScrollRect(int dx, int dy, const gfx::Rect& rect); gfx 191 content/renderer/pepper/pepper_plugin_instance_impl.h void ViewChanged(const gfx::Rect& position, const gfx::Rect& clip, gfx 192 content/renderer/pepper/pepper_plugin_instance_impl.h const std::vector<gfx::Rect>& cut_outs_rects); gfx 206 content/renderer/pepper/pepper_plugin_instance_impl.h gfx::Rect GetCaretBounds() const; gfx 208 content/renderer/pepper/pepper_plugin_instance_impl.h void GetSurroundingText(base::string16* text, gfx::Range* range) const; gfx 228 content/renderer/pepper/pepper_plugin_instance_impl.h const gfx::Rect& paint_bounds, gfx 230 content/renderer/pepper/pepper_plugin_instance_impl.h gfx::Rect* dib_bounds, gfx 231 content/renderer/pepper/pepper_plugin_instance_impl.h gfx::Rect* clip, gfx 239 content/renderer/pepper/pepper_plugin_instance_impl.h base::string16 GetLinkAtPosition(const gfx::Point& point); gfx 358 content/renderer/pepper/pepper_plugin_instance_impl.h virtual PP_Resource CreateImage(gfx::ImageSkia* source_image, gfx 369 content/renderer/pepper/pepper_plugin_instance_impl.h virtual bool IsRectTopmost(const gfx::Rect& rect) OVERRIDE; gfx 784 content/renderer/pepper/pepper_plugin_instance_impl.h std::vector<gfx::Rect> cut_outs_rects_; gfx 813 content/renderer/pepper/pepper_plugin_instance_impl.h gfx::Size screen_size_for_fullscreen_; gfx 832 content/renderer/pepper/pepper_plugin_instance_impl.h gfx::Rect text_input_caret_; gfx 833 content/renderer/pepper/pepper_plugin_instance_impl.h gfx::Rect text_input_caret_bounds_; gfx 179 content/renderer/pepper/pepper_video_capture_host.cc const gfx::Size& resolution, gfx 189 content/renderer/pepper/pepper_video_capture_host.cc media::VideoFrame::I420, gfx::Size(info.width, info.height)); gfx 375 content/renderer/pepper/pepper_video_capture_host.cc gfx::Size(device_info.width, device_info.height), gfx 65 content/renderer/pepper/pepper_video_capture_host.h void AllocBuffers(const gfx::Size& resolution, gfx 91 content/renderer/pepper/pepper_video_capture_host.h gfx::Size alloc_size_; gfx 174 content/renderer/pepper/pepper_webplugin_impl.cc std::vector<gfx::Rect> cut_outs; gfx 99 content/renderer/pepper/pepper_webplugin_impl.h gfx::Rect plugin_rect_; gfx 134 content/renderer/pepper/ppb_scrollbar_impl.cc PP_Bool PPB_Scrollbar_Impl::PaintInternal(const gfx::Rect& rect, gfx 211 content/renderer/pepper/ppb_scrollbar_impl.cc gfx::Rect gfx_rect(rect.x, gfx 247 content/renderer/pepper/ppb_scrollbar_impl.cc dirty_ = gfx::Rect(); gfx 47 content/renderer/pepper/ppb_scrollbar_impl.h virtual PP_Bool PaintInternal(const gfx::Rect& rect, gfx 64 content/renderer/pepper/ppb_scrollbar_impl.h gfx::Rect dirty_; gfx 190 content/renderer/pepper/ppb_video_decoder_impl.cc gfx::Size(in_buf.size.width, in_buf.size.height), gfx 245 content/renderer/pepper/ppb_video_decoder_impl.cc const gfx::Size& dimensions, gfx 56 content/renderer/pepper/ppb_video_decoder_impl.h const gfx::Size& dimensions, gfx 40 content/renderer/pepper/ppb_widget_impl.cc return PaintInternal(gfx::Rect(rect->point.x, rect->point.y, gfx 14 content/renderer/pepper/ppb_widget_impl.h namespace gfx { gfx 46 content/renderer/pepper/ppb_widget_impl.h virtual PP_Bool PaintInternal(const gfx::Rect& rect, gfx 202 content/renderer/pepper/renderer_ppapi_host_impl.cc gfx::Point RendererPpapiHostImpl::PluginPointToRenderFrame( gfx 204 content/renderer/pepper/renderer_ppapi_host_impl.cc const gfx::Point& pt) const { gfx 211 content/renderer/pepper/renderer_ppapi_host_impl.cc return gfx::Point(pt.x() + plugin_instance->view_data().rect.point.x, gfx 90 content/renderer/pepper/renderer_ppapi_host_impl.h virtual gfx::Point PluginPointToRenderFrame( gfx 92 content/renderer/pepper/renderer_ppapi_host_impl.h const gfx::Point& pt) const OVERRIDE; gfx 319 content/renderer/render_frame_impl.cc selection_range_(gfx::Range::InvalidRange()), gfx 454 content/renderer/render_frame_impl.cc const gfx::Range& replacement_range) { gfx 495 content/renderer/render_frame_impl.cc const gfx::Range& replacement_range, gfx 986 content/renderer/render_frame_impl.cc void RenderFrameImpl::OnSelectRange(const gfx::Point& start, gfx 987 content/renderer/render_frame_impl.cc const gfx::Point& end) { gfx 1077 content/renderer/render_frame_impl.cc const gfx::Range& selection_range, gfx 2038 content/renderer/render_frame_impl.cc selection_range_ = gfx::Range(0, selection_text_.length()); gfx 2055 content/renderer/render_frame_impl.cc gfx::Rect start_rect; gfx 2056 content/renderer/render_frame_impl.cc gfx::Rect end_rect; gfx 2058 content/renderer/render_frame_impl.cc params.selection_start = gfx::Point(start_rect.x(), start_rect.bottom()); gfx 2059 content/renderer/render_frame_impl.cc params.selection_end = gfx::Point(end_rect.right(), end_rect.bottom()); gfx 2411 content/renderer/render_frame_impl.cc gfx::Rect(), active_match_ordinal, final_update)); gfx 3029 content/renderer/render_frame_impl.cc gfx::Range range; gfx 3044 content/renderer/render_frame_impl.cc range = gfx::Range(location, location + length); gfx 41 content/renderer/render_frame_impl.h namespace gfx { gfx 152 content/renderer/render_frame_impl.h const gfx::Range& replacement_range); gfx 163 content/renderer/render_frame_impl.h const gfx::Range& replacement_range, gfx 390 content/renderer/render_frame_impl.h void OnShowContextMenu(const gfx::Point& location); gfx 402 content/renderer/render_frame_impl.h void OnSelectRange(const gfx::Point& start, const gfx::Point& end); gfx 445 content/renderer/render_frame_impl.h const gfx::Range& selection_range, gfx 496 content/renderer/render_frame_impl.h gfx::Range selection_range_; gfx 17 content/renderer/render_frame_impl_unittest.cc gfx::Range selection_range; gfx 21 content/renderer/render_frame_impl_unittest.cc { "test", 0, gfx::Range(0, 4), "test", false }, gfx 22 content/renderer/render_frame_impl_unittest.cc { "zebestest", 0, gfx::Range(2, 6), "best", false }, gfx 23 content/renderer/render_frame_impl_unittest.cc { "zebestest", 2, gfx::Range(2, 6), "best", true }, gfx 24 content/renderer/render_frame_impl_unittest.cc { "test", 0, gfx::Range(0, 4), "hello", true }, gfx 25 content/renderer/render_frame_impl_unittest.cc { "best test", 0, gfx::Range(0, 4), "best ", false }, gfx 26 content/renderer/render_frame_impl_unittest.cc { "best test", 0, gfx::Range(0, 5), "best", false }, gfx 13 content/renderer/render_process.h namespace gfx { gfx 39 content/renderer/render_process.h const gfx::Rect& rect) = 0; gfx 149 content/renderer/render_process_impl.cc TransportDIB** memory, const gfx::Rect& rect) { gfx 26 content/renderer/render_process_impl.h const gfx::Rect& rect) OVERRIDE; gfx 1165 content/renderer/render_thread_impl.cc gfx::PluginWindowHandle window, gfx 1175 content/renderer/render_thread_impl.cc scoped_ptr<gfx::GpuMemoryBuffer> RenderThreadImpl::AllocateGpuMemoryBuffer( gfx 1182 content/renderer/render_thread_impl.cc return scoped_ptr<gfx::GpuMemoryBuffer>(); gfx 1184 content/renderer/render_thread_impl.cc gfx::GpuMemoryBufferHandle handle; gfx 1199 content/renderer/render_thread_impl.cc return scoped_ptr<gfx::GpuMemoryBuffer>(); gfx 1203 content/renderer/render_thread_impl.cc gfx::Size(width, height), gfx 1204 content/renderer/render_thread_impl.cc internalformat).PassAs<gfx::GpuMemoryBuffer>(); gfx 394 content/renderer/render_thread_impl.h gfx::PluginWindowHandle window, gfx 398 content/renderer/render_thread_impl.h virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( gfx 1096 content/renderer/render_view_browsertest.cc gfx::Range::InvalidRange(), gfx 1854 content/renderer/render_view_browsertest.cc std::vector<gfx::Rect> bounds; gfx 1866 content/renderer/render_view_browsertest.cc empty_string, gfx::Range::InvalidRange(), false); gfx 1877 content/renderer/render_view_browsertest.cc empty_string, gfx::Range::InvalidRange(), false); gfx 1891 content/renderer/render_view_browsertest.cc empty_string, gfx::Range::InvalidRange(), false); gfx 1914 content/renderer/render_view_browsertest.cc empty_string, gfx::Range::InvalidRange(), false); gfx 523 content/renderer/render_view_impl.cc std::vector<gfx::Size>* sizes) { gfx 525 content/renderer/render_view_impl.cc sizes->push_back(gfx::Size(web_sizes[i])); gfx 1248 content/renderer/render_view_impl.cc void RenderViewImpl::OnMoveCaret(const gfx::Point& point) { gfx 1258 content/renderer/render_view_impl.cc const gfx::Rect& rect) { gfx 1456 content/renderer/render_view_impl.cc const gfx::Size& size, const std::vector<unsigned char>& png) { gfx 1868 content/renderer/render_view_impl.cc gfx::RectF RenderViewImpl::ClientRectToPhysicalWindowRect( gfx 1869 content/renderer/render_view_impl.cc const gfx::RectF& rect) const { gfx 1870 content/renderer/render_view_impl.cc gfx::RectF window_rect = rect; gfx 1918 content/renderer/render_view_impl.cc gfx::Vector2d imageOffset(webImageOffset.x, webImageOffset.y); gfx 2227 content/renderer/render_view_impl.cc void RenderViewImpl::Repaint(const gfx::Size& size) { gfx 2531 content/renderer/render_view_impl.cc std::vector<gfx::Size> sizes(icon_urls[i].sizes().size()); gfx 2638 content/renderer/render_view_impl.cc gfx::Size size = webview()->contentsPreferredMinimumSize(); gfx 2910 content/renderer/render_view_impl.cc gfx::Size RenderViewImpl::GetSize() const { gfx 3062 content/renderer/render_view_impl.cc SendFindReply(request_id, 0, 0, gfx::Rect(), true); gfx 3233 content/renderer/render_view_impl.cc std::vector<gfx::RectF> match_rects; gfx 3241 content/renderer/render_view_impl.cc match_rects.push_back(gfx::RectF(web_match_rects[i])); gfx 3244 content/renderer/render_view_impl.cc gfx::RectF active_rect = main_frame->activeFindMatchRect(); gfx 3370 content/renderer/render_view_impl.cc const gfx::Point& client_point, gfx 3371 content/renderer/render_view_impl.cc const gfx::Point& screen_point, gfx 3384 content/renderer/render_view_impl.cc void RenderViewImpl::OnDragTargetDragOver(const gfx::Point& client_point, gfx 3385 content/renderer/render_view_impl.cc const gfx::Point& screen_point, gfx 3401 content/renderer/render_view_impl.cc void RenderViewImpl::OnDragTargetDrop(const gfx::Point& client_point, gfx 3402 content/renderer/render_view_impl.cc const gfx::Point& screen_point, gfx 3409 content/renderer/render_view_impl.cc void RenderViewImpl::OnDragSourceEnded(const gfx::Point& client_point, gfx 3410 content/renderer/render_view_impl.cc const gfx::Point& screen_point, gfx 3468 content/renderer/render_view_impl.cc void RenderViewImpl::OnEnableAutoResize(const gfx::Size& min_size, gfx 3469 content/renderer/render_view_impl.cc const gfx::Size& max_size) { gfx 3477 content/renderer/render_view_impl.cc void RenderViewImpl::OnDisableAutoResize(const gfx::Size& new_size) { gfx 3505 content/renderer/render_view_impl.cc const gfx::Size& disable_scrollbar_size_limit) { gfx 3554 content/renderer/render_view_impl.cc void RenderViewImpl::OnMediaPlayerActionAt(const gfx::Point& location, gfx 3568 content/renderer/render_view_impl.cc void RenderViewImpl::OnPluginActionAt(const gfx::Point& location, gfx 3777 content/renderer/render_view_impl.cc const gfx::Rect& paint_bounds, gfx 3779 content/renderer/render_view_impl.cc gfx::Rect* location, gfx 3780 content/renderer/render_view_impl.cc gfx::Rect* clip, gfx 3797 content/renderer/render_view_impl.cc gfx::Vector2d RenderViewImpl::GetScrollOffset() { gfx 3799 content/renderer/render_view_impl.cc return gfx::Vector2d(scroll_offset.width, scroll_offset.height); gfx 3860 content/renderer/render_view_impl.cc void RenderViewImpl::OnWindowFrameChanged(const gfx::Rect& window_frame, gfx 3861 content/renderer/render_view_impl.cc const gfx::Rect& view_frame) { gfx 3905 content/renderer/render_view_impl.cc gfx::Point(event.globalX, event.globalY); gfx 3928 content/renderer/render_view_impl.cc gfx::Point(event.globalX, event.globalY); gfx 3940 content/renderer/render_view_impl.cc bool RenderViewImpl::HasTouchEventHandlersAt(const gfx::Point& point) const { gfx 4086 content/renderer/render_view_impl.cc const gfx::Range& replacement_range, gfx 4158 content/renderer/render_view_impl.cc void RenderViewImpl::GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) { gfx 4165 content/renderer/render_view_impl.cc gfx::Rect caret = focused_pepper_plugin_->GetCaretBounds(); gfx 4176 content/renderer/render_view_impl.cc std::vector<gfx::Rect>* bounds) { gfx 4211 content/renderer/render_view_impl.cc void RenderViewImpl::GetCompositionRange(gfx::Range* range) { gfx 4264 content/renderer/render_view_impl.cc const gfx::Point& root_layer_offset, gfx 4569 content/renderer/render_view_impl.cc void RenderViewImpl::OnShowContextMenu(const gfx::Point& location) { gfx 4606 content/renderer/render_view_impl.cc gfx::Rect finger_rect( gfx 4609 content/renderer/render_view_impl.cc gfx::Rect zoom_rect; gfx 4613 content/renderer/render_view_impl.cc gfx::Rect(webview()->mainFrame()->visibleContentRect()).size(), gfx 4624 content/renderer/render_view_impl.cc gfx::Size canvas_size = gfx 4625 content/renderer/render_view_impl.cc gfx::ToCeiledSize(gfx::ScaleSize(zoom_rect.size(), new_total_scale)); gfx 4630 content/renderer/render_view_impl.cc gfx::Rect(canvas_size))); gfx 4651 content/renderer/render_view_impl.cc gfx::Rect physical_window_zoom_rect = gfx::ToEnclosingRect( gfx 4652 content/renderer/render_view_impl.cc ClientRectToPhysicalWindowRect(gfx::RectF(zoom_rect))); gfx 4693 content/renderer/render_view_impl.cc gfx::ToCeiledSize(gfx::ScaleSize(size(), factor)); gfx 4700 content/renderer/render_view_impl.cc void RenderViewImpl::ForceResizeForTesting(const gfx::Size& new_size) { gfx 4701 content/renderer/render_view_impl.cc gfx::Rect new_position(rootWindowRect().x, gfx 4712 content/renderer/render_view_impl.cc void RenderViewImpl::EnableAutoResizeForTesting(const gfx::Size& min_size, gfx 4713 content/renderer/render_view_impl.cc const gfx::Size& max_size) { gfx 4717 content/renderer/render_view_impl.cc void RenderViewImpl::DisableAutoResizeForTesting(const gfx::Size& new_size) { gfx 4755 content/renderer/render_view_impl.cc std::vector<gfx::Size> sizes(icon_urls[i].sizes().size()); gfx 347 content/renderer/render_view_impl.h const gfx::Size&, const std::vector<unsigned char>&)> gfx 376 content/renderer/render_view_impl.h void ForceResizeForTesting(const gfx::Size& new_size); gfx 381 content/renderer/render_view_impl.h void EnableAutoResizeForTesting(const gfx::Size& min_size, gfx 382 content/renderer/render_view_impl.h const gfx::Size& max_size); gfx 383 content/renderer/render_view_impl.h void DisableAutoResizeForTesting(const gfx::Size& new_size); gfx 626 content/renderer/render_view_impl.h virtual gfx::Size GetSize() const OVERRIDE; gfx 641 content/renderer/render_view_impl.h virtual void Repaint(const gfx::Size& size) OVERRIDE; gfx 675 content/renderer/render_view_impl.h const gfx::Rect& paint_bounds, gfx 677 content/renderer/render_view_impl.h gfx::Rect* location, gfx 678 content/renderer/render_view_impl.h gfx::Rect* clip, gfx 680 content/renderer/render_view_impl.h virtual gfx::Vector2d GetScrollOffset() OVERRIDE; gfx 689 content/renderer/render_view_impl.h virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const OVERRIDE; gfx 701 content/renderer/render_view_impl.h const gfx::Range& replacement_range, gfx 705 content/renderer/render_view_impl.h virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; gfx 708 content/renderer/render_view_impl.h std::vector<gfx::Rect>* character_bounds) OVERRIDE; gfx 709 content/renderer/render_view_impl.h virtual void GetCompositionRange(gfx::Range* range) OVERRIDE; gfx 727 content/renderer/render_view_impl.h const gfx::Point& root_layer_offset, gfx 843 content/renderer/render_view_impl.h void OnMoveCaret(const gfx::Point& point); gfx 844 content/renderer/render_view_impl.h void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); gfx 851 content/renderer/render_view_impl.h void OnShowContextMenu(const gfx::Point& location); gfx 856 content/renderer/render_view_impl.h const gfx::Size& disable_scrollbars_size_limit); gfx 857 content/renderer/render_view_impl.h void OnDragSourceEnded(const gfx::Point& client_point, gfx 858 content/renderer/render_view_impl.h const gfx::Point& screen_point, gfx 861 content/renderer/render_view_impl.h void OnDragTargetDrop(const gfx::Point& client_pt, gfx 862 content/renderer/render_view_impl.h const gfx::Point& screen_pt, gfx 865 content/renderer/render_view_impl.h const gfx::Point& client_pt, gfx 866 content/renderer/render_view_impl.h const gfx::Point& screen_pt, gfx 870 content/renderer/render_view_impl.h void OnDragTargetDragOver(const gfx::Point& client_pt, gfx 871 content/renderer/render_view_impl.h const gfx::Point& screen_pt, gfx 875 content/renderer/render_view_impl.h void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); gfx 876 content/renderer/render_view_impl.h void OnDisableAutoResize(const gfx::Size& new_size); gfx 889 content/renderer/render_view_impl.h void OnMediaPlayerActionAt(const gfx::Point& location, gfx 892 content/renderer/render_view_impl.h void OnPluginActionAt(const gfx::Point& location, gfx 919 content/renderer/render_view_impl.h const gfx::Size& size, const std::vector<unsigned char>& png); gfx 930 content/renderer/render_view_impl.h void OnExtractSmartClipData(const gfx::Rect& rect); gfx 931 content/renderer/render_view_impl.h void GetSelectionRootBounds(gfx::Rect* bounds) const; gfx 938 content/renderer/render_view_impl.h void OnWindowFrameChanged(const gfx::Rect& window_frame, gfx 939 content/renderer/render_view_impl.h const gfx::Rect& view_frame); gfx 1045 content/renderer/render_view_impl.h gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; gfx 1102 content/renderer/render_view_impl.h gfx::Size disable_scrollbars_size_limit_; gfx 1216 content/renderer/render_view_impl.h gfx::Size preferred_size_; gfx 1234 content/renderer/render_view_impl.h gfx::Rect rect_for_scrolled_focused_editable_node_; gfx 68 content/renderer/render_view_impl_android.cc void RenderViewImpl::OnExtractSmartClipData(const gfx::Rect& rect) { gfx 73 content/renderer/render_view_impl_android.cc void RenderViewImpl::GetSelectionRootBounds(gfx::Rect* bounds) const { gfx 83 content/renderer/render_view_impl_android.cc gfx::Rect bounds; gfx 172 content/renderer/render_widget.cc gfx::Point offset() { return offset_; } gfx 173 content/renderer/render_widget.cc gfx::Rect applied_widget_rect() const { return applied_widget_rect_; } gfx 174 content/renderer/render_widget.cc gfx::Rect original_screen_rect() const { return original_view_screen_rect_; } gfx 183 content/renderer/render_widget.cc void OnUpdateScreenRectsMessage(const gfx::Rect& view_screen_rect, gfx 184 content/renderer/render_widget.cc const gfx::Rect& window_screen_rect); gfx 190 content/renderer/render_widget.cc gfx::Rect resizer_rect, bool is_fullscreen); gfx 199 content/renderer/render_widget.cc gfx::Point offset_; gfx 202 content/renderer/render_widget.cc gfx::Rect applied_widget_rect_; gfx 205 content/renderer/render_widget.cc gfx::Size original_size_; gfx 206 content/renderer/render_widget.cc gfx::Size original_physical_backing_size_; gfx 208 content/renderer/render_widget.cc gfx::Rect original_view_screen_rect_; gfx 209 content/renderer/render_widget.cc gfx::Rect original_window_screen_rect_; gfx 231 content/renderer/render_widget.cc widget_->SetScreenMetricsEmulationParameters(0.f, gfx::Point(), 1.f); gfx 251 content/renderer/render_widget.cc float overdraw_bottom_height, gfx::Rect resizer_rect, bool is_fullscreen) { gfx 253 content/renderer/render_widget.cc original_size_ : gfx::Size(params_.viewSize)); gfx 285 content/renderer/render_widget.cc applied_widget_rect_.set_origin(gfx::Point(0, 0)); gfx 306 content/renderer/render_widget.cc gfx::Size physical_backing_size = gfx::ToCeiledSize(gfx::ScaleSize( gfx 325 content/renderer/render_widget.cc widget_->compositor_->SetNeedsRedrawRect(gfx::Rect(widget_->size_)); gfx 330 content/renderer/render_widget.cc const gfx::Rect& view_screen_rect, gfx 331 content/renderer/render_widget.cc const gfx::Rect& window_screen_rect) { gfx 548 content/renderer/render_widget.cc popup_screen_origin_for_emulation_ = gfx::Point( gfx 557 content/renderer/render_widget.cc const gfx::Point& root_layer_offset, gfx 644 content/renderer/render_widget.cc void RenderWidget::Resize(const gfx::Size& new_size, gfx 645 content/renderer/render_widget.cc const gfx::Size& physical_backing_size, gfx 647 content/renderer/render_widget.cc const gfx::Rect& resizer_rect, gfx 716 content/renderer/render_widget.cc void RenderWidget::ResizeSynchronously(const gfx::Rect& new_position) { gfx 718 content/renderer/render_widget.cc gfx::Rect(), is_fullscreen_, NO_RESIZE_ACK); gfx 772 content/renderer/render_widget.cc void RenderWidget::OnChangeResizeRect(const gfx::Rect& resizer_rect) { gfx 774 content/renderer/render_widget.cc gfx::Rect view_rect(size_); gfx 776 content/renderer/render_widget.cc gfx::Rect old_damage_rect = gfx::IntersectRects(view_rect, resizer_rect_); gfx 780 content/renderer/render_widget.cc gfx::Rect new_damage_rect = gfx::IntersectRects(view_rect, resizer_rect); gfx 816 content/renderer/render_widget.cc didInvalidateRect(gfx::Rect(size_.width(), size_.height())); gfx 1166 content/renderer/render_widget.cc gfx::ToFlooredPoint(touch_event.touches[i].position))) { gfx 1271 content/renderer/render_widget.cc void RenderWidget::PaintRect(const gfx::Rect& rect, gfx 1272 content/renderer/render_widget.cc const gfx::Point& canvas_origin, gfx 1299 content/renderer/render_widget.cc canvas->clipRect(gfx::RectToSkRect(rect)); gfx 1306 content/renderer/render_widget.cc gfx::Rect optimized_copy_rect, optimized_copy_location; gfx 1363 content/renderer/render_widget.cc void RenderWidget::PaintDebugBorder(const gfx::Rect& rect, gfx 1512 content/renderer/render_widget.cc base::TimeTicks frame_begin_ticks = gfx::FrameTime::Now(); gfx 1585 content/renderer/render_widget.cc gfx::Rect scroll_damage = update.GetScrollDamage(); gfx 1586 content/renderer/render_widget.cc gfx::Rect bounds = gfx::UnionRects(update.GetPaintBounds(), scroll_damage); gfx 1600 content/renderer/render_widget.cc gfx::Rect optimized_copy_rect, optimized_copy_location; gfx 1639 content/renderer/render_widget.cc bounds.Intersect(gfx::Rect(size_)); gfx 1642 content/renderer/render_widget.cc gfx::Rect pixel_bounds = gfx::ToEnclosingRect( gfx 1643 content/renderer/render_widget.cc gfx::ScaleRect(bounds, device_scale_factor_)); gfx 1667 content/renderer/render_widget.cc std::vector<gfx::Rect>& copy_rects = pending_update_params_->copy_rects; gfx 1674 content/renderer/render_widget.cc gfx::Rect rect = copy_rects[i]; gfx 1693 content/renderer/render_widget.cc pending_update_params_->scroll_rect = gfx::Rect(); gfx 1734 content/renderer/render_widget.cc gfx::Rect view_rect(size_); gfx 1735 content/renderer/render_widget.cc gfx::Rect damaged_rect = gfx::IntersectRects(view_rect, rect); gfx 1775 content/renderer/render_widget.cc gfx::Rect view_rect(size_); gfx 1776 content/renderer/render_widget.cc gfx::Rect damaged_rect = gfx::IntersectRects(view_rect, clip_rect); gfx 1780 content/renderer/render_widget.cc paint_aggregator_.ScrollRect(gfx::Vector2d(dx, dy), damaged_rect); gfx 1835 content/renderer/render_widget.cc physical_backing_size_ = gfx::ToCeiledSize(gfx::ScaleSize(size_, gfx 2214 content/renderer/render_widget.cc const gfx::Range& replacement_range, gfx 2232 content/renderer/render_widget.cc void RenderWidget::OnSnapshot(const gfx::Rect& src_subrect) { gfx 2242 content/renderer/render_widget.cc bool RenderWidget::OnSnapshotHelper(const gfx::Rect& src_subrect, gfx 2249 content/renderer/render_widget.cc gfx::Rect viewport_size = gfx::IntersectRects( gfx 2250 content/renderer/render_widget.cc src_subrect, gfx::Rect(physical_backing_size_)); gfx 2276 content/renderer/render_widget.cc void RenderWidget::OnRepaint(gfx::Size size_to_paint) { gfx 2289 content/renderer/render_widget.cc compositor_->SetNeedsRedrawRect(gfx::Rect(size_to_paint)); gfx 2291 content/renderer/render_widget.cc gfx::Rect repaint_rect(size_to_paint.width(), size_to_paint.height()); gfx 2309 content/renderer/render_widget.cc void RenderWidget::OnUpdateScreenRects(const gfx::Rect& view_screen_rect, gfx 2310 content/renderer/render_widget.cc const gfx::Rect& window_screen_rect) { gfx 2351 content/renderer/render_widget.cc didInvalidateRect(gfx::Rect(size_.width(), size_.height())); gfx 2358 content/renderer/render_widget.cc const gfx::Rect& paint_bounds, gfx 2360 content/renderer/render_widget.cc gfx::Rect* location, gfx 2361 content/renderer/render_widget.cc gfx::Rect* clip, gfx 2367 content/renderer/render_widget.cc gfx::Vector2d RenderWidget::GetScrollOffset() { gfx 2369 content/renderer/render_widget.cc return gfx::Vector2d(); gfx 2410 content/renderer/render_widget.cc didInvalidateRect(gfx::Rect(size_.width(), size_.height())); gfx 2547 content/renderer/render_widget.cc void RenderWidget::GetSelectionBounds(gfx::Rect* focus, gfx::Rect* anchor) { gfx 2628 content/renderer/render_widget.cc gfx::Range range = gfx::Range(); gfx 2634 content/renderer/render_widget.cc std::vector<gfx::Rect> character_bounds; gfx 2646 content/renderer/render_widget.cc std::vector<gfx::Rect>* bounds) { gfx 2651 content/renderer/render_widget.cc void RenderWidget::GetCompositionRange(gfx::Range* range) { gfx 2660 content/renderer/render_widget.cc *range = gfx::Range::InvalidRange(); gfx 2665 content/renderer/render_widget.cc const gfx::Range& range, gfx 2666 content/renderer/render_widget.cc const std::vector<gfx::Rect>& bounds) { gfx 2740 content/renderer/render_widget.cc void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { gfx 2804 content/renderer/render_widget.cc bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const { gfx 64 content/renderer/render_widget.h namespace gfx { gfx 98 content/renderer/render_widget.h gfx::Size size() const { return size_; } gfx 109 content/renderer/render_widget.h gfx::Point touch_editing_context_menu_location() { gfx 168 content/renderer/render_widget.h void CleanupWindowInPluginMoves(gfx::PluginWindowHandle window); gfx 232 content/renderer/render_widget.h virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end); gfx 293 content/renderer/render_widget.h void PaintRect(const gfx::Rect& rect, const gfx::Point& canvas_origin, gfx 297 content/renderer/render_widget.h void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas); gfx 316 content/renderer/render_widget.h void Resize(const gfx::Size& new_size, gfx 317 content/renderer/render_widget.h const gfx::Size& physical_backing_size, gfx 319 content/renderer/render_widget.h const gfx::Rect& resizer_rect, gfx 323 content/renderer/render_widget.h void ResizeSynchronously(const gfx::Rect& new_position); gfx 326 content/renderer/render_widget.h const gfx::Point& root_layer_offset, gfx 343 content/renderer/render_widget.h void OnChangeResizeRect(const gfx::Rect& resizer_rect); gfx 361 content/renderer/render_widget.h const gfx::Range& replacement_range, gfx 363 content/renderer/render_widget.h void OnRepaint(gfx::Size size_to_paint); gfx 367 content/renderer/render_widget.h void OnUpdateScreenRects(const gfx::Rect& view_screen_rect, gfx 368 content/renderer/render_widget.h const gfx::Rect& window_screen_rect); gfx 382 content/renderer/render_widget.h void OnSnapshot(const gfx::Rect& src_subrect); gfx 421 content/renderer/render_widget.h const gfx::Rect& paint_bounds, gfx 423 content/renderer/render_widget.h gfx::Rect* location, gfx 424 content/renderer/render_widget.h gfx::Rect* clip, gfx 429 content/renderer/render_widget.h virtual gfx::Vector2d GetScrollOffset(); gfx 457 content/renderer/render_widget.h std::vector<gfx::Rect>* character_bounds); gfx 461 content/renderer/render_widget.h virtual void GetCompositionRange(gfx::Range* range); gfx 466 content/renderer/render_widget.h const gfx::Range& range, gfx 467 content/renderer/render_widget.h const std::vector<gfx::Rect>& bounds); gfx 516 content/renderer/render_widget.h virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const; gfx 533 content/renderer/render_widget.h bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap); gfx 558 content/renderer/render_widget.h gfx::Rect initial_pos_; gfx 567 content/renderer/render_widget.h gfx::Size size_; gfx 575 content/renderer/render_widget.h gfx::Size physical_backing_size_; gfx 582 content/renderer/render_widget.h gfx::Rect resizer_rect_; gfx 670 content/renderer/render_widget.h gfx::Rect selection_focus_rect_; gfx 671 content/renderer/render_widget.h gfx::Rect selection_anchor_rect_; gfx 675 content/renderer/render_widget.h gfx::Rect selection_root_rect_; gfx 679 content/renderer/render_widget.h std::vector<gfx::Rect> composition_character_bounds_; gfx 682 content/renderer/render_widget.h gfx::Range composition_range_; gfx 700 content/renderer/render_widget.h gfx::Rect view_screen_rect_; gfx 701 content/renderer/render_widget.h gfx::Rect window_screen_rect_; gfx 775 content/renderer/render_widget.h gfx::Point popup_view_origin_for_emulation_; gfx 776 content/renderer/render_widget.h gfx::Point popup_screen_origin_for_emulation_; gfx 786 content/renderer/render_widget.h gfx::Point touch_editing_context_menu_location_; gfx 161 content/renderer/render_widget_fullscreen_pepper.cc std::vector<gfx::Rect>()); gfx 373 content/renderer/render_widget_fullscreen_pepper.cc InvalidateRect(gfx::Rect(size_.width(), size_.height())); gfx 463 content/renderer/render_widget_fullscreen_pepper.cc const gfx::Rect& paint_bounds, gfx 465 content/renderer/render_widget_fullscreen_pepper.cc gfx::Rect* location, gfx 466 content/renderer/render_widget_fullscreen_pepper.cc gfx::Rect* clip, gfx 65 content/renderer/render_widget_fullscreen_pepper.h const gfx::Rect& paint_bounds, gfx 67 content/renderer/render_widget_fullscreen_pepper.h gfx::Rect* location, gfx 68 content/renderer/render_widget_fullscreen_pepper.h gfx::Rect* clip, gfx 39 content/renderer/render_widget_unittest.cc void SetTouchRegion(const std::vector<gfx::Rect>& rects) { gfx 53 content/renderer/render_widget_unittest.cc virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const OVERRIDE { gfx 54 content/renderer/render_widget_unittest.cc for (std::vector<gfx::Rect>::const_iterator iter = rects_.begin(); gfx 69 content/renderer/render_widget_unittest.cc std::vector<gfx::Rect> rects_; gfx 96 content/renderer/render_widget_unittest.cc std::vector<gfx::Rect> rects; gfx 97 content/renderer/render_widget_unittest.cc rects.push_back(gfx::Rect(0, 0, 20, 20)); gfx 98 content/renderer/render_widget_unittest.cc rects.push_back(gfx::Rect(25, 0, 10, 10)); gfx 112 content/renderer/render_widget_unittest.cc std::vector<gfx::Rect> rects; gfx 113 content/renderer/render_widget_unittest.cc rects.push_back(gfx::Rect(0, 0, 20, 20)); gfx 114 content/renderer/render_widget_unittest.cc rects.push_back(gfx::Rect(25, 0, 10, 10)); gfx 28 content/renderer/renderer_clipboard_client.cc const gfx::Size& size) OVERRIDE; gfx 47 content/renderer/renderer_clipboard_client.cc const gfx::Size& size) { gfx 66 content/renderer/renderer_clipboard_client.cc for (size_t i = 0; i < sizeof(gfx::Size); ++i) gfx 860 content/renderer/renderer_webkitplatformsupport_impl.cc gfx::ColorProfile profile; gfx 17 content/renderer/sad_plugin.cc const gfx::Rect& plugin_rect, gfx 12 content/renderer/sad_plugin.h namespace gfx { gfx 21 content/renderer/sad_plugin.h const gfx::Rect& plugin_rect, gfx 26 content/renderer/scoped_clipboard_writer_glue.cc const gfx::Size& size) { gfx 21 content/renderer/scoped_clipboard_writer_glue.h void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size); gfx 127 content/renderer/skia_benchmarking_extension.cc gfx::Rect clip_rect(picture->LayerRect()); gfx 151 content/renderer/skia_benchmarking_extension.cc gfx::RectF clip(clip_rect); gfx 154 content/renderer/skia_benchmarking_extension.cc gfx::Rect snapped_clip = gfx::ToEnclosingRect(clip); gfx 166 content/renderer/skia_benchmarking_extension.cc canvas.clipRect(gfx::RectToSkRect(snapped_clip)); gfx 219 content/renderer/skia_benchmarking_extension.cc gfx::Rect bounds = picture->LayerRect(); gfx 262 content/renderer/skia_benchmarking_extension.cc gfx::Rect bounds = picture->LayerRect(); gfx 48 content/renderer/text_input_client_observer.cc void TextInputClientObserver::OnStringAtPoint(gfx::Point point) { gfx 63 content/renderer/text_input_client_observer.cc void TextInputClientObserver::OnCharacterIndexForPoint(gfx::Point point) { gfx 70 content/renderer/text_input_client_observer.cc void TextInputClientObserver::OnFirstRectForCharacterRange(gfx::Range range) { gfx 71 content/renderer/text_input_client_observer.cc gfx::Rect rect; gfx 89 content/renderer/text_input_client_observer.cc void TextInputClientObserver::OnStringForRange(gfx::Range range) { gfx 38 content/renderer/text_input_client_observer.h void OnStringAtPoint(gfx::Point point); gfx 39 content/renderer/text_input_client_observer.h void OnCharacterIndexForPoint(gfx::Point point); gfx 40 content/renderer/text_input_client_observer.h void OnFirstRectForCharacterRange(gfx::Range range); gfx 41 content/renderer/text_input_client_observer.h void OnStringForRange(gfx::Range range); gfx 41 content/renderer/webscrollbarbehavior_impl_gtkoraura.cc gfx::Rect noSnapRect(scrollbarRect); gfx 67 content/shell/android/shell_manager.cc gfx::Size()); gfx 140 content/shell/app/shell_main_delegate.cc gfx::kGLImplementationOSMesaName); gfx 97 content/shell/browser/shell.cc const gfx::Size& initial_size) { gfx 145 content/shell/browser/shell.cc gfx::Size(kDefaultTestWindowWidthDip, kDefaultTestWindowHeightDip)); gfx 148 content/shell/browser/shell.cc gfx::Size Shell::AdjustWindowSize(const gfx::Size& initial_size) { gfx 151 content/shell/browser/shell.cc return gfx::Size(kDefaultTestWindowWidthDip, kDefaultTestWindowHeightDip); gfx 158 content/shell/browser/shell.cc const gfx::Size& initial_size) { gfx 185 content/shell/browser/shell.cc const gfx::Rect& initial_pos, gfx 239 content/shell/browser/shell.cc gfx::NativeView Shell::GetContentView() { gfx 76 content/shell/browser/shell.h void SizeTo(const gfx::Size& content_size); gfx 86 content/shell/browser/shell.h const gfx::Size& initial_size); gfx 102 content/shell/browser/shell.h gfx::NativeWindow window() { return window_; } gfx 119 content/shell/browser/shell.h const gfx::Rect& initial_pos, gfx 171 content/shell/browser/shell.h const gfx::Size& initial_size); gfx 174 content/shell/browser/shell.h static void PlatformInitialize(const gfx::Size& default_window_size); gfx 180 content/shell/browser/shell.h static gfx::Size AdjustWindowSize(const gfx::Size& initial_size); gfx 212 content/shell/browser/shell.h gfx::NativeView GetContentView(); gfx 247 content/shell/browser/shell.h gfx::NativeWindow window_; gfx 248 content/shell/browser/shell.h gfx::NativeEditView url_edit_view_; gfx 250 content/shell/browser/shell.h gfx::Size content_size_; gfx 23 content/shell/browser/shell_android.cc void Shell::PlatformInitialize(const gfx::Size& default_window_size) { gfx 18 content/shell/browser/shell_aura.cc void Shell::PlatformInitialize(const gfx::Size& default_window_size) { gfx 21 content/shell/browser/shell_aura.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen); gfx 48 content/shell/browser/shell_aura.cc platform_->ResizeWindow(gfx::Size(width, height)); gfx 149 content/shell/browser/shell_browser_main_parts.cc gfx::Size()); gfx 191 content/shell/browser/shell_devtools_delegate.cc gfx::Size()); gfx 69 content/shell/browser/shell_devtools_frontend.cc gfx::Size()); gfx 195 content/shell/browser/shell_download_manager_delegate.cc gfx::NativeWindow parent_window; gfx 58 content/shell/browser/shell_gtk.cc void Shell::PlatformInitialize(const gfx::Size& default_window_size) { gfx 110 content/shell/browser/shell_gtk.cc content_size_ = gfx::Size(width, height); gfx 225 content/shell/browser/shell_gtk.cc SizeTo(gfx::Size(width, height)); gfx 241 content/shell/browser/shell_gtk.cc void Shell::SizeTo(const gfx::Size& content_size) { gfx 323 content/shell/browser/shell_gtk.cc gfx::Size()); gfx 30 content/shell/browser/shell_javascript_dialog.h gfx::NativeWindow parent_window, gfx 55 content/shell/browser/shell_javascript_dialog.h gfx::NativeWindow parent_window_; gfx 37 content/shell/browser/shell_javascript_dialog_gtk.cc gfx::NativeWindow parent_window, gfx 58 content/shell/browser/shell_javascript_dialog_manager.cc gfx::NativeWindow parent_window = gfx 102 content/shell/browser/shell_javascript_dialog_manager.cc gfx::NativeWindow parent_window = gfx 80 content/shell/browser/shell_javascript_dialog_win.cc gfx::NativeWindow parent_window, gfx 77 content/shell/browser/shell_login_dialog.cc gfx::ElideString(realm, 120, &elided_realm); gfx 38 content/shell/browser/shell_login_dialog_gtk.cc gfx::NativeWindow parent_window = gfx 54 content/shell/browser/shell_platform_data_aura.cc const gfx::Rect& requested_bounds) OVERRIDE { gfx 69 content/shell/browser/shell_platform_data_aura.cc gfx::kNullAcceleratedWidget)) { gfx 115 content/shell/browser/shell_platform_data_aura.cc ShellPlatformDataAura::ShellPlatformDataAura(const gfx::Size& initial_size) { gfx 117 content/shell/browser/shell_platform_data_aura.cc host_.reset(aura::WindowTreeHost::Create(gfx::Rect(initial_size))); gfx 140 content/shell/browser/shell_platform_data_aura.cc void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) { gfx 141 content/shell/browser/shell_platform_data_aura.cc host_->SetBounds(gfx::Rect(size)); gfx 20 content/shell/browser/shell_platform_data_aura.h namespace gfx { gfx 32 content/shell/browser/shell_platform_data_aura.h explicit ShellPlatformDataAura(const gfx::Size& initial_size); gfx 36 content/shell/browser/shell_platform_data_aura.h void ResizeWindow(const gfx::Size& size); gfx 137 content/shell/browser/shell_views.cc void SetWebContents(WebContents* web_contents, const gfx::Size& size) { gfx 147 content/shell/browser/shell_views.cc gfx::Rect bounds = GetWidget()->GetWindowBoundsInScreen(); gfx 173 content/shell/browser/shell_views.cc gfx::Point screen_point(params.x, params.y); gfx 192 content/shell/browser/shell_views.cc NULL, gfx::Rect(screen_point, gfx::Size()), gfx 231 content/shell/browser/shell_views.cc gfx::Size back_button_size = back_button_->GetPreferredSize(); gfx 241 content/shell/browser/shell_views.cc gfx::Size forward_button_size = forward_button_->GetPreferredSize(); gfx 251 content/shell/browser/shell_views.cc gfx::Size refresh_button_size = refresh_button_->GetPreferredSize(); gfx 260 content/shell/browser/shell_views.cc gfx::Size stop_button_size = stop_button_->GetPreferredSize(); gfx 356 content/shell/browser/shell_views.cc virtual gfx::Size GetMinimumSize() OVERRIDE { gfx 359 content/shell/browser/shell_views.cc return gfx::Size(); gfx 417 content/shell/browser/shell_views.cc void Shell::PlatformInitialize(const gfx::Size& default_window_size) { gfx 424 content/shell/browser/shell_views.cc gfx::Screen::SetScreenInstance( gfx 425 content/shell/browser/shell_views.cc gfx::SCREEN_TYPE_NATIVE, aura::TestScreen::Create()); gfx 428 content/shell/browser/shell_views.cc gfx::Screen::SetScreenInstance( gfx 429 content/shell/browser/shell_views.cc gfx::SCREEN_TYPE_NATIVE, views::CreateDesktopScreen()); gfx 481 content/shell/browser/shell_views.cc content_size_ = gfx::Size(width, height); gfx 491 content/shell/browser/shell_views.cc wm_test_helper_->GetDefaultParent(NULL, NULL, gfx::Rect()), gfx 492 content/shell/browser/shell_views.cc gfx::Rect(0, 0, width, height)); gfx 496 content/shell/browser/shell_views.cc params.bounds = gfx::Rect(0, 0, width, height); gfx 503 content/shell/browser/shell_views.cc content_size_ = gfx::Size(width, height); gfx 521 content/shell/browser/shell_views.cc content->SetBounds(gfx::Rect(content_size_)); gfx 32 content/shell/browser/shell_web_contents_view_delegate.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 47 content/shell/browser/shell_web_contents_view_delegate.h virtual void SizeChanged(const gfx::Size& size) OVERRIDE; gfx 181 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gfx::NativeView ShellWebContentsViewDelegate::GetNativeView() const { gfx 220 content/shell/browser/shell_web_contents_view_delegate_gtk.cc gfx::Size()); gfx 176 content/shell/browser/shell_web_contents_view_delegate_win.cc gfx::Point screen_point(params.x, params.y); gfx 219 content/shell/browser/shell_web_contents_view_delegate_win.cc gfx::Size()); gfx 258 content/shell/browser/shell_web_contents_view_delegate_win.cc void ShellWebContentsViewDelegate::SizeChanged(const gfx::Size& size) { gfx 244 content/shell/browser/webkit_test_controller.cc initial_size_ = gfx::Size( gfx 248 content/shell/browser/webkit_test_controller.cc initial_size_ = gfx::Size(kTestSVGWindowWidthDip, kTestSVGWindowHeightDip); gfx 347 content/shell/browser/webkit_test_controller.cc gfx::Size()); gfx 530 content/shell/browser/webkit_test_controller.cc std::vector<gfx::PNGCodec::Comment> comments; gfx 531 content/shell/browser/webkit_test_controller.cc comments.push_back(gfx::PNGCodec::Comment("checksum", actual_pixel_hash)); gfx 532 content/shell/browser/webkit_test_controller.cc bool success = gfx::PNGCodec::Encode( gfx 534 content/shell/browser/webkit_test_controller.cc gfx::PNGCodec::FORMAT_BGRA, gfx 535 content/shell/browser/webkit_test_controller.cc gfx::Size(image.width(), image.height()), gfx 201 content/shell/browser/webkit_test_controller.h gfx::Size initial_size_; gfx 83 content/shell/common/shell_content_client.cc gfx::Image& ShellContentClient::GetNativeImageNamed(int resource_id) const { gfx 27 content/shell/common/shell_content_client.h virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; gfx 39 content/shell/common/shell_test_configuration.h gfx::Size initial_size; gfx 305 content/shell/renderer/test_runner/TestPlugin.cpp bitmap.get(), gfx::Size(m_rect.width, m_rect.height)); gfx 85 content/test/content_test_suite.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 22 content/test/mock_render_process.cc const gfx::Rect& rect) { gfx 21 content/test/mock_render_process.h const gfx::Rect& rect) OVERRIDE; gfx 98 content/test/mock_webclipboard_impl.cc gfx::PNGCodec::Encode(static_cast<unsigned char*>(bitmap.getPixels()), gfx 100 content/test/mock_webclipboard_impl.cc gfx::PNGCodec::FORMAT_RGBA, gfx 102 content/test/mock_webclipboard_impl.cc gfx::PNGCodec::FORMAT_BGRA, gfx 104 content/test/mock_webclipboard_impl.cc gfx::Size(bitmap.width(), bitmap.height()), gfx 107 content/test/mock_webclipboard_impl.cc std::vector<gfx::PNGCodec::Comment>(), gfx 114 content/test/ppapi_unittest.cc instance_->view_data_.rect = PP_FromGfxRect(gfx::Rect(0, 0, width, height)); gfx 10 content/test/test_backing_store.cc const gfx::Size& size) gfx 20 content/test/test_backing_store.cc const gfx::Rect& bitmap_rect, gfx 21 content/test/test_backing_store.cc const std::vector<gfx::Rect>& copy_rects, gfx 28 content/test/test_backing_store.cc bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect, gfx 33 content/test/test_backing_store.cc void TestBackingStore::ScrollBackingStore(const gfx::Vector2d& delta, gfx 34 content/test/test_backing_store.cc const gfx::Rect& clip_rect, gfx 35 content/test/test_backing_store.cc const gfx::Size& view_size) { gfx 16 content/test/test_backing_store.h TestBackingStore(RenderWidgetHost* widget, const gfx::Size& size); gfx 23 content/test/test_backing_store.h const gfx::Rect& bitmap_rect, gfx 24 content/test/test_backing_store.h const std::vector<gfx::Rect>& copy_rects, gfx 28 content/test/test_backing_store.h virtual bool CopyFromBackingStore(const gfx::Rect& rect, gfx 30 content/test/test_backing_store.h virtual void ScrollBackingStore(const gfx::Vector2d& delta, gfx 31 content/test/test_backing_store.h const gfx::Rect& clip_rect, gfx 32 content/test/test_backing_store.h const gfx::Size& view_size) OVERRIDE; gfx 57 content/test/test_media_stream_client.cc gfx::Size(kVideoCaptureWidth, kVideoCaptureHeight), gfx 60 content/test/test_render_view_host.cc gfx::NativeView TestRenderWidgetHostView::GetNativeView() const { gfx 64 content/test/test_render_view_host.cc gfx::NativeViewId TestRenderWidgetHostView::GetNativeViewId() const { gfx 68 content/test/test_render_view_host.cc gfx::NativeViewAccessible TestRenderWidgetHostView::GetNativeViewAccessible() { gfx 99 content/test/test_render_view_host.cc gfx::Rect TestRenderWidgetHostView::GetViewBounds() const { gfx 100 content/test/test_render_view_host.cc return gfx::Rect(); gfx 104 content/test/test_render_view_host.cc const gfx::Size& size) { gfx 109 content/test/test_render_view_host.cc const gfx::Rect& src_subrect, gfx 110 content/test/test_render_view_host.cc const gfx::Size& dst_size, gfx 117 content/test/test_render_view_host.cc const gfx::Rect& src_subrect, gfx 148 content/test/test_render_view_host.cc const gfx::Size& desired_size) { gfx 179 content/test/test_render_view_host.cc gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() { gfx 180 content/test/test_render_view_host.cc return gfx::Rect(); gfx 188 content/test/test_render_view_host.cc gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { gfx 200 content/test/test_render_view_host.cc gfx::GLSurfaceHandle TestRenderWidgetHostView::GetCompositingSurface() { gfx 201 content/test/test_render_view_host.cc return gfx::GLSurfaceHandle(); gfx 213 content/test/test_render_view_host.cc gfx::NativeViewAccessible accessible_parent) { gfx 216 content/test/test_render_view_host.cc gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin() gfx 356 content/test/test_render_view_host.cc OnStartDragging(drop_data, drag_operation, SkBitmap(), gfx::Vector2d(), gfx 31 content/test/test_render_view_host.h namespace gfx { gfx 58 content/test/test_render_view_host.h virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE {} gfx 60 content/test/test_render_view_host.h virtual void SetSize(const gfx::Size& size) OVERRIDE {} gfx 61 content/test/test_render_view_host.h virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} gfx 62 content/test/test_render_view_host.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 63 content/test/test_render_view_host.h virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; gfx 64 content/test/test_render_view_host.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 70 content/test/test_render_view_host.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 84 content/test/test_render_view_host.h virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; gfx 92 content/test/test_render_view_host.h const gfx::Rect& pos) OVERRIDE {} gfx 98 content/test/test_render_view_host.h const gfx::Vector2d& scroll_offset, gfx 110 content/test/test_render_view_host.h const gfx::Range& range, gfx 111 content/test/test_render_view_host.h const std::vector<gfx::Rect>& character_bounds) OVERRIDE {} gfx 114 content/test/test_render_view_host.h const gfx::Rect& scroll_rect, gfx 115 content/test/test_render_view_host.h const gfx::Vector2d& scroll_delta, gfx 116 content/test/test_render_view_host.h const std::vector<gfx::Rect>& rects, gfx 126 content/test/test_render_view_host.h virtual void SelectionRootBoundsChanged(const gfx::Rect&) OVERRIDE {} gfx 129 content/test/test_render_view_host.h virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; gfx 131 content/test/test_render_view_host.h const gfx::Rect& src_subrect, gfx 132 content/test/test_render_view_host.h const gfx::Size& dst_size, gfx 136 content/test/test_render_view_host.h const gfx::Rect& src_subrect, gfx 151 content/test/test_render_view_host.h virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; gfx 157 content/test/test_render_view_host.h const gfx::Rect& target_rect, gfx 161 content/test/test_render_view_host.h virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; gfx 166 content/test/test_render_view_host.h virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; gfx 171 content/test/test_render_view_host.h gfx::NativeViewAccessible accessible_parent) OVERRIDE; gfx 172 content/test/test_render_view_host.h virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; gfx 15 content/test/test_video_frame_provider.cc const gfx::Size& size, gfx 26 content/test/test_video_frame_provider.h const gfx::Size& size, gfx 50 content/test/test_video_frame_provider.h gfx::Size size_; gfx 243 content/test/test_web_contents.cc const gfx::Rect& initial_pos, gfx 248 content/test/test_web_contents.cc const gfx::Rect& initial_pos) { gfx 121 content/test/test_web_contents.h const gfx::Rect& initial_pos, gfx 124 content/test/test_web_contents.h const gfx::Rect& initial_pos) OVERRIDE; gfx 18 content/test/test_web_contents_view.cc const gfx::ImageSkia& image, gfx 19 content/test/test_web_contents_view.cc const gfx::Vector2d& image_offset, gfx 32 content/test/test_web_contents_view.cc gfx::NativeView TestWebContentsView::GetNativeView() const { gfx 33 content/test/test_web_contents_view.cc return gfx::NativeView(); gfx 36 content/test/test_web_contents_view.cc gfx::NativeView TestWebContentsView::GetContentNativeView() const { gfx 37 content/test/test_web_contents_view.cc return gfx::NativeView(); gfx 40 content/test/test_web_contents_view.cc gfx::NativeWindow TestWebContentsView::GetTopLevelNativeWindow() const { gfx 41 content/test/test_web_contents_view.cc return gfx::NativeWindow(); gfx 44 content/test/test_web_contents_view.cc void TestWebContentsView::GetContainerBounds(gfx::Rect *out) const { gfx 51 content/test/test_web_contents_view.cc void TestWebContentsView::SizeContents(const gfx::Size& size) { gfx 70 content/test/test_web_contents_view.cc gfx::Rect TestWebContentsView::GetViewBounds() const { gfx 71 content/test/test_web_contents_view.cc return gfx::Rect(); gfx 83 content/test/test_web_contents_view.cc WebContentsView* overlay, const gfx::Point& offset) { gfx 90 content/test/test_web_contents_view.cc void TestWebContentsView::CreateView(const gfx::Size& initial_size, gfx 91 content/test/test_web_contents_view.cc gfx::NativeView context) { gfx 23 content/test/test_web_contents_view.h const gfx::ImageSkia& image, gfx 24 content/test/test_web_contents_view.h const gfx::Vector2d& image_offset, gfx 31 content/test/test_web_contents_view.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 32 content/test/test_web_contents_view.h virtual gfx::NativeView GetContentNativeView() const OVERRIDE; gfx 33 content/test/test_web_contents_view.h virtual gfx::NativeWindow GetTopLevelNativeWindow() const OVERRIDE; gfx 34 content/test/test_web_contents_view.h virtual void GetContainerBounds(gfx::Rect *out) const OVERRIDE; gfx 37 content/test/test_web_contents_view.h virtual void SizeContents(const gfx::Size& size) OVERRIDE; gfx 43 content/test/test_web_contents_view.h virtual gfx::Rect GetViewBounds() const OVERRIDE; gfx 48 content/test/test_web_contents_view.h const gfx::Point& offset) OVERRIDE; gfx 53 content/test/test_web_contents_view.h virtual void CreateView(const gfx::Size& initial_size, gfx 54 content/test/test_web_contents_view.h gfx::NativeView context) OVERRIDE; gfx 144 content/test/web_layer_tree_view_impl_for_testing.cc const gfx::Vector2d& scroll_delta, gfx 68 content/test/web_layer_tree_view_impl_for_testing.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 65 content/utility/utility_main.cc gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx 385 extensions/browser/extension_host.cc const gfx::Rect& initial_pos, gfx 96 extensions/browser/extension_host.h const gfx::Rect& initial_pos, gfx 18 extensions/browser/extension_host_delegate.h namespace gfx { gfx 49 extensions/browser/extension_host_delegate.h const gfx::Rect& initial_pos, gfx 14 extensions/common/draggable_region.h gfx::Rect bounds; gfx 41 extensions/common/extension.h namespace gfx { gfx 93 gpu/command_buffer/client/client_test_helper.h gfx::GpuMemoryBuffer*(size_t width, gfx 32 gpu/command_buffer/client/context_support.h virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) = 0; gfx 41 gpu/command_buffer/client/context_support.h gfx::OverlayTransform plane_transform, gfx 43 gpu/command_buffer/client/context_support.h const gfx::Rect& display_bounds, gfx 44 gpu/command_buffer/client/context_support.h const gfx::RectF& uv_rect) = 0; gfx 55 gpu/command_buffer/client/gl_in_process_context.cc scoped_refptr<gfx::GLSurface> surface, gfx 59 gpu/command_buffer/client/gl_in_process_context.cc gfx::AcceleratedWidget window, gfx 60 gpu/command_buffer/client/gl_in_process_context.cc const gfx::Size& size, gfx 62 gpu/command_buffer/client/gl_in_process_context.cc gfx::GpuPreference gpu_preference, gfx 70 gpu/command_buffer/client/gl_in_process_context.cc virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture( gfx 123 gpu/command_buffer/client/gl_in_process_context.cc scoped_refptr<gfx::GLSurface> surface, gfx 127 gpu/command_buffer/client/gl_in_process_context.cc gfx::AcceleratedWidget window, gfx 128 gpu/command_buffer/client/gl_in_process_context.cc const gfx::Size& size, gfx 130 gpu/command_buffer/client/gl_in_process_context.cc gfx::GpuPreference gpu_preference, gfx 295 gpu/command_buffer/client/gl_in_process_context.cc scoped_refptr<gfx::SurfaceTexture> gfx 318 gpu/command_buffer/client/gl_in_process_context.cc gfx::AcceleratedWidget window, gfx 319 gpu/command_buffer/client/gl_in_process_context.cc const gfx::Size& size, gfx 322 gpu/command_buffer/client/gl_in_process_context.cc gfx::GpuPreference gpu_preference) { gfx 342 gpu/command_buffer/client/gl_in_process_context.cc scoped_refptr<gfx::GLSurface> surface, gfx 346 gpu/command_buffer/client/gl_in_process_context.cc gfx::GpuPreference gpu_preference) { gfx 354 gpu/command_buffer/client/gl_in_process_context.cc gfx::kNullAcceleratedWidget, gfx 16 gpu/command_buffer/client/gl_in_process_context.h namespace gfx { gfx 21 gpu/command_buffer/client/gl_in_process_context.h namespace gfx { gfx 57 gpu/command_buffer/client/gl_in_process_context.h gfx::AcceleratedWidget window, gfx 58 gpu/command_buffer/client/gl_in_process_context.h const gfx::Size& size, gfx 61 gpu/command_buffer/client/gl_in_process_context.h gfx::GpuPreference gpu_preference); gfx 68 gpu/command_buffer/client/gl_in_process_context.h scoped_refptr<gfx::GLSurface> surface, gfx 72 gpu/command_buffer/client/gl_in_process_context.h gfx::GpuPreference gpu_preference); gfx 81 gpu/command_buffer/client/gl_in_process_context.h virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture( gfx 2826 gpu/command_buffer/client/gles2_implementation.cc void GLES2Implementation::PartialSwapBuffers(const gfx::Rect& sub_buffer) { gfx 2842 gpu/command_buffer/client/gles2_implementation.cc gfx::OverlayTransform plane_transform, gfx 2844 gpu/command_buffer/client/gles2_implementation.cc const gfx::Rect& display_bounds, gfx 2845 gpu/command_buffer/client/gles2_implementation.cc const gfx::RectF& uv_rect) { gfx 3942 gpu/command_buffer/client/gles2_implementation.cc gfx::GpuMemoryBuffer* gpu_buffer = gpu_memory_buffer_tracker_->GetBuffer( gfx 3964 gpu/command_buffer/client/gles2_implementation.cc gfx::GpuMemoryBuffer* gpu_buffer = gpu_memory_buffer_tracker_->GetBuffer( gfx 3989 gpu/command_buffer/client/gles2_implementation.cc gfx::GpuMemoryBuffer* gpu_buffer = gpu_memory_buffer_tracker_->GetBuffer( gfx 3995 gpu/command_buffer/client/gles2_implementation.cc gfx::GpuMemoryBuffer::AccessMode mode; gfx 3998 gpu/command_buffer/client/gles2_implementation.cc mode = gfx::GpuMemoryBuffer::WRITE_ONLY; gfx 4001 gpu/command_buffer/client/gles2_implementation.cc mode = gfx::GpuMemoryBuffer::READ_ONLY; gfx 4004 gpu/command_buffer/client/gles2_implementation.cc mode = gfx::GpuMemoryBuffer::READ_WRITE; gfx 4040 gpu/command_buffer/client/gles2_implementation.cc gfx::GpuMemoryBuffer* gpu_buffer = gpu_memory_buffer_tracker_->GetBuffer( gfx 220 gpu/command_buffer/client/gles2_implementation.h virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE; gfx 225 gpu/command_buffer/client/gles2_implementation.h gfx::OverlayTransform plane_transform, gfx 227 gpu/command_buffer/client/gles2_implementation.h const gfx::Rect& display_bounds, gfx 228 gpu/command_buffer/client/gles2_implementation.h const gfx::RectF& uv_rect) OVERRIDE; gfx 3151 gpu/command_buffer/client/gles2_implementation_unittest.cc .WillOnce(Return(static_cast<gfx::GpuMemoryBuffer*>(NULL))); gfx 3169 gpu/command_buffer/client/gles2_implementation_unittest.cc .WillOnce(Return(static_cast<gfx::GpuMemoryBuffer*>(NULL))); gfx 10 gpu/command_buffer/client/gpu_memory_buffer_factory.h namespace gfx { gfx 18 gpu/command_buffer/client/gpu_memory_buffer_factory.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( gfx 28 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc gfx::GpuMemoryBuffer* buffer = gpu_control_->CreateGpuMemoryBuffer( gfx 40 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc gfx::GpuMemoryBuffer* GpuMemoryBufferTracker::GetBuffer(int32 image_id) { gfx 12 gpu/command_buffer/client/gpu_memory_buffer_tracker.h namespace gfx { gfx 28 gpu/command_buffer/client/gpu_memory_buffer_tracker.h gfx::GpuMemoryBuffer* GetBuffer(int32 image_id); gfx 32 gpu/command_buffer/client/gpu_memory_buffer_tracker.h typedef base::hash_map<int32, gfx::GpuMemoryBuffer*> BufferMap; gfx 16 gpu/command_buffer/common/gpu_control.h namespace gfx { gfx 33 gpu/command_buffer/common/gpu_control.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( gfx 26 gpu/command_buffer/common/unittest_main.cc gfx::SetGLGetProcAddressProc(gfx::MockGLInterface::GetGLProcAddress); gfx 27 gpu/command_buffer/common/unittest_main.cc gfx::GLSurface::InitializeOneOffWithMockBindingsForTests(); gfx 28 gpu/command_buffer/common/unittest_main.cc gfx::GLSurface::InitializeDynamicMockBindingsForTests(NULL); gfx 29 gpu/command_buffer/service/async_pixel_transfer_manager.h namespace gfx { gfx 57 gpu/command_buffer/service/async_pixel_transfer_manager.h static AsyncPixelTransferManager* Create(gfx::GLContext* context); gfx 45 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc gfx::GLContext* context) { gfx 47 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc switch (gfx::GetGLImplementation()) { gfx 48 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc case gfx::kGLImplementationEGLGLES2: gfx 61 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc case gfx::kGLImplementationOSMesaGL: gfx 63 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc case gfx::kGLImplementationMockGL: gfx 101 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc gfx::GLShareGroup* share_group = NULL; gfx 102 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc surface_ = new gfx::PbufferGLSurfaceEGL(gfx::Size(1, 1)); gfx 104 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc context_ = gfx::GLContext::CreateGLContext( gfx 105 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc share_group, surface_.get(), gfx::PreferDiscreteGpu); gfx 117 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc scoped_refptr<gfx::GLContext> context_; gfx 118 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc scoped_refptr<gfx::GLSurface> surface_; gfx 680 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc scoped_ptr<gfx::ScopedTextureBinder> texture_binder; gfx 694 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc texture_binder.reset(new gfx::ScopedTextureBinder(GL_TEXTURE_2D, 0)); gfx 150 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc gfx::ScopedTextureBinder texture_binder(tex_params.target, texture_id_); gfx 186 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc gfx::ScopedTextureBinder texture_binder(tex_params.target, texture_id_); gfx 18 gpu/command_buffer/service/async_pixel_transfer_manager_linux.cc gfx::GLContext* context) { gfx 27 gpu/command_buffer/service/async_pixel_transfer_manager_linux.cc switch (gfx::GetGLImplementation()) { gfx 28 gpu/command_buffer/service/async_pixel_transfer_manager_linux.cc case gfx::kGLImplementationOSMesaGL: gfx 29 gpu/command_buffer/service/async_pixel_transfer_manager_linux.cc case gfx::kGLImplementationDesktopGL: gfx 30 gpu/command_buffer/service/async_pixel_transfer_manager_linux.cc case gfx::kGLImplementationEGLGLES2: gfx 32 gpu/command_buffer/service/async_pixel_transfer_manager_linux.cc case gfx::kGLImplementationMockGL: gfx 15 gpu/command_buffer/service/async_pixel_transfer_manager_mac.cc gfx::GLContext* context) { gfx 17 gpu/command_buffer/service/async_pixel_transfer_manager_mac.cc switch (gfx::GetGLImplementation()) { gfx 18 gpu/command_buffer/service/async_pixel_transfer_manager_mac.cc case gfx::kGLImplementationOSMesaGL: gfx 19 gpu/command_buffer/service/async_pixel_transfer_manager_mac.cc case gfx::kGLImplementationDesktopGL: gfx 20 gpu/command_buffer/service/async_pixel_transfer_manager_mac.cc case gfx::kGLImplementationAppleGL: gfx 22 gpu/command_buffer/service/async_pixel_transfer_manager_mac.cc case gfx::kGLImplementationMockGL: gfx 59 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc void InitializeOnMainThread(gfx::GLContext* parent_context) { gfx 82 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc scoped_refptr<gfx::GLSurface> surface_; gfx 83 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc scoped_refptr<gfx::GLContext> context_; gfx 85 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc void InitializeOnTransferThread(gfx::GLContext* parent_context, gfx 95 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc surface_ = gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1)); gfx 106 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc context_ = gfx::GLContext::CreateGLContext(parent_context->share_group(), gfx 108 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc gfx::PreferIntegratedGpu); gfx 476 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc gfx::GLContext* context) { gfx 483 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc scoped_ptr<gfx::ScopedTextureBinder> texture_binder; gfx 497 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc texture_binder.reset(new gfx::ScopedTextureBinder(GL_TEXTURE_2D, 0)); gfx 12 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.h namespace gfx { gfx 22 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.h explicit AsyncPixelTransferManagerShareGroup(gfx::GLContext* context); gfx 15 gpu/command_buffer/service/async_pixel_transfer_manager_win.cc gfx::GLContext* context) { gfx 17 gpu/command_buffer/service/async_pixel_transfer_manager_win.cc switch (gfx::GetGLImplementation()) { gfx 18 gpu/command_buffer/service/async_pixel_transfer_manager_win.cc case gfx::kGLImplementationOSMesaGL: gfx 19 gpu/command_buffer/service/async_pixel_transfer_manager_win.cc case gfx::kGLImplementationDesktopGL: gfx 20 gpu/command_buffer/service/async_pixel_transfer_manager_win.cc case gfx::kGLImplementationEGLGLES2: gfx 22 gpu/command_buffer/service/async_pixel_transfer_manager_win.cc case gfx::kGLImplementationMockGL: gfx 26 gpu/command_buffer/service/buffer_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 27 gpu/command_buffer/service/buffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 39 gpu/command_buffer/service/buffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 77 gpu/command_buffer/service/buffer_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 197 gpu/command_buffer/service/context_group.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) { gfx 226 gpu/command_buffer/service/context_group.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationOSMesaGL) { gfx 14 gpu/command_buffer/service/context_group_unittest.cc using ::gfx::MockGLInterface; gfx 38 gpu/command_buffer/service/context_group_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 39 gpu/command_buffer/service/context_group_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 46 gpu/command_buffer/service/context_group_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 50 gpu/command_buffer/service/context_group_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 206 gpu/command_buffer/service/context_state.cc gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) { gfx 380 gpu/command_buffer/service/feature_info.cc gfx::HasDesktopGLFeatures()) { gfx 423 gpu/command_buffer/service/feature_info.cc if (extensions.Contains("GL_OES_rgb8_rgba8") || gfx::HasDesktopGLFeatures()) { gfx 588 gpu/command_buffer/service/feature_info.cc if (extensions.Contains("GL_OES_depth24") || gfx::HasDesktopGLFeatures() || gfx 597 gpu/command_buffer/service/feature_info.cc gfx::HasDesktopGLFeatures())) { gfx 744 gpu/command_buffer/service/feature_info.cc if (extensions.Contains("GL_EXT_frag_depth") || gfx::HasDesktopGLFeatures()) { gfx 18 gpu/command_buffer/service/feature_info_unittest.cc using ::gfx::MockGLInterface; gfx 74 gpu/command_buffer/service/feature_info_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 75 gpu/command_buffer/service/feature_info_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 80 gpu/command_buffer/service/feature_info_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 84 gpu/command_buffer/service/feature_info_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 45 gpu/command_buffer/service/framebuffer_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 46 gpu/command_buffer/service/framebuffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 50 gpu/command_buffer/service/framebuffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 55 gpu/command_buffer/service/framebuffer_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 130 gpu/command_buffer/service/framebuffer_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 131 gpu/command_buffer/service/framebuffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 142 gpu/command_buffer/service/framebuffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 147 gpu/command_buffer/service/framebuffer_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 14 gpu/command_buffer/service/gl_context_virtual.cc gfx::GLShareGroup* share_group, gfx 15 gpu/command_buffer/service/gl_context_virtual.cc gfx::GLContext* shared_context, gfx 23 gpu/command_buffer/service/gl_context_virtual.cc gfx::Display* GLContextVirtual::display() { gfx 28 gpu/command_buffer/service/gl_context_virtual.cc gfx::GLSurface* compatible_surface, gfx::GpuPreference gpu_preference) { gfx 31 gpu/command_buffer/service/gl_context_virtual.cc display_ = static_cast<gfx::Display*>(compatible_surface->GetDisplay()); gfx 56 gpu/command_buffer/service/gl_context_virtual.cc bool GLContextVirtual::MakeCurrent(gfx::GLSurface* surface) { gfx 64 gpu/command_buffer/service/gl_context_virtual.cc void GLContextVirtual::ReleaseCurrent(gfx::GLSurface* surface) { gfx 71 gpu/command_buffer/service/gl_context_virtual.cc bool GLContextVirtual::IsCurrent(gfx::GLSurface* surface) { gfx 15 gpu/command_buffer/service/gl_context_virtual.h namespace gfx { gfx 27 gpu/command_buffer/service/gl_context_virtual.h class GPU_EXPORT GLContextVirtual : public gfx::GLContext { gfx 30 gpu/command_buffer/service/gl_context_virtual.h gfx::GLShareGroup* share_group, gfx 31 gpu/command_buffer/service/gl_context_virtual.h gfx::GLContext* shared_context, gfx 34 gpu/command_buffer/service/gl_context_virtual.h gfx::Display* display(); gfx 38 gpu/command_buffer/service/gl_context_virtual.h gfx::GLSurface* compatible_surface, gfx 39 gpu/command_buffer/service/gl_context_virtual.h gfx::GpuPreference gpu_preference) OVERRIDE; gfx 41 gpu/command_buffer/service/gl_context_virtual.h virtual bool MakeCurrent(gfx::GLSurface* surface) OVERRIDE; gfx 42 gpu/command_buffer/service/gl_context_virtual.h virtual void ReleaseCurrent(gfx::GLSurface* surface) OVERRIDE; gfx 43 gpu/command_buffer/service/gl_context_virtual.h virtual bool IsCurrent(gfx::GLSurface* surface) OVERRIDE; gfx 56 gpu/command_buffer/service/gl_context_virtual.h scoped_refptr<gfx::GLContext> shared_context_; gfx 57 gpu/command_buffer/service/gl_context_virtual.h gfx::Display* display_; gfx 24 gpu/command_buffer/service/gl_state_restorer_impl.cc void GLStateRestorerImpl::RestoreState(const gfx::GLStateRestorer* prev_state) { gfx 22 gpu/command_buffer/service/gl_state_restorer_impl.h class GPU_EXPORT GLStateRestorerImpl : public gfx::GLStateRestorer { gfx 28 gpu/command_buffer/service/gl_state_restorer_impl.h virtual void RestoreState(const gfx::GLStateRestorer* prev_state) OVERRIDE; gfx 13 gpu/command_buffer/service/gl_surface_mock.h class GLSurfaceMock : public gfx::GLSurface { gfx 19 gpu/command_buffer/service/gl_surface_mock.h MOCK_METHOD1(Resize, bool(const gfx::Size& size)); gfx 24 gpu/command_buffer/service/gl_surface_mock.h MOCK_METHOD0(GetSize, gfx::Size()); gfx 27 gpu/command_buffer/service/gl_surface_mock.h MOCK_METHOD1(OnMakeCurrent, bool(gfx::GLContext* context)); gfx 124 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2 && gfx 125 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::g_driver_gl.fn.glGetShaderPrecisionFormatFn) { gfx 408 gpu/command_buffer/service/gles2_cmd_decoder.cc bool AllocateStorage(const gfx::Size& size, GLenum format, bool zero); gfx 411 gpu/command_buffer/service/gles2_cmd_decoder.cc void Copy(const gfx::Size& size, GLenum format); gfx 425 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size size() const { gfx 434 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size size_; gfx 452 gpu/command_buffer/service/gles2_cmd_decoder.cc const gfx::Size& size, gfx 516 gpu/command_buffer/service/gles2_cmd_decoder.cc : fence(gfx::GLFence::Create()) { gfx 520 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_ptr<gfx::GLFence> fence; gfx 584 gpu/command_buffer/service/gles2_cmd_decoder.cc virtual bool Initialize(const scoped_refptr<gfx::GLSurface>& surface, gfx 585 gpu/command_buffer/service/gles2_cmd_decoder.cc const scoped_refptr<gfx::GLContext>& context, gfx 587 gpu/command_buffer/service/gles2_cmd_decoder.cc const gfx::Size& size, gfx 592 gpu/command_buffer/service/gles2_cmd_decoder.cc const scoped_refptr<gfx::GLSurface>& surface) OVERRIDE; gfx 594 gpu/command_buffer/service/gles2_cmd_decoder.cc virtual bool ResizeOffscreenFrameBuffer(const gfx::Size& size) OVERRIDE; gfx 598 gpu/command_buffer/service/gles2_cmd_decoder.cc virtual gfx::GLContext* GetGLContext() OVERRIDE { return context_.get(); } gfx 648 gpu/command_buffer/service/gles2_cmd_decoder.cc const base::Callback<void(gfx::Size, float)>& callback) OVERRIDE; gfx 835 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size GetBoundReadFrameBufferSize(); gfx 1639 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_refptr<gfx::GLSurface> surface_; gfx 1640 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_refptr<gfx::GLContext> context_; gfx 1652 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size offscreen_size_; gfx 1715 gpu/command_buffer/service/gles2_cmd_decoder.cc base::Callback<void(gfx::Size, float)> resize_callback_; gfx 2005 gpu/command_buffer/service/gles2_cmd_decoder.cc const gfx::Size& size, GLenum format, bool zero) { gfx 2046 gpu/command_buffer/service/gles2_cmd_decoder.cc void BackTexture::Copy(const gfx::Size& size, GLenum format) { gfx 2101 gpu/command_buffer/service/gles2_cmd_decoder.cc const gfx::Size& size, gfx 2287 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationMockGL || gfx 2298 gpu/command_buffer/service/gles2_cmd_decoder.cc const scoped_refptr<gfx::GLSurface>& surface, gfx 2299 gpu/command_buffer/service/gles2_cmd_decoder.cc const scoped_refptr<gfx::GLContext>& context, gfx 2301 gpu/command_buffer/service/gles2_cmd_decoder.cc const gfx::Size& size, gfx 2377 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) { gfx 2430 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) { gfx 2534 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size(1, 1), offscreen_saved_color_format_, true); gfx 2576 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) { gfx 2755 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2 ? gfx 3133 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size GLES2DecoderImpl::GetBoundReadFrameBufferSize() { gfx 3140 gpu/command_buffer/service/gles2_cmd_decoder.cc return gfx::Size(attachment->width(), attachment->height()); gfx 3142 gpu/command_buffer/service/gles2_cmd_decoder.cc return gfx::Size(0, 0); gfx 3231 gpu/command_buffer/service/gles2_cmd_decoder.cc const base::Callback<void(gfx::Size, float)>& callback) { gfx 3449 gpu/command_buffer/service/gles2_cmd_decoder.cc const scoped_refptr<gfx::GLSurface>& surface) { gfx 3473 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GLES2DecoderImpl::ResizeOffscreenFrameBuffer(const gfx::Size& size) { gfx 3608 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!ResizeOffscreenFrameBuffer(gfx::Size(width, height))) { gfx 3616 gpu/command_buffer/service/gles2_cmd_decoder.cc resize_callback_.Run(gfx::Size(width, height), scale_factor); gfx 4084 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) { gfx 4232 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) { gfx 5994 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GLImage* image = texture->GetLevelImage(textarget, 0); gfx 6010 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GLImage* image = texture->GetLevelImage(textarget, 0); gfx 6060 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GLImage* image = texture->GetLevelImage(textarget, 0); gfx 6104 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GLImage* image = gfx 6180 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) gfx 6266 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) { gfx 6280 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) gfx 7389 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size max_size = GetBoundReadFrameBufferSize(); gfx 8375 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size size = GetBoundReadFrameBufferSize(); gfx 8484 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size size = GetBoundReadFrameBufferSize(); gfx 9019 gpu/command_buffer/service/gles2_cmd_decoder.cc "GLImpl", static_cast<int>(gfx::GetGLImplementation()), gfx 9696 gpu/command_buffer/service/gles2_cmd_decoder.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL) { gfx 9861 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GLImage* image = gfx 9864 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size size = image->GetSize(); gfx 10251 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GLImage* gl_image = image_manager()->LookupImage(image_id); gfx 10270 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::Size size = gl_image->GetSize(); gfx 10292 gpu/command_buffer/service/gles2_cmd_decoder.cc gfx::GLImage* gl_image = image_manager()->LookupImage(image_id); gfx 22 gpu/command_buffer/service/gles2_cmd_decoder.h namespace gfx { gfx 105 gpu/command_buffer/service/gles2_cmd_decoder.h virtual bool Initialize(const scoped_refptr<gfx::GLSurface>& surface, gfx 106 gpu/command_buffer/service/gles2_cmd_decoder.h const scoped_refptr<gfx::GLContext>& context, gfx 108 gpu/command_buffer/service/gles2_cmd_decoder.h const gfx::Size& size, gfx 116 gpu/command_buffer/service/gles2_cmd_decoder.h virtual void SetSurface(const scoped_refptr<gfx::GLSurface>& surface) = 0; gfx 121 gpu/command_buffer/service/gles2_cmd_decoder.h virtual bool ResizeOffscreenFrameBuffer(const gfx::Size& size) = 0; gfx 130 gpu/command_buffer/service/gles2_cmd_decoder.h virtual gfx::GLContext* GetGLContext() = 0; gfx 173 gpu/command_buffer/service/gles2_cmd_decoder.h const base::Callback<void(gfx::Size, float)>& callback) = 0; gfx 18 gpu/command_buffer/service/gles2_cmd_decoder_mock.h namespace gfx { gfx 37 gpu/command_buffer/service/gles2_cmd_decoder_mock.h bool(const scoped_refptr<gfx::GLSurface>& surface, gfx 38 gpu/command_buffer/service/gles2_cmd_decoder_mock.h const scoped_refptr<gfx::GLContext>& context, gfx 40 gpu/command_buffer/service/gles2_cmd_decoder_mock.h const gfx::Size& size, gfx 44 gpu/command_buffer/service/gles2_cmd_decoder_mock.h MOCK_METHOD1(SetSurface, void(const scoped_refptr<gfx::GLSurface>& surface)); gfx 46 gpu/command_buffer/service/gles2_cmd_decoder_mock.h MOCK_METHOD1(ResizeOffscreenFrameBuffer, bool(const gfx::Size& size)); gfx 50 gpu/command_buffer/service/gles2_cmd_decoder_mock.h MOCK_METHOD0(GetGLSurface, gfx::GLSurface*()); gfx 51 gpu/command_buffer/service/gles2_cmd_decoder_mock.h MOCK_METHOD0(GetGLContext, gfx::GLContext*()); gfx 77 gpu/command_buffer/service/gles2_cmd_decoder_mock.h SetResizeCallback, void(const base::Callback<void(gfx::Size, float)>&)); gfx 36 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc using ::gfx::MockGLInterface; gfx 1484 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ScopedGLImplementationSetter gl_impl(::gfx::kGLImplementationEGLGLES2); gfx 2475 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc surface_->SetSize(gfx::Size(INT_MAX, INT_MAX)); gfx 2522 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc surface_->SetSize(gfx::Size(INT_MAX, INT_MAX)); gfx 6898 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ::testing::StrictMock< ::gfx::MockGLInterface>* gl = test->GetGLMock(); gfx 7632 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc group().image_manager()->AddImage(gfx::GLImage::CreateGLImage(0).get(), 1); gfx 7670 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc group().image_manager()->AddImage(gfx::GLImage::CreateGLImage(0).get(), 1); gfx 7680 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc group().image_manager()->AddImage(gfx::GLImage::CreateGLImage(0).get(), 1); gfx 7707 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc group().image_manager()->AddImage(gfx::GLImage::CreateGLImage(0).get(), 1); gfx 7750 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc class MockGLImage : public gfx::GLImage { gfx 7756 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc MOCK_METHOD0(GetSize, gfx::Size()); gfx 7790 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc .WillOnce(Return(gfx::Size(1, 1))) gfx 8573 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc gfx::MockGLInterface::GetGLProcAddress("glInvalidateFramebuffer") == gfx 8574 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc gfx::g_driver_gl.fn.glDiscardFramebufferEXTFn); gfx 8576 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc gfx::MockGLInterface::GetGLProcAddress("glInvalidateFramebuffer") != gfx 8577 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc gfx::MockGLInterface::GetGLProcAddress("glDiscardFramebufferEXT")); gfx 8588 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc gfx::MockGLInterface::GetGLProcAddress("glDiscardFramebufferEXT") == gfx 8589 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc gfx::g_driver_gl.fn.glDiscardFramebufferEXTFn); gfx 16 gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc using ::gfx::MockGLInterface; gfx 16 gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc using ::gfx::MockGLInterface; gfx 16 gpu/command_buffer/service/gles2_cmd_decoder_unittest_3.cc using ::gfx::MockGLInterface; gfx 26 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc using ::gfx::MockGLInterface; gfx 100 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc gfx::SetGLGetProcAddressProc(gfx::MockGLInterface::GetGLProcAddress); gfx 101 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc gfx::GLSurface::InitializeOneOffWithMockBindingsForTests(); gfx 104 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 122 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc surface_ = new gfx::GLSurfaceStub; gfx 123 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc surface_->SetSize(gfx::Size(kBackBufferWidth, kBackBufferHeight)); gfx 128 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc context_ = new gfx::GLContextStubWithExtensions; gfx 133 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc gfx::GLSurface::InitializeDynamicMockBindingsForTests(context_); gfx 345 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 1011 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) { gfx 1368 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2) { gfx 179 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h ::testing::StrictMock< ::gfx::MockGLInterface>* GetGLMock() const { gfx 486 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 487 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h scoped_refptr<gfx::GLSurfaceStub> surface_; gfx 488 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h scoped_refptr<gfx::GLContextStubWithExtensions> context_; gfx 36 gpu/command_buffer/service/gpu_control_service.cc gfx::GpuMemoryBuffer* GpuControlService::CreateGpuMemoryBuffer( gfx 44 gpu/command_buffer/service/gpu_control_service.cc linked_ptr<gfx::GpuMemoryBuffer> buffer = make_linked_ptr( gfx 115 gpu/command_buffer/service/gpu_control_service.cc gfx::GpuMemoryBufferHandle buffer, gfx 35 gpu/command_buffer/service/gpu_control_service.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( gfx 55 gpu/command_buffer/service/gpu_control_service.h gfx::GpuMemoryBufferHandle buffer, gfx 65 gpu/command_buffer/service/gpu_control_service.h typedef std::map<int32, linked_ptr<gfx::GpuMemoryBuffer> > GpuMemoryBufferMap; gfx 19 gpu/command_buffer/service/gpu_memory_buffer_manager.h gfx::GpuMemoryBufferHandle buffer, gfx 229 gpu/command_buffer/service/gpu_scheduler.cc new UnscheduleFence(gfx::GLFence::Create(), task))); gfx 302 gpu/command_buffer/service/gpu_scheduler.cc GpuScheduler::UnscheduleFence::UnscheduleFence(gfx::GLFence* fence_, gfx 24 gpu/command_buffer/service/gpu_scheduler.h namespace gfx { gfx 146 gpu/command_buffer/service/gpu_scheduler.h UnscheduleFence(gfx::GLFence* fence, base::Closure task); gfx 149 gpu/command_buffer/service/gpu_scheduler.h scoped_ptr<gfx::GLFence> fence; gfx 24 gpu/command_buffer/service/gpu_state_tracer.cc bool SaveScreenshot(const gfx::Size& size); gfx 36 gpu/command_buffer/service/gpu_state_tracer.cc gfx::Size screenshot_size_; gfx 49 gpu/command_buffer/service/gpu_state_tracer.cc bool Snapshot::SaveScreenshot(const gfx::Size& size) { gfx 81 gpu/command_buffer/service/gpu_state_tracer.cc bool png_ok = gfx::PNGCodec::Encode(&screenshot_pixels_[0], gfx 82 gpu/command_buffer/service/gpu_state_tracer.cc gfx::PNGCodec::FORMAT_RGBA, gfx 86 gpu/command_buffer/service/gpu_state_tracer.cc std::vector<gfx::PNGCodec::Comment>(), gfx 114 gpu/command_buffer/service/gpu_state_tracer.cc void GPUStateTracer::TakeSnapshotWithCurrentFramebuffer(const gfx::Size& size) { gfx 11 gpu/command_buffer/service/gpu_state_tracer.h namespace gfx { gfx 27 gpu/command_buffer/service/gpu_state_tracer.h void TakeSnapshotWithCurrentFramebuffer(const gfx::Size& size); gfx 411 gpu/command_buffer/service/gpu_tracer.cc if (gfx::g_driver_gl.ext.b_GL_ARB_timer_query) { gfx 15 gpu/command_buffer/service/gpu_tracer_unittest.cc using ::gfx::MockGLInterface; gfx 120 gpu/command_buffer/service/gpu_tracer_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 121 gpu/command_buffer/service/gpu_tracer_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 126 gpu/command_buffer/service/gpu_tracer_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 157 gpu/command_buffer/service/gpu_tracer_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 19 gpu/command_buffer/service/image_manager.cc gfx::GpuMemoryBufferHandle buffer, gfx 33 gpu/command_buffer/service/image_manager.cc scoped_refptr<gfx::GLImage> gl_image = gfx 34 gpu/command_buffer/service/image_manager.cc gfx::GLImage::CreateGLImageForGpuMemoryBuffer(buffer, gfx 35 gpu/command_buffer/service/image_manager.cc gfx::Size(width, height), gfx 51 gpu/command_buffer/service/image_manager.cc void ImageManager::AddImage(gfx::GLImage* image, int32 service_id) { gfx 59 gpu/command_buffer/service/image_manager.cc gfx::GLImage* ImageManager::LookupImage(int32 service_id) { gfx 14 gpu/command_buffer/service/image_manager.h namespace gfx { gfx 30 gpu/command_buffer/service/image_manager.h gfx::GpuMemoryBufferHandle buffer, gfx 36 gpu/command_buffer/service/image_manager.h void AddImage(gfx::GLImage* gl_image, int32 service_id); gfx 38 gpu/command_buffer/service/image_manager.h gfx::GLImage* LookupImage(int32 service_id); gfx 48 gpu/command_buffer/service/image_manager.h typedef base::hash_map<uint32, scoped_refptr<gfx::GLImage> > GLImageMap; gfx 225 gpu/command_buffer/service/in_process_command_buffer.cc void InProcessCommandBuffer::OnResizeView(gfx::Size size, float scale_factor) { gfx 261 gpu/command_buffer/service/in_process_command_buffer.cc scoped_refptr<gfx::GLSurface> surface, gfx 263 gpu/command_buffer/service/in_process_command_buffer.cc gfx::AcceleratedWidget window, gfx 264 gpu/command_buffer/service/in_process_command_buffer.cc const gfx::Size& size, gfx 266 gpu/command_buffer/service/in_process_command_buffer.cc gfx::GpuPreference gpu_preference, gfx 330 gpu/command_buffer/service/in_process_command_buffer.cc : new gfx::GLShareGroup; gfx 357 gpu/command_buffer/service/in_process_command_buffer.cc surface_ = gfx::GLSurface::CreateOffscreenGLSurface(params.size); gfx 359 gpu/command_buffer/service/in_process_command_buffer.cc surface_ = gfx::GLSurface::CreateViewGLSurface(params.window); gfx 371 gpu/command_buffer/service/in_process_command_buffer.cc context_ = gfx::GLContext::CreateGLContext( gfx 384 gpu/command_buffer/service/in_process_command_buffer.cc context_ = gfx::GLContext::CreateGLContext( gfx 605 gpu/command_buffer/service/in_process_command_buffer.cc gfx::GpuMemoryBuffer* InProcessCommandBuffer::CreateGpuMemoryBuffer( gfx 750 gpu/command_buffer/service/in_process_command_buffer.cc scoped_refptr<gfx::SurfaceTexture> gfx 29 gpu/command_buffer/service/in_process_command_buffer.h namespace gfx { gfx 37 gpu/command_buffer/service/in_process_command_buffer.h namespace gfx { gfx 73 gpu/command_buffer/service/in_process_command_buffer.h bool Initialize(scoped_refptr<gfx::GLSurface> surface, gfx 75 gpu/command_buffer/service/in_process_command_buffer.h gfx::AcceleratedWidget window, gfx 76 gpu/command_buffer/service/in_process_command_buffer.h const gfx::Size& size, gfx 78 gpu/command_buffer/service/in_process_command_buffer.h gfx::GpuPreference gpu_preference, gfx 99 gpu/command_buffer/service/in_process_command_buffer.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( gfx 138 gpu/command_buffer/service/in_process_command_buffer.h scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture( gfx 145 gpu/command_buffer/service/in_process_command_buffer.h gfx::AcceleratedWidget window; gfx 146 gpu/command_buffer/service/in_process_command_buffer.h const gfx::Size& size; gfx 148 gpu/command_buffer/service/in_process_command_buffer.h gfx::GpuPreference gpu_preference; gfx 153 gpu/command_buffer/service/in_process_command_buffer.h gfx::AcceleratedWidget window, gfx 154 gpu/command_buffer/service/in_process_command_buffer.h const gfx::Size& size, gfx 156 gpu/command_buffer/service/in_process_command_buffer.h gfx::GpuPreference gpu_preference, gfx 183 gpu/command_buffer/service/in_process_command_buffer.h void OnResizeView(gfx::Size size, float scale_factor); gfx 196 gpu/command_buffer/service/in_process_command_buffer.h scoped_refptr<gfx::GLContext> context_; gfx 197 gpu/command_buffer/service/in_process_command_buffer.h scoped_refptr<gfx::GLSurface> surface_; gfx 213 gpu/command_buffer/service/in_process_command_buffer.h scoped_refptr<gfx::GLShareGroup> gl_share_group_; gfx 191 gpu/command_buffer/service/mailbox_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 192 gpu/command_buffer/service/mailbox_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 193 gpu/command_buffer/service/mailbox_manager_unittest.cc context_ = new gfx::GLContextStub(); gfx 194 gpu/command_buffer/service/mailbox_manager_unittest.cc surface_ = new gfx::GLSurfaceStub(); gfx 258 gpu/command_buffer/service/mailbox_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 262 gpu/command_buffer/service/mailbox_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 264 gpu/command_buffer/service/mailbox_manager_unittest.cc scoped_refptr<gfx::GLContext> context_; gfx 265 gpu/command_buffer/service/mailbox_manager_unittest.cc scoped_refptr<gfx::GLSurface> surface_; gfx 24 gpu/command_buffer/service/mailbox_synchronizer.cc DCHECK(gfx::GetGLImplementation() != gfx::kGLImplementationNone) gfx 26 gpu/command_buffer/service/mailbox_synchronizer.cc switch (gfx::GetGLImplementation()) { gfx 27 gpu/command_buffer/service/mailbox_synchronizer.cc case gfx::kGLImplementationMockGL: gfx 29 gpu/command_buffer/service/mailbox_synchronizer.cc case gfx::kGLImplementationEGLGLES2: gfx 32 gpu/command_buffer/service/mailbox_synchronizer.cc if (!gfx::g_driver_egl.ext.b_EGL_KHR_image_base || gfx 33 gpu/command_buffer/service/mailbox_synchronizer.cc !gfx::g_driver_egl.ext.b_EGL_KHR_gl_texture_2D_image || gfx 34 gpu/command_buffer/service/mailbox_synchronizer.cc !gfx::g_driver_gl.ext.b_GL_OES_EGL_image || gfx 35 gpu/command_buffer/service/mailbox_synchronizer.cc !gfx::g_driver_egl.ext.b_EGL_KHR_fence_sync) { gfx 182 gpu/command_buffer/service/mailbox_synchronizer.cc gfx::GLImage* gl_image = texture->GetLevelImage(texture->target(), 0); gfx 95 gpu/command_buffer/service/memory_program_cache_unittest.cc gl_.reset(new ::testing::StrictMock<gfx::MockGLInterface>()); gfx 96 gpu/command_buffer/service/memory_program_cache_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 141 gpu/command_buffer/service/memory_program_cache_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 185 gpu/command_buffer/service/memory_program_cache_unittest.cc scoped_ptr< ::testing::StrictMock<gfx::MockGLInterface> > gl_; gfx 652 gpu/command_buffer/service/program_manager.cc if (cache && gfx::g_driver_gl.ext.b_GL_ARB_get_program_binary) { gfx 22 gpu/command_buffer/service/program_manager_unittest.cc using ::gfx::MockGLInterface; gfx 53 gpu/command_buffer/service/program_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 54 gpu/command_buffer/service/program_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 58 gpu/command_buffer/service/program_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 63 gpu/command_buffer/service/program_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 231 gpu/command_buffer/service/program_manager_unittest.cc gl_.reset(new StrictMock<gfx::MockGLInterface>()); gfx 232 gpu/command_buffer/service/program_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 276 gpu/command_buffer/service/program_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 401 gpu/command_buffer/service/program_manager_unittest.cc scoped_ptr<StrictMock<gfx::MockGLInterface> > gl_; gfx 1595 gpu/command_buffer/service/program_manager_unittest.cc gl_.reset(new StrictMock<gfx::MockGLInterface>()); gfx 1596 gpu/command_buffer/service/program_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 1616 gpu/command_buffer/service/program_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 1717 gpu/command_buffer/service/program_manager_unittest.cc if (gfx::g_driver_gl.ext.b_GL_ARB_get_program_binary) { gfx 1760 gpu/command_buffer/service/program_manager_unittest.cc scoped_ptr<StrictMock<gfx::MockGLInterface> > gl_; gfx 41 gpu/command_buffer/service/query_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 42 gpu/command_buffer/service/query_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 59 gpu/command_buffer/service/query_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 86 gpu/command_buffer/service/query_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 179 gpu/command_buffer/service/renderbuffer_manager.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) { gfx 26 gpu/command_buffer/service/renderbuffer_manager_unittest.cc gl_.reset(new ::testing::StrictMock<gfx::MockGLInterface>()); gfx 27 gpu/command_buffer/service/renderbuffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 35 gpu/command_buffer/service/renderbuffer_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 40 gpu/command_buffer/service/renderbuffer_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 306 gpu/command_buffer/service/renderbuffer_manager_unittest.cc gfx::GLImplementation prev_impl = gfx::GetGLImplementation(); gfx 307 gpu/command_buffer/service/renderbuffer_manager_unittest.cc gfx::SetGLImplementation(gfx::kGLImplementationEGLGLES2); gfx 310 gpu/command_buffer/service/renderbuffer_manager_unittest.cc gfx::SetGLImplementation(prev_impl); gfx 315 gpu/command_buffer/service/renderbuffer_manager_unittest.cc gfx::GLImplementation prev_impl = gfx::GetGLImplementation(); gfx 316 gpu/command_buffer/service/renderbuffer_manager_unittest.cc gfx::SetGLImplementation(gfx::kGLImplementationDesktopGL); gfx 319 gpu/command_buffer/service/renderbuffer_manager_unittest.cc gfx::SetGLImplementation(prev_impl); gfx 29 gpu/command_buffer/service/shader_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 30 gpu/command_buffer/service/shader_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 34 gpu/command_buffer/service/shader_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 39 gpu/command_buffer/service/shader_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 20 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc class GLImageImpl : public gfx::GLImage { gfx 22 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc GLImageImpl(const scoped_refptr<gfx::SurfaceTexture>& surface_texture, gfx 27 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc virtual gfx::Size GetSize() OVERRIDE; gfx 38 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc scoped_refptr<gfx::SurfaceTexture> surface_texture_; gfx 45 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc const scoped_refptr<gfx::SurfaceTexture>& surface_texture, gfx 70 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc gfx::Size GLImageImpl::GetSize() { gfx 71 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc return gfx::Size(); gfx 98 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc scoped_refptr<gfx::SurfaceTexture> surface_texture( gfx 99 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc gfx::SurfaceTexture::Create(texture->service_id())); gfx 105 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc scoped_refptr<gfx::GLImage> gl_image(new GLImageImpl(surface_texture, gfx 108 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc gfx::Size size = gl_image->GetSize(); gfx 141 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc scoped_refptr<gfx::SurfaceTexture> gfx 15 gpu/command_buffer/service/stream_texture_manager_in_process_android.h namespace gfx { gfx 34 gpu/command_buffer/service/stream_texture_manager_in_process_android.h scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture(uint32 stream_id); gfx 39 gpu/command_buffer/service/stream_texture_manager_in_process_android.h typedef std::map<uint32, scoped_refptr<gfx::SurfaceTexture> > TextureMap; gfx 64 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, GLenum target) { gfx 141 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, gfx 171 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, GLenum target) { gfx 196 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, gfx 228 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, gfx 284 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, const char* extensions) { gfx 289 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, gfx 379 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms) { gfx 458 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, gfx 564 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, gfx 580 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, MockErrorState* error_state, gfx 604 gpu/command_buffer/service/test_helper.cc ::gfx::MockGLInterface* gl, MockErrorState* error_state, gfx 627 gpu/command_buffer/service/test_helper.cc gfx::GLImplementation implementation) gfx 628 gpu/command_buffer/service/test_helper.cc : old_implementation_(gfx::GetGLImplementation()) { gfx 629 gpu/command_buffer/service/test_helper.cc gfx::SetGLImplementation(implementation); gfx 633 gpu/command_buffer/service/test_helper.cc gfx::SetGLImplementation(old_implementation_); gfx 66 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, gfx 71 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, const char* extensions); gfx 73 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, gfx 78 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, const char* extensions); gfx 80 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, const char* extensions); gfx 83 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, UniformInfo* uniforms, size_t num_uniforms); gfx 86 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, gfx 91 gpu/command_buffer/service/test_helper.h static void SetupProgramSuccessExpectations(::gfx::MockGLInterface* gl, gfx 97 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, MockErrorState* error_state, gfx 102 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, MockErrorState* error_state, gfx 108 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, GLenum target); gfx 110 gpu/command_buffer/service/test_helper.h ::gfx::MockGLInterface* gl, GLenum target); gfx 118 gpu/command_buffer/service/test_helper.h explicit ScopedGLImplementationSetter(gfx::GLImplementation implementation); gfx 122 gpu/command_buffer/service/test_helper.h gfx::GLImplementation old_implementation_; gfx 21 gpu/command_buffer/service/texture_definition.cc class GLImageSync : public gfx::GLImage { gfx 28 gpu/command_buffer/service/texture_definition.cc virtual gfx::Size GetSize() OVERRIDE; gfx 60 gpu/command_buffer/service/texture_definition.cc gfx::Size GLImageSync::GetSize() { gfx 62 gpu/command_buffer/service/texture_definition.cc return gfx::Size(); gfx 116 gpu/command_buffer/service/texture_definition.cc EGLDisplay egl_display = gfx::GLSurfaceEGL::GetHardwareDisplay(); gfx 123 gpu/command_buffer/service/texture_definition.cc DCHECK(gfx::g_driver_egl.ext.b_EGL_KHR_image_base && gfx 124 gpu/command_buffer/service/texture_definition.cc gfx::g_driver_egl.ext.b_EGL_KHR_gl_texture_2D_image && gfx 125 gpu/command_buffer/service/texture_definition.cc gfx::g_driver_gl.ext.b_GL_OES_EGL_image && gfx 126 gpu/command_buffer/service/texture_definition.cc gfx::g_driver_egl.ext.b_EGL_KHR_fence_sync); gfx 177 gpu/command_buffer/service/texture_definition.cc switch (gfx::GetGLImplementation()) { gfx 179 gpu/command_buffer/service/texture_definition.cc case gfx::kGLImplementationEGLGLES2: gfx 182 gpu/command_buffer/service/texture_definition.cc case gfx::kGLImplementationMockGL: gfx 190 gpu/command_buffer/service/texture_definition.cc NativeImageBuffer::ClientInfo::ClientInfo(gfx::GLImage* client) gfx 196 gpu/command_buffer/service/texture_definition.cc write_fence_.reset(gfx::GLFence::Create()); gfx 203 gpu/command_buffer/service/texture_definition.cc void NativeImageBuffer::AddClient(gfx::GLImage* client) { gfx 208 gpu/command_buffer/service/texture_definition.cc void NativeImageBuffer::RemoveClient(gfx::GLImage* client) { gfx 223 gpu/command_buffer/service/texture_definition.cc bool NativeImageBuffer::IsClient(gfx::GLImage* client) { gfx 234 gpu/command_buffer/service/texture_definition.cc void NativeImageBuffer::WillRead(gfx::GLImage* client) { gfx 253 gpu/command_buffer/service/texture_definition.cc void NativeImageBuffer::WillWrite(gfx::GLImage* client) { gfx 266 gpu/command_buffer/service/texture_definition.cc void NativeImageBuffer::DidRead(gfx::GLImage* client) { gfx 272 gpu/command_buffer/service/texture_definition.cc it->read_fence = make_linked_ptr(gfx::GLFence::Create()); gfx 279 gpu/command_buffer/service/texture_definition.cc void NativeImageBuffer::DidWrite(gfx::GLImage* client) { gfx 283 gpu/command_buffer/service/texture_definition.cc write_fence_.reset(gfx::GLFence::CreateWithoutFlush()); gfx 336 gpu/command_buffer/service/texture_definition.cc scoped_refptr<gfx::GLImage> gl_image(new GLImageSync(image_buffer_)); gfx 374 gpu/command_buffer/service/texture_definition.cc gfx::ScopedTextureBinder texture_binder(target_, texture->service_id()); gfx 19 gpu/command_buffer/service/texture_definition.h namespace gfx { gfx 34 gpu/command_buffer/service/texture_definition.h void AddClient(gfx::GLImage* client); gfx 35 gpu/command_buffer/service/texture_definition.h void RemoveClient(gfx::GLImage* client); gfx 36 gpu/command_buffer/service/texture_definition.h bool IsClient(gfx::GLImage* client); gfx 38 gpu/command_buffer/service/texture_definition.h void WillRead(gfx::GLImage* client); gfx 39 gpu/command_buffer/service/texture_definition.h void WillWrite(gfx::GLImage* client); gfx 40 gpu/command_buffer/service/texture_definition.h void DidRead(gfx::GLImage* client); gfx 41 gpu/command_buffer/service/texture_definition.h void DidWrite(gfx::GLImage* client); gfx 51 gpu/command_buffer/service/texture_definition.h ClientInfo(gfx::GLImage* client); gfx 54 gpu/command_buffer/service/texture_definition.h gfx::GLImage* client; gfx 56 gpu/command_buffer/service/texture_definition.h linked_ptr<gfx::GLFence> read_fence; gfx 59 gpu/command_buffer/service/texture_definition.h scoped_ptr<gfx::GLFence> write_fence_; gfx 60 gpu/command_buffer/service/texture_definition.h gfx::GLImage* write_client_; gfx 827 gpu/command_buffer/service/texture_manager.cc gfx::GLImage* image) { gfx 842 gpu/command_buffer/service/texture_manager.cc gfx::GLImage* Texture::GetLevelImage(GLint target, GLint level) const { gfx 860 gpu/command_buffer/service/texture_manager.cc gfx::GLImage* image = GetLevelImage(target(), 0); gfx 866 gpu/command_buffer/service/texture_manager.cc gfx::GLImage* image = GetLevelImage(target(), 0); gfx 1286 gpu/command_buffer/service/texture_manager.cc gfx::GLImage* image) { gfx 112 gpu/command_buffer/service/texture_manager.h gfx::GLImage* GetLevelImage(GLint target, GLint level) const; gfx 208 gpu/command_buffer/service/texture_manager.h scoped_refptr<gfx::GLImage> image; gfx 296 gpu/command_buffer/service/texture_manager.h gfx::GLImage* image); gfx 675 gpu/command_buffer/service/texture_manager.h gfx::GLImage* image); gfx 60 gpu/command_buffer/service/texture_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 61 gpu/command_buffer/service/texture_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 74 gpu/command_buffer/service/texture_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 86 gpu/command_buffer/service/texture_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 353 gpu/command_buffer/service/texture_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 354 gpu/command_buffer/service/texture_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 387 gpu/command_buffer/service/texture_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 401 gpu/command_buffer/service/texture_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 1570 gpu/command_buffer/service/texture_manager_unittest.cc gfx::GLImage::CreateGLImage(0).get()); gfx 1578 gpu/command_buffer/service/texture_manager_unittest.cc gfx::GLImage::CreateGLImage(0).get()); gfx 2026 gpu/command_buffer/service/texture_manager_unittest.cc scoped_refptr<gfx::GLImage> image(gfx::GLImage::CreateGLImage(0)); gfx 2137 gpu/command_buffer/service/texture_manager_unittest.cc gl_.reset(new ::gfx::MockGLInterface()); gfx 2138 gpu/command_buffer/service/texture_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 2163 gpu/command_buffer/service/texture_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 2168 gpu/command_buffer/service/texture_manager_unittest.cc scoped_ptr< ::gfx::MockGLInterface > gl_; gfx 2410 gpu/command_buffer/service/texture_manager_unittest.cc gfx::GLImage::CreateGLImage(0).get()); gfx 2418 gpu/command_buffer/service/texture_manager_unittest.cc gfx::GLImage::CreateGLImage(0).get()); gfx 32 gpu/command_buffer/service/vertex_array_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 33 gpu/command_buffer/service/vertex_array_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 40 gpu/command_buffer/service/vertex_array_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 45 gpu/command_buffer/service/vertex_array_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 33 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 34 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 48 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 53 gpu/command_buffer/service/vertex_attrib_manager_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 153 gpu/command_buffer/tests/compressed_texture_test.cc options.size = gfx::Size(kTextureWidth, kTextureHeight); gfx 23 gpu/command_buffer/tests/gl_bind_uniform_location_unittest.cc options.size = gfx::Size(kResolution, kResolution); gfx 432 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc options.size = gfx::Size(16, 16); gfx 22 gpu/command_buffer/tests/gl_depth_texture_unittest.cc options.size = gfx::Size(kResolution, kResolution); gfx 38 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc class MockGpuMemoryBuffer : public gfx::GpuMemoryBuffer { gfx 45 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc MOCK_METHOD1(Map, void*(gfx::GpuMemoryBuffer::AccessMode)); gfx 49 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc MOCK_CONST_METHOD0(GetHandle, gfx::GpuMemoryBufferHandle()); gfx 62 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc gfx::GpuMemoryBuffer*(size_t, size_t, unsigned)); gfx 125 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc gfx::GpuMemoryBufferHandle handle; gfx 126 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc handle.type = gfx::SHARED_MEMORY_BUFFER; gfx 152 gpu/command_buffer/tests/gl_gpu_memory_buffer_unittest.cc EXPECT_CALL(*gpu_memory_buffer, Map(gfx::GpuMemoryBuffer::READ_WRITE)) gfx 32 gpu/command_buffer/tests/gl_manager.cc scoped_refptr<gfx::GLShareGroup>* GLManager::base_share_group_; gfx 33 gpu/command_buffer/tests/gl_manager.cc scoped_refptr<gfx::GLSurface>* GLManager::base_surface_; gfx 34 gpu/command_buffer/tests/gl_manager.cc scoped_refptr<gfx::GLContext>* GLManager::base_context_; gfx 84 gpu/command_buffer/tests/gl_manager.cc gfx::GLShareGroup* share_group = NULL; gfx 99 gpu/command_buffer/tests/gl_manager.cc gfx::GLContext* real_gl_context = NULL; gfx 107 gpu/command_buffer/tests/gl_manager.cc share_group ? share_group : new gfx::GLShareGroup; gfx 109 gpu/command_buffer/tests/gl_manager.cc gfx::GpuPreference gpu_preference(gfx::PreferDiscreteGpu); gfx 142 gpu/command_buffer/tests/gl_manager.cc surface_ = gfx::GLSurface::CreateOffscreenGLSurface(options.size); gfx 146 gpu/command_buffer/tests/gl_manager.cc context_ = scoped_refptr<gfx::GLContext>(new gpu::GLContextVirtual( gfx 149 gpu/command_buffer/tests/gl_manager.cc surface_.get(), gfx::PreferIntegratedGpu)); gfx 152 gpu/command_buffer/tests/gl_manager.cc context_ = scoped_refptr<gfx::GLContext>(new gpu::GLContextVirtual( gfx 155 gpu/command_buffer/tests/gl_manager.cc surface_.get(), gfx::PreferIntegratedGpu)); gfx 157 gpu/command_buffer/tests/gl_manager.cc context_ = gfx::GLContext::CreateGLContext(share_group_.get(), gfx 215 gpu/command_buffer/tests/gl_manager.cc base_share_group_ = new scoped_refptr<gfx::GLShareGroup>( gfx 216 gpu/command_buffer/tests/gl_manager.cc new gfx::GLShareGroup); gfx 217 gpu/command_buffer/tests/gl_manager.cc gfx::Size size(4, 4); gfx 218 gpu/command_buffer/tests/gl_manager.cc base_surface_ = new scoped_refptr<gfx::GLSurface>( gfx 219 gpu/command_buffer/tests/gl_manager.cc gfx::GLSurface::CreateOffscreenGLSurface(size)); gfx 220 gpu/command_buffer/tests/gl_manager.cc gfx::GpuPreference gpu_preference(gfx::PreferDiscreteGpu); gfx 221 gpu/command_buffer/tests/gl_manager.cc base_context_ = new scoped_refptr<gfx::GLContext>( gfx 222 gpu/command_buffer/tests/gl_manager.cc gfx::GLContext::CreateGLContext(base_share_group_->get(), gfx 234 gpu/command_buffer/tests/gl_manager.cc void GLManager::SetSurface(gfx::GLSurface* surface) { gfx 13 gpu/command_buffer/tests/gl_manager.h namespace gfx { gfx 47 gpu/command_buffer/tests/gl_manager.h gfx::Size size; gfx 73 gpu/command_buffer/tests/gl_manager.h void SetSurface(gfx::GLSurface* surface); gfx 83 gpu/command_buffer/tests/gl_manager.h gfx::GLShareGroup* share_group() const { gfx 91 gpu/command_buffer/tests/gl_manager.h gfx::GLContext* context() { gfx 103 gpu/command_buffer/tests/gl_manager.h scoped_refptr<gfx::GLShareGroup> share_group_; gfx 108 gpu/command_buffer/tests/gl_manager.h scoped_refptr<gfx::GLSurface> surface_; gfx 109 gpu/command_buffer/tests/gl_manager.h scoped_refptr<gfx::GLContext> context_; gfx 117 gpu/command_buffer/tests/gl_manager.h static scoped_refptr<gfx::GLShareGroup>* base_share_group_; gfx 118 gpu/command_buffer/tests/gl_manager.h static scoped_refptr<gfx::GLSurface>* base_surface_; gfx 119 gpu/command_buffer/tests/gl_manager.h static scoped_refptr<gfx::GLContext>* base_context_; gfx 24 gpu/command_buffer/tests/gl_pointcoord_unittest.cc options.size = gfx::Size(kResolution, kResolution); gfx 24 gpu/command_buffer/tests/gl_stream_draw_unittest.cc options.size = gfx::Size(kSize, kSize); gfx 36 gpu/command_buffer/tests/gl_tests_main.cc gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx 38 gpu/command_buffer/tests/gl_tests_main.cc gfx::GLSurface::InitializeOneOff(); gfx 20 gpu/command_buffer/tests/gl_texture_storage_unittest.cc options.size = gfx::Size(kResolution, kResolution); gfx 41 gpu/command_buffer/tests/gl_unittests_android.cc scoped_refptr<gfx::SurfaceTexture> surface_texture( gfx 42 gpu/command_buffer/tests/gl_unittests_android.cc gfx::SurfaceTexture::Create(texture)); gfx 43 gpu/command_buffer/tests/gl_unittests_android.cc gfx::AcceleratedWidget window = surface_texture->CreateSurface(); gfx 46 gpu/command_buffer/tests/gl_unittests_android.cc scoped_refptr<gfx::GLSurface> gl_surface = gfx 47 gpu/command_buffer/tests/gl_unittests_android.cc gfx::GLSurface::CreateViewGLSurface(window); gfx 26 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc options.size = gfx::Size(kSize0, kSize0); gfx 30 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc options.size = gfx::Size(kSize1, kSize1); gfx 32 gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc options.size = gfx::Size(kSize2, kSize2); gfx 19 gpu/command_buffer/tests/occlusion_query_unittest.cc options.size = gfx::Size(512, 512); gfx 23 gpu/config/gpu_info_collector.cc scoped_refptr<gfx::GLSurface> InitializeGLSurface() { gfx 24 gpu/config/gpu_info_collector.cc scoped_refptr<gfx::GLSurface> surface( gfx 25 gpu/config/gpu_info_collector.cc gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1))); gfx 34 gpu/config/gpu_info_collector.cc scoped_refptr<gfx::GLContext> InitializeGLContext(gfx::GLSurface* surface) { gfx 36 gpu/config/gpu_info_collector.cc scoped_refptr<gfx::GLContext> context( gfx 37 gpu/config/gpu_info_collector.cc gfx::GLContext::CreateGLContext(NULL, gfx 39 gpu/config/gpu_info_collector.cc gfx::PreferIntegratedGpu)); gfx 85 gpu/config/gpu_info_collector.cc DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone); gfx 87 gpu/config/gpu_info_collector.cc scoped_refptr<gfx::GLSurface> surface(InitializeGLSurface()); gfx 93 gpu/config/gpu_info_collector.cc scoped_refptr<gfx::GLContext> context(InitializeGLContext(surface.get())); gfx 105 gpu/config/gpu_info_collector.cc gfx::GLWindowSystemBindingInfo window_system_binding_info; gfx 66 gpu/config/gpu_info_collector_android.cc DCHECK(!gfx::GLContext::GetCurrent()); gfx 12 gpu/config/gpu_info_collector_unittest.cc using ::gfx::MockGLInterface; gfx 23 gpu/config/gpu_info_collector_unittest.cc gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>()); gfx 24 gpu/config/gpu_info_collector_unittest.cc ::gfx::MockGLInterface::SetGLInterface(gl_.get()); gfx 99 gpu/config/gpu_info_collector_unittest.cc ::gfx::MockGLInterface::SetGLInterface(NULL); gfx 105 gpu/config/gpu_info_collector_unittest.cc scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; gfx 508 gpu/config/gpu_info_collector_win.cc gfx::GLSurfaceEGL::GetHardwareDisplay(), gfx 182 gpu/config/gpu_info_collector_x11.cc (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2); gfx 128 gpu/gles2_conform_support/egl/display.cc gfx::Size size(create_offscreen_width_, create_offscreen_height_); gfx 130 gpu/gles2_conform_support/egl/display.cc gl_surface_ = gfx::GLSurface::CreateOffscreenGLSurface(size); gfx 135 gpu/gles2_conform_support/egl/display.cc gl_surface_ = gfx::GLSurface::CreateViewGLSurface(win); gfx 140 gpu/gles2_conform_support/egl/display.cc gl_context_ = gfx::GLContext::CreateGLContext(NULL, gfx 142 gpu/gles2_conform_support/egl/display.cc gfx::PreferDiscreteGpu); gfx 88 gpu/gles2_conform_support/egl/display.h scoped_refptr<gfx::GLContext> gl_context_; gfx 89 gpu/gles2_conform_support/egl/display.h scoped_refptr<gfx::GLSurface> gl_surface_; gfx 110 gpu/gles2_conform_support/egl/egl.cc gfx::GLSurface::InitializeOneOff(); gfx 34 gpu/gles2_conform_support/native/main.cc gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx 188 gpu/tools/compositor_model_bench/compositor_model_bench.cc if (!gfx::GLSurface::InitializeOneOff()) { gfx 30 media/base/android/demuxer_stream_player_params.h gfx::Size video_size; gfx 639 media/base/android/media_codec_bridge.cc const gfx::Size& size, gfx 674 media/base/android/media_codec_bridge.cc const gfx::Size& size, gfx 249 media/base/android/media_codec_bridge.h const gfx::Size& size, // Output frame size. gfx 256 media/base/android/media_codec_bridge.h const gfx::Size& size, // input frame size gfx 154 media/base/android/media_codec_bridge_unittest.cc kCodecH264, false, gfx::Size(640, 480), NULL, NULL)); gfx 256 media/base/android/media_codec_bridge_unittest.cc kCodecVP8, false, gfx::Size(320, 240), NULL, NULL)); gfx 292 media/base/android/media_codec_bridge_unittest.cc kUnknownVideoCodec, false, gfx::Size(320, 240), NULL, NULL)); gfx 44 media/base/android/media_player_android.h virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) = 0; gfx 126 media/base/android/media_player_bridge.cc void MediaPlayerBridge::SetVideoSurface(gfx::ScopedJavaSurface surface) { gfx 317 media/base/android/media_player_bridge.cc SetVideoSurface(gfx::ScopedJavaSurface()); gfx 59 media/base/android/media_player_bridge.h virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) OVERRIDE; gfx 77 media/base/android/media_source_player.cc void MediaSourcePlayer::SetVideoSurface(gfx::ScopedJavaSurface surface) { gfx 240 media/base/android/media_source_player.cc surface_ = gfx::ScopedJavaSurface(); gfx 887 media/base/android/media_source_player.cc gfx::Size(width_, height_), gfx 50 media/base/android/media_source_player.h virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) OVERRIDE; gfx 231 media/base/android/media_source_player.h gfx::ScopedJavaSurface surface_; gfx 280 media/base/android/media_source_player_unittest.cc configs.video_size = gfx::Size(320, 240); gfx 289 media/base/android/media_source_player_unittest.cc configs.video_size = gfx::Size(320, 240); gfx 610 media/base/android/media_source_player_unittest.cc gfx::SurfaceTexture* surface_texture; gfx 612 media/base/android/media_source_player_unittest.cc surface_texture_a_ = gfx::SurfaceTexture::Create(next_texture_id_++); gfx 615 media/base/android/media_source_player_unittest.cc surface_texture_b_ = gfx::SurfaceTexture::Create(next_texture_id_++); gfx 620 media/base/android/media_source_player_unittest.cc gfx::ScopedJavaSurface surface = gfx::ScopedJavaSurface(surface_texture); gfx 749 media/base/android/media_source_player_unittest.cc scoped_refptr<gfx::SurfaceTexture> surface_texture_a_; gfx 750 media/base/android/media_source_player_unittest.cc scoped_refptr<gfx::SurfaceTexture> surface_texture_b_; gfx 810 media/base/android/media_source_player_unittest.cc scoped_refptr<gfx::SurfaceTexture> surface_texture( gfx 811 media/base/android/media_source_player_unittest.cc gfx::SurfaceTexture::Create(0)); gfx 812 media/base/android/media_source_player_unittest.cc gfx::ScopedJavaSurface surface(surface_texture.get()); gfx 879 media/base/android/media_source_player_unittest.cc gfx::ScopedJavaSurface empty_surface; gfx 915 media/base/android/media_source_player_unittest.cc gfx::ScopedJavaSurface empty_surface; gfx 30 media/base/android/video_decoder_job.cc const gfx::Size& size, gfx 33 media/base/android/video_decoder_job.h const gfx::Size& size, gfx 43 media/base/pipeline.h gfx::Size natural_size; gfx 110 media/base/test_helpers.cc gfx::Size coded_size, gfx 112 media/base/test_helpers.cc gfx::Rect visible_rect(coded_size.width(), coded_size.height()); gfx 113 media/base/test_helpers.cc gfx::Size natural_size = coded_size; gfx 120 media/base/test_helpers.cc static const gfx::Size kNormalSize(320, 240); gfx 121 media/base/test_helpers.cc static const gfx::Size kLargeSize(640, 480); gfx 143 media/base/test_helpers.cc gfx::Size TestVideoConfig::NormalCodedSize() { gfx 147 media/base/test_helpers.cc gfx::Size TestVideoConfig::LargeCodedSize() { gfx 81 media/base/test_helpers.h static gfx::Size NormalCodedSize(); gfx 82 media/base/test_helpers.h static gfx::Size LargeCodedSize(); gfx 22 media/base/video_decoder_config.cc const gfx::Size& coded_size, gfx 23 media/base/video_decoder_config.cc const gfx::Rect& visible_rect, gfx 24 media/base/video_decoder_config.cc const gfx::Size& natural_size, gfx 59 media/base/video_decoder_config.cc const gfx::Size& coded_size, gfx 60 media/base/video_decoder_config.cc const gfx::Rect& visible_rect, gfx 61 media/base/video_decoder_config.cc const gfx::Size& natural_size, gfx 144 media/base/video_decoder_config.cc gfx::Size VideoDecoderConfig::coded_size() const { gfx 148 media/base/video_decoder_config.cc gfx::Rect VideoDecoderConfig::visible_rect() const { gfx 152 media/base/video_decoder_config.cc gfx::Size VideoDecoderConfig::natural_size() const { gfx 80 media/base/video_decoder_config.h const gfx::Size& coded_size, gfx 81 media/base/video_decoder_config.h const gfx::Rect& visible_rect, gfx 82 media/base/video_decoder_config.h const gfx::Size& natural_size, gfx 92 media/base/video_decoder_config.h const gfx::Size& coded_size, gfx 93 media/base/video_decoder_config.h const gfx::Rect& visible_rect, gfx 94 media/base/video_decoder_config.h const gfx::Size& natural_size, gfx 119 media/base/video_decoder_config.h gfx::Size coded_size() const; gfx 122 media/base/video_decoder_config.h gfx::Rect visible_rect() const; gfx 126 media/base/video_decoder_config.h gfx::Size natural_size() const; gfx 144 media/base/video_decoder_config.h gfx::Size coded_size_; gfx 145 media/base/video_decoder_config.h gfx::Rect visible_rect_; gfx 146 media/base/video_decoder_config.h gfx::Size natural_size_; gfx 30 media/base/video_frame.cc const gfx::Size& coded_size, gfx 31 media/base/video_frame.cc const gfx::Rect& visible_rect, gfx 32 media/base/video_frame.cc const gfx::Size& natural_size, gfx 37 media/base/video_frame.cc gfx::Size new_coded_size(coded_size); gfx 87 media/base/video_frame.cc const gfx::Size& coded_size, gfx 88 media/base/video_frame.cc const gfx::Rect& visible_rect, gfx 89 media/base/video_frame.cc const gfx::Size& natural_size) { gfx 139 media/base/video_frame.cc const gfx::Size& coded_size, gfx 140 media/base/video_frame.cc const gfx::Rect& visible_rect, gfx 141 media/base/video_frame.cc const gfx::Size& natural_size, gfx 166 media/base/video_frame.cc const gfx::Size& coded_size, gfx 167 media/base/video_frame.cc const gfx::Rect& visible_rect, gfx 168 media/base/video_frame.cc const gfx::Size& natural_size, gfx 202 media/base/video_frame.cc const gfx::Size& coded_size, gfx 203 media/base/video_frame.cc const gfx::Rect& visible_rect, gfx 204 media/base/video_frame.cc const gfx::Size& natural_size, gfx 231 media/base/video_frame.cc const gfx::Rect& visible_rect, gfx 232 media/base/video_frame.cc const gfx::Size& natural_size, gfx 251 media/base/video_frame.cc gfx::Size(), gfx 252 media/base/video_frame.cc gfx::Rect(), gfx 253 media/base/video_frame.cc gfx::Size(), gfx 260 media/base/video_frame.cc const gfx::Size& size, gfx 264 media/base/video_frame.cc VideoFrame::YV12, size, gfx::Rect(size), size, timestamp); gfx 270 media/base/video_frame.cc scoped_refptr<VideoFrame> VideoFrame::CreateBlackFrame(const gfx::Size& size) { gfx 287 media/base/video_frame.cc const gfx::Size& size) { gfx 288 media/base/video_frame.cc DCHECK(IsValidConfig(VideoFrame::HOLE, size, gfx::Rect(size), size)); gfx 290 media/base/video_frame.cc VideoFrame::HOLE, size, gfx::Rect(size), size, base::TimeDelta(), false)); gfx 319 media/base/video_frame.cc size_t VideoFrame::AllocationSize(Format format, const gfx::Size& coded_size) { gfx 327 media/base/video_frame.cc gfx::Size VideoFrame::PlaneSize(Format format, gfx 329 media/base/video_frame.cc const gfx::Size& coded_size) { gfx 338 media/base/video_frame.cc return gfx::Size(width, height); gfx 341 media/base/video_frame.cc return gfx::Size(width / 2, height / 2); gfx 350 media/base/video_frame.cc return gfx::Size(width, height); gfx 353 media/base/video_frame.cc return gfx::Size(width / 2, height / 2); gfx 361 media/base/video_frame.cc return gfx::Size(width, height); gfx 364 media/base/video_frame.cc return gfx::Size(width / 2, height); gfx 378 media/base/video_frame.cc return gfx::Size(); gfx 383 media/base/video_frame.cc const gfx::Size& coded_size) { gfx 449 media/base/video_frame.cc const gfx::Size& coded_size, gfx 450 media/base/video_frame.cc const gfx::Rect& visible_rect, gfx 451 media/base/video_frame.cc const gfx::Size& natural_size, gfx 65 media/base/video_frame.h const gfx::Size& coded_size, gfx 66 media/base/video_frame.h const gfx::Rect& visible_rect, gfx 67 media/base/video_frame.h const gfx::Size& natural_size, gfx 73 media/base/video_frame.h static bool IsValidConfig(Format format, const gfx::Size& coded_size, gfx 74 media/base/video_frame.h const gfx::Rect& visible_rect, gfx 75 media/base/video_frame.h const gfx::Size& natural_size); gfx 94 media/base/video_frame.h const gfx::Size& coded_size, gfx 95 media/base/video_frame.h const gfx::Rect& visible_rect, gfx 96 media/base/video_frame.h const gfx::Size& natural_size, gfx 113 media/base/video_frame.h const gfx::Size& coded_size, gfx 114 media/base/video_frame.h const gfx::Rect& visible_rect, gfx 115 media/base/video_frame.h const gfx::Size& natural_size, gfx 129 media/base/video_frame.h const gfx::Size& coded_size, gfx 130 media/base/video_frame.h const gfx::Rect& visible_rect, gfx 131 media/base/video_frame.h const gfx::Size& natural_size, gfx 146 media/base/video_frame.h const gfx::Rect& visible_rect, gfx 147 media/base/video_frame.h const gfx::Size& natural_size, gfx 155 media/base/video_frame.h const gfx::Size& size, gfx 161 media/base/video_frame.h static scoped_refptr<VideoFrame> CreateBlackFrame(const gfx::Size& size); gfx 165 media/base/video_frame.h static scoped_refptr<VideoFrame> CreateHoleFrame(const gfx::Size& size); gfx 172 media/base/video_frame.h static size_t AllocationSize(Format format, const gfx::Size& coded_size); gfx 175 media/base/video_frame.h static gfx::Size PlaneSize(Format format, gfx 177 media/base/video_frame.h const gfx::Size& coded_size); gfx 183 media/base/video_frame.h const gfx::Size& coded_size); gfx 187 media/base/video_frame.h const gfx::Size& coded_size() const { return coded_size_; } gfx 188 media/base/video_frame.h const gfx::Rect& visible_rect() const { return visible_rect_; } gfx 189 media/base/video_frame.h const gfx::Size& natural_size() const { return natural_size_; } gfx 230 media/base/video_frame.h const gfx::Size& coded_size, gfx 231 media/base/video_frame.h const gfx::Rect& visible_rect, gfx 232 media/base/video_frame.h const gfx::Size& natural_size, gfx 250 media/base/video_frame.h const gfx::Size coded_size_; gfx 255 media/base/video_frame.h const gfx::Rect visible_rect_; gfx 259 media/base/video_frame.h const gfx::Size natural_size_; gfx 24 media/base/video_frame_pool.cc const gfx::Size& coded_size, gfx 25 media/base/video_frame_pool.cc const gfx::Rect& visible_rect, gfx 26 media/base/video_frame_pool.cc const gfx::Size& natural_size, gfx 60 media/base/video_frame_pool.cc const gfx::Size& coded_size, gfx 61 media/base/video_frame_pool.cc const gfx::Rect& visible_rect, gfx 62 media/base/video_frame_pool.cc const gfx::Size& natural_size, gfx 117 media/base/video_frame_pool.cc const gfx::Size& coded_size, gfx 118 media/base/video_frame_pool.cc const gfx::Rect& visible_rect, gfx 119 media/base/video_frame_pool.cc const gfx::Size& natural_size, gfx 30 media/base/video_frame_pool.h const gfx::Size& coded_size, gfx 31 media/base/video_frame_pool.h const gfx::Rect& visible_rect, gfx 32 media/base/video_frame_pool.h const gfx::Size& natural_size, gfx 16 media/base/video_frame_pool_unittest.cc gfx::Size coded_size(320,240); gfx 17 media/base/video_frame_pool_unittest.cc gfx::Rect visible_rect(coded_size); gfx 18 media/base/video_frame_pool_unittest.cc gfx::Size natural_size(coded_size); gfx 97 media/base/video_frame_unittest.cc gfx::Size size(kWidth, kHeight); gfx 99 media/base/video_frame_unittest.cc format, size, gfx::Rect(size), size, kTimestamp); gfx 128 media/base/video_frame_unittest.cc gfx::Size size(kWidth, kHeight); gfx 130 media/base/video_frame_unittest.cc VideoFrame::CreateFrame(media::VideoFrame::YV12, size, gfx::Rect(size), gfx 169 media/base/video_frame_unittest.cc VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight)); gfx 211 media/base/video_frame_unittest.cc VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight)); gfx 214 media/base/video_frame_unittest.cc gfx::Rect visible_rect(1, 1, 1, 1); gfx 215 media/base/video_frame_unittest.cc gfx::Size natural_size = visible_rect.size(); gfx 258 media/base/video_frame_unittest.cc gfx::Size(10, 10), // coded_size gfx 259 media/base/video_frame_unittest.cc gfx::Rect(10, 10), // visible_rect gfx 260 media/base/video_frame_unittest.cc gfx::Size(10, 10), // natural_size gfx 283 media/base/video_frame_unittest.cc gfx::Size(10, 10), // coded_size gfx 284 media/base/video_frame_unittest.cc gfx::Rect(10, 10), // visible_rect gfx 285 media/base/video_frame_unittest.cc gfx::Size(10, 10), // natural_size gfx 15 media/base/video_util.cc gfx::Size GetNaturalSize(const gfx::Size& visible_size, gfx 21 media/base/video_util.cc return gfx::Size(); gfx 31 media/base/video_util.cc return gfx::Size(width & ~1, height); gfx 101 media/base/video_util.cc const gfx::Rect& view_area, gfx 141 media/base/video_util.cc void LetterboxYUV(VideoFrame* frame, const gfx::Rect& view_area) { gfx 150 media/base/video_util.cc gfx::Rect half_view_area(view_area.x() / 2, gfx 259 media/base/video_util.cc gfx::Rect ComputeLetterboxRegion(const gfx::Rect& bounds, gfx 260 media/base/video_util.cc const gfx::Size& content) { gfx 264 media/base/video_util.cc return gfx::Rect(); gfx 269 media/base/video_util.cc gfx::Size letterbox(bounds.width(), bounds.height()); gfx 274 media/base/video_util.cc gfx::Rect result = bounds; gfx 281 media/base/video_util.cc const gfx::Rect& region_in_frame, gfx 289 media/base/video_util.cc if (region_in_frame != gfx::Rect(frame->coded_size())) { gfx 18 media/base/video_util.h MEDIA_EXPORT gfx::Size GetNaturalSize(const gfx::Size& visible_size, gfx 52 media/base/video_util.h const gfx::Rect& view_area); gfx 77 media/base/video_util.h MEDIA_EXPORT gfx::Rect ComputeLetterboxRegion(const gfx::Rect& bounds, gfx 78 media/base/video_util.h const gfx::Size& content); gfx 84 media/base/video_util.h const gfx::Rect& region_in_frame, gfx 40 media/base/video_util_unittest.cc gfx::Size size(width, height); gfx 42 media/base/video_util_unittest.cc VideoFrame::CreateFrame(VideoFrame::YV12, size, gfx::Rect(size), size, gfx 332 media/base/video_util_unittest.cc EXPECT_EQ(gfx::Rect(167, 0, 666, 500), gfx 333 media/base/video_util_unittest.cc ComputeLetterboxRegion(gfx::Rect(0, 0, 1000, 500), gfx 334 media/base/video_util_unittest.cc gfx::Size(640, 480))); gfx 335 media/base/video_util_unittest.cc EXPECT_EQ(gfx::Rect(0, 312, 500, 375), gfx 336 media/base/video_util_unittest.cc ComputeLetterboxRegion(gfx::Rect(0, 0, 500, 1000), gfx 337 media/base/video_util_unittest.cc gfx::Size(640, 480))); gfx 338 media/base/video_util_unittest.cc EXPECT_EQ(gfx::Rect(56, 0, 888, 500), gfx 339 media/base/video_util_unittest.cc ComputeLetterboxRegion(gfx::Rect(0, 0, 1000, 500), gfx 340 media/base/video_util_unittest.cc gfx::Size(1920, 1080))); gfx 341 media/base/video_util_unittest.cc EXPECT_EQ(gfx::Rect(0, 12, 100, 75), gfx 342 media/base/video_util_unittest.cc ComputeLetterboxRegion(gfx::Rect(0, 0, 100, 100), gfx 343 media/base/video_util_unittest.cc gfx::Size(400, 300))); gfx 344 media/base/video_util_unittest.cc EXPECT_EQ(gfx::Rect(0, 250000000, 2000000000, 1500000000), gfx 345 media/base/video_util_unittest.cc ComputeLetterboxRegion(gfx::Rect(0, 0, 2000000000, 2000000000), gfx 346 media/base/video_util_unittest.cc gfx::Size(40000, 30000))); gfx 347 media/base/video_util_unittest.cc EXPECT_TRUE(ComputeLetterboxRegion(gfx::Rect(0, 0, 2000000000, 2000000000), gfx 348 media/base/video_util_unittest.cc gfx::Size(0, 0)).IsEmpty()); gfx 354 media/base/video_util_unittest.cc gfx::Size size(width, height); gfx 356 media/base/video_util_unittest.cc VideoFrame::CreateFrame(VideoFrame::YV12, size, gfx::Rect(size), size, gfx 363 media/base/video_util_unittest.cc gfx::Rect view_area(left_margin, top_margin, gfx 462 media/base/yuv_convert_unittest.cc gfx::Rect sub_rect(0, 0, kDownScaledWidth, kDownScaledHeight); gfx 37 media/cast/test/encode_decode_test.cc gfx::Size size(kWidth, kHeight); gfx 39 media/cast/test/encode_decode_test.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); gfx 105 media/cast/test/encode_decode_test.cc gfx::Size size(encoder_config_.width, encoder_config_.height); gfx 107 media/cast/test/encode_decode_test.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); gfx 372 media/cast/test/end2end_unittest.cc gfx::Size size(expected_video_frame.width, expected_video_frame.height); gfx 375 media/cast/test/end2end_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); gfx 581 media/cast/test/end2end_unittest.cc gfx::Size size(video_sender_config_.width, video_sender_config_.height); gfx 583 media/cast/test/end2end_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size)); gfx 586 media/cast/test/end2end_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, time_diff); gfx 32 media/cast/test/fake_video_encode_accelerator.cc const gfx::Size& input_visible_size, gfx 94 media/cast/test/fake_video_encode_accelerator.cc const gfx::Size& input_coded_size, gfx 30 media/cast/test/fake_video_encode_accelerator.h const gfx::Size& input_visible_size, gfx 49 media/cast/test/fake_video_encode_accelerator.h const gfx::Size& input_coded_size, gfx 272 media/cast/test/sender.cc gfx::Size size(video_config_.width, video_config_.height); gfx 279 media/cast/test/sender.cc VideoFrame::I420, size, gfx::Rect(size), size, time_diff); gfx 16 media/cast/test/utility/barcode_unittest.cc media::VideoFrame::CreateBlackFrame(gfx::Size(320, 10)); gfx 27 media/cast/test/utility/barcode_unittest.cc media::VideoFrame::CreateBlackFrame(gfx::Size(10000, 10)); gfx 33 media/cast/test/utility/generate_barcode_video.cc media::VideoFrame::CreateBlackFrame(gfx::Size(width, height)); gfx 95 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc gfx::Size visible_size(img->d_w, img->d_h); gfx 96 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc gfx::Size full_size(img->stride[VPX_PLANE_Y], img->d_h); gfx 98 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc VideoFrame::I420, visible_size, gfx::Rect(visible_size), full_size)); gfx 103 media/cast/video_receiver/codecs/vp8/vp8_decoder.cc gfx::Rect(visible_size), gfx 113 media/cast/video_sender/external_video_encoder.cc gfx::Size(video_config.width, video_config.height), gfx 175 media/cast/video_sender/external_video_encoder.cc const gfx::Size& input_coded_size, gfx 101 media/cast/video_sender/external_video_encoder_unittest.cc gfx::Size size(video_config_.width, video_config_.height); gfx 103 media/cast/video_sender/external_video_encoder_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); gfx 82 media/cast/video_sender/video_encoder_impl_unittest.cc gfx::Size size(video_config_.width, video_config_.height); gfx 84 media/cast/video_sender/video_encoder_impl_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); gfx 180 media/cast/video_sender/video_sender_unittest.cc gfx::Size size(kWidth, kHeight); gfx 183 media/cast/video_sender/video_sender_unittest.cc VideoFrame::I420, size, gfx::Rect(size), size, base::TimeDelta()); gfx 366 media/ffmpeg/ffmpeg_common.cc gfx::Size coded_size(stream->codec->coded_width, stream->codec->coded_height); gfx 370 media/ffmpeg/ffmpeg_common.cc gfx::Rect visible_rect(stream->codec->width, stream->codec->height); gfx 388 media/ffmpeg/ffmpeg_common.cc gfx::Size natural_size = GetNaturalSize( gfx 122 media/filters/fake_demuxer_stream.cc const gfx::Rect kVisibleRect(kStartWidth, kStartHeight); gfx 75 media/filters/fake_demuxer_stream.h gfx::Size next_coded_size_; gfx 74 media/filters/ffmpeg_video_decoder.cc gfx::Size size(codec_context->width, codec_context->height); gfx 79 media/filters/ffmpeg_video_decoder.cc gfx::Size natural_size; gfx 88 media/filters/ffmpeg_video_decoder.cc if (!VideoFrame::IsValidConfig(format, size, gfx::Rect(size), natural_size)) gfx 92 media/filters/ffmpeg_video_decoder.cc frame_pool_.CreateFrame(format, size, gfx::Rect(size), gfx 38 media/filters/ffmpeg_video_decoder_unittest.cc static const gfx::Size kCodedSize(320, 240); gfx 39 media/filters/ffmpeg_video_decoder_unittest.cc static const gfx::Rect kVisibleRect(320, 240); gfx 40 media/filters/ffmpeg_video_decoder_unittest.cc static const gfx::Size kNaturalSize(320, 240); gfx 205 media/filters/ffmpeg_video_decoder_unittest.cc gfx::Size original_size = kVisibleRect.size(); gfx 274 media/filters/ffmpeg_video_decoder_unittest.cc gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 0, 1); gfx 283 media/filters/ffmpeg_video_decoder_unittest.cc gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, 0); gfx 292 media/filters/ffmpeg_video_decoder_unittest.cc gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), -1, 1); gfx 301 media/filters/ffmpeg_video_decoder_unittest.cc gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, -1); gfx 312 media/filters/ffmpeg_video_decoder_unittest.cc gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), num, 1); gfx 322 media/filters/ffmpeg_video_decoder_unittest.cc gfx::Size natural_size = GetNaturalSize(kVisibleRect.size(), 1, den); gfx 22 media/filters/gpu_video_accelerator_factories.h namespace gfx { gfx 55 media/filters/gpu_video_accelerator_factories.h const gfx::Size& size, gfx 66 media/filters/gpu_video_accelerator_factories.h const gfx::Rect& visible_rect, gfx 52 media/filters/gpu_video_decoder.cc int32 bbid, base::TimeDelta ts, const gfx::Rect& vr, const gfx::Size& ns) gfx 117 media/filters/gpu_video_decoder.cc static bool IsCodedSizeSupported(const gfx::Size& coded_size) { gfx 316 media/filters/gpu_video_decoder.cc gfx::Rect* visible_rect, gfx 317 media/filters/gpu_video_decoder.cc gfx::Size* natural_size) { gfx 349 media/filters/gpu_video_decoder.cc const gfx::Size& size, gfx 412 media/filters/gpu_video_decoder.cc const gfx::Rect& visible_rect, gfx 422 media/filters/gpu_video_decoder.cc const gfx::Rect& visible_rect, gfx 451 media/filters/gpu_video_decoder.cc gfx::Rect visible_rect; gfx 452 media/filters/gpu_video_decoder.cc gfx::Size natural_size; gfx 57 media/filters/gpu_video_decoder.h const gfx::Size& size, gfx 119 media/filters/gpu_video_decoder.h gfx::Rect* visible_rect, gfx::Size* natural_size); gfx 173 media/filters/gpu_video_decoder.h BufferData(int32 bbid, base::TimeDelta ts, const gfx::Rect& visible_rect, gfx 174 media/filters/gpu_video_decoder.h const gfx::Size& natural_size); gfx 178 media/filters/gpu_video_decoder.h gfx::Rect visible_rect; gfx 179 media/filters/gpu_video_decoder.h gfx::Size natural_size; gfx 36 media/filters/mock_gpu_video_accelerator_factories.h const gfx::Size& size, gfx 44 media/filters/mock_gpu_video_accelerator_factories.h const gfx::Rect& visible_rect, gfx 294 media/filters/skcanvas_video_renderer.cc const gfx::RectF& dest_rect, gfx 32 media/filters/skcanvas_video_renderer.h const gfx::RectF& dest_rect, gfx 17 media/filters/skcanvas_video_renderer_unittest.cc static const gfx::Rect kNaturalRect(0, 0, kWidth, kHeight); gfx 92 media/filters/skcanvas_video_renderer_unittest.cc : natural_frame_(VideoFrame::CreateBlackFrame(gfx::Size(kWidth, kHeight))), gfx 94 media/filters/skcanvas_video_renderer_unittest.cc gfx::Size(kWidth * 2, kHeight * 2))), gfx 96 media/filters/skcanvas_video_renderer_unittest.cc gfx::Size(kWidth / 2, kHeight / 2))), gfx 99 media/filters/skcanvas_video_renderer_unittest.cc gfx::Size(16, 16), gfx 100 media/filters/skcanvas_video_renderer_unittest.cc gfx::Rect(6, 6, 8, 6), gfx 101 media/filters/skcanvas_video_renderer_unittest.cc gfx::Size(8, 6), gfx 180 media/filters/video_renderer_impl_unittest.cc gfx::Size natural_size = TestVideoConfig::NormalCodedSize(); gfx 182 media/filters/video_renderer_impl_unittest.cc VideoFrame::YV12, natural_size, gfx::Rect(natural_size), natural_size, gfx 458 media/filters/vpx_video_decoder.cc gfx::Size size(vpx_image->d_w, vpx_image->d_h); gfx 463 media/filters/vpx_video_decoder.cc size, gfx::Rect(size), config_.natural_size(), gfx 478 media/filters/vpx_video_decoder.cc gfx::Rect(size), gfx 287 media/formats/mp2t/es_parser_h264.cc gfx::Size coded_size((sps->pic_width_in_mbs_minus1 + 1) * 16, gfx 289 media/formats/mp2t/es_parser_h264.cc gfx::Rect visible_rect( gfx 298 media/formats/mp2t/es_parser_h264.cc gfx::Size natural_size( gfx 272 media/formats/mp4/mp4_stream_parser.cc gfx::Size coded_size(entry.width, entry.height); gfx 273 media/formats/mp4/mp4_stream_parser.cc gfx::Rect visible_rect(coded_size); gfx 274 media/formats/mp4/mp4_stream_parser.cc gfx::Size natural_size = GetNaturalSize(visible_rect.size(), gfx 73 media/formats/webm/webm_video_client.cc gfx::Size coded_size(pixel_width_, pixel_height_); gfx 74 media/formats/webm/webm_video_client.cc gfx::Rect visible_rect(crop_top_, crop_left_, gfx 77 media/formats/webm/webm_video_client.cc gfx::Size natural_size = coded_size; gfx 83 media/formats/webm/webm_video_client.cc natural_size = gfx::Size(display_width_, display_height_); gfx 87 media/formats/webm/webm_video_client.cc natural_size = gfx::Size(display_width_, display_height_); gfx 23 media/tools/player_x11/gl_video_renderer.cc if (!gfx::GLSurface::InitializeOneOff()) { gfx 142 media/tools/player_x11/gl_video_renderer.cc void GlVideoRenderer::Initialize(gfx::Size coded_size, gfx::Rect visible_rect) { gfx 29 media/tools/player_x11/gl_video_renderer.h void Initialize(gfx::Size coded_size, gfx::Rect visible_rect); gfx 183 media/tools/player_x11/x11_video_renderer.cc void X11VideoRenderer::Initialize(gfx::Size coded_size, gfx 184 media/tools/player_x11/x11_video_renderer.cc gfx::Rect visible_rect) { gfx 30 media/tools/player_x11/x11_video_renderer.h void Initialize(gfx::Size coded_size, gfx::Rect visible_rect); gfx 78 media/video/capture/android/video_capture_device_factory_android.cc gfx::Size(media::Java_VideoCaptureFactory_getCaptureFormatWidth(env, gfx 53 media/video/capture/fake_video_capture_device.cc const gfx::Size supported_sizes[] = {gfx::Size(320, 240), gfx 54 media/video/capture/fake_video_capture_device.cc gfx::Size(640, 480), gfx 55 media/video/capture/fake_video_capture_device.cc gfx::Size(1280, 720)}; gfx 152 media/video/capture/video_capture_device.h const gfx::Size& dimensions) = 0; gfx 66 media/video/capture/video_capture_device_unittest.cc const gfx::Size& dimensions)); gfx 245 media/video/capture/video_capture_device_unittest.cc gfx::Size resolution; gfx 247 media/video/capture/video_capture_device_unittest.cc resolution = gfx::Size(640, 480); gfx 249 media/video/capture/video_capture_device_unittest.cc resolution = gfx::Size(1280, 1024); gfx 14 media/video/capture/video_capture_types.cc VideoCaptureFormat::VideoCaptureFormat(const gfx::Size& frame_size, gfx 41 media/video/capture/video_capture_types.h VideoCaptureFormat(const gfx::Size& frame_size, gfx 49 media/video/capture/video_capture_types.h gfx::Size frame_size; gfx 98 media/video/capture/win/video_capture_device_mf_win.cc bool GetFrameSize(IMFMediaType* type, gfx::Size* frame_size) { gfx 9 media/video/picture.cc PictureBuffer::PictureBuffer(int32 id, gfx::Size size, uint32 texture_id) gfx 16 media/video/picture.cc gfx::Size size, gfx 19 media/video/picture.h PictureBuffer(int32 id, gfx::Size size, uint32 texture_id); gfx 21 media/video/picture.h gfx::Size size, gfx 31 media/video/picture.h gfx::Size size() const { gfx 48 media/video/picture.h gfx::Size size_; gfx 54 media/video/video_decode_accelerator.h const gfx::Size& dimensions, gfx 30 media/video/video_encode_accelerator.h gfx::Size max_resolution; gfx 71 media/video/video_encode_accelerator.h const gfx::Size& input_coded_size, gfx 113 media/video/video_encode_accelerator.h const gfx::Size& input_visible_size, gfx 46 mojo/examples/aura_demo/aura_demo.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 47 mojo/examples/aura_demo/aura_demo.cc return gfx::Size(); gfx 50 mojo/examples/aura_demo/aura_demo.cc virtual gfx::Size GetMaximumSize() const OVERRIDE { gfx 51 mojo/examples/aura_demo/aura_demo.cc return gfx::Size(); gfx 54 mojo/examples/aura_demo/aura_demo.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 55 mojo/examples/aura_demo/aura_demo.cc const gfx::Rect& new_bounds) OVERRIDE {} gfx 56 mojo/examples/aura_demo/aura_demo.cc virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { gfx 57 mojo/examples/aura_demo/aura_demo.cc return gfx::kNullCursor; gfx 59 mojo/examples/aura_demo/aura_demo.cc virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { gfx 64 mojo/examples/aura_demo/aura_demo.cc const gfx::Point& location) OVERRIDE { gfx 69 mojo/examples/aura_demo/aura_demo.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 77 mojo/examples/aura_demo/aura_demo.cc virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} gfx 98 mojo/examples/aura_demo/aura_demo.cc const gfx::Rect& bounds) OVERRIDE { gfx 118 mojo/examples/aura_demo/aura_demo.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen_.get()); gfx 127 mojo/examples/aura_demo/aura_demo.cc gfx::Rect(800, 600), gfx 141 mojo/examples/aura_demo/aura_demo.cc window1_->SetBounds(gfx::Rect(100, 100, 400, 400)); gfx 148 mojo/examples/aura_demo/aura_demo.cc window2_->SetBounds(gfx::Rect(200, 200, 350, 350)); gfx 155 mojo/examples/aura_demo/aura_demo.cc window21_->SetBounds(gfx::Rect(10, 10, 50, 50)); gfx 27 mojo/examples/aura_demo/demo_context_factory.cc if (!gfx::GLSurface::InitializeOneOff() || gfx 28 mojo/examples/aura_demo/demo_context_factory.cc gfx::GetGLImplementation() == gfx::kGLImplementationNone) { gfx 15 mojo/examples/aura_demo/demo_screen.cc return new DemoScreen(gfx::Rect(0, 0, 800, 600)); gfx 26 mojo/examples/aura_demo/demo_screen.cc gfx::Point DemoScreen::GetCursorScreenPoint() { gfx 28 mojo/examples/aura_demo/demo_screen.cc return gfx::Point(); gfx 31 mojo/examples/aura_demo/demo_screen.cc gfx::NativeWindow DemoScreen::GetWindowUnderCursor() { gfx 35 mojo/examples/aura_demo/demo_screen.cc gfx::NativeWindow DemoScreen::GetWindowAtScreenPoint(const gfx::Point& point) { gfx 44 mojo/examples/aura_demo/demo_screen.cc std::vector<gfx::Display> DemoScreen::GetAllDisplays() const { gfx 45 mojo/examples/aura_demo/demo_screen.cc return std::vector<gfx::Display>(1, display_); gfx 48 mojo/examples/aura_demo/demo_screen.cc gfx::Display DemoScreen::GetDisplayNearestWindow( gfx 49 mojo/examples/aura_demo/demo_screen.cc gfx::NativeWindow window) const { gfx 53 mojo/examples/aura_demo/demo_screen.cc gfx::Display DemoScreen::GetDisplayNearestPoint(const gfx::Point& point) const { gfx 57 mojo/examples/aura_demo/demo_screen.cc gfx::Display DemoScreen::GetDisplayMatching(const gfx::Rect& match_rect) const { gfx 61 mojo/examples/aura_demo/demo_screen.cc gfx::Display DemoScreen::GetPrimaryDisplay() const { gfx 65 mojo/examples/aura_demo/demo_screen.cc void DemoScreen::AddObserver(gfx::DisplayObserver* observer) { gfx 68 mojo/examples/aura_demo/demo_screen.cc void DemoScreen::RemoveObserver(gfx::DisplayObserver* observer) { gfx 71 mojo/examples/aura_demo/demo_screen.cc DemoScreen::DemoScreen(const gfx::Rect& screen_bounds) { gfx 12 mojo/examples/aura_demo/demo_screen.h namespace gfx { gfx 21 mojo/examples/aura_demo/demo_screen.h class DemoScreen : public gfx::Screen { gfx 29 mojo/examples/aura_demo/demo_screen.h virtual gfx::Point GetCursorScreenPoint() OVERRIDE; gfx 30 mojo/examples/aura_demo/demo_screen.h virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; gfx 31 mojo/examples/aura_demo/demo_screen.h virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 34 mojo/examples/aura_demo/demo_screen.h virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE; gfx 35 mojo/examples/aura_demo/demo_screen.h virtual gfx::Display GetDisplayNearestWindow( gfx 36 mojo/examples/aura_demo/demo_screen.h gfx::NativeView view) const OVERRIDE; gfx 37 mojo/examples/aura_demo/demo_screen.h virtual gfx::Display GetDisplayNearestPoint( gfx 38 mojo/examples/aura_demo/demo_screen.h const gfx::Point& point) const OVERRIDE; gfx 39 mojo/examples/aura_demo/demo_screen.h virtual gfx::Display GetDisplayMatching( gfx 40 mojo/examples/aura_demo/demo_screen.h const gfx::Rect& match_rect) const OVERRIDE; gfx 41 mojo/examples/aura_demo/demo_screen.h virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; gfx 42 mojo/examples/aura_demo/demo_screen.h virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 43 mojo/examples/aura_demo/demo_screen.h virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 46 mojo/examples/aura_demo/demo_screen.h explicit DemoScreen(const gfx::Rect& screen_bounds); gfx 48 mojo/examples/aura_demo/demo_screen.h gfx::Display display_; gfx 31 mojo/examples/aura_demo/window_tree_host_mojo.cc const gfx::Rect& bounds, gfx 59 mojo/examples/aura_demo/window_tree_host_mojo.cc gfx::AcceleratedWidget WindowTreeHostMojo::GetAcceleratedWidget() { gfx 61 mojo/examples/aura_demo/window_tree_host_mojo.cc return gfx::kNullAcceleratedWidget; gfx 78 mojo/examples/aura_demo/window_tree_host_mojo.cc gfx::Rect WindowTreeHostMojo::GetBounds() const { gfx 82 mojo/examples/aura_demo/window_tree_host_mojo.cc void WindowTreeHostMojo::SetBounds(const gfx::Rect& bounds) { gfx 87 mojo/examples/aura_demo/window_tree_host_mojo.cc gfx::Insets WindowTreeHostMojo::GetInsets() const { gfx 89 mojo/examples/aura_demo/window_tree_host_mojo.cc return gfx::Insets(); gfx 92 mojo/examples/aura_demo/window_tree_host_mojo.cc void WindowTreeHostMojo::SetInsets(const gfx::Insets& insets) { gfx 96 mojo/examples/aura_demo/window_tree_host_mojo.cc gfx::Point WindowTreeHostMojo::GetLocationOnNativeScreen() const { gfx 97 mojo/examples/aura_demo/window_tree_host_mojo.cc return gfx::Point(0, 0); gfx 108 mojo/examples/aura_demo/window_tree_host_mojo.cc bool WindowTreeHostMojo::QueryMouseLocation(gfx::Point* location_return) { gfx 131 mojo/examples/aura_demo/window_tree_host_mojo.cc void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { gfx 135 mojo/examples/aura_demo/window_tree_host_mojo.cc void WindowTreeHostMojo::MoveCursorToNative(const gfx::Point& location) { gfx 159 mojo/examples/aura_demo/window_tree_host_mojo.cc bounds_ = gfx::Rect(bounds.position().x(), bounds.position().y(), gfx 161 mojo/examples/aura_demo/window_tree_host_mojo.cc window()->SetBounds(gfx::Rect(bounds_.size())); gfx 178 mojo/examples/aura_demo/window_tree_host_mojo.cc gfx::Point location(event.location().x(), event.location().y()); gfx 27 mojo/examples/aura_demo/window_tree_host_mojo.h const gfx::Rect& bounds, gfx 31 mojo/examples/aura_demo/window_tree_host_mojo.h gfx::Rect bounds() const { return bounds_; } gfx 36 mojo/examples/aura_demo/window_tree_host_mojo.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 40 mojo/examples/aura_demo/window_tree_host_mojo.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 41 mojo/examples/aura_demo/window_tree_host_mojo.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 42 mojo/examples/aura_demo/window_tree_host_mojo.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 43 mojo/examples/aura_demo/window_tree_host_mojo.h virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; gfx 44 mojo/examples/aura_demo/window_tree_host_mojo.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 47 mojo/examples/aura_demo/window_tree_host_mojo.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 52 mojo/examples/aura_demo/window_tree_host_mojo.h virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; gfx 53 mojo/examples/aura_demo/window_tree_host_mojo.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 72 mojo/examples/aura_demo/window_tree_host_mojo.h gfx::Rect bounds_; gfx 44 mojo/examples/compositor_app/compositor_app.cc viewport_->Create(gfx::Rect(10, 10, 800, 600)); gfx 31 mojo/examples/compositor_app/compositor_host.cc void CompositorHost::SetSize(gfx::Size viewport_size) { gfx 39 mojo/examples/compositor_app/compositor_host.cc root_layer->SetBounds(gfx::Size(500, 500)); gfx 45 mojo/examples/compositor_app/compositor_host.cc child_layer_->SetBounds(gfx::Size(100, 100)); gfx 48 mojo/examples/compositor_app/compositor_host.cc gfx::Transform child_transform; gfx 62 mojo/examples/compositor_app/compositor_host.cc gfx::Transform child_transform; gfx 70 mojo/examples/compositor_app/compositor_host.cc void CompositorHost::ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 29 mojo/examples/compositor_app/compositor_host.h void SetSize(gfx::Size viewport_size); gfx 36 mojo/examples/compositor_app/compositor_host.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 69 mojo/examples/launcher/launcher.cc gfx::kNullAcceleratedWidget)) { gfx 124 mojo/examples/launcher/launcher.cc const gfx::Rect& bounds) OVERRIDE { gfx 200 mojo/examples/launcher/launcher.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen_.get()); gfx 209 mojo/examples/launcher/launcher.cc pipe.handle_to_self.Pass(), gfx::Rect(50, 50, 450, 60), gfx 242 mojo/examples/launcher/launcher.cc window_tree_host_->window()->SetBounds(gfx::Rect(450, 60)); gfx 18 mojo/examples/sample_app/gles2_client_impl.cc float CalculateDragDistance(const gfx::PointF& start, const Point& end) { gfx 39 mojo/examples/sample_app/gles2_client_impl.cc size_ = gfx::Size(size.width(), size.height()); gfx 77 mojo/examples/sample_app/gles2_client_impl.cc capture_point_ = last_drag_point_ = gfx::PointF(); gfx 36 mojo/examples/sample_app/gles2_client_impl.h gfx::Size size_; gfx 38 mojo/examples/sample_app/gles2_client_impl.h gfx::PointF capture_point_; gfx 39 mojo/examples/sample_app/gles2_client_impl.h gfx::PointF last_drag_point_; gfx 112 mojo/examples/view_manager/view_manager.cc native_viewport_->Create(gfx::Rect(50, 50, 800, 600)); gfx 168 mojo/gles2/command_buffer_client_impl.cc gfx::GpuMemoryBuffer* CommandBufferClientImpl::CreateGpuMemoryBuffer( gfx 64 mojo/gles2/command_buffer_client_impl.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer(size_t width, gfx 52 mojo/services/gles2/command_buffer_impl.cc gfx::AcceleratedWidget widget, gfx 53 mojo/services/gles2/command_buffer_impl.cc const gfx::Size& size) gfx 68 mojo/services/gles2/command_buffer_impl.cc scoped_refptr<gfx::GLSurface> surface = gfx 69 mojo/services/gles2/command_buffer_impl.cc gfx::GLSurface::CreateViewGLSurface(widget_); gfx 74 mojo/services/gles2/command_buffer_impl.cc scoped_refptr<gfx::GLContext> context = gfx::GLContext::CreateGLContext( gfx 75 mojo/services/gles2/command_buffer_impl.cc NULL, surface.get(), gfx::PreferIntegratedGpu); gfx 31 mojo/services/gles2/command_buffer_impl.h gfx::AcceleratedWidget widget, gfx 32 mojo/services/gles2/command_buffer_impl.h const gfx::Size& size); gfx 60 mojo/services/gles2/command_buffer_impl.h gfx::AcceleratedWidget widget_; gfx 61 mojo/services/gles2/command_buffer_impl.h gfx::Size size_; gfx 14 mojo/services/native_viewport/geometry_conversions.h class TypeConverter<Point, gfx::Point> { gfx 16 mojo/services/native_viewport/geometry_conversions.h static Point ConvertFrom(const gfx::Point& input, Buffer* buf) { gfx 22 mojo/services/native_viewport/geometry_conversions.h static gfx::Point ConvertTo(const Point& input) { gfx 23 mojo/services/native_viewport/geometry_conversions.h return gfx::Point(input.x(), input.y()); gfx 28 mojo/services/native_viewport/geometry_conversions.h class TypeConverter<Size, gfx::Size> { gfx 30 mojo/services/native_viewport/geometry_conversions.h static Size ConvertFrom(const gfx::Size& input, Buffer* buf) { gfx 36 mojo/services/native_viewport/geometry_conversions.h static gfx::Size ConvertTo(const Size& input) { gfx 37 mojo/services/native_viewport/geometry_conversions.h return gfx::Size(input.width(), input.height()); gfx 42 mojo/services/native_viewport/geometry_conversions.h class TypeConverter<Rect, gfx::Rect> { gfx 44 mojo/services/native_viewport/geometry_conversions.h static Rect ConvertFrom(const gfx::Rect& input, Buffer* buf) { gfx 50 mojo/services/native_viewport/geometry_conversions.h static gfx::Rect ConvertTo(const Rect& input) { gfx 51 mojo/services/native_viewport/geometry_conversions.h return gfx::Rect(input.position().x(), input.position().y(), gfx 12 mojo/services/native_viewport/native_viewport.h namespace gfx { gfx 31 mojo/services/native_viewport/native_viewport.h virtual void OnBoundsChanged(const gfx::Rect& size) = 0; gfx 32 mojo/services/native_viewport/native_viewport.h virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) = 0; gfx 44 mojo/services/native_viewport/native_viewport.h virtual void Init(const gfx::Rect& bounds) = 0; gfx 48 mojo/services/native_viewport/native_viewport.h virtual gfx::Size GetSize() = 0; gfx 49 mojo/services/native_viewport/native_viewport.h virtual void SetBounds(const gfx::Rect& bounds) = 0; gfx 74 mojo/services/native_viewport/native_viewport_android.cc bounds_ = gfx::Rect(width, height); gfx 83 mojo/services/native_viewport/native_viewport_android.cc gfx::Point location(static_cast<int>(x), static_cast<int>(y)); gfx 98 mojo/services/native_viewport/native_viewport_android.cc void NativeViewportAndroid::Init(const gfx::Rect& bounds) { gfx 119 mojo/services/native_viewport/native_viewport_android.cc gfx::Size NativeViewportAndroid::GetSize() { gfx 123 mojo/services/native_viewport/native_viewport_android.cc void NativeViewportAndroid::SetBounds(const gfx::Rect& bounds) { gfx 45 mojo/services/native_viewport/native_viewport_android.h virtual void Init(const gfx::Rect& bounds) OVERRIDE; gfx 49 mojo/services/native_viewport/native_viewport_android.h virtual gfx::Size GetSize() OVERRIDE; gfx 50 mojo/services/native_viewport/native_viewport_android.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 59 mojo/services/native_viewport/native_viewport_android.h gfx::Rect bounds_; gfx 35 mojo/services/native_viewport/native_viewport_service.cc : widget_(gfx::kNullAcceleratedWidget), gfx 62 mojo/services/native_viewport/native_viewport_service.cc gfx::Rect gfx_bounds(bounds.position().x(), bounds.position().y(), gfx 92 mojo/services/native_viewport/native_viewport_service.cc if (widget_ == gfx::kNullAcceleratedWidget) gfx 94 mojo/services/native_viewport/native_viewport_service.cc gfx::Size size = native_viewport_->GetSize(); gfx 156 mojo/services/native_viewport/native_viewport_service.cc gfx::AcceleratedWidget widget) OVERRIDE { gfx 161 mojo/services/native_viewport/native_viewport_service.cc virtual void OnBoundsChanged(const gfx::Rect& bounds) OVERRIDE { gfx 174 mojo/services/native_viewport/native_viewport_service.cc gfx::AcceleratedWidget widget_; gfx 31 mojo/services/native_viewport/native_viewport_stub.cc virtual gfx::Size GetSize() OVERRIDE { gfx 32 mojo/services/native_viewport/native_viewport_stub.cc return gfx::Size(); gfx 34 mojo/services/native_viewport/native_viewport_stub.cc virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE { gfx 15 mojo/services/native_viewport/native_viewport_win.cc gfx::Rect GetWindowBoundsForClientBounds(DWORD style, DWORD ex_style, gfx 16 mojo/services/native_viewport/native_viewport_win.cc const gfx::Rect& bounds) { gfx 23 mojo/services/native_viewport/native_viewport_win.cc return gfx::Rect(wr.left, wr.top, wr.right - wr.left, wr.bottom - wr.top); gfx 28 mojo/services/native_viewport/native_viewport_win.cc class NativeViewportWin : public gfx::WindowImpl, gfx 41 mojo/services/native_viewport/native_viewport_win.cc virtual void Init(const gfx::Rect& bounds) OVERRIDE { gfx 42 mojo/services/native_viewport/native_viewport_win.cc gfx::Rect window_bounds = GetWindowBoundsForClientBounds( gfx 44 mojo/services/native_viewport/native_viewport_win.cc gfx::WindowImpl::Init(NULL, window_bounds); gfx 60 mojo/services/native_viewport/native_viewport_win.cc virtual gfx::Size GetSize() OVERRIDE { gfx 63 mojo/services/native_viewport/native_viewport_win.cc return gfx::Size(cr.right - cr.left, cr.bottom - cr.top); gfx 66 mojo/services/native_viewport/native_viewport_win.cc virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE { gfx 67 mojo/services/native_viewport/native_viewport_win.cc gfx::Rect window_bounds = GetWindowBoundsForClientBounds( gfx 139 mojo/services/native_viewport/native_viewport_win.cc delegate_->OnBoundsChanged(gfx::Rect(window_pos->x, window_pos->y, gfx 28 mojo/services/native_viewport/native_viewport_x11.cc XDestroyWindow(gfx::GetXDisplay(), window_); gfx 33 mojo/services/native_viewport/native_viewport_x11.cc virtual void Init(const gfx::Rect& bounds) OVERRIDE { gfx 34 mojo/services/native_viewport/native_viewport_x11.cc XDisplay* display = gfx::GetXDisplay(); gfx 63 mojo/services/native_viewport/native_viewport_x11.cc XDisplay* display = gfx::GetXDisplay(); gfx 69 mojo/services/native_viewport/native_viewport_x11.cc XWithdrawWindow(gfx::GetXDisplay(), window_, 0); gfx 77 mojo/services/native_viewport/native_viewport_x11.cc virtual gfx::Size GetSize() OVERRIDE { gfx 81 mojo/services/native_viewport/native_viewport_x11.cc virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE { gfx 109 mojo/services/native_viewport/native_viewport_x11.cc gfx::Rect bounds_; gfx 76 mojo/shell/android/mojo_main.cc gfx::GLSurface::InitializeOneOff(); gfx 67 mojo/shell/desktop/mojo_main.cc gfx::GLSurface::InitializeOneOff(); gfx 193 ppapi/proxy/ppapi_command_buffer_proxy.cc gfx::GpuMemoryBuffer* PpapiCommandBufferProxy::CreateGpuMemoryBuffer( gfx 46 ppapi/proxy/ppapi_command_buffer_proxy.h virtual gfx::GpuMemoryBuffer* CreateGpuMemoryBuffer( gfx 57 printing/backend/print_backend.h gfx::Size size_um; gfx 63 printing/backend/print_backend.h std::vector<gfx::Size> dpis; gfx 64 printing/backend/print_backend.h gfx::Size default_dpi; gfx 103 printing/backend/print_backend_win.cc gfx::Size default_size; gfx 142 printing/backend/print_backend_win.cc caps->dpis.push_back(gfx::Size(dpis[i].x, dpis[i].y)); gfx 110 printing/emf_win.cc explicit RasterBitmap(const gfx::Size& raster_size) gfx 119 printing/emf_win.cc gfx::Rect bitmap_rect(raster_size); gfx 120 printing/emf_win.cc gfx::CreateBitmapHeader(raster_size.width(), raster_size.height(), gfx 241 printing/emf_win.cc gfx::Rect Emf::GetPageBounds(unsigned int page_number) const { gfx 247 printing/emf_win.cc return gfx::Rect(); gfx 251 printing/emf_win.cc return gfx::Rect(header.rclBounds.left, gfx 398 printing/emf_win.cc bitmap.reset(gfx::JPEGCodec::Decode(bits, bmih->biSizeImage)); gfx 405 printing/emf_win.cc gfx::PNGCodec::Decode(bits, bmih->biSizeImage, bitmap.get()); gfx 420 printing/emf_win.cc gfx::CreateBitmapHeader(bitmap->width(), bitmap->height(), &bmi); gfx 521 printing/emf_win.cc const gfx::Size& page_size, const gfx::Rect& content_area, gfx 531 printing/emf_win.cc bool Emf::StartPage(const gfx::Size& /*page_size*/, gfx 532 printing/emf_win.cc const gfx::Rect& /*content_area*/, gfx 605 printing/emf_win.cc gfx::Rect page_bounds = GetPageBounds(1); gfx 606 printing/emf_win.cc gfx::Size page_size(page_bounds.size()); gfx 609 printing/emf_win.cc page_bounds = gfx::Rect(1, 1); gfx 619 printing/emf_win.cc gfx::Rect bitmap_rect(page_size); gfx 650 printing/emf_win.cc gfx::Rect page_bounds = GetPageBounds(1); gfx 653 printing/emf_win.cc page_bounds = gfx::Rect(1, 1); gfx 21 printing/emf_win.h namespace gfx { gfx 58 printing/emf_win.h const gfx::Size& page_size, const gfx::Rect& content_area, gfx 64 printing/emf_win.h virtual bool StartPage(const gfx::Size& page_size, gfx 65 printing/emf_win.h const gfx::Rect& content_area, gfx 79 printing/emf_win.h virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE; gfx 140 printing/emf_win_unittest.cc EXPECT_TRUE(emf.StartPage(gfx::Size(), gfx::Rect(), 1)); gfx 64 printing/image.cc bool success = gfx::PNGCodec::Encode(&*data_.begin(), gfx 65 printing/image.cc gfx::PNGCodec::FORMAT_BGRA, gfx 69 printing/image.cc std::vector<gfx::PNGCodec::Comment>(), gfx 143 printing/image.cc bool success = gfx::PNGCodec::Decode( gfx 145 printing/image.cc compressed.size(), gfx::PNGCodec::FORMAT_BGRA, &data_, &w, &h); gfx 42 printing/image.h const gfx::Size& size() const { gfx 83 printing/image.h gfx::Size size_; gfx 18 printing/image_mac.cc gfx::Rect rect(metafile.GetPageBounds(page_number)); gfx 53 printing/image_win.cc gfx::Rect rect(metafile.GetPageBounds(1)); gfx 68 printing/image_win.cc gfx::CreateBitmapV4Header(rect.width(), rect.height(), &hdr); gfx 25 printing/metafile.h namespace gfx { gfx 91 printing/metafile.h const gfx::Size& page_size, gfx 92 printing/metafile.h const gfx::Rect& content_area, gfx 98 printing/metafile.h virtual bool StartPage(const gfx::Size& page_size, gfx 99 printing/metafile.h const gfx::Rect& content_area, gfx 125 printing/metafile.h virtual gfx::Rect GetPageBounds(unsigned int page_number) const = 0; gfx 129 printing/metafile.h virtual gfx::NativeDrawingContext context() const = 0; gfx 140 printing/metafile.h virtual bool Playback(gfx::NativeDrawingContext hdc, gfx 147 printing/metafile.h virtual bool SafePlayback(gfx::NativeDrawingContext hdc) const = 0; gfx 155 printing/metafile.h gfx::NativeDrawingContext context, gfx 66 printing/page_setup.cc void PageSetup::Init(const gfx::Size& physical_size, gfx 67 printing/page_setup.cc const gfx::Rect& printable_area, gfx 95 printing/page_setup.cc gfx::Size new_size(physical_size_.height(), physical_size_.width()); gfx 98 printing/page_setup.cc gfx::Rect new_printable_area(printable_area_.y(), gfx 111 printing/page_setup.cc CalculateSizesWithinRect(gfx::Rect(physical_size_), 0); gfx 117 printing/page_setup.cc void PageSetup::CalculateSizesWithinRect(const gfx::Rect& bounds, gfx 46 printing/page_setup.h void Init(const gfx::Size& physical_size, const gfx::Rect& printable_area, gfx 58 printing/page_setup.h const gfx::Size& physical_size() const { return physical_size_; } gfx 59 printing/page_setup.h const gfx::Rect& overlay_area() const { return overlay_area_; } gfx 60 printing/page_setup.h const gfx::Rect& content_area() const { return content_area_; } gfx 61 printing/page_setup.h const gfx::Rect& printable_area() const { return printable_area_; } gfx 73 printing/page_setup.h void CalculateSizesWithinRect(const gfx::Rect& bounds, int text_height); gfx 76 printing/page_setup.h gfx::Size physical_size_; gfx 80 printing/page_setup.h gfx::Rect printable_area_; gfx 83 printing/page_setup.h gfx::Rect overlay_area_; gfx 86 printing/page_setup.h gfx::Rect content_area_; gfx 30 printing/page_setup_unittest.cc gfx::Size page_size(100 + rand() % kMax, 200 + rand() % kMax); gfx 31 printing/page_setup_unittest.cc gfx::Rect printable_area(rand() % kMax, rand() % kMax, 0, 0); gfx 58 printing/page_setup_unittest.cc gfx::Rect overlay_area(effective_margins.left, effective_margins.header, gfx 65 printing/page_setup_unittest.cc gfx::Rect content_area(overlay_area.x(), gfx 114 printing/page_setup_unittest.cc gfx::Size page_size(100, 100); gfx 115 printing/page_setup_unittest.cc gfx::Rect printable_area(3, 3, 94, 94); gfx 132 printing/page_setup_unittest.cc gfx::Rect overlay_area(4, 3, 92, 94); gfx 135 printing/page_setup_unittest.cc gfx::Rect content_area(4, 6, 92, 88); gfx 176 printing/page_setup_unittest.cc gfx::Size page_size(100, 100); gfx 177 printing/page_setup_unittest.cc gfx::Rect printable_area(1, 2, 96, 94); gfx 208 printing/page_setup_unittest.cc gfx::Size page_size(100, 70); gfx 209 printing/page_setup_unittest.cc gfx::Rect printable_area(8, 9, 92, 50); gfx 216 printing/page_setup_unittest.cc gfx::Rect overlay_area(8, 9, 86, 50); gfx 217 printing/page_setup_unittest.cc gfx::Rect content_area(8, 14, 86, 40); gfx 232 printing/page_setup_unittest.cc gfx::Size flipped_page_size(70, 100); gfx 233 printing/page_setup_unittest.cc gfx::Rect flipped_printable_area(9, 0, 50, 92); gfx 234 printing/page_setup_unittest.cc gfx::Rect flipped_overlay_area(9, 2, 50, 90); gfx 235 printing/page_setup_unittest.cc gfx::Rect flipped_content_area(9, 14, 50, 73); gfx 261 printing/page_setup_unittest.cc gfx::Rect new_printable_area(9, 0, 50, 92); gfx 262 printing/page_setup_unittest.cc gfx::Rect new_overlay_area(4, 2, 60, 95); gfx 263 printing/page_setup_unittest.cc gfx::Rect new_content_area(4, 14, 60, 79); gfx 114 printing/pdf_metafile_cg_mac.cc const gfx::Size& page_size, const gfx::Rect& content_area, gfx 120 printing/pdf_metafile_cg_mac.cc bool PdfMetafileCg::StartPage(const gfx::Size& page_size, gfx 121 printing/pdf_metafile_cg_mac.cc const gfx::Rect& content_area, gfx 248 printing/pdf_metafile_cg_mac.cc gfx::Rect PdfMetafileCg::GetPageBounds(unsigned int page_number) const { gfx 252 printing/pdf_metafile_cg_mac.cc return gfx::Rect(); gfx 256 printing/pdf_metafile_cg_mac.cc return gfx::Rect(); gfx 260 printing/pdf_metafile_cg_mac.cc return gfx::Rect(page_rect); gfx 21 printing/pdf_metafile_cg_mac.h namespace gfx { gfx 41 printing/pdf_metafile_cg_mac.h const gfx::Size& page_size, const gfx::Rect& content_area, gfx 43 printing/pdf_metafile_cg_mac.h virtual bool StartPage(const gfx::Size& page_size, gfx 44 printing/pdf_metafile_cg_mac.h const gfx::Rect& content_area, gfx 55 printing/pdf_metafile_cg_mac.h virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE; gfx 63 printing/pdf_metafile_cg_mac.h gfx::NativeDrawingContext context, gfx 24 printing/pdf_metafile_cg_mac_unittest.cc gfx::Rect rect_1(10, 10, 520, 700); gfx 25 printing/pdf_metafile_cg_mac_unittest.cc gfx::Size size_1(540, 720); gfx 30 printing/pdf_metafile_cg_mac_unittest.cc gfx::Rect rect_2(10, 10, 520, 700); gfx 31 printing/pdf_metafile_cg_mac_unittest.cc gfx::Size size_2(720, 540); gfx 59 printing/pdf_metafile_cg_mac_unittest.cc gfx::Size page_size = pdf2.GetPageBounds(1).size(); gfx 55 printing/pdf_metafile_skia.cc const gfx::Size& page_size, const gfx::Rect& content_area, gfx 77 printing/pdf_metafile_skia.cc bool PdfMetafileSkia::StartPage(const gfx::Size& page_size, gfx 78 printing/pdf_metafile_skia.cc const gfx::Rect& content_area, gfx 143 printing/pdf_metafile_skia.cc gfx::Rect PdfMetafileSkia::GetPageBounds(unsigned int page_number) const { gfx 147 printing/pdf_metafile_skia.cc return gfx::Rect(); gfx 156 printing/pdf_metafile_skia.cc gfx::NativeDrawingContext PdfMetafileSkia::context() const { gfx 162 printing/pdf_metafile_skia.cc bool PdfMetafileSkia::Playback(gfx::NativeDrawingContext hdc, gfx 168 printing/pdf_metafile_skia.cc bool PdfMetafileSkia::SafePlayback(gfx::NativeDrawingContext hdc) const { gfx 34 printing/pdf_metafile_skia.h const gfx::Size& page_size, gfx 35 printing/pdf_metafile_skia.h const gfx::Rect& content_area, gfx 38 printing/pdf_metafile_skia.h virtual bool StartPage(const gfx::Size& page_size, gfx 39 printing/pdf_metafile_skia.h const gfx::Rect& content_area, gfx 49 printing/pdf_metafile_skia.h virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE; gfx 52 printing/pdf_metafile_skia.h virtual gfx::NativeDrawingContext context() const OVERRIDE; gfx 55 printing/pdf_metafile_skia.h virtual bool Playback(gfx::NativeDrawingContext hdc, gfx 57 printing/pdf_metafile_skia.h virtual bool SafePlayback(gfx::NativeDrawingContext hdc) const OVERRIDE; gfx 61 printing/pdf_metafile_skia.h gfx::NativeDrawingContext context, gfx 19 printing/pdf_render_settings.h typedef Tuple3<gfx::Rect, int, bool> PdfRenderSettingsBase; gfx 24 printing/pdf_render_settings.h PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate) gfx 28 printing/pdf_render_settings.h const gfx::Rect& area() const { return a; } gfx 32 printing/print_dialog_gtk_interface.h gfx::NativeView parent_view, gfx 143 printing/print_settings.cc const gfx::Size& physical_size_device_units, gfx 144 printing/print_settings.cc const gfx::Rect& printable_area_device_units, gfx 49 printing/print_settings.h void SetPrinterPrintableArea(const gfx::Size& physical_size_device_units, gfx 50 printing/print_settings.h const gfx::Rect& printable_area_device_units, gfx 30 printing/print_settings_initializer_gtk.cc gfx::Size physical_size_device_units; gfx 31 printing/print_settings_initializer_gtk.cc gfx::Rect printable_area_device_units; gfx 49 printing/print_settings_initializer_mac.cc gfx::Size physical_size_device_units( gfx 52 printing/print_settings_initializer_mac.cc gfx::Rect printable_area_device_units( gfx 37 printing/print_settings_initializer_win.cc gfx::Size physical_size_device_units(GetDeviceCaps(hdc, PHYSICALWIDTH), gfx 39 printing/print_settings_initializer_win.cc gfx::Rect printable_area_device_units(GetDeviceCaps(hdc, PHYSICALOFFSETX), gfx 47 printing/print_settings_initializer_win.cc !gfx::Rect(physical_size_device_units).Contains( gfx 49 printing/print_settings_initializer_win.cc printable_area_device_units = gfx::Rect(physical_size_device_units); gfx 69 printing/printed_document.cc const gfx::Size& paper_size, gfx 70 printing/printed_document.cc const gfx::Rect& page_rect) { gfx 46 printing/printed_document.h const gfx::Size& paper_size, const gfx::Rect& page_rect); gfx 57 printing/printed_document.h gfx::NativeDrawingContext context) const; gfx 17 printing/printed_document_mac.cc const PrintedPage& page, gfx::NativeDrawingContext context) const { gfx 29 printing/printed_document_mac.cc gfx::Rect content_area; gfx 28 printing/printed_document_win.cc void DrawRect(HDC context, gfx::Rect rect) { gfx 37 printing/printed_document_win.cc const PrintedPage& page, gfx::NativeDrawingContext context) const { gfx 49 printing/printed_document_win.cc gfx::Rect content_area; gfx 11 printing/printed_page.cc const gfx::Size& page_size, gfx 12 printing/printed_page.cc const gfx::Rect& page_content_rect, gfx 29 printing/printed_page.cc const gfx::Size& paper_size, gfx::Rect* content_rect) const { gfx 27 printing/printed_page.h const gfx::Size& page_size, gfx 28 printing/printed_page.h const gfx::Rect& page_content_rect, gfx 34 printing/printed_page.h const gfx::Size& page_size() const { return page_size_; } gfx 35 printing/printed_page.h const gfx::Rect& page_content_rect() const { return page_content_rect_; } gfx 40 printing/printed_page.h void GetCenteredPageContentRect(const gfx::Size& paper_size, gfx 41 printing/printed_page.h gfx::Rect* content_rect) const; gfx 56 printing/printed_page.h const gfx::Size page_size_; gfx 59 printing/printed_page.h const gfx::Rect page_content_rect_; gfx 12 printing/printed_page_unittest.cc gfx::Rect page_content; gfx 17 printing/printed_page_unittest.cc gfx::Size(1200, 1200), gfx 18 printing/printed_page_unittest.cc gfx::Rect(0, 0, 400, 1100), gfx 20 printing/printed_page_unittest.cc page->GetCenteredPageContentRect(gfx::Size(1000, 1000), &page_content); gfx 30 printing/printed_page_unittest.cc gfx::Size(500, 1200), gfx 31 printing/printed_page_unittest.cc gfx::Rect(0, 0, 400, 1100), gfx 33 printing/printed_page_unittest.cc page->GetCenteredPageContentRect(gfx::Size(1000, 1000), &page_content); gfx 43 printing/printed_page_unittest.cc gfx::Size(1200, 500), gfx 44 printing/printed_page_unittest.cc gfx::Rect(0, 0, 400, 1100), gfx 46 printing/printed_page_unittest.cc page->GetCenteredPageContentRect(gfx::Size(1000, 1000), &page_content); gfx 56 printing/printed_page_unittest.cc gfx::Size(500, 500), gfx 57 printing/printed_page_unittest.cc gfx::Rect(0, 0, 400, 1100), gfx 59 printing/printed_page_unittest.cc page->GetCenteredPageContentRect(gfx::Size(1000, 1000), &page_content); gfx 81 printing/printing_context.cc gfx::Size paper_size(GetPdfPaperSizeDeviceUnits()); gfx 82 printing/printing_context.cc gfx::Rect paper_rect(0, 0, paper_size.width(), paper_size.height()); gfx 45 printing/printing_context.h virtual void AskUserForSettings(gfx::NativeView parent_view, gfx 55 printing/printing_context.h virtual gfx::Size GetPdfPaperSizeDeviceUnits() = 0; gfx 96 printing/printing_context.h virtual gfx::NativeDrawingContext context() const = 0; gfx 34 printing/printing_context_android.cc gfx::Size physical_size_device_units(width, height); gfx 36 printing/printing_context_android.cc gfx::Rect printable_area_device_units(0, 0, width, height); gfx 83 printing/printing_context_android.cc gfx::NativeView parent_view, gfx 141 printing/printing_context_android.cc gfx::Size physical_size = GetPdfPaperSizeDeviceUnits(); gfx 147 printing/printing_context_android.cc gfx::Size PrintingContextAndroid::GetPdfPaperSizeDeviceUnits() { gfx 169 printing/printing_context_android.cc return gfx::Size(width, height); gfx 236 printing/printing_context_android.cc gfx::NativeDrawingContext PrintingContextAndroid::context() const { gfx 35 printing/printing_context_android.h gfx::NativeView parent_view, gfx 40 printing/printing_context_android.h virtual gfx::Size GetPdfPaperSizeDeviceUnits() OVERRIDE; gfx 49 printing/printing_context_android.h virtual gfx::NativeDrawingContext context() const OVERRIDE; gfx 22 printing/printing_context_linux.cc gfx::Size (*get_pdf_paper_size_)( gfx 57 printing/printing_context_linux.cc gfx::Size (*get_pdf_paper_size)(PrintingContextLinux* context)) { gfx 70 printing/printing_context_linux.cc gfx::NativeView parent_view, gfx 102 printing/printing_context_linux.cc gfx::Size PrintingContextLinux::GetPdfPaperSizeDeviceUnits() { gfx 106 printing/printing_context_linux.cc return gfx::Size(); gfx 185 printing/printing_context_linux.cc gfx::NativeDrawingContext PrintingContextLinux::context() const { gfx 34 printing/printing_context_linux.h gfx::Size (*get_pdf_paper_size)(PrintingContextLinux* context)); gfx 41 printing/printing_context_linux.h gfx::NativeView parent_view, gfx 45 printing/printing_context_linux.h virtual gfx::Size GetPdfPaperSizeDeviceUnits() OVERRIDE; gfx 55 printing/printing_context_linux.h virtual gfx::NativeDrawingContext context() const OVERRIDE; gfx 29 printing/printing_context_mac.h gfx::NativeView parent_view, gfx 34 printing/printing_context_mac.h virtual gfx::Size GetPdfPaperSizeDeviceUnits() OVERRIDE; gfx 43 printing/printing_context_mac.h virtual gfx::NativeDrawingContext context() const OVERRIDE; gfx 32 printing/printing_context_no_system_dialog.cc gfx::NativeView parent_view, gfx 45 printing/printing_context_no_system_dialog.cc gfx::Size physical_size = GetPdfPaperSizeDeviceUnits(); gfx 47 printing/printing_context_no_system_dialog.cc gfx::Rect printable_area(0, 0, physical_size.width(), physical_size.height()); gfx 53 printing/printing_context_no_system_dialog.cc gfx::Size PrintingContextNoSystemDialog::GetPdfPaperSizeDeviceUnits() { gfx 74 printing/printing_context_no_system_dialog.cc return gfx::Size(width, height); gfx 141 printing/printing_context_no_system_dialog.cc gfx::NativeDrawingContext PrintingContextNoSystemDialog::context() const { gfx 25 printing/printing_context_no_system_dialog.h gfx::NativeView parent_view, gfx 30 printing/printing_context_no_system_dialog.h virtual gfx::Size GetPdfPaperSizeDeviceUnits() OVERRIDE; gfx 39 printing/printing_context_no_system_dialog.h virtual gfx::NativeDrawingContext context() const OVERRIDE; gfx 40 printing/printing_context_win.cc HWND GetRootWindow(gfx::NativeView view) { gfx 175 printing/printing_context_win.cc gfx::NativeView view, int max_pages, bool has_selection, gfx 295 printing/printing_context_win.cc gfx::Size PrintingContextWin::GetPdfPaperSizeDeviceUnits() { gfx 297 printing/printing_context_win.cc gfx::SizeF paper_size(kLetterWidthInch, kLetterHeightInch); gfx 320 printing/printing_context_win.cc return gfx::Size( gfx 517 printing/printing_context_win.cc gfx::NativeDrawingContext PrintingContextWin::context() const { gfx 595 printing/printing_context_win.cc gfx::NativeDrawingContext* context) { gfx 27 printing/printing_context_win.h gfx::NativeView parent_view, gfx 32 printing/printing_context_win.h virtual gfx::Size GetPdfPaperSizeDeviceUnits() OVERRIDE; gfx 41 printing/printing_context_win.h virtual gfx::NativeDrawingContext context() const OVERRIDE; gfx 46 printing/printing_context_win.h gfx::NativeDrawingContext* context); gfx 24 printing/printing_utils.cc gfx::ElideString(no_controls, kMaxDocumentTitleLength, &result); gfx 20 remoting/client/jni/chromoting_jni_onload.cc {"gfx", gfx::android::RegisterJni}, gfx 119 remoting/client/jni/jni_frame_consumer.cc bitmap_.reset(new gfx::JavaBitmap(bitmap_global_ref_.obj())); gfx 17 remoting/client/jni/jni_frame_consumer.h namespace gfx { gfx 83 remoting/client/jni/jni_frame_consumer.h scoped_ptr<gfx::JavaBitmap> bitmap_; gfx 548 remoting/host/plugin/host_plugin.cc gfx::EnableHighDPISupport(); gfx 1251 remoting/host/remoting_me2me_host.cc gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx 41 skia/ext/bitmap_platform_device_mac_unittest.cc SkRect clip_rect = gfx::CGRectToSkRect(CGContextGetClipBoundingBox(context)); gfx 61 skia/ext/bitmap_platform_device_mac_unittest.cc SkRect clip_rect = gfx::CGRectToSkRect(CGContextGetClipBoundingBox(context)); gfx 196 skia/ext/image_operations_unittest.cc gfx::PNGCodec::ColorFormat color_format = gfx::PNGCodec::FORMAT_RGBA; gfx 197 skia/ext/image_operations_unittest.cc if (!gfx::PNGCodec::Encode( gfx 199 skia/ext/image_operations_unittest.cc color_format, gfx::Size(bmp.width(), bmp.height()), gfx 201 skia/ext/image_operations_unittest.cc false, std::vector<gfx::PNGCodec::Comment>(), &png)) { gfx 25 skia/ext/pixel_ref_utils_unittest.cc void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap); gfx 30 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &bitmap_); gfx 42 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &bitmap_); gfx 61 skia/ext/pixel_ref_utils_unittest.cc void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap) { gfx 72 skia/ext/pixel_ref_utils_unittest.cc SkCanvas* StartRecording(SkPicture* picture, gfx::Rect layer_rect) { gfx 95 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 125 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 256, 256), gfx 126 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 127 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(34, 45, 56, 67), gfx 128 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 129 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(34, 45, 56, 55), gfx 130 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 134 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 178 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 90, 90), gfx 179 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 180 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 40, 40), gfx 181 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 182 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 55, 150, 145), gfx 183 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 187 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 224 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 20, 30, 40), gfx 225 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 226 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(5, 50, 25, 35), gfx 227 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 228 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 50, 50, 50), gfx 229 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 233 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 275 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 20, 30, 40), gfx 276 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 277 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(5, 50, 25, 35), gfx 278 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 279 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 50, 50, 50), gfx 280 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 284 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 325 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(20, 10, 60, 20), gfx 326 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 327 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(1, 35, 25, 35), gfx 328 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 329 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 50, 50, 50), gfx 330 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 334 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 369 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(12, 13, 38, 88), gfx 370 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 371 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(12, 13, 38, 37), gfx 372 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 376 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 382 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &first); gfx 384 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &second); gfx 386 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &third); gfx 388 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 1), "discardable", &fourth); gfx 390 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(10, 10), "discardable", &fifth); gfx 423 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 50, 50), gfx 424 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 425 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(25, 0, 50, 50), gfx 426 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 427 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 50, 50, 50), gfx 428 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 429 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 1, 50), gfx 430 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[3].pixel_ref_rect)); gfx 431 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 50, 60), gfx 432 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[4].pixel_ref_rect)); gfx 437 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 443 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &first); gfx 445 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &second); gfx 447 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &third); gfx 477 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 100, 100), gfx 478 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 479 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(75, 50, 10, 10), gfx 480 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 481 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 30, 100, 100), gfx 482 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 483 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 30, 100, 100), gfx 484 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[3].pixel_ref_rect)); gfx 488 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 494 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &first); gfx 496 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &second); gfx 498 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &third); gfx 500 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &fourth); gfx 502 skia/ext/pixel_ref_utils_unittest.cc CreateBitmap(gfx::Size(50, 50), "discardable", &fifth); gfx 540 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 50, 50), gfx 541 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 542 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 0, 50, 50), gfx 543 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 544 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(25, 0, 50, 50), gfx 545 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 546 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(0, 0, 50, 50), gfx 547 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[3].pixel_ref_rect)); gfx 548 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(100, 100, 50, 50), gfx 549 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[4].pixel_ref_rect)); gfx 550 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(100, 100, 50, 50), gfx 551 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[5].pixel_ref_rect)); gfx 555 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 588 skia/ext/pixel_ref_utils_unittest.cc gfx::Rect layer_rect(0, 0, 256, 256); gfx 658 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 90, 90), gfx 659 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[0].pixel_ref_rect)); gfx 660 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(10, 10, 40, 40), gfx 661 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[1].pixel_ref_rect)); gfx 662 skia/ext/pixel_ref_utils_unittest.cc EXPECT_FLOAT_RECT_EQ(gfx::RectF(50, 55, 150, 145), gfx 663 skia/ext/pixel_ref_utils_unittest.cc gfx::SkRectToRectF(pixel_refs[2].pixel_ref_rect)); gfx 108 skia/ext/platform_device_mac.cc CGAffineTransform cg_matrix = gfx::SkMatrixToCGAffineTransform( gfx 124 skia/ext/platform_device_mac.cc CGContextClipToRect(context, gfx::SkRectToCGRect(rect)); gfx 140 skia/ext/platform_device_mac.cc CGContextClipToRect(context, gfx::SkIRectToCGRect(irect)); gfx 21 skia/ext/skia_utils_ios.h namespace gfx { gfx 37 skia/ext/skia_utils_mac.h namespace gfx { gfx 93 skia/ext/vector_canvas_unittest.cc EXPECT_TRUE(gfx::PNGCodec::Decode( gfx 130 skia/ext/vector_canvas_unittest.cc ASSERT_TRUE(gfx::PNGCodec::Encode(&*data_.begin(), gfx 131 skia/ext/vector_canvas_unittest.cc gfx::PNGCodec::FORMAT_BGRA, gfx 132 skia/ext/vector_canvas_unittest.cc gfx::Size(width_, height_), gfx 135 skia/ext/vector_canvas_unittest.cc std::vector<gfx::PNGCodec::Comment>(), gfx 341 skia/ext/vector_canvas_unittest.cc ASSERT_TRUE(gfx::PNGCodec::Decode( gfx 945 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::Point> { gfx 946 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::Point *p, Generator* generator) { gfx 959 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::PointF> { gfx 960 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::PointF *p, Generator* generator) { gfx 973 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::Size> { gfx 974 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::Size *p, Generator* generator) { gfx 987 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::SizeF> { gfx 988 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::SizeF *p, Generator* generator) { gfx 1001 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::Rect> { gfx 1002 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::Rect *p, Generator* generator) { gfx 1003 tools/ipc_fuzzer/mutate/generate.cc gfx::Point origin; gfx 1004 tools/ipc_fuzzer/mutate/generate.cc gfx::Size size; gfx 1016 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::RectF> { gfx 1017 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::RectF *p, Generator* generator) { gfx 1018 tools/ipc_fuzzer/mutate/generate.cc gfx::PointF origin; gfx 1019 tools/ipc_fuzzer/mutate/generate.cc gfx::SizeF size; gfx 1031 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::Range> { gfx 1032 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::Range *p, Generator* generator) { gfx 1039 tools/ipc_fuzzer/mutate/generate.cc *p = gfx::Range(start, end); gfx 1045 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::Vector2d> { gfx 1046 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::Vector2d *p, Generator* generator) { gfx 1053 tools/ipc_fuzzer/mutate/generate.cc *p = gfx::Vector2d(x, y); gfx 1059 tools/ipc_fuzzer/mutate/generate.cc struct GenerateTraits<gfx::Vector2dF> { gfx 1060 tools/ipc_fuzzer/mutate/generate.cc static bool Generate(gfx::Vector2dF *p, Generator* generator) { gfx 1067 tools/ipc_fuzzer/mutate/generate.cc *p = gfx::Vector2dF(x, y); gfx 420 tools/ipc_fuzzer/mutate/mutate.cc struct FuzzTraits<gfx::Point> { gfx 421 tools/ipc_fuzzer/mutate/mutate.cc static void Fuzz(gfx::Point *p, Fuzzer* fuzzer) { gfx 431 tools/ipc_fuzzer/mutate/mutate.cc struct FuzzTraits<gfx::Size> { gfx 432 tools/ipc_fuzzer/mutate/mutate.cc static void Fuzz(gfx::Size *p, Fuzzer* fuzzer) { gfx 442 tools/ipc_fuzzer/mutate/mutate.cc struct FuzzTraits<gfx::Rect> { gfx 443 tools/ipc_fuzzer/mutate/mutate.cc static void Fuzz(gfx::Rect *p, Fuzzer* fuzzer) { gfx 444 tools/ipc_fuzzer/mutate/mutate.cc gfx::Point origin = p->origin(); gfx 445 tools/ipc_fuzzer/mutate/mutate.cc gfx::Size size = p->size(); gfx 14 tools/memory_watcher/hotkey.h class HotKeyHandler : public gfx::WindowImpl { gfx 32 tools/memory_watcher/hotkey.h Init(NULL, gfx::Rect()); gfx 48 ui/accessibility/ax_node_data.h gfx::Rect location; gfx 53 ui/accessibility/ax_tree_unittest.cc root.location = gfx::Rect(0, 0, 800, 600); gfx 61 ui/accessibility/ax_tree_unittest.cc button.location = gfx::Rect(20, 20, 200, 30); gfx 67 ui/accessibility/ax_tree_unittest.cc checkbox.location = gfx::Rect(20, 50, 200, 30); gfx 5 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java package org.chromium.ui.gfx; gfx 5 ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java package org.chromium.ui.gfx; gfx 5 ui/android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java package org.chromium.ui.gfx; gfx 52 ui/app_list/app_list_constants.cc const gfx::Tween::Type kFolderFadeInTweenType = gfx::Tween::EASE_IN_2; gfx 56 ui/app_list/app_list_constants.cc const gfx::Tween::Type kFolderFadeOutTweenType = gfx::Tween::FAST_OUT_LINEAR_IN; gfx 42 ui/app_list/app_list_constants.h APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeInTweenType; gfx 43 ui/app_list/app_list_constants.h APP_LIST_EXPORT extern const gfx::Tween::Type kFolderFadeOutTweenType; gfx 21 ui/app_list/app_list_folder_item.cc class FolderImageSource : public gfx::CanvasImageSource { gfx 23 ui/app_list/app_list_folder_item.cc typedef std::vector<gfx::ImageSkia> Icons; gfx 25 ui/app_list/app_list_folder_item.cc FolderImageSource(const Icons& icons, const gfx::Size& size) gfx 26 ui/app_list/app_list_folder_item.cc : gfx::CanvasImageSource(size, false), gfx 35 ui/app_list/app_list_folder_item.cc void DrawIcon(gfx::Canvas* canvas, gfx 36 ui/app_list/app_list_folder_item.cc const gfx::ImageSkia& icon, gfx 37 ui/app_list/app_list_folder_item.cc const gfx::Size icon_size, gfx 39 ui/app_list/app_list_folder_item.cc gfx::ImageSkia resized( gfx 40 ui/app_list/app_list_folder_item.cc gfx::ImageSkiaOperations::CreateResizedImage( gfx 47 ui/app_list/app_list_folder_item.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 49 ui/app_list/app_list_folder_item.cc gfx::Point center = gfx::Point(size().width() / 2 , size().height() / 2); gfx 60 ui/app_list/app_list_folder_item.cc const gfx::Size item_icon_size = gfx 61 ui/app_list/app_list_folder_item.cc gfx::Size(kItemIconDimension, kItemIconDimension); gfx 63 ui/app_list/app_list_folder_item.cc AppListFolderItem::GetTopIconsBounds(gfx::Rect(size())); gfx 72 ui/app_list/app_list_folder_item.cc gfx::Size size_; gfx 98 ui/app_list/app_list_folder_item.cc const gfx::Size icon_size = gfx 99 ui/app_list/app_list_folder_item.cc gfx::Size(kPreferredIconDimension, kPreferredIconDimension); gfx 100 ui/app_list/app_list_folder_item.cc gfx::ImageSkia icon = gfx::ImageSkia( gfx 106 ui/app_list/app_list_folder_item.cc const gfx::ImageSkia& AppListFolderItem::GetTopIcon(size_t item_index) { gfx 111 ui/app_list/app_list_folder_item.cc gfx::Rect AppListFolderItem::GetTargetIconRectInFolderForItem( gfx 113 ui/app_list/app_list_folder_item.cc const gfx::Rect& folder_icon_bounds) { gfx 121 ui/app_list/app_list_folder_item.cc gfx::Rect target_rect(folder_icon_bounds); gfx 123 ui/app_list/app_list_folder_item.cc gfx::Size(kItemIconDimension, kItemIconDimension)); gfx 136 ui/app_list/app_list_folder_item.cc const gfx::Rect& folder_icon_bounds) { gfx 138 ui/app_list/app_list_folder_item.cc gfx::Point icon_center = folder_icon_bounds.CenterPoint(); gfx 144 ui/app_list/app_list_folder_item.cc gfx::Rect top_left(left_x, top_y, kItemIconDimension, kItemIconDimension); gfx 149 ui/app_list/app_list_folder_item.cc gfx::Rect top_right(right_x, top_y, kItemIconDimension, kItemIconDimension); gfx 154 ui/app_list/app_list_folder_item.cc gfx::Rect bottom_left( gfx 159 ui/app_list/app_list_folder_item.cc gfx::Rect bottom_right( gfx 21 ui/app_list/app_list_folder_item.h typedef std::vector<gfx::Rect> Rects; gfx 45 ui/app_list/app_list_folder_item.h const gfx::ImageSkia& GetTopIcon(size_t item_index); gfx 53 ui/app_list/app_list_folder_item.h gfx::Rect GetTargetIconRectInFolderForItem( gfx 54 ui/app_list/app_list_folder_item.h AppListItem* item, const gfx::Rect& folder_icon_bounds); gfx 73 ui/app_list/app_list_folder_item.h static Rects GetTopIconsBounds(const gfx::Rect& folder_icon_bounds); gfx 23 ui/app_list/app_list_item.cc void AppListItem::SetIcon(const gfx::ImageSkia& icon, bool has_shadow) { gfx 36 ui/app_list/app_list_item.h void SetIcon(const gfx::ImageSkia& icon, bool has_shadow); gfx 37 ui/app_list/app_list_item.h const gfx::ImageSkia& icon() const { return icon_; } gfx 123 ui/app_list/app_list_item.h gfx::ImageSkia icon_; gfx 42 ui/app_list/app_list_menu.cc menu_model_.SetIcon(menu_index, gfx::Image(*rb.GetImageSkiaNamed( gfx 25 ui/app_list/app_list_view_delegate.h namespace gfx { gfx 125 ui/app_list/app_list_view_delegate.h virtual gfx::ImageSkia GetWindowIcon() = 0; gfx 224 ui/app_list/pagination_model.cc transition_animation_.reset(new gfx::SlideAnimation(this)); gfx 225 ui/app_list/pagination_model.cc transition_animation_->SetTweenType(gfx::Tween::LINEAR); gfx 243 ui/app_list/pagination_model.cc void PaginationModel::AnimationProgressed(const gfx::Animation* animation) { gfx 248 ui/app_list/pagination_model.cc void PaginationModel::AnimationEnded(const gfx::Animation* animation) { gfx 16 ui/app_list/pagination_model.h namespace gfx { gfx 27 ui/app_list/pagination_model.h class APP_LIST_EXPORT PaginationModel : public gfx::AnimationDelegate { gfx 117 ui/app_list/pagination_model.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 118 ui/app_list/pagination_model.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 130 ui/app_list/pagination_model.h scoped_ptr<gfx::SlideAnimation> transition_animation_; gfx 13 ui/app_list/search_box_model.cc const gfx::ImageSkia& on_icon, gfx 15 ui/app_list/search_box_model.cc const gfx::ImageSkia& off_icon, gfx 32 ui/app_list/search_box_model.cc void SearchBoxModel::SetIcon(const gfx::ImageSkia& icon) { gfx 53 ui/app_list/search_box_model.cc void SearchBoxModel::SetSelectionModel(const gfx::SelectionModel& sel) { gfx 28 ui/app_list/search_box_model.h SpeechButtonProperty(const gfx::ImageSkia& on_icon, gfx 30 ui/app_list/search_box_model.h const gfx::ImageSkia& off_icon, gfx 35 ui/app_list/search_box_model.h gfx::ImageSkia on_icon; gfx 39 ui/app_list/search_box_model.h gfx::ImageSkia off_icon; gfx 47 ui/app_list/search_box_model.h void SetIcon(const gfx::ImageSkia& icon); gfx 48 ui/app_list/search_box_model.h const gfx::ImageSkia& icon() const { return icon_; } gfx 62 ui/app_list/search_box_model.h void SetSelectionModel(const gfx::SelectionModel& sel); gfx 63 ui/app_list/search_box_model.h const gfx::SelectionModel& selection_model() const { gfx 75 ui/app_list/search_box_model.h gfx::ImageSkia icon_; gfx 78 ui/app_list/search_box_model.h gfx::SelectionModel selection_model_; gfx 11 ui/app_list/search_result.cc SearchResult::Action::Action(const gfx::ImageSkia& base_image, gfx 12 ui/app_list/search_result.cc const gfx::ImageSkia& hover_image, gfx 13 ui/app_list/search_result.cc const gfx::ImageSkia& pressed_image, gfx 31 ui/app_list/search_result.cc void SearchResult::SetIcon(const gfx::ImageSkia& icon) { gfx 47 ui/app_list/search_result.h gfx::Range range; gfx 56 ui/app_list/search_result.h Action(const gfx::ImageSkia& base_image, gfx 57 ui/app_list/search_result.h const gfx::ImageSkia& hover_image, gfx 58 ui/app_list/search_result.h const gfx::ImageSkia& pressed_image, gfx 64 ui/app_list/search_result.h gfx::ImageSkia base_image; gfx 65 ui/app_list/search_result.h gfx::ImageSkia hover_image; gfx 66 ui/app_list/search_result.h gfx::ImageSkia pressed_image; gfx 76 ui/app_list/search_result.h const gfx::ImageSkia& icon() const { return icon_; } gfx 77 ui/app_list/search_result.h void SetIcon(const gfx::ImageSkia& icon); gfx 114 ui/app_list/search_result.h gfx::ImageSkia icon_; gfx 34 ui/app_list/speech_ui_model.h const gfx::ImageSkia& logo() const { return logo_; } gfx 35 ui/app_list/speech_ui_model.h void set_logo(const gfx::ImageSkia& logo) { logo_ = logo; } gfx 44 ui/app_list/speech_ui_model.h gfx::ImageSkia logo_; gfx 116 ui/app_list/test/app_list_test_view_delegate.cc gfx::ImageSkia AppListTestViewDelegate::GetWindowIcon() { gfx 117 ui/app_list/test/app_list_test_view_delegate.cc return gfx::ImageSkia(); gfx 69 ui/app_list/test/app_list_test_view_delegate.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 27 ui/app_list/test/run_all_unittests.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 43 ui/app_list/views/app_list_background.cc void AppListBackground::Paint(gfx::Canvas* canvas, gfx 45 ui/app_list/views/app_list_background.cc gfx::Rect bounds = view->GetContentsBounds(); gfx 51 ui/app_list/views/app_list_background.cc path.addRoundRect(gfx::RectToSkRect(bounds), radius, radius); gfx 60 ui/app_list/views/app_list_background.cc const gfx::Rect search_box_view_bounds = gfx 62 ui/app_list/views/app_list_background.cc gfx::Rect search_box_rect(bounds.x(), gfx 70 ui/app_list/views/app_list_background.cc gfx::Rect separator_rect(search_box_rect); gfx 77 ui/app_list/views/app_list_background.cc gfx::Rect contents_rect(bounds.x(), gfx 88 ui/app_list/views/app_list_background.cc const gfx::Rect contents_view_view_bounds = gfx 90 ui/app_list/views/app_list_background.cc gfx::Rect separator_rect(contents_rect); gfx 95 ui/app_list/views/app_list_background.cc gfx::Rect contents_switcher_rect(bounds.x(), gfx 105 ui/app_list/views/app_list_background.cc const gfx::ImageSkia& experimental_icon = gfx 29 ui/app_list/views/app_list_background.h virtual void Paint(gfx::Canvas* canvas, views::View* view) const OVERRIDE; gfx 10 ui/app_list/views/app_list_drag_and_drop_host.h namespace gfx { gfx 28 ui/app_list/views/app_list_drag_and_drop_host.h const gfx::Point& location_in_screen_coordinates, gfx 29 ui/app_list/views/app_list_drag_and_drop_host.h const gfx::ImageSkia& icon, gfx 31 ui/app_list/views/app_list_drag_and_drop_host.h const gfx::Vector2d& cursor_offset_from_center, gfx 36 ui/app_list/views/app_list_drag_and_drop_host.h const gfx::Point& location_in_screen_coordinates) = 0; gfx 46 ui/app_list/views/app_list_drag_and_drop_host.h const gfx::Point& location_in_screen_coordinates) = 0; gfx 53 ui/app_list/views/app_list_drag_and_drop_host.h virtual bool Drag(const gfx::Point& location_in_screen_coordinates) = 0; gfx 114 ui/app_list/views/app_list_folder_view.cc gfx::Size AppListFolderView::GetPreferredSize() { gfx 115 ui/app_list/views/app_list_folder_view.cc const gfx::Size header_size = folder_header_view_->GetPreferredSize(); gfx 116 ui/app_list/views/app_list_folder_view.cc const gfx::Size grid_size = items_grid_view_->GetPreferredSize(); gfx 119 ui/app_list/views/app_list_folder_view.cc return gfx::Size(width, height); gfx 163 ui/app_list/views/app_list_folder_view.cc SetBoundsRect(gfx::Rect(bounds().x(), bounds().y(), 1, 1)); gfx 167 ui/app_list/views/app_list_folder_view.cc gfx::Rect rect(GetContentsBounds()); gfx 171 ui/app_list/views/app_list_folder_view.cc gfx::Rect header_frame(rect); gfx 172 ui/app_list/views/app_list_folder_view.cc gfx::Size size = folder_header_view_->GetPreferredSize(); gfx 176 ui/app_list/views/app_list_folder_view.cc gfx::Rect grid_frame(rect); gfx 183 ui/app_list/views/app_list_folder_view.cc const gfx::Point& drag_point_in_root_grid) { gfx 186 ui/app_list/views/app_list_folder_view.cc gfx::RectF rect_f(original_drag_view->bounds()); gfx 190 ui/app_list/views/app_list_folder_view.cc gfx::Rect rect_in_root_grid_view = gfx::ToEnclosingRect(rect_f); gfx 197 ui/app_list/views/app_list_folder_view.cc gfx::Rect AppListFolderView::GetItemIconBoundsAt(int index) { gfx 200 ui/app_list/views/app_list_folder_view.cc const gfx::Rect icon_bounds = item_view->GetIconBounds(); gfx 201 ui/app_list/views/app_list_folder_view.cc gfx::Rect to_apps_grid_view = item_view->ConvertRectToParent(icon_bounds); gfx 202 ui/app_list/views/app_list_folder_view.cc gfx::Rect to_folder = gfx 207 ui/app_list/views/app_list_folder_view.cc gfx::Size(kPreferredIconDimension, kPreferredIconDimension)); gfx 230 ui/app_list/views/app_list_folder_view.cc const gfx::Point& point) { gfx 234 ui/app_list/views/app_list_folder_view.cc gfx::Point center = GetLocalBounds().CenterPoint(); gfx 253 ui/app_list/views/app_list_folder_view.cc const gfx::Point& drag_point_in_folder_grid) { gfx 255 ui/app_list/views/app_list_folder_view.cc gfx::Point to_root_level_grid = drag_point_in_folder_grid; gfx 265 ui/app_list/views/app_list_folder_view.cc const gfx::Point& drag_point_in_folder_grid) { gfx 267 ui/app_list/views/app_list_folder_view.cc gfx::Point drag_point_in_root_grid = drag_point_in_folder_grid; gfx 52 ui/app_list/views/app_list_folder_view.h gfx::Rect GetItemIconBoundsAt(int index); gfx 63 ui/app_list/views/app_list_folder_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 83 ui/app_list/views/app_list_folder_view.h const gfx::Point& drag_point_in_root_grid); gfx 95 ui/app_list/views/app_list_folder_view.h const gfx::Point& drag_point_in_folder_grid) gfx 99 ui/app_list/views/app_list_folder_view.h const gfx::Point& drag_point_in_folder_grid) OVERRIDE; gfx 102 ui/app_list/views/app_list_folder_view.h virtual bool IsPointOutsideOfFolderBoundary(const gfx::Point& point) OVERRIDE; gfx 74 ui/app_list/views/app_list_item_view.cc title_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 78 ui/app_list/views/app_list_item_view.cc const gfx::ShadowValue kIconShadows[] = { gfx 79 ui/app_list/views/app_list_item_view.cc gfx::ShadowValue(gfx::Point(0, 2), 2, SkColorSetARGB(0x24, 0, 0, 0)), gfx 102 ui/app_list/views/app_list_item_view.cc void AppListItemView::SetIconSize(const gfx::Size& size) { gfx 115 ui/app_list/views/app_list_item_view.cc gfx::ImageSkia icon = item_->icon(); gfx 122 ui/app_list/views/app_list_item_view.cc gfx::ImageSkia resized(gfx::ImageSkiaOperations::CreateResizedImage(icon, gfx 125 ui/app_list/views/app_list_item_view.cc gfx::ImageSkia shadow( gfx 126 ui/app_list/views/app_list_item_view.cc gfx::ImageSkiaOperations::CreateImageWithDropShadow(resized, gfx 164 ui/app_list/views/app_list_item_view.cc layer()->SetTransform(gfx::Transform()); gfx 167 ui/app_list/views/app_list_item_view.cc const gfx::Rect bounds(layer()->bounds().size()); gfx 168 ui/app_list/views/app_list_item_view.cc layer()->SetTransform(gfx::GetScaleTransform( gfx 204 ui/app_list/views/app_list_item_view.cc gfx::ImageSkia AppListItemView::GetDragImage() { gfx 213 ui/app_list/views/app_list_item_view.cc gfx::Point AppListItemView::GetDragImageOffset() { gfx 214 ui/app_list/views/app_list_item_view.cc gfx::Point image = icon_->GetImageBounds().origin(); gfx 215 ui/app_list/views/app_list_item_view.cc return gfx::Point(icon_->x() + image.x(), icon_->y() + image.y()); gfx 265 ui/app_list/views/app_list_item_view.cc gfx::Rect rect(GetContentsBounds()); gfx 273 ui/app_list/views/app_list_item_view.cc const gfx::Size title_size = title_->GetPreferredSize(); gfx 274 ui/app_list/views/app_list_item_view.cc gfx::Rect title_bounds(rect.x() + (rect.width() - title_size.width()) / 2, gfx 281 ui/app_list/views/app_list_item_view.cc gfx::Rect progress_bar_bounds(progress_bar_->GetPreferredSize()); gfx 288 ui/app_list/views/app_list_item_view.cc void AppListItemView::OnPaint(gfx::Canvas* canvas) { gfx 292 ui/app_list/views/app_list_item_view.cc gfx::Rect rect(GetContentsBounds()); gfx 308 ui/app_list/views/app_list_item_view.cc gfx::Point center = gfx::Point(icon_->x() + icon_->size().width() / 2, gfx 319 ui/app_list/views/app_list_item_view.cc const gfx::Point& point, gfx 327 ui/app_list/views/app_list_item_view.cc GetWidget(), NULL, gfx::Rect(point, gfx::Size()), gfx 467 ui/app_list/views/app_list_item_view.cc const gfx::Rect& AppListItemView::GetIconBounds() const { gfx 475 ui/app_list/views/app_list_item_view.cc gfx::Rect AppListItemView::GetIconBoundsForTargetViewBounds( gfx 476 ui/app_list/views/app_list_item_view.cc const gfx::Rect& target_bounds) { gfx 477 ui/app_list/views/app_list_item_view.cc gfx::Rect rect(target_bounds); gfx 483 ui/app_list/views/app_list_item_view.cc gfx::Rect icon_bounds(rect.x(), rect.y(), rect.width(), icon_size_.height()); gfx 484 ui/app_list/views/app_list_item_view.cc icon_bounds.Inset(gfx::ShadowValue::GetMargin(icon_shadows_)); gfx 44 ui/app_list/views/app_list_item_view.h void SetIconSize(const gfx::Size& size); gfx 50 ui/app_list/views/app_list_item_view.h gfx::ImageSkia GetDragImage(); gfx 52 ui/app_list/views/app_list_item_view.h gfx::Point GetDragImageOffset(); gfx 65 ui/app_list/views/app_list_item_view.h const gfx::Rect& GetIconBounds() const; gfx 72 ui/app_list/views/app_list_item_view.h gfx::Rect GetIconBoundsForTargetViewBounds(const gfx::Rect& target_bounds); gfx 105 ui/app_list/views/app_list_item_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 109 ui/app_list/views/app_list_item_view.h const gfx::Point& point, gfx 135 ui/app_list/views/app_list_item_view.h gfx::Size icon_size_; gfx 136 ui/app_list/views/app_list_item_view.h gfx::ShadowValues icon_shadows_; gfx 85 ui/app_list/views/app_list_main_view.cc gfx::NativeView parent) gfx 173 ui/app_list/views/app_list_main_view.cc void AppListMainView::PreloadIcons(gfx::NativeView parent) { gfx 43 ui/app_list/views/app_list_main_view.h gfx::NativeView parent); gfx 72 ui/app_list/views/app_list_main_view.h void PreloadIcons(gfx::NativeView parent); gfx 33 ui/app_list/views/app_list_menu_views.cc const gfx::Point& point) { gfx 35 ui/app_list/views/app_list_menu_views.cc gfx::Rect(point, gfx::Size()), gfx 13 ui/app_list/views/app_list_menu_views.h namespace gfx { gfx 30 ui/app_list/views/app_list_menu_views.h void RunMenuAt(views::MenuButton* button, const gfx::Point& point); gfx 148 ui/app_list/views/app_list_view.cc gfx::NativeView parent, gfx 151 ui/app_list/views/app_list_view.cc const gfx::Vector2d& anchor_offset, gfx 160 ui/app_list/views/app_list_view.cc gfx::NativeView parent, gfx 162 ui/app_list/views/app_list_view.cc const gfx::Point& anchor_point_in_screen, gfx 166 ui/app_list/views/app_list_view.cc SetAnchorRect(gfx::Rect(anchor_point_in_screen, gfx::Size())); gfx 168 ui/app_list/views/app_list_view.cc parent, pagination_model, arrow, border_accepts_events, gfx::Vector2d()); gfx 177 ui/app_list/views/app_list_view.cc void AppListView::SetAnchorPoint(const gfx::Point& anchor_point) { gfx 178 ui/app_list/views/app_list_view.cc SetAnchorRect(gfx::Rect(anchor_point, gfx::Size())); gfx 199 ui/app_list/views/app_list_view.cc gfx::Size AppListView::GetPreferredSize() { gfx 203 ui/app_list/views/app_list_view.cc void AppListView::Paint(gfx::Canvas* canvas) { gfx 256 ui/app_list/views/app_list_view.cc gfx::NativeWindow window = gfx 265 ui/app_list/views/app_list_view.cc void AppListView::InitAsBubbleInternal(gfx::NativeView parent, gfx 269 ui/app_list/views/app_list_view.cc const gfx::Vector2d& anchor_offset) { gfx 299 ui/app_list/views/app_list_view.cc set_margins(gfx::Insets()); gfx 304 ui/app_list/views/app_list_view.cc set_anchor_view_insets(gfx::Insets(kArrowOffset + anchor_offset.y(), gfx 367 ui/app_list/views/app_list_view.cc gfx::ImageSkia AppListView::GetWindowIcon() { gfx 371 ui/app_list/views/app_list_view.cc return gfx::ImageSkia(); gfx 378 ui/app_list/views/app_list_view.cc void AppListView::GetWidgetHitTestMask(gfx::Path* mask) const { gfx 380 ui/app_list/views/app_list_view.cc mask->addRect(gfx::RectToSkRect( gfx 408 ui/app_list/views/app_list_view.cc const gfx::Rect contents_bounds = GetContentsBounds(); gfx 413 ui/app_list/views/app_list_view.cc gfx::Rect speech_bounds = contents_bounds; gfx 423 ui/app_list/views/app_list_view.cc void AppListView::SchedulePaintInRect(const gfx::Rect& rect) { gfx 475 ui/app_list/views/app_list_view.cc gfx::Transform speech_transform; gfx 501 ui/app_list/views/app_list_view.cc speech_view_->layer()->SetTransform(gfx::Transform()); gfx 45 ui/app_list/views/app_list_view.h void InitAsBubbleAttachedToAnchor(gfx::NativeView parent, gfx 48 ui/app_list/views/app_list_view.h const gfx::Vector2d& anchor_offset, gfx 54 ui/app_list/views/app_list_view.h void InitAsBubbleAtFixedLocation(gfx::NativeView parent, gfx 56 ui/app_list/views/app_list_view.h const gfx::Point& anchor_point_in_screen, gfx 62 ui/app_list/views/app_list_view.h void SetAnchorPoint(const gfx::Point& anchor_point); gfx 80 ui/app_list/views/app_list_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 81 ui/app_list/views/app_list_view.h virtual void Paint(gfx::Canvas* canvas) OVERRIDE; gfx 107 ui/app_list/views/app_list_view.h void InitAsBubbleInternal(gfx::NativeView parent, gfx 111 ui/app_list/views/app_list_view.h const gfx::Vector2d& anchor_offset); gfx 120 ui/app_list/views/app_list_view.h virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; gfx 122 ui/app_list/views/app_list_view.h virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 127 ui/app_list/views/app_list_view.h virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; gfx 103 ui/app_list/views/apps_container_view.cc gfx::Size AppsContainerView::GetPreferredSize() { gfx 104 ui/app_list/views/apps_container_view.cc const gfx::Size grid_size = apps_grid_view_->GetPreferredSize(); gfx 105 ui/app_list/views/apps_container_view.cc const gfx::Size folder_view_size = app_list_folder_view_->GetPreferredSize(); gfx 109 ui/app_list/views/apps_container_view.cc return gfx::Size(width, height); gfx 113 ui/app_list/views/apps_container_view.cc gfx::Rect rect(GetContentsBounds()); gfx 194 ui/app_list/views/apps_container_view.cc gfx::Rect to_grid_view = folder_item_view->ConvertRectToParent( gfx 196 ui/app_list/views/apps_container_view.cc gfx::Rect to_container = apps_grid_view_->ConvertRectToParent(to_grid_view); gfx 205 ui/app_list/views/apps_container_view.cc std::vector<gfx::Rect> top_items_bounds = gfx 65 ui/app_list/views/apps_container_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 109 ui/app_list/views/apps_grid_view.cc const gfx::Rect& layer_target) gfx 112 ui/app_list/views/apps_grid_view.cc layer_start_(layer ? layer->bounds() : gfx::Rect()), gfx 118 ui/app_list/views/apps_grid_view.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 129 ui/app_list/views/apps_grid_view.cc virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE { gfx 133 ui/app_list/views/apps_grid_view.cc virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE { gfx 143 ui/app_list/views/apps_grid_view.cc const gfx::Rect layer_start_; gfx 144 ui/app_list/views/apps_grid_view.cc const gfx::Rect layer_target_; gfx 163 ui/app_list/views/apps_grid_view.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE { gfx 175 ui/app_list/views/apps_grid_view.cc int GetDistanceBetweenRects(gfx::Rect rect_1, gfx 176 ui/app_list/views/apps_grid_view.cc gfx::Rect rect_2) { gfx 207 ui/app_list/views/apps_grid_view.cc const gfx::Point& drag_view_offset) gfx 236 ui/app_list/views/apps_grid_view.cc const gfx::Size drag_view_size = drag_view_->size(); gfx 237 ui/app_list/views/apps_grid_view.cc drag_view_->SetSize(gfx::Size(0, 0)); gfx 275 ui/app_list/views/apps_grid_view.cc gfx::ImageSkia image(drag_view_->GetDragImage()); gfx 276 ui/app_list/views/apps_grid_view.cc gfx::Size image_size(image.size()); gfx 294 ui/app_list/views/apps_grid_view.cc gfx::Point GetCursorInGridViewCoords() { gfx 298 ui/app_list/views/apps_grid_view.cc gfx::Point grid_view_pt(p.x, p.y); gfx 305 ui/app_list/views/apps_grid_view.cc gfx::Point drag_view_offset_; gfx 449 ui/app_list/views/apps_grid_view.cc drag_view_start_ = gfx::Point(drag_view_->x(), drag_view_->y()); gfx 511 ui/app_list/views/apps_grid_view.cc gfx::Point drag_point_in_grid_view; gfx 519 ui/app_list/views/apps_grid_view.cc gfx::Point location_in_screen = drag_point_in_grid_view; gfx 527 ui/app_list/views/apps_grid_view.cc void AppsGridView::UpdateDrag(Pointer pointer, const gfx::Point& point) { gfx 538 ui/app_list/views/apps_grid_view.cc gfx::Vector2d drag_vector(point - drag_start_grid_view_); gfx 562 ui/app_list/views/apps_grid_view.cc gfx::Point page_switcher_point(last_drag_point_); gfx 641 ui/app_list/views/apps_grid_view.cc gfx::Rect bounds = view_model_.ideal_bounds(i); gfx 660 ui/app_list/views/apps_grid_view.cc drag_start_grid_view_ = gfx::Point(); gfx 662 ui/app_list/views/apps_grid_view.cc drag_view_offset_ = gfx::Point(); gfx 713 ui/app_list/views/apps_grid_view.cc const gfx::Rect& drag_view_rect, gfx 714 ui/app_list/views/apps_grid_view.cc const gfx::Point& drag_point) { gfx 742 ui/app_list/views/apps_grid_view.cc drag_view_start_ = gfx::Point(drag_view_->x(), drag_view_->y()); gfx 749 ui/app_list/views/apps_grid_view.cc const gfx::Point& drag_point) { gfx 776 ui/app_list/views/apps_grid_view.cc gfx::Size AppsGridView::GetPreferredSize() { gfx 777 ui/app_list/views/apps_grid_view.cc const gfx::Insets insets(GetInsets()); gfx 778 ui/app_list/views/apps_grid_view.cc const gfx::Size tile_size = gfx::Size(kPreferredTileWidth, gfx 782 ui/app_list/views/apps_grid_view.cc return gfx::Size( gfx 818 ui/app_list/views/apps_grid_view.cc gfx::Rect rect(GetContentsBounds()); gfx 923 ui/app_list/views/apps_grid_view.cc gfx::Size(kPreferredTileWidth, kPreferredTileHeight), true); gfx 1036 ui/app_list/views/apps_grid_view.cc gfx::Rect rect(GetContentsBounds()); gfx 1040 ui/app_list/views/apps_grid_view.cc gfx::Size tile_size(kPreferredTileWidth, kPreferredTileHeight); gfx 1042 ui/app_list/views/apps_grid_view.cc gfx::Rect grid_rect(gfx::Size(tile_size.width() * cols_, gfx 1100 ui/app_list/views/apps_grid_view.cc gfx::Rect tile_slot( gfx 1101 ui/app_list/views/apps_grid_view.cc gfx::Point(grid_rect.x() + col * tile_size.width() + x_offset, gfx 1116 ui/app_list/views/apps_grid_view.cc const gfx::Rect visible_bounds(GetVisibleBounds()); gfx 1124 ui/app_list/views/apps_grid_view.cc const gfx::Rect& target = view_model_.ideal_bounds(i); gfx 1128 ui/app_list/views/apps_grid_view.cc const gfx::Rect& current = view->bounds(); gfx 1148 ui/app_list/views/apps_grid_view.cc const gfx::Rect& current, gfx 1150 ui/app_list/views/apps_grid_view.cc const gfx::Rect& target) { gfx 1171 ui/app_list/views/apps_grid_view.cc gfx::Rect current_out(current); gfx 1175 ui/app_list/views/apps_grid_view.cc gfx::Rect target_in(target); gfx 1190 ui/app_list/views/apps_grid_view.cc gfx::Point* drag_point) { gfx 1215 ui/app_list/views/apps_grid_view.cc void AppsGridView::CalculateDropTarget(const gfx::Point& drag_point, gfx 1223 ui/app_list/views/apps_grid_view.cc gfx::Point point(drag_point); gfx 1231 ui/app_list/views/apps_grid_view.cc gfx::Point page_switcher_point(point); gfx 1240 ui/app_list/views/apps_grid_view.cc gfx::Rect bounds(GetContentsBounds()); gfx 1261 ui/app_list/views/apps_grid_view.cc const gfx::Point& drag_point, gfx 1263 ui/app_list/views/apps_grid_view.cc gfx::Point point(drag_point); gfx 1270 ui/app_list/views/apps_grid_view.cc gfx::Point page_switcher_point(point); gfx 1308 ui/app_list/views/apps_grid_view.cc const gfx::Point& drag_point) { gfx 1324 ui/app_list/views/apps_grid_view.cc gfx::Rect bounds_to_folder_view = ConvertRectToParent(drag_view_->bounds()); gfx 1325 ui/app_list/views/apps_grid_view.cc gfx::Point pt = bounds_to_folder_view.CenterPoint(); gfx 1351 ui/app_list/views/apps_grid_view.cc gfx::Rect AppsGridView::GetTargetIconRectInFolder( gfx 1354 ui/app_list/views/apps_grid_view.cc gfx::Rect view_ideal_bounds = view_model_.ideal_bounds( gfx 1356 ui/app_list/views/apps_grid_view.cc gfx::Rect icon_ideal_bounds = gfx 1372 ui/app_list/views/apps_grid_view.cc const gfx::Point& drag_point) { gfx 1421 ui/app_list/views/apps_grid_view.cc drag_start_grid_view_ = gfx::Point(); gfx 1423 ui/app_list/views/apps_grid_view.cc drag_view_offset_ = gfx::Point(); gfx 1449 ui/app_list/views/apps_grid_view.cc drag_start_grid_view_ = gfx::Point(); gfx 1451 ui/app_list/views/apps_grid_view.cc drag_view_offset_ = gfx::Point(); gfx 1460 ui/app_list/views/apps_grid_view.cc void AppsGridView::StartDragAndDropHostDrag(const gfx::Point& grid_location) { gfx 1468 ui/app_list/views/apps_grid_view.cc gfx::Point screen_location = grid_location; gfx 1473 ui/app_list/views/apps_grid_view.cc gfx::Vector2d delta = drag_view_offset_ - gfx 1491 ui/app_list/views/apps_grid_view.cc const gfx::Point& location_in_screen_coordinates) { gfx 1527 ui/app_list/views/apps_grid_view.cc void AppsGridView::MaybeStartPageFlipTimer(const gfx::Point& drag_point) { gfx 1533 ui/app_list/views/apps_grid_view.cc gfx::Point page_switcher_point(drag_point); gfx 1610 ui/app_list/views/apps_grid_view.cc gfx::Rect target_view_bounds = target_view->bounds(); gfx 1749 ui/app_list/views/apps_grid_view.cc gfx::Rect target_icon_rect = gfx 1752 ui/app_list/views/apps_grid_view.cc gfx::Rect drag_view_icon_to_grid = gfx 1755 ui/app_list/views/apps_grid_view.cc gfx::Size(kPreferredIconDimension, kPreferredIconDimension)); gfx 1794 ui/app_list/views/apps_grid_view.cc bool AppsGridView::IsPointWithinDragBuffer(const gfx::Point& point) const { gfx 1795 ui/app_list/views/apps_grid_view.cc gfx::Rect rect(GetLocalBounds()); gfx 1948 ui/app_list/views/apps_grid_view.cc gfx::Point pt = drag_view_->bounds().origin(); gfx 2016 ui/app_list/views/apps_grid_view.cc void AppsGridView::CalculateNearestTileForVertex(const gfx::Point& vertex, gfx 2020 ui/app_list/views/apps_grid_view.cc gfx::Rect target_bounds = GetTileBoundsForPoint(vertex, &target_index); gfx 2040 ui/app_list/views/apps_grid_view.cc gfx::Rect AppsGridView::GetTileBoundsForPoint(const gfx::Point& point, gfx 2043 ui/app_list/views/apps_grid_view.cc gfx::Rect bounds(GetContentsBounds()); gfx 2045 ui/app_list/views/apps_grid_view.cc return gfx::Rect(); gfx 2052 ui/app_list/views/apps_grid_view.cc gfx::Rect tile_rect = GetTileBounds(row, col); gfx 2060 ui/app_list/views/apps_grid_view.cc gfx::Rect AppsGridView::GetTileBounds(int row, int col) const { gfx 2061 ui/app_list/views/apps_grid_view.cc gfx::Rect bounds(GetContentsBounds()); gfx 2062 ui/app_list/views/apps_grid_view.cc gfx::Size tile_size(kPreferredTileWidth, kPreferredTileHeight); gfx 2063 ui/app_list/views/apps_grid_view.cc gfx::Rect grid_rect(gfx::Size(tile_size.width() * cols_, gfx 2066 ui/app_list/views/apps_grid_view.cc gfx::Rect tile_rect( gfx 2067 ui/app_list/views/apps_grid_view.cc gfx::Point(grid_rect.x() + col * tile_size.width(), gfx 2092 ui/app_list/views/apps_grid_view.cc gfx::Rect tile_rect = GetTileBounds(row, col); gfx 115 ui/app_list/views/apps_grid_view.h void UpdateDrag(Pointer pointer, const gfx::Point& point); gfx 135 ui/app_list/views/apps_grid_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 165 ui/app_list/views/apps_grid_view.h const gfx::Rect& drag_view_rect, gfx 166 ui/app_list/views/apps_grid_view.h const gfx::Point& drag_point); gfx 171 ui/app_list/views/apps_grid_view.h const gfx::Point& drag_point); gfx 175 ui/app_list/views/apps_grid_view.h const gfx::Point& drag_point); gfx 276 ui/app_list/views/apps_grid_view.h const gfx::Rect& current, gfx 278 ui/app_list/views/apps_grid_view.h const gfx::Rect& target); gfx 282 ui/app_list/views/apps_grid_view.h gfx::Point* drag_point); gfx 288 ui/app_list/views/apps_grid_view.h void CalculateDropTarget(const gfx::Point& drag_point, gfx 295 ui/app_list/views/apps_grid_view.h void CalculateDropTargetWithFolderEnabled(const gfx::Point& drag_point, gfx 300 ui/app_list/views/apps_grid_view.h void StartDragAndDropHostDrag(const gfx::Point& grid_location); gfx 304 ui/app_list/views/apps_grid_view.h const gfx::Point& location_in_screen_coordinates); gfx 308 ui/app_list/views/apps_grid_view.h void MaybeStartPageFlipTimer(const gfx::Point& drag_point); gfx 350 ui/app_list/views/apps_grid_view.h bool IsPointWithinDragBuffer(const gfx::Point& point) const; gfx 397 ui/app_list/views/apps_grid_view.h const gfx::Point& vertex, Index* nearest_tile, int* d_min); gfx 401 ui/app_list/views/apps_grid_view.h gfx::Rect GetTileBoundsForPoint(const gfx::Point& point, Index* tile_index); gfx 404 ui/app_list/views/apps_grid_view.h gfx::Rect GetTileBounds(int row, int col) const; gfx 431 ui/app_list/views/apps_grid_view.h const gfx::Point& drag_point); gfx 443 ui/app_list/views/apps_grid_view.h gfx::Rect GetTargetIconRectInFolder(AppListItemView* drag_item_view, gfx 459 ui/app_list/views/apps_grid_view.h gfx::Size icon_size_; gfx 477 ui/app_list/views/apps_grid_view.h gfx::Point drag_view_offset_; gfx 480 ui/app_list/views/apps_grid_view.h gfx::Point drag_start_grid_view_; gfx 483 ui/app_list/views/apps_grid_view.h gfx::Point drag_view_start_; gfx 516 ui/app_list/views/apps_grid_view.h gfx::Point last_drag_point_; gfx 11 ui/app_list/views/apps_grid_view_folder_delegate.h namespace gfx { gfx 35 ui/app_list/views/apps_grid_view_folder_delegate.h const gfx::Point& drag_point_in_folder_grid) = 0; gfx 41 ui/app_list/views/apps_grid_view_folder_delegate.h const gfx::Point& drag_point_in_folder_grid) = 0; gfx 51 ui/app_list/views/apps_grid_view_folder_delegate.h virtual bool IsPointOutsideOfFolderBoundary(const gfx::Point& point) = 0; gfx 113 ui/app_list/views/apps_grid_view_unittest.cc apps_grid_view_->SetBoundsRect(gfx::Rect(gfx::Size(kWidth, kHeight))); gfx 136 ui/app_list/views/apps_grid_view_unittest.cc AppListItemView* GetItemViewForPoint(const gfx::Point& point) { gfx 145 ui/app_list/views/apps_grid_view_unittest.cc gfx::Rect GetItemTileRectAt(int row, int col) { gfx 148 ui/app_list/views/apps_grid_view_unittest.cc gfx::Insets insets(apps_grid_view_->GetInsets()); gfx 149 ui/app_list/views/apps_grid_view_unittest.cc gfx::Rect rect(gfx::Point(insets.left(), insets.top()), gfx 157 ui/app_list/views/apps_grid_view_unittest.cc const gfx::Point& from, gfx 158 ui/app_list/views/apps_grid_view_unittest.cc const gfx::Point& to) { gfx 162 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point translated_from = gfx::PointAtOffsetFromOrigin( gfx 164 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point translated_to = gfx::PointAtOffsetFromOrigin( gfx 201 ui/app_list/views/apps_grid_view_unittest.cc const gfx::Point& drag_point_in_folder_grid) gfx 206 ui/app_list/views/apps_grid_view_unittest.cc const gfx::Point& drag_point_in_folder_grid) OVERRIDE {} gfx 211 ui/app_list/views/apps_grid_view_unittest.cc virtual bool IsPointOutsideOfFolderBoundary(const gfx::Point& point) gfx 284 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point from = GetItemTileRectAt(0, 0).CenterPoint(); gfx 285 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = GetItemTileRectAt(0, 1).CenterPoint(); gfx 326 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point from = GetItemTileRectAt(0, 1).CenterPoint(); gfx 327 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = GetItemTileRectAt(0, 0).CenterPoint(); gfx 390 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point from = GetItemTileRectAt(0, 1).CenterPoint(); gfx 391 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = GetItemTileRectAt(0, 0).CenterPoint(); gfx 424 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point from = GetItemTileRectAt(0, 1).CenterPoint(); gfx 429 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = gfx::Point(from.x() - reorder_offset, from.y()); gfx 453 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point from = GetItemTileRectAt(0, 0).CenterPoint(); gfx 454 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = GetItemTileRectAt(0, 1).CenterPoint(); gfx 473 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point from = GetItemTileRectAt(0, 0).CenterPoint(); gfx 474 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = GetItemTileRectAt(0, 1).CenterPoint(); gfx 511 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point from = GetItemTileRectAt(0, 0).CenterPoint(); gfx 512 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point to = gfx::Point(apps_grid_view_->width(), gfx 555 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point mouse_from = GetItemTileRectAt(0, 0).CenterPoint(); gfx 556 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point mouse_to = GetItemTileRectAt(0, 1).CenterPoint(); gfx 558 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point touch_from = GetItemTileRectAt(1, 0).CenterPoint(); gfx 559 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point touch_to = GetItemTileRectAt(1, 1).CenterPoint(); gfx 590 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point mouse_from = GetItemTileRectAt(0, 0).CenterPoint(); gfx 591 ui/app_list/views/apps_grid_view_unittest.cc gfx::Point mouse_to = GetItemTileRectAt(0, 1).CenterPoint(); gfx 20 ui/app_list/views/cached_label.cc gfx::Canvas canvas(size(), 1.0f, false /* is_opaque */); gfx 24 ui/app_list/views/cached_label.cc image_ = gfx::ImageSkia(canvas.ExtractImageRep()); gfx 29 ui/app_list/views/cached_label.cc void CachedLabel::OnPaint(gfx::Canvas* canvas) { gfx 12 ui/app_list/views/cached_label.h namespace gfx { gfx 31 ui/app_list/views/cached_label.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 36 ui/app_list/views/cached_label.h gfx::ImageSkia image_; gfx 34 ui/app_list/views/contents_switcher_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 35 ui/app_list/views/contents_switcher_view.cc return gfx::Size(kButtonWidth, kButtonHeight); gfx 38 ui/app_list/views/contents_switcher_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 46 ui/app_list/views/contents_switcher_view.cc void PaintButton(gfx::Canvas* canvas, SkColor base_color) { gfx 47 ui/app_list/views/contents_switcher_view.cc gfx::Rect rect(GetContentsBounds()); gfx 48 ui/app_list/views/contents_switcher_view.cc rect.ClampToCenteredSize(gfx::Size(kButtonWidth, kButtonHeight)); gfx 76 ui/app_list/views/contents_switcher_view.cc gfx::Size ContentsSwitcherView::GetPreferredSize() { gfx 77 ui/app_list/views/contents_switcher_view.cc return gfx::Size(buttons_->GetPreferredSize().width(), kPreferredHeight); gfx 81 ui/app_list/views/contents_switcher_view.cc gfx::Rect rect(GetContentsBounds()); gfx 84 ui/app_list/views/contents_switcher_view.cc gfx::Size buttons_size(buttons_->GetPreferredSize()); gfx 85 ui/app_list/views/contents_switcher_view.cc gfx::Rect buttons_bounds(rect.CenterPoint().x() - buttons_size.width() / 2, gfx 89 ui/app_list/views/contents_switcher_view.cc buttons_->SetBoundsRect(gfx::IntersectRects(rect, buttons_bounds)); gfx 25 ui/app_list/views/contents_switcher_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 114 ui/app_list/views/contents_view.cc gfx::Rect rect(GetContentsBounds()); gfx 131 ui/app_list/views/contents_view.cc gfx::Rect incoming_target(rect); gfx 132 ui/app_list/views/contents_view.cc gfx::Rect outgoing_target(rect); gfx 143 ui/app_list/views/contents_view.cc gfx::Rect container_frame(rect); gfx 144 ui/app_list/views/contents_view.cc gfx::Rect results_frame(rect); gfx 187 ui/app_list/views/contents_view.cc gfx::Size ContentsView::GetPreferredSize() { gfx 188 ui/app_list/views/contents_view.cc const gfx::Size container_size = GetAppsContainerView(view_model_.get())-> gfx 190 ui/app_list/views/contents_view.cc const gfx::Size results_size = gfx 195 ui/app_list/views/contents_view.cc return gfx::Size(width, height); gfx 66 ui/app_list/views/contents_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 42 ui/app_list/views/folder_background_view.cc const gfx::Rect bounds(layer()->bounds().size()); gfx 43 ui/app_list/views/folder_background_view.cc gfx::Transform transform = gfx 44 ui/app_list/views/folder_background_view.cc gfx::GetScaleTransform(bounds.CenterPoint(), kFolderInkBubbleScale); gfx 50 ui/app_list/views/folder_background_view.cc layer()->SetTransform(gfx::Transform()); gfx 58 ui/app_list/views/folder_background_view.cc settings.SetTweenType(gfx::Tween::LINEAR_OUT_SLOW_IN); gfx 60 ui/app_list/views/folder_background_view.cc layer()->SetTransform(gfx::Transform()); gfx 62 ui/app_list/views/folder_background_view.cc settings.SetTweenType(gfx::Tween::FAST_OUT_LINEAR_IN); gfx 74 ui/app_list/views/folder_background_view.cc void FolderBackgroundView::OnPaint(gfx::Canvas* canvas) { gfx 41 ui/app_list/views/folder_background_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 43 ui/app_list/views/folder_header_view.cc gfx::Insets(0, 0, 1, 1))); gfx 133 ui/app_list/views/folder_header_view.cc gfx::Size FolderHeaderView::GetPreferredSize() { gfx 134 ui/app_list/views/folder_header_view.cc return gfx::Size(kPreferredWidth, kPreferredHeight); gfx 138 ui/app_list/views/folder_header_view.cc gfx::Rect rect(GetContentsBounds()); gfx 142 ui/app_list/views/folder_header_view.cc gfx::Rect back_bounds(rect); gfx 146 ui/app_list/views/folder_header_view.cc gfx::Rect text_bounds(rect); gfx 151 ui/app_list/views/folder_header_view.cc gfx::Canvas::GetStringWidth(text, folder_name_view_->GetFontList()); gfx 155 ui/app_list/views/folder_header_view.cc text_bounds.ClampToCenteredSize(gfx::Size(text_bounds.width(), gfx 167 ui/app_list/views/folder_header_view.cc void FolderHeaderView::OnPaint(gfx::Canvas* canvas) { gfx 170 ui/app_list/views/folder_header_view.cc gfx::Rect rect(GetContentsBounds()); gfx 44 ui/app_list/views/folder_header_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 63 ui/app_list/views/folder_header_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 52 ui/app_list/views/page_switcher.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 53 ui/app_list/views/page_switcher.cc return gfx::Size(button_width_, kButtonHeight); gfx 56 ui/app_list/views/page_switcher.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 65 ui/app_list/views/page_switcher.cc void PaintButton(gfx::Canvas* canvas, SkColor base_color) { gfx 66 ui/app_list/views/page_switcher.cc gfx::Rect rect(GetContentsBounds()); gfx 67 ui/app_list/views/page_switcher.cc rect.ClampToCenteredSize(gfx::Size(button_width_, kButtonHeight)); gfx 70 ui/app_list/views/page_switcher.cc path.addRoundRect(gfx::RectToSkRect(rect), gfx 90 ui/app_list/views/page_switcher.cc gfx::Rect selected_rect(rect); gfx 95 ui/app_list/views/page_switcher.cc selected_path.addRoundRect(gfx::RectToSkRect(selected_rect), gfx 134 ui/app_list/views/page_switcher.cc int PageSwitcher::GetPageForPoint(const gfx::Point& point) const { gfx 138 ui/app_list/views/page_switcher.cc gfx::Point buttons_point(point); gfx 150 ui/app_list/views/page_switcher.cc void PageSwitcher::UpdateUIForDragPoint(const gfx::Point& point) { gfx 168 ui/app_list/views/page_switcher.cc gfx::Size PageSwitcher::GetPreferredSize() { gfx 171 ui/app_list/views/page_switcher.cc return gfx::Size(buttons_->GetPreferredSize().width(), gfx 176 ui/app_list/views/page_switcher.cc gfx::Rect rect(GetContentsBounds()); gfx 181 ui/app_list/views/page_switcher.cc gfx::Size buttons_size(buttons_->GetPreferredSize()); gfx 182 ui/app_list/views/page_switcher.cc gfx::Rect buttons_bounds(rect.CenterPoint().x() - buttons_size.width() / 2, gfx 186 ui/app_list/views/page_switcher.cc buttons_->SetBoundsRect(gfx::IntersectRects(rect, buttons_bounds)); gfx 30 ui/app_list/views/page_switcher.h int GetPageForPoint(const gfx::Point& point) const; gfx 34 ui/app_list/views/page_switcher.h void UpdateUIForDragPoint(const gfx::Point& point); gfx 37 ui/app_list/views/page_switcher.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 32 ui/app_list/views/progress_bar_view.cc gfx::Insets(2, 2, 2, 2))), gfx 37 ui/app_list/views/progress_bar_view.cc gfx::Size ProgressBarView::GetPreferredSize() { gfx 41 ui/app_list/views/progress_bar_view.cc void ProgressBarView::OnPaint(gfx::Canvas* canvas) { gfx 42 ui/app_list/views/progress_bar_view.cc gfx::Size paint_size = size(); gfx 44 ui/app_list/views/progress_bar_view.cc const gfx::Size min_size(background_painter_->GetMinimumSize()); gfx 25 ui/app_list/views/progress_bar_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 26 ui/app_list/views/progress_bar_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 40 ui/app_list/views/pulsing_block_view.cc const gfx::Rect local_bounds(layer->bounds().size()); gfx 48 ui/app_list/views/pulsing_block_view.cc gfx::GetScaleTransform(local_bounds.CenterPoint(), gfx 73 ui/app_list/views/pulsing_block_view.cc PulsingBlockView::PulsingBlockView(const gfx::Size& size, bool start_delay) { gfx 96 ui/app_list/views/pulsing_block_view.cc void PulsingBlockView::OnPaint(gfx::Canvas* canvas) { gfx 97 ui/app_list/views/pulsing_block_view.cc gfx::Rect rect(GetContentsBounds()); gfx 98 ui/app_list/views/pulsing_block_view.cc rect.ClampToCenteredSize(gfx::Size(kBlockSize, kBlockSize)); gfx 13 ui/app_list/views/pulsing_block_view.h namespace gfx { gfx 24 ui/app_list/views/pulsing_block_view.h PulsingBlockView(const gfx::Size& size, bool start_delay); gfx 31 ui/app_list/views/pulsing_block_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 111 ui/app_list/views/search_box_view.cc gfx::Size SearchBoxView::GetPreferredSize() { gfx 112 ui/app_list/views/search_box_view.cc return gfx::Size(kPreferredWidth, kPreferredHeight); gfx 116 ui/app_list/views/search_box_view.cc gfx::Rect rect(GetContentsBounds()); gfx 120 ui/app_list/views/search_box_view.cc gfx::Rect icon_frame(rect); gfx 126 ui/app_list/views/search_box_view.cc gfx::Rect speech_button_frame; gfx 130 ui/app_list/views/search_box_view.cc gfx::Size button_size = speech_button_->GetPreferredSize(); gfx 131 ui/app_list/views/search_box_view.cc gfx::Point button_origin = speech_button_frame.CenterPoint(); gfx 133 ui/app_list/views/search_box_view.cc speech_button_->SetBoundsRect(gfx::Rect(button_origin, button_size)); gfx 136 ui/app_list/views/search_box_view.cc gfx::Rect menu_button_frame(rect); gfx 140 ui/app_list/views/search_box_view.cc menu_button_frame.ClampToCenteredSize(gfx::Size(menu_button_frame.width(), gfx 147 ui/app_list/views/search_box_view.cc gfx::Rect edit_frame(rect); gfx 155 ui/app_list/views/search_box_view.cc gfx::Size(edit_frame.width(), search_box_->GetPreferredSize().height())); gfx 201 ui/app_list/views/search_box_view.cc void SearchBoxView::OnMenuButtonClicked(View* source, const gfx::Point& point) { gfx 205 ui/app_list/views/search_box_view.cc const gfx::Point menu_location = gfx 207 ui/app_list/views/search_box_view.cc gfx::Vector2d(kMenuXOffsetFromButton, kMenuYOffsetFromButton); gfx 58 ui/app_list/views/search_box_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 81 ui/app_list/views/search_box_view.h const gfx::Point& point) OVERRIDE; gfx 89 ui/app_list/views/search_result_actions_view.cc void SearchResultActionsView::OnPaint(gfx::Canvas* canvas) { gfx 93 ui/app_list/views/search_result_actions_view.cc const gfx::Rect active_action_bounds(child_at(selected_action_)->bounds()); gfx 37 ui/app_list/views/search_result_actions_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 140 ui/app_list/views/search_result_list_view.cc auto_launch_animation_.reset(new gfx::LinearAnimation( gfx 201 ui/app_list/views/search_result_list_view.cc gfx::Size SearchResultListView::GetPreferredSize() { gfx 217 ui/app_list/views/search_result_list_view.cc void SearchResultListView::AnimationEnded(const gfx::Animation* animation) { gfx 232 ui/app_list/views/search_result_list_view.cc const gfx::Animation* animation) { gfx 15 ui/app_list/views/search_result_list_view.h namespace gfx { gfx 31 ui/app_list/views/search_result_list_view.h public gfx::AnimationDelegate, gfx 58 ui/app_list/views/search_result_list_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 87 ui/app_list/views/search_result_list_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 88 ui/app_list/views/search_result_list_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 102 ui/app_list/views/search_result_list_view.h scoped_ptr<gfx::LinearAnimation> auto_launch_animation_; gfx 40 ui/app_list/views/search_result_view.cc gfx::RenderText* CreateRenderText(const base::string16& text, gfx 42 ui/app_list/views/search_result_view.cc gfx::RenderText* render_text = gfx::RenderText::CreateInstance(); gfx 54 ui/app_list/views/search_result_view.cc render_text->ApplyStyle(gfx::BOLD, true, it->range); gfx 137 ui/app_list/views/search_result_view.cc gfx::Size SearchResultView::GetPreferredSize() { gfx 138 ui/app_list/views/search_result_view.cc return gfx::Size(kPreferredWidth, kPreferredHeight); gfx 142 ui/app_list/views/search_result_view.cc gfx::Rect rect(GetContentsBounds()); gfx 146 ui/app_list/views/search_result_view.cc gfx::Rect icon_bounds(rect); gfx 157 ui/app_list/views/search_result_view.cc gfx::Rect actions_bounds(rect); gfx 164 ui/app_list/views/search_result_view.cc const gfx::Rect progress_bounds( gfx 204 ui/app_list/views/search_result_view.cc void SearchResultView::OnPaint(gfx::Canvas* canvas) { gfx 205 ui/app_list/views/search_result_view.cc gfx::Rect rect(GetContentsBounds()); gfx 209 ui/app_list/views/search_result_view.cc gfx::Rect content_rect(rect); gfx 221 ui/app_list/views/search_result_view.cc gfx::Rect border_bottom = gfx::SubtractRects(rect, content_rect); gfx 224 ui/app_list/views/search_result_view.cc gfx::Rect text_bounds(rect); gfx 240 ui/app_list/views/search_result_view.cc gfx::Size title_size(text_bounds.width(), gfx 242 ui/app_list/views/search_result_view.cc gfx::Size details_size(text_bounds.width(), gfx 247 ui/app_list/views/search_result_view.cc title_text_->SetDisplayRect(gfx::Rect(gfx::Point(text_bounds.x(), y), gfx 252 ui/app_list/views/search_result_view.cc details_text_->SetDisplayRect(gfx::Rect(gfx::Point(text_bounds.x(), y), gfx 256 ui/app_list/views/search_result_view.cc gfx::Size title_size(text_bounds.width(), gfx 258 ui/app_list/views/search_result_view.cc gfx::Rect centered_title_rect(text_bounds); gfx 273 ui/app_list/views/search_result_view.cc gfx::ImageSkia image(result_ ? result_->icon() : gfx::ImageSkia()); gfx 284 ui/app_list/views/search_result_view.cc image = gfx::ImageSkiaOperations::CreateResizedImage( gfx 287 ui/app_list/views/search_result_view.cc gfx::Size(kIconDimension, kIconDimension)); gfx 296 ui/app_list/views/search_result_view.cc icon_->SetImage(gfx::ImageSkia()); gfx 335 ui/app_list/views/search_result_view.cc const gfx::Point& point, gfx 347 ui/app_list/views/search_result_view.cc GetWidget(), NULL, gfx::Rect(point, gfx::Size()), gfx 18 ui/app_list/views/search_result_view.h namespace gfx { gfx 65 ui/app_list/views/search_result_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 69 ui/app_list/views/search_result_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 77 ui/app_list/views/search_result_view.h const gfx::Point& point, gfx 98 ui/app_list/views/search_result_view.h scoped_ptr<gfx::RenderText> title_text_; gfx 99 ui/app_list/views/search_result_view.h scoped_ptr<gfx::RenderText> details_text_; gfx 37 ui/app_list/views/signin_view.cc const gfx::FontList base_font_list; gfx 38 ui/app_list/views/signin_view.cc const gfx::FontList& title_font_list = base_font_list.DeriveWithSizeDelta( gfx 40 ui/app_list/views/signin_view.cc const gfx::FontList& text_font_list = base_font_list.DeriveWithSizeDelta( gfx 42 ui/app_list/views/signin_view.cc const gfx::FontList& button_font_list = base_font_list.DeriveWithSizeDelta( gfx 75 ui/app_list/views/signin_view.cc heading->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 83 ui/app_list/views/signin_view.cc text->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 53 ui/app_list/views/speech_view.cc virtual void Paint(gfx::Canvas* canvas) OVERRIDE; gfx 62 ui/app_list/views/speech_view.cc void SoundLevelIndicator::Paint(gfx::Canvas* canvas) { gfx 78 ui/app_list/views/speech_view.cc virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 88 ui/app_list/views/speech_view.cc bool MicButton::HitTestRect(const gfx::Rect& rect) const { gfx 92 ui/app_list/views/speech_view.cc gfx::Rect local_bounds = GetLocalBounds(); gfx 118 ui/app_list/views/speech_view.cc const gfx::ImageSkia& logo_image = delegate_->GetSpeechUI()->logo(); gfx 136 ui/app_list/views/speech_view.cc speech_result_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 146 ui/app_list/views/speech_view.cc indicator_animator_->set_tween_type(gfx::Tween::LINEAR); gfx 175 ui/app_list/views/speech_view.cc const gfx::Rect contents_bounds = container->GetContentsBounds(); gfx 178 ui/app_list/views/speech_view.cc gfx::Size mic_size = mic_button_->GetPreferredSize(); gfx 179 ui/app_list/views/speech_view.cc gfx::Point mic_origin( gfx 182 ui/app_list/views/speech_view.cc mic_button_->SetBoundsRect(gfx::Rect(mic_origin, mic_size)); gfx 194 ui/app_list/views/speech_view.cc gfx::Size SpeechView::GetPreferredSize() { gfx 195 ui/app_list/views/speech_view.cc return gfx::Size(0, kSpeechViewMaxHeight); gfx 206 ui/app_list/views/speech_view.cc gfx::Point origin = mic_button_->bounds().CenterPoint(); gfx 209 ui/app_list/views/speech_view.cc gfx::Rect indicator_bounds = gfx 210 ui/app_list/views/speech_view.cc gfx::Rect(origin, gfx::Size(radius * 2, radius * 2)); gfx 37 ui/app_list/views/speech_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 14 ui/app_list/views/top_icon_animation_view.cc TopIconAnimationView::TopIconAnimationView(const gfx::ImageSkia& icon, gfx 15 ui/app_list/views/top_icon_animation_view.cc const gfx::Rect& scaled_rect, gfx 22 ui/app_list/views/top_icon_animation_view.cc gfx::ImageSkia resized(gfx::ImageSkiaOperations::CreateResizedImage( gfx 47 ui/app_list/views/top_icon_animation_view.cc gfx::Transform transform; gfx 61 ui/app_list/views/top_icon_animation_view.cc settings.SetTweenType(gfx::Tween::FAST_OUT_SLOW_IN); gfx 64 ui/app_list/views/top_icon_animation_view.cc layer()->SetTransform(open_folder_ ? gfx::Transform() : transform); gfx 67 ui/app_list/views/top_icon_animation_view.cc gfx::Size TopIconAnimationView::GetPreferredSize() { gfx 41 ui/app_list/views/top_icon_animation_view.h TopIconAnimationView(const gfx::ImageSkia& icon, gfx 42 ui/app_list/views/top_icon_animation_view.h const gfx::Rect& scaled_rect, gfx 57 ui/app_list/views/top_icon_animation_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 63 ui/app_list/views/top_icon_animation_view.h gfx::Size icon_size_; gfx 66 ui/app_list/views/top_icon_animation_view.h gfx::Rect scaled_rect_; gfx 66 ui/aura/bench/bench_main.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 143 ui/aura/bench/bench_main.cc WebGLTexture(gpu::gles2::GLES2Interface* gl, const gfx::Size& size) gfx 201 ui/aura/bench/bench_main.cc gfx::Rect bounds(width, height); gfx 236 ui/aura/bench/bench_main.cc webgl_.SchedulePaint(gfx::Rect(webgl_.bounds().size())); gfx 277 ui/aura/bench/bench_main.cc layer_->SchedulePaint(gfx::Rect(layer_->bounds().size())); gfx 300 ui/aura/bench/bench_main.cc gfx::GLSurface::InitializeOneOff(); gfx 313 ui/aura/bench/bench_main.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen.get()); gfx 330 ui/aura/bench/bench_main.cc window.SetBounds(gfx::Rect(background.bounds().size())); gfx 338 ui/aura/bench/bench_main.cc gfx::Rect bounds(window.bounds().size()); gfx 344 ui/aura/bench/bench_main.cc page_background.SetBounds(gfx::Rect(content_layer.bounds().size())); gfx 361 ui/aura/bench/bench_main.cc ui::PrintLayerHierarchy(host->window()->layer(), gfx::Point(100, 100)); gfx 12 ui/aura/client/aura_constants.cc DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(AURA_EXPORT, gfx::Rect*) gfx 30 ui/aura/client/aura_constants.cc DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect, kRestoreBoundsKey, NULL); gfx 45 ui/aura/client/aura_constants.h AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; gfx 13 ui/aura/client/cursor_client.h namespace gfx { gfx 26 ui/aura/client/cursor_client.h virtual void SetCursor(gfx::NativeCursor cursor) = 0; gfx 29 ui/aura/client/cursor_client.h virtual gfx::NativeCursor GetCursor() const = 0; gfx 64 ui/aura/client/cursor_client.h virtual void SetDisplay(const gfx::Display& display) = 0; gfx 11 ui/aura/client/screen_position_client.h namespace gfx { gfx 29 ui/aura/client/screen_position_client.h gfx::Point* point) = 0; gfx 31 ui/aura/client/screen_position_client.h gfx::Point* point) = 0; gfx 38 ui/aura/client/screen_position_client.h gfx::Point* point) = 0; gfx 42 ui/aura/client/screen_position_client.h const gfx::Rect& bounds, gfx 43 ui/aura/client/screen_position_client.h const gfx::Display& display) = 0; gfx 39 ui/aura/client/window_tree_client.cc const gfx::Rect& screen_bounds) { gfx 10 ui/aura/client/window_tree_client.h namespace gfx { gfx 36 ui/aura/client/window_tree_client.h const gfx::Rect& bounds) = 0; gfx 51 ui/aura/client/window_tree_client.h const gfx::Rect& screen_bounds); gfx 42 ui/aura/demo/demo_main.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 43 ui/aura/demo/demo_main.cc return gfx::Size(); gfx 46 ui/aura/demo/demo_main.cc virtual gfx::Size GetMaximumSize() const OVERRIDE { gfx 47 ui/aura/demo/demo_main.cc return gfx::Size(); gfx 50 ui/aura/demo/demo_main.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 51 ui/aura/demo/demo_main.cc const gfx::Rect& new_bounds) OVERRIDE {} gfx 52 ui/aura/demo/demo_main.cc virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { gfx 53 ui/aura/demo/demo_main.cc return gfx::kNullCursor; gfx 55 ui/aura/demo/demo_main.cc virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { gfx 60 ui/aura/demo/demo_main.cc const gfx::Point& location) OVERRIDE { gfx 65 ui/aura/demo/demo_main.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 73 ui/aura/demo/demo_main.cc virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} gfx 94 ui/aura/demo/demo_main.cc const gfx::Rect& bounds) OVERRIDE { gfx 117 ui/aura/demo/demo_main.cc gfx::GLSurface::InitializeOneOff(); gfx 129 ui/aura/demo/demo_main.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen.get()); gfx 142 ui/aura/demo/demo_main.cc window1.SetBounds(gfx::Rect(100, 100, 400, 400)); gfx 144 ui/aura/demo/demo_main.cc aura::client::ParentWindowWithContext(&window1, host->window(), gfx::Rect()); gfx 150 ui/aura/demo/demo_main.cc window2.SetBounds(gfx::Rect(200, 200, 350, 350)); gfx 152 ui/aura/demo/demo_main.cc aura::client::ParentWindowWithContext(&window2, host->window(), gfx::Rect()); gfx 158 ui/aura/demo/demo_main.cc window3.SetBounds(gfx::Rect(10, 10, 50, 50)); gfx 52 ui/aura/env.h const gfx::Point& last_mouse_location() const { return last_mouse_location_; } gfx 53 ui/aura/env.h void set_last_mouse_location(const gfx::Point& last_mouse_location) { gfx 88 ui/aura/env.h gfx::Point last_mouse_location_; gfx 176 ui/aura/gestures/gesture_recognizer_unittest.cc const gfx::Point& scroll_begin_position() const { gfx 180 ui/aura/gestures/gesture_recognizer_unittest.cc const gfx::Point& tap_location() const { gfx 184 ui/aura/gestures/gesture_recognizer_unittest.cc const gfx::Point& gesture_end_location() const { gfx 202 ui/aura/gestures/gesture_recognizer_unittest.cc const gfx::Rect& bounding_box() const { return bounding_box_; } gfx 326 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point scroll_begin_position_; gfx 327 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point tap_location_; gfx 328 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point gesture_end_location_; gfx 344 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounding_box_; gfx 592 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::PointF(x, y), gfx 607 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::PointF(x, y), gfx 718 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 723 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 744 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 769 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, kWindowWidth, kWindowHeight); gfx 776 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 793 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 809 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point actual_point(delegate->tap_location()); gfx 819 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(365, 290), gfx 834 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(367, 291), gfx 850 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point actual_point(delegate->tap_location()); gfx 860 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(46, 205), gfx 876 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(49, 204), gfx 891 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(49, 204), gfx 907 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point actual_point(delegate->tap_location()); gfx 917 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(400, 150), gfx 932 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(397, 151), gfx 947 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(397, 149), gfx 962 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(400, 150), gfx 977 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(401, 149), gfx 993 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point actual_point(delegate->tap_location()); gfx 1014 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 1019 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1039 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Point(1, 1).ToString(), gfx 1061 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1087 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(95, 195, kWindowWidth, kWindowHeight); gfx 1094 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Vector2dF total_scroll; gfx 1095 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(96, 196), gfx 1104 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(101, 201), gfx 1154 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1170 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 1178 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(kPositionX, kPositionY), gfx 1182 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(kPositionX - radius, gfx 1191 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Point(1, 1).ToString(), gfx 1193 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(kPositionX + kScrollAmount - radius, gfx 1202 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(kPositionX + kScrollAmount, gfx 1207 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(kPositionX + kScrollAmount - radius, gfx 1223 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 1227 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 1232 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(5, 0), gfx 1257 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1274 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 1278 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 1283 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(0, 5), gfx 1307 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 206), gfx 1325 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 1329 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 1344 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1362 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 1373 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1389 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1407 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 1421 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1438 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1453 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 1464 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1480 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1500 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(5, 5, kWindowWidth, kWindowHeight); gfx 1513 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1524 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), gfx 1538 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1553 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 1557 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 1562 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(5, 0), gfx 1607 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 1611 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 1616 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(0, 5), gfx 1666 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 1671 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1684 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1697 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1708 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move_remove_slop(ui::ET_TOUCH_MOVED, gfx::Point(106, 206), gfx 1724 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(135, 235), gfx 1738 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(115, 216), gfx 1753 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(145, 220), gfx 1767 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1786 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 1794 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1808 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 1826 ui/aura/gestures/gesture_recognizer_unittest.cc delegate.get(), -2345, gfx::Rect(0, 0, 50, 50), root_window())); gfx 1828 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(10, 20), gfx 1840 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(10, 20), gfx 1871 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press3(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1887 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press4(ui::ET_TOUCH_PRESSED, gfx::Point(103, 203), gfx 1912 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(103 + x_move, 203), gfx 1979 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(5, 5, kWindowWidth, kWindowHeight); gfx 1984 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 1994 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(130, 301), gfx 2005 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), gfx 2011 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 120, 291).ToString(), gfx 2016 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move3(ui::ET_TOUCH_MOVED, gfx::Point(95, 201), gfx 2022 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 85, 191).ToString(), gfx 2027 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move4(ui::ET_TOUCH_MOVED, gfx::Point(55, 15), gfx 2033 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(55, 15, 40, 186).ToString(), gfx 2038 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2044 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(55, 15, 46, 186).ToString(), gfx 2049 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move5(ui::ET_TOUCH_MOVED, gfx::Point(25, 10), gfx 2064 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(5, 5, kWindowWidth, kWindowHeight); gfx 2068 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 301), gfx 2072 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), gfx 2089 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2099 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press3(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), gfx 2104 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(101, 202), gfx 2121 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(5, 5, kWindowWidth, kWindowHeight); gfx 2126 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 301), gfx 2136 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), gfx 2142 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 91, 291).ToString(), gfx 2147 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move3(ui::ET_TOUCH_MOVED, gfx::Point(65, 201), gfx 2153 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 55, 191).ToString(), gfx 2158 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move4(ui::ET_TOUCH_MOVED, gfx::Point(55, 15), gfx 2164 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(55, 15, 10, 186).ToString(), gfx 2169 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2175 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(55, 15, 46, 186).ToString(), gfx 2180 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move5(ui::ET_TOUCH_MOVED, gfx::Point(25, 10), gfx 2192 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2215 ui/aura/gestures/gesture_recognizer_unittest.cc scoped_ptr<gfx::Rect[]> window_bounds(new gfx::Rect[kNumWindows]); gfx 2216 ui/aura/gestures/gesture_recognizer_unittest.cc window_bounds[0] = gfx::Rect(0, 0, 1, 1); gfx 2217 ui/aura/gestures/gesture_recognizer_unittest.cc window_bounds[1] = gfx::Rect(500, 0, 1, 1); gfx 2218 ui/aura/gestures/gesture_recognizer_unittest.cc window_bounds[2] = gfx::Rect(0, 500, 1, 1); gfx 2219 ui/aura/gestures/gesture_recognizer_unittest.cc window_bounds[3] = gfx::Rect(500, 500, 1, 1); gfx 2237 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(11, 11), -1); gfx 2239 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(511, 11), -1); gfx 2241 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(11, 511), -1); gfx 2243 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(511, 511), -1); gfx 2247 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 500), gfx 2250 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(250, 250), gfx 2254 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(250, 250), -1); gfx 2259 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(380, 380), -1); gfx 2263 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(300, 300), -1); gfx 2267 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(1000, 1000), -1); gfx 2271 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(1000, 1000), gfx 2275 ui/aura/gestures/gesture_recognizer_unittest.cc target = gesture_recognizer->GetTargetForLocation(gfx::Point(1000, 1000), -1); gfx 2290 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 10, 10); gfx 2298 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(5, 5), gfx 2303 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(20, 20), gfx 2324 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect(-100, -100, 2000, 2000), root_window())); gfx 2332 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point pos1(-10, -10); gfx 2336 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point pos2(1000, 1000); gfx 2351 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, 100, 100); gfx 2357 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2360 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2379 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(10, 20, 100, 100); gfx 2386 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(15, 25), kTouchId1, gfx 2388 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(20, 95), kTouchId1, gfx 2390 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(15, 25), kTouchId1, gfx 2414 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(15, 25), kTouchId1, gfx 2416 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(20, 95), kTouchId1, gfx 2418 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(15, 25), kTouchId1, gfx 2420 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(55, 25), kTouchId2, gfx 2422 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(45, 85), kTouchId2, gfx 2424 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(45, 85), kTouchId2, gfx 2470 ui/aura/gestures/gesture_recognizer_unittest.cc &delegate, -1234, gfx::Rect(10, 10, 300, 300), root_window())); gfx 2472 ui/aura/gestures/gesture_recognizer_unittest.cc const gfx::Point begin(20, 20); gfx 2473 ui/aura/gestures/gesture_recognizer_unittest.cc const gfx::Point end(150, 150); gfx 2474 ui/aura/gestures/gesture_recognizer_unittest.cc const gfx::Vector2d window_offset = gfx 2493 ui/aura/gestures/gesture_recognizer_unittest.cc delegate.get(), -1234, gfx::Rect(10, 10, 300, 300), root_window())); gfx 2496 ui/aura/gestures/gesture_recognizer_unittest.cc generator.MoveMouseRelativeTo(window.get(), gfx::Point(10, 10)); gfx 2503 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect(10, 10, 200, 200), root_window())); gfx 2522 ui/aura/gestures/gesture_recognizer_unittest.cc -1234, gfx::Rect(10, 10, 300, 300), root_window())); gfx 2530 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(20, 20), 0, gfx 2533 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(30, 30), 1, gfx 2545 ui/aura/gestures/gesture_recognizer_unittest.cc touch0.reset(new ui::TouchEvent(ui::ET_TOUCH_RELEASED, gfx::Point(20, 20), 0, gfx 2547 ui/aura/gestures/gesture_recognizer_unittest.cc touch1.reset(new ui::TouchEvent(ui::ET_TOUCH_CANCELLED, gfx::Point(30, 30), 1, gfx 2557 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect(100, 100, 300, 300), root_window())); gfx 2576 ui/aura/gestures/gesture_recognizer_unittest.cc delegate.get(), -1234, gfx::Rect(10, 10, 300, 300), root_window())); gfx 2578 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(45, 45), 7, tes.Now()); gfx 2582 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(5, 5, 80, 80).ToString(), gfx 2586 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(55, 45), 7, tes.Now()); gfx 2603 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2609 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2622 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 2636 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(102, 202), gfx 2639 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(131, 202), gfx 2654 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2670 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(130, 201), gfx 2691 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2697 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2702 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 2708 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2718 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(130, 201), gfx 2736 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2741 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2746 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 2757 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2767 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2772 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2777 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 2788 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2806 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2811 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2817 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 2826 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2840 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(5, 10, kWindowWidth, kWindowHeight); gfx 2846 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point points[kTouchPoints] = { gfx 2847 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(10, 30), gfx 2848 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(30, 20), gfx 2849 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(50, 30), gfx 2850 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Point(80, 50) gfx 2885 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2890 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2895 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 2900 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent cancel(ui::ET_TOUCH_CANCELLED, gfx::Point(130, 201), gfx 2908 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2917 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2922 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2927 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 2932 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent cancel(ui::ET_TOUCH_CANCELLED, gfx::Point(130, 201), gfx 2940 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 2955 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 2961 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 2974 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(430, 201), gfx 2988 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(530, 301), gfx 3008 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 200, 200); gfx 3015 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), gfx 3018 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(20, 20), gfx 3032 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, 100, 100); gfx 3047 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3094 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3100 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3126 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(130, 230), gfx 3149 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3154 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3167 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(130, 201), gfx 3222 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3224 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(130, 201), gfx 3253 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3259 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3295 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), gfx 3326 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3347 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3353 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(104, 201), gfx 3356 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(104, 201), gfx 3362 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(101, 203), gfx 3365 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(102, 206), gfx 3388 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3394 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(104, 201), gfx 3397 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(104, 201), gfx 3405 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(101, 203), gfx 3408 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(102, 206), gfx 3416 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press3(ui::ET_TOUCH_PRESSED, gfx::Point(102, 206), gfx 3419 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release3(ui::ET_TOUCH_RELEASED, gfx::Point(102, 206), gfx 3443 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3449 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3452 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3458 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(201, 201), gfx 3461 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(201, 201), gfx 3485 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3491 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3494 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3500 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3503 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release2(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3528 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3534 ui/aura/gestures/gesture_recognizer_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), kTouchId, tes.Now()); gfx 3541 ui/aura/gestures/gesture_recognizer_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(201, 201), kTouchId2, gfx 3546 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(101, 201, 100, 0).ToString(), gfx 3551 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(141, 201), kTouchId, gfx 3555 ui/aura/gestures/gesture_recognizer_unittest.cc EXPECT_EQ(gfx::Rect(141, 201, 60, 0).ToString(), gfx 3561 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(101, 201), kTouchId, gfx 3585 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3590 ui/aura/gestures/gesture_recognizer_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(101, 208), kTouchId, tes.Now()); gfx 3596 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(101, 206), kTouchId, gfx 3603 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(101, 204), kTouchId, gfx 3615 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move3(ui::ET_TOUCH_MOVED, gfx::Point(101, 204), kTouchId, gfx 3622 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move4(ui::ET_TOUCH_MOVED, gfx::Point(101, 203), kTouchId, gfx 3638 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, 123, 45); gfx 3644 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3672 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, kWindowWidth, kWindowHeight); gfx 3682 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3684 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent p2(ui::ET_TOUCH_PRESSED, gfx::Point(50, 50), 1, tes.Now()); gfx 3714 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3725 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3741 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3758 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3773 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3790 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3805 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3811 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3821 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release1(ui::ET_TOUCH_RELEASED, gfx::Point(101, 201), gfx 3835 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 3839 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 3844 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(2, 2), gfx 3849 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(20, 20), gfx 3866 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 3870 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 3875 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(2, 2), gfx 3880 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(20, 20), gfx 3891 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press2(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 3896 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move3(ui::ET_TOUCH_MOVED, gfx::Point(20, 20), gfx 3906 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move4(ui::ET_TOUCH_MOVED, gfx::Point(40, 40), gfx 3922 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, 1000, 1000); gfx 3926 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(0, 0), gfx 3931 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(2, 2), gfx 3936 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(2, 2), gfx 3952 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); gfx 3963 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(101, 201), gfx 3968 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(103, 203), gfx 3987 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, kWindowWidth, kWindowHeight); gfx 3992 ui/aura/gestures/gesture_recognizer_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), kTouchId, tes.Now()); gfx 3998 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(11, 10), kTouchId, gfx 4007 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(12, 10), kTouchId, gfx 4017 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move3(ui::ET_TOUCH_MOVED, gfx::Point(13, 10), kTouchId, gfx 4027 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move4(ui::ET_TOUCH_MOVED, gfx::Point(14, 10), kTouchId, gfx 4044 ui/aura/gestures/gesture_recognizer_unittest.cc gfx::Rect bounds(0, 0, kWindowWidth, kWindowHeight); gfx 4053 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent press1(ui::ET_TOUCH_PRESSED, gfx::Point(x, y), gfx 4063 ui/aura/gestures/gesture_recognizer_unittest.cc ui::TouchEvent move1(ui::ET_TOUCH_MOVED, gfx::Point(x, y), gfx 4075 ui/aura/gestures/gesture_recognizer_unittest.cc ui::ET_TOUCH_MOVED, gfx::Point(x, y), kTouchId, tes.Now()); gfx 4087 ui/aura/gestures/gesture_recognizer_unittest.cc ui::ET_TOUCH_MOVED, gfx::Point(x, y), kTouchId, tes.Now()); gfx 18 ui/aura/layout_manager.cc const gfx::Rect& bounds) { gfx 11 ui/aura/layout_manager.h namespace gfx { gfx 47 ui/aura/layout_manager.h const gfx::Rect& requested_bounds) = 0; gfx 53 ui/aura/layout_manager.h void SetChildBoundsDirect(aura::Window* child, const gfx::Rect& bounds); gfx 155 ui/aura/remote_window_tree_host_win.cc return Create(gfx::Rect()); gfx 159 ui/aura/remote_window_tree_host_win.cc const gfx::Rect& bounds) { gfx 164 ui/aura/remote_window_tree_host_win.cc RemoteWindowTreeHostWin::RemoteWindowTreeHostWin(const gfx::Rect& bounds) gfx 364 ui/aura/remote_window_tree_host_win.cc SetBounds(gfx::Rect(0, 0, width, height)); gfx 375 ui/aura/remote_window_tree_host_win.cc gfx::AcceleratedWidget RemoteWindowTreeHostWin::GetAcceleratedWidget() { gfx 396 ui/aura/remote_window_tree_host_win.cc gfx::Rect RemoteWindowTreeHostWin::GetBounds() const { gfx 397 ui/aura/remote_window_tree_host_win.cc return gfx::Rect(window_size_); gfx 400 ui/aura/remote_window_tree_host_win.cc void RemoteWindowTreeHostWin::SetBounds(const gfx::Rect& bounds) { gfx 405 ui/aura/remote_window_tree_host_win.cc gfx::Insets RemoteWindowTreeHostWin::GetInsets() const { gfx 406 ui/aura/remote_window_tree_host_win.cc return gfx::Insets(); gfx 409 ui/aura/remote_window_tree_host_win.cc void RemoteWindowTreeHostWin::SetInsets(const gfx::Insets& insets) { gfx 412 ui/aura/remote_window_tree_host_win.cc gfx::Point RemoteWindowTreeHostWin::GetLocationOnNativeScreen() const { gfx 413 ui/aura/remote_window_tree_host_win.cc return gfx::Point(0, 0); gfx 422 ui/aura/remote_window_tree_host_win.cc bool RemoteWindowTreeHostWin::QueryMouseLocation(gfx::Point* location_return) { gfx 426 ui/aura/remote_window_tree_host_win.cc *location_return = gfx::Point(0, 0); gfx 432 ui/aura/remote_window_tree_host_win.cc gfx::Point(static_cast<int>(pt.x), static_cast<int>(pt.y)); gfx 443 ui/aura/remote_window_tree_host_win.cc void RemoteWindowTreeHostWin::SetCursorNative(gfx::NativeCursor native_cursor) { gfx 450 ui/aura/remote_window_tree_host_win.cc void RemoteWindowTreeHostWin::MoveCursorToNative(const gfx::Point& location) { gfx 500 ui/aura/remote_window_tree_host_win.cc const std::vector<gfx::Rect>& composition_character_bounds) { gfx 505 ui/aura/remote_window_tree_host_win.cc const gfx::Rect& rect = composition_character_bounds[i]; gfx 517 ui/aura/remote_window_tree_host_win.cc gfx::Point PointFromNativeEvent(int32 x, int32 y) { gfx 518 ui/aura/remote_window_tree_host_win.cc static float scale_factor = gfx::GetModernUIScale(); gfx 519 ui/aura/remote_window_tree_host_win.cc gfx::Point result( x * scale_factor, y * scale_factor); gfx 527 ui/aura/remote_window_tree_host_win.cc gfx::Point location = PointFromNativeEvent(x, y); gfx 534 ui/aura/remote_window_tree_host_win.cc gfx::Point location = PointFromNativeEvent(params.x, params.y); gfx 610 ui/aura/remote_window_tree_host_win.cc gfx::Point location = PointFromNativeEvent(x, y); gfx 622 ui/aura/remote_window_tree_host_win.cc gfx::Point location = PointFromNativeEvent(x, y); gfx 634 ui/aura/remote_window_tree_host_win.cc gfx::Point location = PointFromNativeEvent(x, y); gfx 112 ui/aura/remote_window_tree_host_win.h static RemoteWindowTreeHostWin* Create(const gfx::Rect& bounds); gfx 175 ui/aura/remote_window_tree_host_win.h explicit RemoteWindowTreeHostWin(const gfx::Rect& bounds); gfx 219 ui/aura/remote_window_tree_host_win.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 223 ui/aura/remote_window_tree_host_win.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 224 ui/aura/remote_window_tree_host_win.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 225 ui/aura/remote_window_tree_host_win.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 226 ui/aura/remote_window_tree_host_win.h virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; gfx 227 ui/aura/remote_window_tree_host_win.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 230 ui/aura/remote_window_tree_host_win.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 235 ui/aura/remote_window_tree_host_win.h virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; gfx 236 ui/aura/remote_window_tree_host_win.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 246 ui/aura/remote_window_tree_host_win.h const std::vector<gfx::Rect>& composition_character_bounds) OVERRIDE; gfx 300 ui/aura/remote_window_tree_host_win.h gfx::Size window_size_; gfx 10 ui/aura/root_window_transformer.h namespace gfx { gfx 26 ui/aura/root_window_transformer.h virtual gfx::Transform GetTransform() const = 0; gfx 31 ui/aura/root_window_transformer.h virtual gfx::Transform GetInverseTransform() const = 0; gfx 36 ui/aura/root_window_transformer.h virtual gfx::Rect GetRootWindowBounds(const gfx::Size& host_size) const = 0; gfx 40 ui/aura/root_window_transformer.h virtual gfx::Insets GetHostInsets() const = 0; gfx 102 ui/aura/test/aura_test_base.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 112 ui/aura/test/aura_test_base.cc client::ParentWindowWithContext(window, root_window(), gfx::Rect()); gfx 68 ui/aura/test/aura_test_helper.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen_.get()); gfx 84 ui/aura/test/aura_test_helper.cc host()->SetBounds(gfx::Rect(800, 600)); gfx 98 ui/aura/test/aura_test_helper.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, NULL); gfx 32 ui/aura/test/event_generator.cc void DummyCallback(ui::EventType, const gfx::Vector2dF&) { gfx 42 ui/aura/test/event_generator.cc virtual WindowTreeHost* GetHostAt(const gfx::Point& point) const OVERRIDE { gfx 68 ui/aura/test/event_generator.cc const gfx::Point& root_location, gfx 91 ui/aura/test/event_generator.cc EventGenerator::EventGenerator(Window* root_window, const gfx::Point& point) gfx 153 ui/aura/test/event_generator.cc gfx::Point exit_location(current_location_); gfx 160 ui/aura/test/event_generator.cc void EventGenerator::MoveMouseToInHost(const gfx::Point& point_in_host) { gfx 170 ui/aura/test/event_generator.cc void EventGenerator::MoveMouseTo(const gfx::Point& point_in_screen, gfx 176 ui/aura/test/event_generator.cc gfx::Vector2dF diff(point_in_screen - current_location_); gfx 178 ui/aura/test/event_generator.cc gfx::Vector2dF step(diff); gfx 180 ui/aura/test/event_generator.cc gfx::Point move_point = current_location_ + gfx::ToRoundedVector2d(step); gfx 191 ui/aura/test/event_generator.cc const gfx::Point& point_in_parent) { gfx 192 ui/aura/test/event_generator.cc gfx::Point point(point_in_parent); gfx 197 ui/aura/test/event_generator.cc void EventGenerator::DragMouseTo(const gfx::Point& point) { gfx 217 ui/aura/test/event_generator.cc void EventGenerator::MoveTouch(const gfx::Point& point) { gfx 221 ui/aura/test/event_generator.cc void EventGenerator::MoveTouchId(const gfx::Point& point, int touch_id) { gfx 241 ui/aura/test/event_generator.cc void EventGenerator::PressMoveAndReleaseTouchTo(const gfx::Point& point) { gfx 263 ui/aura/test/event_generator.cc void EventGenerator::GestureTapAt(const gfx::Point& location) { gfx 277 ui/aura/test/event_generator.cc void EventGenerator::GestureTapDownAndUp(const gfx::Point& location) { gfx 291 ui/aura/test/event_generator.cc void EventGenerator::GestureScrollSequence(const gfx::Point& start, gfx 292 ui/aura/test/event_generator.cc const gfx::Point& end, gfx 300 ui/aura/test/event_generator.cc const gfx::Point& start, gfx 301 ui/aura/test/event_generator.cc const gfx::Point& end, gfx 310 ui/aura/test/event_generator.cc callback.Run(ui::ET_GESTURE_SCROLL_BEGIN, gfx::Vector2dF()); gfx 314 ui/aura/test/event_generator.cc gfx::Point location = start; gfx 320 ui/aura/test/event_generator.cc callback.Run(ui::ET_GESTURE_SCROLL_UPDATE, gfx::Vector2dF(dx, dy)); gfx 326 ui/aura/test/event_generator.cc callback.Run(ui::ET_GESTURE_SCROLL_END, gfx::Vector2dF()); gfx 330 ui/aura/test/event_generator.cc const gfx::Point start[], gfx 343 ui/aura/test/event_generator.cc const gfx::Point start[], gfx 350 ui/aura/test/event_generator.cc gfx::Point points[kMaxTouchPoints]; gfx 405 ui/aura/test/event_generator.cc void EventGenerator::ScrollSequence(const gfx::Point& start, gfx 446 ui/aura/test/event_generator.cc void EventGenerator::ScrollSequence(const gfx::Point& start, gfx 448 ui/aura/test/event_generator.cc const std::vector<gfx::Point>& offsets, gfx 526 ui/aura/test/event_generator.cc void EventGenerator::UpdateCurrentDispatcher(const gfx::Point& point) { gfx 534 ui/aura/test/event_generator.cc gfx::Point location = GetLocationInCurrentRoot(); gfx 543 ui/aura/test/event_generator.cc gfx::Point location = GetLocationInCurrentRoot(); gfx 553 ui/aura/test/event_generator.cc gfx::Point* point) const { gfx 564 ui/aura/test/event_generator.cc gfx::Point* point) const { gfx 574 ui/aura/test/event_generator.cc gfx::Point EventGenerator::GetLocationInCurrentRoot() const { gfx 575 ui/aura/test/event_generator.cc gfx::Point p(current_location_); gfx 580 ui/aura/test/event_generator.cc gfx::Point EventGenerator::CenterOfWindow(const Window* window) const { gfx 581 ui/aura/test/event_generator.cc gfx::Point center = gfx::Rect(window->bounds().size()).CenterPoint(); gfx 41 ui/aura/test/event_generator.h typedef base::Callback<void(ui::EventType, const gfx::Vector2dF&)> gfx 51 ui/aura/test/event_generator.h virtual WindowTreeHost* GetHostAt(const gfx::Point& point) const = 0; gfx 94 ui/aura/test/event_generator.h EventGenerator(Window* root_window, const gfx::Point& initial_location); gfx 105 ui/aura/test/event_generator.h void set_current_location(const gfx::Point& location) { gfx 108 ui/aura/test/event_generator.h const gfx::Point& current_location() const { return current_location_; } gfx 139 ui/aura/test/event_generator.h void MoveMouseToInHost(const gfx::Point& point_in_host); gfx 141 ui/aura/test/event_generator.h MoveMouseToInHost(gfx::Point(x, y)); gfx 146 ui/aura/test/event_generator.h void MoveMouseTo(const gfx::Point& point_in_screen, int count); gfx 147 ui/aura/test/event_generator.h void MoveMouseTo(const gfx::Point& point_in_screen) { gfx 151 ui/aura/test/event_generator.h MoveMouseTo(gfx::Point(x, y)); gfx 156 ui/aura/test/event_generator.h void MoveMouseRelativeTo(const Window* window, const gfx::Point& point); gfx 158 ui/aura/test/event_generator.h MoveMouseRelativeTo(window, gfx::Point(x, y)); gfx 162 ui/aura/test/event_generator.h MoveMouseTo(current_location_ + gfx::Vector2d(x, y)); gfx 166 ui/aura/test/event_generator.h void DragMouseTo(const gfx::Point& point); gfx 169 ui/aura/test/event_generator.h DragMouseTo(gfx::Point(x, y)); gfx 173 ui/aura/test/event_generator.h DragMouseTo(current_location_ + gfx::Vector2d(dx, dy)); gfx 186 ui/aura/test/event_generator.h void MoveTouch(const gfx::Point& point); gfx 189 ui/aura/test/event_generator.h void MoveTouchId(const gfx::Point& point, int touch_id); gfx 199 ui/aura/test/event_generator.h void PressMoveAndReleaseTouchTo(const gfx::Point& point); gfx 202 ui/aura/test/event_generator.h PressMoveAndReleaseTouchTo(gfx::Point(x, y)); gfx 206 ui/aura/test/event_generator.h PressMoveAndReleaseTouchTo(current_location_ + gfx::Vector2d(x, y)); gfx 221 ui/aura/test/event_generator.h void GestureTapAt(const gfx::Point& point); gfx 226 ui/aura/test/event_generator.h void GestureTapDownAndUp(const gfx::Point& point); gfx 233 ui/aura/test/event_generator.h void GestureScrollSequence(const gfx::Point& start, gfx 234 ui/aura/test/event_generator.h const gfx::Point& end, gfx 242 ui/aura/test/event_generator.h void GestureScrollSequenceWithCallback(const gfx::Point& start, gfx 243 ui/aura/test/event_generator.h const gfx::Point& end, gfx 258 ui/aura/test/event_generator.h const gfx::Point start[], gfx 275 ui/aura/test/event_generator.h const gfx::Point start[], gfx 284 ui/aura/test/event_generator.h void ScrollSequence(const gfx::Point& start, gfx 293 ui/aura/test/event_generator.h void ScrollSequence(const gfx::Point& start, gfx 295 ui/aura/test/event_generator.h const std::vector<gfx::Point>& offsets, gfx 321 ui/aura/test/event_generator.h void UpdateCurrentDispatcher(const gfx::Point& point); gfx 328 ui/aura/test/event_generator.h gfx::Point* point) const; gfx 330 ui/aura/test/event_generator.h gfx::Point* point) const; gfx 332 ui/aura/test/event_generator.h gfx::Point GetLocationInCurrentRoot() const; gfx 333 ui/aura/test/event_generator.h gfx::Point CenterOfWindow(const Window* window) const; gfx 339 ui/aura/test/event_generator.h gfx::Point current_location_; gfx 12 ui/aura/test/run_all_unittests.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 25 ui/aura/test/test_cursor_client.cc void TestCursorClient::SetCursor(gfx::NativeCursor cursor) { gfx 29 ui/aura/test/test_cursor_client.cc gfx::NativeCursor TestCursorClient::GetCursor() const { gfx 75 ui/aura/test/test_cursor_client.cc void TestCursorClient::SetDisplay(const gfx::Display& display) { gfx 26 ui/aura/test/test_cursor_client.h virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; gfx 27 ui/aura/test/test_cursor_client.h virtual gfx::NativeCursor GetCursor() const OVERRIDE; gfx 38 ui/aura/test/test_cursor_client.h virtual void SetDisplay(const gfx::Display& display) OVERRIDE; gfx 23 ui/aura/test/test_screen.cc return new TestScreen(gfx::Rect(0, 0, 800, 600)); gfx 28 ui/aura/test/test_screen.cc return new TestScreen(gfx::Rect(WindowTreeHost::GetNativeScreenSize())); gfx 36 ui/aura/test/test_screen.cc host_ = WindowTreeHost::Create(gfx::Rect(display_.GetSizeInPixel())); gfx 43 ui/aura/test/test_screen.cc gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); gfx 48 ui/aura/test/test_screen.cc void TestScreen::SetDisplayRotation(gfx::Display::Rotation rotation) { gfx 56 ui/aura/test/test_screen.cc gfx::Rect bounds_in_pixel(display_.GetSizeInPixel()); gfx 57 ui/aura/test/test_screen.cc gfx::Rect new_bounds = gfx::ToNearestRect( gfx 58 ui/aura/test/test_screen.cc gfx::ScaleRect(bounds_in_pixel, 1.0f / ui_scale)); gfx 63 ui/aura/test/test_screen.cc gfx::Transform TestScreen::GetRotationTransform() const { gfx 64 ui/aura/test/test_screen.cc gfx::Transform rotate; gfx 67 ui/aura/test/test_screen.cc case gfx::Display::ROTATE_0: gfx 69 ui/aura/test/test_screen.cc case gfx::Display::ROTATE_90: gfx 73 ui/aura/test/test_screen.cc case gfx::Display::ROTATE_270: gfx 77 ui/aura/test/test_screen.cc case gfx::Display::ROTATE_180: gfx 87 ui/aura/test/test_screen.cc gfx::Transform TestScreen::GetUIScaleTransform() const { gfx 88 ui/aura/test/test_screen.cc gfx::Transform ui_scale; gfx 98 ui/aura/test/test_screen.cc Window* window, const gfx::Rect& old_bounds, const gfx::Rect& new_bounds) { gfx 100 ui/aura/test/test_screen.cc display_.SetSize(gfx::ToFlooredSize( gfx 101 ui/aura/test/test_screen.cc gfx::ScaleSize(new_bounds.size(), display_.device_scale_factor()))); gfx 109 ui/aura/test/test_screen.cc gfx::Point TestScreen::GetCursorScreenPoint() { gfx 113 ui/aura/test/test_screen.cc gfx::NativeWindow TestScreen::GetWindowUnderCursor() { gfx 117 ui/aura/test/test_screen.cc gfx::NativeWindow TestScreen::GetWindowAtScreenPoint(const gfx::Point& point) { gfx 125 ui/aura/test/test_screen.cc std::vector<gfx::Display> TestScreen::GetAllDisplays() const { gfx 126 ui/aura/test/test_screen.cc return std::vector<gfx::Display>(1, display_); gfx 129 ui/aura/test/test_screen.cc gfx::Display TestScreen::GetDisplayNearestWindow( gfx 130 ui/aura/test/test_screen.cc gfx::NativeWindow window) const { gfx 134 ui/aura/test/test_screen.cc gfx::Display TestScreen::GetDisplayNearestPoint(const gfx::Point& point) const { gfx 138 ui/aura/test/test_screen.cc gfx::Display TestScreen::GetDisplayMatching(const gfx::Rect& match_rect) const { gfx 142 ui/aura/test/test_screen.cc gfx::Display TestScreen::GetPrimaryDisplay() const { gfx 146 ui/aura/test/test_screen.cc void TestScreen::AddObserver(gfx::DisplayObserver* observer) { gfx 149 ui/aura/test/test_screen.cc void TestScreen::RemoveObserver(gfx::DisplayObserver* observer) { gfx 152 ui/aura/test/test_screen.cc TestScreen::TestScreen(const gfx::Rect& screen_bounds) gfx 13 ui/aura/test/test_screen.h namespace gfx { gfx 23 ui/aura/test/test_screen.h class TestScreen : public gfx::Screen, gfx 34 ui/aura/test/test_screen.h void SetDisplayRotation(gfx::Display::Rotation rotation); gfx 38 ui/aura/test/test_screen.h gfx::Transform GetRotationTransform() const; gfx 39 ui/aura/test/test_screen.h gfx::Transform GetUIScaleTransform() const; gfx 43 ui/aura/test/test_screen.h const gfx::Rect& old_bounds, gfx 44 ui/aura/test/test_screen.h const gfx::Rect& new_bounds) OVERRIDE; gfx 49 ui/aura/test/test_screen.h virtual gfx::Point GetCursorScreenPoint() OVERRIDE; gfx 50 ui/aura/test/test_screen.h virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; gfx 51 ui/aura/test/test_screen.h virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 54 ui/aura/test/test_screen.h virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE; gfx 55 ui/aura/test/test_screen.h virtual gfx::Display GetDisplayNearestWindow( gfx 56 ui/aura/test/test_screen.h gfx::NativeView view) const OVERRIDE; gfx 57 ui/aura/test/test_screen.h virtual gfx::Display GetDisplayNearestPoint( gfx 58 ui/aura/test/test_screen.h const gfx::Point& point) const OVERRIDE; gfx 59 ui/aura/test/test_screen.h virtual gfx::Display GetDisplayMatching( gfx 60 ui/aura/test/test_screen.h const gfx::Rect& match_rect) const OVERRIDE; gfx 61 ui/aura/test/test_screen.h virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; gfx 62 ui/aura/test/test_screen.h virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 63 ui/aura/test/test_screen.h virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 66 ui/aura/test/test_screen.h explicit TestScreen(const gfx::Rect& screen_bounds); gfx 70 ui/aura/test/test_screen.h gfx::Display display_; gfx 41 ui/aura/test/test_window_delegate.cc gfx::Size TestWindowDelegate::GetMinimumSize() const { gfx 45 ui/aura/test/test_window_delegate.cc gfx::Size TestWindowDelegate::GetMaximumSize() const { gfx 49 ui/aura/test/test_window_delegate.cc void TestWindowDelegate::OnBoundsChanged(const gfx::Rect& old_bounds, gfx 50 ui/aura/test/test_window_delegate.cc const gfx::Rect& new_bounds) { gfx 53 ui/aura/test/test_window_delegate.cc gfx::NativeCursor TestWindowDelegate::GetCursor(const gfx::Point& point) { gfx 54 ui/aura/test/test_window_delegate.cc return gfx::kNullCursor; gfx 57 ui/aura/test/test_window_delegate.cc int TestWindowDelegate::GetNonClientComponent(const gfx::Point& point) const { gfx 63 ui/aura/test/test_window_delegate.cc const gfx::Point& location) { gfx 74 ui/aura/test/test_window_delegate.cc void TestWindowDelegate::OnPaint(gfx::Canvas* canvas) { gfx 96 ui/aura/test/test_window_delegate.cc void TestWindowDelegate::GetHitTestMask(gfx::Path* mask) const { gfx 119 ui/aura/test/test_window_delegate.cc void ColorTestWindowDelegate::OnPaint(gfx::Canvas* canvas) { gfx 126 ui/aura/test/test_window_delegate.cc MaskedWindowDelegate::MaskedWindowDelegate(const gfx::Rect mask_rect) gfx 134 ui/aura/test/test_window_delegate.cc void MaskedWindowDelegate::GetHitTestMask(gfx::Path* mask) const { gfx 33 ui/aura/test/test_window_delegate.h void set_minimum_size(const gfx::Size& minimum_size) { gfx 37 ui/aura/test/test_window_delegate.h void set_maximum_size(const gfx::Size& maximum_size) { gfx 45 ui/aura/test/test_window_delegate.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 46 ui/aura/test/test_window_delegate.h virtual gfx::Size GetMaximumSize() const OVERRIDE; gfx 47 ui/aura/test/test_window_delegate.h virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 48 ui/aura/test/test_window_delegate.h const gfx::Rect& new_bounds) OVERRIDE; gfx 49 ui/aura/test/test_window_delegate.h virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; gfx 50 ui/aura/test/test_window_delegate.h virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; gfx 53 ui/aura/test/test_window_delegate.h const gfx::Point& location) OVERRIDE; gfx 56 ui/aura/test/test_window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 62 ui/aura/test/test_window_delegate.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 67 ui/aura/test/test_window_delegate.h gfx::Size minimum_size_; gfx 68 ui/aura/test/test_window_delegate.h gfx::Size maximum_size_; gfx 86 ui/aura/test/test_window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 98 ui/aura/test/test_window_delegate.h explicit MaskedWindowDelegate(const gfx::Rect mask_rect); gfx 102 ui/aura/test/test_window_delegate.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 105 ui/aura/test/test_window_delegate.h gfx::Rect mask_rect_; gfx 23 ui/aura/test/test_window_tree_client.cc const gfx::Rect& bounds) { gfx 24 ui/aura/test/test_window_tree_client.h const gfx::Rect& bounds) OVERRIDE; gfx 17 ui/aura/test/test_windows.cc return CreateTestWindowWithDelegate(NULL, id, gfx::Rect(), parent); gfx 20 ui/aura/test/test_windows.cc Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { gfx 26 ui/aura/test/test_windows.cc const gfx::Rect& bounds, gfx 34 ui/aura/test/test_windows.cc const gfx::Rect& bounds, gfx 43 ui/aura/test/test_windows.cc const gfx::Rect& bounds, gfx 20 ui/aura/test/test_windows.h Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent); gfx 23 ui/aura/test/test_windows.h const gfx::Rect& bounds, gfx 27 ui/aura/test/test_windows.h const gfx::Rect& bounds, gfx 32 ui/aura/test/test_windows.h const gfx::Rect& bounds, gfx 33 ui/aura/test/ui_controls_factory_aurawin.cc virtual bool SendKeyPress(gfx::NativeWindow native_window, gfx 45 ui/aura/test/ui_controls_factory_aurawin.cc virtual bool SendKeyPressNotifyWhenDone(gfx::NativeWindow native_window, gfx 72 ui/aura/test/ui_controls_factory_aurax11.cc return XInternAtom(gfx::GetXDisplay(), "marker_event", False); gfx 86 ui/aura/test/ui_controls_factory_aurax11.cc virtual bool SendKeyPress(gfx::NativeWindow window, gfx 97 ui/aura/test/ui_controls_factory_aurax11.cc gfx::NativeWindow window, gfx 114 ui/aura/test/ui_controls_factory_aurax11.cc XKeysymToKeycode(gfx::GetXDisplay(), gfx 139 ui/aura/test/ui_controls_factory_aurax11.cc gfx::Point root_location(screen_x, screen_y); gfx 146 ui/aura/test/ui_controls_factory_aurax11.cc gfx::Point root_current_location; gfx 177 ui/aura/test/ui_controls_factory_aurax11.cc gfx::Point mouse_loc = aura::Env::GetInstance()->last_mouse_location(); gfx 239 ui/aura/test/ui_controls_factory_aurax11.cc XKeysymToKeycode(gfx::GetXDisplay(), keysym); gfx 249 ui/aura/test/ui_controls_factory_aurax11.cc XKeysymToKeycode(gfx::GetXDisplay(), keysym); gfx 185 ui/aura/window.cc const gfx::Display& display = gfx 186 ui/aura/window.cc gfx::Screen::GetScreenFor(window_)->GetDisplayNearestWindow( gfx 367 ui/aura/window.cc gfx::Rect Window::GetBoundsInRootWindow() const { gfx 373 ui/aura/window.cc gfx::Point origin = bounds().origin(); gfx 375 ui/aura/window.cc return gfx::Rect(origin, bounds().size()); gfx 378 ui/aura/window.cc gfx::Rect Window::GetBoundsInScreen() const { gfx 379 ui/aura/window.cc gfx::Rect bounds(GetBoundsInRootWindow()); gfx 385 ui/aura/window.cc gfx::Point origin = bounds.origin(); gfx 393 ui/aura/window.cc void Window::SetTransform(const gfx::Transform& transform) { gfx 427 ui/aura/window.cc void Window::SetBounds(const gfx::Rect& new_bounds) { gfx 434 ui/aura/window.cc void Window::SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen, gfx 435 ui/aura/window.cc const gfx::Display& dst_display) { gfx 438 ui/aura/window.cc gfx::Point origin = new_bounds_in_screen.origin(); gfx 447 ui/aura/window.cc gfx::Rect Window::GetTargetBounds() const { gfx 457 ui/aura/window.cc gfx::Vector2d offset; gfx 463 ui/aura/window.cc gfx::Rect layer_target_bounds = layer()->GetTargetBounds(); gfx 468 ui/aura/window.cc void Window::SchedulePaintInRect(const gfx::Rect& rect) { gfx 471 ui/aura/window.cc gfx::Rect parent_rect(bounds().size()); gfx 518 ui/aura/window.cc gfx::Vector2d offset; gfx 584 ui/aura/window.cc gfx::Point* point) { gfx 601 ui/aura/window.cc gfx::Vector2d offset_to_layer; gfx 606 ui/aura/window.cc gfx::Vector2d offset_to_layer; gfx 619 ui/aura/window.cc gfx::Rect* rect) { gfx 621 ui/aura/window.cc gfx::Point origin = rect->origin(); gfx 626 ui/aura/window.cc void Window::MoveCursorTo(const gfx::Point& point_in_window) { gfx 629 ui/aura/window.cc gfx::Point point_in_root(point_in_window); gfx 634 ui/aura/window.cc gfx::NativeCursor Window::GetCursor(const gfx::Point& point) const { gfx 635 ui/aura/window.cc return delegate_ ? delegate_->GetCursor(point) : gfx::kNullCursor; gfx 658 ui/aura/window.cc bool Window::ContainsPointInRoot(const gfx::Point& point_in_root) const { gfx 662 ui/aura/window.cc gfx::Point local_point(point_in_root); gfx 664 ui/aura/window.cc return gfx::Rect(GetTargetBounds().size()).Contains(local_point); gfx 667 ui/aura/window.cc bool Window::ContainsPoint(const gfx::Point& local_point) const { gfx 668 ui/aura/window.cc return gfx::Rect(bounds().size()).Contains(local_point); gfx 671 ui/aura/window.cc Window* Window::GetEventHandlerForPoint(const gfx::Point& local_point) { gfx 675 ui/aura/window.cc Window* Window::GetTopWindowContainingPoint(const gfx::Point& local_point) { gfx 858 ui/aura/window.cc bool Window::HitTest(const gfx::Point& local_point) { gfx 859 ui/aura/window.cc gfx::Rect local_bounds(bounds().size()); gfx 863 ui/aura/window.cc gfx::Path mask; gfx 874 ui/aura/window.cc void Window::SetBoundsInternal(const gfx::Rect& new_bounds) { gfx 875 ui/aura/window.cc gfx::Rect actual_new_bounds(new_bounds); gfx 879 ui/aura/window.cc const gfx::Size& min_size = delegate_->GetMinimumSize(); gfx 886 ui/aura/window.cc gfx::Rect old_bounds = GetTargetBounds(); gfx 891 ui/aura/window.cc const gfx::Vector2d origin_delta = new_bounds.OffsetFromOrigin() - gfx 897 ui/aura/window.cc gfx::Vector2d offset; gfx 939 ui/aura/window.cc SchedulePaintInRect(gfx::Rect(0, 0, bounds().width(), bounds().height())); gfx 942 ui/aura/window.cc void Window::Paint(gfx::Canvas* canvas) { gfx 948 ui/aura/window.cc void Window::PaintLayerlessChildren(gfx::Canvas* canvas) { gfx 952 ui/aura/window.cc gfx::ScopedCanvas scoped_canvas(canvas); gfx 962 ui/aura/window.cc Window* Window::GetWindowForPoint(const gfx::Point& local_point, gfx 976 ui/aura/window.cc gfx::Rect inset_local_bounds(gfx::Point(), bounds().size()); gfx 1005 ui/aura/window.cc gfx::Point point_in_child_coords(local_point); gfx 1026 ui/aura/window.cc gfx::Vector2d offset; gfx 1039 ui/aura/window.cc const gfx::Vector2d& offset) { gfx 1041 ui/aura/window.cc const gfx::Vector2d new_offset = offset + bounds().OffsetFromOrigin(); gfx 1053 ui/aura/window.cc const gfx::Rect real_bounds(bounds_); gfx 1054 ui/aura/window.cc gfx::Rect layer_bounds(layer()->bounds()); gfx 1064 ui/aura/window.cc const gfx::Vector2d& offset) { gfx 1072 ui/aura/window.cc const gfx::Rect real_bounds(bounds()); gfx 1074 ui/aura/window.cc gfx::Rect layer_bounds(layer()->bounds().size()); gfx 1081 ui/aura/window.cc void Window::OffsetLayerBounds(const gfx::Vector2d& offset) { gfx 1086 ui/aura/window.cc gfx::Rect layer_bounds(layer()->bounds()); gfx 1315 ui/aura/window.cc void Window::OnWindowBoundsChanged(const gfx::Rect& old_bounds) { gfx 1319 ui/aura/window.cc gfx::Vector2d offset; gfx 1349 ui/aura/window.cc void Window::OnPaintLayer(gfx::Canvas* canvas) { gfx 1433 ui/aura/window.cc const Window* Window::GetAncestorWithLayer(gfx::Vector2d* offset) const { gfx 1441 ui/aura/window.cc *offset = gfx::Vector2d(); gfx 32 ui/aura/window.h namespace gfx { gfx 110 ui/aura/window.h const gfx::Rect& bounds() const { return bounds_; } gfx 142 ui/aura/window.h gfx::Rect GetBoundsInRootWindow() const; gfx 148 ui/aura/window.h gfx::Rect GetBoundsInScreen() const; gfx 150 ui/aura/window.h virtual void SetTransform(const gfx::Transform& transform); gfx 164 ui/aura/window.h void SetBounds(const gfx::Rect& new_bounds); gfx 168 ui/aura/window.h void SetBoundsInScreen(const gfx::Rect& new_bounds_in_screen_coords, gfx 169 ui/aura/window.h const gfx::Display& dst_display); gfx 173 ui/aura/window.h gfx::Rect GetTargetBounds() const; gfx 176 ui/aura/window.h void SchedulePaintInRect(const gfx::Rect& rect); gfx 212 ui/aura/window.h gfx::Point* point); gfx 215 ui/aura/window.h gfx::Rect* rect); gfx 218 ui/aura/window.h virtual void MoveCursorTo(const gfx::Point& point_in_window); gfx 221 ui/aura/window.h gfx::NativeCursor GetCursor(const gfx::Point& point) const; gfx 240 ui/aura/window.h void set_hit_test_bounds_override_inner(const gfx::Insets& insets) { gfx 243 ui/aura/window.h gfx::Insets hit_test_bounds_override_inner() const { gfx 250 ui/aura/window.h bool ContainsPointInRoot(const gfx::Point& point_in_root) const; gfx 254 ui/aura/window.h bool ContainsPoint(const gfx::Point& local_point) const; gfx 258 ui/aura/window.h Window* GetEventHandlerForPoint(const gfx::Point& local_point); gfx 261 ui/aura/window.h Window* GetTopWindowContainingPoint(const gfx::Point& local_point); gfx 355 ui/aura/window.h bool HitTest(const gfx::Point& local_point); gfx 358 ui/aura/window.h void SetBoundsInternal(const gfx::Rect& new_bounds); gfx 369 ui/aura/window.h void Paint(gfx::Canvas* canvas); gfx 372 ui/aura/window.h void PaintLayerlessChildren(gfx::Canvas* canvas); gfx 379 ui/aura/window.h Window* GetWindowForPoint(const gfx::Point& local_point, gfx 392 ui/aura/window.h const gfx::Vector2d& offset); gfx 398 ui/aura/window.h void ReparentLayers(ui::Layer* parent, const gfx::Vector2d& offset); gfx 402 ui/aura/window.h void OffsetLayerBounds(const gfx::Vector2d& offset); gfx 457 ui/aura/window.h void OnWindowBoundsChanged(const gfx::Rect& old_bounds); gfx 460 ui/aura/window.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; gfx 480 ui/aura/window.h Window* GetAncestorWithLayer(gfx::Vector2d* offset) { gfx 484 ui/aura/window.h const Window* GetAncestorWithLayer(gfx::Vector2d* offset) const; gfx 490 ui/aura/window.h gfx::Rect bounds_; gfx 531 ui/aura/window.h gfx::Insets hit_test_bounds_override_inner_; gfx 15 ui/aura/window_delegate.h namespace gfx { gfx 38 ui/aura/window_delegate.h virtual gfx::Size GetMinimumSize() const = 0; gfx 41 ui/aura/window_delegate.h virtual gfx::Size GetMaximumSize() const = 0; gfx 44 ui/aura/window_delegate.h virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 45 ui/aura/window_delegate.h const gfx::Rect& new_bounds) = 0; gfx 49 ui/aura/window_delegate.h virtual gfx::NativeCursor GetCursor(const gfx::Point& point) = 0; gfx 53 ui/aura/window_delegate.h virtual int GetNonClientComponent(const gfx::Point& point) const = 0; gfx 59 ui/aura/window_delegate.h const gfx::Point& location) = 0; gfx 68 ui/aura/window_delegate.h virtual void OnPaint(gfx::Canvas* canvas) = 0; gfx 101 ui/aura/window_delegate.h virtual void GetHitTestMask(gfx::Path* mask) const = 0; gfx 36 ui/aura/window_event_dispatcher.cc bool IsNonClientLocation(Window* target, const gfx::Point& location) { gfx 48 ui/aura/window_event_dispatcher.cc const gfx::Point& location_in_root) { gfx 52 ui/aura/window_event_dispatcher.cc gfx::Point location_in_screen = location_in_root; gfx 153 ui/aura/window_event_dispatcher.cc void WindowEventDispatcher::DispatchMouseExitAtPoint(const gfx::Point& point) { gfx 197 ui/aura/window_event_dispatcher.cc gfx::Point WindowEventDispatcher::GetLastMouseLocationInRoot() const { gfx 198 ui/aura/window_event_dispatcher.cc gfx::Point location = Env::GetInstance()->last_mouse_location(); gfx 212 ui/aura/window_event_dispatcher.cc const gfx::Point& root_location) { gfx 243 ui/aura/window_event_dispatcher.cc gfx::Point last_mouse_location = GetLastMouseLocationInRoot(); gfx 365 ui/aura/window_event_dispatcher.cc ui::MouseEvent event(ui::ET_MOUSE_CAPTURE_CHANGED, gfx::Point(), gfx 366 ui/aura/window_event_dispatcher.cc gfx::Point(), 0, 0); gfx 574 ui/aura/window_event_dispatcher.cc const gfx::Rect& old_bounds, gfx 575 ui/aura/window_event_dispatcher.cc const gfx::Rect& new_bounds) { gfx 588 ui/aura/window_event_dispatcher.cc gfx::Point point; gfx 598 ui/aura/window_event_dispatcher.cc gfx::Rect old_bounds_in_root = old_bounds, new_bounds_in_root = new_bounds; gfx 603 ui/aura/window_event_dispatcher.cc gfx::Point last_mouse_location = GetLastMouseLocationInRoot(); gfx 696 ui/aura/window_event_dispatcher.cc gfx::Point root_mouse_location = GetLastMouseLocationInRoot(); gfx 699 ui/aura/window_event_dispatcher.cc gfx::Point host_mouse_location = root_mouse_location; gfx 30 ui/aura/window_event_dispatcher.h namespace gfx { gfx 82 ui/aura/window_event_dispatcher.h void DispatchMouseExitAtPoint(const gfx::Point& point); gfx 108 ui/aura/window_event_dispatcher.h gfx::Point GetLastMouseLocationInRoot() const; gfx 111 ui/aura/window_event_dispatcher.h void OnCursorMovedToRootLocation(const gfx::Point& root_location); gfx 200 ui/aura/window_event_dispatcher.h const gfx::Rect& old_bounds, gfx 201 ui/aura/window_event_dispatcher.h const gfx::Rect& new_bounds) OVERRIDE; gfx 50 ui/aura/window_event_dispatcher_unittest.cc gfx::Point non_client_location() const { return non_client_location_; } gfx 52 ui/aura/window_event_dispatcher_unittest.cc gfx::Point mouse_event_location() const { return mouse_event_location_; } gfx 55 ui/aura/window_event_dispatcher_unittest.cc virtual int GetNonClientComponent(const gfx::Point& location) const OVERRIDE { gfx 70 ui/aura/window_event_dispatcher_unittest.cc gfx::Point non_client_location_; gfx 72 ui/aura/window_event_dispatcher_unittest.cc gfx::Point mouse_event_location_; gfx 109 ui/aura/window_event_dispatcher_unittest.cc gfx::Rect bounds1(100, 200, kWindowWidth, kWindowHeight); gfx 110 ui/aura/window_event_dispatcher_unittest.cc gfx::Rect bounds2(300, 400, kWindowWidth, kWindowHeight); gfx 117 ui/aura/window_event_dispatcher_unittest.cc gfx::Point point(101, 201); gfx 127 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(gfx::Point(1, 1), delegate1->non_client_location()); gfx 132 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(gfx::Point(1, 1), delegate1->mouse_event_location()); gfx 140 ui/aura/window_event_dispatcher_unittest.cc gfx::Point point(10, 10); gfx 154 ui/aura/window_event_dispatcher_unittest.cc gfx::Point location; gfx 210 ui/aura/window_event_dispatcher_unittest.cc gfx::Rect(50, 50, 100, 100), root_window())); gfx 212 ui/aura/window_event_dispatcher_unittest.cc gfx::Point origin(100, 100); gfx 297 ui/aura/window_event_dispatcher_unittest.cc Window* w1 = test::CreateTestWindowWithBounds(gfx::Rect(10, 10, 20, 20), gfx 300 ui/aura/window_event_dispatcher_unittest.cc Window* w2 = test::CreateTestWindowWithBounds(gfx::Rect(30, 30, 20, 20), gfx 304 ui/aura/window_event_dispatcher_unittest.cc test::CreateTestWindowWithDelegate(&d, 3, gfx::Rect(30, 30, 20, 20), gfx 380 ui/aura/window_event_dispatcher_unittest.cc gfx::Point position = root_window()->bounds().origin(); gfx 402 ui/aura/window_event_dispatcher_unittest.cc w1->SetBounds(gfx::Rect(20, 20, 40, 40)); gfx 406 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), gfx 417 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(25, 30), gfx 433 ui/aura/window_event_dispatcher_unittest.cc typedef std::vector<gfx::Point> EventLocations; gfx 442 ui/aura/window_event_dispatcher_unittest.cc gfx::Point mouse_location(int i) const { return mouse_locations_[i]; } gfx 589 ui/aura/window_event_dispatcher_unittest.cc window->SetBounds(gfx::Rect(20, 20, 40, 30)); gfx 594 ui/aura/window_event_dispatcher_unittest.cc ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), gfx 609 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(0, 0, 100, 100), root_window())); gfx 611 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse_move_event(ui::ET_MOUSE_MOVED, gfx::Point(0, 0), gfx 612 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(0, 0), 0, 0); gfx 620 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse_dragged_event(ui::ET_MOUSE_DRAGGED, gfx::Point(0, 0), gfx 621 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(0, 0), 0, 0); gfx 627 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse_pressed_event(ui::ET_MOUSE_PRESSED, gfx::Point(0, 0), gfx 628 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(0, 0), 0, 0); gfx 635 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse_dragged_event2(ui::ET_MOUSE_DRAGGED, gfx::Point(10, 10), gfx 636 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), 0, 0); gfx 679 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse_dragged_event3(ui::ET_MOUSE_DRAGGED, gfx::Point(28, 28), gfx 680 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(28, 28), 0, 0); gfx 684 ui/aura/window_event_dispatcher_unittest.cc window->SetBounds(gfx::Rect(15, 15, 80, 80)); gfx 691 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(gfx::Point(13, 13), filter->mouse_location(0)); gfx 701 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(50, 50, 100, 100), root_window())); gfx 703 ui/aura/window_event_dispatcher_unittest.cc const gfx::Point touch_location(60, 60); gfx 785 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(50, 50, 100, 100), root_window())); gfx 790 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(60, 60), gfx::Point(10, 60), gfx 802 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(gfx::Point(-40, 10).ToString(), gfx 804 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(gfx::Point(-40, 10).ToString(), gfx 816 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1234, gfx::Rect(5, 5, 100, 100), root_window())); gfx 823 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, gfx::Point(10, 10), gfx 824 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), 0, 0); gfx 830 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse2(ui::ET_MOUSE_MOVED, gfx::Point(10, 10), gfx 831 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), ui::EF_IS_SYNTHESIZED, 0); gfx 849 ui/aura/window_event_dispatcher_unittest.cc gfx::Point window_origin(7, 18); gfx 851 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1234, gfx::Rect(window_origin, gfx::Size(100, 100)), gfx 856 ui/aura/window_event_dispatcher_unittest.cc gfx::Point mouse_location(gfx::Point(15, 25)); gfx 873 ui/aura/window_event_dispatcher_unittest.cc gfx::Point translated_point(translated_x, translated_y); gfx 885 ui/aura/window_event_dispatcher_unittest.cc gfx::Point window_origin(7, 18); gfx 887 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1234, gfx::Rect(window_origin, gfx::Size(100, 100)), gfx 892 ui/aura/window_event_dispatcher_unittest.cc gfx::Point mouse_location(gfx::Point(15, 25)); gfx 903 ui/aura/window_event_dispatcher_unittest.cc gfx::Point mouse_exit_location(gfx::Point(150, 150)); gfx 904 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouse2(ui::ET_MOUSE_EXITED, gfx::Point(150, 150), gfx 905 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(150, 150), ui::EF_IS_SYNTHESIZED, 0); gfx 917 ui/aura/window_event_dispatcher_unittest.cc gfx::Point translated_point(translated_x, translated_y); gfx 1061 ui/aura/window_event_dispatcher_unittest.cc generator.GestureTapAt(gfx::Point(40, 40)); gfx 1070 ui/aura/window_event_dispatcher_unittest.cc const gfx::Point tap_location) gfx 1098 ui/aura/window_event_dispatcher_unittest.cc const gfx::Point tap_location_; gfx 1107 ui/aura/window_event_dispatcher_unittest.cc NestedGestureDelegate d1(NULL, gfx::Point()); gfx 1109 ui/aura/window_event_dispatcher_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1114 ui/aura/window_event_dispatcher_unittest.cc w2->SetBounds(gfx::Rect(100, 0, 100, 100)); gfx 1132 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(0, 0, 100, 100), root_window())); gfx 1135 ui/aura/window_event_dispatcher_unittest.cc gfx::Point point(10, 10); gfx 1225 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(0, 0, 100, 100), root_window())); gfx 1228 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(0, 0, 50, 50), root_window())); gfx 1237 ui/aura/window_event_dispatcher_unittest.cc repost_generator.GestureTapAt(gfx::Point(40, 40)); gfx 1242 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(80, 80), gfx 1243 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(100, 100), gfx 1297 ui/aura/window_event_dispatcher_unittest.cc w1->SetBounds(gfx::Rect(20, 20, 60, 60)); gfx 1309 ui/aura/window_event_dispatcher_unittest.cc w2->SetBounds(gfx::Rect(30, 30, 40, 40)); gfx 1363 ui/aura/window_event_dispatcher_unittest.cc WindowTreeHost::Create(gfx::Rect(0, 0, 100, 100))); gfx 1390 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), gfx::Point(10, 10), gfx 1413 ui/aura/window_event_dispatcher_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 40, 40)); gfx 1415 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), gfx::Point(10, 10), gfx 1419 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), gfx::Point(10, 10), 0, 0); gfx 1471 ui/aura/window_event_dispatcher_unittest.cc WindowTreeHost* h2 = WindowTreeHost::Create(gfx::Rect(0, 0, 100, 100)); gfx 1476 ui/aura/window_event_dispatcher_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 40, 40)); gfx 1478 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), gfx::Point(10, 10), gfx 1493 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(0, 0, 100, 100), root_window())); gfx 1495 ui/aura/window_event_dispatcher_unittest.cc gfx::Point position1 = root_window()->bounds().origin(); gfx 1514 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(0, 0, 100, 100), root_window())); gfx 1516 ui/aura/window_event_dispatcher_unittest.cc gfx::Point position1 = root_window()->bounds().origin(); gfx 1517 ui/aura/window_event_dispatcher_unittest.cc gfx::Point position2 = root_window()->bounds().CenterPoint(); gfx 1544 ui/aura/window_event_dispatcher_unittest.cc window1->SetBounds(gfx::Rect(0, 0, 40, 40)); gfx 1547 ui/aura/window_event_dispatcher_unittest.cc window2->SetBounds(gfx::Rect(40, 0, 40, 40)); gfx 1554 ui/aura/window_event_dispatcher_unittest.cc gfx::Point position = window1->bounds().origin(); gfx 1558 ui/aura/window_event_dispatcher_unittest.cc gfx::Point position2 = window1->bounds().CenterPoint(); gfx 1583 ui/aura/window_event_dispatcher_unittest.cc this, -1234, gfx::Rect(20, 20, 20, 20), root_window)); gfx 1657 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), gfx 1658 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(10, 10), gfx 1732 ui/aura/window_event_dispatcher_unittest.cc 1234, gfx::Rect(20, 20, 100, 100), root_window())); gfx 1742 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(30, 30), gfx::Point(30, 30), gfx 1751 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(50, 50), gfx::Point(50, 50), gfx 1771 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(50, 50, 100, 100), root_window())); gfx 1776 ui/aura/window_event_dispatcher_unittest.cc gfx::Point(120, 120), gfx::Point(20, 120), gfx 1788 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(gfx::Point(-40, 10).ToString(), gfx 1790 ui/aura/window_event_dispatcher_unittest.cc EXPECT_EQ(gfx::Point(-40, 10).ToString(), gfx 1820 ui/aura/window_event_dispatcher_unittest.cc ui::MouseEvent mouseev(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), gfx 1834 ui/aura/window_event_dispatcher_unittest.cc &delegate, 1, gfx::Rect(50, 50, 100, 100), root_window())); gfx 1868 ui/aura/window_event_dispatcher_unittest.cc gfx::Rect(20, 30, 100, 50), NULL)); gfx 1939 ui/aura/window_event_dispatcher_unittest.cc WindowTreeHost::Create(gfx::Rect(20, 30, 100, 50))); gfx 1946 ui/aura/window_event_dispatcher_unittest.cc gfx::Rect(20, 10, 10, 20), root_window())); gfx 1948 ui/aura/window_event_dispatcher_unittest.cc gfx::Rect(40, 10, 50, 20), root_window())); gfx 1996 ui/aura/window_event_dispatcher_unittest.cc gfx::Rect(20, 10, 10, 20), root_window())); gfx 2000 ui/aura/window_event_dispatcher_unittest.cc WindowTreeHost::Create(gfx::Rect(20, 30, 100, 50))); gfx 11 ui/aura/window_observer.h namespace gfx { gfx 75 ui/aura/window_observer.h const gfx::Rect& old_bounds, gfx 76 ui/aura/window_observer.h const gfx::Rect& new_bounds) {} gfx 88 ui/aura/window_observer.h const gfx::Rect& region) {} gfx 41 ui/aura/window_targeter.cc gfx::Point point = event.location(); gfx 44 ui/aura/window_targeter.cc return gfx::Rect(window->bounds().size()).Contains(point); gfx 43 ui/aura/window_targeter_unittest.cc gfx::RectF GetEffectiveVisibleBoundsInRootWindow(Window* window) { gfx 44 ui/aura/window_targeter_unittest.cc gfx::RectF bounds = gfx::Rect(window->bounds().size()); gfx 48 ui/aura/window_targeter_unittest.cc gfx::Transform transform; gfx 50 ui/aura/window_targeter_unittest.cc return gfx::RectF(); gfx 61 ui/aura/window_targeter_unittest.cc window->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 62 ui/aura/window_targeter_unittest.cc one->SetBounds(gfx::Rect(0, 0, 500, 100)); gfx 63 ui/aura/window_targeter_unittest.cc two->SetBounds(gfx::Rect(501, 0, 500, 1000)); gfx 71 ui/aura/window_targeter_unittest.cc gfx::Point(20, 20), gfx 72 ui/aura/window_targeter_unittest.cc gfx::Point(20, 20), gfx 90 ui/aura/window_targeter_unittest.cc window->SetBounds(gfx::Rect(30, 30, 100, 100)); gfx 91 ui/aura/window_targeter_unittest.cc child->SetBounds(gfx::Rect(20, 20, 50, 50)); gfx 97 ui/aura/window_targeter_unittest.cc gfx::Point event_location(60, 60); gfx 127 ui/aura/window_targeter_unittest.cc const gfx::Rect window_bounds(100, 20, 400, 80); gfx 132 ui/aura/window_targeter_unittest.cc gfx::Point event_location(490, 50); gfx 141 ui/aura/window_targeter_unittest.cc gfx::Transform transform; gfx 144 ui/aura/window_targeter_unittest.cc EXPECT_EQ(gfx::RectF(100, 20, 200, 40).ToString(), gfx 152 ui/aura/window_targeter_unittest.cc transform = gfx::Transform(); gfx 156 ui/aura/window_targeter_unittest.cc EXPECT_EQ(gfx::RectF(300, 30, 200, 40).ToString(), gfx 33 ui/aura/window_tree_host.cc gfx::Display display = gfx::Screen::GetScreenFor(window)-> gfx 42 ui/aura/window_tree_host.cc const gfx::Transform& transform) gfx 48 ui/aura/window_tree_host.cc virtual gfx::Transform GetTransform() const OVERRIDE { gfx 52 ui/aura/window_tree_host.cc virtual gfx::Transform GetInverseTransform() const OVERRIDE { gfx 53 ui/aura/window_tree_host.cc gfx::Transform invert; gfx 59 ui/aura/window_tree_host.cc virtual gfx::Rect GetRootWindowBounds( gfx 60 ui/aura/window_tree_host.cc const gfx::Size& host_size) const OVERRIDE { gfx 61 ui/aura/window_tree_host.cc gfx::Rect bounds(host_size); gfx 62 ui/aura/window_tree_host.cc gfx::RectF new_bounds(ui::ConvertRectToDIP(root_window_->layer(), bounds)); gfx 64 ui/aura/window_tree_host.cc return gfx::Rect(gfx::ToFlooredSize(new_bounds.size())); gfx 67 ui/aura/window_tree_host.cc virtual gfx::Insets GetHostInsets() const OVERRIDE { gfx 68 ui/aura/window_tree_host.cc return gfx::Insets(); gfx 75 ui/aura/window_tree_host.cc const gfx::Transform transform_; gfx 89 ui/aura/window_tree_host.cc WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { gfx 100 ui/aura/window_tree_host.cc gfx::AcceleratedWidget widget) { gfx 117 ui/aura/window_tree_host.cc new SimpleRootWindowTransformer(window(), gfx::Transform())); gfx 143 ui/aura/window_tree_host.cc gfx::Transform WindowTreeHost::GetRootTransform() const { gfx 145 ui/aura/window_tree_host.cc gfx::Transform transform; gfx 151 ui/aura/window_tree_host.cc void WindowTreeHost::SetTransform(const gfx::Transform& transform) { gfx 157 ui/aura/window_tree_host.cc gfx::Transform WindowTreeHost::GetInverseRootTransform() const { gfx 159 ui/aura/window_tree_host.cc gfx::Transform transform; gfx 164 ui/aura/window_tree_host.cc void WindowTreeHost::UpdateRootWindowSize(const gfx::Size& host_size) { gfx 168 ui/aura/window_tree_host.cc void WindowTreeHost::ConvertPointToNativeScreen(gfx::Point* point) const { gfx 170 ui/aura/window_tree_host.cc gfx::Point location = GetLocationOnNativeScreen(); gfx 174 ui/aura/window_tree_host.cc void WindowTreeHost::ConvertPointFromNativeScreen(gfx::Point* point) const { gfx 175 ui/aura/window_tree_host.cc gfx::Point location = GetLocationOnNativeScreen(); gfx 180 ui/aura/window_tree_host.cc void WindowTreeHost::ConvertPointToHost(gfx::Point* point) const { gfx 181 ui/aura/window_tree_host.cc gfx::Point3F point_3f(*point); gfx 183 ui/aura/window_tree_host.cc *point = gfx::ToFlooredPoint(point_3f.AsPointF()); gfx 186 ui/aura/window_tree_host.cc void WindowTreeHost::ConvertPointFromHost(gfx::Point* point) const { gfx 187 ui/aura/window_tree_host.cc gfx::Point3F point_3f(*point); gfx 189 ui/aura/window_tree_host.cc *point = gfx::ToFlooredPoint(point_3f.AsPointF()); gfx 192 ui/aura/window_tree_host.cc void WindowTreeHost::SetCursor(gfx::NativeCursor cursor) { gfx 212 ui/aura/window_tree_host.cc void WindowTreeHost::MoveCursorTo(const gfx::Point& location_in_dip) { gfx 213 ui/aura/window_tree_host.cc gfx::Point host_location(location_in_dip); gfx 218 ui/aura/window_tree_host.cc void WindowTreeHost::MoveCursorToHostLocation(const gfx::Point& host_location) { gfx 219 ui/aura/window_tree_host.cc gfx::Point root_location(host_location); gfx 253 ui/aura/window_tree_host.cc gfx::AcceleratedWidget accelerated_widget) { gfx 271 ui/aura/window_tree_host.cc void WindowTreeHost::OnHostMoved(const gfx::Point& new_location) { gfx 279 ui/aura/window_tree_host.cc void WindowTreeHost::OnHostResized(const gfx::Size& new_size) { gfx 285 ui/aura/window_tree_host.cc gfx::Size layer_size = GetBounds().size(); gfx 310 ui/aura/window_tree_host.cc void WindowTreeHost::MoveCursorToInternal(const gfx::Point& root_location, gfx 311 ui/aura/window_tree_host.cc const gfx::Point& host_location) { gfx 315 ui/aura/window_tree_host.cc const gfx::Display& display = gfx 316 ui/aura/window_tree_host.cc gfx::Screen::GetScreenFor(window())->GetDisplayNearestWindow(window()); gfx 16 ui/aura/window_tree_host.h namespace gfx { gfx 43 ui/aura/window_tree_host.h static WindowTreeHost* Create(const gfx::Rect& bounds); gfx 47 ui/aura/window_tree_host.h static WindowTreeHost* GetForAcceleratedWidget(gfx::AcceleratedWidget widget); gfx 70 ui/aura/window_tree_host.h gfx::Transform GetRootTransform() const; gfx 72 ui/aura/window_tree_host.h void SetTransform(const gfx::Transform& transform); gfx 74 ui/aura/window_tree_host.h gfx::Transform GetInverseRootTransform() const; gfx 78 ui/aura/window_tree_host.h void UpdateRootWindowSize(const gfx::Size& host_size); gfx 82 ui/aura/window_tree_host.h static gfx::Size GetNativeScreenSize(); gfx 86 ui/aura/window_tree_host.h void ConvertPointToNativeScreen(gfx::Point* point) const; gfx 89 ui/aura/window_tree_host.h void ConvertPointFromNativeScreen(gfx::Point* point) const; gfx 93 ui/aura/window_tree_host.h void ConvertPointToHost(gfx::Point* point) const; gfx 97 ui/aura/window_tree_host.h void ConvertPointFromHost(gfx::Point* point) const; gfx 104 ui/aura/window_tree_host.h void SetCursor(gfx::NativeCursor cursor); gfx 110 ui/aura/window_tree_host.h void MoveCursorTo(const gfx::Point& location); gfx 113 ui/aura/window_tree_host.h void MoveCursorToHostLocation(const gfx::Point& host_location); gfx 115 ui/aura/window_tree_host.h gfx::NativeCursor last_cursor() const { return last_cursor_; } gfx 118 ui/aura/window_tree_host.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0; gfx 130 ui/aura/window_tree_host.h virtual gfx::Rect GetBounds() const = 0; gfx 131 ui/aura/window_tree_host.h virtual void SetBounds(const gfx::Rect& bounds) = 0; gfx 135 ui/aura/window_tree_host.h virtual gfx::Insets GetInsets() const = 0; gfx 136 ui/aura/window_tree_host.h virtual void SetInsets(const gfx::Insets& insets) = 0; gfx 150 ui/aura/window_tree_host.h virtual bool QueryMouseLocation(gfx::Point* location_return) = 0; gfx 173 ui/aura/window_tree_host.h void CreateCompositor(gfx::AcceleratedWidget accelerated_widget); gfx 176 ui/aura/window_tree_host.h virtual gfx::Point GetLocationOnNativeScreen() const = 0; gfx 178 ui/aura/window_tree_host.h void OnHostMoved(const gfx::Point& new_location); gfx 179 ui/aura/window_tree_host.h void OnHostResized(const gfx::Size& new_size); gfx 185 ui/aura/window_tree_host.h virtual void SetCursorNative(gfx::NativeCursor cursor) = 0; gfx 188 ui/aura/window_tree_host.h virtual void MoveCursorToNative(const gfx::Point& location) = 0; gfx 196 ui/aura/window_tree_host.h void MoveCursorToInternal(const gfx::Point& root_location, gfx 197 ui/aura/window_tree_host.h const gfx::Point& host_location); gfx 214 ui/aura/window_tree_host.h gfx::NativeCursor last_cursor_; gfx 28 ui/aura/window_tree_host_mac.h explicit WindowTreeHostMac(const gfx::Rect& bounds); gfx 33 ui/aura/window_tree_host_mac.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 37 ui/aura/window_tree_host_mac.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 38 ui/aura/window_tree_host_mac.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 39 ui/aura/window_tree_host_mac.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 40 ui/aura/window_tree_host_mac.h virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; gfx 41 ui/aura/window_tree_host_mac.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 44 ui/aura/window_tree_host_mac.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 47 ui/aura/window_tree_host_mac.h virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; gfx 48 ui/aura/window_tree_host_mac.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 10 ui/aura/window_tree_host_observer.h namespace gfx { gfx 25 ui/aura/window_tree_host_observer.h const gfx::Point& new_origin) {} gfx 16 ui/aura/window_tree_host_ozone.cc WindowTreeHostOzone::WindowTreeHostOzone(const gfx::Rect& bounds) gfx 26 ui/aura/window_tree_host_ozone.cc gfx::SurfaceFactoryOzone* surface_factory = gfx 27 ui/aura/window_tree_host_ozone.cc gfx::SurfaceFactoryOzone::GetInstance(); gfx 54 ui/aura/window_tree_host_ozone.cc gfx::AcceleratedWidget WindowTreeHostOzone::GetAcceleratedWidget() { gfx 64 ui/aura/window_tree_host_ozone.cc gfx::Rect WindowTreeHostOzone::GetBounds() const { return bounds_; } gfx 66 ui/aura/window_tree_host_ozone.cc void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) { gfx 70 ui/aura/window_tree_host_ozone.cc gfx::Insets WindowTreeHostOzone::GetInsets() const { return gfx::Insets(); } gfx 72 ui/aura/window_tree_host_ozone.cc void WindowTreeHostOzone::SetInsets(const gfx::Insets& insets) { gfx 76 ui/aura/window_tree_host_ozone.cc gfx::Point WindowTreeHostOzone::GetLocationOnNativeScreen() const { gfx 84 ui/aura/window_tree_host_ozone.cc bool WindowTreeHostOzone::QueryMouseLocation(gfx::Point* location_return) { gfx 106 ui/aura/window_tree_host_ozone.cc void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) { gfx 111 ui/aura/window_tree_host_ozone.cc void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) { gfx 125 ui/aura/window_tree_host_ozone.cc WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { gfx 130 ui/aura/window_tree_host_ozone.cc gfx::Size WindowTreeHost::GetNativeScreenSize() { gfx 132 ui/aura/window_tree_host_ozone.cc return gfx::Size(); gfx 23 ui/aura/window_tree_host_ozone.h explicit WindowTreeHostOzone(const gfx::Rect& bounds); gfx 32 ui/aura/window_tree_host_ozone.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 36 ui/aura/window_tree_host_ozone.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 37 ui/aura/window_tree_host_ozone.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 38 ui/aura/window_tree_host_ozone.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 39 ui/aura/window_tree_host_ozone.h virtual void SetInsets(const gfx::Insets& bounds) OVERRIDE; gfx 40 ui/aura/window_tree_host_ozone.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 43 ui/aura/window_tree_host_ozone.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 48 ui/aura/window_tree_host_ozone.h virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; gfx 49 ui/aura/window_tree_host_ozone.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 55 ui/aura/window_tree_host_ozone.h gfx::AcceleratedWidget widget_; gfx 56 ui/aura/window_tree_host_ozone.h gfx::Rect bounds_; gfx 33 ui/aura/window_tree_host_win.cc WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { gfx 38 ui/aura/window_tree_host_win.cc gfx::Size WindowTreeHost::GetNativeScreenSize() { gfx 39 ui/aura/window_tree_host_win.cc return gfx::Size(GetSystemMetrics(SM_CXSCREEN), gfx 43 ui/aura/window_tree_host_win.cc WindowTreeHostWin::WindowTreeHostWin(const gfx::Rect& bounds) gfx 61 ui/aura/window_tree_host_win.cc gfx::AcceleratedWidget WindowTreeHostWin::GetAcceleratedWidget() { gfx 74 ui/aura/window_tree_host_win.cc gfx::Rect target_rect; gfx 89 ui/aura/window_tree_host_win.cc target_rect = gfx::Rect(mi.rcMonitor); gfx 94 ui/aura/window_tree_host_win.cc target_rect = gfx::Rect(saved_window_rect_); gfx 105 ui/aura/window_tree_host_win.cc gfx::Rect WindowTreeHostWin::GetBounds() const { gfx 108 ui/aura/window_tree_host_win.cc return gfx::Rect(r); gfx 111 ui/aura/window_tree_host_win.cc void WindowTreeHostWin::SetBounds(const gfx::Rect& bounds) { gfx 138 ui/aura/window_tree_host_win.cc float new_scale = gfx::Screen::GetScreenFor(window())-> gfx 144 ui/aura/window_tree_host_win.cc gfx::Insets WindowTreeHostWin::GetInsets() const { gfx 145 ui/aura/window_tree_host_win.cc return gfx::Insets(); gfx 148 ui/aura/window_tree_host_win.cc void WindowTreeHostWin::SetInsets(const gfx::Insets& insets) { gfx 151 ui/aura/window_tree_host_win.cc gfx::Point WindowTreeHostWin::GetLocationOnNativeScreen() const { gfx 154 ui/aura/window_tree_host_win.cc return gfx::Point(r.left, r.top); gfx 172 ui/aura/window_tree_host_win.cc bool WindowTreeHostWin::QueryMouseLocation(gfx::Point* location_return) { gfx 175 ui/aura/window_tree_host_win.cc *location_return = gfx::Point(0, 0); gfx 182 ui/aura/window_tree_host_win.cc const gfx::Size size = GetBounds().size(); gfx 184 ui/aura/window_tree_host_win.cc gfx::Point(max(0, min(size.width(), static_cast<int>(pt.x))), gfx 200 ui/aura/window_tree_host_win.cc void WindowTreeHostWin::SetCursorNative(gfx::NativeCursor native_cursor) { gfx 210 ui/aura/window_tree_host_win.cc void WindowTreeHostWin::MoveCursorToNative(const gfx::Point& location) { gfx 280 ui/aura/window_tree_host_win.cc void WindowTreeHostWin::OnMove(const gfx::Point& point) { gfx 285 ui/aura/window_tree_host_win.cc gfx::Rect damage_rect; gfx 288 ui/aura/window_tree_host_win.cc damage_rect = gfx::Rect(update_rect); gfx 293 ui/aura/window_tree_host_win.cc void WindowTreeHostWin::OnSize(UINT param, const gfx::Size& size) { gfx 18 ui/aura/window_tree_host_win.h public gfx::WindowImpl { gfx 20 ui/aura/window_tree_host_win.h WindowTreeHostWin(const gfx::Rect& bounds); gfx 23 ui/aura/window_tree_host_win.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 27 ui/aura/window_tree_host_win.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 28 ui/aura/window_tree_host_win.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 29 ui/aura/window_tree_host_win.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 30 ui/aura/window_tree_host_win.h virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; gfx 31 ui/aura/window_tree_host_win.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 34 ui/aura/window_tree_host_win.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 37 ui/aura/window_tree_host_win.h virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; gfx 38 ui/aura/window_tree_host_win.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 78 ui/aura/window_tree_host_win.h void OnMove(const gfx::Point& point); gfx 80 ui/aura/window_tree_host_win.h void OnSize(UINT param, const gfx::Size& size); gfx 153 ui/aura/window_tree_host_x11.cc void Calibrate(ui::TouchEvent* event, const gfx::Rect& bounds) { gfx 203 ui/aura/window_tree_host_x11.cc event->set_root_location(gfx::Point(x, y)); gfx 205 ui/aura/window_tree_host_x11.cc event->set_location(gfx::Point(x, y)); gfx 246 ui/aura/window_tree_host_x11.cc WindowTreeHostX11::WindowTreeHostX11(const gfx::Rect& bounds) gfx 247 ui/aura/window_tree_host_x11.cc : xdisplay_(gfx::GetXDisplay()), gfx 344 ui/aura/window_tree_host_x11.cc const gfx::Display display = gfx::Screen::GetScreenFor(root_window)-> gfx 361 ui/aura/window_tree_host_x11.cc gfx::Rect damage_rect(xev->xexpose.x, xev->xexpose.y, gfx 408 ui/aura/window_tree_host_x11.cc gfx::Rect bounds(xev->xconfigure.x, xev->xconfigure.y, gfx 487 ui/aura/window_tree_host_x11.cc gfx::AcceleratedWidget WindowTreeHostX11::GetAcceleratedWidget() { gfx 525 ui/aura/window_tree_host_x11.cc gfx::Rect WindowTreeHostX11::GetBounds() const { gfx 529 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::SetBounds(const gfx::Rect& bounds) { gfx 533 ui/aura/window_tree_host_x11.cc float new_scale = gfx::Screen::GetScreenFor(window())-> gfx 570 ui/aura/window_tree_host_x11.cc gfx::Insets WindowTreeHostX11::GetInsets() const { gfx 574 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::SetInsets(const gfx::Insets& insets) { gfx 582 ui/aura/window_tree_host_x11.cc gfx::Point WindowTreeHostX11::GetLocationOnNativeScreen() const { gfx 594 ui/aura/window_tree_host_x11.cc bool WindowTreeHostX11::QueryMouseLocation(gfx::Point* location_return) { gfx 598 ui/aura/window_tree_host_x11.cc *location_return = gfx::Point(0, 0); gfx 612 ui/aura/window_tree_host_x11.cc *location_return = gfx::Point(max(0, min(bounds_.width(), win_x_return)), gfx 624 ui/aura/window_tree_host_x11.cc gfx::Rect bounds(bounds_); gfx 688 ui/aura/window_tree_host_x11.cc gfx::Point point(xevent.xmotion.x, xevent.xmotion.y); gfx 703 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::SetCursorNative(gfx::NativeCursor cursor) { gfx 710 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::MoveCursorToNative(const gfx::Point& location) { gfx 842 ui/aura/window_tree_host_x11.cc void WindowTreeHostX11::SetCursorInternal(gfx::NativeCursor cursor) { gfx 851 ui/aura/window_tree_host_x11.cc gfx::Rect local(bounds_.size()); gfx 854 ui/aura/window_tree_host_x11.cc gfx::Point location(event->location()); gfx 870 ui/aura/window_tree_host_x11.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(root_window); gfx 871 ui/aura/window_tree_host_x11.cc gfx::Display display = screen->GetDisplayNearestWindow(root_window); gfx 906 ui/aura/window_tree_host_x11.cc WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { gfx 911 ui/aura/window_tree_host_x11.cc gfx::Size WindowTreeHost::GetNativeScreenSize() { gfx 912 ui/aura/window_tree_host_x11.cc ::XDisplay* xdisplay = gfx::GetXDisplay(); gfx 913 ui/aura/window_tree_host_x11.cc return gfx::Size(DisplayWidth(xdisplay, 0), DisplayHeight(xdisplay, 0)); gfx 41 ui/aura/window_tree_host_x11.h explicit WindowTreeHostX11(const gfx::Rect& bounds); gfx 48 ui/aura/window_tree_host_x11.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 52 ui/aura/window_tree_host_x11.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 53 ui/aura/window_tree_host_x11.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 54 ui/aura/window_tree_host_x11.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 55 ui/aura/window_tree_host_x11.h virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; gfx 56 ui/aura/window_tree_host_x11.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 59 ui/aura/window_tree_host_x11.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 64 ui/aura/window_tree_host_x11.h virtual void SetCursorNative(gfx::NativeCursor cursor_type) OVERRIDE; gfx 65 ui/aura/window_tree_host_x11.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 88 ui/aura/window_tree_host_x11.h void SetCursorInternal(gfx::NativeCursor cursor); gfx 109 ui/aura/window_tree_host_x11.h gfx::NativeCursor current_cursor_; gfx 115 ui/aura/window_tree_host_x11.h gfx::Rect bounds_; gfx 118 ui/aura/window_tree_host_x11.h gfx::Insets insets_; gfx 42 ui/aura/window_tree_host_x11_unittest.cc gfx::Point last_touch_location() { gfx 49 ui/aura/window_tree_host_x11_unittest.cc gfx::Point last_touch_location_; gfx 71 ui/aura/window_tree_host_x11_unittest.cc new WindowTreeHostX11(gfx::Rect(0, 0, 2560, 1700))); gfx 88 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchBegin, 5, gfx::Point(1500, 2500), valuators); gfx 92 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(0, 0), handler->last_touch_location()); gfx 97 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchBegin, 5, gfx::Point(1500, 1500), valuators); gfx 101 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1500, 1500), handler->last_touch_location()); gfx 104 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchUpdate, 5, gfx::Point(1500, 1600), valuators); gfx 108 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1500, 1600), handler->last_touch_location()); gfx 111 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchEnd, 5, gfx::Point(1500, 1600), valuators); gfx 115 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1500, 1600), handler->last_touch_location()); gfx 136 ui/aura/window_tree_host_x11_unittest.cc new WindowTreeHostX11(gfx::Rect(0, 0, 2560, 1700))); gfx 143 ui/aura/window_tree_host_x11_unittest.cc new WindowTreeHostX11(gfx::Rect(0, host2_y_offset, 1920, 1080))); gfx 161 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchBegin, 5, gfx::Point(1500, 2500), valuators); gfx 166 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(0, 0), handler1->last_touch_location()); gfx 169 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1500, 2500 - host2_y_offset), gfx 173 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchBegin, 6, gfx::Point(1600, 2600), valuators); gfx 178 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(0, 0), handler1->last_touch_location()); gfx 181 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1600, 2600 - host2_y_offset), gfx 185 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchUpdate, 5, gfx::Point(1500, 2550), valuators); gfx 190 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(0, 0), handler1->last_touch_location()); gfx 193 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1500, 2550 - host2_y_offset), gfx 197 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchUpdate, 6, gfx::Point(1600, 2650), valuators); gfx 202 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(0, 0), handler1->last_touch_location()); gfx 205 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1600, 2650 - host2_y_offset), gfx 209 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchEnd, 5, gfx::Point(1500, 2550), valuators); gfx 214 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(0, 0), handler1->last_touch_location()); gfx 217 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1500, 2550 - host2_y_offset), gfx 221 ui/aura/window_tree_host_x11_unittest.cc 0, XI_TouchEnd, 6, gfx::Point(1600, 2650), valuators); gfx 226 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(0, 0), handler1->last_touch_location()); gfx 229 ui/aura/window_tree_host_x11_unittest.cc EXPECT_EQ(gfx::Point(1600, 2650 - host2_y_offset), gfx 211 ui/aura/window_unittest.cc const gfx::Point& position() const { return position_; } gfx 214 ui/aura/window_unittest.cc gfx::Point position_; gfx 229 ui/aura/window_unittest.cc const gfx::Point& location) OVERRIDE { gfx 290 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 5, 5), gfx 292 ui/aura/window_unittest.cc EXPECT_FALSE(w->ContainsPointInRoot(gfx::Point(9, 9))); gfx 293 ui/aura/window_unittest.cc EXPECT_TRUE(w->ContainsPointInRoot(gfx::Point(10, 10))); gfx 294 ui/aura/window_unittest.cc EXPECT_TRUE(w->ContainsPointInRoot(gfx::Point(14, 14))); gfx 295 ui/aura/window_unittest.cc EXPECT_FALSE(w->ContainsPointInRoot(gfx::Point(15, 15))); gfx 296 ui/aura/window_unittest.cc EXPECT_FALSE(w->ContainsPointInRoot(gfx::Point(20, 20))); gfx 301 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 5, 5), gfx 303 ui/aura/window_unittest.cc EXPECT_TRUE(w->ContainsPoint(gfx::Point(0, 0))); gfx 304 ui/aura/window_unittest.cc EXPECT_TRUE(w->ContainsPoint(gfx::Point(4, 4))); gfx 305 ui/aura/window_unittest.cc EXPECT_FALSE(w->ContainsPoint(gfx::Point(5, 5))); gfx 306 ui/aura/window_unittest.cc EXPECT_FALSE(w->ContainsPoint(gfx::Point(10, 10))); gfx 314 ui/aura/window_unittest.cc gfx::Point reference_point(100, 100); gfx 315 ui/aura/window_unittest.cc gfx::Point test_point = reference_point; gfx 322 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 500, 500), gfx 325 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorGREEN, 11, gfx::Rect(5, 5, 100, 100), w1.get())); gfx 327 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorCYAN, 111, gfx::Rect(5, 5, 75, 75), w11.get())); gfx 329 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorRED, 1111, gfx::Rect(5, 5, 50, 50), w111.get())); gfx 332 ui/aura/window_unittest.cc root->MoveCursorTo(gfx::Point(10, 10)); gfx 334 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root)->GetCursorScreenPoint().ToString()); gfx 335 ui/aura/window_unittest.cc w1->MoveCursorTo(gfx::Point(10, 10)); gfx 337 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root)->GetCursorScreenPoint().ToString()); gfx 338 ui/aura/window_unittest.cc w11->MoveCursorTo(gfx::Point(10, 10)); gfx 340 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root)->GetCursorScreenPoint().ToString()); gfx 341 ui/aura/window_unittest.cc w111->MoveCursorTo(gfx::Point(10, 10)); gfx 343 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root)->GetCursorScreenPoint().ToString()); gfx 344 ui/aura/window_unittest.cc w1111->MoveCursorTo(gfx::Point(10, 10)); gfx 346 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root)->GetCursorScreenPoint().ToString()); gfx 351 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 500, 500), gfx 356 ui/aura/window_unittest.cc root->MoveCursorTo(gfx::Point(10, 10)); gfx 358 ui/aura/window_unittest.cc root->MoveCursorTo(gfx::Point(9, 10)); gfx 369 ui/aura/window_unittest.cc gfx::Transform transform; gfx 374 ui/aura/window_unittest.cc host()->MoveCursorTo(gfx::Point(10, 10)); gfx 376 ui/aura/window_unittest.cc gfx::Point mouse_location; gfx 381 ui/aura/window_unittest.cc EXPECT_EQ("10,10", gfx::Screen::GetScreenFor( gfx 388 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 500, 500), gfx 391 ui/aura/window_unittest.cc gfx::Transform transform1; gfx 394 ui/aura/window_unittest.cc w1->MoveCursorTo(gfx::Point(10, 10)); gfx 396 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(w1.get())->GetCursorScreenPoint().ToString()); gfx 398 ui/aura/window_unittest.cc gfx::Transform transform2; gfx 401 ui/aura/window_unittest.cc w1->MoveCursorTo(gfx::Point(10, 10)); gfx 403 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(w1.get())->GetCursorScreenPoint().ToString()); gfx 405 ui/aura/window_unittest.cc gfx::Transform transform3; gfx 408 ui/aura/window_unittest.cc w1->MoveCursorTo(gfx::Point(5, 5)); gfx 410 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(w1.get())->GetCursorScreenPoint().ToString()); gfx 412 ui/aura/window_unittest.cc gfx::Transform transform4; gfx 417 ui/aura/window_unittest.cc w1->MoveCursorTo(gfx::Point(10, 10)); gfx 419 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(w1.get())->GetCursorScreenPoint().ToString()); gfx 432 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 500, 500), gfx 435 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorGREEN, 11, gfx::Rect(5, 5, 100, 100), w1.get())); gfx 437 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorCYAN, 111, gfx::Rect(5, 5, 75, 75), w11.get())); gfx 439 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorRED, 1111, gfx::Rect(5, 5, 50, 50), w111.get())); gfx 444 ui/aura/window_unittest.cc gfx::Transform root_transform; gfx 450 ui/aura/window_unittest.cc gfx::Transform transform; gfx 460 ui/aura/window_unittest.cc w1111->MoveCursorTo(gfx::Point(10, 10)); gfx 464 ui/aura/window_unittest.cc gfx::Point mouse_location; gfx 469 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root)->GetCursorScreenPoint().ToString()); gfx 474 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 500, 500), gfx 477 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorGREEN, 11, gfx::Rect(5, 5, 100, 100), w1.get())); gfx 479 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorCYAN, 111, gfx::Rect(5, 5, 75, 75), w11.get())); gfx 481 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorRED, 1111, gfx::Rect(5, 5, 50, 50), w111.get())); gfx 483 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorMAGENTA, 12, gfx::Rect(10, 420, 25, 25), gfx 486 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorYELLOW, 121, gfx::Rect(5, 5, 5, 5), w12.get())); gfx 488 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorGRAY, 13, gfx::Rect(5, 470, 50, 50), w1.get())); gfx 491 ui/aura/window_unittest.cc w1->parent()->SetBounds(gfx::Rect(500, 500)); gfx 492 ui/aura/window_unittest.cc EXPECT_EQ(NULL, root->GetEventHandlerForPoint(gfx::Point(5, 5))); gfx 493 ui/aura/window_unittest.cc EXPECT_EQ(w1.get(), root->GetEventHandlerForPoint(gfx::Point(11, 11))); gfx 494 ui/aura/window_unittest.cc EXPECT_EQ(w11.get(), root->GetEventHandlerForPoint(gfx::Point(16, 16))); gfx 495 ui/aura/window_unittest.cc EXPECT_EQ(w111.get(), root->GetEventHandlerForPoint(gfx::Point(21, 21))); gfx 496 ui/aura/window_unittest.cc EXPECT_EQ(w1111.get(), root->GetEventHandlerForPoint(gfx::Point(26, 26))); gfx 497 ui/aura/window_unittest.cc EXPECT_EQ(w12.get(), root->GetEventHandlerForPoint(gfx::Point(21, 431))); gfx 498 ui/aura/window_unittest.cc EXPECT_EQ(w121.get(), root->GetEventHandlerForPoint(gfx::Point(26, 436))); gfx 499 ui/aura/window_unittest.cc EXPECT_EQ(w13.get(), root->GetEventHandlerForPoint(gfx::Point(26, 481))); gfx 506 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 20, 400, 500), gfx 509 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorRED, 2, gfx::Rect(0, 0, 60, 70), parent.get())); gfx 510 ui/aura/window_unittest.cc EXPECT_EQ(child.get(), parent->GetEventHandlerForPoint(gfx::Point(0, 0))); gfx 511 ui/aura/window_unittest.cc EXPECT_EQ(child.get(), parent->GetEventHandlerForPoint(gfx::Point(1, 1))); gfx 515 ui/aura/window_unittest.cc parent->set_hit_test_bounds_override_inner(gfx::Insets(1, 1, 1, 1)); gfx 516 ui/aura/window_unittest.cc EXPECT_EQ(parent.get(), parent->GetEventHandlerForPoint(gfx::Point(0, 0))); gfx 517 ui/aura/window_unittest.cc EXPECT_EQ(child.get(), parent->GetEventHandlerForPoint(gfx::Point(1, 1))); gfx 524 ui/aura/window_unittest.cc parent_delegate.get(), 1, gfx::Rect(10, 20, 400, 500), root_window())); gfx 526 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorRED, 2, gfx::Rect(0, 0, 390, 480), gfx 531 ui/aura/window_unittest.cc EXPECT_EQ(parent.get(), parent->GetEventHandlerForPoint(gfx::Point(0, 0))); gfx 532 ui/aura/window_unittest.cc EXPECT_EQ(parent.get(), parent->GetEventHandlerForPoint(gfx::Point(50, 50))); gfx 537 ui/aura/window_unittest.cc root->SetBounds(gfx::Rect(0, 0, 300, 300)); gfx 540 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(10, 10, 100, 100), gfx 543 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorGREEN, 11, gfx::Rect(0, 0, 120, 120), w1.get())); gfx 546 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorRED, 2, gfx::Rect(5, 5, 55, 55), gfx 551 ui/aura/window_unittest.cc NULL, 3, gfx::Rect(200, 200, 100, 100), root_window())); gfx 553 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorCYAN, 31, gfx::Rect(0, 0, 50, 50), w3.get())); gfx 555 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorBLUE, 311, gfx::Rect(0, 0, 10, 10), w31.get())); gfx 557 ui/aura/window_unittest.cc EXPECT_EQ(NULL, root->GetTopWindowContainingPoint(gfx::Point(0, 0))); gfx 558 ui/aura/window_unittest.cc EXPECT_EQ(w2.get(), root->GetTopWindowContainingPoint(gfx::Point(5, 5))); gfx 559 ui/aura/window_unittest.cc EXPECT_EQ(w2.get(), root->GetTopWindowContainingPoint(gfx::Point(10, 10))); gfx 560 ui/aura/window_unittest.cc EXPECT_EQ(w2.get(), root->GetTopWindowContainingPoint(gfx::Point(59, 59))); gfx 561 ui/aura/window_unittest.cc EXPECT_EQ(w1.get(), root->GetTopWindowContainingPoint(gfx::Point(60, 60))); gfx 562 ui/aura/window_unittest.cc EXPECT_EQ(w1.get(), root->GetTopWindowContainingPoint(gfx::Point(109, 109))); gfx 563 ui/aura/window_unittest.cc EXPECT_EQ(NULL, root->GetTopWindowContainingPoint(gfx::Point(110, 110))); gfx 564 ui/aura/window_unittest.cc EXPECT_EQ(w31.get(), root->GetTopWindowContainingPoint(gfx::Point(200, 200))); gfx 565 ui/aura/window_unittest.cc EXPECT_EQ(w31.get(), root->GetTopWindowContainingPoint(gfx::Point(220, 220))); gfx 566 ui/aura/window_unittest.cc EXPECT_EQ(NULL, root->GetTopWindowContainingPoint(gfx::Point(260, 260))); gfx 570 ui/aura/window_unittest.cc const gfx::Rect kBounds(0, 0, 10, 10); gfx 629 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&parent_delegate, 0, gfx::Rect(), gfx 631 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&child_delegate, 0, gfx::Rect(), parent.get()); gfx 646 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&parent_delegate, 0, gfx::Rect(), gfx 649 ui/aura/window_unittest.cc gfx::Rect(), parent.get())); gfx 776 ui/aura/window_unittest.cc &delegate, 0, gfx::Rect(0, 0, 20, 20), root_window())); gfx 786 ui/aura/window_unittest.cc EventGenerator generator(root_window(), gfx::Point(50, 50)); gfx 795 ui/aura/window_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(50, 50), 0, getTime()); gfx 811 ui/aura/window_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(250, 250), 1, getTime()); gfx 827 ui/aura/window_unittest.cc &delegate1, 0, gfx::Rect(0, 0, 50, 50), root_window())); gfx 830 ui/aura/window_unittest.cc &delegate2, 0, gfx::Rect(50, 50, 50, 50), root_window())); gfx 834 ui/aura/window_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 0, getTime()); gfx 848 ui/aura/window_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(10, 20), 0, getTime()); gfx 856 ui/aura/window_unittest.cc ui::ET_TOUCH_RELEASED, gfx::Point(10, 20), 0, getTime()); gfx 863 ui/aura/window_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 0, getTime()); gfx 882 ui/aura/window_unittest.cc &delegate, 0, gfx::Rect(0, 0, 50, 50), root_window())); gfx 885 ui/aura/window_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 0, getTime()); gfx 900 ui/aura/window_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(10, 20), 0, getTime()); gfx 913 ui/aura/window_unittest.cc ui::TouchEvent move2(ui::ET_TOUCH_MOVED, gfx::Point(10, 30), 0, getTime()); gfx 921 ui/aura/window_unittest.cc ui::ET_TOUCH_RELEASED, gfx::Point(10, 20), 0, getTime()); gfx 933 ui/aura/window_unittest.cc &d1, 0, gfx::Rect(0, 0, 20, 20), root_window())); gfx 934 ui/aura/window_unittest.cc ui::TouchEvent p1(ui::ET_TOUCH_PRESSED, gfx::Point(10, 10), 0, getTime()); gfx 944 ui/aura/window_unittest.cc &d2, 0, gfx::Rect(40, 0, 40, 20), root_window())); gfx 945 ui/aura/window_unittest.cc ui::TouchEvent p2(ui::ET_TOUCH_PRESSED, gfx::Point(41, 10), 1, getTime()); gfx 967 ui/aura/window_unittest.cc &d3, 0, gfx::Rect(0, 0, 100, 101), root_window())); gfx 981 ui/aura/window_unittest.cc ui::TouchEvent m3(ui::ET_TOUCH_MOVED, gfx::Point(110, 105), 1, getTime()); gfx 1004 ui/aura/window_unittest.cc ui::TouchEvent m4(ui::ET_TOUCH_MOVED, gfx::Point(120, 105), 1, getTime()); gfx 1021 ui/aura/window_unittest.cc &delegate, 0, gfx::Rect(0, 0, 20, 20), root_window())); gfx 1024 ui/aura/window_unittest.cc &delegate2, 0, gfx::Rect(20, 20, 20, 20), root_window())); gfx 1038 ui/aura/window_unittest.cc EventGenerator generator(root_window(), gfx::Point(50, 50)); gfx 1049 ui/aura/window_unittest.cc generator.MoveMouseTo(gfx::Point(40, 40), 2); gfx 1060 ui/aura/window_unittest.cc &delegate, 0, gfx::Rect(0, 0, 20, 20), root_window())); gfx 1077 ui/aura/window_unittest.cc gfx::Rect(0, 0, 300, 300), root_window())); gfx 1079 ui/aura/window_unittest.cc gfx::Rect(0, 0, 100, 100), viewport.get())); gfx 1084 ui/aura/window_unittest.cc viewport->SetBounds(gfx::Rect(-100, -100, 300, 300)); gfx 1089 ui/aura/window_unittest.cc child->SetBounds(gfx::Rect(100, 100, 100, 100)); gfx 1134 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d1, 1, gfx::Rect(10, 10, 50, 50), gfx 1138 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(70, 70, 50, 50), gfx 1159 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d1, 1, gfx::Rect(10, 10, 50, 50), gfx 1169 ui/aura/window_unittest.cc ui::ET_MOUSE_EXITED, gfx::Point(), gfx::Point(), 0, 0); gfx 1181 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d1, 1, gfx::Rect(10, 10, 50, 50), gfx 1185 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(70, 70, 50, 50), gfx 1211 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&delegate, 1, gfx::Rect(10, 10, 50, 50), gfx 1239 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d1, 1, gfx::Rect(10, 10, 50, 50), gfx 1251 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(10, 10, 50, 50), gfx 1273 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d1, 1, gfx::Rect(10, 10, 50, 50), gfx 1283 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(10, 10, 50, 50), gfx 1303 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d1, 1, gfx::Rect(10, 10, 50, 50), gfx 1306 ui/aura/window_unittest.cc Window* w2 = CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(10, 10, 50, 50), gfx 1327 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d1, 1, gfx::Rect(10, 10, 50, 50), gfx 1330 ui/aura/window_unittest.cc Window* w2 = CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(10, 10, 50, 50), gfx 1356 ui/aura/window_unittest.cc gfx::Rect(0, 0, 500, 500), root_window())); gfx 1358 ui/aura/window_unittest.cc gfx::Rect(0, 0, 500, 500), w1.get())); gfx 1360 ui/aura/window_unittest.cc gfx::Rect(50, 50, 450, 450), w11.get())); gfx 1362 ui/aura/window_unittest.cc gfx::Rect(0, 0, 500, 500), w1.get())); gfx 1364 ui/aura/window_unittest.cc gfx::Point target_point = w111->bounds().CenterPoint(); gfx 1400 ui/aura/window_unittest.cc scoped_ptr<Window> w1(CreateTestWindowWithDelegate(&d, 1, gfx::Rect(), gfx 1403 ui/aura/window_unittest.cc CreateTestWindowWithDelegate(&d2, 2, gfx::Rect(), w1.get())); gfx 1462 ui/aura/window_unittest.cc gfx::Rect(0, 0, 500, 500), root_window())); gfx 1464 ui/aura/window_unittest.cc gfx::Rect(0, 0, 500, 500), w1.get())); gfx 1466 ui/aura/window_unittest.cc gfx::Rect(50, 50, 450, 450), w11.get())); gfx 1468 ui/aura/window_unittest.cc gfx::Rect(0, 0, 500, 500), w1.get())); gfx 1470 ui/aura/window_unittest.cc gfx::Rect(150, 150, 50, 50), w12.get())); gfx 1472 ui/aura/window_unittest.cc EXPECT_EQ(w12.get(), w1->GetEventHandlerForPoint(gfx::Point(10, 10))); gfx 1474 ui/aura/window_unittest.cc EXPECT_EQ(w11.get(), w1->GetEventHandlerForPoint(gfx::Point(10, 10))); gfx 1477 ui/aura/window_unittest.cc EXPECT_EQ(w121.get(), w1->GetEventHandlerForPoint(gfx::Point(160, 160))); gfx 1479 ui/aura/window_unittest.cc EXPECT_EQ(w12.get(), w1->GetEventHandlerForPoint(gfx::Point(160, 160))); gfx 1481 ui/aura/window_unittest.cc EXPECT_EQ(w111.get(), w1->GetEventHandlerForPoint(gfx::Point(160, 160))); gfx 1483 ui/aura/window_unittest.cc EXPECT_EQ(w11.get(), w1->GetEventHandlerForPoint(gfx::Point(160, 160))); gfx 1488 ui/aura/window_unittest.cc gfx::Size size = host()->GetBounds().size(); gfx 1489 ui/aura/window_unittest.cc EXPECT_EQ(gfx::Rect(size), gfx 1490 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root_window())->GetDisplayNearestPoint( gfx 1491 ui/aura/window_unittest.cc gfx::Point()).bounds()); gfx 1494 ui/aura/window_unittest.cc gfx::Transform transform; gfx 1500 ui/aura/window_unittest.cc gfx::Size transformed_size(size.height(), size.width()); gfx 1504 ui/aura/window_unittest.cc gfx::Rect(transformed_size).ToString(), gfx 1505 ui/aura/window_unittest.cc gfx::Screen::GetScreenFor(root_window())->GetDisplayNearestPoint( gfx 1506 ui/aura/window_unittest.cc gfx::Point()).bounds().ToString()); gfx 1513 ui/aura/window_unittest.cc gfx::Size size = host()->GetBounds().size(); gfx 1518 ui/aura/window_unittest.cc gfx::Rect(0, 0, 20, 20), root_window())); gfx 1521 ui/aura/window_unittest.cc gfx::Transform transform; gfx 1527 ui/aura/window_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(size.height() - 10, 10), 0, getTime()); gfx 1529 ui/aura/window_unittest.cc EXPECT_EQ(gfx::Point(10, 10).ToString(), delegate->position().ToString()); gfx 1627 ui/aura/window_unittest.cc CreateTestWindowWithBounds(gfx::Rect(0, 0, 100, 100), root_window())); gfx 1631 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = w1->layer()->GetAnimator(); gfx 1639 ui/aura/window_unittest.cc w1->SetBounds(gfx::Rect(100, 100, 100, 100)); gfx 1651 ui/aura/window_unittest.cc w1->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1908 ui/aura/window_unittest.cc w.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1933 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(0, 0, 100, 100), gfx 1948 ui/aura/window_unittest.cc CreateTestWindow(SK_ColorWHITE, 1, gfx::Rect(0, 0, 100, 100), gfx 2023 ui/aura/window_unittest.cc gfx::Size size = host()->GetBounds().size(); gfx 2030 ui/aura/window_unittest.cc gfx::Rect(0, 0, 100, 100), root_window())); gfx 2038 ui/aura/window_unittest.cc &d11, 1, gfx::Rect(0, 0, 100, 100), w1.get())); gfx 2044 ui/aura/window_unittest.cc w11->SetBounds(gfx::Rect(0, 0, 10, 10)); gfx 2049 ui/aura/window_unittest.cc w11->SetBounds(gfx::Rect(0, 0, 60, 60)); gfx 2079 ui/aura/window_unittest.cc gfx::Transform transform; gfx 2086 ui/aura/window_unittest.cc w11->SetTransform(gfx::Transform()); gfx 2103 ui/aura/window_unittest.cc &d11, 1, gfx::Rect(0, 0, 100, 100), w1.get())); gfx 2283 ui/aura/window_unittest.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 2284 ui/aura/window_unittest.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 2308 ui/aura/window_unittest.cc gfx::Rect(0, 0, 100, 100), root_window())); gfx 2316 ui/aura/window_unittest.cc window->SetBounds(gfx::Rect(100, 100, 100, 100)); gfx 2326 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = window->layer()->GetAnimator(); gfx 2343 ui/aura/window_unittest.cc gfx::Rect(0, 0, 100, 100), root_window())); gfx 2356 ui/aura/window_unittest.cc window->SetBounds(gfx::Rect(100, 100, 110, 100)); gfx 2368 ui/aura/window_unittest.cc gfx::AnimationContainerElement* element = window->layer()->GetAnimator(); gfx 2432 ui/aura/window_unittest.cc gfx::Rect(10, 20, 30, 40), gfx 2642 ui/aura/window_unittest.cc root.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 2646 ui/aura/window_unittest.cc layerless_window->SetBounds(gfx::Rect(10, 11, 12, 13)); gfx 2650 ui/aura/window_unittest.cc layerless_window->SchedulePaintInRect(gfx::Rect(1, 2, 100, 4)); gfx 2653 ui/aura/window_unittest.cc gfx::SkIRectToRect(root.layer()->damaged_region().getBounds()). gfx 2658 ui/aura/window_unittest.cc layerless_window2->SetBounds(gfx::Rect(1, 2, 3, 4)); gfx 2662 ui/aura/window_unittest.cc layerless_window2->SchedulePaintInRect(gfx::Rect(1, 2, 100, 4)); gfx 2666 ui/aura/window_unittest.cc gfx::SkIRectToRect(root.layer()->damaged_region().getBounds()). gfx 2684 ui/aura/window_unittest.cc root.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 2688 ui/aura/window_unittest.cc w1ll->SetBounds(gfx::Rect(1, 2, 100, 100)); gfx 2692 ui/aura/window_unittest.cc w11ll->SetBounds(gfx::Rect(3, 4, 100, 100)); gfx 2697 ui/aura/window_unittest.cc w111->SetBounds(gfx::Rect(5, 6, 100, 100)); gfx 2702 ui/aura/window_unittest.cc w12->SetBounds(gfx::Rect(7, 8, 100, 100)); gfx 2707 ui/aura/window_unittest.cc w121->SetBounds(gfx::Rect(9, 10, 100, 100)); gfx 2764 ui/aura/window_unittest.cc root.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 2768 ui/aura/window_unittest.cc w1ll->SetBounds(gfx::Rect(1, 2, 100, 100)); gfx 2772 ui/aura/window_unittest.cc w11ll->SetBounds(gfx::Rect(3, 4, 100, 100)); gfx 2777 ui/aura/window_unittest.cc w111->SetBounds(gfx::Rect(5, 6, 100, 100)); gfx 2782 ui/aura/window_unittest.cc w12->SetBounds(gfx::Rect(7, 8, 100, 100)); gfx 2787 ui/aura/window_unittest.cc w121->SetBounds(gfx::Rect(9, 10, 100, 100)); gfx 2792 ui/aura/window_unittest.cc w111->SetBounds(gfx::Rect(7, 8, 11, 12)); gfx 2798 ui/aura/window_unittest.cc w111->SetBounds(gfx::Rect(5, 6, 100, 100)); gfx 2805 ui/aura/window_unittest.cc w11ll->SetBounds(gfx::Rect(5, 6, 100, 100)); gfx 2814 ui/aura/window_unittest.cc w111->SetBounds(gfx::Rect(7, 8, 11, 12)); gfx 2831 ui/aura/window_unittest.cc const gfx::Rect& most_recent_paint_clip_bounds() const { gfx 2835 ui/aura/window_unittest.cc const gfx::Vector2d& most_recent_paint_matrix_offset() const { gfx 2843 ui/aura/window_unittest.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 2847 ui/aura/window_unittest.cc most_recent_paint_matrix_offset_ = gfx::Vector2d( gfx 2854 ui/aura/window_unittest.cc gfx::Rect most_recent_paint_clip_bounds_; gfx 2855 ui/aura/window_unittest.cc gfx::Vector2d most_recent_paint_matrix_offset_; gfx 2878 ui/aura/window_unittest.cc root.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 2882 ui/aura/window_unittest.cc w1ll->SetBounds(gfx::Rect(1, 2, 40, 50)); gfx 2888 ui/aura/window_unittest.cc w11ll->SetBounds(gfx::Rect(3, 4, 11, 12)); gfx 2894 ui/aura/window_unittest.cc w111->SetBounds(gfx::Rect(5, 6, 100, 100)); gfx 2904 ui/aura/window_unittest.cc gfx::Canvas canvas(gfx::Size(200, 200), 1.0f, true); gfx 2926 ui/aura/window_unittest.cc gfx::Point location; gfx 2946 ui/aura/window_unittest.cc root.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 2950 ui/aura/window_unittest.cc w1ll->SetBounds(gfx::Rect(1, 2, 100, 100)); gfx 2954 ui/aura/window_unittest.cc w11ll->SetBounds(gfx::Rect(3, 4, 100, 100)); gfx 2959 ui/aura/window_unittest.cc w111->SetBounds(gfx::Rect(5, 6, 100, 100)); gfx 2964 ui/aura/window_unittest.cc w12->SetBounds(gfx::Rect(7, 8, 100, 100)); gfx 2969 ui/aura/window_unittest.cc w121->SetBounds(gfx::Rect(9, 10, 100, 100)); gfx 3007 ui/aura/window_unittest.cc root.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 3263 ui/aura/window_unittest.cc root.SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 34 ui/base/android/window_android.h void set_content_offset(const gfx::Vector2dF& content_offset) { gfx 56 ui/base/android/window_android.h gfx::Vector2dF content_offset_; gfx 12 ui/base/base_window.h namespace gfx { gfx 41 ui/base/base_window.h virtual gfx::NativeWindow GetNativeWindow() = 0; gfx 45 ui/base/base_window.h virtual gfx::Rect GetRestoredBounds() const = 0; gfx 53 ui/base/base_window.h virtual gfx::Rect GetBounds() const = 0; gfx 83 ui/base/base_window.h virtual void SetBounds(const gfx::Rect& bounds) = 0; gfx 150 ui/base/clipboard/clipboard.cc params[1].size() != sizeof(gfx::Size)) { gfx 155 ui/base/clipboard/clipboard.cc const gfx::Size* unvalidated_size = gfx 156 ui/base/clipboard/clipboard.cc reinterpret_cast<const gfx::Size*>(¶ms[1].front()); gfx 53 ui/base/clipboard/clipboard.h namespace gfx { gfx 355 ui/base/clipboard/clipboard.h const gfx::Size& size); gfx 306 ui/base/clipboard/clipboard_android.cc DCHECK_LE(sizeof(gfx::Size), input.size()); gfx 307 ui/base/clipboard/clipboard_android.cc const gfx::Size* size = reinterpret_cast<const gfx::Size*>(input.data()); gfx 312 ui/base/clipboard/clipboard_android.cc DCHECK_EQ(sizeof(gfx::Size) + bmp.getSize(), input.size()); gfx 314 ui/base/clipboard/clipboard_android.cc memcpy(bmp.getPixels(), input.data() + sizeof(gfx::Size), bmp.getSize()); gfx 422 ui/base/clipboard/clipboard_android.cc gfx::Size size(bitmap.width(), bitmap.height()); gfx 93 ui/base/clipboard/clipboard_aurax11.cc if (XFixesQueryExtension(gfx::GetXDisplay(), &event_base_, &ignored)) { gfx 94 ui/base/clipboard/clipboard_aurax11.cc clipboard_atom_ = XInternAtom(gfx::GetXDisplay(), kClipboard, false); gfx 95 ui/base/clipboard/clipboard_aurax11.cc XFixesSelectSelectionInput(gfx::GetXDisplay(), GetX11RootWindow(), gfx 103 ui/base/clipboard/clipboard_aurax11.cc XFixesSelectSelectionInput(gfx::GetXDisplay(), GetX11RootWindow(), gfx 312 ui/base/clipboard/clipboard_aurax11.cc : x_display_(gfx::GetXDisplay()), gfx 671 ui/base/clipboard/clipboard_aurax11.cc if (gfx::PNGCodec::Decode(data.GetData(), data.GetSize(), &bitmap)) gfx 775 ui/base/clipboard/clipboard_aurax11.cc if (gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, false, &output)) { gfx 65 ui/base/clipboard/clipboard_gtk.cc if (XFixesQueryExtension(gfx::GetXDisplay(), &event_base_, &ignored)) { gfx 66 ui/base/clipboard/clipboard_gtk.cc clipboard_atom_ = XInternAtom(gfx::GetXDisplay(), "CLIPBOARD", false); gfx 67 ui/base/clipboard/clipboard_gtk.cc XFixesSelectSelectionInput(gfx::GetXDisplay(), GetX11RootWindow(), gfx 75 ui/base/clipboard/clipboard_gtk.cc XFixesSelectSelectionInput(gfx::GetXDisplay(), GetX11RootWindow(), gfx 309 ui/base/clipboard/clipboard_gtk.cc GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap); gfx 538 ui/base/clipboard/clipboard_gtk.cc gfx::Canvas canvas(gfx::Size(gdk_pixbuf_get_width(pixbuf.get()), gfx 355 ui/base/clipboard/clipboard_unittest.cc const gfx::Size& size) { gfx 397 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(size, gfx::Size(image.width(), image.height())); gfx 430 ui/base/clipboard/clipboard_unittest.cc &clipboard(), fake_bitmap_1, sizeof(fake_bitmap_1), gfx::Size(4, 3)); gfx 445 ui/base/clipboard/clipboard_unittest.cc &clipboard(), fake_bitmap_2, sizeof(fake_bitmap_2), gfx::Size(2, 7)); gfx 455 ui/base/clipboard/clipboard_unittest.cc COMPILE_ASSERT(sizeof(UnsafeSize) == sizeof(gfx::Size), gfx 514 ui/base/clipboard/clipboard_unittest.cc gfx::Size size(0x20000000, 1); gfx 538 ui/base/clipboard/clipboard_unittest.cc gfx::Size size(0x0fffffff, 0x0fffffff); gfx 312 ui/base/clipboard/clipboard_win.cc gfx::Size(bitmap.width(), bitmap.height())); gfx 320 ui/base/clipboard/clipboard_win.cc const gfx::Size& size) { gfx 571 ui/base/clipboard/clipboard_win.cc gfx::Canvas canvas(gfx::Size(bitmap->bmiHeader.biWidth, gfx 41 ui/base/cocoa/base_view.h - (gfx::Rect)flipNSRectToRect:(NSRect)rect; gfx 42 ui/base/cocoa/base_view.h - (NSRect)flipRectToNSRect:(gfx::Rect)rect; gfx 18 ui/base/cocoa/focus_window_set.h UI_BASE_EXPORT void FocusWindowSet(const std::set<gfx::NativeWindow>& windows, gfx 11 ui/base/cursor/cursor.h namespace gfx { gfx 23 ui/base/cursor/cursor_loader.h const gfx::Display& display() const { gfx 28 ui/base/cursor/cursor_loader.h void set_display(const gfx::Display& display) { gfx 45 ui/base/cursor/cursor_loader.h const gfx::Point& hot) = 0; gfx 54 ui/base/cursor/cursor_loader.h const gfx::Point& hot, gfx 61 ui/base/cursor/cursor_loader.h virtual void SetPlatformCursor(gfx::NativeCursor* cursor) = 0; gfx 68 ui/base/cursor/cursor_loader.h gfx::Display display_; gfx 20 ui/base/cursor/cursor_loader_ozone.cc const gfx::Point& hot) { gfx 21 ui/base/cursor/cursor_loader_ozone.cc const gfx::ImageSkia* image = gfx 23 ui/base/cursor/cursor_loader_ozone.cc const gfx::ImageSkiaRep& image_rep = gfx 32 ui/base/cursor/cursor_loader_ozone.cc const gfx::Point& hot, gfx 46 ui/base/cursor/cursor_loader_ozone.cc void CursorLoaderOzone::SetPlatformCursor(gfx::NativeCursor* cursor) { gfx 23 ui/base/cursor/cursor_loader_ozone.h const gfx::Point& hot) OVERRIDE; gfx 26 ui/base/cursor/cursor_loader_ozone.h const gfx::Point& hot, gfx 29 ui/base/cursor/cursor_loader_ozone.h virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE; gfx 23 ui/base/cursor/cursor_loader_win.cc const wchar_t* GetCursorId(gfx::NativeCursor native_cursor) { gfx 137 ui/base/cursor/cursor_loader_win.cc const gfx::Point& hot) { gfx 143 ui/base/cursor/cursor_loader_win.cc const gfx::Point& hot, gfx 152 ui/base/cursor/cursor_loader_win.cc void CursorLoaderWin::SetPlatformCursor(gfx::NativeCursor* cursor) { gfx 21 ui/base/cursor/cursor_loader_win.h const gfx::Point& hot) OVERRIDE; gfx 24 ui/base/cursor/cursor_loader_win.h const gfx::Point& hot, gfx 27 ui/base/cursor/cursor_loader_win.h virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE; gfx 28 ui/base/cursor/cursor_loader_x11.cc int CursorShapeFromNative(const gfx::NativeCursor& native_cursor) { gfx 150 ui/base/cursor/cursor_loader_x11.cc : invisible_cursor_(CreateInvisibleCursor(), gfx::GetXDisplay()) { gfx 159 ui/base/cursor/cursor_loader_x11.cc const gfx::Point& hot) { gfx 160 ui/base/cursor/cursor_loader_x11.cc const gfx::ImageSkia* image = gfx 162 ui/base/cursor/cursor_loader_x11.cc const gfx::ImageSkiaRep& image_rep = image->GetRepresentation( gfx 165 ui/base/cursor/cursor_loader_x11.cc gfx::Point hotpoint = hot; gfx 176 ui/base/cursor/cursor_loader_x11.cc const gfx::Point& hot, gfx 178 ui/base/cursor/cursor_loader_x11.cc const gfx::ImageSkia* image = gfx 180 ui/base/cursor/cursor_loader_x11.cc const gfx::ImageSkiaRep& image_rep = image->GetRepresentation( gfx 193 ui/base/cursor/cursor_loader_x11.cc gfx::Point hotpoint = hot; gfx 209 ui/base/cursor/cursor_loader_x11.cc XcursorImagesLoadCursor(gfx::GetXDisplay(), x_images), x_images); gfx 222 ui/base/cursor/cursor_loader_x11.cc XFreeCursor(gfx::GetXDisplay(), it->second.first); gfx 226 ui/base/cursor/cursor_loader_x11.cc void CursorLoaderX11::SetPlatformCursor(gfx::NativeCursor* cursor) { gfx 237 ui/base/cursor/cursor_loader_x11.cc display().rotation() == gfx::Display::ROTATE_0) { gfx 246 ui/base/cursor/cursor_loader_x11.cc bool CursorLoaderX11::IsImageCursor(gfx::NativeCursor native_cursor) { gfx 252 ui/base/cursor/cursor_loader_x11.cc gfx::NativeCursor native_cursor) { gfx 28 ui/base/cursor/cursor_loader_x11.h const gfx::Point& hot) OVERRIDE; gfx 31 ui/base/cursor/cursor_loader_x11.h const gfx::Point& hot, gfx 34 ui/base/cursor/cursor_loader_x11.h virtual void SetPlatformCursor(gfx::NativeCursor* cursor) OVERRIDE; gfx 38 ui/base/cursor/cursor_loader_x11.h bool IsImageCursor(gfx::NativeCursor native_cursor); gfx 41 ui/base/cursor/cursor_loader_x11.h ::Cursor ImageCursorFromNative(gfx::NativeCursor native_cursor); gfx 22 ui/base/cursor/cursor_loader_x11_unittest.cc gfx::Point hotpoint(3,4); gfx 25 ui/base/cursor/cursor_loader_x11_unittest.cc gfx::Display::ROTATE_0, gfx 33 ui/base/cursor/cursor_loader_x11_unittest.cc gfx::Display::ROTATE_90, gfx 42 ui/base/cursor/cursor_loader_x11_unittest.cc gfx::Display::ROTATE_180, gfx 50 ui/base/cursor/cursor_loader_x11_unittest.cc gfx::Display::ROTATE_270, gfx 17 ui/base/cursor/cursor_util.cc gfx::Display::Rotation rotation, gfx 19 ui/base/cursor/cursor_util.cc gfx::Point* hotpoint) { gfx 21 ui/base/cursor/cursor_util.cc case gfx::Display::ROTATE_0: gfx 23 ui/base/cursor/cursor_util.cc case gfx::Display::ROTATE_90: gfx 28 ui/base/cursor/cursor_util.cc case gfx::Display::ROTATE_180: gfx 34 ui/base/cursor/cursor_util.cc case gfx::Display::ROTATE_270: gfx 49 ui/base/cursor/cursor_util.cc gfx::Size scaled_size = gfx::ToFlooredSize( gfx 50 ui/base/cursor/cursor_util.cc gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale)); gfx 57 ui/base/cursor/cursor_util.cc *hotpoint = gfx::ToFlooredPoint(gfx::ScalePoint(*hotpoint, scale)); gfx 21 ui/base/cursor/cursor_util.h gfx::Display::Rotation rotation, gfx 23 ui/base/cursor/cursor_util.h gfx::Point* hotpoint_in_out); gfx 163 ui/base/cursor/cursors_aura.cc gfx::Point* point) { gfx 171 ui/base/cursor/cursors_aura.cc gfx::Point(table[i].hot_1x.x, table[i].hot_1x.y) : gfx 172 ui/base/cursor/cursors_aura.cc gfx::Point(table[i].hot_2x.x, table[i].hot_2x.y); gfx 186 ui/base/cursor/cursors_aura.cc gfx::Point* point) { gfx 207 ui/base/cursor/cursors_aura.cc gfx::Point* point) { gfx 226 ui/base/cursor/cursors_aura.cc gfx::Point* point) { gfx 13 ui/base/cursor/cursors_aura.h namespace gfx { gfx 29 ui/base/cursor/cursors_aura.h gfx::Point* point); gfx 36 ui/base/cursor/cursors_aura.h gfx::Point* point); gfx 41 ui/base/cursor/cursors_aura.h GetCursorBitmap(const Cursor& cursor, SkBitmap* bitmap, gfx::Point* point); gfx 36 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc gfx::Point hotspot; gfx 47 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc const gfx::Point& hotspot) { gfx 61 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc void BitmapCursorFactoryOzone::SetCursor(gfx::AcceleratedWidget widget, gfx 68 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc gfx::AcceleratedWidget widget, gfx 23 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h BitmapCursorOzone(const SkBitmap& bitmap, const gfx::Point& hotspot) gfx 26 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h const gfx::Point& hotspot() { return hotspot_; } gfx 34 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h gfx::Point hotspot_; gfx 54 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h const gfx::Point& hotspot) OVERRIDE; gfx 57 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h virtual void SetCursor(gfx::AcceleratedWidget widget, gfx 62 ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h virtual void SetBitmapCursor(gfx::AcceleratedWidget window, gfx 32 ui/base/cursor/ozone/cursor_factory_ozone.cc const gfx::Point& hotspot) { gfx 45 ui/base/cursor/ozone/cursor_factory_ozone.cc void CursorFactoryOzone::SetCursor(gfx::AcceleratedWidget widget, gfx 34 ui/base/cursor/ozone/cursor_factory_ozone.h const gfx::Point& hotspot); gfx 44 ui/base/cursor/ozone/cursor_factory_ozone.h virtual void SetCursor(gfx::AcceleratedWidget widget, PlatformCursor cursor); gfx 24 ui/base/default_theme_provider.cc gfx::ImageSkia* DefaultThemeProvider::GetImageSkiaNamed(int id) const { gfx 28 ui/base/default_theme_provider.h virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const OVERRIDE; gfx 30 ui/base/dragdrop/drag_utils.cc class FileDragImageSource : public gfx::CanvasImageSource { gfx 33 ui/base/dragdrop/drag_utils.cc const gfx::ImageSkia& icon) gfx 43 ui/base/dragdrop/drag_utils.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 50 ui/base/dragdrop/drag_utils.cc const int flags = gfx::Canvas::TEXT_ALIGN_CENTER; gfx 51 ui/base/dragdrop/drag_utils.cc const gfx::FontList font_list; gfx 54 ui/base/dragdrop/drag_utils.cc const gfx::Rect rect(1, icon_.height() + kLinkDragImageVPadding + 1, gfx 60 ui/base/dragdrop/drag_utils.cc const gfx::Rect rect(0, icon_.height() + kLinkDragImageVPadding, gfx 64 ui/base/dragdrop/drag_utils.cc flags | gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 69 ui/base/dragdrop/drag_utils.cc gfx::Size CalculateSize(const gfx::ImageSkia& icon) const { gfx 72 ui/base/dragdrop/drag_utils.cc const int height = gfx::FontList().GetHeight() + icon.height() + gfx 74 ui/base/dragdrop/drag_utils.cc return gfx::Size(width, height); gfx 78 ui/base/dragdrop/drag_utils.cc const gfx::ImageSkia icon_; gfx 86 ui/base/dragdrop/drag_utils.cc const gfx::ImageSkia& icon, gfx 89 ui/base/dragdrop/drag_utils.cc gfx::CanvasImageSource* source = new FileDragImageSource(file_name, icon); gfx 90 ui/base/dragdrop/drag_utils.cc gfx::Size size = source->size(); gfx 92 ui/base/dragdrop/drag_utils.cc gfx::ImageSkia image = gfx::ImageSkia(source, size); gfx 94 ui/base/dragdrop/drag_utils.cc gfx::Vector2d cursor_offset(size.width() / 2, kLinkDragImageVPadding); gfx 98 ui/base/dragdrop/drag_utils.cc void SetDragImageOnDataObject(const gfx::Canvas& canvas, gfx 99 ui/base/dragdrop/drag_utils.cc const gfx::Size& size, gfx 100 ui/base/dragdrop/drag_utils.cc const gfx::Vector2d& cursor_offset, gfx 102 ui/base/dragdrop/drag_utils.cc gfx::ImageSkia image = gfx::ImageSkia(canvas.ExtractImageRep()); gfx 15 ui/base/dragdrop/drag_utils.h namespace gfx { gfx 34 ui/base/dragdrop/drag_utils.h const gfx::ImageSkia& icon, gfx 40 ui/base/dragdrop/drag_utils.h UI_BASE_EXPORT void SetDragImageOnDataObject(const gfx::Canvas& canvas, gfx 41 ui/base/dragdrop/drag_utils.h const gfx::Size& size, gfx 42 ui/base/dragdrop/drag_utils.h const gfx::Vector2d& cursor_offset, gfx 48 ui/base/dragdrop/drag_utils.h UI_BASE_EXPORT void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia, gfx 49 ui/base/dragdrop/drag_utils.h const gfx::Size& size, gfx 50 ui/base/dragdrop/drag_utils.h const gfx::Vector2d& cursor_offset, gfx 16 ui/base/dragdrop/drag_utils_aura.cc void SetDragImageOnDataObject(const gfx::ImageSkia& image, gfx 17 ui/base/dragdrop/drag_utils_aura.cc const gfx::Size& size, gfx 18 ui/base/dragdrop/drag_utils_aura.cc const gfx::Vector2d& cursor_offset, gfx 24 ui/base/dragdrop/drag_utils_win.cc const gfx::Size& size, gfx 25 ui/base/dragdrop/drag_utils_win.cc const gfx::Vector2d& cursor_offset, gfx 35 ui/base/dragdrop/drag_utils_win.cc sdi.ptOffset = gfx::PointAtOffsetFromOrigin(cursor_offset).ToPOINT(); gfx 45 ui/base/dragdrop/drag_utils_win.cc gfx::CreateBitmapHeader(sk_bitmap.width(), sk_bitmap.height(), &header); gfx 59 ui/base/dragdrop/drag_utils_win.cc void SetDragImageOnDataObject(const gfx::ImageSkia& image_skia, gfx 60 ui/base/dragdrop/drag_utils_win.cc const gfx::Size& size, gfx 61 ui/base/dragdrop/drag_utils_win.cc const gfx::Vector2d& cursor_offset, gfx 15 ui/base/dragdrop/drop_target_event.cc const gfx::Point& location, gfx 16 ui/base/dragdrop/drop_target_event.cc const gfx::Point& root_location, gfx 16 ui/base/dragdrop/drop_target_event.h const gfx::Point& location, gfx 17 ui/base/dragdrop/drop_target_event.h const gfx::Point& root_location, gfx 29 ui/base/dragdrop/os_exchange_data.h namespace gfx { gfx 140 ui/base/dragdrop/os_exchange_data.h virtual void SetDragImage(const gfx::ImageSkia& image, gfx 141 ui/base/dragdrop/os_exchange_data.h const gfx::Vector2d& cursor_offset) = 0; gfx 142 ui/base/dragdrop/os_exchange_data.h virtual const gfx::ImageSkia& GetDragImage() const = 0; gfx 143 ui/base/dragdrop/os_exchange_data.h virtual const gfx::Vector2d& GetDragImageOffset() const = 0; gfx 175 ui/base/dragdrop/os_exchange_data_provider_aura.cc const gfx::ImageSkia& image, gfx 176 ui/base/dragdrop/os_exchange_data_provider_aura.cc const gfx::Vector2d& cursor_offset) { gfx 181 ui/base/dragdrop/os_exchange_data_provider_aura.cc const gfx::ImageSkia& OSExchangeDataProviderAura::GetDragImage() const { gfx 185 ui/base/dragdrop/os_exchange_data_provider_aura.cc const gfx::Vector2d& gfx 57 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual void SetDragImage(const gfx::ImageSkia& image, gfx 58 ui/base/dragdrop/os_exchange_data_provider_aura.h const gfx::Vector2d& cursor_offset) OVERRIDE; gfx 59 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual const gfx::ImageSkia& GetDragImage() const OVERRIDE; gfx 60 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual const gfx::Vector2d& GetDragImageOffset() const OVERRIDE; gfx 87 ui/base/dragdrop/os_exchange_data_provider_aura.h gfx::ImageSkia drag_image_; gfx 88 ui/base/dragdrop/os_exchange_data_provider_aura.h gfx::Vector2d drag_image_offset_; gfx 51 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc : x_display_(gfx::GetXDisplay()), gfx 64 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc : x_display_(gfx::GetXDisplay()), gfx 483 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const gfx::ImageSkia& image, gfx 484 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const gfx::Vector2d& cursor_offset) { gfx 489 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const gfx::ImageSkia& OSExchangeDataProviderAuraX11::GetDragImage() const { gfx 493 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc const gfx::Vector2d& OSExchangeDataProviderAuraX11::GetDragImageOffset() const { gfx 95 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual void SetDragImage(const gfx::ImageSkia& image, gfx 96 ui/base/dragdrop/os_exchange_data_provider_aurax11.h const gfx::Vector2d& cursor_offset) OVERRIDE; gfx 97 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual const gfx::ImageSkia& GetDragImage() const OVERRIDE; gfx 98 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual const gfx::Vector2d& GetDragImageOffset() const OVERRIDE; gfx 115 ui/base/dragdrop/os_exchange_data_provider_aurax11.h gfx::ImageSkia drag_image_; gfx 116 ui/base/dragdrop/os_exchange_data_provider_aurax11.h gfx::Vector2d drag_image_offset_; gfx 543 ui/base/dragdrop/os_exchange_data_provider_win.cc const gfx::ImageSkia& image, gfx 544 ui/base/dragdrop/os_exchange_data_provider_win.cc const gfx::Vector2d& cursor_offset) { gfx 549 ui/base/dragdrop/os_exchange_data_provider_win.cc const gfx::ImageSkia& OSExchangeDataProviderWin::GetDragImage() const { gfx 553 ui/base/dragdrop/os_exchange_data_provider_win.cc const gfx::Vector2d& OSExchangeDataProviderWin::GetDragImageOffset() const { gfx 185 ui/base/dragdrop/os_exchange_data_provider_win.h virtual void SetDragImage(const gfx::ImageSkia& image, gfx 186 ui/base/dragdrop/os_exchange_data_provider_win.h const gfx::Vector2d& cursor_offset) OVERRIDE; gfx 187 ui/base/dragdrop/os_exchange_data_provider_win.h virtual const gfx::ImageSkia& GetDragImage() const OVERRIDE; gfx 188 ui/base/dragdrop/os_exchange_data_provider_win.h virtual const gfx::Vector2d& GetDragImageOffset() const OVERRIDE; gfx 197 ui/base/dragdrop/os_exchange_data_provider_win.h gfx::ImageSkia drag_image_; gfx 198 ui/base/dragdrop/os_exchange_data_provider_win.h gfx::Vector2d drag_image_offset_; gfx 16 ui/base/gtk/gtk_screen_util.cc gfx::Point ScreenPoint(GtkWidget* widget) { gfx 20 ui/base/gtk/gtk_screen_util.cc return gfx::Point(x, y); gfx 23 ui/base/gtk/gtk_screen_util.cc gfx::Point ClientPoint(GtkWidget* widget) { gfx 26 ui/base/gtk/gtk_screen_util.cc return gfx::Point(x, y); gfx 29 ui/base/gtk/gtk_screen_util.cc gfx::Vector2d GetWidgetScreenOffset(GtkWidget* widget) { gfx 34 ui/base/gtk/gtk_screen_util.cc return gfx::Vector2d(0, 0); gfx 47 ui/base/gtk/gtk_screen_util.cc return gfx::Vector2d(x, y); gfx 50 ui/base/gtk/gtk_screen_util.cc gfx::Rect GetWidgetScreenBounds(GtkWidget* widget) { gfx 54 ui/base/gtk/gtk_screen_util.cc return gfx::Rect(PointAtOffsetFromOrigin(GetWidgetScreenOffset(widget)), gfx 55 ui/base/gtk/gtk_screen_util.cc gfx::Size(allocation.width, allocation.height)); gfx 21 ui/base/gtk/gtk_screen_util.h UI_BASE_EXPORT gfx::Point ScreenPoint(GtkWidget* widget); gfx 24 ui/base/gtk/gtk_screen_util.h UI_BASE_EXPORT gfx::Point ClientPoint(GtkWidget* widget); gfx 27 ui/base/gtk/gtk_screen_util.h UI_BASE_EXPORT gfx::Vector2d GetWidgetScreenOffset(GtkWidget* widget); gfx 30 ui/base/gtk/gtk_screen_util.h UI_BASE_EXPORT gfx::Rect GetWidgetScreenBounds(GtkWidget* widget); gfx 376 ui/base/ime/chromeos/character_composer.cc XDisplay* display = gfx::GetXDisplay(); gfx 16 ui/base/ime/chromeos/ime_bridge.h namespace gfx { gfx 122 ui/base/ime/chromeos/ime_bridge.h virtual void SetCursorBounds(const gfx::Rect& cursor_bounds, gfx 123 ui/base/ime/chromeos/ime_bridge.h const gfx::Rect& composition_head) = 0; gfx 32 ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc const gfx::Rect& cursor_bounds, gfx 33 ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc const gfx::Rect& composition_head) { gfx 36 ui/base/ime/chromeos/mock_ime_candidate_window_handler.h virtual void SetCursorBounds(const gfx::Rect& cursor_bounds, gfx 37 ui/base/ime/chromeos/mock_ime_candidate_window_handler.h const gfx::Rect& composition_head) OVERRIDE; gfx 18 ui/base/ime/composition_text.cc selection = gfx::Range(); gfx 50 ui/base/ime/composition_text.h gfx::Range selection; gfx 45 ui/base/ime/composition_text_util_pango.cc composition->selection = gfx::Range(cursor_offset); gfx 35 ui/base/ime/dummy_text_input_client.cc gfx::NativeWindow DummyTextInputClient::GetAttachedWindow() const { gfx 51 ui/base/ime/dummy_text_input_client.cc gfx::Rect DummyTextInputClient::GetCaretBounds() const { gfx 52 ui/base/ime/dummy_text_input_client.cc return gfx::Rect(); gfx 57 ui/base/ime/dummy_text_input_client.cc gfx::Rect* rect) const { gfx 65 ui/base/ime/dummy_text_input_client.cc bool DummyTextInputClient::GetTextRange(gfx::Range* range) const { gfx 69 ui/base/ime/dummy_text_input_client.cc bool DummyTextInputClient::GetCompositionTextRange(gfx::Range* range) const { gfx 73 ui/base/ime/dummy_text_input_client.cc bool DummyTextInputClient::GetSelectionRange(gfx::Range* range) const { gfx 77 ui/base/ime/dummy_text_input_client.cc bool DummyTextInputClient::SetSelectionRange(const gfx::Range& range) { gfx 81 ui/base/ime/dummy_text_input_client.cc bool DummyTextInputClient::DeleteRange(const gfx::Range& range) { gfx 85 ui/base/ime/dummy_text_input_client.cc bool DummyTextInputClient::GetTextFromRange(const gfx::Range& range, gfx 102 ui/base/ime/dummy_text_input_client.cc void DummyTextInputClient::EnsureCaretInRect(const gfx::Rect& rect) { gfx 25 ui/base/ime/dummy_text_input_client.h virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; gfx 29 ui/base/ime/dummy_text_input_client.h virtual gfx::Rect GetCaretBounds() const OVERRIDE; gfx 31 ui/base/ime/dummy_text_input_client.h gfx::Rect* rect) const OVERRIDE; gfx 33 ui/base/ime/dummy_text_input_client.h virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; gfx 34 ui/base/ime/dummy_text_input_client.h virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; gfx 35 ui/base/ime/dummy_text_input_client.h virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; gfx 36 ui/base/ime/dummy_text_input_client.h virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; gfx 37 ui/base/ime/dummy_text_input_client.h virtual bool DeleteRange(const gfx::Range& range) OVERRIDE; gfx 38 ui/base/ime/dummy_text_input_client.h virtual bool GetTextFromRange(const gfx::Range& range, gfx 44 ui/base/ime/dummy_text_input_client.h virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; gfx 15 ui/base/ime/input_method_base.h namespace gfx { gfx 166 ui/base/ime/input_method_chromeos.cc const gfx::Rect rect = GetTextInputClient()->GetCaretBounds(); gfx 168 ui/base/ime/input_method_chromeos.cc gfx::Rect composition_head; gfx 180 ui/base/ime/input_method_chromeos.cc gfx::Range text_range; gfx 181 ui/base/ime/input_method_chromeos.cc gfx::Range selection_range; gfx 187 ui/base/ime/input_method_chromeos.cc previous_selection_range_ = gfx::Range::InvalidRange(); gfx 600 ui/base/ime/input_method_chromeos.cc out_composition->selection = gfx::Range(cursor_offset); gfx 128 ui/base/ime/input_method_chromeos.h gfx::Range previous_selection_range_; gfx 264 ui/base/ime/input_method_chromeos_unittest.cc virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE { gfx 265 ui/base/ime/input_method_chromeos_unittest.cc return static_cast<gfx::NativeWindow>(NULL); gfx 276 ui/base/ime/input_method_chromeos_unittest.cc virtual gfx::Rect GetCaretBounds() const OVERRIDE { gfx 280 ui/base/ime/input_method_chromeos_unittest.cc gfx::Rect* rect) const OVERRIDE { gfx 287 ui/base/ime/input_method_chromeos_unittest.cc virtual bool GetTextRange(gfx::Range* range) const OVERRIDE { gfx 291 ui/base/ime/input_method_chromeos_unittest.cc virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE { gfx 294 ui/base/ime/input_method_chromeos_unittest.cc virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE { gfx 299 ui/base/ime/input_method_chromeos_unittest.cc virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE { gfx 302 ui/base/ime/input_method_chromeos_unittest.cc virtual bool DeleteRange(const gfx::Range& range) OVERRIDE { return false; } gfx 303 ui/base/ime/input_method_chromeos_unittest.cc virtual bool GetTextFromRange(const gfx::Range& range, gfx 315 ui/base/ime/input_method_chromeos_unittest.cc virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE {} gfx 338 ui/base/ime/input_method_chromeos_unittest.cc caret_bounds_ = gfx::Rect(); gfx 359 ui/base/ime/input_method_chromeos_unittest.cc gfx::Rect caret_bounds_; gfx 360 ui/base/ime/input_method_chromeos_unittest.cc gfx::Range text_range_; gfx 361 ui/base/ime/input_method_chromeos_unittest.cc gfx::Range selection_range_; gfx 561 ui/base/ime/input_method_chromeos_unittest.cc caret_bounds_ = gfx::Rect(1, 2, 3, 4); gfx 566 ui/base/ime/input_method_chromeos_unittest.cc caret_bounds_ = gfx::Rect(0, 2, 3, 4); gfx 571 ui/base/ime/input_method_chromeos_unittest.cc caret_bounds_ = gfx::Rect(0, 2, 3, 4); // unchanged gfx 789 ui/base/ime/input_method_chromeos_unittest.cc text_range_ = gfx::Range(0, 6); gfx 790 ui/base/ime/input_method_chromeos_unittest.cc selection_range_ = gfx::Range(3, 3); gfx 817 ui/base/ime/input_method_chromeos_unittest.cc text_range_ = gfx::Range(0, 6); gfx 818 ui/base/ime/input_method_chromeos_unittest.cc selection_range_ = gfx::Range(2, 5); gfx 844 ui/base/ime/input_method_chromeos_unittest.cc text_range_ = gfx::Range(5, 10); gfx 845 ui/base/ime/input_method_chromeos_unittest.cc selection_range_ = gfx::Range(7, 9); gfx 872 ui/base/ime/input_method_chromeos_unittest.cc text_range_ = gfx::Range(0, 0); gfx 873 ui/base/ime/input_method_chromeos_unittest.cc selection_range_ = gfx::Range::InvalidRange(); gfx 33 ui/base/ime/input_method_factory.cc gfx::AcceleratedWidget widget) { gfx 25 ui/base/ime/input_method_factory.h gfx::AcceleratedWidget widget); gfx 158 ui/base/ime/input_method_win.cc gfx::Rect screen_bounds(GetTextInputClient()->GetCaretBounds()); gfx 167 ui/base/ime/input_method_win.cc gfx::Rect caret_rect(gfx::Point(window_point.x, window_point.y), gfx 248 ui/base/ime/input_method_win.cc gfx::ShowSystemMenu(window_handle); gfx 398 ui/base/ime/input_method_win.cc gfx::Range text_range; gfx 403 ui/base/ime/input_method_win.cc gfx::Range target_range; gfx 465 ui/base/ime/input_method_win.cc gfx::Range text_range; gfx 469 ui/base/ime/input_method_win.cc gfx::Range selection_range; gfx 521 ui/base/ime/input_method_win.cc gfx::Rect rect; gfx 26 ui/base/ime/linux/fake_input_method_context.cc const gfx::Rect& /* caret_bounds */) { gfx 22 ui/base/ime/linux/fake_input_method_context.h virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) OVERRIDE; gfx 12 ui/base/ime/linux/linux_input_method_context.h namespace gfx { gfx 41 ui/base/ime/linux/linux_input_method_context.h virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) = 0; gfx 35 ui/base/ime/remote_input_method_delegate_win.h const std::vector<gfx::Rect>& composition_character_bounds) = 0; gfx 83 ui/base/ime/remote_input_method_win.cc std::vector<gfx::Rect> GetCompositionCharacterBounds( gfx 86 ui/base/ime/remote_input_method_win.cc return std::vector<gfx::Rect>(); gfx 88 ui/base/ime/remote_input_method_win.cc std::vector<gfx::Rect> bounds; gfx 90 ui/base/ime/remote_input_method_win.cc gfx::Range range; gfx 93 ui/base/ime/remote_input_method_win.cc gfx::Rect rect; gfx 152 ui/base/ime/remote_input_method_win.cc std::vector<gfx::Rect> prev_bounds; gfx 226 ui/base/ime/remote_input_method_win.cc std::vector<gfx::Rect> prev_rects; gfx 356 ui/base/ime/remote_input_method_win.cc std::vector<gfx::Rect> composition_character_bounds_; gfx 366 ui/base/ime/remote_input_method_win.cc bool IsRemoteInputMethodWinRequired(gfx::AcceleratedWidget widget) { gfx 44 ui/base/ime/remote_input_method_win.h bool IsRemoteInputMethodWinRequired(gfx::AcceleratedWidget widget); gfx 64 ui/base/ime/remote_input_method_win_unittest.cc caret_bounds_ = gfx::Rect(); gfx 76 ui/base/ime/remote_input_method_win_unittest.cc void set_caret_bounds(const gfx::Rect& caret_bounds) { gfx 80 ui/base/ime/remote_input_method_win_unittest.cc const std::vector<gfx::Rect>& composition_character_bounds) { gfx 107 ui/base/ime/remote_input_method_win_unittest.cc virtual gfx::Rect GetCaretBounds() const { gfx 111 ui/base/ime/remote_input_method_win_unittest.cc gfx::Rect* rect) const OVERRIDE { gfx 123 ui/base/ime/remote_input_method_win_unittest.cc virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE { gfx 126 ui/base/ime/remote_input_method_win_unittest.cc *range = gfx::Range(0, composition_character_bounds_.size()); gfx 138 ui/base/ime/remote_input_method_win_unittest.cc gfx::Rect caret_bounds_; gfx 139 ui/base/ime/remote_input_method_win_unittest.cc std::vector<gfx::Rect> composition_character_bounds_; gfx 189 ui/base/ime/remote_input_method_win_unittest.cc const std::vector<gfx::Rect>& composition_character_bounds() const { gfx 206 ui/base/ime/remote_input_method_win_unittest.cc const std::vector<gfx::Rect>& composition_character_bounds) OVERRIDE { gfx 215 ui/base/ime/remote_input_method_win_unittest.cc std::vector<gfx::Rect> composition_character_bounds_; gfx 359 ui/base/ime/remote_input_method_win_unittest.cc mock_text_input_client.set_caret_bounds(gfx::Rect(10, 0, 10, 20)); gfx 372 ui/base/ime/remote_input_method_win_unittest.cc EXPECT_EQ(gfx::Rect(10, 0, 10, 20), gfx 390 ui/base/ime/remote_input_method_win_unittest.cc mock_text_input_client.set_caret_bounds(gfx::Rect(10, 0, 10, 20)); gfx 403 ui/base/ime/remote_input_method_win_unittest.cc EXPECT_EQ(gfx::Rect(10, 0, 10, 20), gfx 424 ui/base/ime/remote_input_method_win_unittest.cc mock_text_input_client.set_caret_bounds(gfx::Rect(10, 0, 10, 20)); gfx 436 ui/base/ime/remote_input_method_win_unittest.cc EXPECT_EQ(gfx::Rect(10, 0, 10, 20), gfx 447 ui/base/ime/remote_input_method_win_unittest.cc mock_text_input_client.set_caret_bounds(gfx::Rect(10, 20, 30, 40)); gfx 451 ui/base/ime/remote_input_method_win_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 30, 40), gfx 459 ui/base/ime/remote_input_method_win_unittest.cc std::vector<gfx::Rect> bounds; gfx 460 ui/base/ime/remote_input_method_win_unittest.cc bounds.push_back(gfx::Rect(10, 20, 30, 40)); gfx 461 ui/base/ime/remote_input_method_win_unittest.cc bounds.push_back(gfx::Rect(40, 30, 20, 10)); gfx 486 ui/base/ime/remote_input_method_win_unittest.cc std::vector<gfx::Rect> caret_bounds; gfx 487 ui/base/ime/remote_input_method_win_unittest.cc caret_bounds.push_back(gfx::Rect(5, 15, 25, 35)); gfx 490 ui/base/ime/remote_input_method_win_unittest.cc std::vector<gfx::Rect> composition_bounds; gfx 491 ui/base/ime/remote_input_method_win_unittest.cc composition_bounds.push_back(gfx::Rect(10, 20, 30, 40)); gfx 492 ui/base/ime/remote_input_method_win_unittest.cc composition_bounds.push_back(gfx::Rect(40, 30, 20, 10)); gfx 539 ui/base/ime/remote_input_method_win_unittest.cc mock_text_input_client.set_caret_bounds(gfx::Rect(10, 20, 30, 40)); gfx 18 ui/base/ime/text_input_client.h namespace gfx { gfx 61 ui/base/ime/text_input_client.h virtual gfx::NativeWindow GetAttachedWindow() const = 0; gfx 77 ui/base/ime/text_input_client.h virtual gfx::Rect GetCaretBounds() const = 0; gfx 85 ui/base/ime/text_input_client.h gfx::Rect* rect) const = 0; gfx 95 ui/base/ime/text_input_client.h virtual bool GetTextRange(gfx::Range* range) const = 0; gfx 99 ui/base/ime/text_input_client.h virtual bool GetCompositionTextRange(gfx::Range* range) const = 0; gfx 103 ui/base/ime/text_input_client.h virtual bool GetSelectionRange(gfx::Range* range) const = 0; gfx 108 ui/base/ime/text_input_client.h virtual bool SetSelectionRange(const gfx::Range& range) = 0; gfx 118 ui/base/ime/text_input_client.h virtual bool DeleteRange(const gfx::Range& range) = 0; gfx 124 ui/base/ime/text_input_client.h virtual bool GetTextFromRange(const gfx::Range& range, gfx 149 ui/base/ime/text_input_client.h virtual void EnsureCaretInRect(const gfx::Rect& rect) = 0; gfx 330 ui/base/ime/win/imm32_manager.cc composition->selection = gfx::Range(cursor); gfx 332 ui/base/ime/win/imm32_manager.cc composition->selection = gfx::Range(0); gfx 457 ui/base/ime/win/imm32_manager.cc const gfx::Rect& caret_rect) { gfx 229 ui/base/ime/win/imm32_manager.h void UpdateCaretRect(HWND window_handle, const gfx::Rect& caret_rect); gfx 320 ui/base/ime/win/imm32_manager.h gfx::Rect caret_rect_; gfx 16 ui/base/l10n/l10n_font_util.cc const gfx::Font& font) { gfx 25 ui/base/l10n/l10n_font_util.cc const gfx::Font& font) { gfx 33 ui/base/l10n/l10n_font_util.cc gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id, gfx 35 ui/base/l10n/l10n_font_util.cc const gfx::Font& font) { gfx 36 ui/base/l10n/l10n_font_util.cc return gfx::Size(GetLocalizedContentsWidthForFont(col_resource_id, font), gfx 11 ui/base/l10n/l10n_font_util.h namespace gfx { gfx 22 ui/base/l10n/l10n_font_util.h const gfx::Font& font); gfx 24 ui/base/l10n/l10n_font_util.h const gfx::Font& font); gfx 25 ui/base/l10n/l10n_font_util.h UI_BASE_EXPORT gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id, gfx 27 ui/base/l10n/l10n_font_util.h const gfx::Font& font); gfx 156 ui/base/l10n/l10n_util_win.cc double dpi_scale = gfx::GetDPIScale(); gfx 157 ui/base/l10n/l10n_util_win.cc if (gfx::Display::HasForceDeviceScaleFactor()) { gfx 96 ui/base/layout.cc gfx::ImageSkia::SetSupportedScales(scales); gfx 122 ui/base/layout.cc if (gfx::IsHighDPIEnabled()) gfx 123 ui/base/layout.cc return gfx::win::GetDeviceScaleFactor(); gfx 182 ui/base/layout.cc ScaleFactor GetScaleFactorForNativeView(gfx::NativeView view) { gfx 183 ui/base/layout.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(view); gfx 185 ui/base/layout.cc gfx::Display display = screen->GetDisplayNearestWindow(view); gfx 71 ui/base/layout.h UI_BASE_EXPORT ScaleFactor GetScaleFactorForNativeView(gfx::NativeView view); gfx 43 ui/base/models/menu_model.cc const gfx::FontList* MenuModel::GetLabelFontListAt(int index) const { gfx 15 ui/base/models/menu_model.h namespace gfx { gfx 76 ui/base/models/menu_model.h virtual const gfx::FontList* GetLabelFontListAt(int index) const; gfx 92 ui/base/models/menu_model.h virtual bool GetIconAt(int index, gfx::Image* icon) = 0; gfx 21 ui/base/models/simple_menu_model.cc gfx::Image icon; gfx 57 ui/base/models/simple_menu_model.cc int command_id, gfx::Image* image_skia) const { gfx 89 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_COMMAND, -1, NULL, NULL, NORMAL_SEPARATOR }; gfx 100 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_CHECK, -1, NULL, NULL, NORMAL_SEPARATOR }; gfx 112 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_RADIO, group_id, NULL, NULL, gfx 138 ui/base/models/simple_menu_model.cc base::string16(), gfx::Image(), TYPE_SEPARATOR, -1, NULL, NULL, gfx 152 ui/base/models/simple_menu_model.cc base::string16(), gfx::Image(), TYPE_BUTTON_ITEM, -1, NULL, gfx 161 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_SUBMENU, -1, model, NULL, NORMAL_SEPARATOR }; gfx 174 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_COMMAND, -1, NULL, NULL, NORMAL_SEPARATOR }; gfx 191 ui/base/models/simple_menu_model.cc base::string16(), gfx::Image(), TYPE_SEPARATOR, -1, NULL, NULL, gfx 200 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_CHECK, -1, NULL, NULL, NORMAL_SEPARATOR }; gfx 214 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_RADIO, group_id, NULL, NULL, gfx 230 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_SUBMENU, -1, model, NULL, gfx 246 ui/base/models/simple_menu_model.cc void SimpleMenuModel::SetIcon(int index, const gfx::Image& icon) { gfx 347 ui/base/models/simple_menu_model.cc bool SimpleMenuModel::GetIconAt(int index, gfx::Image* icon) { gfx 14 ui/base/models/simple_menu_model.h namespace gfx { gfx 52 ui/base/models/simple_menu_model.h gfx::Image* icon) const; gfx 127 ui/base/models/simple_menu_model.h void SetIcon(int index, const gfx::Image& icon); gfx 156 ui/base/models/simple_menu_model.h virtual bool GetIconAt(int index, gfx::Image* icon) OVERRIDE; gfx 41 ui/base/models/table_model.cc gfx::ImageSkia TableModel::GetIcon(int row) { gfx 42 ui/base/models/table_model.cc return gfx::ImageSkia(); gfx 14 ui/base/models/table_model.h namespace gfx { gfx 45 ui/base/models/table_model.h virtual gfx::ImageSkia GetIcon(int row); gfx 13 ui/base/models/tree_model.h namespace gfx { gfx 88 ui/base/models/tree_model.h virtual void GetIcons(std::vector<gfx::ImageSkia>* icons) {} gfx 14 ui/base/nine_image_painter_factory.cc std::vector<gfx::ImageSkia> ImageIdsToImages(const int image_ids[]) { gfx 16 ui/base/nine_image_painter_factory.cc std::vector<gfx::ImageSkia> images(9); gfx 26 ui/base/nine_image_painter_factory.cc scoped_ptr<gfx::NineImagePainter> CreateNineImagePainter( gfx 28 ui/base/nine_image_painter_factory.cc return scoped_ptr<gfx::NineImagePainter>( gfx 29 ui/base/nine_image_painter_factory.cc new gfx::NineImagePainter(ImageIdsToImages(image_ids))); gfx 27 ui/base/nine_image_painter_factory.h namespace gfx { gfx 35 ui/base/nine_image_painter_factory.h UI_BASE_EXPORT scoped_ptr<gfx::NineImagePainter> CreateNineImagePainter( gfx 75 ui/base/resource/resource_bundle.cc gfx::FontList::SetDefaultFontDescription(font_family); gfx 80 ui/base/resource/resource_bundle.cc gfx::PlatformFontPango::SetDefaultFontDescription(font_family); gfx 83 ui/base/resource/resource_bundle.cc gfx::FontList::SetDefaultFontDescription(std::string()); gfx 96 ui/base/resource/resource_bundle.cc class ResourceBundle::ResourceBundleImageSource : public gfx::ImageSkiaSource { gfx 103 ui/base/resource/resource_bundle.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { gfx 110 ui/base/resource/resource_bundle.cc return gfx::ImageSkiaRep(); gfx 117 ui/base/resource/resource_bundle.cc gfx::ToCeiledInt(image.width() * scale), gfx 118 ui/base/resource/resource_bundle.cc gfx::ToCeiledInt(image.height() * scale)); gfx 137 ui/base/resource/resource_bundle.cc return gfx::ImageSkiaRep(image, scale); gfx 335 ui/base/resource/resource_bundle.cc gfx::ImageSkia* ResourceBundle::GetImageSkiaNamed(int resource_id) { gfx 336 ui/base/resource/resource_bundle.cc const gfx::ImageSkia* image = GetImageNamed(resource_id).ToImageSkia(); gfx 337 ui/base/resource/resource_bundle.cc return const_cast<gfx::ImageSkia*>(image); gfx 340 ui/base/resource/resource_bundle.cc gfx::Image& ResourceBundle::GetImageNamed(int resource_id) { gfx 348 ui/base/resource/resource_bundle.cc gfx::Image image; gfx 369 ui/base/resource/resource_bundle.cc gfx::ImageSkia image_skia(new ResourceBundleImageSource(this, resource_id), gfx 378 ui/base/resource/resource_bundle.cc image = gfx::Image(image_skia); gfx 392 ui/base/resource/resource_bundle.cc gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id) { gfx 493 ui/base/resource/resource_bundle.cc const gfx::FontList& ResourceBundle::GetFontList(FontStyle style) { gfx 518 ui/base/resource/resource_bundle.cc const gfx::Font& ResourceBundle::GetFont(FontStyle style) { gfx 559 ui/base/resource/resource_bundle.cc const gfx::Display display = gfx 560 ui/base/resource/resource_bundle.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 566 ui/base/resource/resource_bundle.cc gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 583 ui/base/resource/resource_bundle.cc if (gfx::IsHighDPIEnabled()) { gfx 587 ui/base/resource/resource_bundle.cc if (gfx::GetDPIScale() > 1.25) { gfx 655 ui/base/resource/resource_bundle.cc base_font_list_.reset(new gfx::FontList()); gfx 658 ui/base/resource/resource_bundle.cc bold_font_list_.reset(new gfx::FontList()); gfx 660 ui/base/resource/resource_bundle.cc base_font_list_->GetFontStyle() | gfx::Font::BOLD); gfx 664 ui/base/resource/resource_bundle.cc small_font_list_.reset(new gfx::FontList()); gfx 670 ui/base/resource/resource_bundle.cc small_bold_font_list_.reset(new gfx::FontList()); gfx 672 ui/base/resource/resource_bundle.cc small_font_list_->GetFontStyle() | gfx::Font::BOLD); gfx 676 ui/base/resource/resource_bundle.cc medium_font_list_.reset(new gfx::FontList()); gfx 682 ui/base/resource/resource_bundle.cc medium_bold_font_list_.reset(new gfx::FontList()); gfx 684 ui/base/resource/resource_bundle.cc medium_font_list_->GetFontStyle() | gfx::Font::BOLD); gfx 688 ui/base/resource/resource_bundle.cc large_font_list_.reset(new gfx::FontList()); gfx 694 ui/base/resource/resource_bundle.cc large_bold_font_list_.reset(new gfx::FontList()); gfx 696 ui/base/resource/resource_bundle.cc large_font_list_->GetFontStyle() | gfx::Font::BOLD); gfx 701 ui/base/resource/resource_bundle.cc scoped_ptr<gfx::FontList> ResourceBundle::GetFontListFromDelegate( gfx 704 ui/base/resource/resource_bundle.cc scoped_ptr<gfx::Font> font = delegate_->GetFont(style); gfx 706 ui/base/resource/resource_bundle.cc return scoped_ptr<gfx::FontList>(new gfx::FontList(*font)); gfx 707 ui/base/resource/resource_bundle.cc return scoped_ptr<gfx::FontList>(); gfx 727 ui/base/resource/resource_bundle.cc gfx::JPEGCodec::Decode(memory->front(), memory->size())); gfx 762 ui/base/resource/resource_bundle.cc gfx::Image& ResourceBundle::GetEmptyImage() { gfx 771 ui/base/resource/resource_bundle.cc empty_image_ = gfx::Image::CreateFrom1xBitmap(bitmap); gfx 822 ui/base/resource/resource_bundle.cc return gfx::PNGCodec::Decode(buf, size, bitmap); gfx 87 ui/base/resource/resource_bundle.h virtual gfx::Image GetImageNamed(int resource_id) = 0; gfx 91 ui/base/resource/resource_bundle.h virtual gfx::Image GetNativeImageNamed(int resource_id, ImageRTL rtl) = 0; gfx 110 ui/base/resource/resource_bundle.h virtual scoped_ptr<gfx::Font> GetFont(FontStyle style) = 0; gfx 187 ui/base/resource/resource_bundle.h gfx::ImageSkia* GetImageSkiaNamed(int resource_id); gfx 191 ui/base/resource/resource_bundle.h gfx::Image& GetImageNamed(int resource_id); gfx 202 ui/base/resource/resource_bundle.h gfx::Image& GetNativeImageNamed(int resource_id, ImageRTL rtl); gfx 205 ui/base/resource/resource_bundle.h gfx::Image& GetNativeImageNamed(int resource_id); gfx 235 ui/base/resource/resource_bundle.h const gfx::FontList& GetFontList(FontStyle style); gfx 238 ui/base/resource/resource_bundle.h const gfx::Font& GetFont(FontStyle style); gfx 312 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> GetFontListFromDelegate(FontStyle style); gfx 352 ui/base/resource/resource_bundle.h gfx::Image& GetEmptyImage(); gfx 385 ui/base/resource/resource_bundle.h typedef std::map<int, gfx::Image> ImageMap; gfx 388 ui/base/resource/resource_bundle.h gfx::Image empty_image_; gfx 392 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> base_font_list_; gfx 393 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> bold_font_list_; gfx 394 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> small_font_list_; gfx 395 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> small_bold_font_list_; gfx 396 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> medium_font_list_; gfx 397 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> medium_bold_font_list_; gfx 398 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> large_font_list_; gfx 399 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> large_bold_font_list_; gfx 400 ui/base/resource/resource_bundle.h scoped_ptr<gfx::FontList> web_font_list_; gfx 26 ui/base/resource/resource_bundle_android.cc gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) { gfx 45 ui/base/resource/resource_bundle_auralinux.cc gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) { gfx 73 ui/base/resource/resource_bundle_gtk.cc gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) { gfx 84 ui/base/resource/resource_bundle_gtk.cc gfx::Image image; gfx 99 ui/base/resource/resource_bundle_gtk.cc image = gfx::Image(pixbuf); // Takes ownership. gfx 64 ui/base/resource/resource_bundle_unittest.cc MOCK_METHOD1(GetImageNamed, gfx::Image(int resource_id)); gfx 66 ui/base/resource/resource_bundle_unittest.cc gfx::Image(int resource_id, gfx 87 ui/base/resource/resource_bundle_unittest.cc gfx::Font*(ui::ResourceBundle::FontStyle style)); gfx 88 ui/base/resource/resource_bundle_unittest.cc virtual scoped_ptr<gfx::Font> GetFont( gfx 90 ui/base/resource/resource_bundle_unittest.cc return scoped_ptr<gfx::Font>(GetFontMock(style)); gfx 131 ui/base/resource/resource_bundle_unittest.cc EXPECT_TRUE(gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &bitmap_data)); gfx 225 ui/base/resource/resource_bundle_unittest.cc gfx::Image empty_image = resource_bundle->GetEmptyImage(); gfx 232 ui/base/resource/resource_bundle_unittest.cc gfx::Image result = resource_bundle->GetImageNamed(resource_id); gfx 240 ui/base/resource/resource_bundle_unittest.cc gfx::Image empty_image = resource_bundle->GetEmptyImage(); gfx 252 ui/base/resource/resource_bundle_unittest.cc gfx::Image result = resource_bundle->GetNativeImageNamed(resource_id); gfx 323 ui/base/resource/resource_bundle_unittest.cc gfx::Font* test_font = NULL; gfx 328 ui/base/resource/resource_bundle_unittest.cc const gfx::FontList* font_list = gfx 332 ui/base/resource/resource_bundle_unittest.cc const gfx::Font* font = gfx 460 ui/base/resource/resource_bundle_unittest.cc gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); gfx 473 ui/base/resource/resource_bundle_unittest.cc gfx::ImageSkiaRep image_rep = gfx 512 ui/base/resource/resource_bundle_unittest.cc gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); gfx 516 ui/base/resource/resource_bundle_unittest.cc gfx::ImageSkiaRep image_rep = gfx 553 ui/base/resource/resource_bundle_unittest.cc gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); gfx 554 ui/base/resource/resource_bundle_unittest.cc gfx::ImageSkiaRep image_rep = gfx 580 ui/base/resource/resource_bundle_unittest.cc gfx::ImageSkia* image_skia = resource_bundle->GetImageSkiaNamed(3); gfx 52 ui/base/resource/resource_bundle_win.cc DCHECK(gfx::IsHighDPIEnabled()); gfx 59 ui/base/resource/resource_bundle_win.cc gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) { gfx 72 ui/base/resource/resource_bundle_win.cc if (!gfx::IsHighDPIEnabled()) gfx 82 ui/base/resource/resource_bundle_win.cc gfx::Size unscaled_size(image.width(), image.height()); gfx 83 ui/base/resource/resource_bundle_win.cc gfx::Size scaled_size = ToCeiledSize( gfx 84 ui/base/resource/resource_bundle_win.cc gfx::ScaleSize(unscaled_size, gfx 48 ui/base/test/run_all_unittests.cc gfx::android::RegisterJni(base::android::AttachCurrentThread()); gfx 53 ui/base/test/run_all_unittests.cc gfx::RegisterPathProvider(); gfx 47 ui/base/test/ui_controls.h bool SendKeyPress(gfx::NativeWindow window, gfx 53 ui/base/test/ui_controls.h bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, gfx 20 ui/base/test/ui_controls_aura.cc bool SendKeyPress(gfx::NativeWindow window, gfx 32 ui/base/test/ui_controls_aura.cc bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, gfx 21 ui/base/test/ui_controls_aura.h virtual bool SendKeyPress(gfx::NativeWindow window, gfx 27 ui/base/test/ui_controls_aura.h virtual bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, gfx 102 ui/base/test/ui_controls_gtk.cc bool SendKeyPress(gfx::NativeWindow window, gfx 146 ui/base/test/ui_controls_gtk.cc bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, gfx 19 ui/base/test/ui_controls_win.cc bool SendKeyPress(gfx::NativeWindow window, gfx 31 ui/base/test/ui_controls_win.cc bool SendKeyPressNotifyWhenDone(gfx::NativeWindow window, gfx 34 ui/base/theme_provider.h namespace gfx { gfx 59 ui/base/theme_provider.h virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const = 0; gfx 24 ui/base/touch/touch_editing_controller.h virtual void SelectRect(const gfx::Point& start, const gfx::Point& end) = 0; gfx 27 ui/base/touch/touch_editing_controller.h virtual void MoveCaretTo(const gfx::Point& point) = 0; gfx 39 ui/base/touch/touch_editing_controller.h virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) = 0; gfx 42 ui/base/touch/touch_editing_controller.h virtual gfx::Rect GetBounds() = 0; gfx 45 ui/base/touch/touch_editing_controller.h virtual gfx::NativeView GetNativeView() const = 0; gfx 48 ui/base/touch/touch_editing_controller.h virtual void ConvertPointToScreen(gfx::Point* point) = 0; gfx 49 ui/base/touch/touch_editing_controller.h virtual void ConvertPointFromScreen(gfx::Point* point) = 0; gfx 56 ui/base/touch/touch_editing_controller.h virtual void OpenContextMenu(const gfx::Point& anchor) = 0; gfx 16 ui/base/view_prop.cc static void Get(gfx::AcceleratedWidget view, gfx 54 ui/base/view_prop.cc Data(gfx::AcceleratedWidget view, const char* key) gfx 70 ui/base/view_prop.cc const gfx::AcceleratedWidget view_; gfx 80 ui/base/view_prop.cc ViewProp::ViewProp(gfx::AcceleratedWidget view, const char* key, void* data) { gfx 92 ui/base/view_prop.cc void* ViewProp::GetValue(gfx::AcceleratedWidget view, const char* key) { gfx 30 ui/base/view_prop.h ViewProp(gfx::AcceleratedWidget view, const char* key, void* data); gfx 35 ui/base/view_prop.h static void* GetValue(gfx::AcceleratedWidget view, const char* key); gfx 19 ui/base/view_prop_unittest.cc gfx::AcceleratedWidget nv1 = reinterpret_cast<gfx::AcceleratedWidget>(1); gfx 20 ui/base/view_prop_unittest.cc gfx::AcceleratedWidget nv2 = reinterpret_cast<gfx::AcceleratedWidget>(2); gfx 35 ui/base/webui/web_ui_util.cc gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &output); gfx 18 ui/base/win/dpi_setup.cc if (gfx::IsHighDPIEnabled()) gfx 19 ui/base/win/dpi_setup.cc scale = gfx::GetModernUIScale(); gfx 22 ui/base/win/dpi_setup.cc scale = gfx::GetDPIScale(); gfx 24 ui/base/win/dpi_setup.cc gfx::InitDeviceScaleFactor(scale); gfx 26 ui/base/win/foreground_helper.cc Init(NULL, gfx::Rect()); gfx 21 ui/base/win/foreground_helper.h class UI_BASE_EXPORT ForegroundHelper : public gfx::WindowImpl { gfx 24 ui/base/win/hidden_window.cc class TempParent : public gfx::WindowImpl { gfx 33 ui/base/win/hidden_window.cc g_temp_parent->Init(GetDesktopWindow(), gfx::Rect()); gfx 126 ui/base/win/hwnd_subclass.cc gfx::SetWindowProc(target_, &WndProc); gfx 147 ui/base/win/hwnd_subclass.cc gfx::win::GetUndocumentedDPITouchScale(), gfx 149 ui/base/win/hwnd_subclass.cc gfx::win::GetUndocumentedDPITouchScale()}; gfx 15 ui/base/win/hwnd_subclass_unittest.cc class TestWindow : public gfx::WindowImpl { gfx 72 ui/base/win/hwnd_subclass_unittest.cc window.Init(NULL, gfx::Rect(0, 0, 100, 100)); gfx 101 ui/base/win/hwnd_subclass_unittest.cc window.Init(NULL, gfx::Rect(0, 0, 100, 100)); gfx 135 ui/base/win/hwnd_subclass_unittest.cc window.Init(NULL, gfx::Rect(0, 0, 100, 100)); gfx 34 ui/base/win/mouse_wheel_util.cc std::wstring class_name = gfx::GetClassName(window); gfx 42 ui/base/win/mouse_wheel_util.cc std::wstring class_name = gfx::GetClassName(window); gfx 156 ui/base/x/selection_utils.cc atom_cache_(gfx::GetXDisplay(), kSelectionDataAtoms) { gfx 164 ui/base/x/selection_utils.cc atom_cache_(gfx::GetXDisplay(), kSelectionDataAtoms) { gfx 170 ui/base/x/selection_utils.cc atom_cache_(gfx::GetXDisplay(), kSelectionDataAtoms) { gfx 126 ui/base/x/x11_util.cc return XGetWindowProperty(gfx::GetXDisplay(), gfx 215 ui/base/x/x11_util.cc cursor_ = XcursorImageLoadCursor(gfx::GetXDisplay(), image); gfx 220 ui/base/x/x11_util.cc XFreeCursor(gfx::GetXDisplay(), cursor_); gfx 259 ui/base/x/x11_util.cc XShapeQueryExtension(gfx::GetXDisplay(), &dummy, &dummy); gfx 267 ui/base/x/x11_util.cc return (gfx::GetXDisplay() != NULL); gfx 311 ui/base/x/x11_util.cc gfx::X11ErrorTracker err_tracker; gfx 389 ui/base/x/x11_util.cc const gfx::Point& hotspot) { gfx 391 ui/base/x/x11_util.cc gfx::Point hotspot_point = hotspot; gfx 409 ui/base/x/x11_util.cc hotspot_point = gfx::ToFlooredPoint(gfx::ScalePoint(hotspot, scale)); gfx 505 ui/base/x/x11_util.cc (CreateInvisibleCursor(), gfx::GetXDisplay())); gfx 506 ui/base/x/x11_util.cc XDefineCursor(gfx::GetXDisplay(), DefaultRootWindow(gfx::GetXDisplay()), gfx 511 ui/base/x/x11_util.cc XDisplay* xdisplay = gfx::GetXDisplay(); gfx 526 ui/base/x/x11_util.cc return DefaultRootWindow(gfx::GetXDisplay()); gfx 564 ui/base/x/x11_util.cc XChangeProperty(gfx::GetXDisplay(), gfx 575 ui/base/x/x11_util.cc XDisplay* display = gfx::GetXDisplay(); gfx 577 ui/base/x/x11_util.cc gfx::Rect root_bounds; gfx 598 ui/base/x/x11_util.cc if (!XGetWindowAttributes(gfx::GetXDisplay(), window, &win_attributes)) gfx 622 ui/base/x/x11_util.cc bool GetWindowRect(XID window, gfx::Rect* rect) { gfx 628 ui/base/x/x11_util.cc if (!XGetGeometry(gfx::GetXDisplay(), window, &root, &x, &y, gfx 632 ui/base/x/x11_util.cc if (!XTranslateCoordinates(gfx::GetXDisplay(), window, root, gfx 636 ui/base/x/x11_util.cc *rect = gfx::Rect(x, y, width, height); gfx 650 ui/base/x/x11_util.cc bool WindowContainsPoint(XID window, gfx::Point screen_loc) { gfx 653 ui/base/x/x11_util.cc gfx::Rect window_rect; gfx 682 ui/base/x/x11_util.cc XRectangle* shape_rects = XShapeGetRectangles(gfx::GetXDisplay(), gfx 693 ui/base/x/x11_util.cc gfx::Rect shape_rect = gfx 694 ui/base/x/x11_util.cc gfx::Rect(shape_rects[i].x + window_rect.x(), gfx 737 ui/base/x/x11_util.cc if (XGetWindowProperty(gfx::GetXDisplay(), window, property, gfx 922 ui/base/x/x11_util.cc gfx::X11ErrorTracker err_tracker; gfx 923 ui/base/x/x11_util.cc XChangeProperty(gfx::GetXDisplay(), gfx 947 ui/base/x/x11_util.cc gfx::X11ErrorTracker err_tracker; gfx 948 ui/base/x/x11_util.cc XChangeProperty(gfx::GetXDisplay(), gfx 963 ui/base/x/x11_util.cc gfx::X11ErrorTracker err_tracker; gfx 964 ui/base/x/x11_util.cc XChangeProperty(gfx::GetXDisplay(), gfx 981 ui/base/x/x11_util.cc return XInternAtom(gfx::GetXDisplay(), name, false); gfx 1015 ui/base/x/x11_util.cc XQueryTree(gfx::GetXDisplay(), window, &root, &parent, &children, &num_children); gfx 1065 ui/base/x/x11_util.cc if (!XGetWMName(gfx::GetXDisplay(), window, &prop) || !prop.value) gfx 1091 ui/base/x/x11_util.cc int status = XQueryTree(gfx::GetXDisplay(), window, &root, &parent, &children, gfx 1182 ui/base/x/x11_util.cc XConfigureWindow(gfx::GetXDisplay(), window, CWSibling | CWStackMode, &changes); gfx 1218 ui/base/x/x11_util.cc gfx::Rect source_bounds, gfx 1219 ui/base/x/x11_util.cc gfx::Point dest_offset, gfx 1220 ui/base/x/x11_util.cc gfx::Canvas* canvas) { gfx 1222 ui/base/x/x11_util.cc XGetImage(gfx::GetXDisplay(), drawable, gfx 1253 ui/base/x/x11_util.cc gfx::ImageSkia image_skia; gfx 1254 ui/base/x/x11_util.cc gfx::ImageSkiaRep image_rep(bitmap, canvas->image_scale()); gfx 1298 ui/base/x/x11_util.cc gfx::X11ErrorTracker err_tracker; gfx 1362 ui/base/x/x11_util.cc int result = XSendEvent(gfx::GetXDisplay(), GetX11RootWindow(), False, gfx 1393 ui/base/x/x11_util.cc gfx::Rect window_rect; gfx 1413 ui/base/x/x11_util.cc ::XDisplay* display = gfx::GetXDisplay(); gfx 1417 ui/base/x/x11_util.cc return window_rect.size() == gfx::Size(width, height); gfx 38 ui/base/x/x11_util.h namespace gfx { gfx 99 ui/base/x/x11_util.h const gfx::Point& hotspot); gfx 153 ui/base/x/x11_util.h UI_BASE_EXPORT bool GetWindowRect(XID window, gfx::Rect* rect); gfx 156 ui/base/x/x11_util.h UI_BASE_EXPORT bool WindowContainsPoint(XID window, gfx::Point screen_loc); gfx 287 ui/base/x/x11_util.h gfx::Rect source_bounds, gfx 288 ui/base/x/x11_util.h gfx::Point dest_offset, gfx 289 ui/base/x/x11_util.h gfx::Canvas* canvas); gfx 66 ui/compositor/compositor.cc Texture::Texture(bool flipped, const gfx::Size& size, float device_scale_factor) gfx 106 ui/compositor/compositor.cc Compositor::Compositor(gfx::AcceleratedWidget widget) gfx 125 ui/compositor/compositor.cc root_web_layer_->SetAnchorPoint(gfx::PointF(0.f, 0.f)); gfx 257 ui/compositor/compositor.cc host_->Composite(gfx::FrameTime::Now()); gfx 307 ui/compositor/compositor.cc host_->Composite(gfx::FrameTime::Now()); gfx 329 ui/compositor/compositor.cc void Compositor::ScheduleRedrawRect(const gfx::Rect& damage_rect) { gfx 339 ui/compositor/compositor.cc void Compositor::SetScaleAndSize(float scale, const gfx::Size& size_in_pixel) { gfx 397 ui/compositor/compositor.cc base::TimeTicks start_time = gfx::FrameTime::Now(); gfx 39 ui/compositor/compositor.h namespace gfx { gfx 110 ui/compositor/compositor.h Texture(bool flipped, const gfx::Size& size, float device_scale_factor); gfx 113 ui/compositor/compositor.h gfx::Size size() const { return size_; } gfx 120 ui/compositor/compositor.h const gfx::Size& new_size) {} gfx 128 ui/compositor/compositor.h gfx::Size size_; // in pixel gfx 173 ui/compositor/compositor.h explicit Compositor(gfx::AcceleratedWidget widget); gfx 213 ui/compositor/compositor.h void ScheduleRedrawRect(const gfx::Rect& damage_rect); gfx 218 ui/compositor/compositor.h void SetScaleAndSize(float scale, const gfx::Size& size_in_pixel); gfx 221 ui/compositor/compositor.h const gfx::Size& size() const { return size_; } gfx 228 ui/compositor/compositor.h gfx::AcceleratedWidget widget() const { return widget_; } gfx 260 ui/compositor/compositor.h virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, gfx 299 ui/compositor/compositor.h gfx::Size size_; gfx 306 ui/compositor/compositor.h gfx::AcceleratedWidget widget_; gfx 30 ui/compositor/debug_utils.cc gfx::Point mouse_location, gfx 73 ui/compositor/debug_utils.cc gfx::DecomposedTransform decomp; gfx 75 ui/compositor/debug_utils.cc gfx::DecomposeTransform(&decomp, layer->transform())) { gfx 99 ui/compositor/debug_utils.cc void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) { gfx 10 ui/compositor/debug_utils.h namespace gfx { gfx 20 ui/compositor/debug_utils.h gfx::Point mouse_location); gfx 25 ui/compositor/dip_util.cc gfx::Point ConvertPointToDIP(const Layer* layer, gfx 26 ui/compositor/dip_util.cc const gfx::Point& point_in_pixel) { gfx 27 ui/compositor/dip_util.cc return gfx::ToFlooredPoint( gfx 28 ui/compositor/dip_util.cc gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); gfx 31 ui/compositor/dip_util.cc gfx::PointF ConvertPointToDIP(const Layer* layer, gfx 32 ui/compositor/dip_util.cc const gfx::PointF& point_in_pixel) { gfx 33 ui/compositor/dip_util.cc return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)); gfx 36 ui/compositor/dip_util.cc gfx::Size ConvertSizeToDIP(const Layer* layer, gfx 37 ui/compositor/dip_util.cc const gfx::Size& size_in_pixel) { gfx 38 ui/compositor/dip_util.cc return gfx::ToFlooredSize( gfx 39 ui/compositor/dip_util.cc gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer))); gfx 42 ui/compositor/dip_util.cc gfx::Rect ConvertRectToDIP(const Layer* layer, gfx 43 ui/compositor/dip_util.cc const gfx::Rect& rect_in_pixel) { gfx 45 ui/compositor/dip_util.cc return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_pixel, scale)); gfx 48 ui/compositor/dip_util.cc gfx::Point ConvertPointToPixel(const Layer* layer, gfx 49 ui/compositor/dip_util.cc const gfx::Point& point_in_dip) { gfx 50 ui/compositor/dip_util.cc return gfx::ToFlooredPoint( gfx 51 ui/compositor/dip_util.cc gfx::ScalePoint(point_in_dip, GetDeviceScaleFactor(layer))); gfx 54 ui/compositor/dip_util.cc gfx::Size ConvertSizeToPixel(const Layer* layer, gfx 55 ui/compositor/dip_util.cc const gfx::Size& size_in_dip) { gfx 56 ui/compositor/dip_util.cc return gfx::ToFlooredSize( gfx 57 ui/compositor/dip_util.cc gfx::ScaleSize(size_in_dip, GetDeviceScaleFactor(layer))); gfx 60 ui/compositor/dip_util.cc gfx::Rect ConvertRectToPixel(const Layer* layer, gfx 61 ui/compositor/dip_util.cc const gfx::Rect& rect_in_dip) { gfx 63 ui/compositor/dip_util.cc return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_dip, scale)); gfx 12 ui/compositor/dip_util.h namespace gfx { gfx 25 ui/compositor/dip_util.h COMPOSITOR_EXPORT gfx::Point ConvertPointToDIP( gfx 27 ui/compositor/dip_util.h const gfx::Point& point_in_pixel); gfx 28 ui/compositor/dip_util.h COMPOSITOR_EXPORT gfx::PointF ConvertPointToDIP( gfx 30 ui/compositor/dip_util.h const gfx::PointF& point_in_pixel); gfx 31 ui/compositor/dip_util.h COMPOSITOR_EXPORT gfx::Size ConvertSizeToDIP( gfx 33 ui/compositor/dip_util.h const gfx::Size& size_in_pixel); gfx 34 ui/compositor/dip_util.h COMPOSITOR_EXPORT gfx::Rect ConvertRectToDIP( gfx 36 ui/compositor/dip_util.h const gfx::Rect& rect_in_pixel); gfx 37 ui/compositor/dip_util.h COMPOSITOR_EXPORT gfx::Point ConvertPointToPixel( gfx 39 ui/compositor/dip_util.h const gfx::Point& point_in_dip); gfx 40 ui/compositor/dip_util.h COMPOSITOR_EXPORT gfx::Size ConvertSizeToPixel( gfx 42 ui/compositor/dip_util.h const gfx::Size& size_in_dip); gfx 43 ui/compositor/dip_util.h COMPOSITOR_EXPORT gfx::Rect ConvertRectToPixel( gfx 45 ui/compositor/dip_util.h const gfx::Rect& rect_in_dip); gfx 10 ui/compositor/float_animation_curve_adapter.cc gfx::Tween::Type tween_type, gfx 39 ui/compositor/float_animation_curve_adapter.cc return gfx::Tween::FloatValueBetween( gfx 40 ui/compositor/float_animation_curve_adapter.cc gfx::Tween::CalculateValue(tween_type_, progress), gfx 16 ui/compositor/float_animation_curve_adapter.h FloatAnimationCurveAdapter(gfx::Tween::Type tween_type, gfx 29 ui/compositor/float_animation_curve_adapter.h gfx::Tween::Type tween_type_; gfx 215 ui/compositor/layer.cc void Layer::SetTransform(const gfx::Transform& transform) { gfx 219 ui/compositor/layer.cc gfx::Transform Layer::GetTargetTransform() const { gfx 227 ui/compositor/layer.cc void Layer::SetBounds(const gfx::Rect& bounds) { gfx 231 ui/compositor/layer.cc gfx::Rect Layer::GetTargetBounds() const { gfx 400 ui/compositor/layer.cc gfx::Point* point) { gfx 414 ui/compositor/layer.cc gfx::Transform* transform) const { gfx 417 ui/compositor/layer.cc gfx::Transform translation; gfx 430 ui/compositor/layer.cc gfx::Transform Layer::ConvertTransformToCCTransform( gfx 431 ui/compositor/layer.cc const gfx::Transform& transform, gfx 433 ui/compositor/layer.cc gfx::Transform cc_transform; gfx 487 ui/compositor/layer.cc cc_layer_->SetAnchorPoint(gfx::PointF()); gfx 550 ui/compositor/layer.cc gfx::Size frame_size_in_dip) { gfx 582 ui/compositor/layer.cc bool Layer::SchedulePaint(const gfx::Rect& invalid_rect) { gfx 605 ui/compositor/layer.cc gfx::Rect damaged( gfx 611 ui/compositor/layer.cc gfx::Rect damaged_in_pixel = ConvertRectToPixel(this, damaged); gfx 633 ui/compositor/layer.cc gfx::Transform transform = this->transform(); gfx 638 ui/compositor/layer.cc SchedulePaint(gfx::Rect(bounds_.size())); gfx 652 ui/compositor/layer.cc const gfx::Rect& clip, gfx 653 ui/compositor/layer.cc gfx::RectF* opaque) { gfx 655 ui/compositor/layer.cc scoped_ptr<gfx::Canvas> canvas(gfx::Canvas::CreateCanvasWithoutScaling( gfx 740 ui/compositor/layer.cc gfx::Point* point) const { gfx 741 ui/compositor/layer.cc gfx::Transform transform; gfx 743 ui/compositor/layer.cc gfx::Point3F p(*point); gfx 745 ui/compositor/layer.cc *point = gfx::ToFlooredPoint(p.AsPointF()); gfx 750 ui/compositor/layer.cc gfx::Point* point) const { gfx 751 ui/compositor/layer.cc gfx::Transform transform; gfx 753 ui/compositor/layer.cc gfx::Point3F p(*point); gfx 755 ui/compositor/layer.cc *point = gfx::ToFlooredPoint(p.AsPointF()); gfx 759 ui/compositor/layer.cc void Layer::SetBoundsFromAnimation(const gfx::Rect& bounds) { gfx 782 ui/compositor/layer.cc SchedulePaint(gfx::Rect(bounds.size())); gfx 786 ui/compositor/layer.cc void Layer::SetTransformFromAnimation(const gfx::Transform& transform) { gfx 823 ui/compositor/layer.cc const gfx::Rect& Layer::GetBoundsForAnimation() const { gfx 827 ui/compositor/layer.cc gfx::Transform Layer::GetTransformForAnimation() const { gfx 924 ui/compositor/layer.cc cc_layer_->SetAnchorPoint(gfx::PointF()); gfx 932 ui/compositor/layer.cc void Layer::RecomputeCCTransformFromTransform(const gfx::Transform& transform) { gfx 937 ui/compositor/layer.cc gfx::Transform Layer::transform() const { gfx 938 ui/compositor/layer.cc gfx::Transform transform; gfx 947 ui/compositor/layer.cc gfx::Size size(bounds_.size()); gfx 949 ui/compositor/layer.cc gfx::Size texture_size; gfx 953 ui/compositor/layer.cc texture_size = gfx::ToFlooredSize( gfx 954 ui/compositor/layer.cc gfx::ScaleSize(texture_->size(), texture_scale_factor)); gfx 958 ui/compositor/layer.cc texture_size = gfx::ToFlooredSize( gfx 959 ui/compositor/layer.cc gfx::ScaleSize(mailbox_.shared_memory_size(), texture_scale_factor)); gfx 963 ui/compositor/layer.cc gfx::PointF uv_top_left(0.f, 0.f); gfx 964 ui/compositor/layer.cc gfx::PointF uv_bottom_right( gfx 977 ui/compositor/layer.cc cc_layer_->SetPosition(gfx::ScalePoint( gfx 978 ui/compositor/layer.cc gfx::PointF(bounds_.x(), bounds_.y()), gfx 132 ui/compositor/layer.h void SetTransform(const gfx::Transform& transform); gfx 133 ui/compositor/layer.h gfx::Transform transform() const; gfx 137 ui/compositor/layer.h gfx::Transform GetTargetTransform() const; gfx 140 ui/compositor/layer.h void SetBounds(const gfx::Rect& bounds); gfx 141 ui/compositor/layer.h const gfx::Rect& bounds() const { return bounds_; } gfx 145 ui/compositor/layer.h gfx::Rect GetTargetBounds() const; gfx 234 ui/compositor/layer.h gfx::Point* point); gfx 240 ui/compositor/layer.h gfx::Transform* transform) const; gfx 244 ui/compositor/layer.h static gfx::Transform ConvertTransformToCCTransform( gfx 245 ui/compositor/layer.h const gfx::Transform& transform, gfx 275 ui/compositor/layer.h gfx::Size frame_size_in_dip); gfx 288 ui/compositor/layer.h bool SchedulePaint(const gfx::Rect& invalid_rect); gfx 323 ui/compositor/layer.h SkCanvas* canvas, const gfx::Rect& clip, gfx::RectF* opaque) OVERRIDE; gfx 365 ui/compositor/layer.h bool ConvertPointForAncestor(const Layer* ancestor, gfx::Point* point) const; gfx 366 ui/compositor/layer.h bool ConvertPointFromAncestor(const Layer* ancestor, gfx::Point* point) const; gfx 369 ui/compositor/layer.h virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE; gfx 371 ui/compositor/layer.h const gfx::Transform& transform) OVERRIDE; gfx 378 ui/compositor/layer.h virtual const gfx::Rect& GetBoundsForAnimation() const OVERRIDE; gfx 379 ui/compositor/layer.h virtual gfx::Transform GetTransformForAnimation() const OVERRIDE; gfx 394 ui/compositor/layer.h void RecomputeCCTransformFromTransform(const gfx::Transform& transform); gfx 424 ui/compositor/layer.h gfx::Rect bounds_; gfx 496 ui/compositor/layer.h gfx::Size delegated_frame_size_in_dip_; gfx 20 ui/compositor/layer_animation_delegate.h virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) = 0; gfx 21 ui/compositor/layer_animation_delegate.h virtual void SetTransformFromAnimation(const gfx::Transform& transform) = 0; gfx 28 ui/compositor/layer_animation_delegate.h virtual const gfx::Rect& GetBoundsForAnimation() const = 0; gfx 29 ui/compositor/layer_animation_delegate.h virtual gfx::Transform GetTransformForAnimation() const = 0; gfx 53 ui/compositor/layer_animation_element.cc TransformTransition(const gfx::Transform& target, base::TimeDelta duration) gfx 66 ui/compositor/layer_animation_element.cc gfx::Tween::TransformValueBetween(t, start_, target_)); gfx 77 ui/compositor/layer_animation_element.cc gfx::Transform start_; gfx 78 ui/compositor/layer_animation_element.cc const gfx::Transform target_; gfx 120 ui/compositor/layer_animation_element.cc BoundsTransition(const gfx::Rect& target, base::TimeDelta duration) gfx 133 ui/compositor/layer_animation_element.cc gfx::Tween::RectValueBetween(t, start_, target_)); gfx 144 ui/compositor/layer_animation_element.cc gfx::Rect start_; gfx 145 ui/compositor/layer_animation_element.cc const gfx::Rect target_; gfx 168 ui/compositor/layer_animation_element.cc gfx::Tween::FloatValueBetween(t, start_, target_)); gfx 237 ui/compositor/layer_animation_element.cc gfx::Tween::FloatValueBetween(t, start_, target_)); gfx 272 ui/compositor/layer_animation_element.cc gfx::Tween::FloatValueBetween(t, start_, target_)); gfx 307 ui/compositor/layer_animation_element.cc gfx::Tween::ColorValueBetween(t, start_, target_)); gfx 402 ui/compositor/layer_animation_element.cc delegate->SetOpacityFromAnimation(gfx::Tween::FloatValueBetween( gfx 403 ui/compositor/layer_animation_element.cc gfx::Tween::CalculateValue(tween_type(), last_progressed_fraction()), gfx 442 ui/compositor/layer_animation_element.cc ThreadedTransformTransition(const gfx::Transform& target, gfx 462 ui/compositor/layer_animation_element.cc delegate->SetTransformFromAnimation(gfx::Tween::TransformValueBetween( gfx 463 ui/compositor/layer_animation_element.cc gfx::Tween::CalculateValue(tween_type(), last_progressed_fraction()), gfx 492 ui/compositor/layer_animation_element.cc gfx::Transform start_; gfx 493 ui/compositor/layer_animation_element.cc gfx::Transform cc_start_; gfx 494 ui/compositor/layer_animation_element.cc const gfx::Transform target_; gfx 495 ui/compositor/layer_animation_element.cc gfx::Transform cc_target_; gfx 504 ui/compositor/layer_animation_element.cc InverseTransformTransition(const gfx::Transform& base_transform, gfx 523 ui/compositor/layer_animation_element.cc gfx::Transform start(delegate->GetTransformForAnimation()); gfx 533 ui/compositor/layer_animation_element.cc const gfx::Transform cc_base_start = Layer::ConvertTransformToCCTransform( gfx 536 ui/compositor/layer_animation_element.cc const gfx::Transform cc_base_target = Layer::ConvertTransformToCCTransform( gfx 544 ui/compositor/layer_animation_element.cc const gfx::Transform cc_start = Layer::ConvertTransformToCCTransform( gfx 577 ui/compositor/layer_animation_element.cc gfx::Transform ComputeCurrentTransform() const { gfx 578 ui/compositor/layer_animation_element.cc gfx::Transform base_current = gfx::Tween::TransformValueBetween( gfx 579 ui/compositor/layer_animation_element.cc gfx::Tween::CalculateValue(tween_type(), last_progressed_fraction()), gfx 585 ui/compositor/layer_animation_element.cc gfx::Transform ComputeWithBaseTransform(gfx::Transform start, gfx 586 ui/compositor/layer_animation_element.cc gfx::Transform target) const { gfx 587 ui/compositor/layer_animation_element.cc gfx::Transform to_return(gfx::Transform::kSkipInitialization); gfx 602 ui/compositor/layer_animation_element.cc gfx::Transform effective_start_; gfx 603 ui/compositor/layer_animation_element.cc gfx::Transform computed_target_transform_; gfx 605 ui/compositor/layer_animation_element.cc const gfx::Transform base_transform_; gfx 606 ui/compositor/layer_animation_element.cc gfx::Transform base_target_; gfx 629 ui/compositor/layer_animation_element.cc : bounds(delegate ? delegate->GetBoundsForAnimation() : gfx::Rect()), gfx 631 ui/compositor/layer_animation_element.cc delegate->GetTransformForAnimation() : gfx::Transform()), gfx 646 ui/compositor/layer_animation_element.cc tween_type_(gfx::Tween::LINEAR), gfx 699 ui/compositor/layer_animation_element.cc need_draw = OnProgress(gfx::Tween::CalculateValue(tween_type_, t), delegate); gfx 793 ui/compositor/layer_animation_element.cc const gfx::Transform& transform, gfx 800 ui/compositor/layer_animation_element.cc const gfx::Transform& base_transform, gfx 821 ui/compositor/layer_animation_element.cc const gfx::Rect& bounds, gfx 53 ui/compositor/layer_animation_element.h gfx::Rect bounds; gfx 54 ui/compositor/layer_animation_element.h gfx::Transform transform; gfx 72 ui/compositor/layer_animation_element.h const gfx::Transform& transform, gfx 80 ui/compositor/layer_animation_element.h const gfx::Transform& base_transform, gfx 102 ui/compositor/layer_animation_element.h const gfx::Rect& bounds, gfx 191 ui/compositor/layer_animation_element.h gfx::Tween::Type tween_type() const { return tween_type_; } gfx 192 ui/compositor/layer_animation_element.h void set_tween_type(gfx::Tween::Type tween_type) { tween_type_ = tween_type; } gfx 233 ui/compositor/layer_animation_element.h gfx::Tween::Type tween_type_; gfx 27 ui/compositor/layer_animation_element_unittest.cc gfx::Transform start_transform, target_transform; gfx 71 ui/compositor/layer_animation_element_unittest.cc gfx::Transform transform; gfx 85 ui/compositor/layer_animation_element_unittest.cc gfx::Transform transform; gfx 105 ui/compositor/layer_animation_element_unittest.cc gfx::Transform identity, transform; gfx 135 ui/compositor/layer_animation_element_unittest.cc gfx::Rect start, target, middle; gfx 136 ui/compositor/layer_animation_element_unittest.cc start = target = middle = gfx::Rect(0, 0, 50, 50); gfx 368 ui/compositor/layer_animation_element_unittest.cc gfx::Tween::Type tween_type = gfx::Tween::EASE_IN; gfx 389 ui/compositor/layer_animation_element_unittest.cc EXPECT_FLOAT_EQ(gfx::Tween::CalculateValue(tween_type, 0.5), gfx 397 ui/compositor/layer_animation_element_unittest.cc gfx::Transform start_transform, target_transform; gfx 407 ui/compositor/layer_animation_element_unittest.cc gfx::Tween::Type tween_type = gfx::Tween::EASE_IN; gfx 429 ui/compositor/layer_animation_element_unittest.cc gfx::Tween::CalculateValue(tween_type, 0.5)); gfx 132 ui/compositor/layer_animation_sequence_unittest.cc gfx::Transform start_transform, target_transform, middle_transform; gfx 42 ui/compositor/layer_animator.cc gfx::AnimationContainer* GetAnimationContainer() { gfx 43 ui/compositor/layer_animator.cc static gfx::AnimationContainer* container = NULL; gfx 45 ui/compositor/layer_animator.cc container = new gfx::AnimationContainer(); gfx 60 ui/compositor/layer_animator.cc tween_type_(gfx::Tween::LINEAR), gfx 114 ui/compositor/layer_animator.cc const gfx::Transform&, TRANSFORM, Transform, gfx::Transform, transform); gfx 115 ui/compositor/layer_animator.cc ANIMATED_PROPERTY(const gfx::Rect&, BOUNDS, Bounds, gfx::Rect, bounds); gfx 187 ui/compositor/layer_animator.cc last_step_time_ = gfx::FrameTime::Now(); gfx 766 ui/compositor/layer_animator.cc start_time = gfx::FrameTime::Now(); gfx 21 ui/compositor/layer_animator.h namespace gfx { gfx 44 ui/compositor/layer_animator.h : public gfx::AnimationContainerElement, gfx 64 ui/compositor/layer_animator.h virtual void SetTransform(const gfx::Transform& transform); gfx 65 ui/compositor/layer_animator.h gfx::Transform GetTargetTransform() const; gfx 68 ui/compositor/layer_animator.h virtual void SetBounds(const gfx::Rect& bounds); gfx 69 ui/compositor/layer_animator.h gfx::Rect GetTargetBounds() const; gfx 178 ui/compositor/layer_animator.h void set_tween_type(gfx::Tween::Type tween_type) { tween_type_ = tween_type; } gfx 179 ui/compositor/layer_animator.h gfx::Tween::Type tween_type() const { return tween_type_; } gfx 330 ui/compositor/layer_animator.h gfx::Tween::Type tween_type_; gfx 27 ui/compositor/layer_animator_unittest.cc using gfx::AnimationContainerElement; gfx 203 ui/compositor/layer_animator_unittest.cc base::TimeTicks now = gfx::FrameTime::Now(); gfx 231 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(0, 0, 50, 50); gfx 251 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(0, 0, 50, 50); gfx 269 ui/compositor/layer_animator_unittest.cc gfx::Rect initial_bounds(0, 0, 10, 10); gfx 274 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(0, 0, 50, 50); gfx 385 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds, target_bounds, middle_bounds; gfx 386 ui/compositor/layer_animator_unittest.cc start_bounds = target_bounds = middle_bounds = gfx::Rect(0, 0, 50, 50); gfx 437 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds, target_bounds, middle_bounds; gfx 438 ui/compositor/layer_animator_unittest.cc start_bounds = target_bounds = middle_bounds = gfx::Rect(0, 0, 50, 50); gfx 557 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds, target_bounds, middle_bounds; gfx 558 ui/compositor/layer_animator_unittest.cc start_bounds = target_bounds = middle_bounds = gfx::Rect(0, 0, 50, 50); gfx 636 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds, target_bounds, middle_bounds; gfx 637 ui/compositor/layer_animator_unittest.cc start_bounds = target_bounds = gfx::Rect(0, 0, 50, 50); gfx 1070 ui/compositor/layer_animator_unittest.cc delta = gfx::FrameTime::Now() - animator->last_step_time(); gfx 1691 ui/compositor/layer_animator_unittest.cc base::TimeTicks now = gfx::FrameTime::Now(); gfx 1923 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 50, 50); gfx 1924 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(5, 5, 5, 5); gfx 1971 ui/compositor/layer_animator_unittest.cc virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE { gfx 1990 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 0, 0); gfx 1991 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(5, 5, 50, 50); gfx 2033 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 50, 50); gfx 2034 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(5, 5, 5, 5); gfx 2105 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 50, 50); gfx 2106 ui/compositor/layer_animator_unittest.cc gfx::Rect middle_bounds(10, 10, 100, 100); gfx 2107 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(5, 5, 5, 5); gfx 2347 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 50, 50); gfx 2348 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(10, 10, 100, 100); gfx 2380 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 50, 50); gfx 2381 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(10, 10, 100, 100); gfx 2411 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 50, 50); gfx 2412 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(10, 10, 100, 100); gfx 2444 ui/compositor/layer_animator_unittest.cc gfx::Rect start_bounds(0, 0, 50, 50); gfx 2445 ui/compositor/layer_animator_unittest.cc gfx::Rect target_bounds(10, 10, 100, 100); gfx 2503 ui/compositor/layer_animator_unittest.cc gfx::Transform parent_begin, parent_end; gfx 2509 ui/compositor/layer_animator_unittest.cc gfx::Transform child_begin(parent_end); gfx 11 ui/compositor/layer_delegate.h namespace gfx { gfx 22 ui/compositor/layer_delegate.h virtual void OnPaintLayer(gfx::Canvas* canvas) = 0; gfx 38 ui/compositor/layer_owner.cc const gfx::Rect layer_bounds(old_layer->bounds()); gfx 64 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 82 ui/compositor/layer_unittest.cc if (PathService::Get(gfx::DIR_TEST_DATA, &test_data_directory_)) { gfx 96 ui/compositor/layer_unittest.cc const gfx::Rect host_bounds(10, 10, 500, 500); gfx 113 ui/compositor/layer_unittest.cc Layer* CreateColorLayer(SkColor color, const gfx::Rect& bounds) { gfx 119 ui/compositor/layer_unittest.cc Layer* CreateNoTextureLayer(const gfx::Rect& bounds) { gfx 132 ui/compositor/layer_unittest.cc return ReadPixels(bitmap, gfx::Rect(GetCompositor()->size())); gfx 135 ui/compositor/layer_unittest.cc bool ReadPixels(SkBitmap* bitmap, gfx::Rect source_rect) { gfx 173 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, layer->bounds().width(), layer->bounds().height())); gfx 222 ui/compositor/layer_unittest.cc const gfx::Size& paint_size() const { return paint_size_; } gfx 234 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 236 ui/compositor/layer_unittest.cc paint_size_ = gfx::Size(size.width(), size.height()); gfx 237 ui/compositor/layer_unittest.cc canvas->FillRect(gfx::Rect(paint_size_), colors_[color_index_]); gfx 262 ui/compositor/layer_unittest.cc gfx::Size paint_size_; gfx 284 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 306 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 367 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 50, 50))); gfx 379 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 381 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 350, 350))); gfx 383 ui/compositor/layer_unittest.cc gfx::Rect(5, 5, 25, 25))); gfx 385 ui/compositor/layer_unittest.cc gfx::Rect(300, 300, 100, 100))); gfx 405 ui/compositor/layer_unittest.cc const gfx::Rect host_bounds(1000, 1000); gfx 422 ui/compositor/layer_unittest.cc Layer* CreateColorLayer(SkColor color, const gfx::Rect& bounds) { gfx 428 ui/compositor/layer_unittest.cc virtual Layer* CreateNoTextureLayer(const gfx::Rect& bounds) { gfx 442 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, layer->bounds().width(), layer->bounds().height())); gfx 469 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 471 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 350, 350))); gfx 475 ui/compositor/layer_unittest.cc gfx::Point point1_in_l2_coords(5, 5); gfx 477 ui/compositor/layer_unittest.cc gfx::Point point1_in_l1_coords(15, 15); gfx 480 ui/compositor/layer_unittest.cc gfx::Point point2_in_l1_coords(5, 5); gfx 482 ui/compositor/layer_unittest.cc gfx::Point point2_in_l2_coords(-5, -5); gfx 491 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 493 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 350, 350))); gfx 495 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 100, 100))); gfx 500 ui/compositor/layer_unittest.cc gfx::Point point1_in_l3_coords(5, 5); gfx 502 ui/compositor/layer_unittest.cc gfx::Point point1_in_l1_coords(25, 25); gfx 505 ui/compositor/layer_unittest.cc gfx::Point point2_in_l1_coords(5, 5); gfx 507 ui/compositor/layer_unittest.cc gfx::Point point2_in_l3_coords(-15, -15); gfx 513 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 523 ui/compositor/layer_unittest.cc l1->SchedulePaint(gfx::Rect(0, 0, 400, 400)); gfx 529 ui/compositor/layer_unittest.cc l1->SchedulePaint(gfx::Rect(10, 10, 200, 200)); gfx 532 ui/compositor/layer_unittest.cc EXPECT_EQ(delegate.paint_size(), gfx::Size(200, 200)); gfx 534 ui/compositor/layer_unittest.cc l1->SchedulePaint(gfx::Rect(5, 5, 50, 50)); gfx 537 ui/compositor/layer_unittest.cc EXPECT_EQ(delegate.paint_size(), gfx::Size(50, 50)); gfx 542 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 544 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 350, 350))); gfx 546 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 100, 100))); gfx 560 ui/compositor/layer_unittest.cc l2->SchedulePaint(gfx::Rect(5, 5, 5, 5)); gfx 576 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 577 ui/compositor/layer_unittest.cc scoped_ptr<Layer> l2(CreateNoTextureLayer(gfx::Rect(10, 10, 350, 350))); gfx 579 ui/compositor/layer_unittest.cc gfx::Rect(5, 5, 25, 25))); gfx 581 ui/compositor/layer_unittest.cc gfx::Rect(300, 300, 100, 100))); gfx 595 ui/compositor/layer_unittest.cc l2->SchedulePaint(gfx::Rect(5, 5, 5, 5)); gfx 596 ui/compositor/layer_unittest.cc l3->SchedulePaint(gfx::Rect(5, 5, 5, 5)); gfx 621 ui/compositor/layer_unittest.cc Layer* CreateTextureRootLayer(const gfx::Rect& bounds) { gfx 627 ui/compositor/layer_unittest.cc Layer* CreateTextureLayer(const gfx::Rect& bounds) { gfx 633 ui/compositor/layer_unittest.cc virtual Layer* CreateNoTextureLayer(const gfx::Rect& bounds) OVERRIDE { gfx 647 ui/compositor/layer_unittest.cc FakeTexture(bool flipped, const gfx::Size& size, float device_scale_factor) gfx 678 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 683 ui/compositor/layer_unittest.cc EXPECT_EQ(gfx::PointF().ToString(), gfx 693 ui/compositor/layer_unittest.cc new FakeTexture(false, gfx::Size(10, 10), 1.f); gfx 698 ui/compositor/layer_unittest.cc EXPECT_EQ(gfx::PointF().ToString(), gfx 817 ui/compositor/layer_unittest.cc scoped_ptr<Layer> l1(CreateTextureLayer(gfx::Rect(0, 0, 200, 200))); gfx 822 ui/compositor/layer_unittest.cc l1->SetBounds(gfx::Rect(5, 5, 200, 200)); gfx 827 ui/compositor/layer_unittest.cc l1->SetBounds(gfx::Rect(5, 5, 100, 100)); gfx 835 ui/compositor/layer_unittest.cc gfx::Size viewport_size = GetCompositor()->size(); gfx 845 ui/compositor/layer_unittest.cc CreateColorLayer(SK_ColorRED, gfx::Rect(viewport_size))); gfx 848 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, viewport_size.width(), blue_height))); gfx 855 ui/compositor/layer_unittest.cc ASSERT_TRUE(ReadPixels(&bitmap, gfx::Rect(viewport_size))); gfx 883 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 885 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 350, 350))); gfx 914 ui/compositor/layer_unittest.cc gfx::Rect(20, 20, 400, 400))); gfx 916 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 350, 350))); gfx 934 ui/compositor/layer_unittest.cc l2->SetBounds(gfx::Rect(0, 0, 350, 350)); gfx 940 ui/compositor/layer_unittest.cc l2->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 958 ui/compositor/layer_unittest.cc gfx::Transform transform; gfx 987 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(1.0f, gfx::Size(50, 50)); gfx 994 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, 50, 50))); gfx 996 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, 25, 25))); gfx 998 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, 15, 15))); gfx 1000 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 25, 25))); gfx 1056 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(1.0f, gfx::Size(50, 50)); gfx 1061 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, 50, 50))); gfx 1063 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, 25, 25))); gfx 1090 ui/compositor/layer_unittest.cc void SetSchedulePaintRect(const gfx::Rect& rect) { gfx 1100 ui/compositor/layer_unittest.cc const gfx::RectF& last_clip_rect() const { return last_clip_rect_; } gfx 1104 ui/compositor/layer_unittest.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 1108 ui/compositor/layer_unittest.cc schedule_paint_rect_ = gfx::Rect(); gfx 1112 ui/compositor/layer_unittest.cc last_clip_rect_ = gfx::SkRectToRectF(sk_clip_rect); gfx 1124 ui/compositor/layer_unittest.cc gfx::Rect schedule_paint_rect_; gfx 1125 ui/compositor/layer_unittest.cc gfx::RectF last_clip_rect_; gfx 1136 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, 500, 500))); gfx 1139 ui/compositor/layer_unittest.cc gfx::Rect(0, 0, 200, 200))); gfx 1146 ui/compositor/layer_unittest.cc child->SchedulePaint(gfx::Rect(0, 0, 20, 20)); gfx 1151 ui/compositor/layer_unittest.cc child_delegate.SetSchedulePaintRect(gfx::Rect(10, 10, 30, 30)); gfx 1160 ui/compositor/layer_unittest.cc gfx::Rect(10, 10, 30, 30))); gfx 1165 ui/compositor/layer_unittest.cc gfx::Rect(10, 20, 200, 220))); gfx 1171 ui/compositor/layer_unittest.cc gfx::Rect(10, 20, 140, 180))); gfx 1176 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(1.0f, gfx::Size(500, 500)); gfx 1183 ui/compositor/layer_unittest.cc gfx::Size size_in_pixel = root->cc_layer()->bounds(); gfx 1195 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(2.0f, gfx::Size(500, 500)); gfx 1215 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(1.0f, gfx::Size(500, 500)); gfx 1238 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(1.0f, gfx::Size(1000, 1000)); gfx 1251 ui/compositor/layer_unittest.cc gfx::Rect(10, 20, 200, 220))); gfx 1253 ui/compositor/layer_unittest.cc gfx::Rect(10, 20, 140, 180))); gfx 1258 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(1.0f, gfx::Size(500, 500)); gfx 1264 ui/compositor/layer_unittest.cc gfx::Size size_in_pixel = l1->cc_layer()->bounds(); gfx 1276 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(2.0f, gfx::Size(500, 500)); gfx 1296 ui/compositor/layer_unittest.cc gfx::Rect(10, 20, 200, 220))); gfx 1298 ui/compositor/layer_unittest.cc gfx::Rect(10, 20, 140, 180))); gfx 1305 ui/compositor/layer_unittest.cc GetCompositor()->SetScaleAndSize(2.0f, gfx::Size(500, 500)); gfx 1320 ui/compositor/layer_unittest.cc scoped_ptr<Layer> root(CreateNoTextureLayer(gfx::Rect(0, 0, 1000, 1000))); gfx 1323 ui/compositor/layer_unittest.cc child->SetBounds(gfx::Rect(0, 0, 500, 500)); gfx 1338 ui/compositor/layer_unittest.cc child->SetBounds(gfx::Rect(200, 200, 500, 500)); gfx 1349 ui/compositor/layer_unittest.cc child->SetBounds(gfx::Rect(200, 200, 400, 400)); gfx 1355 ui/compositor/layer_unittest.cc static scoped_ptr<cc::DelegatedFrameData> MakeFrameData(gfx::Size size) { gfx 1359 ui/compositor/layer_unittest.cc gfx::Rect(size), gfx 1360 ui/compositor/layer_unittest.cc gfx::RectF(), gfx 1361 ui/compositor/layer_unittest.cc gfx::Transform()); gfx 1367 ui/compositor/layer_unittest.cc scoped_ptr<Layer> root(CreateNoTextureLayer(gfx::Rect(0, 0, 1000, 1000))); gfx 1371 ui/compositor/layer_unittest.cc child->SetBounds(gfx::Rect(0, 0, 10, 10)); gfx 1382 ui/compositor/layer_unittest.cc resource_collection.get(), MakeFrameData(gfx::Size(10, 10))); gfx 1383 ui/compositor/layer_unittest.cc child->SetShowDelegatedContent(frame_provider, gfx::Size(10, 10)); gfx 1385 ui/compositor/layer_unittest.cc gfx::Size(10, 10).ToString()); gfx 1388 ui/compositor/layer_unittest.cc child->SetBounds(gfx::Rect(0, 0, 5, 5)); gfx 1390 ui/compositor/layer_unittest.cc gfx::Size(5, 5).ToString()); gfx 1393 ui/compositor/layer_unittest.cc child->SetBounds(gfx::Rect(0, 0, 10, 10)); gfx 1395 ui/compositor/layer_unittest.cc resource_collection.get(), MakeFrameData(gfx::Size(5, 5))); gfx 1396 ui/compositor/layer_unittest.cc child->SetShowDelegatedContent(frame_provider, gfx::Size(5, 5)); gfx 1397 ui/compositor/layer_unittest.cc EXPECT_EQ(child->cc_layer()->bounds().ToString(), gfx::Size(5, 5).ToString()); gfx 1401 ui/compositor/layer_unittest.cc resource_collection.get(), MakeFrameData(gfx::Size(20, 20))); gfx 1402 ui/compositor/layer_unittest.cc child->SetShowDelegatedContent(frame_provider, gfx::Size(10, 10)); gfx 1404 ui/compositor/layer_unittest.cc gfx::Size(10, 10).ToString()); gfx 1407 ui/compositor/layer_unittest.cc compositor()->SetScaleAndSize(2.f, gfx::Size(1000, 1000)); gfx 1409 ui/compositor/layer_unittest.cc gfx::Size(20, 20).ToString()); gfx 1413 ui/compositor/layer_unittest.cc resource_collection.get(), MakeFrameData(gfx::Size(10, 10))); gfx 1414 ui/compositor/layer_unittest.cc child->SetShowDelegatedContent(frame_provider, gfx::Size(10, 10)); gfx 1416 ui/compositor/layer_unittest.cc gfx::Size(20, 20).ToString()); gfx 1420 ui/compositor/layer_unittest.cc scoped_ptr<Layer> root(CreateNoTextureLayer(gfx::Rect(0, 0, 1000, 1000))); gfx 1423 ui/compositor/layer_unittest.cc child->SetBounds(gfx::Rect(0, 0, 10, 10)); gfx 1437 ui/compositor/layer_unittest.cc MakeFrameData(gfx::Size(10, 10))); gfx 1441 ui/compositor/layer_unittest.cc child->SetShowDelegatedContent(frame_provider, gfx::Size(10, 10)); gfx 44 ui/compositor/scoped_layer_animation_settings.cc gfx::Transform base_transform = base_layer_->transform(); gfx 58 ui/compositor/scoped_layer_animation_settings.cc gfx::Transform base) const { gfx 131 ui/compositor/scoped_layer_animation_settings.cc void ScopedLayerAnimationSettings::SetTweenType(gfx::Tween::Type tween_type) { gfx 135 ui/compositor/scoped_layer_animation_settings.cc gfx::Tween::Type ScopedLayerAnimationSettings::GetTweenType() const { gfx 43 ui/compositor/scoped_layer_animation_settings.h void SetTweenType(gfx::Tween::Type tween_type); gfx 44 ui/compositor/scoped_layer_animation_settings.h gfx::Tween::Type GetTweenType() const; gfx 61 ui/compositor/scoped_layer_animation_settings.h gfx::Tween::Type old_tween_type_; gfx 18 ui/compositor/test/context_factories_for_test.cc static gfx::DisableNullDrawGLBindings* g_disable_null_draw = NULL; gfx 33 ui/compositor/test/context_factories_for_test.cc g_disable_null_draw = new gfx::DisableNullDrawGLBindings; gfx 18 ui/compositor/test/in_process_context_factory.cc DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone); gfx 56 ui/compositor/test/layer_animator_test_controller.cc (gfx::FrameTime::Now() - base::TimeTicks()).InSecondsF())); gfx 8 ui/compositor/test/test_compositor_host.h namespace gfx { gfx 21 ui/compositor/test/test_compositor_host.h static TestCompositorHost* Create(const gfx::Rect& bounds); gfx 21 ui/compositor/test/test_compositor_host_ozone.cc TestCompositorHostOzone(const gfx::Rect& bounds); gfx 31 ui/compositor/test/test_compositor_host_ozone.cc gfx::Rect bounds_; gfx 38 ui/compositor/test/test_compositor_host_ozone.cc TestCompositorHostOzone::TestCompositorHostOzone(const gfx::Rect& bounds) gfx 65 ui/compositor/test/test_compositor_host_ozone.cc TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) { gfx 15 ui/compositor/test/test_compositor_host_win.cc public gfx::WindowImpl { gfx 17 ui/compositor/test/test_compositor_host_win.cc TestCompositorHostWin(const gfx::Rect& bounds) { gfx 45 ui/compositor/test/test_compositor_host_win.cc gfx::Size GetSize() { gfx 48 ui/compositor/test/test_compositor_host_win.cc return gfx::Rect(r).size(); gfx 56 ui/compositor/test/test_compositor_host_win.cc TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) { gfx 24 ui/compositor/test/test_compositor_host_x11.cc TestCompositorHostX11(const gfx::Rect& bounds); gfx 34 ui/compositor/test/test_compositor_host_x11.cc gfx::Rect bounds_; gfx 43 ui/compositor/test/test_compositor_host_x11.cc TestCompositorHostX11::TestCompositorHostX11(const gfx::Rect& bounds) gfx 51 ui/compositor/test/test_compositor_host_x11.cc XDisplay* display = gfx::GetXDisplay(); gfx 86 ui/compositor/test/test_compositor_host_x11.cc TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) { gfx 30 ui/compositor/test/test_layer_animation_delegate.cc const gfx::Rect& bounds) { gfx 35 ui/compositor/test/test_layer_animation_delegate.cc const gfx::Transform& transform) { gfx 62 ui/compositor/test/test_layer_animation_delegate.cc const gfx::Rect& TestLayerAnimationDelegate::GetBoundsForAnimation() const { gfx 66 ui/compositor/test/test_layer_animation_delegate.cc gfx::Transform TestLayerAnimationDelegate::GetTransformForAnimation() const { gfx 22 ui/compositor/test/test_layer_animation_delegate.h virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE; gfx 24 ui/compositor/test/test_layer_animation_delegate.h const gfx::Transform& transform) OVERRIDE; gfx 31 ui/compositor/test/test_layer_animation_delegate.h virtual const gfx::Rect& GetBoundsForAnimation() const OVERRIDE; gfx 32 ui/compositor/test/test_layer_animation_delegate.h virtual gfx::Transform GetTransformForAnimation() const OVERRIDE; gfx 44 ui/compositor/test/test_layer_animation_delegate.h gfx::Rect bounds_; gfx 45 ui/compositor/test/test_layer_animation_delegate.h gfx::Transform transform_; gfx 28 ui/compositor/test/test_suite.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 30 ui/compositor/test/test_suite.cc gfx::RegisterPathProvider(); gfx 33 ui/compositor/test/test_suite.cc gfx::InitDeviceScaleFactor(1.0f); gfx 14 ui/compositor/test/test_utils.cc void CheckApproximatelyEqual(const gfx::Transform& lhs, gfx 15 ui/compositor/test/test_utils.cc const gfx::Transform& rhs) { gfx 32 ui/compositor/test/test_utils.cc void CheckApproximatelyEqual(const gfx::Rect& lhs, const gfx::Rect& rhs) { gfx 8 ui/compositor/test/test_utils.h namespace gfx { gfx 15 ui/compositor/test/test_utils.h void CheckApproximatelyEqual(const gfx::Transform& lhs, gfx 16 ui/compositor/test/test_utils.h const gfx::Transform& rhs); gfx 17 ui/compositor/test/test_utils.h void CheckApproximatelyEqual(const gfx::Rect& lhs, const gfx::Rect& rhs); gfx 10 ui/compositor/transform_animation_curve_adapter.cc gfx::Tween::Type tween_type, gfx 11 ui/compositor/transform_animation_curve_adapter.cc gfx::Transform initial_value, gfx 12 ui/compositor/transform_animation_curve_adapter.cc gfx::Transform target_value, gfx 18 ui/compositor/transform_animation_curve_adapter.cc gfx::DecomposeTransform(&decomposed_initial_value_, initial_value_); gfx 19 ui/compositor/transform_animation_curve_adapter.cc gfx::DecomposeTransform(&decomposed_target_value_, target_value_); gfx 38 ui/compositor/transform_animation_curve_adapter.cc gfx::Transform TransformAnimationCurveAdapter::GetValue( gfx 46 ui/compositor/transform_animation_curve_adapter.cc gfx::DecomposedTransform to_return; gfx 47 ui/compositor/transform_animation_curve_adapter.cc gfx::BlendDecomposedTransforms(&to_return, gfx 50 ui/compositor/transform_animation_curve_adapter.cc gfx::Tween::CalculateValue(tween_type_, gfx 52 ui/compositor/transform_animation_curve_adapter.cc return gfx::ComposeTransform(to_return); gfx 56 ui/compositor/transform_animation_curve_adapter.cc const gfx::BoxF& box, gfx 57 ui/compositor/transform_animation_curve_adapter.cc gfx::BoxF* bounds) const { gfx 80 ui/compositor/transform_animation_curve_adapter.cc gfx::Transform initial_value, gfx 103 ui/compositor/transform_animation_curve_adapter.cc gfx::Transform InverseTransformCurveAdapter::GetValue( gfx 108 ui/compositor/transform_animation_curve_adapter.cc gfx::Transform base_transform = base_curve_.GetValue(t); gfx 110 ui/compositor/transform_animation_curve_adapter.cc gfx::Transform to_return(gfx::Transform::kSkipInitialization); gfx 119 ui/compositor/transform_animation_curve_adapter.cc const gfx::BoxF& box, gfx 120 ui/compositor/transform_animation_curve_adapter.cc gfx::BoxF* bounds) const { gfx 20 ui/compositor/transform_animation_curve_adapter.h TransformAnimationCurveAdapter(gfx::Tween::Type tween_type, gfx 21 ui/compositor/transform_animation_curve_adapter.h gfx::Transform intial_value, gfx 22 ui/compositor/transform_animation_curve_adapter.h gfx::Transform target_value, gfx 30 ui/compositor/transform_animation_curve_adapter.h virtual gfx::Transform GetValue(double t) const OVERRIDE; gfx 31 ui/compositor/transform_animation_curve_adapter.h virtual bool AnimatedBoundsForBox(const gfx::BoxF& box, gfx 32 ui/compositor/transform_animation_curve_adapter.h gfx::BoxF* bounds) const OVERRIDE; gfx 38 ui/compositor/transform_animation_curve_adapter.h gfx::Tween::Type tween_type_; gfx 39 ui/compositor/transform_animation_curve_adapter.h gfx::Transform initial_value_; gfx 40 ui/compositor/transform_animation_curve_adapter.h gfx::Transform target_value_; gfx 41 ui/compositor/transform_animation_curve_adapter.h gfx::DecomposedTransform decomposed_initial_value_; gfx 42 ui/compositor/transform_animation_curve_adapter.h gfx::DecomposedTransform decomposed_target_value_; gfx 52 ui/compositor/transform_animation_curve_adapter.h gfx::Transform initial_value, gfx 59 ui/compositor/transform_animation_curve_adapter.h virtual gfx::Transform GetValue(double t) const OVERRIDE; gfx 60 ui/compositor/transform_animation_curve_adapter.h virtual bool AnimatedBoundsForBox(const gfx::BoxF& box, gfx 61 ui/compositor/transform_animation_curve_adapter.h gfx::BoxF* bounds) const OVERRIDE; gfx 68 ui/compositor/transform_animation_curve_adapter.h gfx::Transform initial_value_; gfx 69 ui/compositor/transform_animation_curve_adapter.h gfx::Transform effective_initial_value_; gfx 20 ui/compositor/transform_animation_curve_adapter_unittest.cc gfx::Transform parent_start, parent_target; gfx 25 ui/compositor/transform_animation_curve_adapter_unittest.cc gfx::Transform child_transform; gfx 30 ui/compositor/transform_animation_curve_adapter_unittest.cc const gfx::Transform effective_child_transform = gfx 33 ui/compositor/transform_animation_curve_adapter_unittest.cc TransformAnimationCurveAdapter parent_curve(gfx::Tween::LINEAR, gfx 47 ui/compositor/transform_animation_curve_adapter_unittest.cc gfx::Transform progress_parent_transform = gfx 49 ui/compositor/transform_animation_curve_adapter_unittest.cc gfx::Transform progress_child_transform = gfx 11 ui/display/chromeos/display_mode.cc DisplayMode::DisplayMode(const gfx::Size& size, gfx 20 ui/display/chromeos/display_mode.h DisplayMode(const gfx::Size& size, bool interlaced, float refresh_rate); gfx 23 ui/display/chromeos/display_mode.h const gfx::Size& size() const { return size_; } gfx 30 ui/display/chromeos/display_mode.h gfx::Size size_; gfx 11 ui/display/chromeos/display_snapshot.cc const gfx::Point& origin, gfx 12 ui/display/chromeos/display_snapshot.cc const gfx::Size& physical_size, gfx 25 ui/display/chromeos/display_snapshot.h const gfx::Point& origin, gfx 26 ui/display/chromeos/display_snapshot.h const gfx::Size& physical_size, gfx 36 ui/display/chromeos/display_snapshot.h const gfx::Point& origin() const { return origin_; } gfx 37 ui/display/chromeos/display_snapshot.h const gfx::Size& physical_size() const { return physical_size_; } gfx 54 ui/display/chromeos/display_snapshot.h void set_origin(const gfx::Point& origin) { origin_ = origin; } gfx 66 ui/display/chromeos/display_snapshot.h gfx::Point origin_; gfx 68 ui/display/chromeos/display_snapshot.h gfx::Size physical_size_; gfx 15 ui/display/chromeos/native_display_delegate.h namespace gfx { gfx 65 ui/display/chromeos/native_display_delegate.h const gfx::Point& origin) = 0; gfx 68 ui/display/chromeos/native_display_delegate.h virtual void CreateFrameBuffer(const gfx::Size& size) = 0; gfx 124 ui/display/chromeos/output_configurator.cc const gfx::Size& size) { gfx 568 ui/display/chromeos/output_configurator.cc gfx::Size size; gfx 745 ui/display/chromeos/output_configurator.cc gfx::Size size; gfx 747 ui/display/chromeos/output_configurator.cc std::vector<gfx::Point> new_origins(cached_outputs_.size(), gfx::Point()); gfx 781 ui/display/chromeos/output_configurator.cc if (mode_info->size() == gfx::Size(1024, 768)) { gfx 998 ui/display/chromeos/output_configurator.cc const gfx::Point& new_origin, gfx 999 ui/display/chromeos/output_configurator.cc const gfx::Size& framebuffer_size) { gfx 23 ui/display/chromeos/output_configurator.h namespace gfx { gfx 97 ui/display/chromeos/output_configurator.h gfx::Size* size) const = 0; gfx 166 ui/display/chromeos/output_configurator.h const gfx::Size& size); gfx 340 ui/display/chromeos/output_configurator.h const gfx::Point& new_origin, gfx 341 ui/display/chromeos/output_configurator.h const gfx::Size& framebuffer_size); gfx 64 ui/display/chromeos/output_configurator_unittest.cc const gfx::Point& origin) { gfx 74 ui/display/chromeos/output_configurator_unittest.cc std::string GetFramebufferAction(const gfx::Size& size, gfx 229 ui/display/chromeos/output_configurator_unittest.cc const gfx::Point& origin) OVERRIDE { gfx 240 ui/display/chromeos/output_configurator_unittest.cc virtual void CreateFrameBuffer(const gfx::Size& size) OVERRIDE { gfx 357 ui/display/chromeos/output_configurator_unittest.cc gfx::Size* size) const OVERRIDE { gfx 390 ui/display/chromeos/output_configurator_unittest.cc : small_mode_(gfx::Size(1366, 768), false, 60.0f), gfx 391 ui/display/chromeos/output_configurator_unittest.cc big_mode_(gfx::Size(2560, 1600), false, 60.0f), gfx 472 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 501 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1920, 1200), false, 60.0)); gfx 503 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 30.0)); gfx 504 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 50.0)); gfx 505 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 40.0)); gfx 506 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 0.0)); gfx 508 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1280, 720), true, 60.0)); gfx 509 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1280, 720), false, 40.0)); gfx 511 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1024, 768), true, 0.0)); gfx 512 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1024, 768), true, 40.0)); gfx 513 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1024, 768), true, 60.0)); gfx 515 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1024, 600), true, 60.0)); gfx 516 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1024, 600), false, 40.0)); gfx 517 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1024, 600), false, 50.0)); gfx 519 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(640, 480), true, 60.0)); gfx 521 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(320, 200), false, 0.0)); gfx 528 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(1920, 1200))); gfx 533 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(1920, 1080))); gfx 538 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(1280, 720))); gfx 544 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(1024, 768))); gfx 550 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(1024, 600))); gfx 555 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(640, 480))); gfx 560 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(320, 200))); gfx 565 ui/display/chromeos/output_configurator_unittest.cc output, gfx::Size(1440, 900))); gfx 582 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), gfx 585 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 588 ui/display/chromeos/output_configurator_unittest.cc gfx::Point(0, gfx 605 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 606 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 620 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 634 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), gfx 637 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 640 ui/display/chromeos/output_configurator_unittest.cc gfx::Point(0, gfx 678 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 697 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 698 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 716 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], NULL, gfx::Point(0, 0)).c_str(), gfx 717 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &big_mode_, gfx::Point(0, 0)).c_str(), gfx 734 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], NULL, gfx::Point(0, 0)).c_str(), gfx 735 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], NULL, gfx::Point(0, 0)).c_str(), gfx 752 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 753 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 773 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), gfx 776 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 779 ui/display/chromeos/output_configurator_unittest.cc gfx::Point(0, gfx 801 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], NULL, gfx::Point(0, 0)).c_str(), gfx 802 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &big_mode_, gfx::Point(0, 0)).c_str(), gfx 819 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), gfx 822 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], NULL, gfx::Point(0, 0)).c_str(), gfx 825 ui/display/chromeos/output_configurator_unittest.cc gfx::Point(0, gfx 843 ui/display/chromeos/output_configurator_unittest.cc GetFramebufferAction(gfx::Size(big_mode_.size().width(), kDualHeight), gfx 846 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 849 ui/display/chromeos/output_configurator_unittest.cc gfx::Point(0, gfx 875 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 889 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], NULL, gfx::Point(0, 0)).c_str(), gfx 899 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 911 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 926 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 927 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 938 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], NULL, gfx::Point(0, 0)).c_str(), gfx 939 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], NULL, gfx::Point(0, 0)).c_str(), gfx 956 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], NULL, gfx::Point(0, 0)).c_str(), gfx 992 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &big_mode_, gfx::Point(0, 0)).c_str(), gfx 1012 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 1013 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 1113 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 1114 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], &small_mode_, gfx::Point(0, 0)).c_str(), gfx 1275 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(2560, 1600), false, 60.0)); gfx 1276 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1024, 768), false, 60.0)); gfx 1277 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1280, 720), false, 60.0)); gfx 1278 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 60.0)); gfx 1279 ui/display/chromeos/output_configurator_unittest.cc modes.push_back(new DisplayMode(gfx::Size(1920, 1080), false, 40.0)); gfx 1301 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], modes[0], gfx::Point(0, 0)).c_str(), gfx 1302 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], modes[3], gfx::Point(0, 0)).c_str(), gfx 1303 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], modes[2], gfx::Point(0, 0)).c_str(), gfx 1320 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], modes[0], gfx::Point(0, 0)).c_str(), gfx 1323 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], modes[3], gfx::Point(0, 0)).c_str(), gfx 1325 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], modes[0], gfx::Point(0, 0)).c_str(), gfx 1326 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[1], modes[3], gfx::Point(0, 0)).c_str(), gfx 1332 ui/display/chromeos/output_configurator_unittest.cc gfx::Size(modes[0]->size().width(), gfx 1337 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], modes[0], gfx::Point(0, 0)).c_str(), gfx 1338 ui/display/chromeos/output_configurator_unittest.cc GetCrtcAction(outputs_[0], modes[3], gfx::Point(0, 0)).c_str(), gfx 1341 ui/display/chromeos/output_configurator_unittest.cc gfx::Point(0, gfx 1347 ui/display/chromeos/output_configurator_unittest.cc gfx::Point(0, gfx 51 ui/display/chromeos/ozone/native_display_delegate_ozone.cc const gfx::Point& origin) { gfx 56 ui/display/chromeos/ozone/native_display_delegate_ozone.cc void NativeDisplayDelegateOzone::CreateFrameBuffer(const gfx::Size& size) { gfx 30 ui/display/chromeos/ozone/native_display_delegate_ozone.h const gfx::Point& origin) OVERRIDE; gfx 31 ui/display/chromeos/ozone/native_display_delegate_ozone.h virtual void CreateFrameBuffer(const gfx::Size& size) OVERRIDE; gfx 11 ui/display/chromeos/test/test_display_snapshot.cc gfx::Point(0, 0), gfx 12 ui/display/chromeos/test/test_display_snapshot.cc gfx::Size(0, 0), gfx 24 ui/display/chromeos/test/test_display_snapshot.cc const gfx::Point& origin, gfx 25 ui/display/chromeos/test/test_display_snapshot.cc const gfx::Size& physical_size, gfx 17 ui/display/chromeos/test/test_display_snapshot.h const gfx::Point& origin, gfx 18 ui/display/chromeos/test/test_display_snapshot.h const gfx::Size& physical_size, gfx 9 ui/display/chromeos/x11/display_mode_x11.cc DisplayModeX11::DisplayModeX11(const gfx::Size& size, gfx 18 ui/display/chromeos/x11/display_mode_x11.h DisplayModeX11(const gfx::Size& size, gfx 15 ui/display/chromeos/x11/display_snapshot_x11.cc const gfx::Point& origin, gfx 16 ui/display/chromeos/x11/display_snapshot_x11.cc const gfx::Size& physical_size, gfx 21 ui/display/chromeos/x11/display_snapshot_x11.h const gfx::Point& origin, gfx 22 ui/display/chromeos/x11/display_snapshot_x11.h const gfx::Size& physical_size, gfx 259 ui/display/chromeos/x11/native_display_delegate_x11.cc const gfx::Point& origin) { gfx 300 ui/display/chromeos/x11/native_display_delegate_x11.cc void NativeDisplayDelegateX11::CreateFrameBuffer(const gfx::Size& size) { gfx 333 ui/display/chromeos/x11/native_display_delegate_x11.cc new DisplayModeX11(gfx::Size(info.width, info.height), gfx 369 ui/display/chromeos/x11/native_display_delegate_x11.cc gfx::Point origin; gfx 409 ui/display/chromeos/x11/native_display_delegate_x11.cc gfx::Size(info->mm_width, info->mm_height), gfx 502 ui/display/chromeos/x11/native_display_delegate_x11.cc gfx::X11ErrorTracker err_tracker; gfx 81 ui/display/chromeos/x11/native_display_delegate_x11.h const gfx::Point& origin) OVERRIDE; gfx 82 ui/display/chromeos/x11/native_display_delegate_x11.h virtual void CreateFrameBuffer(const gfx::Size& size) OVERRIDE; gfx 21 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc const DisplayModeX11 kDefaultDisplayMode(gfx::Size(1, 1), false, 60.0f, 20); gfx 27 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc gfx::Point(0, 0), gfx 28 ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc gfx::Size(0, 0), gfx 25 ui/display/display_util.cc bool IsDisplaySizeBlackListed(const gfx::Size& physical_size) { gfx 33 ui/display/display_util.cc const gfx::Size size(kInvalidDisplaySizeList[i][0], gfx 15 ui/display/display_util.h DISPLAY_EXPORT bool IsDisplaySizeBlackListed(const gfx::Size& physical_size); gfx 12 ui/display/display_util_unittest.cc EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(10, 10))); gfx 13 ui/display/display_util_unittest.cc EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(40, 30))); gfx 14 ui/display/display_util_unittest.cc EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(50, 40))); gfx 15 ui/display/display_util_unittest.cc EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(160, 90))); gfx 16 ui/display/display_util_unittest.cc EXPECT_TRUE(IsDisplaySizeBlackListed(gfx::Size(160, 100))); gfx 18 ui/display/display_util_unittest.cc EXPECT_FALSE(IsDisplaySizeBlackListed(gfx::Size(50, 60))); gfx 19 ui/display/display_util_unittest.cc EXPECT_FALSE(IsDisplaySizeBlackListed(gfx::Size(100, 70))); gfx 20 ui/display/display_util_unittest.cc EXPECT_FALSE(IsDisplaySizeBlackListed(gfx::Size(272, 181))); gfx 257 ui/events/event.cc const gfx::PointF& location, gfx 258 ui/events/event.cc const gfx::PointF& root_location, gfx 267 ui/events/event.cc const gfx::Transform& reversed_root_transform) { gfx 269 ui/events/event.cc gfx::Point3F p(location_); gfx 287 ui/events/event.cc const gfx::PointF& location, gfx 288 ui/events/event.cc const gfx::PointF& root_location, gfx 425 ui/events/event.cc const gfx::Transform& inverted_root_transform) { gfx 427 ui/events/event.cc gfx::DecomposedTransform decomp; gfx 428 ui/events/event.cc bool success = gfx::DecomposeTransform(&decomp, inverted_root_transform); gfx 463 ui/events/event.cc const gfx::PointF& location, gfx 477 ui/events/event.cc const gfx::PointF& location, gfx 503 ui/events/event.cc void TouchEvent::Relocate(const gfx::Point& origin) { gfx 509 ui/events/event.cc const gfx::Transform& inverted_root_transform) { gfx 511 ui/events/event.cc gfx::DecomposedTransform decomp; gfx 512 ui/events/event.cc bool success = gfx::DecomposeTransform(&decomp, inverted_root_transform); gfx 684 ui/events/event.cc const gfx::PointF& location, gfx 720 ui/events/event.cc gfx::PointF(x, y), gfx 721 ui/events/event.cc gfx::PointF(x, y), gfx 21 ui/events/event.h namespace gfx { gfx 251 ui/events/event.h void set_location(const gfx::PointF& location) { location_ = location; } gfx 254 ui/events/event.h gfx::Point location() const { return gfx::ToFlooredPoint(location_); } gfx 255 ui/events/event.h gfx::PointF location_f() const { return location_; } gfx 256 ui/events/event.h void set_root_location(const gfx::PointF& root_location) { gfx 259 ui/events/event.h gfx::Point root_location() const { gfx 260 ui/events/event.h return gfx::ToFlooredPoint(root_location_); gfx 266 ui/events/event.h const gfx::Transform& inverted_root_transform); gfx 273 ui/events/event.h gfx::Point offset = gfx::ToFlooredPoint(location_); gfx 275 ui/events/event.h gfx::Vector2d diff = gfx::ToFlooredPoint(location_) - offset; gfx 296 ui/events/event.h const gfx::PointF& location, gfx 297 ui/events/event.h const gfx::PointF& root_location, gfx 301 ui/events/event.h gfx::PointF location_; gfx 305 ui/events/event.h gfx::PointF root_location_; gfx 336 ui/events/event.h const gfx::PointF& location, gfx 337 ui/events/event.h const gfx::PointF& root_location, gfx 430 ui/events/event.h const gfx::Vector2d& offset() const { return offset_; } gfx 434 ui/events/event.h const gfx::Transform& inverted_root_transform) OVERRIDE; gfx 437 ui/events/event.h gfx::Vector2d offset_; gfx 459 ui/events/event.h const gfx::PointF& location, gfx 464 ui/events/event.h const gfx::PointF& location, gfx 485 ui/events/event.h void Relocate(const gfx::Point& origin); gfx 496 ui/events/event.h const gfx::Transform& inverted_root_transform) OVERRIDE; gfx 632 ui/events/event.h const gfx::PointF& location, gfx 258 ui/events/event_dispatcher_unittest.cc MouseEvent mouse(ui::ET_MOUSE_MOVED, gfx::Point(3, 4), gfx 259 ui/events/event_dispatcher_unittest.cc gfx::Point(3, 4), 0, 0); gfx 332 ui/events/event_dispatcher_unittest.cc MouseEvent mouse(ui::ET_MOUSE_MOVED, gfx::Point(3, 4), gfx 333 ui/events/event_dispatcher_unittest.cc gfx::Point(3, 4), 0, 0); gfx 364 ui/events/event_dispatcher_unittest.cc MouseEvent mouse(ui::ET_MOUSE_MOVED, gfx::Point(3, 4), gfx 365 ui/events/event_dispatcher_unittest.cc gfx::Point(3, 4), 0, 0); gfx 416 ui/events/event_dispatcher_unittest.cc MouseEvent mouse(ui::ET_MOUSE_MOVED, gfx::Point(3, 4), gfx 417 ui/events/event_dispatcher_unittest.cc gfx::Point(3, 4), 0, 0); gfx 470 ui/events/event_dispatcher_unittest.cc MouseEvent mouse(ui::ET_MOUSE_MOVED, gfx::Point(3, 4), gfx::Point(3, 4), 0, gfx 513 ui/events/event_dispatcher_unittest.cc MouseEvent mouse(ui::ET_MOUSE_MOVED, gfx::Point(3, 4), gfx::Point(3, 4), 0, gfx 571 ui/events/event_dispatcher_unittest.cc MouseEvent mouse(ui::ET_MOUSE_MOVED, gfx::Point(3, 4), gfx::Point(3, 4), 0, gfx 49 ui/events/event_processor_unittest.cc MouseEvent mouse(ET_MOUSE_MOVED, gfx::Point(10, 10), gfx::Point(10, 10), gfx 78 ui/events/event_processor_unittest.cc void set_bounds(gfx::Rect rect) { bounds_ = rect; } gfx 79 ui/events/event_processor_unittest.cc gfx::Rect bounds() const { return bounds_; } gfx 83 ui/events/event_processor_unittest.cc gfx::Point* location) { gfx 84 ui/events/event_processor_unittest.cc gfx::Vector2d vector; gfx 110 ui/events/event_processor_unittest.cc gfx::Rect bounds_; gfx 120 ui/events/event_processor_unittest.cc parent->set_bounds(gfx::Rect(0, 0, 30, 30)); gfx 121 ui/events/event_processor_unittest.cc child->set_bounds(gfx::Rect(5, 5, 20, 20)); gfx 122 ui/events/event_processor_unittest.cc grandchild->set_bounds(gfx::Rect(5, 5, 5, 5)); gfx 139 ui/events/event_processor_unittest.cc MouseEvent mouse(ET_MOUSE_MOVED, gfx::Point(1, 1), gfx::Point(1, 1), EF_NONE, gfx 151 ui/events/event_processor_unittest.cc MouseEvent mouse2(ET_MOUSE_MOVED, gfx::Point(1, 1), gfx::Point(1, 1), EF_NONE, gfx 162 ui/events/event_processor_unittest.cc MouseEvent second(ET_MOUSE_MOVED, gfx::Point(12, 12), gfx::Point(12, 12), gfx 190 ui/events/event_processor_unittest.cc MouseEvent mouse(ET_MOUSE_MOVED, gfx::Point(10, 10), gfx::Point(10, 10), gfx 201 ui/events/event_processor_unittest.cc MouseEvent mouse2(ET_MOUSE_MOVED, gfx::Point(10, 10), gfx::Point(10, 10), gfx 363 ui/events/event_processor_unittest.cc MouseEvent mouse(ET_MOUSE_MOVED, gfx::Point(10, 10), gfx::Point(10, 10), gfx 60 ui/events/event_unittest.cc const gfx::Point origin(0, 0); gfx 69 ui/events/event_unittest.cc const gfx::Point origin(0, 0); gfx 80 ui/events/event_unittest.cc test_ev1.set_location(gfx::Point(0, 0)); gfx 81 ui/events/event_unittest.cc test_ev2.set_location(gfx::Point(1, 0)); gfx 87 ui/events/event_unittest.cc test_ev1.set_location(gfx::Point(0, 0)); gfx 88 ui/events/event_unittest.cc test_ev2.set_location(gfx::Point(10, 0)); gfx 94 ui/events/event_unittest.cc test_ev1.set_location(gfx::Point(0, 0)); gfx 95 ui/events/event_unittest.cc test_ev2.set_location(gfx::Point(0, 0)); gfx 30 ui/events/event_utils.cc gfx::Display::TOUCH_SUPPORT_AVAILABLE; gfx 33 ui/events/event_utils.cc gfx::Display::TouchSupport GetInternalDisplayTouchSupport() { gfx 34 ui/events/event_utils.cc gfx::Screen* screen = gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE); gfx 37 ui/events/event_utils.cc return gfx::Display::TOUCH_SUPPORT_UNKNOWN; gfx 38 ui/events/event_utils.cc const std::vector<gfx::Display>& displays = screen->GetAllDisplays(); gfx 39 ui/events/event_utils.cc for (std::vector<gfx::Display>::const_iterator it = displays.begin(); gfx 44 ui/events/event_utils.cc return gfx::Display::TOUCH_SUPPORT_UNAVAILABLE; gfx 19 ui/events/event_utils.h namespace gfx { gfx 54 ui/events/event_utils.h EVENTS_EXPORT gfx::Point EventLocationFromNative( gfx 58 ui/events/event_utils.h EVENTS_EXPORT gfx::Point EventSystemLocationFromNative( gfx 84 ui/events/event_utils.h EVENTS_EXPORT gfx::Vector2d GetMouseWheelOffset( gfx 130 ui/events/event_utils.h EVENTS_EXPORT gfx::Display::TouchSupport GetInternalDisplayTouchSupport(); gfx 38 ui/events/events_stub.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { gfx 40 ui/events/events_stub.cc return gfx::Point(); gfx 43 ui/events/events_stub.cc gfx::Point EventSystemLocationFromNative( gfx 46 ui/events/events_stub.cc return gfx::Point(); gfx 60 ui/events/events_stub.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { gfx 62 ui/events/events_stub.cc return gfx::Vector2d(); gfx 10 ui/events/gesture_detection/gesture_config_helper_android.cc using gfx::ViewConfiguration; gfx 51 ui/events/gesture_detection/gesture_config_helper_android.cc const gfx::Display& display = gfx 52 ui/events/gesture_detection/gesture_config_helper_android.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 46 ui/events/gesture_detection/gesture_config_helper_aura.cc const gfx::Display& display = gfx 47 ui/events/gesture_detection/gesture_config_helper_aura.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 74 ui/events/gesture_detection/gesture_provider.cc gfx::RectF(event.GetTouchMajor(), event.GetTouchMajor())); gfx 265 ui/events/gesture_detection/gesture_provider.cc gfx::RectF(e.GetTouchMajor(), e.GetTouchMajor())); gfx 356 ui/events/gesture_detection/gesture_provider.cc gfx::RectF(e.GetTouchMajor(), e.GetTouchMajor())); gfx 439 ui/events/gesture_detection/gesture_provider.cc gfx::RectF(e.GetTouchMajor(), e.GetTouchMajor())); gfx 764 ui/events/gesture_detection/gesture_provider.cc gfx::RectF(event.GetTouchMajor(), event.GetTouchMajor())); gfx 130 ui/events/gesture_detection/mock_motion_event.cc points[pointer_count++] = gfx::PointF(x, y); gfx 136 ui/events/gesture_detection/mock_motion_event.cc points[index] = gfx::PointF(x, y); gfx 60 ui/events/gesture_detection/mock_motion_event.h gfx::PointF points[MAX_POINTERS]; gfx 49 ui/events/gesture_detection/velocity_tracker_unittest.cc gfx::PointF p0, gfx 51 ui/events/gesture_detection/velocity_tracker_unittest.cc gfx::Vector2dF v, gfx 53 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::PointF p = p0 + ScaleVector2d(v, dt.InSecondsF()); gfx 58 ui/events/gesture_detection/velocity_tracker_unittest.cc gfx::PointF p0, gfx 59 ui/events/gesture_detection/velocity_tracker_unittest.cc gfx::Vector2dF v, gfx 73 ui/events/gesture_detection/velocity_tracker_unittest.cc gfx::PointF p0, gfx 74 ui/events/gesture_detection/velocity_tracker_unittest.cc gfx::Vector2dF v, gfx 88 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::PointF p0(0, 0); gfx 89 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::Vector2dF v(0, 500); gfx 124 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::PointF p0(0, 0); gfx 125 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::Vector2dF v(-50000, 50000); gfx 143 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::PointF p0(0, 0); gfx 144 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::Vector2dF vFast(0, 500); gfx 145 ui/events/gesture_detection/velocity_tracker_unittest.cc const gfx::Vector2dF vSlow = ScaleVector2d(vFast, 0.5f); gfx 161 ui/events/gesture_detection/velocity_tracker_unittest.cc gfx::PointF pCurr = p0; gfx 30 ui/events/gesture_event_details.h const gfx::Rect bounding_box() const { gfx 34 ui/events/gesture_event_details.h const gfx::RectF& bounding_box_f() const { gfx 38 ui/events/gesture_event_details.h void set_bounding_box(const gfx::RectF& box) { bounding_box_ = box; } gfx 200 ui/events/gesture_event_details.h gfx::RectF bounding_box_; gfx 48 ui/events/gestures/gesture_point.cc same_direction_count_ = gfx::Vector2d(); gfx 51 ui/events/gestures/gesture_point.cc gfx::Vector2dF GesturePoint::ScrollDelta() const { gfx 62 ui/events/gestures/gesture_point.cc gfx::Vector2d sd(ScrollVelocityDirection(velocity_calculator_.XVelocity()), gfx 96 ui/events/gestures/gesture_point.cc same_direction_count_ = gfx::Vector2d(); gfx 138 ui/events/gestures/gesture_point.cc gfx::Vector2dF d = last_touch_position_ - second_last_touch_position_; gfx 143 ui/events/gestures/gesture_point.cc gfx::Vector2dF d = last_touch_position_ - second_last_touch_position_; gfx 149 ui/events/gestures/gesture_point.cc gfx::Vector2dF d = last_touch_position_ - second_last_touch_position_; gfx 183 ui/events/gestures/gesture_point.cc const gfx::PointF& p1 = event.location(); gfx 184 ui/events/gestures/gesture_point.cc const gfx::PointF& p2 = first_touch_position_; gfx 191 ui/events/gestures/gesture_point.cc bool GesturePoint::IsPointInsideDoubleTapTouchSlopRegion(gfx::PointF p1, gfx 192 ui/events/gestures/gesture_point.cc gfx::PointF p2) const { gfx 224 ui/events/gestures/gesture_point.cc gfx::RectF rect(event.location_f().x() - radius, gfx 52 ui/events/gestures/gesture_point.h const gfx::PointF& first_touch_position() const { gfx 57 ui/events/gestures/gesture_point.h const gfx::PointF& last_touch_position() const { gfx 77 ui/events/gestures/gesture_point.h gfx::Vector2dF ScrollDelta() const; gfx 82 ui/events/gestures/gesture_point.h const gfx::RectF& enclosing_rectangle() const { return enclosing_rect_; } gfx 95 ui/events/gestures/gesture_point.h gfx::PointF p1, gfx::PointF p2) const; gfx 109 ui/events/gestures/gesture_point.h void clear_enclosing_rectangle() { enclosing_rect_ = gfx::RectF(); } gfx 112 ui/events/gestures/gesture_point.h gfx::PointF first_touch_position_; gfx 115 ui/events/gestures/gesture_point.h gfx::PointF second_last_touch_position_; gfx 118 ui/events/gestures/gesture_point.h gfx::PointF last_touch_position_; gfx 122 ui/events/gestures/gesture_point.h gfx::PointF second_last_tap_position_; gfx 125 ui/events/gestures/gesture_point.h gfx::PointF last_tap_position_; gfx 134 ui/events/gestures/gesture_point.h gfx::RectF enclosing_rect_; gfx 137 ui/events/gestures/gesture_point.h gfx::Vector2d same_direction_count_; gfx 57 ui/events/gestures/gesture_recognizer.h const gfx::PointF& location, int source_device_id) = 0; gfx 73 ui/events/gestures/gesture_recognizer.h gfx::PointF* point) = 0; gfx 85 ui/events/gestures/gesture_recognizer_impl.cc const gfx::PointF& location, int source_device_id) { gfx 96 ui/events/gestures/gesture_recognizer_impl.cc gfx::Vector2dF delta = points[j].last_touch_position() - location; gfx 149 ui/events/gestures/gesture_recognizer_impl.cc gfx::PointF* point) { gfx 207 ui/events/gestures/gesture_recognizer_impl.cc TouchEvent touch_event(ui::ET_TOUCH_CANCELLED, gfx::PointF(0, 0), gfx 42 ui/events/gestures/gesture_recognizer_impl.h const gfx::PointF& location, int source_device_id) OVERRIDE; gfx 46 ui/events/gestures/gesture_recognizer_impl.h gfx::PointF* point) OVERRIDE; gfx 426 ui/events/gestures/gesture_sequence.cc float BoundingBoxDiagonal(const gfx::RectF& rect) { gfx 820 ui/events/gestures/gesture_sequence.cc const gfx::PointF& point = points_[i].last_touch_position(); gfx 876 ui/events/gestures/gesture_sequence.cc gfx::PointF p1 = GetPointByPointId(0)->last_touch_position(); gfx 877 ui/events/gestures/gesture_sequence.cc gfx::PointF p2 = GetPointByPointId(1)->last_touch_position(); gfx 889 ui/events/gestures/gesture_sequence.cc const gfx::PointF& location, gfx 946 ui/events/gestures/gesture_sequence.cc gfx::RectF er = point.enclosing_rectangle(); gfx 947 ui/events/gestures/gesture_sequence.cc gfx::PointF center = er.CenterPoint(); gfx 957 ui/events/gestures/gesture_sequence.cc const gfx::PointF& location, gfx 959 ui/events/gestures/gesture_sequence.cc gfx::Vector2dF d = point.ScrollDelta(); gfx 969 ui/events/gestures/gesture_sequence.cc const gfx::PointF& location, gfx 1010 ui/events/gestures/gesture_sequence.cc gfx::Vector2dF d; gfx 1011 ui/events/gestures/gesture_sequence.cc gfx::PointF location; gfx 1030 ui/events/gestures/gesture_sequence.cc location += gfx::Vector2dF(last_scroll_prediction_offset_.x(), gfx 1043 ui/events/gestures/gesture_sequence.cc gfx::Vector2dF o = d; gfx 1070 ui/events/gestures/gesture_sequence.cc gfx::PointF center = bounding_box_.CenterPoint(); gfx 1083 ui/events/gestures/gesture_sequence.cc gfx::PointF center = bounding_box_.CenterPoint(); gfx 1119 ui/events/gestures/gesture_sequence.cc const gfx::RectF& rect = point->enclosing_rectangle(); gfx 78 ui/events/gestures/gesture_sequence.h const gfx::PointF& last_touch_location() const { gfx 106 ui/events/gestures/gesture_sequence.h const gfx::PointF& location, gfx 131 ui/events/gestures/gesture_sequence.h const gfx::PointF& location, gfx 134 ui/events/gestures/gesture_sequence.h const gfx::PointF& location, gfx 221 ui/events/gestures/gesture_sequence.h gfx::RectF bounding_box_; gfx 225 ui/events/gestures/gesture_sequence.h gfx::PointF latest_multi_scroll_update_location_; gfx 230 ui/events/gestures/gesture_sequence.h gfx::Vector2dF last_scroll_prediction_offset_; gfx 253 ui/events/gestures/gesture_sequence.h gfx::PointF last_touch_location_; gfx 12 ui/events/ozone/evdev/cursor_delegate_evdev.h namespace gfx { gfx 21 ui/events/ozone/evdev/cursor_delegate_evdev.h virtual void MoveCursor(const gfx::Vector2dF& delta) = 0; gfx 22 ui/events/ozone/evdev/cursor_delegate_evdev.h virtual void MoveCursorTo(gfx::AcceleratedWidget widget, gfx 23 ui/events/ozone/evdev/cursor_delegate_evdev.h const gfx::PointF& location) = 0; gfx 26 ui/events/ozone/evdev/cursor_delegate_evdev.h virtual gfx::AcceleratedWidget window() = 0; gfx 27 ui/events/ozone/evdev/cursor_delegate_evdev.h virtual gfx::PointF location() = 0; gfx 206 ui/events/ozone/evdev/event_factory_evdev.cc void EventFactoryEvdev::WarpCursorTo(gfx::AcceleratedWidget widget, gfx 207 ui/events/ozone/evdev/event_factory_evdev.cc const gfx::PointF& location) { gfx 34 ui/events/ozone/evdev/event_factory_evdev.h virtual void WarpCursorTo(gfx::AcceleratedWidget widget, gfx 35 ui/events/ozone/evdev/event_factory_evdev.h const gfx::PointF& location) OVERRIDE; gfx 60 ui/events/ozone/evdev/touch_event_converter_evdev.cc gfx::Screen *screen = gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE); gfx 63 ui/events/ozone/evdev/touch_event_converter_evdev.cc gfx::Display display = screen->GetPrimaryDisplay(); gfx 64 ui/events/ozone/evdev/touch_event_converter_evdev.cc gfx::Size size = display.GetSizeInPixel(); gfx 146 ui/events/ozone/evdev/touch_event_converter_evdev.cc gfx::Point(std::min(x_max_, events_[j].x_), gfx 35 ui/events/ozone/event_factory_ozone.cc void EventFactoryOzone::WarpCursorTo(gfx::AcceleratedWidget widget, gfx 36 ui/events/ozone/event_factory_ozone.cc const gfx::PointF& location) { gfx 17 ui/events/ozone/event_factory_ozone.h namespace gfx { gfx 51 ui/events/ozone/event_factory_ozone.h virtual void WarpCursorTo(gfx::AcceleratedWidget widget, gfx 52 ui/events/ozone/event_factory_ozone.h const gfx::PointF& location); gfx 28 ui/events/ozone/events_ozone.cc gfx::Point EventSystemLocationFromNative( gfx 37 ui/events/ozone/events_ozone.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { gfx 61 ui/events/ozone/events_ozone.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { gfx 35 ui/events/test/events_test_utils.h void set_location(const gfx::Point& location) { gfx 98 ui/events/test/events_test_utils_x11.cc const gfx::Point& location) { gfx 146 ui/events/test/events_test_utils_x11.cc XDisplay* display = gfx::GetXDisplay(); gfx 169 ui/events/test/events_test_utils_x11.cc const gfx::Point& location, gfx 172 ui/events/test/events_test_utils_x11.cc XIButtonEventType(type), 0, gfx::Point())); gfx 186 ui/events/test/events_test_utils_x11.cc InitGenericButtonEvent(deviceid, ui::ET_MOUSEWHEEL, gfx::Point(), flags); gfx 197 ui/events/test/events_test_utils_x11.cc event_.reset(CreateXInput2Event(deviceid, XI_Motion, 0, gfx::Point())); gfx 216 ui/events/test/events_test_utils_x11.cc event_.reset(CreateXInput2Event(deviceid, XI_Motion, deviceid, gfx::Point())); gfx 233 ui/events/test/events_test_utils_x11.cc const gfx::Point& location, gfx 47 ui/events/test/events_test_utils_x11.h const gfx::Point& location, gfx 71 ui/events/test/events_test_utils_x11.h const gfx::Point& location, gfx 17 ui/events/test/test_event_target.h namespace gfx { gfx 216 ui/events/win/events_win.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { gfx 229 ui/events/win/events_win.cc return gfx::Point(native_event.lParam); gfx 239 ui/events/win/events_win.cc return gfx::win::ScreenToDIPPoint(gfx::Point(native_point)); gfx 242 ui/events/win/events_win.cc gfx::Point EventSystemLocationFromNative( gfx 246 ui/events/win/events_win.cc return gfx::Point(0, 0); gfx 274 ui/events/win/events_win.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { gfx 278 ui/events/win/events_win.cc return gfx::Vector2d(0, GET_WHEEL_DELTA_WPARAM(native_event.wParam)); gfx 279 ui/events/win/events_win.cc return gfx::Vector2d(GET_WHEEL_DELTA_WPARAM(native_event.wParam), 0); gfx 114 ui/events/x/device_data_manager.cc atom_cache_(gfx::GetXDisplay(), kCachedAtoms), gfx 116 ui/events/x/device_data_manager.cc CHECK(gfx::GetXDisplay()); gfx 121 ui/events/x/device_data_manager.cc UpdateDeviceList(gfx::GetXDisplay()); gfx 133 ui/events/x/device_data_manager.cc gfx::GetXDisplay(), "XInputExtension", &opcode, &event, &error)) { gfx 144 ui/events/x/device_data_manager.cc if (XIQueryVersion(gfx::GetXDisplay(), &major, &minor) == BadRequest) { gfx 523 ui/events/x/device_data_manager.cc button_map_count_ = XGetPointerMapping(gfx::GetXDisplay(), gfx 114 ui/events/x/events_x.cc if (ui::EventLocationFromNative(native_event) != gfx::Point()) gfx 233 ui/events/x/events_x.cc XDisplay* display = gfx::GetXDisplay(); gfx 424 ui/events/x/events_x.cc gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { gfx 428 ui/events/x/events_x.cc return gfx::Point(native_event->xcrossing.x, native_event->xcrossing.y); gfx 431 ui/events/x/events_x.cc return gfx::Point(native_event->xbutton.x, native_event->xbutton.y); gfx 433 ui/events/x/events_x.cc return gfx::Point(native_event->xmotion.x, native_event->xmotion.y); gfx 437 ui/events/x/events_x.cc return gfx::Point(static_cast<int>(xievent->event_x), gfx 441 ui/events/x/events_x.cc return gfx::Point(); gfx 444 ui/events/x/events_x.cc gfx::Point EventSystemLocationFromNative( gfx 449 ui/events/x/events_x.cc return gfx::Point(native_event->xcrossing.x_root, gfx 454 ui/events/x/events_x.cc return gfx::Point(native_event->xbutton.x_root, gfx 458 ui/events/x/events_x.cc return gfx::Point(native_event->xmotion.x_root, gfx 464 ui/events/x/events_x.cc return gfx::Point(xievent->root_x, xievent->root_y); gfx 468 ui/events/x/events_x.cc return gfx::Point(); gfx 512 ui/events/x/events_x.cc gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { gfx 516 ui/events/x/events_x.cc return gfx::Vector2d(static_cast<int>(x_offset), gfx 525 ui/events/x/events_x.cc return gfx::Vector2d(0, kWheelScrollAmount); gfx 527 ui/events/x/events_x.cc return gfx::Vector2d(0, -kWheelScrollAmount); gfx 529 ui/events/x/events_x.cc return gfx::Vector2d(kWheelScrollAmount, 0); gfx 531 ui/events/x/events_x.cc return gfx::Vector2d(-kWheelScrollAmount, 0); gfx 533 ui/events/x/events_x.cc return gfx::Vector2d(); gfx 28 ui/events/x/events_x_unittest.cc const gfx::Point& location, gfx 47 ui/events/x/events_x_unittest.cc gfx::Point location(5, 10); gfx 48 ui/events/x/events_x_unittest.cc gfx::Vector2d offset; gfx 108 ui/events/x/events_x_unittest.cc gfx::Point location(5, 10); gfx 148 ui/events/x/events_x_unittest.cc gfx::Point location(5, 10); gfx 180 ui/events/x/events_x_unittest.cc 0, XI_TouchBegin, 5, gfx::Point(10, 10), valuators); gfx 192 ui/events/x/events_x_unittest.cc 0, XI_TouchUpdate, 5, gfx::Point(20, 20), valuators); gfx 206 ui/events/x/events_x_unittest.cc 0, XI_TouchBegin, 6, gfx::Point(200, 200), valuators); gfx 219 ui/events/x/events_x_unittest.cc 0, XI_TouchEnd, 5, gfx::Point(30, 30), valuators); gfx 232 ui/events/x/events_x_unittest.cc 0, XI_TouchEnd, 6, gfx::Point(200, 200), valuators); gfx 38 ui/events/x/touch_factory_x11.cc XDisplay* display = gfx::GetXDisplay(); gfx 196 ui/events/x/touch_factory_x11.cc XDisplay* display = gfx::GetXDisplay(); gfx 14 ui/gfx/android/device_display_info.h namespace gfx { gfx 12 ui/gfx/android/gfx_jni_registrar.h namespace gfx { gfx 28 ui/gfx/android/java_bitmap.cc size_ = gfx::Size(info.width, info.height); gfx 72 ui/gfx/android/java_bitmap.cc gfx::Size size) { gfx 106 ui/gfx/android/java_bitmap.cc gfx::Size src_size = jbitmap.size(); gfx 14 ui/gfx/android/java_bitmap.h namespace gfx { gfx 35 ui/gfx/android/java_bitmap.h inline const gfx::Size& size() const { return size_; } gfx 46 ui/gfx/android/java_bitmap.h gfx::Size size_; gfx 65 ui/gfx/android/java_bitmap.h CreateJavaBitmapFromAndroidResource(const char* name, gfx::Size size); gfx 11 ui/gfx/android/scroller.h namespace gfx { gfx 13 ui/gfx/android/shared_device_display_info.h namespace gfx { gfx 12 ui/gfx/android/view_configuration.h namespace gfx { gfx 72 ui/gfx/animation/animation.cc gfx::Rect Animation::CurrentValueBetween(const gfx::Rect& start_bounds, gfx 73 ui/gfx/animation/animation.cc const gfx::Rect& target_bounds) const { gfx 13 ui/gfx/animation/animation.h namespace gfx { gfx 17 ui/gfx/animation/animation.h namespace gfx { gfx 47 ui/gfx/animation/animation.h gfx::Rect CurrentValueBetween(const gfx::Rect& start_bounds, gfx 48 ui/gfx/animation/animation.h const gfx::Rect& target_bounds) const; gfx 17 ui/gfx/animation/animation_container.cc : last_tick_time_(gfx::FrameTime::Now()), gfx 32 ui/gfx/animation/animation_container.cc last_tick_time_ = gfx::FrameTime::Now(); gfx 65 ui/gfx/animation/animation_container.cc TimeTicks current_time = gfx::FrameTime::Now(); gfx 15 ui/gfx/animation/animation_container.h namespace gfx { gfx 11 ui/gfx/animation/animation_container_element.h namespace gfx { gfx 10 ui/gfx/animation/animation_container_observer.h namespace gfx { gfx 10 ui/gfx/animation/animation_delegate.h namespace gfx { gfx 11 ui/gfx/animation/linear_animation.h namespace gfx { gfx 13 ui/gfx/animation/multi_animation.h namespace gfx { gfx 11 ui/gfx/animation/slide_animation.h namespace gfx { gfx 11 ui/gfx/animation/test_animation_delegate.h namespace gfx { gfx 10 ui/gfx/animation/throb_animation.h namespace gfx { gfx 56 ui/gfx/animation/tween.cc return gfx::CubicBezier(0.4, 0, 0.2, 1).Solve(state); gfx 59 ui/gfx/animation/tween.cc return gfx::CubicBezier(0, 0, .2, 1).Solve(state); gfx 62 ui/gfx/animation/tween.cc return gfx::CubicBezier(0.4, 0, 1, 1).Solve(state); gfx 156 ui/gfx/animation/tween.cc gfx::Rect Tween::RectValueBetween(double value, gfx 157 ui/gfx/animation/tween.cc const gfx::Rect& start_bounds, gfx 158 ui/gfx/animation/tween.cc const gfx::Rect& target_bounds) { gfx 159 ui/gfx/animation/tween.cc return gfx::Rect( gfx 168 ui/gfx/animation/tween.cc gfx::Transform Tween::TransformValueBetween( gfx 170 ui/gfx/animation/tween.cc const gfx::Transform& start_transform, gfx 171 ui/gfx/animation/tween.cc const gfx::Transform& end_transform) { gfx 177 ui/gfx/animation/tween.cc gfx::Transform to_return = end_transform; gfx 14 ui/gfx/animation/tween.h namespace gfx { gfx 55 ui/gfx/animation/tween.h static gfx::Rect RectValueBetween(double value, gfx 56 ui/gfx/animation/tween.h const gfx::Rect& start_bounds, gfx 57 ui/gfx/animation/tween.h const gfx::Rect& target_bounds); gfx 58 ui/gfx/animation/tween.h static gfx::Transform TransformValueBetween( gfx 60 ui/gfx/animation/tween.h const gfx::Transform& start_transform, gfx 61 ui/gfx/animation/tween.h const gfx::Transform& target_transform); gfx 133 ui/gfx/blit.cc const gfx::Rect& in_clip, gfx 134 ui/gfx/blit.cc const gfx::Vector2d& offset) { gfx 158 ui/gfx/blit.cc gfx::Rect clip = gfx::IntersectRects( gfx 159 ui/gfx/blit.cc in_clip, gfx::Rect(0, 0, bitmap.width(), bitmap.height())); gfx 162 ui/gfx/blit.cc gfx::Rect dest_rect = gfx::IntersectRects(clip + offset, clip); gfx 167 ui/gfx/blit.cc gfx::Rect src_rect = dest_rect - offset; gfx 13 ui/gfx/blit.h namespace gfx { gfx 78 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), gfx 79 ui/gfx/blit_unittest.cc gfx::Rect(0, 0, kCanvasWidth, kCanvasHeight), gfx 80 ui/gfx/blit_unittest.cc gfx::Vector2d(0, 0)); gfx 84 ui/gfx/blit_unittest.cc gfx::Rect center_three(1, 1, 3, 3); gfx 85 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(0, -1)); gfx 96 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(0, 1)); gfx 107 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(1, 0)); gfx 118 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(-1, 0)); gfx 129 ui/gfx/blit_unittest.cc gfx::ScrollCanvas(canvas.get(), center_three, gfx::Vector2d(2, 2)); gfx 15 ui/gfx/break_list.h namespace gfx { gfx 542 ui/gfx/canvas.cc void Canvas::Transform(const gfx::Transform& transform) { gfx 19 ui/gfx/canvas.h namespace gfx { gfx 11 ui/gfx/canvas_paint.h namespace gfx { gfx 20 ui/gfx/canvas_paint.h GFX_EXPORT static CanvasPaint* CreateCanvasPaint(gfx::NativeView view); gfx 28 ui/gfx/canvas_paint.h virtual gfx::Rect GetInvalidRect() const = 0; gfx 14 ui/gfx/canvas_paint_gtk.h namespace gfx { gfx 14 ui/gfx/canvas_paint_mac.h namespace gfx { gfx 46 ui/gfx/canvas_paint_win.cc gfx::Rect CanvasSkiaPaint::GetInvalidRect() const { gfx 47 ui/gfx/canvas_paint_win.cc return gfx::Rect(paint_struct().rcPaint); gfx 58 ui/gfx/canvas_paint_win.cc RecreateBackingCanvas(gfx::Size(width, height), gfx 59 ui/gfx/canvas_paint_win.cc gfx::win::GetDeviceScaleFactor(), gfx 68 ui/gfx/canvas_paint_win.cc -ps_.rcPaint.left / gfx::win::GetDeviceScaleFactor(), gfx 69 ui/gfx/canvas_paint_win.cc -ps_.rcPaint.top / gfx::win::GetDeviceScaleFactor()); gfx 13 ui/gfx/canvas_paint_win.h namespace gfx { gfx 47 ui/gfx/canvas_paint_win.h virtual gfx::Rect GetInvalidRect() const; gfx 108 ui/gfx/canvas_skia.cc *text = gfx::ElideText(*text, font_list, width, gfx::ELIDE_AT_END); gfx 174 ui/gfx/canvas_skia.cc gfx::WordWrapBehavior wrap_behavior = gfx::TRUNCATE_LONG_WORDS; gfx 176 ui/gfx/canvas_skia.cc wrap_behavior = gfx::WRAP_LONG_WORDS; gfx 178 ui/gfx/canvas_skia.cc wrap_behavior = gfx::ELIDE_LONG_WORDS; gfx 182 ui/gfx/canvas_skia.cc gfx::ElideRectangleText(adjusted_text, font_list, gfx 247 ui/gfx/canvas_skia.cc gfx::WordWrapBehavior wrap_behavior = gfx::IGNORE_LONG_WORDS; gfx 249 ui/gfx/canvas_skia.cc wrap_behavior = gfx::WRAP_LONG_WORDS; gfx 251 ui/gfx/canvas_skia.cc wrap_behavior = gfx::ELIDE_LONG_WORDS; gfx 254 ui/gfx/canvas_skia.cc gfx::ElideRectangleText(adjusted_text, gfx 21 ui/gfx/canvas_unittest.cc gfx::Size SizeStringInt(const char *text, int width, int line_height) { gfx 28 ui/gfx/canvas_unittest.cc return gfx::Size(width, height); gfx 44 ui/gfx/canvas_unittest.cc gfx::Size size = SizeStringInt("", 0, 0); gfx 57 ui/gfx/canvas_unittest.cc gfx::Size one_line_size = SizeStringInt("Q", 0, 0); gfx 58 ui/gfx/canvas_unittest.cc gfx::Size four_line_size = SizeStringInt("Q\nQ\nQ\nQ", 1000000, 1000); gfx 15 ui/gfx/codec/jpeg_codec.h namespace gfx { gfx 67 ui/gfx/codec/png_codec.cc gfx::ConvertSkiaToRGBA(skia, pixel_width, rgba); gfx 16 ui/gfx/codec/png_codec.h namespace gfx { gfx 369 ui/gfx/color_analysis.cc gfx::PNGCodec::Decode(png->front(), gfx 371 ui/gfx/color_analysis.cc gfx::PNGCodec::FORMAT_BGRA, gfx 404 ui/gfx/color_analysis.cc gfx::Matrix3F ComputeColorCovariance(const SkBitmap& bitmap) { gfx 407 ui/gfx/color_analysis.cc gfx::Matrix3F covariance = gfx::Matrix3F::Zeros(); gfx 472 ui/gfx/color_analysis.cc const gfx::Vector3dF& color_transform, gfx 554 ui/gfx/color_analysis.cc gfx::Matrix3F covariance = ComputeColorCovariance(source_bitmap); gfx 555 ui/gfx/color_analysis.cc gfx::Matrix3F eigenvectors = gfx::Matrix3F::Zeros(); gfx 556 ui/gfx/color_analysis.cc gfx::Vector3dF eigenvals = covariance.SolveEigenproblem(&eigenvectors); gfx 557 ui/gfx/color_analysis.cc gfx::Vector3dF principal = eigenvectors.get_column(0); gfx 558 ui/gfx/color_analysis.cc if (eigenvals == gfx::Vector3dF() || principal == gfx::Vector3dF()) gfx 103 ui/gfx/color_analysis.h GFX_EXPORT gfx::Matrix3F ComputeColorCovariance(const SkBitmap& bitmap); gfx 112 ui/gfx/color_analysis.h const gfx::Vector3dF& color_transform, gfx 279 ui/gfx/color_analysis_unittest.cc EXPECT_EQ(gfx::Matrix3F::Zeros(), gfx 283 ui/gfx/color_analysis_unittest.cc gfx::Matrix3F covariance = color_utils::ComputeColorCovariance(bitmap); gfx 285 ui/gfx/color_analysis_unittest.cc EXPECT_TRUE(covariance == gfx::Matrix3F::Zeros()); gfx 289 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(250, 200), 1.0f, true); gfx 292 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 50, 200), SkColorSetRGB(100, 0, 0)); gfx 293 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(50, 0, 50, 200), SkColorSetRGB(100, 100, 0)); gfx 294 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 0, 50, 200), SkColorSetRGB(100, 100, 100)); gfx 295 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(150, 0, 50, 200), SkColorSetRGB(0, 100, 100)); gfx 296 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(200, 0, 50, 200), SkColorSetRGB(0, 0, 100)); gfx 300 ui/gfx/color_analysis_unittest.cc gfx::Matrix3F covariance = color_utils::ComputeColorCovariance(bitmap); gfx 302 ui/gfx/color_analysis_unittest.cc gfx::Matrix3F expected_covariance = gfx::Matrix3F::Zeros(); gfx 320 ui/gfx/color_analysis_unittest.cc gfx::Vector3dF transform(1.0f, .5f, 0.1f); gfx 358 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(300, 200), 1.0f, true); gfx 361 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 150, 200), SkColorSetRGB(0, 0, 0)); gfx 362 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(150, 0, 150, 200), SkColorSetRGB(255, 255, 255)); gfx 369 ui/gfx/color_analysis_unittest.cc gfx::Vector3dF transform(1.0f, 0.5f, 0.1f); gfx 398 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(300, 200), 1.0f, true); gfx 401 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 100, 200), SkColorSetRGB(100, 0, 0)); gfx 402 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 0, 100, 200), SkColorSetRGB(0, 255, 0)); gfx 403 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(200, 0, 100, 200), SkColorSetRGB(0, 0, 128)); gfx 410 ui/gfx/color_analysis_unittest.cc gfx::Vector3dF transform(1.0f, 0.5f, 0.1f); gfx 446 ui/gfx/color_analysis_unittest.cc gfx::Canvas canvas(gfx::Size(300, 200), 1.0f, true); gfx 449 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(0, 0, 100, 200), SkColorSetRGB(10, 10, 10)); gfx 450 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(100, 0, 100, 200), SkColorSetRGB(100, 100, 100)); gfx 451 ui/gfx/color_analysis_unittest.cc canvas.FillRect(gfx::Rect(200, 0, 100, 200), SkColorSetRGB(255, 255, 255)); gfx 14 ui/gfx/color_profile.h namespace gfx { gfx 17 ui/gfx/color_profile_mac.cc if (length > gfx::kMaxProfileLength) gfx 19 ui/gfx/color_profile_mac.cc if (length < gfx::kMinProfileLength) gfx 27 ui/gfx/color_profile_win.cc if (length > gfx::kMaxProfileLength) gfx 29 ui/gfx/color_profile_win.cc if (length < gfx::kMinProfileLength) gfx 73 ui/gfx/display.cc Display::Display(int64 id, const gfx::Rect& bounds) gfx 89 ui/gfx/display.cc return gfx::Insets(work_area_.y() - bounds_.y(), gfx 97 ui/gfx/display.cc const gfx::Rect& bounds_in_pixel) { gfx 108 ui/gfx/display.cc bounds_ = gfx::Rect( gfx 109 ui/gfx/display.cc gfx::ToFlooredPoint(gfx::ScalePoint(bounds_in_pixel.origin(), gfx 111 ui/gfx/display.cc gfx::ToFlooredSize(gfx::ScaleSize(bounds_in_pixel.size(), gfx 116 ui/gfx/display.cc void Display::SetSize(const gfx::Size& size_in_pixel) { gfx 117 ui/gfx/display.cc gfx::Point origin = bounds_.origin(); gfx 119 ui/gfx/display.cc gfx::PointF origin_f = origin; gfx 123 ui/gfx/display.cc SetScaleAndBounds(device_scale_factor_, gfx::Rect(origin, size_in_pixel)); gfx 126 ui/gfx/display.cc void Display::UpdateWorkAreaFromInsets(const gfx::Insets& insets) { gfx 131 ui/gfx/display.cc gfx::Size Display::GetSizeInPixel() const { gfx 132 ui/gfx/display.cc return gfx::ToFlooredSize(gfx::ScaleSize(size(), device_scale_factor_)); gfx 13 ui/gfx/display.h namespace gfx { gfx 92 ui/gfx/display.h const gfx::Rect& bounds_in_pixel); gfx 96 ui/gfx/display.h void SetSize(const gfx::Size& size_in_pixel); gfx 100 ui/gfx/display.h void UpdateWorkAreaFromInsets(const gfx::Insets& work_area_insets); gfx 103 ui/gfx/display.h gfx::Size GetSizeInPixel() const; gfx 10 ui/gfx/display_observer.h namespace gfx { gfx 13 ui/gfx/display_unittest.cc gfx::Display display(0, gfx::Rect(0, 0, 100, 100)); gfx 17 ui/gfx/display_unittest.cc display.set_work_area(gfx::Rect(3, 4, 90, 80)); gfx 21 ui/gfx/display_unittest.cc display.SetScaleAndBounds(1.0f, gfx::Rect(10, 20, 50, 50)); gfx 25 ui/gfx/display_unittest.cc display.SetSize(gfx::Size(200, 200)); gfx 28 ui/gfx/display_unittest.cc display.UpdateWorkAreaFromInsets(gfx::Insets(3, 4, 5, 6)); gfx 33 ui/gfx/display_unittest.cc gfx::Display display(0, gfx::Rect(0, 0, 100, 100)); gfx 34 ui/gfx/display_unittest.cc display.set_work_area(gfx::Rect(10, 10, 80, 80)); gfx 39 ui/gfx/display_unittest.cc display.SetScaleAndBounds(2.0f, gfx::Rect(0, 0, 140, 140)); gfx 44 ui/gfx/display_unittest.cc display.SetScaleAndBounds(1.0f, gfx::Rect(0, 0, 100, 100)); gfx 10 ui/gfx/favicon_size.h namespace gfx { gfx 15 ui/gfx/font.h namespace gfx { gfx 13 ui/gfx/font_fallback_win.h namespace gfx { gfx 18 ui/gfx/font_list.cc base::LazyInstance<scoped_refptr<gfx::FontListImpl> >::Leaky g_default_impl = gfx 15 ui/gfx/font_list.h namespace gfx { gfx 41 ui/gfx/font_list_impl.cc *font_style |= gfx::Font::BOLD; gfx 43 ui/gfx/font_list_impl.cc *font_style |= gfx::Font::ITALIC; gfx 52 ui/gfx/font_list_impl.cc if (font_style & gfx::Font::BOLD) gfx 54 ui/gfx/font_list_impl.cc if (font_style & gfx::Font::ITALIC) gfx 13 ui/gfx/font_list_impl.h namespace gfx { gfx 18 ui/gfx/font_list_unittest.cc std::string FontToString(const gfx::Font& font) { gfx 23 ui/gfx/font_list_unittest.cc if (style & gfx::Font::BOLD) gfx 25 ui/gfx/font_list_unittest.cc if (style & gfx::Font::ITALIC) gfx 27 ui/gfx/font_list_unittest.cc if (style & gfx::Font::UNDERLINE) gfx 200 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 8)); gfx 201 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 8)); gfx 225 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 8)); gfx 226 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 8)); gfx 247 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Arial", 18).Derive(0, Font::ITALIC)); gfx 248 ui/gfx/font_list_unittest.cc fonts.push_back(gfx::Font("Sans serif", 18).Derive(0, Font::ITALIC)); gfx 10 ui/gfx/font_render_params_linux.h namespace gfx { gfx 14 ui/gfx/font_smoothing_win.cc class CachedFontSmoothingSettings : public gfx::SingletonHwnd::Observer { gfx 69 ui/gfx/font_smoothing_win.cc gfx::SingletonHwnd::GetInstance()->AddObserver(this); gfx 8 ui/gfx/font_smoothing_win.h namespace gfx { gfx 11 ui/gfx/frame_time.h namespace gfx { gfx 66 ui/gfx/gdi_util.cc const std::vector<gfx::Rect>& cutouts) { gfx 81 ui/gfx/gdi_util.cc HRGN ConvertPathToHRGN(const gfx::Path& path) { gfx 15 ui/gfx/gdi_util.h namespace gfx { gfx 38 ui/gfx/gdi_util.h const std::vector<gfx::Rect>& cutouts); gfx 40 ui/gfx/gdi_util.h GFX_EXPORT HRGN ConvertPathToHRGN(const gfx::Path& path); gfx 61 ui/gfx/geometry/box_f.cc ExpandTo(box.origin(), gfx::Point3F(box.right(), box.bottom(), box.front())); gfx 11 ui/gfx/geometry/box_f.h namespace gfx { gfx 11 ui/gfx/geometry/cubic_bezier.h namespace gfx { gfx 19 ui/gfx/geometry/insets.h namespace gfx { gfx 10 ui/gfx/geometry/insets_base.h namespace gfx { gfx 14 ui/gfx/geometry/insets_f.h namespace gfx { gfx 10 ui/gfx/geometry/insets_unittest.cc gfx::Insets insets; gfx 21 ui/gfx/geometry/insets_unittest.cc gfx::Insets insets(1, 2, 3, 4); gfx 32 ui/gfx/geometry/insets_unittest.cc gfx::Insets insets; gfx 41 ui/gfx/geometry/insets_unittest.cc gfx::Insets insets; gfx 43 ui/gfx/geometry/insets_unittest.cc insets += gfx::Insets(5, 6, 7, 8); gfx 51 ui/gfx/geometry/insets_unittest.cc gfx::Insets insets1; gfx 53 ui/gfx/geometry/insets_unittest.cc gfx::Insets insets2; gfx 64 ui/gfx/geometry/insets_unittest.cc gfx::Insets insets(1, 2, 3, 4); gfx 11 ui/gfx/geometry/matrix3_f.h namespace gfx { gfx 22 ui/gfx/geometry/point.h namespace gfx { gfx 14 ui/gfx/geometry/point3_f.h namespace gfx { gfx 12 ui/gfx/geometry/point3_unittest.cc gfx::Point3F a(1.6f, 5.1f, 3.2f); gfx 13 ui/gfx/geometry/point3_unittest.cc gfx::Vector3dF v1(3.1f, -3.2f, 9.3f); gfx 14 ui/gfx/geometry/point3_unittest.cc gfx::Vector3dF v2(-8.1f, 1.2f, 3.3f); gfx 17 ui/gfx/geometry/point3_unittest.cc gfx::Point3F expected; gfx 18 ui/gfx/geometry/point3_unittest.cc gfx::Point3F actual; gfx 20 ui/gfx/geometry/point3_unittest.cc { gfx::Point3F(4.7f, 1.9f, 12.5f), a + v1 }, gfx 21 ui/gfx/geometry/point3_unittest.cc { gfx::Point3F(-1.5f, 8.3f, -6.1f), a - v1 }, gfx 24 ui/gfx/geometry/point3_unittest.cc { a, a + gfx::Vector3dF() }, gfx 25 ui/gfx/geometry/point3_unittest.cc { gfx::Point3F(12.8f, 0.7f, 9.2f), a + v1 - v2 }, gfx 26 ui/gfx/geometry/point3_unittest.cc { gfx::Point3F(-9.6f, 9.5f, -2.8f), a - v1 + v2 } gfx 41 ui/gfx/geometry/point3_unittest.cc gfx::Point3F a(1.6f, 5.2f, 3.2f); gfx 42 ui/gfx/geometry/point3_unittest.cc gfx::Vector3dF v1(3.1f, -3.2f, 9.3f); gfx 44 ui/gfx/geometry/point3_unittest.cc gfx::Point3F b(a + v1); gfx 14 ui/gfx/geometry/point_base.h namespace gfx { gfx 11 ui/gfx/geometry/point_conversions.h namespace gfx { gfx 14 ui/gfx/geometry/point_f.h namespace gfx { gfx 16 ui/gfx/geometry/quad_f.h namespace gfx { gfx 56 ui/gfx/geometry/quad_f.h bool Contains(const gfx::PointF& point) const; gfx 28 ui/gfx/geometry/rect.cc : RectBaseT(gfx::Point(r.left, r.top)) { gfx 34 ui/gfx/geometry/rect.cc : RectBaseT(gfx::Point(r.origin.x, r.origin.y)) { gfx 40 ui/gfx/geometry/rect.cc : RectBaseT(gfx::Point(r.x, r.y)) { gfx 34 ui/gfx/geometry/rect.h namespace gfx { gfx 59 ui/gfx/geometry/rect.h explicit Rect(const gfx::Size& size) gfx 62 ui/gfx/geometry/rect.h Rect(const gfx::Point& origin, const gfx::Size& size) gfx 19 ui/gfx/geometry/rect_base.h namespace gfx { gfx 30 ui/gfx/geometry/rect_base_impl.h namespace gfx { gfx 56 ui/gfx/geometry/rect_conversions.cc bool IsNearestRectWithinDistance(const gfx::RectF& rect, float distance) { gfx 11 ui/gfx/geometry/rect_conversions.h namespace gfx { gfx 28 ui/gfx/geometry/rect_conversions.h const gfx::RectF& rect, float distance); gfx 15 ui/gfx/geometry/rect_f.h namespace gfx { gfx 887 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(0, i.ManhattanInternalDistance(gfx::Rect(-1, 0, 2, 1))); gfx 888 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(1, i.ManhattanInternalDistance(gfx::Rect(400, 0, 1, 400))); gfx 889 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(2, i.ManhattanInternalDistance(gfx::Rect(-100, -100, 100, 100))); gfx 890 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(2, i.ManhattanInternalDistance(gfx::Rect(-101, 100, 100, 100))); gfx 891 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(4, i.ManhattanInternalDistance(gfx::Rect(-101, -101, 100, 100))); gfx 892 ui/gfx/geometry/rect_unittest.cc EXPECT_EQ(435, i.ManhattanInternalDistance(gfx::Rect(630, 603, 100, 100))); gfx 898 ui/gfx/geometry/rect_unittest.cc 0.0f, f.ManhattanInternalDistance(gfx::RectF(-1.0f, 0.0f, 2.0f, 1.0f))); gfx 901 ui/gfx/geometry/rect_unittest.cc f.ManhattanInternalDistance(gfx::RectF(400.0f, 0.0f, 1.0f, 400.0f))); gfx 904 ui/gfx/geometry/rect_unittest.cc gfx::RectF(-100.0f, -100.0f, 100.0f, 100.0f))); gfx 907 ui/gfx/geometry/rect_unittest.cc f.ManhattanInternalDistance(gfx::RectF(-101.0f, 100.0f, 100.0f, 100.0f))); gfx 910 ui/gfx/geometry/rect_unittest.cc gfx::RectF(-101.0f, -101.0f, 100.0f, 100.0f))); gfx 913 ui/gfx/geometry/rect_unittest.cc f.ManhattanInternalDistance(gfx::RectF(630.0f, 603.0f, 100.0f, 100.0f))); gfx 916 ui/gfx/geometry/rect_unittest.cc 0.0f, f.ManhattanInternalDistance(gfx::RectF(-1.0f, 0.0f, 1.1f, 1.0f))); gfx 919 ui/gfx/geometry/rect_unittest.cc f.ManhattanInternalDistance(gfx::RectF(-1.5f, 0.0f, 1.4f, 1.0f))); gfx 922 ui/gfx/geometry/rect_unittest.cc f.ManhattanInternalDistance(gfx::RectF(-1.5f, 0.0f, 1.5f, 1.0f))); gfx 13 ui/gfx/geometry/safe_integer_conversions.h namespace gfx { gfx 23 ui/gfx/geometry/size.h namespace gfx { gfx 10 ui/gfx/geometry/size_base.h namespace gfx { gfx 11 ui/gfx/geometry/size_conversions.h namespace gfx { gfx 14 ui/gfx/geometry/size_f.h namespace gfx { gfx 19 ui/gfx/geometry/vector2d.h namespace gfx { gfx 11 ui/gfx/geometry/vector2d_conversions.h namespace gfx { gfx 17 ui/gfx/geometry/vector2d_f.h namespace gfx { gfx 120 ui/gfx/geometry/vector2d_unittest.cc gfx::Vector2dF(double_values[i][0], double_values[i][1]), gfx 145 ui/gfx/geometry/vector2d_unittest.cc gfx::Vector2dF(double_values[i][0], double_values[i][1]), gfx 18 ui/gfx/geometry/vector3d_f.h namespace gfx { gfx 15 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF float_zero(0, 0, 0); gfx 16 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF float_nonzero(0.1f, -0.1f, 0.1f); gfx 23 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF f1(3.1f, 5.1f, 2.7f); gfx 24 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF f2(4.3f, -1.3f, 8.1f); gfx 27 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF expected; gfx 28 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF actual; gfx 30 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(3.1F, 5.1F, 2.7f), f1 + gfx::Vector3dF() }, gfx 31 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(3.1f + 4.3f, 5.1f - 1.3f, 2.7f + 8.1f), f1 + f2 }, gfx 32 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(3.1f - 4.3f, 5.1f + 1.3f, 2.7f - 8.1f), f1 - f2 } gfx 42 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF expected; gfx 43 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF actual; gfx 45 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(-0.0f, -0.0f, -0.0f), -gfx::Vector3dF(0, 0, 0) }, gfx 46 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(-0.3f, -0.3f, -0.3f), -gfx::Vector3dF(0.3f, 0.3f, 0.3f) }, gfx 47 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(0.3f, 0.3f, 0.3f), -gfx::Vector3dF(-0.3f, -0.3f, -0.3f) }, gfx 48 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(-0.3f, 0.3f, -0.3f), -gfx::Vector3dF(0.3f, -0.3f, 0.3f) }, gfx 49 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(0.3f, -0.3f, -0.3f), -gfx::Vector3dF(-0.3f, 0.3f, 0.3f) }, gfx 50 ui/gfx/geometry/vector3d_unittest.cc { gfx::Vector3dF(-0.3f, -0.3f, 0.3f), -gfx::Vector3dF(0.3f, 0.3f, -0.3f) } gfx 87 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF v(triple_values[i][0], gfx 96 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF(triple_values[i][0], gfx 123 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF v(single_values[i][0], gfx 132 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF(single_values[i][0], gfx 173 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF vector(v0, v1, v2); gfx 182 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF input1; gfx 183 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF input2; gfx 185 ui/gfx/geometry/vector3d_unittest.cc { 0, gfx::Vector3dF(1, 0, 0), gfx::Vector3dF(0, 1, 1) }, gfx 186 ui/gfx/geometry/vector3d_unittest.cc { 0, gfx::Vector3dF(0, 1, 0), gfx::Vector3dF(1, 0, 1) }, gfx 187 ui/gfx/geometry/vector3d_unittest.cc { 0, gfx::Vector3dF(0, 0, 1), gfx::Vector3dF(1, 1, 0) }, gfx 189 ui/gfx/geometry/vector3d_unittest.cc { 3, gfx::Vector3dF(1, 1, 1), gfx::Vector3dF(1, 1, 1) }, gfx 191 ui/gfx/geometry/vector3d_unittest.cc { 1.2f, gfx::Vector3dF(1.2f, -1.2f, 1.2f), gfx::Vector3dF(1, 1, 1) }, gfx 192 ui/gfx/geometry/vector3d_unittest.cc { 1.2f, gfx::Vector3dF(1, 1, 1), gfx::Vector3dF(1.2f, -1.2f, 1.2f) }, gfx 195 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF(1.1f, 2.2f, 3.3f), gfx::Vector3dF(4.4f, 5.5f, 6.6f) } gfx 199 ui/gfx/geometry/vector3d_unittest.cc float actual = gfx::DotProduct(tests[i].input1, tests[i].input2); gfx 206 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF expected; gfx 207 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF input1; gfx 208 ui/gfx/geometry/vector3d_unittest.cc gfx::Vector3dF input2; gfx 227 ui/gfx/geometry/vector3d_unittest.cc Vector3dF actual = gfx::CrossProduct(tests[i].input1, tests[i].input2); gfx 13 ui/gfx/gfx_paths.h namespace gfx { gfx 16 ui/gfx/gpu_memory_buffer.h namespace gfx { gfx 20 ui/gfx/gtk_native_view_id_manager.cc void OnRealize(gfx::NativeView widget, void* arg) { gfx 25 ui/gfx/gtk_native_view_id_manager.cc void OnUnrealize(gfx::NativeView widget, void *arg) { gfx 52 ui/gfx/gtk_native_view_id_manager.cc gfx::NativeViewId GtkNativeViewManager::GetIdForWidget(gfx::NativeView widget) { gfx 59 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeView, gfx::NativeViewId>::const_iterator i = gfx 65 ui/gfx/gtk_native_view_id_manager.cc gfx::NativeViewId new_id = gfx 66 ui/gfx/gtk_native_view_id_manager.cc static_cast<gfx::NativeViewId>(base::RandUint64()); gfx 68 ui/gfx/gtk_native_view_id_manager.cc new_id = static_cast<gfx::NativeViewId>(base::RandUint64()); gfx 88 ui/gfx/gtk_native_view_id_manager.cc bool GtkNativeViewManager::GetXIDForId(XID* output, gfx::NativeViewId id) { gfx 91 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeViewId, NativeViewInfo>::const_iterator i = gfx 101 ui/gfx/gtk_native_view_id_manager.cc bool GtkNativeViewManager::GetNativeViewForId(gfx::NativeView* output, gfx 102 ui/gfx/gtk_native_view_id_manager.cc gfx::NativeViewId id) { gfx 105 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeViewId, NativeViewInfo>::const_iterator i = gfx 116 ui/gfx/gtk_native_view_id_manager.cc gfx::NativeViewId id) { gfx 119 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeViewId, NativeViewInfo>::iterator i = gfx 193 ui/gfx/gtk_native_view_id_manager.cc gfx::NativeViewId GtkNativeViewManager::GetWidgetId(gfx::NativeView widget) { gfx 196 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeView, gfx::NativeViewId>::const_iterator i = gfx 203 ui/gfx/gtk_native_view_id_manager.cc void GtkNativeViewManager::OnRealize(gfx::NativeView widget) { gfx 206 ui/gfx/gtk_native_view_id_manager.cc const gfx::NativeViewId id = GetWidgetId(widget); gfx 207 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeViewId, NativeViewInfo>::iterator i = gfx 217 ui/gfx/gtk_native_view_id_manager.cc void GtkNativeViewManager::OnUnrealize(gfx::NativeView widget) { gfx 220 ui/gfx/gtk_native_view_id_manager.cc const gfx::NativeViewId id = GetWidgetId(widget); gfx 221 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeViewId, NativeViewInfo>::iterator i = gfx 227 ui/gfx/gtk_native_view_id_manager.cc void GtkNativeViewManager::OnDestroy(gfx::NativeView widget) { gfx 230 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeView, gfx::NativeViewId>::iterator i = gfx 234 ui/gfx/gtk_native_view_id_manager.cc std::map<gfx::NativeViewId, NativeViewInfo>::iterator j = gfx 46 ui/gfx/gtk_native_view_id_manager.h gfx::NativeViewId GetIdForWidget(gfx::NativeView widget); gfx 56 ui/gfx/gtk_native_view_id_manager.h bool GetXIDForId(XID* xid, gfx::NativeViewId id); gfx 61 ui/gfx/gtk_native_view_id_manager.h bool GetNativeViewForId(gfx::NativeView* xid, gfx::NativeViewId id); gfx 72 ui/gfx/gtk_native_view_id_manager.h bool GetPermanentXIDForId(XID* xid, gfx::NativeViewId id); gfx 88 ui/gfx/gtk_native_view_id_manager.h void OnRealize(gfx::NativeView widget); gfx 89 ui/gfx/gtk_native_view_id_manager.h void OnUnrealize(gfx::NativeView widget); gfx 90 ui/gfx/gtk_native_view_id_manager.h void OnDestroy(gfx::NativeView widget); gfx 101 ui/gfx/gtk_native_view_id_manager.h gfx::NativeView widget; gfx 105 ui/gfx/gtk_native_view_id_manager.h gfx::NativeViewId GetWidgetId(gfx::NativeView id); gfx 112 ui/gfx/gtk_native_view_id_manager.h std::map<gfx::NativeView, gfx::NativeViewId> native_view_to_id_; gfx 113 ui/gfx/gtk_native_view_id_manager.h std::map<gfx::NativeViewId, NativeViewInfo> id_to_info_; gfx 23 ui/gfx/gtk_util.h namespace gfx { gfx 46 ui/gfx/icon_util.cc bool BuildResizedImageFamily(const gfx::ImageFamily& image_family, gfx 47 ui/gfx/icon_util.cc gfx::ImageFamily* resized_image_family) { gfx 53 ui/gfx/icon_util.cc gfx::Size size(dimension, dimension); gfx 54 ui/gfx/icon_util.cc const gfx::Image* best = image_family.GetBest(size); gfx 85 ui/gfx/icon_util.cc resized_image_family->Add(gfx::Image::CreateFrom1xBitmap(resized_bitmap)); gfx 101 ui/gfx/icon_util.cc const gfx::ImageFamily& image_family, gfx 107 ui/gfx/icon_util.cc for (gfx::ImageFamily::const_iterator it = image_family.begin(); gfx 109 ui/gfx/icon_util.cc const gfx::Image& image = *it; gfx 230 ui/gfx/icon_util.cc SkBitmap* IconUtil::CreateSkBitmapFromHICON(HICON icon, const gfx::Size& s) { gfx 293 ui/gfx/icon_util.cc gfx::Image image = gfx::Image::CreateFrom1xPNGBytes( gfx 312 ui/gfx/icon_util.cc gfx::Size icon_size(bitmap_info.bmWidth, bitmap_info.bmHeight); gfx 316 ui/gfx/icon_util.cc HICON IconUtil::CreateCursorFromDIB(const gfx::Size& icon_size, gfx 317 ui/gfx/icon_util.cc const gfx::Point& hotspot, gfx 321 ui/gfx/icon_util.cc gfx::CreateBitmapHeader( gfx 367 ui/gfx/icon_util.cc const gfx::Size& s) { gfx 449 ui/gfx/icon_util.cc const gfx::ImageFamily& image_family, gfx 454 ui/gfx/icon_util.cc gfx::ImageFamily resized_image_family; gfx 23 ui/gfx/icon_util.h namespace gfx { gfx 96 ui/gfx/icon_util.h static SkBitmap* CreateSkBitmapFromHICON(HICON icon, const gfx::Size& s); gfx 129 ui/gfx/icon_util.h const gfx::ImageFamily& image_family, gfx 134 ui/gfx/icon_util.h static HICON CreateCursorFromDIB(const gfx::Size& icon_size, gfx 135 ui/gfx/icon_util.h const gfx::Point& hotspot, gfx 266 ui/gfx/icon_util.h const gfx::Size& s); gfx 30 ui/gfx/icon_util_unittest.cc PathService::Get(gfx::DIR_TEST_DATA, &test_data_directory_); gfx 131 ui/gfx/icon_util_unittest.cc gfx::Image image = gfx::Image::CreateFrom1xPNGBytes( gfx 144 ui/gfx/icon_util_unittest.cc gfx::Size icon_size(kSmallIconWidth, kSmallIconHeight); gfx 151 ui/gfx/icon_util_unittest.cc gfx::Size invalid_icon_size(kSmallIconHeight, 0); gfx 199 ui/gfx/icon_util_unittest.cc gfx::ImageFamily image_family; gfx 213 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); gfx 224 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); gfx 235 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); gfx 245 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(*bitmap)); gfx 258 ui/gfx/icon_util_unittest.cc EXPECT_FALSE(IconUtil::CreateIconFileFromImageFamily(gfx::ImageFamily(), gfx 263 ui/gfx/icon_util_unittest.cc gfx::ImageFamily image_family; gfx 264 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image()); gfx 276 ui/gfx/icon_util_unittest.cc gfx::Size small_icon_size(kSmallIconWidth, kSmallIconHeight); gfx 290 ui/gfx/icon_util_unittest.cc gfx::Size large_icon_size(kLargeIconWidth, kLargeIconHeight); gfx 345 ui/gfx/icon_util_unittest.cc gfx::ImageFamily image_family; gfx 350 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap( gfx 357 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(CreateBlackSkBitmap(48, 48))); gfx 363 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(CreateBlackSkBitmap(64, 64))); gfx 369 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap( gfx 378 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(CreateBlackSkBitmap(49, 49))); gfx 386 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(CreateBlackSkBitmap(16, 32))); gfx 393 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(CreateBlackSkBitmap(32, 49))); gfx 401 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image()); gfx 402 ui/gfx/icon_util_unittest.cc image_family.Add(gfx::Image::CreateFrom1xBitmap(CreateBlackSkBitmap(16, 16))); gfx 18 ui/gfx/image/cairo_cached_surface.h namespace gfx { gfx 15 ui/gfx/image/canvas_image_source.cc CanvasImageSource::CanvasImageSource(const gfx::Size& size, bool is_opaque) gfx 20 ui/gfx/image/canvas_image_source.cc gfx::ImageSkiaRep CanvasImageSource::GetImageForScale(float scale) { gfx 21 ui/gfx/image/canvas_image_source.cc gfx::Canvas canvas(size_, scale, is_opaque_); gfx 14 ui/gfx/image/canvas_image_source.h namespace gfx { gfx 22 ui/gfx/image/canvas_image_source.h class GFX_EXPORT CanvasImageSource : public gfx::ImageSkiaSource { gfx 24 ui/gfx/image/canvas_image_source.h CanvasImageSource(const gfx::Size& size, bool is_opaque); gfx 27 ui/gfx/image/canvas_image_source.h virtual void Draw(gfx::Canvas* canvas) = 0; gfx 30 ui/gfx/image/canvas_image_source.h const gfx::Size& size() const { return size_; }; gfx 33 ui/gfx/image/canvas_image_source.h virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE; gfx 38 ui/gfx/image/canvas_image_source.h const gfx::Size size_; gfx 44 ui/gfx/image/image.cc gfx::Canvas canvas(gfx::Size(gdk_pixbuf_get_width(pixbuf), gfx 65 ui/gfx/image/image.cc const std::vector<gfx::ImagePNGRep>& image_png_reps) { gfx 121 ui/gfx/image/image.cc const std::vector<gfx::ImagePNGRep>& image_png_reps); gfx 122 ui/gfx/image/image.cc gfx::Size UIImageSize(UIImage* image); gfx 127 ui/gfx/image/image.cc NSImage* NSImageFromPNG(const std::vector<gfx::ImagePNGRep>& image_png_reps, gfx 129 ui/gfx/image/image.cc gfx::Size NSImageSize(NSImage* image); gfx 134 ui/gfx/image/image.cc const std::vector<gfx::ImagePNGRep>& image_png_reps); gfx 145 ui/gfx/image/image.cc return new gfx::ImageSkia(gfx::ImageSkiaRep(bitmap, 1.0f)); gfx 149 ui/gfx/image/image.cc const std::vector<gfx::ImagePNGRep>& image_png_reps) { gfx 153 ui/gfx/image/image.cc scoped_ptr<gfx::ImageSkia> image_skia(new ImageSkia()); gfx 159 ui/gfx/image/image.cc if (!gfx::PNGCodec::Decode(raw_data->front(), raw_data->size(), gfx 166 ui/gfx/image/image.cc image_skia->AddRepresentation(gfx::ImageSkiaRep( gfx 178 ui/gfx/image/image.cc !gfx::PNGCodec::EncodeBGRASkBitmap(image_skia_rep.sk_bitmap(), false, gfx 244 ui/gfx/image/image.cc virtual gfx::Size Size() const = 0; gfx 271 ui/gfx/image/image.cc virtual gfx::Size Size() const OVERRIDE { gfx 277 ui/gfx/image/image.cc size_cache_.reset(new gfx::Size(it->Size())); gfx 281 ui/gfx/image/image.cc size_cache_.reset(new gfx::Size); gfx 293 ui/gfx/image/image.cc mutable scoped_ptr<gfx::Size> size_cache_; gfx 317 ui/gfx/image/image.cc virtual gfx::Size Size() const OVERRIDE { gfx 353 ui/gfx/image/image.cc virtual gfx::Size Size() const OVERRIDE { gfx 354 ui/gfx/image/image.cc return gfx::Size(Width(), Height()); gfx 387 ui/gfx/image/image.cc virtual gfx::Size Size() const OVERRIDE { gfx 388 ui/gfx/image/image.cc return gfx::Size(Width(), Height()); gfx 422 ui/gfx/image/image.cc virtual gfx::Size Size() const OVERRIDE { gfx 455 ui/gfx/image/image.cc virtual gfx::Size Size() const OVERRIDE { gfx 473 ui/gfx/image/image.cc ImageStorage(gfx::Image::RepresentationType default_type) gfx 482 ui/gfx/image/image.cc gfx::Image::RepresentationType default_representation_type() { gfx 485 ui/gfx/image/image.cc gfx::Image::RepresentationMap& representations() { return representations_; } gfx 503 ui/gfx/image/image.cc gfx::Image::RepresentationType default_representation_type_; gfx 515 ui/gfx/image/image.cc gfx::Image::RepresentationMap representations_; gfx 594 ui/gfx/image/image.cc return gfx::Image(ImageSkia::CreateFrom1xBitmap(bitmap)); gfx 601 ui/gfx/image/image.cc return gfx::Image(); gfx 612 ui/gfx/image/image.cc return gfx::Image(); gfx 614 ui/gfx/image/image.cc std::vector<gfx::ImagePNGRep> image_reps; gfx 616 ui/gfx/image/image.cc return gfx::Image(image_reps); gfx 685 ui/gfx/image/image.cc rep = new internal::ImageRepGdk(gfx::GdkPixbufFromSkBitmap( gfx 780 ui/gfx/image/image.cc const std::vector<gfx::ImagePNGRep>& image_png_reps = gfx 838 ui/gfx/image/image.cc image_png_reps.push_back(gfx::ImagePNGRep(png_bytes, 1.0f)); gfx 922 ui/gfx/image/image.cc gfx::Size Image::Size() const { gfx 924 ui/gfx/image/image.cc return gfx::Size(); gfx 928 ui/gfx/image/image.cc void Image::SwapRepresentations(gfx::Image* other) { gfx 42 ui/gfx/image/image.h namespace gfx { gfx 181 ui/gfx/image/image.h gfx::Size Size() const; gfx 184 ui/gfx/image/image.h void SwapRepresentations(gfx::Image* other); gfx 21 ui/gfx/image/image_family.cc const std::map<MapKey, gfx::Image>::const_iterator& other) gfx 29 ui/gfx/image/image_family.cc void ImageFamily::Add(const gfx::Image& image) { gfx 30 ui/gfx/image/image_family.cc gfx::Size size = image.Size(); gfx 40 ui/gfx/image/image_family.cc void ImageFamily::Add(const gfx::ImageSkia& image_skia) { gfx 41 ui/gfx/image/image_family.cc Add(gfx::Image(image_skia)); gfx 44 ui/gfx/image/image_family.cc const gfx::Image* ImageFamily::GetBest(int width, int height) const { gfx 72 ui/gfx/image/image_family.cc std::map<MapKey, gfx::Image>::const_iterator greater_or_equal = gfx 84 ui/gfx/image/image_family.cc std::map<MapKey, gfx::Image>::const_iterator less_than = gfx 106 ui/gfx/image/image_family.cc const gfx::Image* ImageFamily::GetBest(const gfx::Size& size) const { gfx 110 ui/gfx/image/image_family.cc const gfx::Image* ImageFamily::GetWithExactAspect(float aspect, gfx 113 ui/gfx/image/image_family.cc std::map<MapKey, gfx::Image>::const_iterator greater_or_equal = gfx 122 ui/gfx/image/image_family.cc std::map<MapKey, gfx::Image>::const_iterator less_than = greater_or_equal; gfx 15 ui/gfx/image/image_family.h namespace gfx { gfx 45 ui/gfx/image/image_family.h std::iterator<std::bidirectional_iterator_tag, const gfx::Image> { gfx 83 ui/gfx/image/image_family.h const gfx::Image& operator*() const { gfx 87 ui/gfx/image/image_family.h const gfx::Image* operator->() const { gfx 95 ui/gfx/image/image_family.h const std::map<MapKey, gfx::Image>::const_iterator& other); gfx 97 ui/gfx/image/image_family.h std::map<MapKey, gfx::Image>::const_iterator map_iterator_; gfx 116 ui/gfx/image/image_family.h void Add(const gfx::Image& image); gfx 120 ui/gfx/image/image_family.h void Add(const gfx::ImageSkia& image_skia); gfx 128 ui/gfx/image/image_family.h const gfx::Image* GetBest(int width, int height) const; gfx 137 ui/gfx/image/image_family.h const gfx::Image* GetBest(const gfx::Size& size) const; gfx 150 ui/gfx/image/image_family.h const gfx::Image* GetWithExactAspect(float aspect, int width) const; gfx 153 ui/gfx/image/image_family.h std::map<MapKey, gfx::Image> map_; gfx 13 ui/gfx/image/image_family_unittest.cc namespace gt = gfx::test; gfx 20 ui/gfx/image/image_family_unittest.cc const gfx::Image* image_ = image; \ gfx 39 ui/gfx/image/image_family_unittest.cc gfx::Image image(gt::CreateImageSkia(32, 32)); gfx 51 ui/gfx/image/image_family_unittest.cc gfx::ImageFamily image_family_; gfx 61 ui/gfx/image/image_family_unittest.cc gfx::ImageFamily::const_iterator it = image_family_.begin(); gfx 62 ui/gfx/image/image_family_unittest.cc gfx::ImageFamily::const_iterator end = image_family_.end(); gfx 67 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(3, 12), it->Size()); gfx 70 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(12, 48), it->Size()); gfx 73 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(16, 16), it->Size()); gfx 76 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(32, 32), it->Size()); gfx 79 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(16, 16), it->Size()); gfx 83 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(64, 64), (*it).Size()); // Test operator*. gfx 86 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(256, 64), it->Size()); gfx 89 ui/gfx/image/image_family_unittest.cc EXPECT_EQ(gfx::Size(512, 128), it->Size()); gfx 97 ui/gfx/image/image_family_unittest.cc gfx::ImageFamily empty_family; gfx 157 ui/gfx/image/image_family_unittest.cc image_family_.Add(gfx::Image()); gfx 28 ui/gfx/image/image_png_rep.cc gfx::Size ImagePNGRep::Size() const { gfx 33 ui/gfx/image/image_png_rep.cc if (!gfx::PNGCodec::Decode(raw_data->front(), raw_data->size(), gfx 36 ui/gfx/image/image_png_rep.cc return gfx::Size(0, 0); gfx 38 ui/gfx/image/image_png_rep.cc return gfx::Size(bitmap.width(), bitmap.height()); gfx 11 ui/gfx/image/image_png_rep.h namespace gfx { gfx 27 ui/gfx/image/image_png_rep.h gfx::Size Size() const; gfx 24 ui/gfx/image/image_skia.cc gfx::ImageSkiaRep& NullImageRep() { gfx 59 ui/gfx/image/image_skia.cc ImageSkiaStorage(ImageSkiaSource* source, const gfx::Size& size) gfx 77 ui/gfx/image/image_skia.cc std::vector<gfx::ImageSkiaRep>& image_reps() { return image_reps_; } gfx 79 ui/gfx/image/image_skia.cc const gfx::Size& size() const { return size_; } gfx 172 ui/gfx/image/image_skia.cc std::vector<gfx::ImageSkiaRep> image_reps_; gfx 177 ui/gfx/image/image_skia.cc gfx::Size size_; gfx 189 ui/gfx/image/image_skia.cc ImageSkia::ImageSkia(ImageSkiaSource* source, const gfx::Size& size) gfx 253 ui/gfx/image/image_skia.cc std::vector<gfx::ImageSkiaRep>& reps = storage_->image_reps(); gfx 254 ui/gfx/image/image_skia.cc for (std::vector<gfx::ImageSkiaRep>::iterator iter = reps.begin(); gfx 265 ui/gfx/image/image_skia.cc bool ImageSkia::BackedBySameObjectAs(const gfx::ImageSkia& other) const { gfx 343 ui/gfx/image/image_skia.cc gfx::Size ImageSkia::size() const { gfx 344 ui/gfx/image/image_skia.cc return gfx::Size(width(), height()); gfx 389 ui/gfx/image/image_skia.cc NULL, gfx::Size(image_rep.GetWidth(), image_rep.GetHeight())); gfx 17 ui/gfx/image/image_skia.h namespace gfx { gfx 47 ui/gfx/image/image_skia.h ImageSkia(ImageSkiaSource* source, const gfx::Size& size); gfx 54 ui/gfx/image/image_skia.h explicit ImageSkia(const gfx::ImageSkiaRep& image_rep); gfx 92 ui/gfx/image/image_skia.h bool BackedBySameObjectAs(const gfx::ImageSkia& other) const; gfx 95 ui/gfx/image/image_skia.h void AddRepresentation(const gfx::ImageSkiaRep& image_rep); gfx 106 ui/gfx/image/image_skia.h const gfx::ImageSkiaRep& GetRepresentation(float scale) const; gfx 130 ui/gfx/image/image_skia.h gfx::Size size() const; gfx 142 ui/gfx/image/image_skia.h std::vector<gfx::ImageSkiaRep> image_reps() const; gfx 157 ui/gfx/image/image_skia.h void Init(const gfx::ImageSkiaRep& image_rep); gfx 28 ui/gfx/image/image_skia_operations.cc gfx::Size DIPToPixelSize(gfx::Size dip_size, float scale) { gfx 32 ui/gfx/image/image_skia_operations.cc gfx::Rect DIPToPixelBounds(gfx::Rect dip_bounds, float scale) { gfx 33 ui/gfx/image/image_skia_operations.cc return gfx::Rect(ToFlooredPoint(ScalePoint(dip_bounds.origin(), scale)), gfx 39 ui/gfx/image/image_skia_operations.cc ImageSkiaRep GetErrorImageRep(float scale, const gfx::Size& pixel_size) { gfx 45 ui/gfx/image/image_skia_operations.cc return gfx::ImageSkiaRep(bitmap, scale); gfx 50 ui/gfx/image/image_skia_operations.cc class BinaryImageSource : public gfx::ImageSkiaSource { gfx 129 ui/gfx/image/image_skia_operations.cc class SuperimposedImageSource : public gfx::CanvasImageSource { gfx 133 ui/gfx/image/image_skia_operations.cc : gfx::CanvasImageSource(first.size(), false /* is opaque */), gfx 155 ui/gfx/image/image_skia_operations.cc class TransparentImageSource : public gfx::ImageSkiaSource { gfx 207 ui/gfx/image/image_skia_operations.cc class TiledImageSource : public gfx::ImageSkiaSource { gfx 225 ui/gfx/image/image_skia_operations.cc gfx::Rect bounds = DIPToPixelBounds(gfx::Rect(src_x_, src_y_, dst_w_, gfx 244 ui/gfx/image/image_skia_operations.cc class HSLImageSource : public gfx::ImageSkiaSource { gfx 258 ui/gfx/image/image_skia_operations.cc return gfx::ImageSkiaRep( gfx 264 ui/gfx/image/image_skia_operations.cc const gfx::ImageSkia image_; gfx 272 ui/gfx/image/image_skia_operations.cc class ButtonImageSource: public gfx::ImageSkiaSource { gfx 293 ui/gfx/image/image_skia_operations.cc return gfx::ImageSkiaRep( gfx 309 ui/gfx/image/image_skia_operations.cc class ExtractSubsetImageSource: public gfx::ImageSkiaSource { gfx 311 ui/gfx/image/image_skia_operations.cc ExtractSubsetImageSource(const gfx::ImageSkia& image, gfx 312 ui/gfx/image/image_skia_operations.cc const gfx::Rect& subset_bounds) gfx 329 ui/gfx/image/image_skia_operations.cc return gfx::ImageSkiaRep(dst, image_rep.scale()); gfx 333 ui/gfx/image/image_skia_operations.cc const gfx::ImageSkia image_; gfx 334 ui/gfx/image/image_skia_operations.cc const gfx::Rect subset_bounds_; gfx 483 ui/gfx/image/image_skia_operations.cc gfx::Size(dst_w, dst_h)); gfx 509 ui/gfx/image/image_skia_operations.cc gfx::Rect clipped_bounds = gfx 510 ui/gfx/image/image_skia_operations.cc gfx::IntersectRects(subset_bounds, gfx::Rect(image.size())); gfx 538 ui/gfx/image/image_skia_operations.cc const gfx::Insets shadow_padding = -gfx::ShadowValue::GetMargin(shadows); gfx 539 ui/gfx/image/image_skia_operations.cc gfx::Size shadow_image_size = source.size(); gfx 555 ui/gfx/image/image_skia_operations.cc gfx::Size(source.height(), source.width())); gfx 15 ui/gfx/image/image_skia_operations.h namespace gfx { gfx 65 ui/gfx/image/image_skia_operations.h static ImageSkia CreateHSLShiftedImage(const gfx::ImageSkia& image, gfx 74 ui/gfx/image/image_skia_operations.h const gfx::ImageSkia& image, gfx 75 ui/gfx/image/image_skia_operations.h const gfx::ImageSkia& mask); gfx 79 ui/gfx/image/image_skia_operations.h static ImageSkia ExtractSubset(const gfx::ImageSkia& image, gfx 80 ui/gfx/image/image_skia_operations.h const gfx::Rect& subset_bounds); gfx 15 ui/gfx/image/image_skia_rep.cc ImageSkiaRep::ImageSkiaRep(const gfx::Size& size, float scale) : scale_(scale) { gfx 12 ui/gfx/image/image_skia_rep.h namespace gfx { gfx 23 ui/gfx/image/image_skia_rep.h ImageSkiaRep(const gfx::Size& size, float scale); gfx 12 ui/gfx/image/image_skia_source.h namespace gfx { gfx 24 ui/gfx/image/image_skia_source.h virtual gfx::ImageSkiaRep GetImageForScale(float scale) = 0; gfx 46 ui/gfx/image/image_skia_unittest.cc DynamicSource(const gfx::Size& size) : size_(size) {} gfx 52 ui/gfx/image/image_skia_unittest.cc return gfx::ImageSkiaRep(size_, scale); gfx 56 ui/gfx/image/image_skia_unittest.cc gfx::Size size_; gfx 70 ui/gfx/image/image_skia_unittest.cc return gfx::ImageSkiaRep(); gfx 177 ui/gfx/image/image_skia_unittest.cc ImageSkia image(new NullSource(), gfx::Size(kSmallIcon1x, kSmallIcon1x)); gfx 186 ui/gfx/image/image_skia_unittest.cc gfx::Size(kSmallIcon1x, kSmallIcon1x), 1.0f)); gfx 188 ui/gfx/image/image_skia_unittest.cc gfx::Size(kSmallIcon2x, kSmallIcon2x), 2.0f)); gfx 190 ui/gfx/image/image_skia_unittest.cc gfx::Size(kLargeIcon1x, kLargeIcon1x), 1.0f)); gfx 235 ui/gfx/image/image_skia_unittest.cc image.AddRepresentation(gfx::ImageSkiaRep(gfx::Size(10, 10), gfx 238 ui/gfx/image/image_skia_unittest.cc copy.AddRepresentation(gfx::ImageSkiaRep(gfx::Size(10, 10), gfx 240 ui/gfx/image/image_skia_unittest.cc unrelated.AddRepresentation(gfx::ImageSkiaRep(gfx::Size(10, 10), gfx 16 ui/gfx/image/image_skia_util_ios.h namespace gfx { gfx 21 ui/gfx/image/image_skia_util_ios.h GFX_EXPORT gfx::ImageSkia ImageSkiaFromUIImage(UIImage* image); gfx 26 ui/gfx/image/image_skia_util_ios.h GFX_EXPORT gfx::ImageSkiaRep ImageSkiaRepOfScaleFromUIImage( gfx 33 ui/gfx/image/image_skia_util_ios.h GFX_EXPORT UIImage* UIImageFromImageSkia(const gfx::ImageSkia& image_skia); gfx 37 ui/gfx/image/image_skia_util_ios.h const gfx::ImageSkiaRep& image_skia_rep); gfx 24 ui/gfx/image/image_skia_util_mac.h namespace gfx { gfx 28 ui/gfx/image/image_skia_util_mac.h GFX_EXPORT gfx::ImageSkia ImageSkiaFromNSImage(NSImage* image); gfx 31 ui/gfx/image/image_skia_util_mac.h GFX_EXPORT gfx::ImageSkia ImageSkiaFromResizedNSImage(NSImage* image, gfx 35 ui/gfx/image/image_skia_util_mac.h GFX_EXPORT NSImage* NSImageFromImageSkia(const gfx::ImageSkia& image_skia); gfx 39 ui/gfx/image/image_skia_util_mac.h const gfx::ImageSkia& image_skia, gfx 41 ui/gfx/image/image_unittest.cc gfx::ImageSkia::SetSupportedScales(scales); gfx 45 ui/gfx/image/image_unittest.cc namespace gt = gfx::test; gfx 49 ui/gfx/image/image_unittest.cc gfx::Image image; gfx 56 ui/gfx/image/image_unittest.cc gfx::Image imageCopy(image); gfx 62 ui/gfx/image/image_unittest.cc gfx::Image image2(gt::CreateImageSkia(25, 25)); gfx 79 ui/gfx/image/image_unittest.cc gfx::Image image1(NULL); gfx 87 ui/gfx/image/image_unittest.cc gfx::ImageSkia image_skia; gfx 89 ui/gfx/image/image_unittest.cc gfx::Image image2(image_skia); gfx 95 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 96 ui/gfx/image/image_unittest.cc gfx::Image image3(image_png_reps); gfx 106 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps1; gfx 107 ui/gfx/image/image_unittest.cc image_png_reps1.push_back(gfx::ImagePNGRep(NULL, 1.0f)); gfx 108 ui/gfx/image/image_unittest.cc gfx::Image image1(image_png_reps1); gfx 112 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps2; gfx 113 ui/gfx/image/image_unittest.cc image_png_reps2.push_back(gfx::ImagePNGRep( gfx 115 ui/gfx/image/image_unittest.cc gfx::Image image2(image_png_reps2); gfx 122 ui/gfx/image/image_unittest.cc gfx::Image image; gfx 125 ui/gfx/image/image_unittest.cc EXPECT_EQ(gfx::Size(0, 0), image.Size()); gfx 127 ui/gfx/image/image_unittest.cc gfx::Image image2(gt::CreateImageSkia(10, 25)); gfx 130 ui/gfx/image/image_unittest.cc EXPECT_EQ(gfx::Size(10, 25), image2.Size()); gfx 134 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreateImageSkia(25, 25)); gfx 139 ui/gfx/image/image_unittest.cc const gfx::ImageSkia* image_skia1 = image.ToImageSkia(); gfx 145 ui/gfx/image/image_unittest.cc const gfx::ImageSkia* image_skia2 = image.ToImageSkia(); gfx 159 ui/gfx/image/image_unittest.cc EXPECT_TRUE(image.HasRepresentation(gfx::Image::kImageRepSkia)); gfx 165 ui/gfx/image/image_unittest.cc gfx::Image image; gfx 176 ui/gfx/image/image_unittest.cc gfx::ImageSkia image_skia; gfx 177 ui/gfx/image/image_unittest.cc image_skia.AddRepresentation(gfx::ImageSkiaRep(gt::CreateBitmap( gfx 179 ui/gfx/image/image_unittest.cc gfx::Image image1(image_skia); gfx 184 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 185 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep( gfx 187 ui/gfx/image/image_unittest.cc gfx::Image image2(image_png_reps); gfx 203 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 204 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(bytes1x, 1.0f)); gfx 205 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep( gfx 208 ui/gfx/image/image_unittest.cc gfx::Image image(image_png_reps); gfx 222 ui/gfx/image/image_unittest.cc gfx::ImageSkia image_skia; gfx 223 ui/gfx/image/image_unittest.cc image_skia.AddRepresentation(gfx::ImageSkiaRep(bitmap_1x, gfx 225 ui/gfx/image/image_unittest.cc image_skia.AddRepresentation(gfx::ImageSkiaRep(gt::CreateBitmap( gfx 227 ui/gfx/image/image_unittest.cc gfx::Image image(image_skia); gfx 230 ui/gfx/image/image_unittest.cc EXPECT_TRUE(image.HasRepresentation(gfx::Image::kImageRepPNG)); gfx 240 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 241 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(bytes1x, 1.0f)); gfx 242 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(bytes2x, 2.0f)); gfx 243 ui/gfx/image/image_unittest.cc gfx::Image image(image_png_reps); gfx 248 ui/gfx/image/image_unittest.cc gfx::ImageSkia image_skia = image.AsImageSkia(); gfx 263 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 264 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(bytes1x, 1.0f)); gfx 265 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(bytes2x, 2.0f)); gfx 267 ui/gfx/image/image_unittest.cc gfx::Image from_png(image_png_reps); gfx 268 ui/gfx/image/image_unittest.cc gfx::Image from_platform(gt::CopyPlatformType(from_png)); gfx 271 ui/gfx/image/image_unittest.cc std::vector<float> scales = gfx::ImageSkia::GetSupportedScales(); gfx 286 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreatePlatformImage()); gfx 290 ui/gfx/image/image_unittest.cc EXPECT_TRUE(image.HasRepresentation(gfx::Image::kImageRepPNG)); gfx 292 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 293 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(png_data, 1.0f)); gfx 294 ui/gfx/image/image_unittest.cc gfx::Image from_png(image_png_reps); gfx 296 ui/gfx/image/image_unittest.cc EXPECT_TRUE(from_png.HasRepresentation(gfx::Image::kImageRepPNG)); gfx 304 ui/gfx/image/image_unittest.cc gfx::Image from_bitmap = gfx::Image::CreateFrom1xBitmap( gfx 309 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 310 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(png_bytes, 1.0f)); gfx 311 ui/gfx/image/image_unittest.cc gfx::Image from_png(image_png_reps); gfx 313 ui/gfx/image/image_unittest.cc gfx::Image from_platform(gt::CopyPlatformType(from_png)); gfx 321 ui/gfx/image/image_unittest.cc gfx::Image from_platform(gt::CreatePlatformImage()); gfx 324 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 325 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep(png_bytes, 1.0f)); gfx 326 ui/gfx/image/image_unittest.cc gfx::Image from_png(image_png_reps); gfx 335 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 336 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep( gfx 338 ui/gfx/image/image_unittest.cc gfx::Image image(image_png_reps); gfx 346 ui/gfx/image/image_unittest.cc std::vector<gfx::ImagePNGRep> image_png_reps; gfx 347 ui/gfx/image/image_unittest.cc image_png_reps.push_back(gfx::ImagePNGRep( gfx 349 ui/gfx/image/image_unittest.cc gfx::Image from_png(image_png_reps); gfx 350 ui/gfx/image/image_unittest.cc gfx::Image from_platform(gt::CopyPlatformType(from_png)); gfx 355 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreateImageSkia(25, 25)); gfx 360 ui/gfx/image/image_unittest.cc EXPECT_TRUE(image.HasRepresentation(gfx::Image::kImageRepSkia)); gfx 371 ui/gfx/image/image_unittest.cc EXPECT_TRUE(image.HasRepresentation(gfx::Image::kImageRepSkia)); gfx 378 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreatePlatformImage()); gfx 385 ui/gfx/image/image_unittest.cc EXPECT_FALSE(image.HasRepresentation(gfx::Image::kImageRepSkia)); gfx 395 ui/gfx/image/image_unittest.cc EXPECT_TRUE(image.HasRepresentation(gfx::Image::kImageRepSkia)); gfx 401 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreatePlatformImage()); gfx 413 ui/gfx/image/image_unittest.cc EXPECT_FALSE(image.HasRepresentation(gfx::Image::kImageRepSkia)); gfx 419 ui/gfx/image/image_unittest.cc const gfx::ImageSkia* image_skia = NULL; gfx 421 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreatePlatformImage()); gfx 430 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreatePlatformImage()); gfx 444 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreateImageSkia(25, 25)); gfx 453 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreateImageSkia(25, 25)); gfx 454 ui/gfx/image/image_unittest.cc EXPECT_FALSE(image.HasRepresentation(gfx::Image::kImageRepGdk)); gfx 456 ui/gfx/image/image_unittest.cc EXPECT_TRUE(image.HasRepresentation(gfx::Image::kImageRepGdk)); gfx 465 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreateImageSkia(25, 25)); gfx 477 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreateImageSkia(25, 25)); gfx 487 ui/gfx/image/image_unittest.cc gfx::Image image(gt::CreatePlatformImage()); gfx 514 ui/gfx/image/image_unittest.cc gfx::Image from_skbitmap = gfx::Image::CreateFrom1xBitmap(bitmap); gfx 526 ui/gfx/image/image_unittest.cc gfx::Image from_platform(gt::CopyPlatformType(from_skbitmap)); gfx 556 ui/gfx/image/image_unittest.cc gfx::Image from_skbitmap = gfx::Image::CreateFrom1xBitmap(bitmap); gfx 567 ui/gfx/image/image_unittest.cc gfx::Image from_platform(gt::CopyPlatformType(from_skbitmap)); gfx 580 ui/gfx/image/image_unittest.cc gfx::Image image1(gt::CreateImageSkia(25, 25)); gfx 581 ui/gfx/image/image_unittest.cc const gfx::ImageSkia* image_skia1 = image1.ToImageSkia(); gfx 584 ui/gfx/image/image_unittest.cc gfx::Image image2(gt::CreatePlatformImage()); gfx 585 ui/gfx/image/image_unittest.cc const gfx::ImageSkia* image_skia2 = image2.ToImageSkia(); gfx 602 ui/gfx/image/image_unittest.cc gfx::Image image1(gt::CreateImageSkia(25, 25)); gfx 605 ui/gfx/image/image_unittest.cc gfx::Image image2(image1); gfx 619 ui/gfx/image/image_unittest.cc gfx::Image image1(gt::CreatePlatformImage()); gfx 624 ui/gfx/image/image_unittest.cc gfx::Image image2; gfx 640 ui/gfx/image/image_unittest.cc gfx::ImageSkia image_skia; gfx 641 ui/gfx/image/image_unittest.cc image_skia.AddRepresentation(gfx::ImageSkiaRep( gfx 644 ui/gfx/image/image_unittest.cc image_skia.AddRepresentation(gfx::ImageSkiaRep( gfx 655 ui/gfx/image/image_unittest.cc gfx::Image image(image_skia); gfx 665 ui/gfx/image/image_unittest.cc gfx::ImageSkia image_skia; gfx 667 ui/gfx/image/image_unittest.cc image_skia.AddRepresentation(gfx::ImageSkiaRep( gfx 681 ui/gfx/image/image_unittest.cc gfx::Image image; gfx 685 ui/gfx/image/image_unittest.cc image = gfx::Image(gfx::ImageSkia( gfx 686 ui/gfx/image/image_unittest.cc gfx::ImageSkiaRep(bitmap, 1.0f))); gfx 66 ui/gfx/image/image_unittest_util.cc gfx::ImageSkia CreateImageSkia(int width, int height) { gfx 67 ui/gfx/image/image_unittest_util.cc return gfx::ImageSkia::CreateFrom1xBitmap(CreateBitmap(width, height)); gfx 77 ui/gfx/image/image_unittest_util.cc gfx::Image CreateImage() { gfx 81 ui/gfx/image/image_unittest_util.cc gfx::Image CreateImage(int width, int height) { gfx 82 ui/gfx/image/image_unittest_util.cc return gfx::Image::CreateFrom1xBitmap(CreateBitmap(width, height)); gfx 85 ui/gfx/image/image_unittest_util.cc bool IsEqual(const gfx::Image& img1, const gfx::Image& img2) { gfx 86 ui/gfx/image/image_unittest_util.cc std::vector<gfx::ImageSkiaRep> img1_reps = img1.AsImageSkia().image_reps(); gfx 87 ui/gfx/image/image_unittest_util.cc gfx::ImageSkia image_skia2 = img2.AsImageSkia(); gfx 93 ui/gfx/image/image_unittest_util.cc const gfx::ImageSkiaRep& image_rep2 = image_skia2.GetRepresentation(scale); gfx 139 ui/gfx/image/image_unittest_util.cc void CheckImageIndicatesPNGDecodeFailure(const gfx::Image& image) { gfx 149 ui/gfx/image/image_unittest_util.cc const gfx::ImageSkia& image_skia, gfx 161 ui/gfx/image/image_unittest_util.cc gfx::ImageSkiaRep image_rep = gfx 174 ui/gfx/image/image_unittest_util.cc bool IsEmpty(const gfx::Image& image) { gfx 188 ui/gfx/image/image_unittest_util.cc gfx::SkBitmapToUIImageWithColorSpace(bitmap, scale, color_space); gfx 192 ui/gfx/image/image_unittest_util.cc NSImage* image = gfx::SkBitmapToNSImage(bitmap); gfx 196 ui/gfx/image/image_unittest_util.cc return gfx::GdkPixbufFromSkBitmap(bitmap); gfx 198 ui/gfx/image/image_unittest_util.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 202 ui/gfx/image/image_unittest_util.cc gfx::Image::RepresentationType GetPlatformRepresentationType() { gfx 204 ui/gfx/image/image_unittest_util.cc return gfx::Image::kImageRepCocoaTouch; gfx 206 ui/gfx/image/image_unittest_util.cc return gfx::Image::kImageRepCocoa; gfx 208 ui/gfx/image/image_unittest_util.cc return gfx::Image::kImageRepGdk; gfx 210 ui/gfx/image/image_unittest_util.cc return gfx::Image::kImageRepSkia; gfx 214 ui/gfx/image/image_unittest_util.cc PlatformImage ToPlatformType(const gfx::Image& image) { gfx 226 ui/gfx/image/image_unittest_util.cc PlatformImage CopyPlatformType(const gfx::Image& image) { gfx 14 ui/gfx/image/image_unittest_util.h namespace gfx { gfx 24 ui/gfx/image/image_unittest_util.h typedef gfx::ImageSkia PlatformImage; gfx 34 ui/gfx/image/image_unittest_util.h gfx::ImageSkia CreateImageSkia(int width, int height); gfx 40 ui/gfx/image/image_unittest_util.h gfx::Image CreateImage(); gfx 41 ui/gfx/image/image_unittest_util.h gfx::Image CreateImage(int width, int height); gfx 45 ui/gfx/image/image_unittest_util.h bool IsEqual(const gfx::Image& image1, const gfx::Image& image2); gfx 54 ui/gfx/image/image_unittest_util.h void CheckImageIndicatesPNGDecodeFailure(const gfx::Image& image); gfx 64 ui/gfx/image/image_unittest_util.h const gfx::ImageSkia& image_skia, gfx 69 ui/gfx/image/image_unittest_util.h bool IsEmpty(const gfx::Image& image); gfx 73 ui/gfx/image/image_unittest_util.h gfx::Image::RepresentationType GetPlatformRepresentationType(); gfx 75 ui/gfx/image/image_unittest_util.h PlatformImage ToPlatformType(const gfx::Image& image); gfx 76 ui/gfx/image/image_unittest_util.h PlatformImage CopyPlatformType(const gfx::Image& image); gfx 21 ui/gfx/image/image_util.cc scoped_ptr<SkBitmap> bitmap(gfx::JPEGCodec::Decode(input, input_size)); gfx 30 ui/gfx/image/image_util.cc const gfx::ImageSkiaRep& image_skia_rep = gfx 41 ui/gfx/image/image_util.cc return gfx::JPEGCodec::Encode( gfx 43 ui/gfx/image/image_util.cc gfx::JPEGCodec::FORMAT_SkBitmap, bitmap.width(), gfx 13 ui/gfx/image/image_util.h namespace gfx { gfx 18 ui/gfx/image/image_util.h namespace gfx { gfx 17 ui/gfx/image/image_util_unittest.cc gfx::Image original = gfx::test::CreateImage(100, 100); gfx 20 ui/gfx/image/image_util_unittest.cc ASSERT_TRUE(gfx::JPEG1xEncodedDataFromImage(original, 80, &encoded)); gfx 22 ui/gfx/image/image_util_unittest.cc gfx::Image decoded = gfx 23 ui/gfx/image/image_util_unittest.cc gfx::ImageFrom1xJPEGEncodedData(&encoded.front(), encoded.size()); gfx 37 ui/gfx/image/image_util_unittest.cc gfx::ImageSkia img = gfx::ImageSkia::CreateFrom1xBitmap(bitmap1); gfx 40 ui/gfx/image/image_util_unittest.cc gfx::VisibleMargins(img, &x, &y); gfx 51 ui/gfx/image/image_util_unittest.cc gfx::ImageSkia img_transparent = gfx::ImageSkia::CreateFrom1xBitmap(bitmap2); gfx 54 ui/gfx/image/image_util_unittest.cc gfx::VisibleMargins(img_transparent, &x, &y); gfx 66 ui/gfx/image/image_util_unittest.cc gfx::ImageSkia img3 = gfx::ImageSkia::CreateFrom1xBitmap(bitmap3); gfx 69 ui/gfx/image/image_util_unittest.cc gfx::VisibleMargins(img3, &x, &y); gfx 81 ui/gfx/image/image_util_unittest.cc gfx::ImageSkia img4 = gfx::ImageSkia::CreateFrom1xBitmap(bitmap4); gfx 84 ui/gfx/image/image_util_unittest.cc gfx::VisibleMargins(img4, &x, &y); gfx 96 ui/gfx/image/image_util_unittest.cc gfx::ImageSkia img5 = gfx::ImageSkia::CreateFrom1xBitmap(bitmap5); gfx 99 ui/gfx/image/image_util_unittest.cc gfx::VisibleMargins(img5, &x, &y); gfx 30 ui/gfx/interpolated_transform.cc bool MassageRotationIfMultipleOfNinetyDegrees(gfx::Transform* rotation, gfx 35 ui/gfx/interpolated_transform.cc gfx::Transform transform; gfx 89 ui/gfx/interpolated_transform.cc gfx::Transform InterpolatedTransform::Interpolate(float t) const { gfx 92 ui/gfx/interpolated_transform.cc gfx::Transform result = InterpolateButDoNotCompose(t); gfx 125 ui/gfx/interpolated_transform.cc gfx::Tween::DoubleValueBetween(t, start_value, end_value)); gfx 150 ui/gfx/interpolated_transform.cc gfx::Transform InterpolatedRotation::InterpolateButDoNotCompose(float t) const { gfx 151 ui/gfx/interpolated_transform.cc gfx::Transform result; gfx 164 ui/gfx/interpolated_transform.cc const gfx::Vector3dF& axis, gfx 174 ui/gfx/interpolated_transform.cc const gfx::Vector3dF& axis, gfx 187 ui/gfx/interpolated_transform.cc gfx::Transform gfx 189 ui/gfx/interpolated_transform.cc gfx::Transform result; gfx 200 ui/gfx/interpolated_transform.cc start_scale_(gfx::Point3F(start_scale, start_scale, start_scale)), gfx 201 ui/gfx/interpolated_transform.cc end_scale_(gfx::Point3F(end_scale, end_scale, end_scale)) { gfx 207 ui/gfx/interpolated_transform.cc start_scale_(gfx::Point3F(start_scale, start_scale, start_scale)), gfx 208 ui/gfx/interpolated_transform.cc end_scale_(gfx::Point3F(end_scale, end_scale, end_scale)) { gfx 211 ui/gfx/interpolated_transform.cc InterpolatedScale::InterpolatedScale(const gfx::Point3F& start_scale, gfx 212 ui/gfx/interpolated_transform.cc const gfx::Point3F& end_scale) gfx 218 ui/gfx/interpolated_transform.cc InterpolatedScale::InterpolatedScale(const gfx::Point3F& start_scale, gfx 219 ui/gfx/interpolated_transform.cc const gfx::Point3F& end_scale, gfx 229 ui/gfx/interpolated_transform.cc gfx::Transform InterpolatedScale::InterpolateButDoNotCompose(float t) const { gfx 230 ui/gfx/interpolated_transform.cc gfx::Transform result; gfx 242 ui/gfx/interpolated_transform.cc InterpolatedTranslation::InterpolatedTranslation(const gfx::Point& start_pos, gfx 243 ui/gfx/interpolated_transform.cc const gfx::Point& end_pos) gfx 249 ui/gfx/interpolated_transform.cc InterpolatedTranslation::InterpolatedTranslation(const gfx::Point& start_pos, gfx 250 ui/gfx/interpolated_transform.cc const gfx::Point& end_pos, gfx 260 ui/gfx/interpolated_transform.cc gfx::Transform gfx 262 ui/gfx/interpolated_transform.cc gfx::Transform result; gfx 274 ui/gfx/interpolated_transform.cc const gfx::Transform& transform) gfx 279 ui/gfx/interpolated_transform.cc gfx::Transform gfx 291 ui/gfx/interpolated_transform.cc const gfx::Point& pivot, gfx 298 ui/gfx/interpolated_transform.cc const gfx::Point& pivot, gfx 308 ui/gfx/interpolated_transform.cc gfx::Transform gfx 313 ui/gfx/interpolated_transform.cc return gfx::Transform(); gfx 316 ui/gfx/interpolated_transform.cc void InterpolatedTransformAboutPivot::Init(const gfx::Point& pivot, gfx 318 ui/gfx/interpolated_transform.cc gfx::Transform to_pivot; gfx 319 ui/gfx/interpolated_transform.cc gfx::Transform from_pivot; gfx 334 ui/gfx/interpolated_transform.cc const gfx::Transform& start_transform, gfx 335 ui/gfx/interpolated_transform.cc const gfx::Transform& end_transform) gfx 341 ui/gfx/interpolated_transform.cc const gfx::Transform& start_transform, gfx 342 ui/gfx/interpolated_transform.cc const gfx::Transform& end_transform, gfx 351 ui/gfx/interpolated_transform.cc gfx::Transform gfx 353 ui/gfx/interpolated_transform.cc gfx::DecomposedTransform blended; gfx 354 ui/gfx/interpolated_transform.cc bool success = gfx::BlendDecomposedTransforms(&blended, gfx 359 ui/gfx/interpolated_transform.cc return gfx::ComposeTransform(blended); gfx 362 ui/gfx/interpolated_transform.cc void InterpolatedMatrixTransform::Init(const gfx::Transform& start_transform, gfx 363 ui/gfx/interpolated_transform.cc const gfx::Transform& end_transform) { gfx 364 ui/gfx/interpolated_transform.cc bool success = gfx::DecomposeTransform(&start_decomp_, start_transform); gfx 366 ui/gfx/interpolated_transform.cc success = gfx::DecomposeTransform(&end_decomp_, end_transform); gfx 38 ui/gfx/interpolated_transform.h gfx::Transform Interpolate(float t) const; gfx 53 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const = 0; gfx 97 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; gfx 114 ui/gfx/interpolated_transform.h InterpolatedAxisAngleRotation(const gfx::Vector3dF& axis, gfx 117 ui/gfx/interpolated_transform.h InterpolatedAxisAngleRotation(const gfx::Vector3dF& axis, gfx 125 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; gfx 128 ui/gfx/interpolated_transform.h gfx::Vector3dF axis_; gfx 146 ui/gfx/interpolated_transform.h InterpolatedScale(const gfx::Point3F& start_scale, gfx 147 ui/gfx/interpolated_transform.h const gfx::Point3F& end_scale); gfx 148 ui/gfx/interpolated_transform.h InterpolatedScale(const gfx::Point3F& start_scale, gfx 149 ui/gfx/interpolated_transform.h const gfx::Point3F& end_scale, gfx 155 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; gfx 158 ui/gfx/interpolated_transform.h const gfx::Point3F start_scale_; gfx 159 ui/gfx/interpolated_transform.h const gfx::Point3F end_scale_; gfx 166 ui/gfx/interpolated_transform.h InterpolatedTranslation(const gfx::Point& start_pos, gfx 167 ui/gfx/interpolated_transform.h const gfx::Point& end_pos); gfx 168 ui/gfx/interpolated_transform.h InterpolatedTranslation(const gfx::Point& start_pos, gfx 169 ui/gfx/interpolated_transform.h const gfx::Point& end_pos, gfx 175 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; gfx 178 ui/gfx/interpolated_transform.h const gfx::Point start_pos_; gfx 179 ui/gfx/interpolated_transform.h const gfx::Point end_pos_; gfx 195 ui/gfx/interpolated_transform.h explicit InterpolatedConstantTransform(const gfx::Transform& transform); gfx 199 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; gfx 202 ui/gfx/interpolated_transform.h const gfx::Transform transform_; gfx 219 ui/gfx/interpolated_transform.h InterpolatedTransformAboutPivot(const gfx::Point& pivot, gfx 223 ui/gfx/interpolated_transform.h InterpolatedTransformAboutPivot(const gfx::Point& pivot, gfx 230 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; gfx 233 ui/gfx/interpolated_transform.h void Init(const gfx::Point& pivot, InterpolatedTransform* transform); gfx 242 ui/gfx/interpolated_transform.h InterpolatedMatrixTransform(const gfx::Transform& start_transform, gfx 243 ui/gfx/interpolated_transform.h const gfx::Transform& end_transform); gfx 245 ui/gfx/interpolated_transform.h InterpolatedMatrixTransform(const gfx::Transform& start_transform, gfx 246 ui/gfx/interpolated_transform.h const gfx::Transform& end_transform, gfx 253 ui/gfx/interpolated_transform.h virtual gfx::Transform InterpolateButDoNotCompose(float t) const OVERRIDE; gfx 256 ui/gfx/interpolated_transform.h void Init(const gfx::Transform& start_transform, gfx 257 ui/gfx/interpolated_transform.h const gfx::Transform& end_transform); gfx 259 ui/gfx/interpolated_transform.h gfx::DecomposedTransform start_decomp_; gfx 260 ui/gfx/interpolated_transform.h gfx::DecomposedTransform end_decomp_; gfx 13 ui/gfx/interpolated_transform_unittest.cc void CheckApproximatelyEqual(const gfx::Transform& lhs, gfx 14 ui/gfx/interpolated_transform_unittest.cc const gfx::Transform& rhs) { gfx 30 ui/gfx/interpolated_transform_unittest.cc gfx::Transform rotation; gfx 32 ui/gfx/interpolated_transform_unittest.cc gfx::Transform interpolated = interpolated_rotation.Interpolate(i / 100.0f); gfx 40 ui/gfx/interpolated_transform_unittest.cc ui::InterpolatedScale interpolated_scale(gfx::Point3F(0, 0, 0), gfx 41 ui/gfx/interpolated_transform_unittest.cc gfx::Point3F(100, 100, 100)); gfx 43 ui/gfx/interpolated_transform_unittest.cc gfx::Point3F(0, 0, 0), gfx::Point3F(100, 100, 100), 100, 200); gfx 46 ui/gfx/interpolated_transform_unittest.cc gfx::Transform scale; gfx 48 ui/gfx/interpolated_transform_unittest.cc gfx::Transform interpolated = interpolated_scale.Interpolate(i / 100.0f); gfx 56 ui/gfx/interpolated_transform_unittest.cc ui::InterpolatedTranslation interpolated_xform(gfx::Point(0, 0), gfx 57 ui/gfx/interpolated_transform_unittest.cc gfx::Point(100, 100)); gfx 60 ui/gfx/interpolated_transform_unittest.cc gfx::Point(0, 0), gfx::Point(100, 100), 100, 200); gfx 63 ui/gfx/interpolated_transform_unittest.cc gfx::Transform xform; gfx 65 ui/gfx/interpolated_transform_unittest.cc gfx::Transform interpolated = interpolated_xform.Interpolate(i / 100.0f); gfx 73 ui/gfx/interpolated_transform_unittest.cc gfx::Point pivot(100, 100); gfx 74 ui/gfx/interpolated_transform_unittest.cc gfx::Point above_pivot(100, 200); gfx 79 ui/gfx/interpolated_transform_unittest.cc gfx::Transform result = interpolated_xform.Interpolate(0.0f); gfx 80 ui/gfx/interpolated_transform_unittest.cc CheckApproximatelyEqual(gfx::Transform(), result); gfx 82 ui/gfx/interpolated_transform_unittest.cc gfx::Point expected_result = pivot; gfx 85 ui/gfx/interpolated_transform_unittest.cc expected_result = gfx::Point(0, 100); gfx 91 ui/gfx/interpolated_transform_unittest.cc gfx::Point pivot(100, 100); gfx 92 ui/gfx/interpolated_transform_unittest.cc gfx::Point above_pivot(100, 200); gfx 95 ui/gfx/interpolated_transform_unittest.cc new ui::InterpolatedScale(gfx::Point3F(1, 1, 1), gfx::Point3F(2, 2, 2))); gfx 96 ui/gfx/interpolated_transform_unittest.cc gfx::Transform result = interpolated_xform.Interpolate(0.0f); gfx 97 ui/gfx/interpolated_transform_unittest.cc CheckApproximatelyEqual(gfx::Transform(), result); gfx 99 ui/gfx/interpolated_transform_unittest.cc gfx::Point expected_result = pivot; gfx 102 ui/gfx/interpolated_transform_unittest.cc expected_result = gfx::Point(100, 300); gfx 108 ui/gfx/interpolated_transform_unittest.cc gfx::Point old_pivot; gfx 109 ui/gfx/interpolated_transform_unittest.cc gfx::Point new_pivot; gfx 116 ui/gfx/interpolated_transform_unittest.cc new_pivot = gfx::Point(width, 0); gfx 119 ui/gfx/interpolated_transform_unittest.cc new_pivot = gfx::Point(0, height); gfx 123 ui/gfx/interpolated_transform_unittest.cc new_pivot = old_pivot = gfx::Point(width / 2, height / 2); gfx 135 ui/gfx/interpolated_transform_unittest.cc gfx::Point(0, 0), gfx 136 ui/gfx/interpolated_transform_unittest.cc gfx::Point(new_pivot.x() - old_pivot.x(), gfx 147 ui/gfx/interpolated_transform_unittest.cc new ui::InterpolatedConstantTransform(gfx::Transform())); gfx 164 ui/gfx/interpolated_transform_unittest.cc gfx::Transform interpolated = screen_rotation->Interpolate(1.0f); gfx 178 ui/gfx/interpolated_transform_unittest.cc gfx::Rect target_bounds(0, 0, 1920, 1080); gfx 179 ui/gfx/interpolated_transform_unittest.cc gfx::Rect initial_bounds(30, 1000, 192, 108); gfx 187 ui/gfx/interpolated_transform_unittest.cc new ui::InterpolatedScale(gfx::Point3F(1, 1, 1), gfx 188 ui/gfx/interpolated_transform_unittest.cc gfx::Point3F(scale_x, scale_y, 1))); gfx 192 ui/gfx/interpolated_transform_unittest.cc gfx::Point(), gfx 193 ui/gfx/interpolated_transform_unittest.cc gfx::Point(target_bounds.x() - initial_bounds.x(), gfx 201 ui/gfx/interpolated_transform_unittest.cc gfx::Point(initial_bounds.width() * 0.5, gfx 215 ui/gfx/interpolated_transform_unittest.cc gfx::Transform interpolated = maximize->Interpolate(1.0f); gfx 9 ui/gfx/linux_font_delegate.cc gfx::LinuxFontDelegate* g_linux_font_delegate = 0; gfx 13 ui/gfx/linux_font_delegate.h namespace gfx { gfx 12 ui/gfx/mac/scoped_ns_disable_screen_updates.h namespace gfx { gfx 117 ui/gfx/native_widget_types.h namespace gfx { gfx 184 ui/gfx/native_widget_types.h const gfx::NativeCursor kNullCursor = static_cast<gfx::NativeCursor>(NULL); gfx 12 ui/gfx/nine_image_painter.h namespace gfx { gfx 8 ui/gfx/overlay_transform.h namespace gfx { gfx 12 ui/gfx/ozone/dri/dri_skbitmap.h namespace gfx { gfx 44 ui/gfx/ozone/dri/dri_surface.cc DriWrapper* dri, const gfx::Size& size) gfx 17 ui/gfx/ozone/dri/dri_surface.h namespace gfx { gfx 123 ui/gfx/ozone/dri/dri_surface.h DriSurface(DriWrapper* dri, const gfx::Size& size); gfx 145 ui/gfx/ozone/dri/dri_surface.h const gfx::Size& size() const { return size_; } gfx 170 ui/gfx/ozone/dri/dri_surface.h gfx::Size size_; gfx 29 ui/gfx/ozone/dri/dri_surface_factory.cc const gfx::AcceleratedWidget kDefaultWidgetHandle = 1; gfx 32 ui/gfx/ozone/dri/dri_surface_factory.cc const gfx::Size kCursorSize(64, 64); gfx 128 ui/gfx/ozone/dri/dri_surface_factory.cc DriSurfaceAdapter(gfx::AcceleratedWidget w, DriSurfaceFactory* dri) gfx 140 ui/gfx/ozone/dri/dri_surface_factory.cc virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() OVERRIDE { gfx 145 ui/gfx/ozone/dri/dri_surface_factory.cc gfx::AcceleratedWidget widget_; gfx 196 ui/gfx/ozone/dri/dri_surface_factory.cc gfx::AcceleratedWidget DriSurfaceFactory::GetAcceleratedWidget() { gfx 212 ui/gfx/ozone/dri/dri_surface_factory.cc gfx::AcceleratedWidget w) { gfx 258 ui/gfx/ozone/dri/dri_surface_factory.cc bool DriSurfaceFactory::SchedulePageFlip(gfx::AcceleratedWidget w) { gfx 291 ui/gfx/ozone/dri/dri_surface_factory.cc gfx::AcceleratedWidget w) { gfx 297 ui/gfx/ozone/dri/dri_surface_factory.cc scoped_ptr<gfx::VSyncProvider> DriSurfaceFactory::CreateVSyncProvider( gfx 298 ui/gfx/ozone/dri/dri_surface_factory.cc gfx::AcceleratedWidget w) { gfx 303 ui/gfx/ozone/dri/dri_surface_factory.cc void DriSurfaceFactory::SetHardwareCursor(gfx::AcceleratedWidget window, gfx 305 ui/gfx/ozone/dri/dri_surface_factory.cc const gfx::Point& location) { gfx 315 ui/gfx/ozone/dri/dri_surface_factory.cc void DriSurfaceFactory::MoveHardwareCursor(gfx::AcceleratedWidget window, gfx 316 ui/gfx/ozone/dri/dri_surface_factory.cc const gfx::Point& location) { gfx 325 ui/gfx/ozone/dri/dri_surface_factory.cc void DriSurfaceFactory::UnsetHardwareCursor(gfx::AcceleratedWidget window) { gfx 337 ui/gfx/ozone/dri/dri_surface_factory.cc DriSurface* DriSurfaceFactory::CreateSurface(const gfx::Size& size) { gfx 13 ui/gfx/ozone/dri/dri_surface_factory.h namespace gfx { gfx 31 ui/gfx/ozone/dri/dri_surface_factory.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 34 ui/gfx/ozone/dri/dri_surface_factory.h gfx::AcceleratedWidget w) OVERRIDE; gfx 40 ui/gfx/ozone/dri/dri_surface_factory.h virtual bool SchedulePageFlip(gfx::AcceleratedWidget w); gfx 42 ui/gfx/ozone/dri/dri_surface_factory.h virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w); gfx 44 ui/gfx/ozone/dri/dri_surface_factory.h virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider( gfx 45 ui/gfx/ozone/dri/dri_surface_factory.h gfx::AcceleratedWidget w); gfx 49 ui/gfx/ozone/dri/dri_surface_factory.h const gfx::Point& location); gfx 51 ui/gfx/ozone/dri/dri_surface_factory.h void MoveHardwareCursor(AcceleratedWidget window, const gfx::Point& location); gfx 56 ui/gfx/ozone/dri/dri_surface_factory.h virtual DriSurface* CreateSurface(const gfx::Size& size); gfx 83 ui/gfx/ozone/dri/dri_surface_factory.h gfx::Point cursor_location_; gfx 34 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc const gfx::AcceleratedWidget kDefaultWidgetHandle = 1; gfx 37 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc class MockDriWrapper : public gfx::DriWrapper { gfx 80 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc static_cast<gfx::HardwareDisplayController*>(data)->get_surface() gfx 113 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc class MockDriSkBitmap : public gfx::DriSkBitmap { gfx 128 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc class MockDriSurface : public gfx::DriSurface { gfx 130 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc MockDriSurface(gfx::DriWrapper* dri, const gfx::Size& size) gfx 137 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc virtual gfx::DriSkBitmap* CreateBuffer() OVERRIDE { gfx 154 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc : public gfx::DriSurfaceFactory { gfx 178 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc virtual gfx::DriSurface* CreateSurface(const gfx::Size& size) OVERRIDE { gfx 184 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc virtual gfx::DriWrapper* CreateWrapper() OVERRIDE { gfx 196 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::DriWrapper* drm, gfx 197 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::HardwareDisplayController* controller) OVERRIDE { gfx 249 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::FAILED, factory_->InitializeHardware()); gfx 253 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, gfx 260 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, gfx 263 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); gfx 270 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, gfx 275 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); gfx 282 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, gfx 285 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); gfx 292 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, gfx 297 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); gfx 300 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc scoped_ptr<gfx::SurfaceOzone> surf = factory_->CreateSurfaceForWidget(w); gfx 307 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, gfx 310 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); gfx 313 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc scoped_ptr<gfx::SurfaceOzone> surf = factory_->CreateSurfaceForWidget(w); gfx 320 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc EXPECT_EQ(gfx::SurfaceFactoryOzone::INITIALIZED, gfx 323 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); gfx 326 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc scoped_ptr<gfx::SurfaceOzone> surf = factory_->CreateSurfaceForWidget(w); gfx 335 ui/gfx/ozone/dri/dri_surface_factory_unittest.cc factory_->SetHardwareCursor(w, image, gfx::Point(4, 2)); gfx 31 ui/gfx/ozone/dri/dri_surface_unittest.cc class MockDriWrapper : public gfx::DriWrapper { gfx 69 ui/gfx/ozone/dri/dri_surface_unittest.cc class MockDriSkBitmap : public gfx::DriSkBitmap { gfx 93 ui/gfx/ozone/dri/dri_surface_unittest.cc class MockDriSurface : public gfx::DriSurface { gfx 95 ui/gfx/ozone/dri/dri_surface_unittest.cc MockDriSurface(gfx::DriWrapper* dri, const gfx::Size& size) gfx 105 ui/gfx/ozone/dri/dri_surface_unittest.cc virtual gfx::DriSkBitmap* CreateBuffer() OVERRIDE { gfx 125 ui/gfx/ozone/dri/dri_surface_unittest.cc scoped_ptr<gfx::HardwareDisplayController> controller_; gfx 134 ui/gfx/ozone/dri/dri_surface_unittest.cc controller_.reset(new gfx::HardwareDisplayController()); gfx 139 ui/gfx/ozone/dri/dri_surface_unittest.cc gfx::Size(kDefaultMode.hdisplay, gfx 161 ui/gfx/ozone/dri/dri_surface_unittest.cc surface_.PassAs<gfx::DriSurface>()); gfx 10 ui/gfx/ozone/dri/dri_vsync_provider.h namespace gfx { gfx 16 ui/gfx/ozone/dri/dri_wrapper.h namespace gfx { gfx 151 ui/gfx/ozone/dri/hardware_display_controller.cc bool HardwareDisplayController::MoveCursor(const gfx::Point& location) { gfx 18 ui/gfx/ozone/dri/hardware_display_controller.h namespace gfx { gfx 155 ui/gfx/ozone/dri/hardware_display_controller.h bool MoveCursor(const gfx::Point& location); gfx 17 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc const gfx::Size kDefaultModeSize(kDefaultMode.hdisplay, kDefaultMode.vdisplay); gfx 31 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc class MockDriWrapper : public gfx::DriWrapper { gfx 149 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc class MockDriSkBitmap : public gfx::DriSkBitmap { gfx 161 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc class MockDriSurface : public gfx::DriSurface { gfx 163 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc MockDriSurface(gfx::DriWrapper* dri, const gfx::Size& size) gfx 168 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc virtual gfx::DriSkBitmap* CreateBuffer() OVERRIDE { gfx 184 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc scoped_ptr<gfx::HardwareDisplayController> controller_; gfx 192 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc controller_.reset(new gfx::HardwareDisplayController()); gfx 202 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::UNASSOCIATED, gfx 212 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::UNINITIALIZED, gfx 219 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc scoped_ptr<gfx::DriSurface> surface( gfx 226 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::SURFACE_INITIALIZED, gfx 235 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc scoped_ptr<gfx::DriSurface> surface( gfx 242 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::FAILED, gfx 249 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc scoped_ptr<gfx::DriSurface> surface( gfx 257 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::INITIALIZED, gfx 266 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc scoped_ptr<gfx::DriSurface> surface( gfx 274 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::FAILED, gfx 283 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc scoped_ptr<gfx::DriSurface> surface( gfx 291 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::FAILED, gfx 298 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc scoped_ptr<gfx::DriSurface> surface( gfx 304 ui/gfx/ozone/dri/hardware_display_controller_unittest.cc EXPECT_EQ(gfx::HardwareDisplayController::SURFACE_INITIALIZED, gfx 26 ui/gfx/ozone/impl/file_surface_factory.cc gfx::PNGCodec::FastEncodeBGRASkBitmap(bitmap, true, &png_data); gfx 16 ui/gfx/ozone/impl/file_surface_factory.h namespace gfx { gfx 12 ui/gfx/ozone/overlay_candidates_ozone.cc : transform(gfx::OVERLAY_TRANSFORM_NONE), gfx 15 ui/gfx/ozone/overlay_candidates_ozone.h namespace gfx { gfx 27 ui/gfx/ozone/overlay_candidates_ozone.h gfx::OverlayTransform transform; gfx 31 ui/gfx/ozone/overlay_candidates_ozone.h gfx::Rect display_rect; gfx 33 ui/gfx/ozone/overlay_candidates_ozone.h gfx::RectF crop_rect; gfx 37 ui/gfx/ozone/surface_factory_ozone.cc gfx::AcceleratedWidget widget) { gfx 48 ui/gfx/ozone/surface_factory_ozone.cc gfx::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates( gfx 49 ui/gfx/ozone/surface_factory_ozone.cc gfx::AcceleratedWidget w) { gfx 54 ui/gfx/ozone/surface_factory_ozone.cc gfx::AcceleratedWidget w, gfx 56 ui/gfx/ozone/surface_factory_ozone.cc gfx::OverlayTransform plane_transform, gfx 57 ui/gfx/ozone/surface_factory_ozone.cc gfx::NativeBufferOzone buffer, gfx 58 ui/gfx/ozone/surface_factory_ozone.cc const gfx::Rect& display_bounds, gfx 59 ui/gfx/ozone/surface_factory_ozone.cc gfx::RectF crop_rect) { gfx 63 ui/gfx/ozone/surface_factory_ozone.cc gfx::NativeBufferOzone SurfaceFactoryOzone::CreateNativeBuffer( gfx 64 ui/gfx/ozone/surface_factory_ozone.cc gfx::Size size, gfx 21 ui/gfx/ozone/surface_factory_ozone.h namespace gfx { gfx 101 ui/gfx/ozone/surface_factory_ozone.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0; gfx 109 ui/gfx/ozone/surface_factory_ozone.h gfx::AcceleratedWidget widget); gfx 125 ui/gfx/ozone/surface_factory_ozone.h virtual gfx::OverlayCandidatesOzone* GetOverlayCandidates( gfx 126 ui/gfx/ozone/surface_factory_ozone.h gfx::AcceleratedWidget w); gfx 137 ui/gfx/ozone/surface_factory_ozone.h virtual void ScheduleOverlayPlane(gfx::AcceleratedWidget w, gfx 139 ui/gfx/ozone/surface_factory_ozone.h gfx::OverlayTransform plane_transform, gfx 140 ui/gfx/ozone/surface_factory_ozone.h gfx::NativeBufferOzone buffer, gfx 141 ui/gfx/ozone/surface_factory_ozone.h const gfx::Rect& display_bounds, gfx 142 ui/gfx/ozone/surface_factory_ozone.h gfx::RectF crop_rect); gfx 145 ui/gfx/ozone/surface_factory_ozone.h virtual gfx::NativeBufferOzone CreateNativeBuffer(gfx::Size size, gfx 15 ui/gfx/ozone/surface_ozone.h namespace gfx { gfx 54 ui/gfx/ozone/surface_ozone.h virtual bool ResizeCanvas(const gfx::Size& viewport_size) = 0; gfx 65 ui/gfx/ozone/surface_ozone.h virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() = 0; gfx 31 ui/gfx/ozone/surface_ozone_base.cc bool SurfaceOzoneBase::ResizeCanvas(const gfx::Size& viewport_size) { gfx 41 ui/gfx/ozone/surface_ozone_base.cc scoped_ptr<gfx::VSyncProvider> SurfaceOzoneBase::CreateVSyncProvider() { gfx 43 ui/gfx/ozone/surface_ozone_base.cc return scoped_ptr<gfx::VSyncProvider>(); gfx 14 ui/gfx/ozone/surface_ozone_base.h namespace gfx { gfx 34 ui/gfx/ozone/surface_ozone_base.h virtual bool ResizeCanvas(const gfx::Size& viewport_size) OVERRIDE; gfx 36 ui/gfx/ozone/surface_ozone_base.h virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() OVERRIDE; gfx 180 ui/gfx/pango_util.cc DCHECK(gfx::Canvas::NO_ELLIPSIS); gfx 20 ui/gfx/pango_util.h namespace gfx { gfx 13 ui/gfx/path.h namespace gfx { gfx 42 ui/gfx/path.h static gfx::NativeRegion IntersectRegions(gfx::NativeRegion r1, gfx 43 ui/gfx/path.h gfx::NativeRegion r2); gfx 46 ui/gfx/path.h static gfx::NativeRegion CombineRegions(gfx::NativeRegion r1, gfx 47 ui/gfx/path.h gfx::NativeRegion r2); gfx 51 ui/gfx/path.h static gfx::NativeRegion SubtractRegion(gfx::NativeRegion r1, gfx 52 ui/gfx/path.h gfx::NativeRegion r2); gfx 15 ui/gfx/path_win.h namespace gfx { gfx 16 ui/gfx/path_x11.h namespace gfx { gfx 15 ui/gfx/platform_font.h namespace gfx { gfx 10 ui/gfx/platform_font_ios.h namespace gfx { gfx 12 ui/gfx/platform_font_mac.h namespace gfx { gfx 100 ui/gfx/platform_font_pango.cc InitWithNameAndSize(font_family, gfx::GetPangoFontSizeInPixels(native_font)); gfx 106 ui/gfx/platform_font_pango.cc style |= gfx::Font::BOLD; gfx 110 ui/gfx/platform_font_pango.cc style |= gfx::Font::ITALIC; gfx 165 ui/gfx/platform_font_pango.cc if (gfx::Font::BOLD & style) gfx 167 ui/gfx/platform_font_pango.cc if (gfx::Font::ITALIC & style) gfx 227 ui/gfx/platform_font_pango.cc case gfx::Font::NORMAL: gfx 230 ui/gfx/platform_font_pango.cc case gfx::Font::BOLD: gfx 233 ui/gfx/platform_font_pango.cc case gfx::Font::ITALIC: gfx 236 ui/gfx/platform_font_pango.cc case gfx::Font::UNDERLINE: gfx 265 ui/gfx/platform_font_pango.cc const gfx::LinuxFontDelegate* delegate = gfx::LinuxFontDelegate::instance(); gfx 310 ui/gfx/platform_font_pango.cc gfx::Font::NORMAL); gfx 356 ui/gfx/platform_font_pango.cc paint->setFakeBoldText((gfx::Font::BOLD & style_) && !typeface_->isBold()); gfx 357 ui/gfx/platform_font_pango.cc paint->setTextSkewX((gfx::Font::ITALIC & style_) && !typeface_->isItalic() ? gfx 19 ui/gfx/platform_font_pango.h namespace gfx { gfx 29 ui/gfx/platform_font_pango.h static PangoFontDescription* PangoFontFromGfxFont(const gfx::Font& gfx_font); gfx 31 ui/gfx/platform_font_pango_unittest.cc scoped_refptr<gfx::PlatformFontPango> font( gfx 32 ui/gfx/platform_font_pango_unittest.cc new gfx::PlatformFontPango(desc.get())); gfx 38 ui/gfx/platform_font_pango_unittest.cc scoped_refptr<gfx::PlatformFontPango> font2( gfx 39 ui/gfx/platform_font_pango_unittest.cc new gfx::PlatformFontPango(desc2.get())); gfx 33 ui/gfx/platform_font_win.cc if (gfx::PlatformFontWin::get_minimum_font_size_callback) gfx 34 ui/gfx/platform_font_win.cc min_font_size = gfx::PlatformFontWin::get_minimum_font_size_callback(); gfx 58 ui/gfx/platform_font_win.cc font_info->lfUnderline = (font_style & gfx::Font::UNDERLINE) != 0; gfx 59 ui/gfx/platform_font_win.cc font_info->lfItalic = (font_style & gfx::Font::ITALIC) != 0; gfx 60 ui/gfx/platform_font_win.cc font_info->lfWeight = (font_style & gfx::Font::BOLD) ? FW_BOLD : FW_NORMAL; gfx 234 ui/gfx/platform_font_win.cc gfx::ScopedSetMapMode mode(screen_dc, MM_TEXT); gfx 294 ui/gfx/platform_font_win.cc gfx::ScopedSetMapMode mode(screen_dc, MM_TEXT); gfx 15 ui/gfx/platform_font_win.h namespace gfx { gfx 18 ui/gfx/platform_font_win_unittest.cc gfx::Font AdjustFontSizeForHeight(const gfx::Font& base_font, gfx 27 ui/gfx/range/range.h namespace gfx { gfx 9 ui/gfx/range/range_unittest.cc gfx::Range r; gfx 21 ui/gfx/range/range_unittest.cc gfx::Range r(10, 15); gfx 33 ui/gfx/range/range_unittest.cc gfx::Range r(10, 5); gfx 45 ui/gfx/range/range_unittest.cc gfx::Range r(12); gfx 57 ui/gfx/range/range_unittest.cc gfx::Range r(gfx::Range::InvalidRange()); gfx 66 ui/gfx/range/range_unittest.cc gfx::Range r1(10, 4); gfx 67 ui/gfx/range/range_unittest.cc gfx::Range r2(10, 4); gfx 68 ui/gfx/range/range_unittest.cc gfx::Range r3(10, 2); gfx 73 ui/gfx/range/range_unittest.cc gfx::Range r4(11, 4); gfx 78 ui/gfx/range/range_unittest.cc gfx::Range r5(12, 5); gfx 85 ui/gfx/range/range_unittest.cc gfx::Range r1(10, 5); gfx 86 ui/gfx/range/range_unittest.cc gfx::Range r2(5, 10); gfx 91 ui/gfx/range/range_unittest.cc gfx::Range r(10, 20); gfx 103 ui/gfx/range/range_unittest.cc gfx::Range r(10, 13); gfx 114 ui/gfx/range/range_unittest.cc gfx::Range r; gfx 125 ui/gfx/range/range_unittest.cc gfx::Range r(10, 5); gfx 136 ui/gfx/range/range_unittest.cc gfx::Range r(10, 20); gfx 153 ui/gfx/range/range_unittest.cc void TestContainsAndIntersects(const gfx::Range& r1, gfx 154 ui/gfx/range/range_unittest.cc const gfx::Range& r2, gfx 155 ui/gfx/range/range_unittest.cc const gfx::Range& r3) { gfx 158 ui/gfx/range/range_unittest.cc EXPECT_EQ(gfx::Range(10, 12), r1.Intersect(r1)); gfx 171 ui/gfx/range/range_unittest.cc EXPECT_EQ(gfx::Range(10, 12), r1.Intersect(r3)); gfx 172 ui/gfx/range/range_unittest.cc EXPECT_EQ(gfx::Range(10, 12), r3.Intersect(r1)); gfx 178 ui/gfx/range/range_unittest.cc EXPECT_EQ(gfx::Range(5, 8), r2.Intersect(r3)); gfx 179 ui/gfx/range/range_unittest.cc EXPECT_EQ(gfx::Range(5, 8), r3.Intersect(r2)); gfx 185 ui/gfx/range/range_unittest.cc gfx::Range r1(10, 12); gfx 186 ui/gfx/range/range_unittest.cc gfx::Range r2(1, 8); gfx 187 ui/gfx/range/range_unittest.cc gfx::Range r3(5, 12); gfx 192 ui/gfx/range/range_unittest.cc gfx::Range r1(12, 10); gfx 193 ui/gfx/range/range_unittest.cc gfx::Range r2(8, 1); gfx 194 ui/gfx/range/range_unittest.cc gfx::Range r3(12, 5); gfx 198 ui/gfx/range/range_unittest.cc gfx::Range r1(10, 12); gfx 199 ui/gfx/range/range_unittest.cc gfx::Range r2(8, 1); gfx 200 ui/gfx/range/range_unittest.cc gfx::Range invalid = r1.Intersect(r2); gfx 10 ui/gfx/range/range_win_unittest.cc gfx::Range r(cr, 50); gfx 20 ui/gfx/range/range_win_unittest.cc gfx::Range r(cr, 40); gfx 30 ui/gfx/range/range_win_unittest.cc gfx::Range r(cr, 20); gfx 39 ui/gfx/range/range_win_unittest.cc gfx::Range r(10, 30); gfx 46 ui/gfx/range/range_win_unittest.cc gfx::Range r(20, 10); gfx 54 ui/gfx/range/range_win_unittest.cc gfx::Range r(cr, 30); gfx 59 ui/gfx/range/range_win_unittest.cc gfx::Range r(gfx::Range::InvalidRange()); gfx 80 ui/gfx/render_text.cc skia_style |= (font_style & gfx::Font::BOLD) ? SkTypeface::kBold : 0; gfx 81 ui/gfx/render_text.cc skia_style |= (font_style & gfx::Font::ITALIC) ? SkTypeface::kItalic : 0; gfx 492 ui/gfx/render_text.cc if (elide_behavior_ != gfx::NO_ELIDE) gfx 1123 ui/gfx/render_text.cc static_cast<size_t>(gfx::UTF16IndexToOffset(text_, 0, text_.length())); gfx 1137 ui/gfx/render_text.cc static_cast<size_t>(gfx::UTF16IndexToOffset(text_, 0, start)); gfx 1150 ui/gfx/render_text.cc layout_text_.assign(text.substr(0, iter.getIndex()) + gfx::kEllipsisUTF16); gfx 1178 ui/gfx/render_text.cc const base::string16 ellipsis = base::string16(gfx::kEllipsisUTF16); gfx 40 ui/gfx/render_text.h namespace gfx { gfx 48 ui/gfx/render_text_mac.cc gfx::Font font(runs_[i].font_name, runs_[i].text_size); gfx 214 ui/gfx/render_text_mac.cc gfx::CGColorCreateFromSkColor(style.color())); gfx 257 ui/gfx/render_text_mac.cc gfx::Vector2d text_offset = GetLineOffset(0); gfx 259 ui/gfx/render_text_mac.cc text_offset += gfx::Vector2d(0, common_baseline_); gfx 328 ui/gfx/render_text_mac.cc run->foreground = gfx::CGColorRefToSkColor(foreground); gfx 16 ui/gfx/render_text_mac.h namespace gfx { gfx 252 ui/gfx/render_text_pango.cc ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, index); gfx 263 ui/gfx/render_text_pango.cc return gfx::UTF16OffsetToIndex(text(), 0, offset); gfx 271 ui/gfx/render_text_pango.cc if (!gfx::IsValidCodePointIndex(text(), position)) gfx 275 ui/gfx/render_text_pango.cc ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, position); gfx 394 ui/gfx/render_text_pango.cc const gfx::FontRenderParams& render_params = gfx 395 ui/gfx/render_text_pango.cc gfx::GetDefaultFontRenderParams(); gfx 398 ui/gfx/render_text_pango.cc gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE; gfx 406 ui/gfx/render_text_pango.cc case gfx::FontRenderParams::HINTING_NONE: gfx 409 ui/gfx/render_text_pango.cc case gfx::FontRenderParams::HINTING_SLIGHT: gfx 412 ui/gfx/render_text_pango.cc case gfx::FontRenderParams::HINTING_MEDIUM: gfx 415 ui/gfx/render_text_pango.cc case gfx::FontRenderParams::HINTING_FULL: gfx 13 ui/gfx/render_text_pango.h namespace gfx { gfx 454 ui/gfx/render_text_unittest.cc expected_render_text->SetDisplayRect(gfx::Rect(0, 0, 9999, 100)); gfx 458 ui/gfx/render_text_unittest.cc render_text->SetElideBehavior(gfx::ELIDE_AT_END); gfx 472 ui/gfx/render_text_unittest.cc render_text->SetDisplayRect(gfx::Rect(0, 0, expected_width, 100)); gfx 484 ui/gfx/render_text_unittest.cc expected_render_text->SetDisplayRect(gfx::Rect(0, 0, 9999, 100)); gfx 489 ui/gfx/render_text_unittest.cc render_text->SetElideBehavior(gfx::ELIDE_AT_END); gfx 491 ui/gfx/render_text_unittest.cc gfx::Rect(0, 0, expected_render_text->GetContentWidth(), 100)); gfx 719 ui/gfx/render_text_win.cc ptrdiff_t i = obscured() ? gfx::UTF16IndexToOffset(text(), 0, index) : index; gfx 730 ui/gfx/render_text_win.cc const size_t text_index = gfx::UTF16OffsetToIndex(text(), 0, index); gfx 745 ui/gfx/render_text_win.cc return gfx::IsValidCodePointIndex(text(), position) && gfx 18 ui/gfx/render_text_win.h namespace gfx { gfx 10 ui/gfx/scoped_canvas.h namespace gfx { gfx 15 ui/gfx/scoped_canvas.h explicit ScopedCanvas(gfx::Canvas* canvas) : canvas_(canvas) { gfx 23 ui/gfx/scoped_canvas.h void SetCanvas(gfx::Canvas* canvas) { gfx 31 ui/gfx/scoped_canvas.h gfx::Canvas* canvas_; gfx 10 ui/gfx/scoped_cg_context_save_gstate_mac.h namespace gfx { gfx 17 ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h namespace gfx { gfx 10 ui/gfx/scoped_sk_region.h namespace gfx { gfx 12 ui/gfx/scoped_ui_graphics_push_context_ios.h namespace gfx { gfx 17 ui/gfx/screen.h namespace gfx { gfx 57 ui/gfx/screen.h virtual gfx::Point GetCursorScreenPoint() = 0; gfx 60 ui/gfx/screen.h virtual gfx::NativeWindow GetWindowUnderCursor() = 0; gfx 63 ui/gfx/screen.h virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) = 0; gfx 71 ui/gfx/screen.h virtual std::vector<gfx::Display> GetAllDisplays() const = 0; gfx 74 ui/gfx/screen.h virtual gfx::Display GetDisplayNearestWindow(NativeView view) const = 0; gfx 77 ui/gfx/screen.h virtual gfx::Display GetDisplayNearestPoint( gfx 78 ui/gfx/screen.h const gfx::Point& point) const = 0; gfx 81 ui/gfx/screen.h virtual gfx::Display GetDisplayMatching( gfx 82 ui/gfx/screen.h const gfx::Rect& match_rect) const = 0; gfx 85 ui/gfx/screen.h virtual gfx::Display GetPrimaryDisplay() const = 0; gfx 20 ui/gfx/screen_android.cc virtual gfx::Point GetCursorScreenPoint() OVERRIDE { return gfx::Point(); } gfx 22 ui/gfx/screen_android.cc virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE { gfx 27 ui/gfx/screen_android.cc virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 33 ui/gfx/screen_android.cc virtual gfx::Display GetPrimaryDisplay() const OVERRIDE { gfx 34 ui/gfx/screen_android.cc gfx::DeviceDisplayInfo device_info; gfx 36 ui/gfx/screen_android.cc const gfx::Rect bounds_in_pixels = gfx 37 ui/gfx/screen_android.cc gfx::Rect( gfx 40 ui/gfx/screen_android.cc const gfx::Rect bounds_in_dip = gfx 41 ui/gfx/screen_android.cc gfx::Rect(gfx::ToCeiledSize(gfx::ScaleSize( gfx 43 ui/gfx/screen_android.cc gfx::Display display(0, bounds_in_dip); gfx 44 ui/gfx/screen_android.cc if (!gfx::Display::HasForceDeviceScaleFactor()) gfx 49 ui/gfx/screen_android.cc virtual gfx::Display GetDisplayNearestWindow( gfx 50 ui/gfx/screen_android.cc gfx::NativeView view) const OVERRIDE { gfx 54 ui/gfx/screen_android.cc virtual gfx::Display GetDisplayNearestPoint( gfx 55 ui/gfx/screen_android.cc const gfx::Point& point) const OVERRIDE { gfx 61 ui/gfx/screen_android.cc virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE { gfx 62 ui/gfx/screen_android.cc return std::vector<gfx::Display>(1, GetPrimaryDisplay()); gfx 65 ui/gfx/screen_android.cc virtual gfx::Display GetDisplayMatching( gfx 66 ui/gfx/screen_android.cc const gfx::Rect& match_rect) const OVERRIDE { gfx 15 ui/gfx/screen_gtk.cc bool GetScreenWorkArea(gfx::Rect* out_rect) { gfx 50 ui/gfx/screen_gtk.cc gfx::Display GetDisplayForMonitorNum(GdkScreen* screen, gint monitor_num) { gfx 54 ui/gfx/screen_gtk.cc gfx::Display display(monitor_num, gfx::Rect(bounds)); gfx 56 ui/gfx/screen_gtk.cc gfx::Rect rect; gfx 58 ui/gfx/screen_gtk.cc display.set_work_area(gfx::IntersectRects(rect, display.bounds())); gfx 63 ui/gfx/screen_gtk.cc gfx::Display GetMonitorAreaNearestWindow(gfx::NativeView view) { gfx 78 ui/gfx/screen_gtk.cc class ScreenGtk : public gfx::Screen { gfx 90 ui/gfx/screen_gtk.cc virtual gfx::Point GetCursorScreenPoint() OVERRIDE { gfx 93 ui/gfx/screen_gtk.cc return gfx::Point(x, y); gfx 97 ui/gfx/screen_gtk.cc virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE { gfx 111 ui/gfx/screen_gtk.cc virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 127 ui/gfx/screen_gtk.cc virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE { gfx 130 ui/gfx/screen_gtk.cc std::vector<gfx::Display> all_displays; gfx 137 ui/gfx/screen_gtk.cc virtual gfx::Display GetDisplayNearestWindow( gfx 138 ui/gfx/screen_gtk.cc gfx::NativeView view) const OVERRIDE { gfx 153 ui/gfx/screen_gtk.cc virtual gfx::Display GetDisplayNearestPoint( gfx 154 ui/gfx/screen_gtk.cc const gfx::Point& point) const OVERRIDE { gfx 163 ui/gfx/screen_gtk.cc virtual gfx::Display GetDisplayMatching( gfx 164 ui/gfx/screen_gtk.cc const gfx::Rect& match_rect) const OVERRIDE { gfx 165 ui/gfx/screen_gtk.cc std::vector<gfx::Display> displays = GetAllDisplays(); gfx 166 ui/gfx/screen_gtk.cc gfx::Display maxIntersectDisplay; gfx 167 ui/gfx/screen_gtk.cc gfx::Rect maxIntersection; gfx 168 ui/gfx/screen_gtk.cc for (std::vector<gfx::Display>::iterator it = displays.begin(); gfx 170 ui/gfx/screen_gtk.cc gfx::Rect displayIntersection = it->bounds(); gfx 183 ui/gfx/screen_gtk.cc virtual gfx::Display GetPrimaryDisplay() const OVERRIDE { gfx 190 ui/gfx/screen_gtk.cc virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE { gfx 194 ui/gfx/screen_gtk.cc virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE { gfx 10 ui/gfx/screen_type_delegate.h namespace gfx { gfx 13 ui/gfx/screen_unittest.cc const gfx::Size size = gfx 14 ui/gfx/screen_unittest.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().size(); gfx 21 ui/gfx/screen_unittest.cc EXPECT_GE(gfx::Screen::GetNativeScreen()->GetNumDisplays(), 1); gfx 26 ui/gfx/screen_win.cc gfx::Display GetDisplay(MONITORINFOEX& monitor_info) { gfx 30 ui/gfx/screen_win.cc gfx::Rect bounds = gfx::Rect(monitor_info.rcMonitor); gfx 31 ui/gfx/screen_win.cc gfx::Display display(id, bounds); gfx 32 ui/gfx/screen_win.cc display.set_work_area(gfx::Rect(monitor_info.rcWork)); gfx 33 ui/gfx/screen_win.cc display.SetScaleAndBounds(gfx::win::GetDeviceScaleFactor(), bounds); gfx 41 ui/gfx/screen_win.cc std::vector<gfx::Display>* all_displays = gfx 42 ui/gfx/screen_win.cc reinterpret_cast<std::vector<gfx::Display>*>(data); gfx 46 ui/gfx/screen_win.cc gfx::Display display = GetDisplay(monitor_info); gfx 65 ui/gfx/screen_win.cc gfx::Point ScreenWin::GetCursorScreenPoint() { gfx 68 ui/gfx/screen_win.cc return gfx::Point(pt); gfx 71 ui/gfx/screen_win.cc gfx::NativeWindow ScreenWin::GetWindowUnderCursor() { gfx 77 ui/gfx/screen_win.cc gfx::NativeWindow ScreenWin::GetWindowAtScreenPoint(const gfx::Point& point) { gfx 85 ui/gfx/screen_win.cc std::vector<gfx::Display> ScreenWin::GetAllDisplays() const { gfx 86 ui/gfx/screen_win.cc std::vector<gfx::Display> all_displays; gfx 92 ui/gfx/screen_win.cc gfx::Display ScreenWin::GetDisplayNearestWindow(gfx::NativeView window) const { gfx 108 ui/gfx/screen_win.cc gfx::Display ScreenWin::GetDisplayNearestPoint(const gfx::Point& point) const { gfx 117 ui/gfx/screen_win.cc return gfx::Display(); gfx 120 ui/gfx/screen_win.cc gfx::Display ScreenWin::GetDisplayMatching(const gfx::Rect& match_rect) const { gfx 127 ui/gfx/screen_win.cc gfx::Display ScreenWin::GetPrimaryDisplay() const { gfx 130 ui/gfx/screen_win.cc gfx::Display display = GetDisplay(mi); gfx 12 ui/gfx/screen_win.h namespace gfx { gfx 14 ui/gfx/screen_win.h class GFX_EXPORT ScreenWin : public gfx::Screen { gfx 22 ui/gfx/screen_win.h virtual gfx::Point GetCursorScreenPoint() OVERRIDE; gfx 23 ui/gfx/screen_win.h virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; gfx 24 ui/gfx/screen_win.h virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 27 ui/gfx/screen_win.h virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE; gfx 28 ui/gfx/screen_win.h virtual gfx::Display GetDisplayNearestWindow( gfx 29 ui/gfx/screen_win.h gfx::NativeView window) const OVERRIDE; gfx 30 ui/gfx/screen_win.h virtual gfx::Display GetDisplayNearestPoint( gfx 31 ui/gfx/screen_win.h const gfx::Point& point) const OVERRIDE; gfx 32 ui/gfx/screen_win.h virtual gfx::Display GetDisplayMatching( gfx 33 ui/gfx/screen_win.h const gfx::Rect& match_rect) const OVERRIDE; gfx 34 ui/gfx/screen_win.h virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; gfx 10 ui/gfx/scrollbar_size.h namespace gfx { gfx 13 ui/gfx/selection_model.h namespace gfx { gfx 20 ui/gfx/shadow_value.cc ShadowValue::ShadowValue(const gfx::Point& offset, gfx 32 ui/gfx/shadow_value.cc gfx::Point scaled_offset = gfx 33 ui/gfx/shadow_value.cc gfx::ToFlooredPoint(gfx::ScalePoint(offset_, scale)); gfx 15 ui/gfx/shadow_value.h namespace gfx { gfx 27 ui/gfx/shadow_value.h ShadowValue(const gfx::Point& offset, double blur, SkColor color); gfx 32 ui/gfx/shadow_value.h const gfx::Point& offset() const { return offset_; } gfx 45 ui/gfx/shadow_value.h gfx::Point offset_; gfx 24 ui/gfx/shadow_value_unittest.cc { ShadowValue(gfx::Point(0, 0), 4, 0), }, gfx 29 ui/gfx/shadow_value_unittest.cc { ShadowValue(gfx::Point(1, 2), 4, 0), }, gfx 34 ui/gfx/shadow_value_unittest.cc { ShadowValue(gfx::Point(-1, -2), 4, 0), }, gfx 40 ui/gfx/shadow_value_unittest.cc ShadowValue(gfx::Point(1, 2), 4, 0), gfx 41 ui/gfx/shadow_value_unittest.cc ShadowValue(gfx::Point(2, 3), 4, 0), gfx 48 ui/gfx/shadow_value_unittest.cc ShadowValue(gfx::Point(-1, -2), 4, 0), gfx 49 ui/gfx/shadow_value_unittest.cc ShadowValue(gfx::Point(2, 3), 4, 0), gfx 755 ui/gfx/skbitmap_operations.cc const gfx::ShadowValues& shadows) { gfx 761 ui/gfx/skbitmap_operations.cc gfx::Insets shadow_margin = -gfx::ShadowValue::GetMargin(shadows); gfx 774 ui/gfx/skbitmap_operations.cc const gfx::ShadowValue& shadow = shadows[i]; gfx 13 ui/gfx/skbitmap_operations.h namespace gfx { gfx 118 ui/gfx/skbitmap_operations.h const gfx::ShadowValues& shadows); gfx 50 ui/gfx/skia_util.cc void TransformToFlattenedSkMatrix(const gfx::Transform& transform, gfx 64 ui/gfx/skia_util.cc skia::RefPtr<SkShader> CreateImageRepShader(const gfx::ImageSkiaRep& image_rep, gfx 20 ui/gfx/skia_util.h namespace gfx { gfx 35 ui/gfx/skia_util.h GFX_EXPORT void TransformToFlattenedSkMatrix(const gfx::Transform& transform, gfx 46 ui/gfx/skia_util.h const gfx::ImageSkiaRep& image_rep, gfx 13 ui/gfx/skia_utils_gtk.h namespace gfx { gfx 20 ui/gfx/skrect_conversion_unittest.cc EXPECT_EQ(gfx::RectF(isrc).ToString(), SkRectToRectF(skrect).ToString()); gfx 51 ui/gfx/sys_color_change_listener.cc class SysColorChangeObserver : public gfx::SingletonHwnd::Observer { gfx 78 ui/gfx/sys_color_change_listener.cc gfx::SingletonHwnd::GetInstance()->AddObserver(this); gfx 82 ui/gfx/sys_color_change_listener.cc gfx::SingletonHwnd::GetInstance()->RemoveObserver(this); gfx 12 ui/gfx/sys_color_change_listener.h namespace gfx { gfx 16 ui/gfx/test/gfx_util.h namespace gfx { gfx 20 ui/gfx/test/gfx_util.h EXPECT_PRED_FORMAT2(::gfx::AssertBoxFloatEqual, a, b) gfx 28 ui/gfx/test/gfx_util.h EXPECT_PRED_FORMAT2(::gfx::AssertSkColorsEqual, a, b) gfx 8 ui/gfx/text_constants.h namespace gfx { gfx 25 ui/gfx/text_elider.h namespace gfx { gfx 78 ui/gfx/text_elider.h const gfx::FontList& font_list, gfx 97 ui/gfx/text_elider.h const gfx::FontList& font_list, gfx 108 ui/gfx/text_elider.h const gfx::FontList& font_list, gfx 179 ui/gfx/text_elider.h const gfx::FontList& font_list, gfx 11 ui/gfx/text_utils.h namespace gfx { gfx 392 ui/gfx/transform.cc return gfx::Vector2dF(SkMScalarToFloat(matrix_.get(0, 3)), gfx 459 ui/gfx/transform.cc gfx::Point3F point = box->origin(); gfx 460 ui/gfx/transform.cc point += gfx::Vector3dF(corner & 1 ? box->width() : 0.f, gfx 475 ui/gfx/transform.cc gfx::Transform inverse = *this; gfx 15 ui/gfx/transform.h namespace gfx { gfx 92 ui/gfx/transform.h gfx::Vector2dF Scale2d() const { gfx 93 ui/gfx/transform.h return gfx::Vector2dF(matrix_.get(0, 0), matrix_.get(1, 1)); gfx 1303 ui/gfx/transform_unittest.cc gfx::Transform transform; gfx 1329 ui/gfx/transform_unittest.cc gfx::Transform transform; gfx 1355 ui/gfx/transform_unittest.cc gfx::Transform translation; gfx 1359 ui/gfx/transform_unittest.cc gfx::Transform inverse_translation; gfx 1370 ui/gfx/transform_unittest.cc gfx::Transform scale; gfx 1374 ui/gfx/transform_unittest.cc gfx::Transform inverse_scale; gfx 1386 ui/gfx/transform_unittest.cc gfx::Transform uninvertible; gfx 1393 ui/gfx/transform_unittest.cc gfx::Transform inverse_of_uninvertible; gfx 11 ui/gfx/transform_util.h namespace gfx { gfx 11 ui/gfx/utf16_indexing.h namespace gfx { gfx 12 ui/gfx/vsync_provider.h namespace gfx { gfx 41 ui/gfx/win/dpi.cc return static_cast<float>(gfx::GetDPI().width()) / gfx 153 ui/gfx/win/dpi.cc return gfx::Display::HasForceDeviceScaleFactor() ? gfx 154 ui/gfx/win/dpi.cc gfx::Display::GetForcedDeviceScaleFactor() : gfx 219 ui/gfx/win/dpi.cc return gfx::Rect( gfx 220 ui/gfx/win/dpi.cc gfx::ToCeiledPoint(gfx::ScalePoint( gfx 222 ui/gfx/win/dpi.cc gfx::ToFlooredSize(gfx::ScaleSize( gfx 13 ui/gfx/win/dpi.h namespace gfx { gfx 13 ui/gfx/win/hwnd_util.h namespace gfx { gfx 37 ui/gfx/win/hwnd_util.h const gfx::Size& pref); gfx 45 ui/gfx/win/hwnd_util.h GFX_EXPORT void ShowSystemMenuAtPoint(HWND window, const gfx::Point& point); gfx 118 ui/gfx/win/msg_util.h func(gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 129 ui/gfx/win/msg_util.h gfx::Size(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 537 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 575 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 586 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 597 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 608 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 619 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 630 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 641 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 652 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 663 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 674 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 781 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 891 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 904 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 914 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 925 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 936 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 947 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 958 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 969 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 980 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 991 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1002 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1094 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1294 ui/gfx/win/msg_util.h gfx::Size(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1541 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1631 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1643 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1655 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1667 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1679 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 1691 ui/gfx/win/msg_util.h gfx::Point(CR_GET_X_LPARAM(lParam), CR_GET_Y_LPARAM(lParam))); \ gfx 13 ui/gfx/win/scoped_set_map_mode.h namespace gfx { gfx 18 ui/gfx/win/singleton_hwnd.h namespace gfx { gfx 243 ui/gfx/win/window_impl.cc gfx::SetWindowUserData(hwnd_, NULL); gfx 255 ui/gfx/win/window_impl.cc gfx::SetWindowUserData(hwnd, window); gfx 16 ui/gfx/win/window_impl.h namespace gfx { gfx 45 ui/gfx/win/window_impl.h void Init(HWND parent, const gfx::Rect& bounds); gfx 13 ui/gfx/x/x11_error_tracker.h namespace gfx { gfx 16 ui/gfx/x/x11_types.h namespace gfx { gfx 18 ui/gl/android/gl_jni_registrar.cc gfx::SurfaceTexture::RegisterSurfaceTexture }, gfx 20 ui/gl/android/gl_jni_registrar.cc gfx::SurfaceTextureListener::RegisterSurfaceTextureListener }, gfx 83 ui/gl/android/scoped_java_surface.cc gfx::ScopedJavaSurface scoped_surface(surface_ref); gfx 14 ui/gl/android/scoped_java_surface.h namespace gfx { gfx 17 ui/gl/android/surface_texture.h namespace gfx { gfx 17 ui/gl/android/surface_texture_listener.h namespace gfx { gfx 11 ui/gl/android/surface_texture_tracker.h namespace gfx { gfx 226 ui/gl/gl_bindings.h namespace gfx { gfx 578 ui/gl/gl_bindings_skia_in_process.cc switch (gfx::GetGLImplementation()) { gfx 579 ui/gl/gl_bindings_skia_in_process.cc case gfx::kGLImplementationNone: gfx 582 ui/gl/gl_bindings_skia_in_process.cc case gfx::kGLImplementationDesktopGL: gfx 583 ui/gl/gl_bindings_skia_in_process.cc case gfx::kGLImplementationAppleGL: gfx 586 ui/gl/gl_bindings_skia_in_process.cc case gfx::kGLImplementationOSMesaGL: gfx 589 ui/gl/gl_bindings_skia_in_process.cc case gfx::kGLImplementationEGLGLES2: gfx 592 ui/gl/gl_bindings_skia_in_process.cc case gfx::kGLImplementationMockGL: gfx 12 ui/gl/gl_bindings_skia_in_process.h namespace gfx { gfx 19 ui/gl/gl_context.h namespace gfx { gfx 12 ui/gl/gl_context_cgl.h namespace gfx { gfx 17 ui/gl/gl_context_egl.h namespace gfx { gfx 15 ui/gl/gl_context_glx.h namespace gfx { gfx 14 ui/gl/gl_context_nsview.h namespace gfx { gfx 53 ui/gl/gl_context_osmesa.cc gfx::Size size = surface->GetSize(); gfx 14 ui/gl/gl_context_osmesa.h namespace gfx { gfx 10 ui/gl/gl_context_stub.h namespace gfx { gfx 10 ui/gl/gl_context_stub_with_extensions.h namespace gfx { gfx 15 ui/gl/gl_context_stub_with_extensions.h class GL_EXPORT GLContextStubWithExtensions : public gfx::GLContextStub { gfx 136 ui/gl/gl_context_wgl.cc if (gfx::g_driver_wgl.ext.b_WGL_EXT_swap_control) { gfx 13 ui/gl/gl_context_wgl.h namespace gfx { gfx 12 ui/gl/gl_egl_api_implementation.h namespace gfx { gfx 13 ui/gl/gl_fence.cc class GLFenceNVFence: public gfx::GLFence { gfx 31 ui/gl/gl_fence.cc flush_event_ = gfx::GLContext::GetCurrent()->SignalFlush(); gfx 57 ui/gl/gl_fence.cc scoped_refptr<gfx::GLContext::FlushEvent> flush_event_; gfx 60 ui/gl/gl_fence.cc class GLFenceARBSync: public gfx::GLFence { gfx 67 ui/gl/gl_fence.cc flush_event_ = gfx::GLContext::GetCurrent()->SignalFlush(); gfx 104 ui/gl/gl_fence.cc scoped_refptr<gfx::GLContext::FlushEvent> flush_event_; gfx 108 ui/gl/gl_fence.cc class EGLFenceSync : public gfx::GLFence { gfx 116 ui/gl/gl_fence.cc flush_event_ = gfx::GLContext::GetCurrent()->SignalFlush(); gfx 154 ui/gl/gl_fence.cc scoped_refptr<gfx::GLContext::FlushEvent> flush_event_; gfx 159 ui/gl/gl_fence.cc gfx::GLFence* CreateFence(bool flush) { gfx 160 ui/gl/gl_fence.cc DCHECK(gfx::GLContext::GetCurrent()) gfx 164 ui/gl/gl_fence.cc if (gfx::g_driver_egl.ext.b_EGL_KHR_fence_sync) gfx 168 ui/gl/gl_fence.cc if (gfx::g_driver_gl.ext.b_GL_ARB_sync) gfx 170 ui/gl/gl_fence.cc if (gfx::g_driver_gl.ext.b_GL_NV_fence) gfx 11 ui/gl/gl_fence.h namespace gfx { gfx 36 ui/gl/gl_gl_api_implementation.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) { gfx 50 ui/gl/gl_gl_api_implementation.cc DCHECK(gfx::g_version_info); gfx 51 ui/gl/gl_gl_api_implementation.cc if (type == GL_FLOAT && gfx::g_version_info->is_angle && gfx 52 ui/gl/gl_gl_api_implementation.cc gfx::g_version_info->is_es2) { gfx 70 ui/gl/gl_gl_api_implementation.cc if (gfx::g_version_info->is_es) gfx 120 ui/gl/gl_gl_api_implementation.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationEGLGLES2) { gfx 16 ui/gl/gl_gl_api_implementation.h namespace gfx { gfx 12 ui/gl/gl_glx_api_implementation.h namespace gfx { gfx 14 ui/gl/gl_image.h namespace gfx { gfx 28 ui/gl/gl_image.h virtual gfx::Size GetSize() = 0; gfx 53 ui/gl/gl_image.h static scoped_refptr<GLImage> CreateGLImage(gfx::PluginWindowHandle window); gfx 57 ui/gl/gl_image.h gfx::GpuMemoryBufferHandle buffer, gfx 58 ui/gl/gl_image.h gfx::Size size, gfx 16 ui/gl/gl_image_android.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { gfx 30 ui/gl/gl_image_android.cc gfx::GpuMemoryBufferHandle buffer, gfx 31 ui/gl/gl_image_android.cc gfx::Size size, gfx 12 ui/gl/gl_image_android_native_buffer.cc GLImageAndroidNativeBuffer::GLImageAndroidNativeBuffer(gfx::Size size) gfx 22 ui/gl/gl_image_android_native_buffer.cc bool GLImageAndroidNativeBuffer::Initialize(gfx::GpuMemoryBufferHandle buffer) { gfx 10 ui/gl/gl_image_android_native_buffer.h namespace gfx { gfx 14 ui/gl/gl_image_android_native_buffer.h explicit GLImageAndroidNativeBuffer(gfx::Size size); gfx 16 ui/gl/gl_image_android_native_buffer.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); gfx 11 ui/gl/gl_image_egl.cc GLImageEGL::GLImageEGL(gfx::Size size) gfx 41 ui/gl/gl_image_egl.cc gfx::Size GLImageEGL::GetSize() { return size_; } gfx 11 ui/gl/gl_image_egl.h namespace gfx { gfx 15 ui/gl/gl_image_egl.h explicit GLImageEGL(gfx::Size size); gfx 21 ui/gl/gl_image_egl.h virtual gfx::Size GetSize() OVERRIDE; gfx 33 ui/gl/gl_image_egl.h gfx::Size size_; gfx 45 ui/gl/gl_image_glx.cc GLImageGLX::GLImageGLX(gfx::PluginWindowHandle window) gfx 124 ui/gl/gl_image_glx.cc size_ = gfx::Size(width, height); gfx 139 ui/gl/gl_image_glx.cc gfx::Size GLImageGLX::GetSize() { return size_; } gfx 13 ui/gl/gl_image_glx.h namespace gfx { gfx 17 ui/gl/gl_image_glx.h explicit GLImageGLX(gfx::PluginWindowHandle window); gfx 23 ui/gl/gl_image_glx.h virtual gfx::Size GetSize() OVERRIDE; gfx 36 ui/gl/gl_image_glx.h gfx::PluginWindowHandle window_; gfx 39 ui/gl/gl_image_glx.h gfx::Size size_; gfx 13 ui/gl/gl_image_io_surface.cc GLImageIOSurface::GLImageIOSurface(gfx::Size size) gfx 20 ui/gl/gl_image_io_surface.cc bool GLImageIOSurface::Initialize(gfx::GpuMemoryBufferHandle buffer) { gfx 30 ui/gl/gl_image_io_surface.cc gfx::Size GLImageIOSurface::GetSize() { return size_; } gfx 13 ui/gl/gl_image_io_surface.h namespace gfx { gfx 17 ui/gl/gl_image_io_surface.h explicit GLImageIOSurface(gfx::Size size); gfx 19 ui/gl/gl_image_io_surface.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); gfx 23 ui/gl/gl_image_io_surface.h virtual gfx::Size GetSize() OVERRIDE; gfx 37 ui/gl/gl_image_io_surface.h gfx::Size size_; gfx 15 ui/gl/gl_image_mac.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { gfx 31 ui/gl/gl_image_mac.cc gfx::GpuMemoryBufferHandle buffer, gfx 32 ui/gl/gl_image_mac.cc gfx::Size size, gfx 14 ui/gl/gl_image_ozone.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { gfx 30 ui/gl/gl_image_ozone.cc gfx::GpuMemoryBufferHandle buffer, gfx 31 ui/gl/gl_image_ozone.cc gfx::Size size, gfx 70 ui/gl/gl_image_shm.cc GLImageShm::GLImageShm(gfx::Size size, unsigned internalformat) gfx 84 ui/gl/gl_image_shm.cc bool GLImageShm::Initialize(gfx::GpuMemoryBufferHandle buffer) { gfx 123 ui/gl/gl_image_shm.cc gfx::Size GLImageShm::GetSize() { return size_; } gfx 12 ui/gl/gl_image_shm.h namespace gfx { gfx 16 ui/gl/gl_image_shm.h GLImageShm(gfx::Size size, unsigned internalformat); gfx 18 ui/gl/gl_image_shm.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); gfx 22 ui/gl/gl_image_shm.h virtual gfx::Size GetSize() OVERRIDE; gfx 35 ui/gl/gl_image_shm.h gfx::Size size_; gfx 13 ui/gl/gl_image_stub.cc gfx::Size GLImageStub::GetSize() { return gfx::Size(1, 1); } gfx 10 ui/gl/gl_image_stub.h namespace gfx { gfx 19 ui/gl/gl_image_stub.h virtual gfx::Size GetSize() OVERRIDE; gfx 13 ui/gl/gl_image_surface_texture.cc GLImageSurfaceTexture::GLImageSurfaceTexture(gfx::Size size) gfx 18 ui/gl/gl_image_surface_texture.cc bool GLImageSurfaceTexture::Initialize(gfx::GpuMemoryBufferHandle buffer) { gfx 32 ui/gl/gl_image_surface_texture.cc gfx::Size GLImageSurfaceTexture::GetSize() { return size_; } gfx 12 ui/gl/gl_image_surface_texture.h namespace gfx { gfx 18 ui/gl/gl_image_surface_texture.h explicit GLImageSurfaceTexture(gfx::Size size); gfx 20 ui/gl/gl_image_surface_texture.h bool Initialize(gfx::GpuMemoryBufferHandle buffer); gfx 24 ui/gl/gl_image_surface_texture.h virtual gfx::Size GetSize() OVERRIDE; gfx 37 ui/gl/gl_image_surface_texture.h gfx::Size size_; gfx 14 ui/gl/gl_image_win.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { gfx 30 ui/gl/gl_image_win.cc gfx::GpuMemoryBufferHandle buffer, gfx 31 ui/gl/gl_image_win.cc gfx::Size size, gfx 15 ui/gl/gl_image_x11.cc scoped_refptr<GLImage> GLImage::CreateGLImage(gfx::PluginWindowHandle window) { gfx 38 ui/gl/gl_image_x11.cc gfx::GpuMemoryBufferHandle buffer, gfx 39 ui/gl/gl_image_x11.cc gfx::Size size, gfx 16 ui/gl/gl_implementation.h namespace gfx { gfx 80 ui/gl/gl_implementation_android.cc ::gfx::g_driver_gl.fn.glClearDepthFn = MarshalClearDepthToClearDepthf; gfx 81 ui/gl/gl_implementation_android.cc ::gfx::g_driver_gl.fn.glDepthRangeFn = MarshalDepthRangeToDepthRangef; gfx 11 ui/gl/gl_implementation_osmesa.h namespace gfx { gfx 47 ui/gl/gl_implementation_ozone.cc if (!gfx::SurfaceFactoryOzone::GetInstance()->LoadEGLGLES2Bindings( gfx 57 ui/gl/gl_implementation_ozone.cc ::gfx::g_driver_gl.fn.glClearDepthFn = MarshalClearDepthToClearDepthf; gfx 58 ui/gl/gl_implementation_ozone.cc ::gfx::g_driver_gl.fn.glDepthRangeFn = MarshalDepthRangeToDepthRangef; gfx 243 ui/gl/gl_implementation_win.cc ::gfx::g_driver_gl.fn.glClearDepthFn = MarshalClearDepthToClearDepthf; gfx 244 ui/gl/gl_implementation_win.cc ::gfx::g_driver_gl.fn.glDepthRangeFn = MarshalDepthRangeToDepthRangef; gfx 135 ui/gl/gl_implementation_x11.cc ::gfx::g_driver_gl.fn.glClearDepthFn = MarshalClearDepthToClearDepthf; gfx 136 ui/gl/gl_implementation_x11.cc ::gfx::g_driver_gl.fn.glDepthRangeFn = MarshalDepthRangeToDepthRangef; gfx 15 ui/gl/gl_mock.h namespace gfx { gfx 12 ui/gl/gl_osmesa_api_implementation.h namespace gfx { gfx 14 ui/gl/gl_share_group.h namespace gfx { gfx 11 ui/gl/gl_state_restorer.h namespace gfx { gfx 166 ui/gl/gl_surface.cc bool GLSurface::Resize(const gfx::Size& size) { gfx 263 ui/gl/gl_surface.cc bool GLSurfaceAdapter::Resize(const gfx::Size& size) { gfx 291 ui/gl/gl_surface.cc gfx::Size GLSurfaceAdapter::GetSize() { gfx 17 ui/gl/gl_surface.h namespace gfx { gfx 37 ui/gl/gl_surface.h virtual bool Resize(const gfx::Size& size); gfx 55 ui/gl/gl_surface.h virtual gfx::Size GetSize() = 0; gfx 107 ui/gl/gl_surface.h gfx::AcceleratedWidget window); gfx 111 ui/gl/gl_surface.h const gfx::Size& size); gfx 141 ui/gl/gl_surface.h virtual bool Resize(const gfx::Size& size) OVERRIDE; gfx 148 ui/gl/gl_surface.h virtual gfx::Size GetSize() OVERRIDE; gfx 34 ui/gl/gl_surface_android.cc gfx::AcceleratedWidget window) { gfx 57 ui/gl/gl_surface_android.cc const gfx::Size& size) { gfx 70 ui/gl/gl_surface_cgl.cc NoOpGLSurfaceCGL::NoOpGLSurfaceCGL(const gfx::Size& size) gfx 90 ui/gl/gl_surface_cgl.cc gfx::Size NoOpGLSurfaceCGL::GetSize() { gfx 11 ui/gl/gl_surface_cgl.h namespace gfx { gfx 34 ui/gl/gl_surface_cgl.h explicit NoOpGLSurfaceCGL(const gfx::Size& size); gfx 41 ui/gl/gl_surface_cgl.h virtual gfx::Size GetSize() OVERRIDE; gfx 49 ui/gl/gl_surface_cgl.h gfx::Size size_; gfx 62 ui/gl/gl_surface_egl.cc : public gfx::SyncControlVSyncProvider { gfx 328 ui/gl/gl_surface_egl.cc size_ = gfx::Rect(windowRect).size(); gfx 356 ui/gl/gl_surface_egl.cc if (gfx::g_driver_egl.ext.b_EGL_NV_post_sub_buffer) { gfx 492 ui/gl/gl_surface_egl.cc gfx::Size NativeViewGLSurfaceEGL::GetSize() { gfx 499 ui/gl/gl_surface_egl.cc return gfx::Size(); gfx 502 ui/gl/gl_surface_egl.cc return gfx::Size(width, height); gfx 505 ui/gl/gl_surface_egl.cc bool NativeViewGLSurfaceEGL::Resize(const gfx::Size& size) { gfx 575 ui/gl/gl_surface_egl.cc PbufferGLSurfaceEGL::PbufferGLSurfaceEGL(const gfx::Size& size) gfx 644 ui/gl/gl_surface_egl.cc gfx::Size PbufferGLSurfaceEGL::GetSize() { gfx 648 ui/gl/gl_surface_egl.cc bool PbufferGLSurfaceEGL::Resize(const gfx::Size& size) { gfx 680 ui/gl/gl_surface_egl.cc if (!gfx::g_driver_egl.ext.b_EGL_ANGLE_query_surface_pointer) gfx 683 ui/gl/gl_surface_egl.cc if (!gfx::g_driver_egl.ext.b_EGL_ANGLE_surface_d3d_texture_2d_share_handle) gfx 702 ui/gl/gl_surface_egl.cc SurfacelessEGL::SurfacelessEGL(const gfx::Size& size) gfx 726 ui/gl/gl_surface_egl.cc gfx::Size SurfacelessEGL::GetSize() { gfx 730 ui/gl/gl_surface_egl.cc bool SurfacelessEGL::Resize(const gfx::Size& size) { gfx 21 ui/gl/gl_surface_egl.h namespace gfx { gfx 62 ui/gl/gl_surface_egl.h virtual bool Resize(const gfx::Size& size) OVERRIDE; gfx 66 ui/gl/gl_surface_egl.h virtual gfx::Size GetSize() OVERRIDE; gfx 85 ui/gl/gl_surface_egl.h gfx::Size size_; gfx 95 ui/gl/gl_surface_egl.h explicit PbufferGLSurfaceEGL(const gfx::Size& size); gfx 103 ui/gl/gl_surface_egl.h virtual gfx::Size GetSize() OVERRIDE; gfx 104 ui/gl/gl_surface_egl.h virtual bool Resize(const gfx::Size& size) OVERRIDE; gfx 112 ui/gl/gl_surface_egl.h gfx::Size size_; gfx 123 ui/gl/gl_surface_egl.h explicit SurfacelessEGL(const gfx::Size& size); gfx 131 ui/gl/gl_surface_egl.h virtual gfx::Size GetSize() OVERRIDE; gfx 132 ui/gl/gl_surface_egl.h virtual bool Resize(const gfx::Size& size) OVERRIDE; gfx 140 ui/gl/gl_surface_egl.h gfx::Size size_; gfx 57 ui/gl/gl_surface_glx.cc : public gfx::SyncControlVSyncProvider { gfx 59 ui/gl/gl_surface_glx.cc explicit OMLSyncControlVSyncProvider(gfx::AcceleratedWidget window) gfx 229 ui/gl/gl_surface_glx.cc : public gfx::VSyncProvider, gfx 232 ui/gl/gl_surface_glx.cc explicit SGIVideoSyncVSyncProvider(gfx::AcceleratedWidget window) gfx 314 ui/gl/gl_surface_glx.cc void AddParentChildPair(gfx::AcceleratedWidget parent_window, gfx 315 ui/gl/gl_surface_glx.cc gfx::AcceleratedWidget child_window) { gfx 324 ui/gl/gl_surface_glx.cc void RemoveParentChildPair(gfx::AcceleratedWidget parent_window, gfx 325 ui/gl/gl_surface_glx.cc gfx::AcceleratedWidget child_window) { gfx 345 ui/gl/gl_surface_glx.cc gfx::AcceleratedWidget target_window = found->second; gfx 355 ui/gl/gl_surface_glx.cc typedef std::map<gfx::AcceleratedWidget, gfx::AcceleratedWidget> WindowMap; gfx 525 ui/gl/gl_surface_glx.cc NativeViewGLSurfaceGLX::NativeViewGLSurfaceGLX(gfx::AcceleratedWidget window) gfx 536 ui/gl/gl_surface_glx.cc gfx::AcceleratedWidget NativeViewGLSurfaceGLX::GetDrawableHandle() const { gfx 554 ui/gl/gl_surface_glx.cc size_ = gfx::Size(attributes.width, attributes.height); gfx 556 ui/gl/gl_surface_glx.cc gfx::AcceleratedWidget window_for_vsync = parent_window_; gfx 586 ui/gl/gl_surface_glx.cc bool NativeViewGLSurfaceGLX::Resize(const gfx::Size& size) { gfx 610 ui/gl/gl_surface_glx.cc gfx::Size NativeViewGLSurfaceGLX::GetSize() { gfx 619 ui/gl/gl_surface_glx.cc return gfx::g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer; gfx 685 ui/gl/gl_surface_glx.cc DCHECK(gfx::g_driver_glx.ext.b_GLX_MESA_copy_sub_buffer); gfx 709 ui/gl/gl_surface_glx.cc PbufferGLSurfaceGLX::PbufferGLSurfaceGLX(const gfx::Size& size) gfx 782 ui/gl/gl_surface_glx.cc gfx::Size PbufferGLSurfaceGLX::GetSize() { gfx 18 ui/gl/gl_surface_glx.h namespace gfx { gfx 53 ui/gl/gl_surface_glx.h explicit NativeViewGLSurfaceGLX(gfx::AcceleratedWidget window); gfx 58 ui/gl/gl_surface_glx.h virtual bool Resize(const gfx::Size& size) OVERRIDE; gfx 61 ui/gl/gl_surface_glx.h virtual gfx::Size GetSize() OVERRIDE; gfx 74 ui/gl/gl_surface_glx.h gfx::AcceleratedWidget GetDrawableHandle() const; gfx 77 ui/gl/gl_surface_glx.h gfx::AcceleratedWidget parent_window_; gfx 97 ui/gl/gl_surface_glx.h gfx::AcceleratedWidget child_window_; gfx 101 ui/gl/gl_surface_glx.h gfx::AcceleratedWidget dummy_window_; gfx 108 ui/gl/gl_surface_glx.h gfx::Size size_; gfx 118 ui/gl/gl_surface_glx.h explicit PbufferGLSurfaceGLX(const gfx::Size& size); gfx 125 ui/gl/gl_surface_glx.h virtual gfx::Size GetSize() OVERRIDE; gfx 133 ui/gl/gl_surface_glx.h gfx::Size size_; gfx 36 ui/gl/gl_surface_mac.cc gfx::AcceleratedWidget window) { gfx 56 ui/gl/gl_surface_mac.cc const gfx::Size& size) { gfx 12 ui/gl/gl_surface_nsview.h namespace gfx { gfx 27 ui/gl/gl_surface_nsview.h virtual gfx::Size GetSize() OVERRIDE; gfx 14 ui/gl/gl_surface_osmesa.cc GLSurfaceOSMesa::GLSurfaceOSMesa(unsigned format, const gfx::Size& size) gfx 27 ui/gl/gl_surface_osmesa.cc bool GLSurfaceOSMesa::Resize(const gfx::Size& new_size) { gfx 70 ui/gl/gl_surface_osmesa.cc gfx::Size GLSurfaceOSMesa::GetSize() { gfx 91 ui/gl/gl_surface_osmesa.cc : GLSurfaceOSMesa(OSMESA_BGRA, gfx::Size(1, 1)) {} gfx 12 ui/gl/gl_surface_osmesa.h namespace gfx { gfx 19 ui/gl/gl_surface_osmesa.h GLSurfaceOSMesa(unsigned format, const gfx::Size& size); gfx 24 ui/gl/gl_surface_osmesa.h virtual bool Resize(const gfx::Size& new_size) OVERRIDE; gfx 27 ui/gl/gl_surface_osmesa.h virtual gfx::Size GetSize() OVERRIDE; gfx 36 ui/gl/gl_surface_osmesa.h gfx::Size size_; gfx 45 ui/gl/gl_surface_ozone.cc if (gfx::SurfaceFactoryOzone::GetInstance()->InitializeHardware() != gfx 46 ui/gl/gl_surface_ozone.cc gfx::SurfaceFactoryOzone::INITIALIZED) { gfx 67 ui/gl/gl_surface_ozone.cc gfx::AcceleratedWidget window) { gfx 98 ui/gl/gl_surface_ozone.cc const gfx::Size& size) { gfx 20 ui/gl/gl_surface_stub.cc gfx::Size GLSurfaceStub::GetSize() { gfx 10 ui/gl/gl_surface_stub.h namespace gfx { gfx 15 ui/gl/gl_surface_stub.h void SetSize(const gfx::Size& size) { size_ = size; } gfx 21 ui/gl/gl_surface_stub.h virtual gfx::Size GetSize() OVERRIDE; gfx 28 ui/gl/gl_surface_stub.h gfx::Size size_; gfx 177 ui/gl/gl_surface_wgl.cc NativeViewGLSurfaceWGL::NativeViewGLSurfaceWGL(gfx::AcceleratedWidget window) gfx 273 ui/gl/gl_surface_wgl.cc gfx::Size NativeViewGLSurfaceWGL::GetSize() { gfx 277 ui/gl/gl_surface_wgl.cc return gfx::Size(rect.right - rect.left, rect.bottom - rect.top); gfx 284 ui/gl/gl_surface_wgl.cc PbufferGLSurfaceWGL::PbufferGLSurfaceWGL(const gfx::Size& size) gfx 297 ui/gl/gl_surface_wgl.cc if (!gfx::g_driver_wgl.fn.wglCreatePbufferARBFn) { gfx 346 ui/gl/gl_surface_wgl.cc gfx::Size PbufferGLSurfaceWGL::GetSize() { gfx 11 ui/gl/gl_surface_wgl.h namespace gfx { gfx 32 ui/gl/gl_surface_wgl.h explicit NativeViewGLSurfaceWGL(gfx::AcceleratedWidget window); gfx 40 ui/gl/gl_surface_wgl.h virtual gfx::Size GetSize(); gfx 44 ui/gl/gl_surface_wgl.h gfx::AcceleratedWidget window_; gfx 45 ui/gl/gl_surface_wgl.h gfx::AcceleratedWidget child_window_; gfx 55 ui/gl/gl_surface_wgl.h explicit PbufferGLSurfaceWGL(const gfx::Size& size); gfx 63 ui/gl/gl_surface_wgl.h virtual gfx::Size GetSize(); gfx 67 ui/gl/gl_surface_wgl.h gfx::Size size_; gfx 36 ui/gl/gl_surface_win.cc explicit NativeViewGLSurfaceOSMesa(gfx::AcceleratedWidget window); gfx 48 ui/gl/gl_surface_win.cc gfx::AcceleratedWidget window_; gfx 73 ui/gl/gl_surface_win.cc if (gfx::FrameTime::TimestampsAreHighRes()) { gfx 74 ui/gl/gl_surface_win.cc timebase = gfx::FrameTime::FromQPCValue( gfx 114 ui/gl/gl_surface_win.cc gfx::AcceleratedWidget window) gfx 115 ui/gl/gl_surface_win.cc : GLSurfaceOSMesa(OSMESA_RGBA, gfx::Size(1, 1)), gfx 149 ui/gl/gl_surface_win.cc gfx::Size size = GetSize(); gfx 190 ui/gl/gl_surface_win.cc gfx::Size size = GetSize(); gfx 224 ui/gl/gl_surface_win.cc gfx::AcceleratedWidget window) { gfx 236 ui/gl/gl_surface_win.cc DCHECK(window != gfx::kNullAcceleratedWidget); gfx 264 ui/gl/gl_surface_win.cc const gfx::Size& size) { gfx 26 ui/gl/gl_surface_x11.cc explicit NativeViewGLSurfaceOSMesa(gfx::AcceleratedWidget window); gfx 33 ui/gl/gl_surface_x11.cc virtual bool Resize(const gfx::Size& new_size) OVERRIDE; gfx 45 ui/gl/gl_surface_x11.cc gfx::AcceleratedWidget window_; gfx 80 ui/gl/gl_surface_x11.cc gfx::AcceleratedWidget window) gfx 81 ui/gl/gl_surface_x11.cc : GLSurfaceOSMesa(OSMESA_BGRA, gfx::Size(1, 1)), gfx 139 ui/gl/gl_surface_x11.cc bool NativeViewGLSurfaceOSMesa::Resize(const gfx::Size& new_size) { gfx 189 ui/gl/gl_surface_x11.cc gfx::Size size = GetSize(); gfx 198 ui/gl/gl_surface_x11.cc gfx::PutARGBImage(xdisplay_, gfx 228 ui/gl/gl_surface_x11.cc gfx::Size size = GetSize(); gfx 240 ui/gl/gl_surface_x11.cc gfx::PutARGBImage(xdisplay_, gfx 275 ui/gl/gl_surface_x11.cc gfx::AcceleratedWidget window) { gfx 294 ui/gl/gl_surface_x11.cc DCHECK(window != gfx::kNullAcceleratedWidget); gfx 310 ui/gl/gl_surface_x11.cc const gfx::Size& size) { gfx 12 ui/gl/gl_switches.h namespace gfx { gfx 11 ui/gl/gl_version_info.h namespace gfx { gfx 12 ui/gl/gl_wgl_api_implementation.h namespace gfx { gfx 8 ui/gl/gpu_preference.h namespace gfx { gfx 24 ui/gl/gpu_switching_manager.cc : gpu_switching_option_(gfx::PreferIntegratedGpu), gfx 44 ui/gl/gpu_switching_manager.cc DCHECK_EQ(gpu_switching_option_, gfx::PreferIntegratedGpu); gfx 46 ui/gl/gpu_switching_manager.cc gpu_switching_option_ = gfx::PreferIntegratedGpu; gfx 54 ui/gl/gpu_switching_manager.cc DCHECK_EQ(gpu_switching_option_, gfx::PreferDiscreteGpu); gfx 56 ui/gl/gpu_switching_manager.cc gpu_switching_option_ = gfx::PreferDiscreteGpu; gfx 88 ui/gl/gpu_switching_manager.cc gfx::kGLImplementationDesktopName) gfx 105 ui/gl/gpu_switching_manager.cc gfx::GpuPreference GpuSwitchingManager::AdjustGpuPreference( gfx 106 ui/gl/gpu_switching_manager.cc gfx::GpuPreference gpu_preference) { gfx 33 ui/gl/gpu_switching_manager.h gfx::GpuPreference AdjustGpuPreference(gfx::GpuPreference gpu_preference); gfx 55 ui/gl/gpu_switching_manager.h gfx::GpuPreference gpu_switching_option_; gfx 11 ui/gl/scoped_binders.h namespace gfx { gfx 37 ui/gl/scoped_cgl.h namespace gfx { gfx 13 ui/gl/scoped_make_current.cc ScopedMakeCurrent::ScopedMakeCurrent(gfx::GLContext* context, gfx 14 ui/gl/scoped_make_current.cc gfx::GLSurface* surface) gfx 15 ui/gl/scoped_make_current.cc : previous_context_(gfx::GLContext::GetCurrent()), gfx 16 ui/gl/scoped_make_current.cc previous_surface_(gfx::GLSurface::GetCurrent()), gfx 12 ui/gl/scoped_make_current.h namespace gfx { gfx 21 ui/gl/scoped_make_current.h ScopedMakeCurrent(gfx::GLContext* context, gfx::GLSurface* surface); gfx 27 ui/gl/scoped_make_current.h scoped_refptr<gfx::GLContext> previous_context_; gfx 28 ui/gl/scoped_make_current.h scoped_refptr<gfx::GLSurface> previous_surface_; gfx 29 ui/gl/scoped_make_current.h scoped_refptr<gfx::GLContext> context_; gfx 30 ui/gl/scoped_make_current.h scoped_refptr<gfx::GLSurface> surface_; gfx 12 ui/gl/sync_control_vsync_provider.h namespace gfx { gfx 57 ui/keyboard/keyboard_controller.cc gfx::Path* mask) const OVERRIDE { gfx 58 ui/keyboard/keyboard_controller.cc gfx::Rect keyboard_bounds = proxy_ ? proxy_->GetKeyboardWindow()->bounds() : gfx 81 ui/keyboard/keyboard_controller.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { return gfx::Size(); } gfx 82 ui/keyboard/keyboard_controller.cc virtual gfx::Size GetMaximumSize() const OVERRIDE { return gfx::Size(); } gfx 83 ui/keyboard/keyboard_controller.cc virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 84 ui/keyboard/keyboard_controller.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 87 ui/keyboard/keyboard_controller.cc virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE { gfx 88 ui/keyboard/keyboard_controller.cc return gfx::kNullCursor; gfx 90 ui/keyboard/keyboard_controller.cc virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE { gfx 95 ui/keyboard/keyboard_controller.cc const gfx::Point& location) OVERRIDE { gfx 100 ui/keyboard/keyboard_controller.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE {} gfx 106 ui/keyboard/keyboard_controller.cc virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE { gfx 107 ui/keyboard/keyboard_controller.cc gfx::Rect keyboard_bounds = proxy_ ? proxy_->GetKeyboardWindow()->bounds() : gfx 112 ui/keyboard/keyboard_controller.cc gfx::Rect bounds_; gfx 216 ui/keyboard/keyboard_controller.cc const gfx::Rect& new_bounds) { gfx 233 ui/keyboard/keyboard_controller.cc NotifyKeyboardBoundsChanging(gfx::Rect()); gfx 245 ui/keyboard/keyboard_controller.cc settings.SetTweenType(gfx::Tween::EASE_OUT); gfx 248 ui/keyboard/keyboard_controller.cc gfx::Transform transform; gfx 373 ui/keyboard/keyboard_controller.cc gfx::Transform transform; gfx 393 ui/keyboard/keyboard_controller.cc settings.SetTweenType(gfx::Tween::EASE_IN); gfx 396 ui/keyboard/keyboard_controller.cc container_->SetTransform(gfx::Transform()); gfx 21 ui/keyboard/keyboard_controller.h namespace gfx { gfx 71 ui/keyboard/keyboard_controller.h void NotifyKeyboardBoundsChanging(const gfx::Rect& new_bounds); gfx 10 ui/keyboard/keyboard_controller_observer.h namespace gfx { gfx 21 ui/keyboard/keyboard_controller_observer.h virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) = 0; gfx 51 ui/keyboard/keyboard_controller_proxy.cc const gfx::Rect& pos) OVERRIDE { gfx 53 ui/keyboard/keyboard_controller_proxy.cc gfx::Rect bounds = keyboard->bounds(); gfx 21 ui/keyboard/keyboard_controller_proxy.h namespace gfx { gfx 41 ui/keyboard/keyboard_controller_unittest.cc gfx::AnimationContainerElement* element = layer->GetAnimator(); gfx 83 ui/keyboard/keyboard_controller_unittest.cc gfx::kNullAcceleratedWidget)) { gfx 217 ui/keyboard/keyboard_controller_unittest.cc gfx::Rect bounds(0, 0, 100, 100); gfx 220 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& before_bounds = proxy()->GetKeyboardWindow()->bounds(); gfx 221 ui/keyboard/keyboard_controller_unittest.cc gfx::Rect new_bounds( gfx 232 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& root_bounds = root_window()->bounds(); gfx 269 ui/keyboard/keyboard_controller_unittest.cc generator.MoveMouseTo(gfx::Point()); gfx 276 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& root_bounds = root_window()->bounds(); gfx 302 ui/keyboard/keyboard_controller_unittest.cc gfx::Point location = keyboard_window->bounds().CenterPoint(); gfx 315 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& root_bounds = root_window()->bounds(); gfx 356 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& root_bounds = root_window()->bounds(); gfx 399 ui/keyboard/keyboard_controller_unittest.cc keyboard_container->SetBounds(gfx::Rect(800, 600)); gfx 405 ui/keyboard/keyboard_controller_unittest.cc keyboard_window->SetBounds(gfx::Rect(100, 80)); gfx 410 ui/keyboard/keyboard_controller_unittest.cc keyboard_window->SetBounds(gfx::Rect(100, 80)); gfx 414 ui/keyboard/keyboard_controller_unittest.cc keyboard_container->SetBounds(gfx::Rect(400, 300)); gfx 419 ui/keyboard/keyboard_controller_unittest.cc keyboard_container->SetBounds(gfx::Rect(800, 600)); gfx 436 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& root_bounds = root_window()->bounds(); gfx 449 ui/keyboard/keyboard_controller_unittest.cc virtual void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) OVERRIDE { gfx 453 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& notified_bounds() { return notified_bounds_; } gfx 464 ui/keyboard/keyboard_controller_unittest.cc gfx::Rect notified_bounds_; gfx 479 ui/keyboard/keyboard_controller_unittest.cc gfx::Transform transform; gfx 482 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(gfx::Rect(), notified_bounds()); gfx 489 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); gfx 502 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(gfx::Rect(), notified_bounds()); gfx 511 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(gfx::Rect(), notified_bounds()); gfx 529 ui/keyboard/keyboard_controller_unittest.cc EXPECT_EQ(gfx::Transform(), layer->transform()); gfx 548 ui/keyboard/keyboard_controller_unittest.cc const gfx::Rect& root_bounds = root_window()->bounds(); gfx 26 ui/keyboard/keyboard_layout_manager.cc const gfx::Rect& requested_bounds) { gfx 38 ui/keyboard/keyboard_layout_manager.cc gfx::Rect keyboard_bounds = DefaultKeyboardBoundsFromWindowBounds( gfx 32 ui/keyboard/keyboard_layout_manager.h const gfx::Rect& requested_bounds) OVERRIDE; gfx 72 ui/keyboard/keyboard_util.cc gfx::Rect DefaultKeyboardBoundsFromWindowBounds( gfx 73 ui/keyboard/keyboard_util.cc const gfx::Rect& window_bounds) { gfx 75 ui/keyboard/keyboard_util.cc return gfx::Rect( gfx 42 ui/keyboard/keyboard_util.h KEYBOARD_EXPORT gfx::Rect DefaultKeyboardBoundsFromWindowBounds( gfx 43 ui/keyboard/keyboard_util.h const gfx::Rect& window_bounds); gfx 24 ui/keyboard/test/run_all_unittests.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 30 ui/message_center/cocoa/settings_controller.h const gfx::Image& icon) OVERRIDE; gfx 81 ui/message_center/fake_message_center.cc const gfx::Image& image) { gfx 85 ui/message_center/fake_message_center.cc const gfx::Image& image) { gfx 91 ui/message_center/fake_message_center.cc const gfx::Image& image) { gfx 44 ui/message_center/fake_message_center.h const gfx::Image& image) OVERRIDE; gfx 47 ui/message_center/fake_message_center.h const gfx::Image& image) OVERRIDE; gfx 51 ui/message_center/fake_message_center.h const gfx::Image& image) OVERRIDE; gfx 29 ui/message_center/fake_notifier_settings_provider.cc item.group = new NotifierGroup(gfx::Image(), gfx 94 ui/message_center/message_center.h const gfx::Image& image) = 0; gfx 99 ui/message_center/message_center.h const gfx::Image& image) = 0; gfx 104 ui/message_center/message_center.h const gfx::Image& image) = 0; gfx 695 ui/message_center/message_center_impl.cc const gfx::Image& image) { gfx 714 ui/message_center/message_center_impl.cc const gfx::Image& image) { gfx 734 ui/message_center/message_center_impl.cc const gfx::Image& image) { gfx 167 ui/message_center/message_center_impl.h const gfx::Image& image) OVERRIDE; gfx 169 ui/message_center/message_center_impl.h const gfx::Image& image) OVERRIDE; gfx 172 ui/message_center/message_center_impl.h const gfx::Image& image) OVERRIDE; gfx 62 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 333 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 343 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 389 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 404 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 433 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 443 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 462 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 472 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 505 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 515 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 534 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 544 ui/message_center/message_center_impl_unittest.cc gfx::Image() /* icon */, gfx 678 ui/message_center/message_center_impl_unittest.cc gfx::Size original_size(0, 0); gfx 701 ui/message_center/message_center_impl_unittest.cc gfx::Size new_size(16, 16); gfx 704 ui/message_center/message_center_impl_unittest.cc gfx::Canvas canvas(new_size, 1.0f, true); gfx 706 ui/message_center/message_center_impl_unittest.cc gfx::Image testImage(gfx::Image(gfx::ImageSkia(canvas.ExtractImageRep()))); gfx 29 ui/message_center/message_center_style.cc gfx::Size GetImageSizeForContainerSize(const gfx::Size& container_size, gfx 30 ui/message_center/message_center_style.cc const gfx::Size& image_size) { gfx 32 ui/message_center/message_center_style.cc return gfx::Size(); gfx 34 ui/message_center/message_center_style.cc gfx::Size scaled_size = image_size; gfx 86 ui/message_center/message_center_style.h gfx::Size GetImageSizeForContainerSize(const gfx::Size& container_size, gfx 87 ui/message_center/message_center_style.h const gfx::Size& image_size); gfx 86 ui/message_center/message_center_tray_unittest.cc gfx::Image(), gfx 191 ui/message_center/message_center_tray_unittest.cc gfx::Image(), gfx 266 ui/message_center/message_center_tray_unittest.cc gfx::Image(), gfx 55 ui/message_center/notification.cc const gfx::Image& icon, gfx 118 ui/message_center/notification.cc void Notification::SetButtonIcon(size_t index, const gfx::Image& icon) { gfx 134 ui/message_center/notification.cc const gfx::Image& icon, gfx 31 ui/message_center/notification.h gfx::Image icon; gfx 46 ui/message_center/notification.h gfx::Image image; gfx 47 ui/message_center/notification.h gfx::Image small_image; gfx 61 ui/message_center/notification.h const gfx::Image& icon, gfx 123 ui/message_center/notification.h const gfx::Image& icon() const { return icon_; } gfx 124 ui/message_center/notification.h void set_icon(const gfx::Image& icon) { icon_ = icon; } gfx 126 ui/message_center/notification.h const gfx::Image& image() const { return optional_fields_.image; } gfx 127 ui/message_center/notification.h void set_image(const gfx::Image& image) { optional_fields_.image = image; } gfx 129 ui/message_center/notification.h const gfx::Image& small_image() const { return optional_fields_.small_image; } gfx 130 ui/message_center/notification.h void set_small_image(const gfx::Image& image) { gfx 141 ui/message_center/notification.h void SetButtonIcon(size_t index, const gfx::Image& icon); gfx 193 ui/message_center/notification.h const gfx::Image& icon, gfx 206 ui/message_center/notification.h gfx::Image icon_; gfx 134 ui/message_center/notification_list.cc const gfx::Image& image) { gfx 143 ui/message_center/notification_list.cc const gfx::Image& image) { gfx 153 ui/message_center/notification_list.cc const gfx::Image& image) { gfx 74 ui/message_center/notification_list.h const gfx::Image& image); gfx 78 ui/message_center/notification_list.h const gfx::Image& image); gfx 83 ui/message_center/notification_list.h const gfx::Image& image); gfx 60 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 193 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 217 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 227 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 237 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 247 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 257 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 267 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 426 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 457 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 472 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 487 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 504 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 521 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 628 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 674 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 709 ui/message_center/notification_list_unittest.cc gfx::Image(), gfx 64 ui/message_center/notifier_settings.cc NotifierGroup::NotifierGroup(const gfx::Image& icon, gfx 35 ui/message_center/notifier_settings.h gfx::NativeView context); gfx 102 ui/message_center/notifier_settings.h gfx::Image icon; gfx 109 ui/message_center/notifier_settings.h NotifierGroup(const gfx::Image& icon, gfx 116 ui/message_center/notifier_settings.h const gfx::Image icon; gfx 138 ui/message_center/notifier_settings.h const gfx::Image& icon) = 0; gfx 27 ui/message_center/test/run_all_unittests.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 43 ui/message_center/views/bounded_label.cc gfx::Size GetSizeForWidthAndLines(int width, int lines); gfx 48 ui/message_center/views/bounded_label.cc virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 49 ui/message_center/views/bounded_label.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 57 ui/message_center/views/bounded_label.cc gfx::Size GetCachedSize(const std::pair<int, int>& width_and_lines); gfx 58 ui/message_center/views/bounded_label.cc void SetCachedSize(std::pair<int, int> width_and_lines, gfx::Size size); gfx 66 ui/message_center/views/bounded_label.cc std::map<std::pair<int, int>, gfx::Size> size_cache_; gfx 78 ui/message_center/views/bounded_label.cc SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 102 ui/message_center/views/bounded_label.cc gfx::Size InnerBoundedLabel::GetSizeForWidthAndLines(int width, int lines) { gfx 104 ui/message_center/views/bounded_label.cc return gfx::Size(); gfx 106 ui/message_center/views/bounded_label.cc gfx::Size size = GetCachedSize(key); gfx 108 ui/message_center/views/bounded_label.cc gfx::Insets insets = owner_->GetInsets(); gfx 113 ui/message_center/views/bounded_label.cc gfx::Canvas::SizeStringInt(JoinString(wrapped, '\n'), font_list(), gfx 145 ui/message_center/views/bounded_label.cc 2 * gfx::GetStringWidth(base::UTF8ToUTF16("W"), gfx 150 ui/message_center/views/bounded_label.cc gfx::ElideRectangleText(text(), font_list(), gfx 152 ui/message_center/views/bounded_label.cc height, gfx::WRAP_LONG_WORDS, &wrapped); gfx 160 ui/message_center/views/bounded_label.cc wrapped[lines - 1] + base::UTF8ToUTF16(gfx::kEllipsis); gfx 161 ui/message_center/views/bounded_label.cc if (width > 0 && gfx::GetStringWidth(last, font_list()) > width) gfx 162 ui/message_center/views/bounded_label.cc last = gfx::ElideText(last, font_list(), width, gfx::ELIDE_AT_END); gfx 170 ui/message_center/views/bounded_label.cc void InnerBoundedLabel::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 175 ui/message_center/views/bounded_label.cc void InnerBoundedLabel::OnPaint(gfx::Canvas* canvas) { gfx 181 ui/message_center/views/bounded_label.cc gfx::Rect bounds(width(), height); gfx 194 ui/message_center/views/bounded_label.cc int flags = gfx::Canvas::MULTI_LINE | gfx::Canvas::CHARACTER_BREAK; gfx 198 ui/message_center/views/bounded_label.cc flags |= gfx::Canvas::NO_SUBPIXEL_RENDERING; gfx 205 ui/message_center/views/bounded_label.cc flags |= gfx::Canvas::FORCE_RTL_DIRECTIONALITY; gfx 207 ui/message_center/views/bounded_label.cc flags |= gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 242 ui/message_center/views/bounded_label.cc gfx::Size InnerBoundedLabel::GetCachedSize( gfx 244 ui/message_center/views/bounded_label.cc gfx::Size size(width_and_lines.first, std::numeric_limits<int>::max()); gfx 245 ui/message_center/views/bounded_label.cc std::map<std::pair<int, int>, gfx::Size>::const_iterator found; gfx 255 ui/message_center/views/bounded_label.cc gfx::Size size) { gfx 267 ui/message_center/views/bounded_label.cc const gfx::FontList& font_list) gfx 308 ui/message_center/views/bounded_label.cc gfx::Size BoundedLabel::GetSizeForWidthAndLines(int width, int lines) { gfx 310 ui/message_center/views/bounded_label.cc label_->GetSizeForWidthAndLines(width, lines) : gfx::Size(); gfx 317 ui/message_center/views/bounded_label.cc gfx::Size BoundedLabel::GetPreferredSize() { gfx 318 ui/message_center/views/bounded_label.cc return visible() ? label_->GetSizeForWidthAndLines(-1, -1) : gfx::Size(); gfx 326 ui/message_center/views/bounded_label.cc void BoundedLabel::Paint(gfx::Canvas* canvas) { gfx 331 ui/message_center/views/bounded_label.cc bool BoundedLabel::HitTestRect(const gfx::Rect& rect) const { gfx 339 ui/message_center/views/bounded_label.cc void BoundedLabel::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 16 ui/message_center/views/bounded_label.h namespace gfx { gfx 36 ui/message_center/views/bounded_label.h BoundedLabel(const base::string16& text, const gfx::FontList& font_list); gfx 49 ui/message_center/views/bounded_label.h gfx::Size GetSizeForWidthAndLines(int width, int lines); gfx 53 ui/message_center/views/bounded_label.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 55 ui/message_center/views/bounded_label.h virtual void Paint(gfx::Canvas* canvas) OVERRIDE; gfx 56 ui/message_center/views/bounded_label.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 61 ui/message_center/views/bounded_label.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 26 ui/message_center/views/bounded_label_unittest.cc digit_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("0"), font_list_); gfx 27 ui/message_center/views/bounded_label_unittest.cc space_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16(" "), font_list_); gfx 28 ui/message_center/views/bounded_label_unittest.cc ellipsis_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("\xE2\x80\xA6"), gfx 83 ui/message_center/views/bounded_label_unittest.cc gfx::FontList font_list_; gfx 49 ui/message_center/views/message_center_button_bar.cc void set_size(gfx::Size size) { size_ = size; } gfx 53 ui/message_center/views/message_center_button_bar.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 56 ui/message_center/views/message_center_button_bar.cc gfx::Size size_; gfx 82 ui/message_center/views/message_center_button_bar.cc gfx::Insets(1, 2, 2, 2))); gfx 85 ui/message_center/views/message_center_button_bar.cc gfx::Size NotificationCenterButton::GetPreferredSize() { return size_; } gfx 113 ui/message_center/views/message_center_button_bar.cc title_arrow_->set_size(gfx::Size(kChevronWidth, kButtonSize)); gfx 122 ui/message_center/views/message_center_button_bar.cc notification_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 175 ui/message_center/views/message_center_button_bar.cc gfx::ImageSkia* settings_image = gfx 65 ui/message_center/views/message_center_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 91 ui/message_center/views/message_center_view.cc gfx::Size NoNotificationMessageView::GetPreferredSize() { gfx 92 ui/message_center/views/message_center_view.cc return gfx::Size(kMinScrollViewHeight, label_->GetPreferredSize().width()); gfx 118 ui/message_center/views/message_center_view.cc void SetRepositionTarget(const gfx::Rect& target_rect); gfx 120 ui/message_center/views/message_center_view.cc void ClearAllNotifications(const gfx::Rect& visible_scroll_rect); gfx 125 ui/message_center/views/message_center_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 127 ui/message_center/views/message_center_view.cc virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 191 ui/message_center/views/message_center_view.cc gfx::Insets shadow_insets = MessageView::GetShadowInsets(); gfx 210 ui/message_center/views/message_center_view.cc gfx::Rect child_area = GetContentsBounds(); gfx 271 ui/message_center/views/message_center_view.cc gfx::Rect old_bounds = view->bounds(); gfx 285 ui/message_center/views/message_center_view.cc gfx::Size MessageListView::GetPreferredSize() { gfx 293 ui/message_center/views/message_center_view.cc return gfx::Size(width + GetInsets().width(), gfx 315 ui/message_center/views/message_center_view.cc void MessageListView::PaintChildren(gfx::Canvas* canvas) { gfx 333 ui/message_center/views/message_center_view.cc void MessageListView::SetRepositionTarget(const gfx::Rect& target) { gfx 357 ui/message_center/views/message_center_view.cc const gfx::Rect& visible_scroll_rect) { gfx 362 ui/message_center/views/message_center_view.cc if (gfx::IntersectRects(child->bounds(), visible_scroll_rect).IsEmpty()) gfx 374 ui/message_center/views/message_center_view.cc const gfx::SlideAnimation* animation = animator->GetAnimationForView(*iter); gfx 406 ui/message_center/views/message_center_view.cc gfx::Rect child_area = GetContentsBounds(); gfx 490 ui/message_center/views/message_center_view.cc gfx::Rect child_area = GetContentsBounds(); gfx 494 ui/message_center/views/message_center_view.cc child, gfx::Rect(child_area.x(), top, child_area.width(), height)); gfx 502 ui/message_center/views/message_center_view.cc gfx::Rect target(child_area.x(), top, child_area.width(), height); gfx 520 ui/message_center/views/message_center_view.cc gfx::Rect new_bounds = child->bounds(); gfx 652 ui/message_center/views/message_center_view.cc gfx::MultiAnimation::Parts parts; gfx 654 ui/message_center/views/message_center_view.cc parts.push_back(gfx::MultiAnimation::Part( gfx 656 ui/message_center/views/message_center_view.cc gfx::Tween::EASE_OUT)); gfx 659 ui/message_center/views/message_center_view.cc parts.push_back(gfx::MultiAnimation::Part( gfx 660 ui/message_center/views/message_center_view.cc kDefaultAnimationDurationMs, gfx::Tween::LINEAR)); gfx 662 ui/message_center/views/message_center_view.cc parts.push_back(gfx::MultiAnimation::Part()); gfx 666 ui/message_center/views/message_center_view.cc parts.push_back(gfx::MultiAnimation::Part( gfx 667 ui/message_center/views/message_center_view.cc kDefaultAnimationDurationMs, gfx::Tween::LINEAR)); gfx 671 ui/message_center/views/message_center_view.cc parts.push_back(gfx::MultiAnimation::Part()); gfx 673 ui/message_center/views/message_center_view.cc settings_transition_animation_.reset(new gfx::MultiAnimation( gfx 768 ui/message_center/views/message_center_view.cc gfx::Size MessageCenterView::GetPreferredSize() { gfx 775 ui/message_center/views/message_center_view.cc return gfx::Size(width, GetHeightForWidth(width)); gfx 784 ui/message_center/views/message_center_view.cc return gfx::Size(width, GetHeightForWidth(width)); gfx 930 ui/message_center/views/message_center_view.cc void MessageCenterView::AnimationEnded(const gfx::Animation* animation) { gfx 949 ui/message_center/views/message_center_view.cc void MessageCenterView::AnimationProgressed(const gfx::Animation* animation) { gfx 965 ui/message_center/views/message_center_view.cc void MessageCenterView::AnimationCanceled(const gfx::Animation* animation) { gfx 18 ui/message_center/views/message_center_view.h namespace gfx { gfx 45 ui/message_center/views/message_center_view.h public gfx::AnimationDelegate { gfx 70 ui/message_center/views/message_center_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 93 ui/message_center/views/message_center_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 94 ui/message_center/views/message_center_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 95 ui/message_center/views/message_center_view.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 125 ui/message_center/views/message_center_view.h scoped_ptr<gfx::MultiAnimation> settings_transition_animation_; gfx 43 ui/message_center/views/message_center_view_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 63 ui/message_center/views/message_center_view_unittest.cc gfx::Size MockNotificationView::GetPreferredSize() { gfx 136 ui/message_center/views/message_center_view_unittest.cc gfx::Image(), gfx 217 ui/message_center/views/message_center_view_unittest.cc gfx::Rect bounds = view->bounds(); gfx 61 ui/message_center/views/message_popup_collection.cc MessagePopupCollection::MessagePopupCollection(gfx::NativeView parent, gfx 68 ui/message_center/views/message_popup_collection.cc display_id_(gfx::Display::kInvalidDisplayID), gfx 166 ui/message_center/views/message_popup_collection.cc gfx::Size preferred_size = toast->GetPreferredSize(); gfx 167 ui/message_center/views/message_popup_collection.cc gfx::Point origin(GetToastOriginX(gfx::Rect(preferred_size)), base); gfx 256 ui/message_center/views/message_popup_collection.cc int MessagePopupCollection::GetToastOriginX(const gfx::Rect& toast_bounds) gfx 276 ui/message_center/views/message_popup_collection.cc gfx::Rect bounds((*curr)->bounds()); gfx 325 ui/message_center/views/message_popup_collection.cc gfx::Rect bounds((*iter)->bounds()); gfx 340 ui/message_center/views/message_popup_collection.cc void MessagePopupCollection::ComputePopupAlignment(gfx::Rect work_area, gfx 341 ui/message_center/views/message_popup_collection.cc gfx::Rect screen_bounds) { gfx 510 ui/message_center/views/message_popup_collection.cc gfx::Display display; gfx 515 ui/message_center/views/message_popup_collection.cc screen_ = gfx::Screen::GetNativeScreen(); gfx 518 ui/message_center/views/message_popup_collection.cc screen_ = gfx::Screen::GetScreenFor(parent_); gfx 552 ui/message_center/views/message_popup_collection.cc void MessagePopupCollection::SetDisplayInfo(const gfx::Rect& work_area, gfx 553 ui/message_center/views/message_popup_collection.cc const gfx::Rect& screen_bounds) { gfx 563 ui/message_center/views/message_popup_collection.cc const gfx::Display& display) { gfx 570 ui/message_center/views/message_popup_collection.cc void MessagePopupCollection::OnDisplayAdded(const gfx::Display& new_display) { gfx 573 ui/message_center/views/message_popup_collection.cc void MessagePopupCollection::OnDisplayRemoved(const gfx::Display& old_display) { gfx 575 ui/message_center/views/message_popup_collection.cc gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 600 ui/message_center/views/message_popup_collection.cc gfx::Rect MessagePopupCollection::GetToastRectAt(size_t index) const { gfx 612 ui/message_center/views/message_popup_collection.cc return gfx::Rect(); gfx 38 ui/message_center/views/message_popup_collection.h namespace gfx { gfx 66 ui/message_center/views/message_popup_collection.h public gfx::DisplayObserver { gfx 72 ui/message_center/views/message_popup_collection.h MessagePopupCollection(gfx::NativeView parent, gfx 119 ui/message_center/views/message_popup_collection.h void SetDisplayInfo(const gfx::Rect& work_area, gfx 120 ui/message_center/views/message_popup_collection.h const gfx::Rect& screen_bounds); gfx 123 ui/message_center/views/message_popup_collection.h virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; gfx 124 ui/message_center/views/message_popup_collection.h virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; gfx 125 ui/message_center/views/message_popup_collection.h virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; gfx 128 ui/message_center/views/message_popup_collection.h gfx::NativeView parent() const { return parent_; } gfx 144 ui/message_center/views/message_popup_collection.h int GetToastOriginX(const gfx::Rect& toast_bounds) const; gfx 158 ui/message_center/views/message_popup_collection.h void ComputePopupAlignment(gfx::Rect work_area, gfx::Rect screen_bounds); gfx 183 ui/message_center/views/message_popup_collection.h gfx::Rect GetToastRectAt(size_t index) const; gfx 185 ui/message_center/views/message_popup_collection.h gfx::NativeView parent_; gfx 189 ui/message_center/views/message_popup_collection.h gfx::Rect work_area_; gfx 191 ui/message_center/views/message_popup_collection.h gfx::Screen* screen_; gfx 37 ui/message_center/views/message_popup_collection_unittest.cc collection_->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), gfx 38 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Simulate a gfx 71 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect GetWorkArea() { gfx 92 ui/message_center/views/message_popup_collection_unittest.cc gfx::Image(), gfx 115 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect GetToastRectAt(size_t index) { gfx 169 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r0 = GetToastRectAt(0); gfx 170 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r1 = GetToastRectAt(1); gfx 171 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r2 = GetToastRectAt(2); gfx 172 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r3 = GetToastRectAt(3); gfx 204 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 0, 590, 400), // Work-area. gfx 205 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 210 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r0 = GetToastRectAt(0); gfx 211 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r1 = GetToastRectAt(1); gfx 226 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. gfx 227 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 232 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 10, 600, 390), // Work-area. gfx 233 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 238 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r0 = GetToastRectAt(0); gfx 239 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r1 = GetToastRectAt(1); gfx 254 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. gfx 255 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 263 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(10, 10, 590, 390), // Work-area. gfx 264 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 269 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r0 = GetToastRectAt(0); gfx 270 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r1 = GetToastRectAt(1); gfx 285 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. gfx 286 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 294 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 10, 580, 400), // Work-area. gfx 295 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 300 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r0 = GetToastRectAt(0); gfx 301 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r1 = GetToastRectAt(1); gfx 316 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. gfx 317 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 322 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(10, 0, 590, 400), // Work-area. gfx 323 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 328 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r0 = GetToastRectAt(0); gfx 329 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect r1 = GetToastRectAt(1); gfx 347 ui/message_center/views/message_popup_collection_unittest.cc collection()->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), // Work-area. gfx 348 ui/message_center/views/message_popup_collection_unittest.cc gfx::Rect(0, 0, 600, 400)); // Display-bounds. gfx 361 ui/message_center/views/message_popup_collection_unittest.cc ui::MouseEvent event(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), 0, 0); gfx 396 ui/message_center/views/message_popup_collection_unittest.cc ui::MouseEvent event(ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), 0, 0); gfx 42 ui/message_center/views/message_view.cc const gfx::ImageSkia& small_image, gfx 60 ui/message_center/views/message_view.cc small_image_view->SetImageSize(gfx::Size(kSmallImageSize, kSmallImageSize)); gfx 81 ui/message_center/views/message_view.cc gfx::Insets(0, 1, 3, 2)).Pass(); gfx 88 ui/message_center/views/message_view.cc gfx::Insets MessageView::GetShadowInsets() { gfx 89 ui/message_center/views/message_view.cc return gfx::Insets(kShadowBlur / 2 - kShadowOffset, gfx 151 ui/message_center/views/message_view.cc void MessageView::OnPaint(gfx::Canvas* canvas) { gfx 171 ui/message_center/views/message_view.cc gfx::Rect content_bounds = GetContentsBounds(); gfx 177 ui/message_center/views/message_view.cc gfx::Size close_size(close_button_->GetPreferredSize()); gfx 178 ui/message_center/views/message_view.cc gfx::Rect close_rect(content_bounds.right() - close_size.width(), gfx 184 ui/message_center/views/message_view.cc gfx::Size small_image_size(small_image_view_->GetPreferredSize()); gfx 185 ui/message_center/views/message_view.cc gfx::Rect small_image_rect(small_image_size); gfx 186 ui/message_center/views/message_view.cc small_image_rect.set_origin(gfx::Point( gfx 52 ui/message_center/views/message_view.h const gfx::ImageSkia& small_image, gfx 57 ui/message_center/views/message_view.h static gfx::Insets GetShadowInsets(); gfx 74 ui/message_center/views/message_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 25 ui/message_center/views/message_view_context_menu_controller.cc const gfx::Point& point, gfx 40 ui/message_center/views/message_view_context_menu_controller.cc gfx::Rect(point, gfx::Size()), gfx 24 ui/message_center/views/message_view_context_menu_controller.h const gfx::Point& point, gfx 25 ui/message_center/views/notification_button.cc gfx::Insets(1, 2, 2, 2))) { gfx 39 ui/message_center/views/notification_button.cc void NotificationButton::SetIcon(const gfx::ImageSkia& image) { gfx 46 ui/message_center/views/notification_button.cc icon_->SetImageSize(gfx::Size(message_center::kNotificationButtonIconSize, gfx 64 ui/message_center/views/notification_button.cc title_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 74 ui/message_center/views/notification_button.cc gfx::Size NotificationButton::GetPreferredSize() { gfx 75 ui/message_center/views/notification_button.cc return gfx::Size(message_center::kNotificationWidth, gfx 83 ui/message_center/views/notification_button.cc void NotificationButton::OnPaint(gfx::Canvas* canvas) { gfx 26 ui/message_center/views/notification_button.h void SetIcon(const gfx::ImageSkia& icon); gfx 30 ui/message_center/views/notification_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 32 ui/message_center/views/notification_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 88 ui/message_center/views/notification_view.cc bool HasAlpha(gfx::ImageSkia& image, views::Widget* widget) { gfx 138 ui/message_center/views/notification_view.cc title->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 145 ui/message_center/views/notification_view.cc message->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 169 ui/message_center/views/notification_view.cc views::View* MakeNotificationImage(const gfx::Image& image, gfx::Size size) { gfx 175 ui/message_center/views/notification_view.cc gfx::Size ideal_size( gfx 178 ui/message_center/views/notification_view.cc gfx::Size scaled_size = gfx 205 ui/message_center/views/notification_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 206 ui/message_center/views/notification_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 217 ui/message_center/views/notification_view.cc gfx::Size NotificationProgressBar::GetPreferredSize() { gfx 218 ui/message_center/views/notification_view.cc gfx::Size pref_size(kProgressBarWidth, message_center::kProgressBarThickness); gfx 219 ui/message_center/views/notification_view.cc gfx::Insets insets = GetInsets(); gfx 224 ui/message_center/views/notification_view.cc void NotificationProgressBar::OnPaint(gfx::Canvas* canvas) { gfx 225 ui/message_center/views/notification_view.cc gfx::Rect content_bounds = GetContentsBounds(); gfx 229 ui/message_center/views/notification_view.cc background_path.addRoundRect(gfx::RectToSkRect(content_bounds), gfx 244 ui/message_center/views/notification_view.cc gfx::Rect slice_bounds = content_bounds; gfx 247 ui/message_center/views/notification_view.cc slice_path.addRoundRect(gfx::RectToSkRect(slice_bounds), gfx 318 ui/message_center/views/notification_view.cc const gfx::FontList default_label_font_list = views::Label().font_list(); gfx 323 ui/message_center/views/notification_view.cc const gfx::FontList& font_list = gfx 327 ui/message_center/views/notification_view.cc gfx::TruncateString(notification.title(), kTitleCharacterLimit), gfx 343 ui/message_center/views/notification_view.cc gfx::TruncateString(notification.message(), kMessageCharacterLimit)); gfx 358 ui/message_center/views/notification_view.cc new BoundedLabel(gfx::TruncateString(notification.context_message(), gfx 394 ui/message_center/views/notification_view.cc gfx::ImageSkia icon = notification.icon().AsImageSkia(); gfx 401 ui/message_center/views/notification_view.cc icon_view->SetImageSize(gfx::Size(kLegacyIconSize, kLegacyIconSize)); gfx 407 ui/message_center/views/notification_view.cc new ProportionalImageView(icon, gfx::Size(kIconSize, kIconSize)); gfx 422 ui/message_center/views/notification_view.cc gfx::Size image_size( gfx 457 ui/message_center/views/notification_view.cc gfx::Size NotificationView::GetPreferredSize() { gfx 461 ui/message_center/views/notification_view.cc return gfx::Size(preferred_width, GetHeightForWidth(preferred_width)); gfx 495 ui/message_center/views/notification_view.cc gfx::Insets insets = GetInsets(); gfx 521 ui/message_center/views/notification_view.cc void NotificationView::ScrollRectToVisible(const gfx::Rect& rect) { gfx 527 ui/message_center/views/notification_view.cc views::View* NotificationView::GetEventHandlerForRect(const gfx::Rect& rect) { gfx 531 ui/message_center/views/notification_view.cc gfx::Point point = rect.CenterPoint(); gfx 539 ui/message_center/views/notification_view.cc gfx::Point point_in_child = point; gfx 548 ui/message_center/views/notification_view.cc gfx::NativeCursor NotificationView::GetCursor(const ui::MouseEvent& event) { gfx 46 ui/message_center/views/notification_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 50 ui/message_center/views/notification_view.h virtual void ScrollRectToVisible(const gfx::Rect& rect) OVERRIDE; gfx 51 ui/message_center/views/notification_view.h virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; gfx 52 ui/message_center/views/notification_view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 130 ui/message_center/views/notifier_settings_view.cc gfx::Insets(1, 2, 3, 2)); gfx 144 ui/message_center/views/notifier_settings_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 149 ui/message_center/views/notifier_settings_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 174 ui/message_center/views/notifier_settings_view.cc gfx::Size EntryView::GetPreferredSize() { gfx 176 ui/message_center/views/notifier_settings_view.cc gfx::Size size = child_at(0)->GetPreferredSize(); gfx 177 ui/message_center/views/notifier_settings_view.cc size.SetToMax(gfx::Size(settings::kWidth, settings::kEntryHeight)); gfx 201 ui/message_center/views/notifier_settings_view.cc void EntryView::OnPaint(gfx::Canvas* canvas) { gfx 352 ui/message_center/views/notifier_settings_view.cc const gfx::Image& icon) { gfx 359 ui/message_center/views/notifier_settings_view.cc gfx::Size(settings::kEntryIconSize, settings::kEntryIconSize)); gfx 385 ui/message_center/views/notifier_settings_view.cc gfx::Point point(110, 120); gfx 496 ui/message_center/views/notifier_settings_view.cc title_label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 528 ui/message_center/views/notifier_settings_view.cc const gfx::Image& icon) { gfx 571 ui/message_center/views/notifier_settings_view.cc top_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 589 ui/message_center/views/notifier_settings_view.cc gfx::Insets painter_insets(kButtonPainterInsets, kButtonPainterInsets, gfx 597 ui/message_center/views/notifier_settings_view.cc selector_border->SetInsets(gfx::Insets( gfx 637 ui/message_center/views/notifier_settings_view.cc contents_view->SetBoundsRect(gfx::Rect(contents_view->GetPreferredSize())); gfx 659 ui/message_center/views/notifier_settings_view.cc gfx::Size NotifierSettingsView::GetMinimumSize() { gfx 660 ui/message_center/views/notifier_settings_view.cc gfx::Size size(settings::kWidth, settings::kMinimumHeight); gfx 668 ui/message_center/views/notifier_settings_view.cc gfx::Size NotifierSettingsView::GetPreferredSize() { gfx 669 ui/message_center/views/notifier_settings_view.cc gfx::Size preferred_size; gfx 670 ui/message_center/views/notifier_settings_view.cc gfx::Size title_size = title_label_->GetPreferredSize(); gfx 671 ui/message_center/views/notifier_settings_view.cc gfx::Size content_size = scroller_->contents()->GetPreferredSize(); gfx 672 ui/message_center/views/notifier_settings_view.cc return gfx::Size(std::max(title_size.width(), content_size.width()), gfx 709 ui/message_center/views/notifier_settings_view.cc const gfx::Point& point) { gfx 713 ui/message_center/views/notifier_settings_view.cc gfx::Rect menu_anchor = source->GetBoundsInScreen(); gfx 715 ui/message_center/views/notifier_settings_view.cc gfx::Insets(0, kMenuWhitespaceOffset, 0, kMenuWhitespaceOffset)); gfx 44 ui/message_center/views/notifier_settings_view.h const gfx::Image& icon) OVERRIDE; gfx 62 ui/message_center/views/notifier_settings_view.h void UpdateIconImage(const gfx::Image& icon); gfx 98 ui/message_center/views/notifier_settings_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 99 ui/message_center/views/notifier_settings_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 109 ui/message_center/views/notifier_settings_view.h const gfx::Point& point) OVERRIDE; gfx 22 ui/message_center/views/padded_button.cc gfx::Insets(1, 2, 2, 2))); gfx 53 ui/message_center/views/padded_button.cc gfx::Size PaddedButton::GetPreferredSize() { gfx 54 ui/message_center/views/padded_button.cc return gfx::Size(message_center::kControlButtonSize, gfx 58 ui/message_center/views/padded_button.cc void PaddedButton::OnPaint(gfx::Canvas* canvas) { gfx 63 ui/message_center/views/padded_button.cc gfx::ImageSkia image = GetImageToPaint(); gfx 65 ui/message_center/views/padded_button.cc gfx::Point position = ComputePaddedImagePaintPosition(image); gfx 78 ui/message_center/views/padded_button.cc gfx::Point PaddedButton::ComputePaddedImagePaintPosition( gfx 79 ui/message_center/views/padded_button.cc const gfx::ImageSkia& image) { gfx 80 ui/message_center/views/padded_button.cc gfx::Vector2d offset; gfx 81 ui/message_center/views/padded_button.cc gfx::Rect bounds = GetContentsBounds(); gfx 27 ui/message_center/views/padded_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 28 ui/message_center/views/padded_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 42 ui/message_center/views/padded_button.h gfx::Point ComputePaddedImagePaintPosition(const gfx::ImageSkia& image); gfx 45 ui/message_center/views/padded_button.h gfx::Insets padding_; gfx 12 ui/message_center/views/proportional_image_view.cc ProportionalImageView::ProportionalImageView(const gfx::ImageSkia& image, gfx 13 ui/message_center/views/proportional_image_view.cc const gfx::Size& max_size) gfx 18 ui/message_center/views/proportional_image_view.cc gfx::Size ProportionalImageView::GetPreferredSize() { return max_size_; } gfx 24 ui/message_center/views/proportional_image_view.cc void ProportionalImageView::OnPaint(gfx::Canvas* canvas) { gfx 27 ui/message_center/views/proportional_image_view.cc gfx::Size draw_size = GetImageDrawingSize(); gfx 32 ui/message_center/views/proportional_image_view.cc gfx::Rect draw_bounds = GetContentsBounds(); gfx 35 ui/message_center/views/proportional_image_view.cc gfx::Size image_size(image_.size()); gfx 53 ui/message_center/views/proportional_image_view.cc gfx::Size ProportionalImageView::GetImageDrawingSize() { gfx 55 ui/message_center/views/proportional_image_view.cc return gfx::Size(); gfx 16 ui/message_center/views/proportional_image_view.h ProportionalImageView(const gfx::ImageSkia& image, const gfx::Size& max_size); gfx 20 ui/message_center/views/proportional_image_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 22 ui/message_center/views/proportional_image_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 25 ui/message_center/views/proportional_image_view.h gfx::Size GetImageDrawingSize(); gfx 27 ui/message_center/views/proportional_image_view.h gfx::ImageSkia image_; gfx 28 ui/message_center/views/proportional_image_view.h gfx::Size max_size_; gfx 43 ui/message_center/views/toast_contents_view.cc gfx::Size ToastContentsView::GetToastSizeForView(views::View* view) { gfx 45 ui/message_center/views/toast_contents_view.cc return gfx::Size(width, view->GetHeightForWidth(width)); gfx 62 ui/message_center/views/toast_contents_view.cc fade_animation_.reset(new gfx::SlideAnimation(this)); gfx 90 ui/message_center/views/toast_contents_view.cc void ToastContentsView::RevealWithAnimation(gfx::Point origin) { gfx 96 ui/message_center/views/toast_contents_view.cc origin_ = gfx::Point(origin.x() - preferred_size_.width(), gfx 99 ui/message_center/views/toast_contents_view.cc gfx::Rect stable_bounds(origin_, preferred_size_); gfx 113 ui/message_center/views/toast_contents_view.cc void ToastContentsView::SetBoundsInstantly(gfx::Rect new_bounds) { gfx 123 ui/message_center/views/toast_contents_view.cc void ToastContentsView::SetBoundsWithAnimation(gfx::Rect new_bounds) { gfx 144 ui/message_center/views/toast_contents_view.cc bounds_animation_.reset(new gfx::SlideAnimation(this)); gfx 172 ui/message_center/views/toast_contents_view.cc const gfx::Animation* animation) { gfx 197 ui/message_center/views/toast_contents_view.cc void ToastContentsView::AnimationProgressed(const gfx::Animation* animation) { gfx 199 ui/message_center/views/toast_contents_view.cc gfx::Rect current(animation->CurrentValueBetween( gfx 209 ui/message_center/views/toast_contents_view.cc void ToastContentsView::AnimationEnded(const gfx::Animation* animation) { gfx 214 ui/message_center/views/toast_contents_view.cc const gfx::Animation* animation) { gfx 237 ui/message_center/views/toast_contents_view.cc gfx::NativeView native_view = widget->GetNativeView(); gfx 241 ui/message_center/views/toast_contents_view.cc collection_->OnDisplayBoundsChanged(gfx::Screen::GetScreenFor( gfx 250 ui/message_center/views/toast_contents_view.cc gfx::NativeView native_view = widget->GetNativeView(); gfx 254 ui/message_center/views/toast_contents_view.cc collection_->OnDisplayBoundsChanged(gfx::Screen::GetScreenFor( gfx 276 ui/message_center/views/toast_contents_view.cc gfx::Size ToastContentsView::GetPreferredSize() { gfx 277 ui/message_center/views/toast_contents_view.cc return child_count() ? GetToastSizeForView(child_at(0)) : gfx::Size(); gfx 322 ui/message_center/views/toast_contents_view.cc void ToastContentsView::CreateWidget(gfx::NativeView parent) { gfx 345 ui/message_center/views/toast_contents_view.cc gfx::Rect ToastContentsView::GetClosedToastBounds(gfx::Rect bounds) { gfx 346 ui/message_center/views/toast_contents_view.cc return gfx::Rect(bounds.x() + bounds.width() - kClosedToastWidth, gfx 18 ui/message_center/views/toast_contents_view.h namespace gfx { gfx 39 ui/message_center/views/toast_contents_view.h public gfx::AnimationDelegate { gfx 42 ui/message_center/views/toast_contents_view.h static gfx::Size GetToastSizeForView(views::View* view); gfx 55 ui/message_center/views/toast_contents_view.h void RevealWithAnimation(gfx::Point origin); gfx 61 ui/message_center/views/toast_contents_view.h void SetBoundsWithAnimation(gfx::Rect new_bounds); gfx 65 ui/message_center/views/toast_contents_view.h gfx::Point origin() { return origin_; } gfx 66 ui/message_center/views/toast_contents_view.h gfx::Rect bounds() { return gfx::Rect(origin_, preferred_size_); } gfx 74 ui/message_center/views/toast_contents_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 90 ui/message_center/views/toast_contents_view.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 91 ui/message_center/views/toast_contents_view.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 92 ui/message_center/views/toast_contents_view.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 102 ui/message_center/views/toast_contents_view.h void CreateWidget(gfx::NativeView parent); gfx 105 ui/message_center/views/toast_contents_view.h void SetBoundsInstantly(gfx::Rect new_bounds); gfx 110 ui/message_center/views/toast_contents_view.h gfx::Rect GetClosedToastBounds(gfx::Rect bounds); gfx 114 ui/message_center/views/toast_contents_view.h void OnBoundsAnimationEndedOrCancelled(const gfx::Animation* animation); gfx 121 ui/message_center/views/toast_contents_view.h scoped_ptr<gfx::SlideAnimation> bounds_animation_; gfx 122 ui/message_center/views/toast_contents_view.h scoped_ptr<gfx::SlideAnimation> fade_animation_; gfx 125 ui/message_center/views/toast_contents_view.h gfx::Rect animated_bounds_start_; gfx 126 ui/message_center/views/toast_contents_view.h gfx::Rect animated_bounds_end_; gfx 131 ui/message_center/views/toast_contents_view.h gfx::Animation* closing_animation_; gfx 133 ui/message_center/views/toast_contents_view.h gfx::Point origin_; gfx 134 ui/message_center/views/toast_contents_view.h gfx::Size preferred_size_; gfx 37 ui/metro_viewer/metro_viewer_messages.h gfx::NativeViewId /* target hwnd */) gfx 86 ui/native_theme/common_theme.cc if (gfx::IsInvertedColorScheme()) { gfx 98 ui/native_theme/common_theme.cc gfx::Size CommonThemeGetPartSize(NativeTheme::Part part, gfx 101 ui/native_theme/common_theme.cc gfx::Size size; gfx 104 ui/native_theme/common_theme.cc const gfx::ImageSkia* check = gfx 119 ui/native_theme/common_theme.cc const gfx::Rect& rect, gfx 129 ui/native_theme/common_theme.cc void CommonThemePaintMenuGutter(SkCanvas* canvas, const gfx::Rect& rect) { gfx 138 ui/native_theme/common_theme.cc void CommonThemePaintMenuBackground(SkCanvas* canvas, const gfx::Rect& rect) { gfx 143 ui/native_theme/common_theme.cc canvas->drawRect(gfx::RectToSkRect(rect), paint); gfx 148 ui/native_theme/common_theme.cc const gfx::Rect& rect) { gfx 167 ui/native_theme/common_theme.cc canvas->drawRect(gfx::RectToSkRect(rect), paint); gfx 21 ui/native_theme/common_theme.h gfx::Size NATIVE_THEME_EXPORT CommonThemeGetPartSize( gfx 28 ui/native_theme/common_theme.h const gfx::Rect& rect, gfx 32 ui/native_theme/common_theme.h const gfx::Rect& rect); gfx 35 ui/native_theme/common_theme.h const gfx::Rect& rect); gfx 40 ui/native_theme/common_theme.h const gfx::Rect& rect); gfx 14 ui/native_theme/native_theme.h namespace gfx { gfx 212 ui/native_theme/native_theme.h virtual gfx::Size GetPartSize(Part part, gfx 220 ui/native_theme/native_theme.h const gfx::Rect& rect, gfx 24 ui/native_theme/native_theme_aura.cc using gfx::NineImagePainter; gfx 102 ui/native_theme/native_theme_aura.cc const gfx::Size& size, gfx 111 ui/native_theme/native_theme_aura.cc gfx::Path path; gfx 128 ui/native_theme/native_theme_aura.cc const gfx::Rect& rect, gfx 135 ui/native_theme/native_theme_aura.cc const gfx::Rect& rect, gfx 167 ui/native_theme/native_theme_aura.cc const gfx::Rect& rect) const { gfx 178 ui/native_theme/native_theme_aura.cc const gfx::Rect& rect) const { gfx 179 ui/native_theme/native_theme_aura.cc gfx::Rect thumb_rect(rect); gfx 213 ui/native_theme/native_theme_aura.cc const gfx::Rect& rect) const { gfx 240 ui/native_theme/native_theme_aura.cc const gfx::Rect& rect) const { gfx 242 ui/native_theme/native_theme_aura.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); gfx 262 ui/native_theme/native_theme_aura.cc const gfx::Rect& rect, gfx 265 ui/native_theme/native_theme_aura.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); gfx 12 ui/native_theme/native_theme_aura.h namespace gfx { gfx 30 ui/native_theme/native_theme_aura.h const gfx::Size& size, gfx 35 ui/native_theme/native_theme_aura.h const gfx::Rect& rect, gfx 38 ui/native_theme/native_theme_aura.h const gfx::Rect& rect, gfx 46 ui/native_theme/native_theme_aura.h const gfx::Rect& rect) const OVERRIDE; gfx 50 ui/native_theme/native_theme_aura.h const gfx::Rect& rect) const OVERRIDE; gfx 53 ui/native_theme/native_theme_aura.h const gfx::Rect& rect) const OVERRIDE; gfx 58 ui/native_theme/native_theme_aura.h gfx::NineImagePainter* GetOrCreatePainter( gfx 61 ui/native_theme/native_theme_aura.h scoped_ptr<gfx::NineImagePainter> painters[kMaxState]) const; gfx 64 ui/native_theme/native_theme_aura.h void PaintPainter(gfx::NineImagePainter* painter, gfx 66 ui/native_theme/native_theme_aura.h const gfx::Rect& rect) const; gfx 68 ui/native_theme/native_theme_aura.h mutable scoped_ptr<gfx::NineImagePainter> scrollbar_track_painter_; gfx 70 ui/native_theme/native_theme_aura.h mutable scoped_ptr<gfx::NineImagePainter> gfx 73 ui/native_theme/native_theme_aura.h mutable scoped_ptr<gfx::NineImagePainter> gfx 83 ui/native_theme/native_theme_aura.h DualPainter(scoped_ptr<gfx::NineImagePainter> fill_painter, gfx 85 ui/native_theme/native_theme_aura.h scoped_ptr<gfx::NineImagePainter> stroke_painter, gfx 89 ui/native_theme/native_theme_aura.h scoped_ptr<gfx::NineImagePainter> fill_painter; gfx 91 ui/native_theme/native_theme_aura.h scoped_ptr<gfx::NineImagePainter> stroke_painter; gfx 105 ui/native_theme/native_theme_aura.h const gfx::Rect& rect, gfx 60 ui/native_theme/native_theme_aurawin.cc const gfx::Rect& rect, gfx 71 ui/native_theme/native_theme_aurawin.cc gfx::Size NativeThemeAuraWin::GetPartSize(Part part, gfx 74 ui/native_theme/native_theme_aurawin.cc gfx::Size part_size = CommonThemeGetPartSize(part, state, extra); gfx 24 ui/native_theme/native_theme_aurawin.h virtual gfx::Size GetPartSize(Part part, gfx 30 ui/native_theme/native_theme_aurawin.h const gfx::Rect& rect, gfx 89 ui/native_theme/native_theme_base.cc gfx::Size NativeThemeBase::GetPartSize(Part part, gfx 95 ui/native_theme/native_theme_base.cc return gfx::Size(kCheckboxAndRadioWidth, kCheckboxAndRadioHeight); gfx 97 ui/native_theme/native_theme_base.cc return gfx::Size(scrollbar_width_, 0); gfx 99 ui/native_theme/native_theme_base.cc return gfx::Size(); // No default size. gfx 106 ui/native_theme/native_theme_base.cc return gfx::Size(); // No default size. gfx 114 ui/native_theme/native_theme_base.cc return gfx::Size(); // No default size. gfx 116 ui/native_theme/native_theme_base.cc return gfx::Size(kCheckboxAndRadioWidth, kCheckboxAndRadioHeight); gfx 119 ui/native_theme/native_theme_base.cc return gfx::Size(scrollbar_width_, scrollbar_button_length_); gfx 122 ui/native_theme/native_theme_base.cc return gfx::Size(scrollbar_button_length_, scrollbar_width_); gfx 125 ui/native_theme/native_theme_base.cc return gfx::Size(2 * scrollbar_width_, scrollbar_width_); gfx 128 ui/native_theme/native_theme_base.cc return gfx::Size(scrollbar_width_, 2 * scrollbar_width_); gfx 130 ui/native_theme/native_theme_base.cc return gfx::Size(0, scrollbar_width_); gfx 132 ui/native_theme/native_theme_base.cc return gfx::Size(scrollbar_width_, 0); gfx 138 ui/native_theme/native_theme_base.cc return gfx::Size(); // No default size. gfx 141 ui/native_theme/native_theme_base.cc return gfx::Size(kSliderThumbWidth, kSliderThumbHeight); gfx 146 ui/native_theme/native_theme_base.cc return gfx::Size(); // No default size. gfx 156 ui/native_theme/native_theme_base.cc return gfx::Size(); gfx 162 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 256 ui/native_theme/native_theme_base.cc scoped_ptr<gfx::Canvas> NativeThemeBase::CreateCanvas(SkCanvas* sk_canvas) { gfx 261 ui/native_theme/native_theme_base.cc return scoped_ptr<gfx::Canvas>( gfx 262 ui/native_theme/native_theme_base.cc gfx::Canvas::CreateCanvasWithoutScaling(sk_canvas, device_scale)); gfx 267 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, Part direction, State state) const { gfx 347 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 400 ui/native_theme/native_theme_base.cc const gfx::Rect& rect) const { gfx 420 ui/native_theme/native_theme_base.cc const gfx::Rect& rect) const { gfx 498 ui/native_theme/native_theme_base.cc const gfx::Rect& rect) const { gfx 508 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 547 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 550 ui/native_theme/native_theme_base.cc SkRect skrect = gfx::RectToSkRect(rect); gfx 635 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 661 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 719 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 740 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 766 ui/native_theme/native_theme_base.cc const gfx::Size& size, gfx 774 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 781 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 806 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 844 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 856 ui/native_theme/native_theme_base.cc gfx::Rect half = rect; gfx 866 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 869 ui/native_theme/native_theme_base.cc gfx::ImageSkia* bar_image = rb.GetImageSkiaNamed(IDR_PROGRESS_BAR); gfx 870 ui/native_theme/native_theme_base.cc gfx::ImageSkia* left_border_image = rb.GetImageSkiaNamed( gfx 872 ui/native_theme/native_theme_base.cc gfx::ImageSkia* right_border_image = rb.GetImageSkiaNamed( gfx 916 ui/native_theme/native_theme_base.cc gfx::Rect big_rect = rect; gfx 917 ui/native_theme/native_theme_base.cc gfx::Rect small_rect = rect; gfx 927 ui/native_theme/native_theme_base.cc gfx::ImageSkia* value_image = rb.GetImageSkiaNamed(IDR_PROGRESS_VALUE); gfx 959 ui/native_theme/native_theme_base.cc SkCanvas* sk_canvas, const gfx::ImageSkia& image, gfx 962 ui/native_theme/native_theme_base.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); gfx 968 ui/native_theme/native_theme_base.cc const gfx::ImageSkia& image, gfx 971 ui/native_theme/native_theme_base.cc scoped_ptr<gfx::Canvas> canvas(CreateCanvas(sk_canvas)); gfx 1018 ui/native_theme/native_theme_base.cc const gfx::Rect& rect, gfx 14 ui/native_theme/native_theme_base.h namespace gfx { gfx 27 ui/native_theme/native_theme_base.h virtual gfx::Size GetPartSize(Part part, gfx 33 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 41 ui/native_theme/native_theme_base.h static scoped_ptr<gfx::Canvas> CreateCanvas(SkCanvas* sk_canvas); gfx 46 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 56 ui/native_theme/native_theme_base.h const gfx::Rect& rect) const; gfx 62 ui/native_theme/native_theme_base.h const gfx::Rect& rect) const; gfx 66 ui/native_theme/native_theme_base.h const gfx::Rect& rect) const; gfx 71 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 77 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 83 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 89 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 95 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 100 ui/native_theme/native_theme_base.h const gfx::Size& size, gfx 106 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 112 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 118 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 124 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 130 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 141 ui/native_theme/native_theme_base.h void DrawImageInt(SkCanvas* canvas, const gfx::ImageSkia& image, gfx 146 ui/native_theme/native_theme_base.h const gfx::ImageSkia& image, gfx 157 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 176 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 188 ui/native_theme/native_theme_base.h const gfx::Rect& rect, gfx 62 ui/native_theme/native_theme_gtk.cc return gfx::GdkColorToSkColor( gfx 125 ui/native_theme/native_theme_win.cc gfx::Rect result(*rect); gfx 180 ui/native_theme/native_theme_win.cc gfx::Size NativeThemeWin::GetThemeBorderSize(ThemeName theme) const { gfx 185 ui/native_theme/native_theme_win.cc return gfx::Size(border, border); gfx 187 ui/native_theme/native_theme_win.cc return gfx::Size(GetSystemMetrics(SM_CXEDGE), GetSystemMetrics(SM_CYEDGE)); gfx 231 ui/native_theme/native_theme_win.cc gfx::Size NativeThemeWin::GetPartSize(Part part, gfx 234 ui/native_theme/native_theme_win.cc gfx::Size part_size = CommonThemeGetPartSize(part, state, extra); gfx 249 ui/native_theme/native_theme_win.cc int size = gfx::win::GetSystemMetricsInDIP(SM_CXVSCROLL); gfx 252 ui/native_theme/native_theme_win.cc return gfx::Size(size, size); gfx 284 ui/native_theme/native_theme_win.cc return gfx::Size(size.cx, size.cy); gfx 290 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 414 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 514 ui/native_theme/native_theme_win.cc if (gfx::IsInvertedColorScheme()) gfx 659 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 687 ui/native_theme/native_theme_win.cc gfx::Rect adjusted_rect(rect.size()); gfx 840 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 858 ui/native_theme/native_theme_win.cc const gfx::Rect& rect) const { gfx 869 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 887 ui/native_theme/native_theme_win.cc gfx::Rect r(rect); gfx 920 ui/native_theme/native_theme_win.cc const gfx::Rect& rect) const { gfx 938 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 959 ui/native_theme/native_theme_win.cc const gfx::Rect& rect) const { gfx 973 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1004 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1032 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1060 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1095 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1132 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1214 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1272 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1318 ui/native_theme/native_theme_win.cc RECT align_rect = gfx::Rect(extra.track_x, extra.track_y, extra.track_width, gfx 1332 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1367 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1471 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1485 ui/native_theme/native_theme_win.cc RECT value_rect = gfx::Rect(extra.value_rect_x, gfx 1567 ui/native_theme/native_theme_win.cc const gfx::Rect& rect) const { gfx 1584 ui/native_theme/native_theme_win.cc const gfx::Rect& rect) const { gfx 1599 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 1692 ui/native_theme/native_theme_win.cc const gfx::Rect& rect) const { gfx 1701 ui/native_theme/native_theme_win.cc gfx::Rect scaled_rect = gfx::ToEnclosedRect( gfx 1702 ui/native_theme/native_theme_win.cc gfx::ScaleRect(rect, scale)); gfx 1703 ui/native_theme/native_theme_win.cc RECT bounds = gfx::Rect(scaled_rect.x() + save_transform.eDx, gfx 2053 ui/native_theme/native_theme_win.cc const gfx::Rect& rect, gfx 37 ui/native_theme/native_theme_win.h public gfx::SysColorChangeListener { gfx 78 ui/native_theme/native_theme_win.h gfx::Size GetThemeBorderSize(ThemeName theme) const; gfx 107 ui/native_theme/native_theme_win.h virtual gfx::Size GetPartSize(Part part, gfx 113 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 131 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 140 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 159 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 162 ui/native_theme/native_theme_win.h HRESULT PaintMenuGutter(HDC hdc, const gfx::Rect& rect) const; gfx 169 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 172 ui/native_theme/native_theme_win.h HRESULT PaintMenuBackground(HDC hdc, const gfx::Rect& rect) const; gfx 176 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 181 ui/native_theme/native_theme_win.h const gfx::Rect& rect) const; gfx 185 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 191 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 197 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 203 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 208 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 216 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 222 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 233 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 239 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 246 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 250 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 253 ui/native_theme/native_theme_win.h HRESULT PaintWindowResizeGripper(HDC hdc, const gfx::Rect& rect) const; gfx 255 ui/native_theme/native_theme_win.h HRESULT PaintTabPanelBackground(HDC hdc, const gfx::Rect& rect) const; gfx 260 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 272 ui/native_theme/native_theme_win.h const gfx::Rect& rect) const; gfx 289 ui/native_theme/native_theme_win.h const gfx::Rect& rect, gfx 359 ui/native_theme/native_theme_win.h gfx::ScopedSysColorChangeListener color_change_listener_; gfx 28 ui/ozone/ime/fake_input_method_context_ozone.cc const gfx::Rect& /* caret_bounds */) { gfx 24 ui/ozone/ime/fake_input_method_context_ozone.h virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) OVERRIDE; gfx 43 ui/ozone/ozone_platform.cc gfx::SurfaceFactoryOzone::SetInstance(NULL); gfx 60 ui/ozone/ozone_platform.cc gfx::SurfaceFactoryOzone::SetInstance(instance_->GetSurfaceFactoryOzone()); gfx 44 ui/ozone/ozone_platform.h virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() = 0; gfx 27 ui/ozone/platform/caca/caca_connection.h gfx::Size physical_size() const { return physical_size_; } gfx 28 ui/ozone/platform/caca/caca_connection.h gfx::Size bitmap_size() const { return bitmap_size_; } gfx 37 ui/ozone/platform/caca/caca_connection.h gfx::Size physical_size_; gfx 40 ui/ozone/platform/caca/caca_connection.h gfx::Size bitmap_size_; gfx 111 ui/ozone/platform/caca/caca_event_factory.cc gfx::PointF TranslateLocation(const gfx::PointF& location, gfx 113 ui/ozone/platform/caca/caca_event_factory.cc gfx::Size physical_size = connection->physical_size(); gfx 114 ui/ozone/platform/caca/caca_event_factory.cc gfx::Size bitmap_size = connection->bitmap_size(); gfx 115 ui/ozone/platform/caca/caca_event_factory.cc return gfx::PointF( gfx 153 ui/ozone/platform/caca/caca_event_factory.cc void CacaEventFactory::WarpCursorTo(gfx::AcceleratedWidget widget, gfx 154 ui/ozone/platform/caca/caca_event_factory.cc const gfx::PointF& location) { gfx 216 ui/ozone/platform/caca/caca_event_factory.cc gfx::PointF location = TranslateLocation(last_cursor_location_, gfx 24 ui/ozone/platform/caca/caca_event_factory.h virtual void WarpCursorTo(gfx::AcceleratedWidget widget, gfx 25 ui/ozone/platform/caca/caca_event_factory.h const gfx::PointF& location) OVERRIDE; gfx 41 ui/ozone/platform/caca/caca_event_factory.h gfx::PointF last_cursor_location_; gfx 19 ui/ozone/platform/caca/caca_surface_factory.cc const gfx::AcceleratedWidget kDefaultWidgetHandle = 1; gfx 21 ui/ozone/platform/caca/caca_surface_factory.cc class CacaSurface : public gfx::SurfaceOzoneBase { gfx 105 ui/ozone/platform/caca/caca_surface_factory.cc gfx::SurfaceFactoryOzone::HardwareState gfx 117 ui/ozone/platform/caca/caca_surface_factory.cc gfx::AcceleratedWidget CacaSurfaceFactory::GetAcceleratedWidget() { gfx 128 ui/ozone/platform/caca/caca_surface_factory.cc scoped_ptr<gfx::SurfaceOzone> CacaSurfaceFactory::CreateSurfaceForWidget( gfx 129 ui/ozone/platform/caca/caca_surface_factory.cc gfx::AcceleratedWidget widget) { gfx 133 ui/ozone/platform/caca/caca_surface_factory.cc return make_scoped_ptr<gfx::SurfaceOzone>(new CacaSurface(connection_)); gfx 17 ui/ozone/platform/caca/caca_surface_factory.h class CacaSurfaceFactory : public gfx::SurfaceFactoryOzone { gfx 25 ui/ozone/platform/caca/caca_surface_factory.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 29 ui/ozone/platform/caca/caca_surface_factory.h virtual scoped_ptr<gfx::SurfaceOzone> CreateSurfaceForWidget( gfx 30 ui/ozone/platform/caca/caca_surface_factory.h gfx::AcceleratedWidget widget) OVERRIDE; gfx 19 ui/ozone/platform/caca/ozone_platform_caca.cc gfx::SurfaceFactoryOzone* OzonePlatformCaca::GetSurfaceFactoryOzone() { gfx 24 ui/ozone/platform/caca/ozone_platform_caca.h virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE; gfx 12 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc CursorFactoryEvdevDri::CursorFactoryEvdevDri(gfx::DriSurfaceFactory* dri) gfx 15 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc cursor_bounds_ = gfx::RectF(0, 0, 2560, 1700); // TODO(spang): Argh! gfx 17 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::PointF(cursor_bounds_.width() / 2, cursor_bounds_.height() / 2); gfx 28 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::AcceleratedWidget widget, gfx 40 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc void CursorFactoryEvdevDri::MoveCursorTo(gfx::AcceleratedWidget widget, gfx 41 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc const gfx::PointF& location) { gfx 45 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::PointF(cursor_bounds_.x(), cursor_bounds_.y())); gfx 47 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::PointF(cursor_bounds_.right(), cursor_bounds_.bottom())); gfx 52 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc void CursorFactoryEvdevDri::MoveCursor(const gfx::Vector2dF& delta) { gfx 56 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::AcceleratedWidget CursorFactoryEvdevDri::window() { gfx 60 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::PointF CursorFactoryEvdevDri::location() { return cursor_location_; } gfx 62 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc gfx::Point CursorFactoryEvdevDri::bitmap_location() { gfx 63 ui/ozone/platform/dri/cursor_factory_evdev_dri.cc return gfx::ToFlooredPoint(cursor_location_) - gfx 15 ui/ozone/platform/dri/cursor_factory_evdev_dri.h namespace gfx { gfx 24 ui/ozone/platform/dri/cursor_factory_evdev_dri.h CursorFactoryEvdevDri(gfx::DriSurfaceFactory* dri); gfx 28 ui/ozone/platform/dri/cursor_factory_evdev_dri.h virtual void SetBitmapCursor(gfx::AcceleratedWidget widget, gfx 33 ui/ozone/platform/dri/cursor_factory_evdev_dri.h virtual void MoveCursorTo(gfx::AcceleratedWidget widget, gfx 34 ui/ozone/platform/dri/cursor_factory_evdev_dri.h const gfx::PointF& location) OVERRIDE; gfx 35 ui/ozone/platform/dri/cursor_factory_evdev_dri.h virtual void MoveCursor(const gfx::Vector2dF& delta) OVERRIDE; gfx 36 ui/ozone/platform/dri/cursor_factory_evdev_dri.h virtual gfx::AcceleratedWidget window() OVERRIDE; gfx 37 ui/ozone/platform/dri/cursor_factory_evdev_dri.h virtual gfx::PointF location() OVERRIDE; gfx 41 ui/ozone/platform/dri/cursor_factory_evdev_dri.h gfx::Point bitmap_location(); gfx 44 ui/ozone/platform/dri/cursor_factory_evdev_dri.h gfx::DriSurfaceFactory* dri_; gfx 50 ui/ozone/platform/dri/cursor_factory_evdev_dri.h gfx::AcceleratedWidget cursor_window_; gfx 53 ui/ozone/platform/dri/cursor_factory_evdev_dri.h gfx::RectF cursor_bounds_; gfx 56 ui/ozone/platform/dri/cursor_factory_evdev_dri.h gfx::PointF cursor_location_; gfx 18 ui/ozone/platform/dri/ozone_platform_dri.cc gfx::SurfaceFactoryOzone* OzonePlatformDri::GetSurfaceFactoryOzone() { gfx 24 ui/ozone/platform/dri/ozone_platform_dri.h virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE; gfx 31 ui/ozone/platform/dri/ozone_platform_dri.h gfx::DriSurfaceFactory surface_factory_ozone_; gfx 19 ui/ozone/platform/test/ozone_platform_test.cc gfx::SurfaceFactoryOzone* OzonePlatformTest::GetSurfaceFactoryOzone() { gfx 24 ui/ozone/platform/test/ozone_platform_test.h virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE; gfx 31 ui/ozone/platform/test/ozone_platform_test.h gfx::FileSurfaceFactory surface_factory_ozone_; gfx 18 ui/shell_dialogs/base_shell_dialog.h virtual bool IsRunning(gfx::NativeWindow owning_window) const = 0; gfx 82 ui/shell_dialogs/gtk/select_file_dialog_impl.cc bool SelectFileDialogImpl::IsRunning(gfx::NativeWindow parent_window) const { gfx 36 ui/shell_dialogs/gtk/select_file_dialog_impl.h virtual bool IsRunning(gfx::NativeWindow parent_window) const OVERRIDE; gfx 53 ui/shell_dialogs/gtk/select_file_dialog_impl.h gfx::NativeWindow owning_window, gfx 57 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow owning_window, gfx 82 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow parent); gfx 85 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent); gfx 88 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent); gfx 91 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent); gfx 113 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow parent); gfx 177 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow owning_window, gfx 333 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow parent) { gfx 363 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow parent) { gfx 398 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow parent) { gfx 412 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc gfx::NativeWindow parent) { gfx 424 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc const base::FilePath& default_path, gfx::NativeWindow parent) { gfx 57 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow owning_window, gfx 68 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, gfx 89 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent; gfx 104 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc const base::FilePath& default_path, gfx::NativeWindow parent, gfx 126 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 130 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 134 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 138 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params); gfx 179 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow owning_window, gfx 276 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, bool file_operation, bool multiple_selection, gfx 337 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void *params) { gfx 356 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params) { gfx 372 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params) { gfx 388 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc gfx::NativeWindow parent, void* params) { gfx 110 ui/shell_dialogs/select_file_dialog.cc gfx::NativeWindow owning_window, gfx 171 ui/shell_dialogs/select_file_dialog.h gfx::NativeWindow owning_window, gfx 194 ui/shell_dialogs/select_file_dialog.h gfx::NativeWindow owning_window, gfx 52 ui/shell_dialogs/select_file_dialog_android.cc bool SelectFileDialogImpl::IsRunning(gfx::NativeWindow) const { gfx 67 ui/shell_dialogs/select_file_dialog_android.cc gfx::NativeWindow owning_window, gfx 28 ui/shell_dialogs/select_file_dialog_android.h virtual bool IsRunning(gfx::NativeWindow) const OVERRIDE; gfx 41 ui/shell_dialogs/select_file_dialog_android.h gfx::NativeWindow owning_window, gfx 418 ui/shell_dialogs/select_file_dialog_win.cc virtual bool IsRunning(gfx::NativeWindow owning_window) const OVERRIDE; gfx 430 ui/shell_dialogs/select_file_dialog_win.cc gfx::NativeWindow owning_window, gfx 545 ui/shell_dialogs/select_file_dialog_win.cc gfx::NativeWindow owning_window, gfx 622 ui/shell_dialogs/select_file_dialog_win.cc bool SelectFileDialogImpl::IsRunning(gfx::NativeWindow owning_window) const { gfx 19 ui/shell_dialogs/shell_dialogs_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) = 0; gfx 20 ui/snapshot/snapshot.h namespace gfx { gfx 35 ui/snapshot/snapshot.h gfx::NativeWindow window, gfx 37 ui/snapshot/snapshot.h const gfx::Rect& snapshot_bounds); gfx 40 ui/snapshot/snapshot.h gfx::NativeView view, gfx 42 ui/snapshot/snapshot.h const gfx::Rect& snapshot_bounds); gfx 44 ui/snapshot/snapshot.h typedef base::Callback<void(const gfx::Image& snapshot)> gfx 49 ui/snapshot/snapshot.h gfx::NativeWindow window, gfx 50 ui/snapshot/snapshot.h const gfx::Rect& source_rect, gfx 51 ui/snapshot/snapshot.h const gfx::Size& target_size, gfx 58 ui/snapshot/snapshot.h gfx::NativeWindow window, gfx 59 ui/snapshot/snapshot.h const gfx::Rect& source_rect, gfx 63 ui/snapshot/snapshot.h gfx::NativeView view, gfx 64 ui/snapshot/snapshot.h const gfx::Rect& source_rect, gfx 17 ui/snapshot/snapshot_android.cc bool GrabViewSnapshot(gfx::NativeView view, gfx 19 ui/snapshot/snapshot_android.cc const gfx::Rect& snapshot_bounds) { gfx 24 ui/snapshot/snapshot_android.cc bool GrabWindowSnapshot(gfx::NativeWindow window, gfx 26 ui/snapshot/snapshot_android.cc const gfx::Rect& snapshot_bounds) { gfx 27 ui/snapshot/snapshot_android.cc gfx::Display display = gfx 28 ui/snapshot/snapshot_android.cc gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); gfx 29 ui/snapshot/snapshot_android.cc gfx::Rect scaled_bounds = gfx 30 ui/snapshot/snapshot_android.cc gfx::ScaleToEnclosingRect(snapshot_bounds, gfx 38 ui/snapshot/snapshot_android.cc gfx::NativeWindow window, gfx 39 ui/snapshot/snapshot_android.cc const gfx::Rect& snapshot_bounds, gfx 40 ui/snapshot/snapshot_android.cc const gfx::Size& target_size, gfx 43 ui/snapshot/snapshot_android.cc callback.Run(gfx::Image()); gfx 47 ui/snapshot/snapshot_android.cc gfx::NativeView view, gfx 48 ui/snapshot/snapshot_android.cc const gfx::Rect& source_rect, gfx 55 ui/snapshot/snapshot_android.cc gfx::NativeWindow window, gfx 56 ui/snapshot/snapshot_android.cc const gfx::Rect& source_rect, gfx 40 ui/snapshot/snapshot_aura.cc callback.Run(gfx::Image(gfx::ImageSkia::CreateFrom1xBitmap(scaled_bitmap))); gfx 44 ui/snapshot/snapshot_aura.cc const gfx::Size& target_size) { gfx 57 ui/snapshot/snapshot_aura.cc if (!gfx::PNGCodec::Encode(pixels, gfx 58 ui/snapshot/snapshot_aura.cc gfx::PNGCodec::FORMAT_BGRA, gfx 59 ui/snapshot/snapshot_aura.cc gfx::Size(bitmap.width(), bitmap.height()), gfx 62 ui/snapshot/snapshot_aura.cc std::vector<gfx::PNGCodec::Comment>(), gfx 71 ui/snapshot/snapshot_aura.cc const gfx::Size& target_size, gfx 75 ui/snapshot/snapshot_aura.cc callback.Run(gfx::Image()); gfx 112 ui/snapshot/snapshot_aura.cc bool GrabViewSnapshot(gfx::NativeView view, gfx 114 ui/snapshot/snapshot_aura.cc const gfx::Rect& snapshot_bounds) { gfx 118 ui/snapshot/snapshot_aura.cc bool GrabWindowSnapshot(gfx::NativeWindow window, gfx 120 ui/snapshot/snapshot_aura.cc const gfx::Rect& snapshot_bounds) { gfx 126 ui/snapshot/snapshot_aura.cc gfx::NativeWindow window, gfx 127 ui/snapshot/snapshot_aura.cc const gfx::Rect& source_rect, gfx 136 ui/snapshot/snapshot_aura.cc gfx::NativeWindow window, gfx 137 ui/snapshot/snapshot_aura.cc const gfx::Rect& source_rect, gfx 138 ui/snapshot/snapshot_aura.cc const gfx::Size& target_size, gfx 150 ui/snapshot/snapshot_aura.cc gfx::NativeWindow window, gfx 151 ui/snapshot/snapshot_aura.cc const gfx::Rect& source_rect, gfx 162 ui/snapshot/snapshot_aura.cc gfx::NativeView view, gfx 163 ui/snapshot/snapshot_aura.cc const gfx::Rect& source_rect, gfx 37 ui/snapshot/snapshot_aura_unittest.cc explicit TestPaintingWindowDelegate(const gfx::Size& window_size) gfx 44 ui/snapshot/snapshot_aura_unittest.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 47 ui/snapshot/snapshot_aura_unittest.cc canvas->FillRect(gfx::Rect(x, y, 1, 1), GetExpectedColorForPoint(x, y)); gfx 52 ui/snapshot/snapshot_aura_unittest.cc gfx::Size window_size_; gfx 57 ui/snapshot/snapshot_aura_unittest.cc size_t GetFailedPixelsCountWithScaleFactor(const gfx::Image& image, gfx 74 ui/snapshot/snapshot_aura_unittest.cc size_t GetFailedPixelsCount(const gfx::Image& image) { gfx 117 ui/snapshot/snapshot_aura_unittest.cc void SetupTestWindow(const gfx::Rect& window_bounds) { gfx 123 ui/snapshot/snapshot_aura_unittest.cc gfx::Image GrabSnapshotForTestWindow() { gfx 124 ui/snapshot/snapshot_aura_unittest.cc gfx::Rect source_rect(test_window_->bounds().size()); gfx 147 ui/snapshot/snapshot_aura_unittest.cc return gfx::Image(); gfx 157 ui/snapshot/snapshot_aura_unittest.cc image_ = gfx::Image::CreateFrom1xPNGBytes(&(png_data->data()[0]), gfx 164 ui/snapshot/snapshot_aura_unittest.cc const gfx::Image& image() const { return image_; } gfx 171 ui/snapshot/snapshot_aura_unittest.cc gfx::Image image_; gfx 187 ui/snapshot/snapshot_aura_unittest.cc gfx::Image snapshot = GrabSnapshotForTestWindow(); gfx 194 ui/snapshot/snapshot_aura_unittest.cc gfx::Rect test_bounds(100, 100, 300, 200); gfx 198 ui/snapshot/snapshot_aura_unittest.cc gfx::Image snapshot = GrabSnapshotForTestWindow(); gfx 204 ui/snapshot/snapshot_aura_unittest.cc test_screen()->SetDisplayRotation(gfx::Display::ROTATE_90); gfx 206 ui/snapshot/snapshot_aura_unittest.cc gfx::Rect test_bounds(100, 100, 300, 200); gfx 210 ui/snapshot/snapshot_aura_unittest.cc gfx::Image snapshot = GrabSnapshotForTestWindow(); gfx 219 ui/snapshot/snapshot_aura_unittest.cc gfx::Rect test_bounds(100, 100, 300, 200); gfx 224 ui/snapshot/snapshot_aura_unittest.cc gfx::SizeF snapshot_size(test_bounds.size()); gfx 226 ui/snapshot/snapshot_aura_unittest.cc gfx::Image snapshot = GrabSnapshotForTestWindow(); gfx 227 ui/snapshot/snapshot_aura_unittest.cc EXPECT_EQ(gfx::ToRoundedSize(snapshot_size).ToString(), gfx 235 ui/snapshot/snapshot_aura_unittest.cc gfx::Rect test_bounds(100, 100, 150, 100); gfx 240 ui/snapshot/snapshot_aura_unittest.cc gfx::SizeF snapshot_size(test_bounds.size()); gfx 243 ui/snapshot/snapshot_aura_unittest.cc gfx::Image snapshot = GrabSnapshotForTestWindow(); gfx 244 ui/snapshot/snapshot_aura_unittest.cc EXPECT_EQ(gfx::ToRoundedSize(snapshot_size).ToString(), gfx 252 ui/snapshot/snapshot_aura_unittest.cc test_screen()->SetDisplayRotation(gfx::Display::ROTATE_90); gfx 254 ui/snapshot/snapshot_aura_unittest.cc gfx::Rect test_bounds(100, 100, 300, 200); gfx 259 ui/snapshot/snapshot_aura_unittest.cc gfx::SizeF snapshot_size(test_bounds.size()); gfx 261 ui/snapshot/snapshot_aura_unittest.cc gfx::Image snapshot = GrabSnapshotForTestWindow(); gfx 262 ui/snapshot/snapshot_aura_unittest.cc EXPECT_EQ(gfx::ToRoundedSize(snapshot_size).ToString(), gfx 271 ui/snapshot/snapshot_aura_unittest.cc test_screen()->SetDisplayRotation(gfx::Display::ROTATE_90); gfx 273 ui/snapshot/snapshot_aura_unittest.cc gfx::Rect test_bounds(20, 30, 150, 100); gfx 278 ui/snapshot/snapshot_aura_unittest.cc gfx::SizeF snapshot_size(test_bounds.size()); gfx 281 ui/snapshot/snapshot_aura_unittest.cc gfx::Image snapshot = GrabSnapshotForTestWindow(); gfx 282 ui/snapshot/snapshot_aura_unittest.cc EXPECT_EQ(gfx::ToRoundedSize(snapshot_size).ToString(), gfx 34 ui/snapshot/snapshot_gtk.cc bool GrabViewSnapshot(gfx::NativeView view_handle, gfx 36 ui/snapshot/snapshot_gtk.cc const gfx::Rect& snapshot_bounds) { gfx 41 ui/snapshot/snapshot_gtk.cc gfx::Rect window_bounds; gfx 80 ui/snapshot/snapshot_gtk.cc bool GrabWindowSnapshot(gfx::NativeWindow window_handle, gfx 82 ui/snapshot/snapshot_gtk.cc const gfx::Rect& snapshot_bounds) { gfx 88 ui/snapshot/snapshot_gtk.cc gfx::NativeWindow window, gfx 89 ui/snapshot/snapshot_gtk.cc const gfx::Rect& snapshot_bounds, gfx 90 ui/snapshot/snapshot_gtk.cc const gfx::Size& target_size, gfx 93 ui/snapshot/snapshot_gtk.cc callback.Run(gfx::Image()); gfx 97 ui/snapshot/snapshot_gtk.cc gfx::NativeView view, gfx 98 ui/snapshot/snapshot_gtk.cc const gfx::Rect& source_rect, gfx 105 ui/snapshot/snapshot_gtk.cc gfx::NativeWindow window, gfx 106 ui/snapshot/snapshot_gtk.cc const gfx::Rect& source_rect, gfx 19 ui/snapshot/snapshot_win.cc gfx::Rect GetWindowBounds(HWND window_handle) { gfx 33 ui/snapshot/snapshot_win.cc return gfx::Rect(content_rect.right - content_rect.left, gfx 44 ui/snapshot/snapshot_win.cc const gfx::Rect& snapshot_bounds, gfx 54 ui/snapshot/snapshot_win.cc gfx::CreateBitmapHeader(snapshot_bounds.width(), gfx 84 ui/snapshot/snapshot_win.cc if (snapshot_bounds.origin() == gfx::Point() && print_window && window_handle) gfx 93 ui/snapshot/snapshot_win.cc gfx::PNGCodec::Encode(bit_ptr, gfx::PNGCodec::FORMAT_BGRA, gfx 96 ui/snapshot/snapshot_win.cc std::vector<gfx::PNGCodec::Comment>(), gfx 108 ui/snapshot/snapshot_win.cc bool GrabViewSnapshot(gfx::NativeView view_handle, gfx 110 ui/snapshot/snapshot_win.cc const gfx::Rect& snapshot_bounds) { gfx 114 ui/snapshot/snapshot_win.cc bool GrabWindowSnapshot(gfx::NativeWindow window_handle, gfx 116 ui/snapshot/snapshot_win.cc const gfx::Rect& snapshot_bounds) { gfx 123 ui/snapshot/snapshot_win.cc gfx::NativeWindow window, gfx 124 ui/snapshot/snapshot_win.cc const gfx::Rect& snapshot_bounds, gfx 125 ui/snapshot/snapshot_win.cc const gfx::Size& target_size, gfx 128 ui/snapshot/snapshot_win.cc callback.Run(gfx::Image()); gfx 132 ui/snapshot/snapshot_win.cc gfx::NativeView view, gfx 133 ui/snapshot/snapshot_win.cc const gfx::Rect& source_rect, gfx 141 ui/snapshot/snapshot_win.cc gfx::NativeWindow window, gfx 142 ui/snapshot/snapshot_win.cc const gfx::Rect& source_rect, gfx 14 ui/snapshot/snapshot_win.h namespace gfx { gfx 26 ui/snapshot/snapshot_win.h const gfx::Rect& snapshot_bounds, gfx 10 ui/snapshot/test/snapshot_desktop.h namespace gfx { gfx 20 ui/snapshot/test/snapshot_desktop.h const gfx::Rect& snapshot_bounds, gfx 11 ui/snapshot/test/snapshot_desktop_win.cc bool GrabDesktopSnapshot(const gfx::Rect& snapshot_bounds, gfx 27 ui/surface/accelerated_surface_mac.cc gfx::GLContext* share_context, gfx 29 ui/surface/accelerated_surface_mac.cc gfx::GpuPreference gpu_preference) { gfx 33 ui/surface/accelerated_surface_mac.cc DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone); gfx 37 ui/surface/accelerated_surface_mac.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL && gfx 38 ui/surface/accelerated_surface_mac.cc gfx::GetGLImplementation() != gfx::kGLImplementationAppleGL) gfx 41 ui/surface/accelerated_surface_mac.cc gl_surface_ = gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1)); gfx 47 ui/surface/accelerated_surface_mac.cc gfx::GLShareGroup* share_group = gfx 50 ui/surface/accelerated_surface_mac.cc gl_context_ = gfx::GLContext::CreateGLContext( gfx 137 ui/surface/accelerated_surface_mac.cc const gfx::Size& size) { gfx 162 ui/surface/accelerated_surface_mac.cc gfx::Size AcceleratedSurface::ClampToValidDimensions(const gfx::Size& size) { gfx 163 ui/surface/accelerated_surface_mac.cc return gfx::Size(std::max(size.width(), 1), std::max(size.height(), 1)); gfx 172 ui/surface/accelerated_surface_mac.cc void AcceleratedSurface::Clear(const gfx::Rect& rect) { gfx 182 ui/surface/accelerated_surface_mac.cc uint32 AcceleratedSurface::SetSurfaceSize(const gfx::Size& size) { gfx 192 ui/surface/accelerated_surface_mac.cc if (gfx::GetGLImplementation() != gfx::kGLImplementationDesktopGL) gfx 203 ui/surface/accelerated_surface_mac.cc gfx::Size clamped_size = ClampToValidDimensions(size); gfx 26 ui/surface/accelerated_surface_mac.h namespace gfx { gfx 51 ui/surface/accelerated_surface_mac.h bool Initialize(gfx::GLContext* share_context, gfx 53 ui/surface/accelerated_surface_mac.h gfx::GpuPreference gpu_preference); gfx 63 ui/surface/accelerated_surface_mac.h uint32 SetSurfaceSize(const gfx::Size& size); gfx 73 ui/surface/accelerated_surface_mac.h void Clear(const gfx::Rect& rect); gfx 100 ui/surface/accelerated_surface_mac.h gfx::Size GetSize() const { return surface_size_; } gfx 106 ui/surface/accelerated_surface_mac.h void AllocateRenderBuffers(GLenum target, const gfx::Size& size); gfx 115 ui/surface/accelerated_surface_mac.h gfx::Size ClampToValidDimensions(const gfx::Size& size); gfx 119 ui/surface/accelerated_surface_mac.h scoped_refptr<gfx::GLSurface> gl_surface_; gfx 120 ui/surface/accelerated_surface_mac.h scoped_refptr<gfx::GLContext> gl_context_; gfx 126 ui/surface/accelerated_surface_mac.h gfx::Size surface_size_; gfx 131 ui/surface/accelerated_surface_mac.h gfx::Size real_surface_size_; gfx 20 ui/v2/public/layout.h const gfx::Rect& requested_bounds); gfx 24 ui/v2/public/layout.h void SetChildBoundsDirect(View* child, const gfx::Rect& bounds); gfx 10 ui/v2/public/painter.h namespace gfx { gfx 20 ui/v2/public/painter.h virtual void Paint(gfx::Canvas* canvas) = 0; gfx 57 ui/v2/public/view.h void SetBounds(const gfx::Rect& bounds); gfx 58 ui/v2/public/view.h gfx::Rect bounds() const { return bounds_; } gfx 92 ui/v2/public/view.h gfx::Rect bounds_; gfx 10 ui/v2/public/view_observer.h namespace gfx { gfx 54 ui/v2/public/view_observer.h const gfx::Rect& old_bounds, gfx 55 ui/v2/public/view_observer.h const gfx::Rect& new_bounds) {} gfx 18 ui/v2/src/layout.cc const gfx::Rect& requested_bounds) { gfx 25 ui/v2/src/layout.cc void Layout::SetChildBoundsDirect(View* child, const gfx::Rect& bounds) { gfx 128 ui/v2/src/view.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE { gfx 195 ui/v2/src/view.cc void View::SetBounds(const gfx::Rect& bounds) { gfx 196 ui/v2/src/view.cc gfx::Rect old_bounds = bounds_; gfx 11 ui/v2/src/view_private.h namespace gfx { gfx 30 ui/v2/src/view_private.h void set_bounds(const gfx::Rect& bounds) { view_->bounds_ = bounds; } gfx 424 ui/v2/src/view_unittest.cc typedef std::pair<gfx::Rect, gfx::Rect> BoundsChange; gfx 438 ui/v2/src/view_unittest.cc const gfx::Rect& old_bounds, gfx 439 ui/v2/src/view_unittest.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 454 ui/v2/src/view_unittest.cc gfx::Rect new_bounds(0, 0, 10, 10); gfx 458 ui/v2/src/view_unittest.cc EXPECT_EQ(gfx::Rect(), o1.bounds_changes().front().first); gfx 22 ui/views/accessibility/native_view_accessibility.cc gfx::NativeViewAccessible NativeViewAccessibility::GetNativeObject() { gfx 23 ui/views/accessibility/native_view_accessibility.h virtual gfx::NativeViewAccessible GetNativeObject(); gfx 241 ui/views/accessibility/native_view_accessibility_win.cc gfx::NativeViewAccessible NativeViewAccessibilityWin::GetNativeObject() { gfx 273 ui/views/accessibility/native_view_accessibility_win.cc gfx::Point point(x_left, y_top); gfx 290 ui/views/accessibility/native_view_accessibility_win.cc gfx::Point point_in_child_coords(point); gfx 346 ui/views/accessibility/native_view_accessibility_win.cc gfx::Point topleft(view_->bounds().origin()); gfx 582 ui/views/accessibility/native_view_accessibility_win.cc view_->GetTooltipText(gfx::Point(), &temp_desc); gfx 64 ui/views/accessibility/native_view_accessibility_win.h virtual gfx::NativeViewAccessible GetNativeObject() OVERRIDE; gfx 79 ui/views/accessible_pane_view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 109 ui/views/accessible_pane_view_unittest.cc params_main.bounds = gfx::Rect(0, 0, 20, 20); gfx 122 ui/views/accessible_pane_view_unittest.cc params_bar.bounds = gfx::Rect(50, 50, 650, 650); gfx 154 ui/views/accessible_pane_view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 184 ui/views/accessible_pane_view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 16 ui/views/animation/bounds_animator.cc using gfx::Animation; gfx 17 ui/views/animation/bounds_animator.cc using gfx::AnimationContainer; gfx 18 ui/views/animation/bounds_animator.cc using gfx::SlideAnimation; gfx 19 ui/views/animation/bounds_animator.cc using gfx::Tween; gfx 42 ui/views/animation/bounds_animator.cc void BoundsAnimator::AnimateViewTo(View* view, const gfx::Rect& target) { gfx 73 ui/views/animation/bounds_animator.cc void BoundsAnimator::SetTargetBounds(View* view, const gfx::Rect& target) { gfx 82 ui/views/animation/bounds_animator.cc gfx::Rect BoundsAnimator::GetTargetBounds(View* view) { gfx 235 ui/views/animation/bounds_animator.cc gfx::Rect new_bounds = gfx 238 ui/views/animation/bounds_animator.cc gfx::Rect total_bounds = gfx::UnionRects(new_bounds, view->bounds()); gfx 19 ui/views/animation/bounds_animator.h namespace gfx { gfx 38 ui/views/animation/bounds_animator.h class VIEWS_EXPORT BoundsAnimator : public gfx::AnimationDelegate, gfx 39 ui/views/animation/bounds_animator.h public gfx::AnimationContainerObserver { gfx 43 ui/views/animation/bounds_animator.h class OwnedAnimationDelegate : public gfx::AnimationDelegate { gfx 55 ui/views/animation/bounds_animator.h void AnimateViewTo(View* view, const gfx::Rect& target); gfx 60 ui/views/animation/bounds_animator.h void SetTargetBounds(View* view, const gfx::Rect& target); gfx 64 ui/views/animation/bounds_animator.h gfx::Rect GetTargetBounds(View* view); gfx 68 ui/views/animation/bounds_animator.h void SetAnimationForView(View* view, gfx::SlideAnimation* animation); gfx 72 ui/views/animation/bounds_animator.h const gfx::SlideAnimation* GetAnimationForView(View* view); gfx 81 ui/views/animation/bounds_animator.h gfx::AnimationDelegate* delegate, gfx 102 ui/views/animation/bounds_animator.h void set_tween_type(gfx::Tween::Type type) { tween_type_ = type; } gfx 109 ui/views/animation/bounds_animator.h virtual gfx::SlideAnimation* CreateAnimation(); gfx 123 ui/views/animation/bounds_animator.h gfx::Rect start_bounds; gfx 126 ui/views/animation/bounds_animator.h gfx::Rect target_bounds; gfx 129 ui/views/animation/bounds_animator.h gfx::SlideAnimation* animation; gfx 132 ui/views/animation/bounds_animator.h gfx::AnimationDelegate* delegate; gfx 143 ui/views/animation/bounds_animator.h typedef std::map<const gfx::Animation*, View*> AnimationToViewMap; gfx 156 ui/views/animation/bounds_animator.h gfx::Animation* ResetAnimationForView(View* view); gfx 159 ui/views/animation/bounds_animator.h void AnimationEndedOrCanceled(const gfx::Animation* animation, gfx 163 ui/views/animation/bounds_animator.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 164 ui/views/animation/bounds_animator.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 165 ui/views/animation/bounds_animator.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 169 ui/views/animation/bounds_animator.h gfx::AnimationContainer* container) OVERRIDE; gfx 171 ui/views/animation/bounds_animator.h gfx::AnimationContainer* container) OVERRIDE; gfx 179 ui/views/animation/bounds_animator.h scoped_refptr<gfx::AnimationContainer> container_; gfx 191 ui/views/animation/bounds_animator.h gfx::Rect repaint_bounds_; gfx 195 ui/views/animation/bounds_animator.h gfx::Tween::Type tween_type_; gfx 12 ui/views/animation/bounds_animator_unittest.cc using gfx::Animation; gfx 13 ui/views/animation/bounds_animator_unittest.cc using gfx::SlideAnimation; gfx 14 ui/views/animation/bounds_animator_unittest.cc using gfx::TestAnimationDelegate; gfx 75 ui/views/animation/bounds_animator_unittest.cc virtual void SchedulePaintInRect(const gfx::Rect& r) OVERRIDE { gfx 82 ui/views/animation/bounds_animator_unittest.cc const gfx::Rect& dirty_rect() const { return dirty_rect_; } gfx 85 ui/views/animation/bounds_animator_unittest.cc gfx::Rect dirty_rect_; gfx 114 ui/views/animation/bounds_animator_unittest.cc gfx::Rect initial_bounds(0, 0, 10, 10); gfx 116 ui/views/animation/bounds_animator_unittest.cc gfx::Rect target_bounds(10, 10, 20, 20); gfx 132 ui/views/animation/bounds_animator_unittest.cc EXPECT_EQ(gfx::UnionRects(target_bounds, initial_bounds), gfx 138 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); gfx 154 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); gfx 157 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); gfx 168 ui/views/animation/bounds_animator_unittest.cc animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); gfx 54 ui/views/animation/scroll_animator.cc animation_.reset(new gfx::SlideAnimation(this)); gfx 64 ui/views/animation/scroll_animator.cc void ScrollAnimator::AnimationEnded(const gfx::Animation* animation) { gfx 68 ui/views/animation/scroll_animator.cc void ScrollAnimator::AnimationProgressed(const gfx::Animation* animation) { gfx 78 ui/views/animation/scroll_animator.cc void ScrollAnimator::AnimationCanceled(const gfx::Animation* animation) { gfx 13 ui/views/animation/scroll_animator.h namespace gfx { gfx 28 ui/views/animation/scroll_animator.h class VIEWS_EXPORT ScrollAnimator : public gfx::AnimationDelegate { gfx 44 ui/views/animation/scroll_animator.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 45 ui/views/animation/scroll_animator.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 46 ui/views/animation/scroll_animator.h virtual void AnimationCanceled(const gfx::Animation* animation) OVERRIDE; gfx 56 ui/views/animation/scroll_animator.h scoped_ptr<gfx::SlideAnimation> animation_; gfx 25 ui/views/background.cc virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE { gfx 48 ui/views/background.cc virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE { gfx 18 ui/views/background.h namespace gfx { gfx 80 ui/views/background.h virtual void Paint(gfx::Canvas* canvas, View* view) const = 0; gfx 23 ui/views/border.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; gfx 24 ui/views/border.cc virtual gfx::Insets GetInsets() const OVERRIDE; gfx 25 ui/views/border.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 29 ui/views/border.cc const gfx::Insets insets_; gfx 43 ui/views/border.cc void SidedSolidBorder::Paint(const View& view, gfx::Canvas* canvas) { gfx 45 ui/views/border.cc canvas->FillRect(gfx::Rect(0, 0, view.width(), insets_.top()), color_); gfx 47 ui/views/border.cc canvas->FillRect(gfx::Rect(0, 0, insets_.left(), view.height()), color_); gfx 49 ui/views/border.cc canvas->FillRect(gfx::Rect(0, view.height() - insets_.bottom(), view.width(), gfx 52 ui/views/border.cc canvas->FillRect(gfx::Rect(view.width() - insets_.right(), 0, insets_.right(), gfx 56 ui/views/border.cc gfx::Insets SidedSolidBorder::GetInsets() const { gfx 60 ui/views/border.cc gfx::Size SidedSolidBorder::GetMinimumSize() const { gfx 61 ui/views/border.cc return gfx::Size(insets_.width(), insets_.height()); gfx 81 ui/views/border.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE {} gfx 83 ui/views/border.cc virtual gfx::Insets GetInsets() const OVERRIDE { gfx 87 ui/views/border.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 88 ui/views/border.cc return gfx::Size(); gfx 92 ui/views/border.cc const gfx::Insets insets_; gfx 99 ui/views/border.cc explicit BorderPainter(Painter* painter, const gfx::Insets& insets) gfx 108 ui/views/border.cc virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE { gfx 112 ui/views/border.cc virtual gfx::Insets GetInsets() const OVERRIDE { gfx 116 ui/views/border.cc virtual gfx::Size GetMinimumSize() const OVERRIDE { gfx 122 ui/views/border.cc const gfx::Insets insets_; gfx 165 ui/views/border.cc const gfx::Insets& insets) { gfx 14 ui/views/border.h namespace gfx{ gfx 71 ui/views/border.h const gfx::Insets& insets); gfx 74 ui/views/border.h virtual void Paint(const View& view, gfx::Canvas* canvas) = 0; gfx 77 ui/views/border.h virtual gfx::Insets GetInsets() const = 0; gfx 85 ui/views/border.h virtual gfx::Size GetMinimumSize() const = 0; gfx 33 ui/views/bubble/bubble_border.cc gfx::ImageSkia left_arrow; gfx 34 ui/views/bubble/bubble_border.cc gfx::ImageSkia top_arrow; gfx 35 ui/views/bubble/bubble_border.cc gfx::ImageSkia right_arrow; gfx 36 ui/views/bubble/bubble_border.cc gfx::ImageSkia bottom_arrow; gfx 166 ui/views/bubble/bubble_border.cc gfx::Rect BubbleBorder::GetBounds(const gfx::Rect& anchor_rect, gfx 167 ui/views/bubble/bubble_border.cc const gfx::Size& contents_size) const { gfx 172 ui/views/bubble/bubble_border.cc const gfx::Size size(GetSizeForContentsSize(contents_size)); gfx 204 ui/views/bubble/bubble_border.cc return gfx::Rect(x, y, size.width(), size.height()); gfx 215 ui/views/bubble/bubble_border.cc int BubbleBorder::GetArrowOffset(const gfx::Size& border_size) const { gfx 227 ui/views/bubble/bubble_border.cc void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) { gfx 228 ui/views/bubble/bubble_border.cc gfx::Rect bounds(view.GetContentsBounds()); gfx 230 ui/views/bubble/bubble_border.cc const gfx::Rect arrow_bounds = GetArrowRect(view.GetLocalBounds()); gfx 238 ui/views/bubble/bubble_border.cc SkRect arrow_rect(gfx::RectToSkRect(arrow_bounds)); gfx 246 ui/views/bubble/bubble_border.cc gfx::Insets BubbleBorder::GetInsets() const { gfx 250 ui/views/bubble/bubble_border.cc return gfx::Insets(inset, inset, inset, inset); gfx 258 ui/views/bubble/bubble_border.cc gfx::Insets(first_inset, inset, second_inset, inset) : gfx 259 ui/views/bubble/bubble_border.cc gfx::Insets(inset, first_inset, inset, second_inset); gfx 262 ui/views/bubble/bubble_border.cc gfx::Size BubbleBorder::GetMinimumSize() const { gfx 263 ui/views/bubble/bubble_border.cc return GetSizeForContentsSize(gfx::Size()); gfx 266 ui/views/bubble/bubble_border.cc gfx::Size BubbleBorder::GetSizeForContentsSize( gfx 267 ui/views/bubble/bubble_border.cc const gfx::Size& contents_size) const { gfx 269 ui/views/bubble/bubble_border.cc gfx::Size size(contents_size); gfx 270 ui/views/bubble/bubble_border.cc const gfx::Insets insets = GetInsets(); gfx 281 ui/views/bubble/bubble_border.cc size.SetToMax(gfx::Size(min, min)); gfx 283 ui/views/bubble/bubble_border.cc size.SetToMax(gfx::Size(min_with_arrow_width, min_with_arrow_thickness)); gfx 285 ui/views/bubble/bubble_border.cc size.SetToMax(gfx::Size(min_with_arrow_thickness, min_with_arrow_width)); gfx 289 ui/views/bubble/bubble_border.cc gfx::ImageSkia* BubbleBorder::GetArrowImage() const { gfx 300 ui/views/bubble/bubble_border.cc gfx::Rect BubbleBorder::GetArrowRect(const gfx::Rect& bounds) const { gfx 302 ui/views/bubble/bubble_border.cc return gfx::Rect(); gfx 304 ui/views/bubble/bubble_border.cc gfx::Point origin; gfx 307 ui/views/bubble/bubble_border.cc const gfx::Insets insets = GetInsets(); gfx 326 ui/views/bubble/bubble_border.cc return gfx::Rect(origin, GetArrowImage()->size()); gfx 329 ui/views/bubble/bubble_border.cc void BubbleBorder::DrawArrow(gfx::Canvas* canvas, gfx 330 ui/views/bubble/bubble_border.cc const gfx::Rect& arrow_bounds) const { gfx 362 ui/views/bubble/bubble_border.cc void BubbleBackground::Paint(gfx::Canvas* canvas, views::View* view) const { gfx 372 ui/views/bubble/bubble_border.cc gfx::Rect bounds(view->GetLocalBounds()); gfx 376 ui/views/bubble/bubble_border.cc path.addRoundRect(gfx::RectToSkRect(bounds), radius, radius); gfx 13 ui/views/bubble/bubble_border.h namespace gfx { gfx 151 ui/views/bubble/bubble_border.h virtual gfx::Rect GetBounds(const gfx::Rect& anchor_rect, gfx 152 ui/views/bubble/bubble_border.h const gfx::Size& contents_size) const; gfx 161 ui/views/bubble/bubble_border.h int GetArrowOffset(const gfx::Size& border_size) const; gfx 164 ui/views/bubble/bubble_border.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; gfx 165 ui/views/bubble/bubble_border.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 166 ui/views/bubble/bubble_border.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 169 ui/views/bubble/bubble_border.h gfx::Size GetSizeForContentsSize(const gfx::Size& contents_size) const; gfx 170 ui/views/bubble/bubble_border.h gfx::ImageSkia* GetArrowImage() const; gfx 171 ui/views/bubble/bubble_border.h gfx::Rect GetArrowRect(const gfx::Rect& bounds) const; gfx 172 ui/views/bubble/bubble_border.h void DrawArrow(gfx::Canvas* canvas, const gfx::Rect& arrow_bounds) const; gfx 192 ui/views/bubble/bubble_border.h virtual void Paint(gfx::Canvas* canvas, View* view) const OVERRIDE; gfx 206 ui/views/bubble/bubble_border_unittest.cc gfx::Rect anchor = gfx::Rect(100, 100, 20, 20); gfx 207 ui/views/bubble/bubble_border_unittest.cc gfx::Size contents = gfx::Size(10, 10); gfx 212 ui/views/bubble/bubble_border_unittest.cc gfx::Rect visible_tip_1 = b1.GetBounds(anchor, contents); gfx 218 ui/views/bubble/bubble_border_unittest.cc gfx::Rect invisible_tip_1 = b1.GetBounds(anchor, contents); gfx 228 ui/views/bubble/bubble_border_unittest.cc gfx::Rect visible_tip_2 = b2.GetBounds(anchor, contents); gfx 234 ui/views/bubble/bubble_border_unittest.cc gfx::Rect invisible_tip_2 = b2.GetBounds(anchor, contents); gfx 176 ui/views/bubble/bubble_delegate.cc const gfx::Rect& new_bounds) { gfx 189 ui/views/bubble/bubble_delegate.cc gfx::Rect BubbleDelegateView::GetAnchorRect() { gfx 257 ui/views/bubble/bubble_delegate.cc void BubbleDelegateView::SetAnchorRect(const gfx::Rect& rect) { gfx 273 ui/views/bubble/bubble_delegate.cc gfx::Rect BubbleDelegateView::GetBubbleBounds() { gfx 14 ui/views/bubble/bubble_delegate.h namespace gfx { gfx 50 ui/views/bubble/bubble_delegate.h const gfx::Rect& new_bounds) OVERRIDE; gfx 62 ui/views/bubble/bubble_delegate.h const gfx::Rect& anchor_rect() const { return anchor_rect_; } gfx 76 ui/views/bubble/bubble_delegate.h const gfx::Insets& margins() const { return margins_; } gfx 77 ui/views/bubble/bubble_delegate.h void set_margins(const gfx::Insets& margins) { margins_ = margins; } gfx 79 ui/views/bubble/bubble_delegate.h const gfx::Insets& anchor_view_insets() const { return anchor_view_insets_; } gfx 80 ui/views/bubble/bubble_delegate.h void set_anchor_view_insets(const gfx::Insets& i) { anchor_view_insets_ = i; } gfx 82 ui/views/bubble/bubble_delegate.h gfx::NativeView parent_window() const { return parent_window_; } gfx 83 ui/views/bubble/bubble_delegate.h void set_parent_window(gfx::NativeView window) { parent_window_ = window; } gfx 101 ui/views/bubble/bubble_delegate.h virtual gfx::Rect GetAnchorRect(); gfx 121 ui/views/bubble/bubble_delegate.h virtual gfx::Rect GetBubbleBounds(); gfx 135 ui/views/bubble/bubble_delegate.h void SetAnchorRect(const gfx::Rect& rect); gfx 166 ui/views/bubble/bubble_delegate.h gfx::Rect anchor_rect_; gfx 182 ui/views/bubble/bubble_delegate.h gfx::Insets margins_; gfx 185 ui/views/bubble/bubble_delegate.h gfx::Insets anchor_view_insets_; gfx 202 ui/views/bubble/bubble_delegate.h gfx::NativeView parent_window_; gfx 27 ui/views/bubble/bubble_delegate_unittest.cc void SetAnchorRectForTest(gfx::Rect rect) { gfx 37 ui/views/bubble/bubble_delegate_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { return gfx::Size(200, 200); } gfx 130 ui/views/bubble/bubble_delegate_unittest.cc const gfx::Rect set_anchor_rect = gfx::Rect(10, 10, 100, 100); gfx 132 ui/views/bubble/bubble_delegate_unittest.cc const gfx::Rect view_rect = bubble_delegate->GetAnchorRect(); gfx 156 ui/views/bubble/bubble_delegate_unittest.cc const gfx::Rect view_rect = bubble_delegate->GetAnchorRect(); gfx 159 ui/views/bubble/bubble_delegate_unittest.cc const gfx::Rect view_rect_2 = bubble_delegate->GetAnchorRect(); gfx 231 ui/views/bubble/bubble_delegate_unittest.cc gfx::Point point(cases[i].point, cases[i].point); gfx 247 ui/views/bubble/bubble_delegate_unittest.cc anchor_widget->SetBounds(gfx::Rect(10, 10, 100, 100)); gfx 30 ui/views/bubble/bubble_frame_view.cc int GetOffScreenLength(const gfx::Rect& available_bounds, gfx 31 ui/views/bubble/bubble_frame_view.cc const gfx::Rect& window_bounds, gfx 59 ui/views/bubble/bubble_frame_view.cc gfx::Insets BubbleFrameView::GetTitleInsets() { gfx 60 ui/views/bubble/bubble_frame_view.cc return gfx::Insets(kTitleTopInset, kTitleLeftInset, kTitleBottomInset, 0); gfx 63 ui/views/bubble/bubble_frame_view.cc BubbleFrameView::BubbleFrameView(const gfx::Insets& content_margins) gfx 72 ui/views/bubble/bubble_frame_view.cc title_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 90 ui/views/bubble/bubble_frame_view.cc gfx::Rect BubbleFrameView::GetBoundsForClientView() const { gfx 91 ui/views/bubble/bubble_frame_view.cc gfx::Rect client_bounds = GetLocalBounds(); gfx 97 ui/views/bubble/bubble_frame_view.cc gfx::Rect BubbleFrameView::GetWindowBoundsForClientBounds( gfx 98 ui/views/bubble/bubble_frame_view.cc const gfx::Rect& client_bounds) const { gfx 100 ui/views/bubble/bubble_frame_view.cc gfx::Rect(), client_bounds.size(), false); gfx 103 ui/views/bubble/bubble_frame_view.cc int BubbleFrameView::NonClientHitTest(const gfx::Point& point) { gfx 111 ui/views/bubble/bubble_frame_view.cc gfx::Rect sys_rect(0, 0, title_->x(), title_->y()); gfx 112 ui/views/bubble/bubble_frame_view.cc sys_rect.set_origin(gfx::Point(GetMirroredXForRect(sys_rect), 0)); gfx 122 ui/views/bubble/bubble_frame_view.cc void BubbleFrameView::GetWindowMask(const gfx::Size& size, gfx 123 ui/views/bubble/bubble_frame_view.cc gfx::Path* window_mask) { gfx 134 ui/views/bubble/bubble_frame_view.cc const gfx::Insets border_insets = bubble_border_->GetInsets(); gfx 163 ui/views/bubble/bubble_frame_view.cc gfx::Insets BubbleFrameView::GetInsets() const { gfx 164 ui/views/bubble/bubble_frame_view.cc gfx::Insets insets = content_margins_; gfx 168 ui/views/bubble/bubble_frame_view.cc insets += gfx::Insets(std::max(title_height, close_height), 0, 0, 0); gfx 172 ui/views/bubble/bubble_frame_view.cc gfx::Size BubbleFrameView::GetPreferredSize() { gfx 176 ui/views/bubble/bubble_frame_view.cc gfx::Size BubbleFrameView::GetMinimumSize() { gfx 181 ui/views/bubble/bubble_frame_view.cc gfx::Rect bounds(GetContentsBounds()); gfx 187 ui/views/bubble/bubble_frame_view.cc close_->SetPosition(gfx::Point(bounds.right(), bounds.y() + 2)); gfx 189 ui/views/bubble/bubble_frame_view.cc gfx::Rect title_bounds(bounds); gfx 191 ui/views/bubble/bubble_frame_view.cc gfx::Size title_size(title_->GetPreferredSize()); gfx 193 ui/views/bubble/bubble_frame_view.cc title_size.SetToMin(gfx::Size(title_width, title_size.height())); gfx 199 ui/views/bubble/bubble_frame_view.cc gfx::Size size = titlebar_extra_view_->GetPreferredSize(); gfx 200 ui/views/bubble/bubble_frame_view.cc size.SetToMin(gfx::Size(std::max(0, extra_width), size.height())); gfx 201 ui/views/bubble/bubble_frame_view.cc gfx::Rect titlebar_extra_view_bounds( gfx 246 ui/views/bubble/bubble_frame_view.cc gfx::Rect BubbleFrameView::GetUpdatedWindowBounds(const gfx::Rect& anchor_rect, gfx 247 ui/views/bubble/bubble_frame_view.cc gfx::Size client_size, gfx 249 ui/views/bubble/bubble_frame_view.cc gfx::Size size(GetSizeForClientSize(client_size)); gfx 268 ui/views/bubble/bubble_frame_view.cc gfx::Rect BubbleFrameView::GetAvailableScreenBounds(const gfx::Rect& rect) { gfx 271 ui/views/bubble/bubble_frame_view.cc return gfx::Screen::GetNativeScreen()->GetDisplayNearestPoint( gfx 277 ui/views/bubble/bubble_frame_view.cc const gfx::Rect& anchor_rect, gfx 278 ui/views/bubble/bubble_frame_view.cc const gfx::Size& client_size) { gfx 280 ui/views/bubble/bubble_frame_view.cc gfx::Rect available_bounds(GetAvailableScreenBounds(anchor_rect)); gfx 281 ui/views/bubble/bubble_frame_view.cc gfx::Rect window_bounds(bubble_border_->GetBounds(anchor_rect, client_size)); gfx 288 ui/views/bubble/bubble_frame_view.cc gfx::Rect mirror_bounds = gfx 301 ui/views/bubble/bubble_frame_view.cc void BubbleFrameView::OffsetArrowIfOffScreen(const gfx::Rect& anchor_rect, gfx 302 ui/views/bubble/bubble_frame_view.cc const gfx::Size& client_size) { gfx 308 ui/views/bubble/bubble_frame_view.cc gfx::Rect window_bounds(bubble_border_->GetBounds(anchor_rect, client_size)); gfx 310 ui/views/bubble/bubble_frame_view.cc gfx::Rect available_bounds(GetAvailableScreenBounds(anchor_rect)); gfx 339 ui/views/bubble/bubble_frame_view.cc gfx::Size BubbleFrameView::GetSizeForClientSize(const gfx::Size& client_size) { gfx 348 ui/views/bubble/bubble_frame_view.cc gfx::Size size(client_size); gfx 349 ui/views/bubble/bubble_frame_view.cc size.SetToMax(gfx::Size(title_bar_width, 0)); gfx 350 ui/views/bubble/bubble_frame_view.cc const gfx::Insets insets(GetInsets()); gfx 30 ui/views/bubble/bubble_frame_view.h static gfx::Insets GetTitleInsets(); gfx 32 ui/views/bubble/bubble_frame_view.h explicit BubbleFrameView(const gfx::Insets& content_margins); gfx 36 ui/views/bubble/bubble_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 37 ui/views/bubble/bubble_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 38 ui/views/bubble/bubble_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 39 ui/views/bubble/bubble_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 40 ui/views/bubble/bubble_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 41 ui/views/bubble/bubble_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 47 ui/views/bubble/bubble_frame_view.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 48 ui/views/bubble/bubble_frame_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 49 ui/views/bubble/bubble_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 62 ui/views/bubble/bubble_frame_view.h gfx::Insets content_margins() const { return content_margins_; } gfx 69 ui/views/bubble/bubble_frame_view.h gfx::Rect GetUpdatedWindowBounds(const gfx::Rect& anchor_rect, gfx 70 ui/views/bubble/bubble_frame_view.h gfx::Size client_size, gfx 75 ui/views/bubble/bubble_frame_view.h virtual gfx::Rect GetAvailableScreenBounds(const gfx::Rect& rect); gfx 83 ui/views/bubble/bubble_frame_view.h const gfx::Rect& anchor_rect, gfx 84 ui/views/bubble/bubble_frame_view.h const gfx::Size& client_size); gfx 88 ui/views/bubble/bubble_frame_view.h void OffsetArrowIfOffScreen(const gfx::Rect& anchor_rect, gfx 89 ui/views/bubble/bubble_frame_view.h const gfx::Size& client_size); gfx 92 ui/views/bubble/bubble_frame_view.h gfx::Size GetSizeForClientSize(const gfx::Size& client_size); gfx 98 ui/views/bubble/bubble_frame_view.h gfx::Insets content_margins_; gfx 24 ui/views/bubble/bubble_frame_view_unittest.cc : BubbleFrameView(gfx::Insets(kMargin, kMargin, kMargin, kMargin)), gfx 25 ui/views/bubble/bubble_frame_view_unittest.cc available_bounds_(gfx::Rect(0, 0, 1000, 1000)) { gfx 32 ui/views/bubble/bubble_frame_view_unittest.cc virtual gfx::Rect GetAvailableScreenBounds(const gfx::Rect& rect) OVERRIDE { gfx 37 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect available_bounds_; gfx 51 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Insets insets = frame.bubble_border()->GetInsets(); gfx 59 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect window_bounds; gfx 61 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Insets insets = frame.bubble_border()->GetInsets(); gfx 67 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 100, 50, 50), // |anchor_rect| gfx 68 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 78 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 100, 50, 50), // |anchor_rect| gfx 79 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 89 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 100, 50, 50), // |anchor_rect| gfx 90 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 100 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 100, 50, 50), // |anchor_rect| gfx 101 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 111 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 100, 50, 50), // |anchor_rect| gfx 112 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 122 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 100, 50, 50), // |anchor_rect| gfx 123 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 133 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 900, 50, 50), // |anchor_rect| gfx 134 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 144 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 900, 50, 50), // |anchor_rect| gfx 145 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 156 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 900, 50, 50), // |anchor_rect| gfx 157 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 171 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( gfx 172 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(400, 100, 50, 50), // |anchor_rect| gfx 173 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 700), // |client_size| gfx 183 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( gfx 184 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 100, 50, 50), // |anchor_rect| gfx 185 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 700), // |client_size| gfx 192 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(300, 800, 50, 50), // |anchor_rect| gfx 193 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 200), // |client_size| gfx 200 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(800, 300, 50, 50), // |anchor_rect| gfx 201 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(200, 500), // |client_size| gfx 208 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 300, 50, 50), // |anchor_rect| gfx 209 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 218 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect window_bounds = frame.GetUpdatedWindowBounds( gfx 219 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 900, 50, 50), // |anchor_rect| gfx 220 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 232 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect window_bounds; gfx 237 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(500, 100, 50, 50), // |anchor_rect| gfx 238 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 245 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(500, 900, 50, 50), // |anchor_rect| gfx 246 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 253 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 400, 50, 50), // |anchor_rect| gfx 254 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 261 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 400, 50, 50), // |anchor_rect| gfx 262 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 270 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 100, 50, 50), // |anchor_rect| gfx 271 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 280 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 900, 50, 50), // |anchor_rect| gfx 281 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 291 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 100, 50, 50), // |anchor_rect| gfx 292 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 301 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 900, 50, 50), // |anchor_rect| gfx 302 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 312 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 100, 50, 50), // |anchor_rect| gfx 313 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 322 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 100, 50, 50), // |anchor_rect| gfx 323 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 333 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(100, 900, 50, 50), // |anchor_rect| gfx 334 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 343 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Rect(900, 900, 50, 50), // |anchor_rect| gfx 344 ui/views/bubble/bubble_frame_view_unittest.cc gfx::Size(500, 500), // |client_size| gfx 24 ui/views/bubble/bubble_window_targeter.cc gfx::Path* mask) const { gfx 26 ui/views/bubble/bubble_window_targeter.cc gfx::RectToSkRect(bubble_->GetBubbleFrameView()->GetContentsBounds())); gfx 26 ui/views/bubble/bubble_window_targeter.h gfx::Path* mask) const OVERRIDE; gfx 91 ui/views/bubble/bubble_window_targeter_unittest.cc gfx::Rect bubble_bounds = bubble_window->GetBoundsInRootWindow(); gfx 94 ui/views/bubble/bubble_window_targeter_unittest.cc bubble_delegate()->set_margins(gfx::Insets()); gfx 100 ui/views/bubble/bubble_window_targeter_unittest.cc bubble_delegate()->set_margins(gfx::Insets(20, 20, 20, 20)); gfx 109 ui/views/bubble/bubble_window_targeter_unittest.cc bubble_delegate()->set_margins(gfx::Insets(20, 20, 20, 20)); gfx 59 ui/views/bubble/tray_bubble_view.cc virtual bool Contains(const gfx::Point& screen_point, gfx 72 ui/views/bubble/tray_bubble_view.cc bool MouseMoveDetectorHost::Contains(const gfx::Point& screen_point, gfx 98 ui/views/bubble/tray_bubble_view.cc virtual gfx::Rect GetBounds(const gfx::Rect& position_relative_to, gfx 99 ui/views/bubble/tray_bubble_view.cc const gfx::Size& contents_size) const OVERRIDE { gfx 101 ui/views/bubble/tray_bubble_view.cc gfx::Rect rect = gfx 119 ui/views/bubble/tray_bubble_view.cc gfx::Size border_size(contents_size); gfx 120 ui/views/bubble/tray_bubble_view.cc gfx::Insets insets = GetInsets(); gfx 127 ui/views/bubble/tray_bubble_view.cc return gfx::Rect(x, y, border_size.width(), border_size.height()); gfx 140 ui/views/bubble/tray_bubble_view.cc gfx::Point pt(tray_arrow_offset_, 0); gfx 153 ui/views/bubble/tray_bubble_view.cc gfx::Point pt(0, tray_arrow_offset_); gfx 187 ui/views/bubble/tray_bubble_view.cc virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; gfx 208 ui/views/bubble/tray_bubble_view.cc void TrayBubbleContentMask::OnPaintLayer(gfx::Canvas* canvas) { gfx 210 ui/views/bubble/tray_bubble_view.cc path.addRoundRect(gfx::RectToSkRect(gfx::Rect(layer()->bounds().size())), gfx 252 ui/views/bubble/tray_bubble_view.cc gfx::Size size = child->GetPreferredSize(); gfx 294 ui/views/bubble/tray_bubble_view.cc TrayBubbleView* TrayBubbleView::Create(gfx::NativeView parent_window, gfx 317 ui/views/bubble/tray_bubble_view.cc TrayBubbleView::TrayBubbleView(gfx::NativeView parent_window, gfx 332 ui/views/bubble/tray_bubble_view.cc set_margins(gfx::Insets()); gfx 387 ui/views/bubble/tray_bubble_view.cc gfx::Insets TrayBubbleView::GetBorderInsets() const { gfx 397 ui/views/bubble/tray_bubble_view.cc gfx::Rect TrayBubbleView::GetAnchorRect() { gfx 399 ui/views/bubble/tray_bubble_view.cc return gfx::Rect(); gfx 419 ui/views/bubble/tray_bubble_view.cc void TrayBubbleView::GetWidgetHitTestMask(gfx::Path* mask) const { gfx 421 ui/views/bubble/tray_bubble_view.cc mask->addRect(gfx::RectToSkRect(GetBubbleFrameView()->GetContentsBounds())); gfx 424 ui/views/bubble/tray_bubble_view.cc gfx::Size TrayBubbleView::GetPreferredSize() { gfx 425 ui/views/bubble/tray_bubble_view.cc return gfx::Size(preferred_width_, GetHeightForWidth(preferred_width_)); gfx 428 ui/views/bubble/tray_bubble_view.cc gfx::Size TrayBubbleView::GetMaximumSize() { gfx 429 ui/views/bubble/tray_bubble_view.cc gfx::Size size = GetPreferredSize(); gfx 78 ui/views/bubble/tray_bubble_view.h virtual gfx::Rect GetAnchorRect(views::Widget* anchor_widget, gfx 114 ui/views/bubble/tray_bubble_view.h static TrayBubbleView* Create(gfx::NativeView parent_window, gfx 138 ui/views/bubble/tray_bubble_view.h gfx::Insets GetBorderInsets() const; gfx 153 ui/views/bubble/tray_bubble_view.h virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 156 ui/views/bubble/tray_bubble_view.h virtual gfx::Rect GetAnchorRect() OVERRIDE; gfx 159 ui/views/bubble/tray_bubble_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 160 ui/views/bubble/tray_bubble_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 170 ui/views/bubble/tray_bubble_view.h TrayBubbleView(gfx::NativeView parent_window, gfx 25 ui/views/button_drag_utils.cc const gfx::ImageSkia& icon, gfx 43 ui/views/button_drag_utils.cc gfx::Size prefsize = button.GetPreferredSize(); gfx 47 ui/views/button_drag_utils.cc scoped_ptr<gfx::Canvas> canvas( gfx 51 ui/views/button_drag_utils.cc gfx::Vector2d(prefsize.width() / 2, prefsize.height() / 2), data); gfx 13 ui/views/button_drag_utils.h namespace gfx { gfx 31 ui/views/button_drag_utils.h const gfx::ImageSkia& icon, gfx 66 ui/views/color_chooser/color_chooser_view.cc virtual void ProcessEventAtLocation(const gfx::Point& location) = 0; gfx 91 ui/views/color_chooser/color_chooser_view.cc void DrawGradientRect(const gfx::Rect& rect, SkColor start_color, gfx 93 ui/views/color_chooser/color_chooser_view.cc gfx::Canvas* canvas) { gfx 126 ui/views/color_chooser/color_chooser_view.cc virtual void ProcessEventAtLocation(const gfx::Point& point) OVERRIDE; gfx 129 ui/views/color_chooser/color_chooser_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 130 ui/views/color_chooser/color_chooser_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 156 ui/views/color_chooser/color_chooser_view.cc const gfx::Point& point) { gfx 167 ui/views/color_chooser/color_chooser_view.cc gfx::Size ColorChooserView::HueView::GetPreferredSize() { gfx 169 ui/views/color_chooser/color_chooser_view.cc return gfx::Size(kHueBarWidth + kHueIndicatorSize * 2 + kBorderWidth * 2, gfx 173 ui/views/color_chooser/color_chooser_view.cc void ColorChooserView::HueView::OnPaint(gfx::Canvas* canvas) { gfx 179 ui/views/color_chooser/color_chooser_view.cc canvas->FillRect(gfx::Rect(kHueIndicatorSize, 0, gfx 188 ui/views/color_chooser/color_chooser_view.cc canvas->FillRect(gfx::Rect(base_left, y + kBorderWidth, kHueBarWidth, 1), gfx 238 ui/views/color_chooser/color_chooser_view.cc virtual void ProcessEventAtLocation(const gfx::Point& point) OVERRIDE; gfx 241 ui/views/color_chooser/color_chooser_view.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 242 ui/views/color_chooser/color_chooser_view.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 246 ui/views/color_chooser/color_chooser_view.cc gfx::Point marker_position_; gfx 274 ui/views/color_chooser/color_chooser_view.cc if (gfx::Point(x, y) == marker_position_) gfx 283 ui/views/color_chooser/color_chooser_view.cc const gfx::Point& point) { gfx 295 ui/views/color_chooser/color_chooser_view.cc gfx::Size ColorChooserView::SaturationValueView::GetPreferredSize() { gfx 296 ui/views/color_chooser/color_chooser_view.cc return gfx::Size(kSaturationValueSize + kBorderWidth * 2, gfx 300 ui/views/color_chooser/color_chooser_view.cc void ColorChooserView::SaturationValueView::OnPaint(gfx::Canvas* canvas) { gfx 301 ui/views/color_chooser/color_chooser_view.cc gfx::Rect color_bounds = bounds(); gfx 322 ui/views/color_chooser/color_chooser_view.cc gfx::Rect(marker_position_.x(), gfx 327 ui/views/color_chooser/color_chooser_view.cc gfx::Rect(marker_position_.x() - kSaturationValueIndicatorSize, gfx 11 ui/views/context_menu_controller.h namespace gfx { gfx 34 ui/views/context_menu_controller.h const gfx::Point& point, gfx 31 ui/views/controls/button/blue_button.cc const gfx::Insets insets(5, 5, 5, 5); gfx 57 ui/views/controls/button/blue_button.cc if (!gfx::IsInvertedColorScheme()) { gfx 47 ui/views/controls/button/button.cc bool Button::GetTooltipText(const gfx::Point& p, gfx 59 ui/views/controls/button/button.h virtual bool GetTooltipText(const gfx::Point& p, gfx 21 ui/views/controls/button/checkbox.cc SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 26 ui/views/controls/button/checkbox.cc button_border->set_insets(gfx::Insets(0, 0, 0, 2)); gfx 69 ui/views/controls/button/checkbox.cc const gfx::Size preferred_size(LabelButton::GetPreferredSize()); gfx 70 ui/views/controls/button/checkbox.cc set_min_size(gfx::Size(0, preferred_size.height() + 4)); gfx 85 ui/views/controls/button/checkbox.cc gfx::Rect rect = label()->GetMirroredBounds(); gfx 88 ui/views/controls/button/checkbox.cc gfx::Insets(rect.y(), rect.x(), gfx 114 ui/views/controls/button/checkbox.cc const gfx::ImageSkia& Checkbox::GetImage(ButtonState for_state) { gfx 126 ui/views/controls/button/checkbox.cc const gfx::ImageSkia& image) { gfx 40 ui/views/controls/button/checkbox.h virtual const gfx::ImageSkia& GetImage(ButtonState for_state) OVERRIDE; gfx 47 ui/views/controls/button/checkbox.h const gfx::ImageSkia& image); gfx 61 ui/views/controls/button/checkbox.h gfx::ImageSkia images_[2][2][STATE_COUNT]; gfx 200 ui/views/controls/button/custom_button.cc gfx::Point(), gfx 201 ui/views/controls/button/custom_button.cc gfx::Point(), gfx 218 ui/views/controls/button/custom_button.cc gfx::Point(), gfx 219 ui/views/controls/button/custom_button.cc gfx::Point(), gfx 263 ui/views/controls/button/custom_button.cc gfx::Point(), gfx 264 ui/views/controls/button/custom_button.cc gfx::Point(), gfx 271 ui/views/controls/button/custom_button.cc void CustomButton::ShowContextMenu(const gfx::Point& p, gfx 315 ui/views/controls/button/custom_button.cc void CustomButton::AnimationProgressed(const gfx::Animation* animation) { gfx 329 ui/views/controls/button/custom_button.cc hover_animation_.reset(new gfx::ThrobAnimation(this)); gfx 13 ui/views/controls/button/custom_button.h namespace gfx { gfx 27 ui/views/controls/button/custom_button.h public gfx::AnimationDelegate { gfx 84 ui/views/controls/button/custom_button.h virtual void ShowContextMenu(const gfx::Point& p, gfx 91 ui/views/controls/button/custom_button.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 126 ui/views/controls/button/custom_button.h scoped_ptr<gfx::ThrobAnimation> hover_animation_; gfx 57 ui/views/controls/button/custom_button_unittest.cc params.bounds = gfx::Rect(0, 0, 650, 650); gfx 65 ui/views/controls/button/custom_button_unittest.cc gfx::Point cursor = gfx::Screen::GetScreenFor( gfx 67 ui/views/controls/button/custom_button_unittest.cc gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); gfx 74 ui/views/controls/button/custom_button_unittest.cc gfx::Point center(10, 10); gfx 121 ui/views/controls/button/custom_button_unittest.cc params.bounds = gfx::Rect(0, 0, 650, 650); gfx 42 ui/views/controls/button/image_button.cc const gfx::ImageSkia& ImageButton::GetImage(ButtonState state) const { gfx 46 ui/views/controls/button/image_button.cc void ImageButton::SetImage(ButtonState state, const gfx::ImageSkia* image) { gfx 47 ui/views/controls/button/image_button.cc images_[state] = image ? *image : gfx::ImageSkia(); gfx 52 ui/views/controls/button/image_button.cc const gfx::ImageSkia* image, gfx 53 ui/views/controls/button/image_button.cc const gfx::ImageSkia* mask) { gfx 55 ui/views/controls/button/image_button.cc background_image_ = gfx::ImageSkia(); gfx 59 ui/views/controls/button/image_button.cc background_image_ = gfx::ImageSkiaOperations::CreateButtonBackground(color, gfx 77 ui/views/controls/button/image_button.cc gfx::Size ImageButton::GetPreferredSize() { gfx 78 ui/views/controls/button/image_button.cc gfx::Size size = preferred_size_; gfx 80 ui/views/controls/button/image_button.cc size = gfx::Size(images_[STATE_NORMAL].width(), gfx 84 ui/views/controls/button/image_button.cc gfx::Insets insets = GetInsets(); gfx 93 ui/views/controls/button/image_button.cc void ImageButton::OnPaint(gfx::Canvas* canvas) { gfx 97 ui/views/controls/button/image_button.cc gfx::ImageSkia img = GetImageToPaint(); gfx 100 ui/views/controls/button/image_button.cc gfx::ScopedCanvas scoped(canvas); gfx 102 ui/views/controls/button/image_button.cc canvas->Translate(gfx::Vector2d(width(), 0)); gfx 106 ui/views/controls/button/image_button.cc gfx::Point position = ComputeImagePaintPosition(img); gfx 131 ui/views/controls/button/image_button.cc gfx::ImageSkia ImageButton::GetImageToPaint() { gfx 132 ui/views/controls/button/image_button.cc gfx::ImageSkia img; gfx 135 ui/views/controls/button/image_button.cc img = gfx::ImageSkiaOperations::CreateBlendedImage(images_[STATE_NORMAL], gfx 147 ui/views/controls/button/image_button.cc gfx::Point ImageButton::ComputeImagePaintPosition(const gfx::ImageSkia& image) { gfx 149 ui/views/controls/button/image_button.cc gfx::Rect rect = GetContentsBounds(); gfx 172 ui/views/controls/button/image_button.cc return gfx::Point(x, y); gfx 191 ui/views/controls/button/image_button.cc gfx::ImageSkia temp = images_[i]; gfx 202 ui/views/controls/button/image_button.cc const gfx::ImageSkia* image) { gfx 204 ui/views/controls/button/image_button.cc images_[state] = image ? *image : gfx::ImageSkia(); gfx 208 ui/views/controls/button/image_button.cc alternate_images_[state] = image ? *image : gfx::ImageSkia(); gfx 219 ui/views/controls/button/image_button.cc const gfx::ImageSkia& ToggleImageButton::GetImage(ButtonState state) const { gfx 226 ui/views/controls/button/image_button.cc const gfx::ImageSkia* image) { gfx 228 ui/views/controls/button/image_button.cc alternate_images_[state] = image ? *image : gfx::ImageSkia(); gfx 230 ui/views/controls/button/image_button.cc images_[state] = image ? *image : gfx::ImageSkia(); gfx 240 ui/views/controls/button/image_button.cc bool ToggleImageButton::GetTooltipText(const gfx::Point& p, gfx 251 ui/views/controls/button/image_button.cc GetTooltipText(gfx::Point(), &state->name); gfx 44 ui/views/controls/button/image_button.h virtual const gfx::ImageSkia& GetImage(ButtonState state) const; gfx 47 ui/views/controls/button/image_button.h virtual void SetImage(ButtonState state, const gfx::ImageSkia* image); gfx 51 ui/views/controls/button/image_button.h const gfx::ImageSkia* image, gfx 52 ui/views/controls/button/image_button.h const gfx::ImageSkia* mask); gfx 62 ui/views/controls/button/image_button.h void SetPreferredSize(const gfx::Size& preferred_size) { gfx 72 ui/views/controls/button/image_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 74 ui/views/controls/button/image_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 83 ui/views/controls/button/image_button.h virtual gfx::ImageSkia GetImageToPaint(); gfx 91 ui/views/controls/button/image_button.h gfx::ImageSkia images_[STATE_COUNT]; gfx 93 ui/views/controls/button/image_button.h gfx::ImageSkia background_image_; gfx 102 ui/views/controls/button/image_button.h gfx::Point ComputeImagePaintPosition(const gfx::ImageSkia& image); gfx 107 ui/views/controls/button/image_button.h gfx::Size preferred_size_; gfx 138 ui/views/controls/button/image_button.h void SetToggledImage(ButtonState state, const gfx::ImageSkia* image); gfx 144 ui/views/controls/button/image_button.h virtual const gfx::ImageSkia& GetImage(ButtonState state) const OVERRIDE; gfx 146 ui/views/controls/button/image_button.h const gfx::ImageSkia* image) OVERRIDE; gfx 149 ui/views/controls/button/image_button.h virtual bool GetTooltipText(const gfx::Point& p, gfx 157 ui/views/controls/button/image_button.h gfx::ImageSkia alternate_images_[STATE_COUNT]; gfx 13 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia CreateTestImage(int width, int height) { gfx 17 ui/views/controls/button/image_button_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 36 ui/views/controls/button/image_button_unittest.cc button.SetPreferredSize(gfx::Size(5, 15)); gfx 40 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia normal_image = CreateTestImage(10, 20); gfx 52 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia pushed_image = CreateTestImage(11, 21); gfx 75 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia image1 = CreateTestImage(10, 11); gfx 76 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia image2 = CreateTestImage(20, 21); gfx 93 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia image = CreateTestImage(20, 30); gfx 97 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(gfx::Point().ToString(), gfx 101 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(gfx::Point(5, 10).ToString(), gfx 106 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(gfx::Point().ToString(), gfx 111 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(gfx::Point(15, 10).ToString(), gfx 114 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(gfx::Point(20, 15).ToString(), gfx 120 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia image = CreateTestImage(20, 30); gfx 129 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(gfx::Point(30, 0).ToString(), gfx 135 ui/views/controls/button/image_button_unittest.cc gfx::ImageSkia image = CreateTestImage(20, 30); gfx 144 ui/views/controls/button/image_button_unittest.cc EXPECT_EQ(gfx::Point(0, 0).ToString(), gfx 56 ui/views/controls/button/label_button.cc SetFontList(gfx::FontList()); gfx 63 ui/views/controls/button/label_button.cc label_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 73 ui/views/controls/button/label_button.cc const gfx::ImageSkia& LabelButton::GetImage(ButtonState for_state) { gfx 79 ui/views/controls/button/label_button.cc void LabelButton::SetImage(ButtonState for_state, const gfx::ImageSkia& image) { gfx 110 ui/views/controls/button/label_button.cc const gfx::FontList& LabelButton::GetFontList() const { gfx 114 ui/views/controls/button/label_button.cc void LabelButton::SetFontList(const gfx::FontList& font_list) { gfx 117 ui/views/controls/button/label_button.cc font_list.GetFontStyle() | gfx::Font::BOLD); gfx 129 ui/views/controls/button/label_button.cc gfx::HorizontalAlignment LabelButton::GetHorizontalAlignment() const { gfx 133 ui/views/controls/button/label_button.cc void LabelButton::SetHorizontalAlignment(gfx::HorizontalAlignment alignment) { gfx 159 ui/views/controls/button/label_button.cc gfx::Insets(3, 3, 3, 3))); gfx 162 ui/views/controls/button/label_button.cc label_->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 166 ui/views/controls/button/label_button.cc set_min_size(gfx::Size(70, 33)); gfx 180 ui/views/controls/button/label_button.cc gfx::Size LabelButton::GetPreferredSize() { gfx 195 ui/views/controls/button/label_button.cc const gfx::Size image_size(image_->GetPreferredSize()); gfx 201 ui/views/controls/button/label_button.cc gfx::Size size(label.GetPreferredSize()); gfx 204 ui/views/controls/button/label_button.cc size.SetToMax(gfx::Size(0, image_size.height())); gfx 205 ui/views/controls/button/label_button.cc const gfx::Insets insets(GetInsets()); gfx 209 ui/views/controls/button/label_button.cc size.SetToMax(border() ? border()->GetMinimumSize() : gfx::Size()); gfx 224 ui/views/controls/button/label_button.cc gfx::HorizontalAlignment adjusted_alignment = GetHorizontalAlignment(); gfx 225 ui/views/controls/button/label_button.cc if (base::i18n::IsRTL() && adjusted_alignment != gfx::ALIGN_CENTER) gfx 226 ui/views/controls/button/label_button.cc adjusted_alignment = (adjusted_alignment == gfx::ALIGN_LEFT) ? gfx 227 ui/views/controls/button/label_button.cc gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT; gfx 229 ui/views/controls/button/label_button.cc gfx::Rect child_area(GetLocalBounds()); gfx 232 ui/views/controls/button/label_button.cc gfx::Size image_size(image_->GetPreferredSize()); gfx 238 ui/views/controls/button/label_button.cc gfx::Size label_size(child_area.size()); gfx 242 ui/views/controls/button/label_button.cc if (adjusted_alignment == gfx::ALIGN_CENTER) { gfx 251 ui/views/controls/button/label_button.cc gfx::Point image_origin(child_area.origin()); gfx 253 ui/views/controls/button/label_button.cc if (adjusted_alignment == gfx::ALIGN_CENTER) { gfx 257 ui/views/controls/button/label_button.cc } else if (adjusted_alignment == gfx::ALIGN_RIGHT) { gfx 261 ui/views/controls/button/label_button.cc gfx::Point label_origin(child_area.origin()); gfx 262 ui/views/controls/button/label_button.cc if (!image_size.IsEmpty() &&adjusted_alignment != gfx::ALIGN_RIGHT) gfx 265 ui/views/controls/button/label_button.cc image_->SetBoundsRect(gfx::Rect(image_origin, image_size)); gfx 266 ui/views/controls/button/label_button.cc label_->SetBoundsRect(gfx::Rect(label_origin, label_size)); gfx 273 ui/views/controls/button/label_button.cc void LabelButton::OnPaint(gfx::Canvas* canvas) { gfx 312 ui/views/controls/button/label_button.cc if (gfx::IsInvertedColorScheme()) { gfx 366 ui/views/controls/button/label_button.cc const gfx::Size previous_image_size(image_->GetPreferredSize()); gfx 388 ui/views/controls/button/label_button.cc gfx::Rect LabelButton::GetThemePaintRect() const { gfx 405 ui/views/controls/button/label_button.cc const gfx::Animation* LabelButton::GetThemeAnimation() const { gfx 36 ui/views/controls/button/label_button.h virtual const gfx::ImageSkia& GetImage(ButtonState for_state); gfx 37 ui/views/controls/button/label_button.h void SetImage(ButtonState for_state, const gfx::ImageSkia& image); gfx 51 ui/views/controls/button/label_button.h const gfx::FontList& GetFontList() const; gfx 52 ui/views/controls/button/label_button.h void SetFontList(const gfx::FontList& font_list); gfx 59 ui/views/controls/button/label_button.h gfx::HorizontalAlignment GetHorizontalAlignment() const; gfx 60 ui/views/controls/button/label_button.h void SetHorizontalAlignment(gfx::HorizontalAlignment alignment); gfx 63 ui/views/controls/button/label_button.h void set_min_size(const gfx::Size& min_size) { min_size_ = min_size; } gfx 64 ui/views/controls/button/label_button.h void set_max_size(const gfx::Size& max_size) { max_size_ = max_size; } gfx 77 ui/views/controls/button/label_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 86 ui/views/controls/button/label_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 105 ui/views/controls/button/label_button.h virtual gfx::Rect GetThemePaintRect() const OVERRIDE; gfx 125 ui/views/controls/button/label_button.h virtual const gfx::Animation* GetThemeAnimation() const OVERRIDE; gfx 136 ui/views/controls/button/label_button.h gfx::FontList cached_normal_font_list_; gfx 137 ui/views/controls/button/label_button.h gfx::FontList cached_bold_font_list_; gfx 140 ui/views/controls/button/label_button.h gfx::ImageSkia button_state_images_[STATE_COUNT]; gfx 147 ui/views/controls/button/label_button.h gfx::Size min_size_; gfx 149 ui/views/controls/button/label_button.h gfx::Size max_size_; gfx 36 ui/views/controls/button/label_button_border.cc gfx::Canvas* canvas, gfx 38 ui/views/controls/button/label_button_border.cc const gfx::Rect& rect, gfx 55 ui/views/controls/button/label_button_border.cc const gfx::Insets insets(kButtonInsets, gfx 61 ui/views/controls/button/label_button_border.cc set_insets(gfx::Insets(8, 13, 8, 13)); gfx 87 ui/views/controls/button/label_button_border.cc set_insets(gfx::Insets(5, 6, 5, 6)); gfx 97 ui/views/controls/button/label_button_border.cc void LabelButtonBorder::Paint(const View& view, gfx::Canvas* canvas) { gfx 100 ui/views/controls/button/label_button_border.cc gfx::Rect rect(native_theme_delegate->GetThemePaintRect()); gfx 102 ui/views/controls/button/label_button_border.cc const gfx::Animation* animation = native_theme_delegate->GetThemeAnimation(); gfx 107 ui/views/controls/button/label_button_border.cc const SkRect sk_rect = gfx::RectToSkRect(rect); gfx 127 ui/views/controls/button/label_button_border.cc gfx::Insets LabelButtonBorder::GetInsets() const { gfx 131 ui/views/controls/button/label_button_border.cc gfx::Size LabelButtonBorder::GetMinimumSize() const { gfx 132 ui/views/controls/button/label_button_border.cc gfx::Size minimum_size; gfx 27 ui/views/controls/button/label_button_border.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; gfx 28 ui/views/controls/button/label_button_border.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 29 ui/views/controls/button/label_button_border.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 31 ui/views/controls/button/label_button_border.h void set_insets(const gfx::Insets& insets) { insets_ = insets; } gfx 45 ui/views/controls/button/label_button_border.h gfx::Insets insets_; gfx 19 ui/views/controls/button/label_button_unittest.cc gfx::ImageSkia CreateTestImage(int width, int height) { gfx 23 ui/views/controls/button/label_button_unittest.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 42 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(gfx::ALIGN_LEFT, button.GetHorizontalAlignment()); gfx 55 ui/views/controls/button/label_button_unittest.cc const gfx::FontList font_list; gfx 58 ui/views/controls/button/label_button_unittest.cc const int short_text_width = gfx::GetStringWidth(short_text, font_list); gfx 59 ui/views/controls/button/label_button_unittest.cc const int long_text_width = gfx::GetStringWidth(long_text, font_list); gfx 73 ui/views/controls/button/label_button_unittest.cc button.set_max_size(gfx::Size(long_text_width, 1)); gfx 74 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(button.GetPreferredSize(), gfx::Size(long_text_width, 1)); gfx 77 ui/views/controls/button/label_button_unittest.cc button.set_min_size(gfx::Size()); gfx 86 ui/views/controls/button/label_button_unittest.cc const gfx::ImageSkia small_image = CreateTestImage(small_size, small_size); gfx 87 ui/views/controls/button/label_button_unittest.cc const gfx::ImageSkia large_image = CreateTestImage(large_size, large_size); gfx 105 ui/views/controls/button/label_button_unittest.cc button.set_max_size(gfx::Size(large_size, 1)); gfx 106 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(button.GetPreferredSize(), gfx::Size(large_size, 1)); gfx 109 ui/views/controls/button/label_button_unittest.cc button.set_min_size(gfx::Size()); gfx 117 ui/views/controls/button/label_button_unittest.cc const gfx::FontList font_list; gfx 119 ui/views/controls/button/label_button_unittest.cc const int text_width = gfx::GetStringWidth(text, font_list); gfx 122 ui/views/controls/button/label_button_unittest.cc const gfx::ImageSkia image = CreateTestImage(image_size, image_size); gfx 142 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(gfx::ALIGN_LEFT, button.GetHorizontalAlignment()); gfx 144 ui/views/controls/button/label_button_unittest.cc button.SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 146 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(gfx::ALIGN_CENTER, button.GetHorizontalAlignment()); gfx 148 ui/views/controls/button/label_button_unittest.cc button.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 150 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(gfx::ALIGN_RIGHT, button.GetHorizontalAlignment()); gfx 156 ui/views/controls/button/label_button_unittest.cc button.SetImage(Button::STATE_NORMAL, gfx::ImageSkia()); gfx 161 ui/views/controls/button/label_button_unittest.cc button.set_max_size(gfx::Size(image_size, 1)); gfx 162 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(button.GetPreferredSize(), gfx::Size(image_size, 1)); gfx 165 ui/views/controls/button/label_button_unittest.cc button.set_min_size(gfx::Size()); gfx 175 ui/views/controls/button/label_button_unittest.cc const gfx::FontList original_font_list = button.GetFontList(); gfx 176 ui/views/controls/button/label_button_unittest.cc const gfx::FontList large_font_list = gfx 188 ui/views/controls/button/label_button_unittest.cc button.set_min_size(gfx::Size()); gfx 74 ui/views/controls/button/menu_button.cc gfx::Rect lb = GetLocalBounds(); gfx 78 ui/views/controls/button/menu_button.cc gfx::Point menu_position(lb.right(), lb.bottom()); gfx 136 ui/views/controls/button/menu_button.cc void MenuButton::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { gfx 149 ui/views/controls/button/menu_button.cc gfx::Size MenuButton::GetPreferredSize() { gfx 150 ui/views/controls/button/menu_button.cc gfx::Size prefsize = TextButton::GetPreferredSize(); gfx 250 ui/views/controls/button/menu_button.cc void MenuButton::PaintMenuMarker(gfx::Canvas* canvas) { gfx 251 ui/views/controls/button/menu_button.cc gfx::Insets insets = GetInsets(); gfx 257 ui/views/controls/button/menu_button.cc gfx::Rect arrow_bounds(width() - insets.right() - gfx 272 ui/views/controls/button/menu_button.cc gfx::Rect monitor_bounds = GetWidget()->GetWorkAreaBoundsInScreen(); gfx 42 ui/views/controls/button/menu_button.h void set_menu_marker(const gfx::ImageSkia* menu_marker) { gfx 45 ui/views/controls/button/menu_button.h const gfx::ImageSkia* menu_marker() const { return menu_marker_; } gfx 47 ui/views/controls/button/menu_button.h const gfx::Point& menu_offset() const { return menu_offset_; } gfx 54 ui/views/controls/button/menu_button.h virtual void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) OVERRIDE; gfx 57 ui/views/controls/button/menu_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 69 ui/views/controls/button/menu_button.h void PaintMenuMarker(gfx::Canvas* canvas); gfx 75 ui/views/controls/button/menu_button.h gfx::Point menu_offset_; gfx 100 ui/views/controls/button/menu_button.h const gfx::ImageSkia* menu_marker_; gfx 10 ui/views/controls/button/menu_button_listener.h namespace gfx { gfx 22 ui/views/controls/button/menu_button_listener.h virtual void OnMenuButtonClicked(View* source, const gfx::Point& point) = 0; gfx 126 ui/views/controls/button/radio_button.cc ui::MouseEvent event(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), 0, 0); gfx 76 ui/views/controls/button/text_button.cc void TextButtonBorder::Paint(const View& view, gfx::Canvas* canvas) { gfx 79 ui/views/controls/button/text_button.cc gfx::Insets TextButtonBorder::GetInsets() const { gfx 83 ui/views/controls/button/text_button.cc gfx::Size TextButtonBorder::GetMinimumSize() const { gfx 84 ui/views/controls/button/text_button.cc return gfx::Size(); gfx 87 ui/views/controls/button/text_button.cc void TextButtonBorder::SetInsets(const gfx::Insets& insets) { gfx 98 ui/views/controls/button/text_button.cc SetInsets(gfx::Insets(vertical_padding_, kPreferredPaddingHorizontal, gfx 105 ui/views/controls/button/text_button.cc void TextButtonDefaultBorder::Paint(const View& view, gfx::Canvas* canvas) { gfx 136 ui/views/controls/button/text_button.cc gfx::Size TextButtonDefaultBorder::GetMinimumSize() const { gfx 137 ui/views/controls/button/text_button.cc gfx::Size size; gfx 153 ui/views/controls/button/text_button.cc SetInsets(gfx::Insets(kPreferredNativeThemePaddingVertical, gfx 162 ui/views/controls/button/text_button.cc void TextButtonNativeThemeBorder::Paint(const View& view, gfx::Canvas* canvas) { gfx 166 ui/views/controls/button/text_button.cc gfx::Rect rect(delegate_->GetThemePaintRect()); gfx 237 ui/views/controls/button/text_button.cc void TextButtonBase::SetFontList(const gfx::FontList& font_list) { gfx 281 ui/views/controls/button/text_button.cc gfx::Size TextButtonBase::GetPreferredSize() { gfx 282 ui/views/controls/button/text_button.cc gfx::Insets insets = GetInsets(); gfx 287 ui/views/controls/button/text_button.cc gfx::Size prefsize(std::max(max_text_size_.width(), gfx 308 ui/views/controls/button/text_button.cc gfx::Size text_size; gfx 315 ui/views/controls/button/text_button.cc void TextButtonBase::OnPaint(gfx::Canvas* canvas) { gfx 319 ui/views/controls/button/text_button.cc void TextButtonBase::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 324 ui/views/controls/button/text_button.cc const gfx::Animation* TextButtonBase::GetAnimation() const { gfx 337 ui/views/controls/button/text_button.cc gfx::Rect text_bounds = GetTextBounds(); gfx 352 ui/views/controls/button/text_button.cc void TextButtonBase::CalculateTextSize(gfx::Size* text_size, int max_width) { gfx 357 ui/views/controls/button/text_button.cc flags |= gfx::Canvas::NO_ELLIPSIS; gfx 359 ui/views/controls/button/text_button.cc gfx::Canvas::SizeStringInt(text_, font_list_, &w, &h, 0, flags); gfx 367 ui/views/controls/button/text_button.cc int flags = gfx::Canvas::MULTI_LINE; gfx 370 ui/views/controls/button/text_button.cc flags |= gfx::Canvas::TEXT_ALIGN_LEFT; gfx 373 ui/views/controls/button/text_button.cc flags |= gfx::Canvas::TEXT_ALIGN_RIGHT; gfx 376 ui/views/controls/button/text_button.cc flags |= gfx::Canvas::TEXT_ALIGN_CENTER; gfx 407 ui/views/controls/button/text_button.cc gfx::Rect TextButtonBase::GetContentBounds(int extra_width) const { gfx 408 ui/views/controls/button/text_button.cc gfx::Insets insets = GetInsets(); gfx 431 ui/views/controls/button/text_button.cc gfx::Rect bounds(content_x, content_y, content_width, text_size_.height()); gfx 435 ui/views/controls/button/text_button.cc gfx::Rect TextButtonBase::GetTextBounds() const { gfx 443 ui/views/controls/button/text_button.cc void TextButtonBase::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { gfx 450 ui/views/controls/button/text_button.cc gfx::Rect text_bounds(GetTextBounds()); gfx 466 ui/views/controls/button/text_button.cc int draw_string_flags = gfx::Canvas::DefaultCanvasTextAlignment() | gfx 471 ui/views/controls/button/text_button.cc draw_string_flags |= gfx::Canvas::NO_SUBPIXEL_RENDERING; gfx 482 ui/views/controls/button/text_button.cc gfx::Size TextButtonBase::GetMinimumSize() { gfx 517 ui/views/controls/button/text_button.cc gfx::Rect TextButtonBase::GetThemePaintRect() const { gfx 539 ui/views/controls/button/text_button.cc const gfx::Animation* TextButtonBase::GetThemeAnimation() const { gfx 574 ui/views/controls/button/text_button.cc gfx::Insets(kFocusRectInset, kFocusRectInset, gfx 581 ui/views/controls/button/text_button.cc void TextButton::SetIcon(const gfx::ImageSkia& icon) { gfx 586 ui/views/controls/button/text_button.cc void TextButton::SetHoverIcon(const gfx::ImageSkia& icon) { gfx 592 ui/views/controls/button/text_button.cc void TextButton::SetPushedIcon(const gfx::ImageSkia& icon) { gfx 598 ui/views/controls/button/text_button.cc gfx::Size TextButton::GetPreferredSize() { gfx 599 ui/views/controls/button/text_button.cc gfx::Size prefsize(TextButtonBase::GetPreferredSize()); gfx 613 ui/views/controls/button/text_button.cc gfx::PlatformFontWin* platform_font = static_cast<gfx::PlatformFontWin*>( gfx 630 ui/views/controls/button/text_button.cc void TextButton::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { gfx 636 ui/views/controls/button/text_button.cc const gfx::ImageSkia& icon = GetImageToPaint(); gfx 639 ui/views/controls/button/text_button.cc gfx::Rect text_bounds = GetTextBounds(); gfx 642 ui/views/controls/button/text_button.cc gfx::Insets insets = GetInsets(); gfx 665 ui/views/controls/button/text_button.cc gfx::Rect icon_bounds(icon_x, icon_y, icon.width(), icon.height()); gfx 692 ui/views/controls/button/text_button.cc gfx::Rect TextButton::GetTextBounds() const { gfx 695 ui/views/controls/button/text_button.cc const gfx::ImageSkia& icon = GetImageToPaint(); gfx 699 ui/views/controls/button/text_button.cc gfx::Rect bounds(GetContentBounds(extra_width)); gfx 713 ui/views/controls/button/text_button.cc const gfx::ImageSkia& TextButton::GetImageToPaint() const { gfx 30 ui/views/controls/button/text_button.h void SetInsets(const gfx::Insets& insets); gfx 33 ui/views/controls/button/text_button.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; gfx 34 ui/views/controls/button/text_button.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 35 ui/views/controls/button/text_button.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 38 ui/views/controls/button/text_button.h gfx::Insets insets_; gfx 62 ui/views/controls/button/text_button.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; gfx 63 ui/views/controls/button/text_button.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 84 ui/views/controls/button/text_button.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; gfx 122 ui/views/controls/button/text_button.h const gfx::Animation* GetAnimation() const; gfx 142 ui/views/controls/button/text_button.h const gfx::FontList& font_list() const { return font_list_; } gfx 143 ui/views/controls/button/text_button.h void SetFontList(const gfx::FontList& font_list); gfx 161 ui/views/controls/button/text_button.h virtual void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode); gfx 164 ui/views/controls/button/text_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 165 ui/views/controls/button/text_button.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 168 ui/views/controls/button/text_button.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 169 ui/views/controls/button/text_button.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 185 ui/views/controls/button/text_button.h void CalculateTextSize(gfx::Size* text_size, int max_width); gfx 204 ui/views/controls/button/text_button.h virtual gfx::Rect GetThemePaintRect() const OVERRIDE; gfx 207 ui/views/controls/button/text_button.h virtual const gfx::Animation* GetThemeAnimation() const OVERRIDE; gfx 219 ui/views/controls/button/text_button.h virtual gfx::Rect GetTextBounds() const; gfx 225 ui/views/controls/button/text_button.h gfx::Rect GetContentBounds(int extra_width) const; gfx 231 ui/views/controls/button/text_button.h gfx::Size text_size_; gfx 235 ui/views/controls/button/text_button.h gfx::Size max_text_size_; gfx 241 ui/views/controls/button/text_button.h gfx::FontList font_list_; gfx 299 ui/views/controls/button/text_button.h virtual void SetIcon(const gfx::ImageSkia& icon); gfx 300 ui/views/controls/button/text_button.h virtual void SetHoverIcon(const gfx::ImageSkia& icon); gfx 301 ui/views/controls/button/text_button.h virtual void SetPushedIcon(const gfx::ImageSkia& icon); gfx 324 ui/views/controls/button/text_button.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 328 ui/views/controls/button/text_button.h virtual void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) OVERRIDE; gfx 331 ui/views/controls/button/text_button.h gfx::ImageSkia icon() const { return icon_; } gfx 333 ui/views/controls/button/text_button.h virtual const gfx::ImageSkia& GetImageToPaint() const; gfx 341 ui/views/controls/button/text_button.h virtual gfx::Rect GetTextBounds() const OVERRIDE; gfx 348 ui/views/controls/button/text_button.h gfx::ImageSkia icon_; gfx 351 ui/views/controls/button/text_button.h gfx::ImageSkia icon_hover_; gfx 355 ui/views/controls/button/text_button.h gfx::ImageSkia icon_pushed_; gfx 172 ui/views/controls/combobox/combobox.cc std::vector<const gfx::ImageSkia*> GetMenuButtonImages( gfx 178 ui/views/controls/combobox/combobox.cc std::vector<const gfx::ImageSkia*> images; gfx 188 ui/views/controls/combobox/combobox.cc void PaintImagesVertically(gfx::Canvas* canvas, gfx 189 ui/views/controls/combobox/combobox.cc const gfx::ImageSkia& top_image, gfx 190 ui/views/controls/combobox/combobox.cc const gfx::ImageSkia& center_image, gfx 191 ui/views/controls/combobox/combobox.cc const gfx::ImageSkia& bottom_image, gfx 209 ui/views/controls/combobox/combobox.cc gfx::Canvas* canvas, gfx 210 ui/views/controls/combobox/combobox.cc const std::vector<const gfx::ImageSkia*>& arrow_button_images, gfx 277 ui/views/controls/combobox/combobox.cc const gfx::FontList& Combobox::GetFontList() { gfx 345 ui/views/controls/combobox/combobox.cc gfx::Insets insets = GetInsets(); gfx 407 ui/views/controls/combobox/combobox.cc gfx::Size Combobox::GetPreferredSize() { gfx 413 ui/views/controls/combobox/combobox.cc gfx::Insets insets = GetInsets(); gfx 417 ui/views/controls/combobox/combobox.cc return gfx::Size(total_width, content_size_.height() + insets.height()); gfx 522 ui/views/controls/combobox/combobox.cc void Combobox::OnPaint(gfx::Canvas* canvas) { gfx 592 ui/views/controls/combobox/combobox.cc const gfx::FontList& font_list = Combobox::GetFontList(); gfx 623 ui/views/controls/combobox/combobox.cc width = std::max(width, gfx::GetStringWidth(text, font_list)); gfx 638 ui/views/controls/combobox/combobox.cc void Combobox::AdjustBoundsForRTLUI(gfx::Rect* rect) const { gfx 642 ui/views/controls/combobox/combobox.cc void Combobox::PaintText(gfx::Canvas* canvas) { gfx 643 ui/views/controls/combobox/combobox.cc gfx::Insets insets = GetInsets(); gfx 645 ui/views/controls/combobox/combobox.cc gfx::ScopedCanvas scoped_canvas(canvas); gfx 663 ui/views/controls/combobox/combobox.cc const gfx::FontList& font_list = Combobox::GetFontList(); gfx 664 ui/views/controls/combobox/combobox.cc int text_width = gfx::GetStringWidth(text, font_list); gfx 668 ui/views/controls/combobox/combobox.cc gfx::Rect text_bounds(x, y, text_width, text_height); gfx 673 ui/views/controls/combobox/combobox.cc gfx::Rect arrow_bounds(arrow_x, gfx 682 ui/views/controls/combobox/combobox.cc void Combobox::PaintButtons(gfx::Canvas* canvas) { gfx 685 ui/views/controls/combobox/combobox.cc gfx::ScopedCanvas scoped_canvas(canvas); gfx 687 ui/views/controls/combobox/combobox.cc canvas->Translate(gfx::Vector2d(width(), 0)); gfx 692 ui/views/controls/combobox/combobox.cc const std::vector<const gfx::ImageSkia*>& arrow_button_images = gfx 708 ui/views/controls/combobox/combobox.cc gfx::Rect(0, 0, text_button_->width(), height())); gfx 716 ui/views/controls/combobox/combobox.cc gfx::Rect(0, 0, text_button_->width(), height())); gfx 731 ui/views/controls/combobox/combobox.cc const std::vector<const gfx::ImageSkia*>& arrow_button_hovered_images = gfx 749 ui/views/controls/combobox/combobox.cc gfx::Rect lb = GetLocalBounds(); gfx 750 ui/views/controls/combobox/combobox.cc gfx::Point menu_position(lb.origin()); gfx 764 ui/views/controls/combobox/combobox.cc gfx::Rect bounds(menu_position, lb.size()); gfx 19 ui/views/controls/combobox/combobox.h namespace gfx { gfx 66 ui/views/controls/combobox/combobox.h static const gfx::FontList& GetFontList(); gfx 96 ui/views/controls/combobox/combobox.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 101 ui/views/controls/combobox/combobox.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 139 ui/views/controls/combobox/combobox.h void AdjustBoundsForRTLUI(gfx::Rect* rect) const; gfx 142 ui/views/controls/combobox/combobox.h void PaintText(gfx::Canvas* canvas); gfx 145 ui/views/controls/combobox/combobox.h void PaintButtons(gfx::Canvas* canvas); gfx 186 ui/views/controls/combobox/combobox.h const gfx::ImageSkia* disclosure_arrow_; gfx 203 ui/views/controls/combobox/combobox.h gfx::Size content_size_; gfx 209 ui/views/controls/combobox/combobox.h std::vector<const gfx::ImageSkia*> gfx 40 ui/views/controls/combobox/combobox_unittest.cc const gfx::Rect& bounds, gfx 212 ui/views/controls/combobox/combobox_unittest.cc params.bounds = gfx::Rect(200, 200, 200, 200); gfx 241 ui/views/controls/combobox/combobox_unittest.cc void PerformClick(const gfx::Point& point) { gfx 296 ui/views/controls/combobox/combobox_unittest.cc params.bounds = gfx::Rect(100, 100, 100, 100); gfx 516 ui/views/controls/combobox/combobox_unittest.cc PerformClick(gfx::Point(combobox_->x() + 1, gfx 537 ui/views/controls/combobox/combobox_unittest.cc PerformClick(gfx::Point(combobox_->x() + 1, gfx 597 ui/views/controls/combobox/combobox_unittest.cc PerformClick(gfx::Point(combobox_->x() + combobox_->width() - 1, gfx 608 ui/views/controls/combobox/combobox_unittest.cc PerformClick(gfx::Point(combobox_->x() + 1, gfx 40 ui/views/controls/focusable_border.cc void FocusableBorder::Paint(const View& view, gfx::Canvas* canvas) { gfx 42 ui/views/controls/focusable_border.cc path.addRect(gfx::RectToSkRect(view.GetLocalBounds()), SkPath::kCW_Direction); gfx 58 ui/views/controls/focusable_border.cc gfx::Insets FocusableBorder::GetInsets() const { gfx 62 ui/views/controls/focusable_border.cc gfx::Size FocusableBorder::GetMinimumSize() const { gfx 63 ui/views/controls/focusable_border.cc return gfx::Size(); gfx 13 ui/views/controls/focusable_border.h namespace gfx { gfx 34 ui/views/controls/focusable_border.h virtual void Paint(const View& view, gfx::Canvas* canvas) OVERRIDE; gfx 35 ui/views/controls/focusable_border.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 36 ui/views/controls/focusable_border.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 39 ui/views/controls/focusable_border.h gfx::Insets insets_; gfx 33 ui/views/controls/glow_hover_controller.cc gfx::AnimationContainer* container) { gfx 37 ui/views/controls/glow_hover_controller.cc void GlowHoverController::SetLocation(const gfx::Point& location) { gfx 48 ui/views/controls/glow_hover_controller.cc animation_.SetTweenType(gfx::Tween::EASE_OUT); gfx 61 ui/views/controls/glow_hover_controller.cc animation_.SetTweenType(gfx::Tween::EASE_IN); gfx 79 ui/views/controls/glow_hover_controller.cc void GlowHoverController::Draw(gfx::Canvas* canvas, gfx 80 ui/views/controls/glow_hover_controller.cc const gfx::ImageSkia& mask_image) const { gfx 85 ui/views/controls/glow_hover_controller.cc gfx::Canvas hover_canvas(gfx::Size(mask_image.width(), mask_image.height()), gfx 110 ui/views/controls/glow_hover_controller.cc hover_canvas.DrawRect(gfx::Rect(location_.x() - radius, gfx 114 ui/views/controls/glow_hover_controller.cc gfx::ImageSkia result = gfx::ImageSkiaOperations::CreateMaskedImage( gfx 115 ui/views/controls/glow_hover_controller.cc gfx::ImageSkia(hover_canvas.ExtractImageRep()), mask_image); gfx 120 ui/views/controls/glow_hover_controller.cc void GlowHoverController::AnimationEnded(const gfx::Animation* animation) { gfx 124 ui/views/controls/glow_hover_controller.cc void GlowHoverController::AnimationProgressed(const gfx::Animation* animation) { gfx 12 ui/views/controls/glow_hover_controller.h namespace gfx { gfx 30 ui/views/controls/glow_hover_controller.h class VIEWS_EXPORT GlowHoverController : public gfx::AnimationDelegate { gfx 41 ui/views/controls/glow_hover_controller.h void SetAnimationContainer(gfx::AnimationContainer* container); gfx 45 ui/views/controls/glow_hover_controller.h void SetLocation(const gfx::Point& location); gfx 65 ui/views/controls/glow_hover_controller.h void Draw(gfx::Canvas* canvas, const gfx::ImageSkia& mask_image) const; gfx 68 ui/views/controls/glow_hover_controller.h virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; gfx 69 ui/views/controls/glow_hover_controller.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 76 ui/views/controls/glow_hover_controller.h gfx::SlideAnimation animation_; gfx 79 ui/views/controls/glow_hover_controller.h gfx::Point location_; gfx 20 ui/views/controls/image_view.cc void* GetBitmapPixels(const gfx::ImageSkia& img, float image_scale) { gfx 42 ui/views/controls/image_view.cc void ImageView::SetImage(const gfx::ImageSkia& img) { gfx 47 ui/views/controls/image_view.cc gfx::Size pref_size(GetPreferredSize()); gfx 54 ui/views/controls/image_view.cc void ImageView::SetImage(const gfx::ImageSkia* image_skia) { gfx 58 ui/views/controls/image_view.cc gfx::ImageSkia t; gfx 63 ui/views/controls/image_view.cc const gfx::ImageSkia& ImageView::GetImage() { gfx 67 ui/views/controls/image_view.cc void ImageView::SetImageSize(const gfx::Size& image_size) { gfx 73 ui/views/controls/image_view.cc bool ImageView::GetImageSize(gfx::Size* image_size) { gfx 80 ui/views/controls/image_view.cc gfx::Rect ImageView::GetImageBounds() const { gfx 81 ui/views/controls/image_view.cc gfx::Size image_size(image_size_set_ ? gfx 82 ui/views/controls/image_view.cc image_size_ : gfx::Size(image_.width(), image_.height())); gfx 83 ui/views/controls/image_view.cc return gfx::Rect(ComputeImageOrigin(image_size), image_size); gfx 94 ui/views/controls/image_view.cc gfx::Size ImageView::GetPreferredSize() { gfx 95 ui/views/controls/image_view.cc gfx::Insets insets = GetInsets(); gfx 97 ui/views/controls/image_view.cc gfx::Size image_size; gfx 102 ui/views/controls/image_view.cc return gfx::Size(image_.width() + insets.width(), gfx 106 ui/views/controls/image_view.cc bool ImageView::IsImageEqual(const gfx::ImageSkia& img) const { gfx 117 ui/views/controls/image_view.cc gfx::Point ImageView::ComputeImageOrigin(const gfx::Size& image_size) const { gfx 118 ui/views/controls/image_view.cc gfx::Insets insets = GetInsets(); gfx 143 ui/views/controls/image_view.cc return gfx::Point(x, y); gfx 158 ui/views/controls/image_view.cc void ImageView::OnPaint(gfx::Canvas* canvas) { gfx 199 ui/views/controls/image_view.cc bool ImageView::GetTooltipText(const gfx::Point& p, gfx 208 ui/views/controls/image_view.cc bool ImageView::HitTestRect(const gfx::Rect& rect) const { gfx 213 ui/views/controls/image_view.cc void ImageView::OnPaintImage(gfx::Canvas* canvas) { gfx 220 ui/views/controls/image_view.cc gfx::Rect image_bounds(GetImageBounds()); gfx 224 ui/views/controls/image_view.cc if (image_bounds.size() != gfx::Size(image_.width(), image_.height())) { gfx 11 ui/views/controls/image_view.h namespace gfx { gfx 41 ui/views/controls/image_view.h void SetImage(const gfx::ImageSkia& img); gfx 46 ui/views/controls/image_view.h void SetImage(const gfx::ImageSkia* image_skia); gfx 50 ui/views/controls/image_view.h const gfx::ImageSkia& GetImage(); gfx 53 ui/views/controls/image_view.h void SetImageSize(const gfx::Size& image_size); gfx 58 ui/views/controls/image_view.h bool GetImageSize(gfx::Size* image_size); gfx 61 ui/views/controls/image_view.h gfx::Rect GetImageBounds() const; gfx 83 ui/views/controls/image_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 86 ui/views/controls/image_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 88 ui/views/controls/image_view.h virtual bool GetTooltipText(const gfx::Point& p, gfx 90 ui/views/controls/image_view.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 93 ui/views/controls/image_view.h void OnPaintImage(gfx::Canvas* canvas); gfx 98 ui/views/controls/image_view.h bool IsImageEqual(const gfx::ImageSkia& img) const; gfx 102 ui/views/controls/image_view.h gfx::Point ComputeImageOrigin(const gfx::Size& image_size) const; gfx 108 ui/views/controls/image_view.h gfx::Size image_size_; gfx 111 ui/views/controls/image_view.h gfx::ImageSkia image_; gfx 43 ui/views/controls/label.cc Init(base::string16(), gfx::FontList()); gfx 47 ui/views/controls/label.cc Init(text, gfx::FontList()); gfx 50 ui/views/controls/label.cc Label::Label(const base::string16& text, const gfx::FontList& font_list) { gfx 57 ui/views/controls/label.cc void Label::SetFontList(const gfx::FontList& font_list) { gfx 74 ui/views/controls/label.cc static_cast<size_t>(gfx::UTF16IndexToOffset(text_, 0, text_.length())); gfx 122 ui/views/controls/label.cc void Label::SetHorizontalAlignment(gfx::HorizontalAlignment alignment) { gfx 127 ui/views/controls/label.cc (alignment != gfx::ALIGN_CENTER)) { gfx 128 ui/views/controls/label.cc alignment = (alignment == gfx::ALIGN_LEFT) ? gfx 129 ui/views/controls/label.cc gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT; gfx 196 ui/views/controls/label.cc label_width = std::max(label_width, gfx::GetStringWidth(*iter, font_list_)); gfx 208 ui/views/controls/label.cc gfx::Insets Label::GetInsets() const { gfx 209 ui/views/controls/label.cc gfx::Insets insets = View::GetInsets(); gfx 211 ui/views/controls/label.cc insets += gfx::Insets(kFocusBorderPadding, kFocusBorderPadding, gfx 221 ui/views/controls/label.cc gfx::Size Label::GetPreferredSize() { gfx 228 ui/views/controls/label.cc return gfx::Size(); gfx 230 ui/views/controls/label.cc gfx::Size size(GetTextSize()); gfx 231 ui/views/controls/label.cc gfx::Insets insets = GetInsets(); gfx 236 ui/views/controls/label.cc gfx::Size Label::GetMinimumSize() { gfx 237 ui/views/controls/label.cc gfx::Size text_size(GetTextSize()); gfx 239 ui/views/controls/label.cc return gfx::Size(); gfx 241 ui/views/controls/label.cc gfx::Size size(gfx::GetStringWidth(base::string16(gfx::kEllipsisUTF16), gfx 245 ui/views/controls/label.cc gfx::Insets insets = GetInsets(); gfx 257 ui/views/controls/label.cc const gfx::Size& s = cached_heights_[i]; gfx 266 ui/views/controls/label.cc gfx::Canvas::SizeStringInt( gfx 268 ui/views/controls/label.cc cached_heights_[cached_heights_cursor_] = gfx::Size(cache_width, h); gfx 277 ui/views/controls/label.cc View* Label::GetTooltipHandlerForPoint(const gfx::Point& point) { gfx 283 ui/views/controls/label.cc if (!View::HitTestRect(gfx::Rect(point, gfx::Size(1, 1)))) gfx 292 ui/views/controls/label.cc bool Label::HitTestRect(const gfx::Rect& rect) const { gfx 296 ui/views/controls/label.cc bool Label::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const { gfx 320 ui/views/controls/label.cc void Label::PaintText(gfx::Canvas* canvas, gfx 322 ui/views/controls/label.cc const gfx::Rect& text_bounds, gfx 324 ui/views/controls/label.cc gfx::ShadowValues shadows; gfx 326 ui/views/controls/label.cc shadows.push_back(gfx::ShadowValue(shadow_offset_, 0, gfx 333 ui/views/controls/label.cc gfx::Rect focus_bounds = text_bounds; gfx 339 ui/views/controls/label.cc gfx::Size Label::GetTextSize() const { gfx 352 ui/views/controls/label.cc flags |= gfx::Canvas::NO_ELLIPSIS; gfx 353 ui/views/controls/label.cc gfx::Canvas::SizeStringInt( gfx 362 ui/views/controls/label.cc void Label::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 366 ui/views/controls/label.cc void Label::OnPaint(gfx::Canvas* canvas) { gfx 374 ui/views/controls/label.cc gfx::Rect text_bounds; gfx 384 ui/views/controls/label.cc void Label::Init(const base::string16& text, const gfx::FontList& font_list) { gfx 389 ui/views/controls/label.cc horizontal_alignment_ = gfx::ALIGN_CENTER; gfx 418 ui/views/controls/label.cc gfx::Rect Label::GetTextBounds() const { gfx 419 ui/views/controls/label.cc gfx::Rect available_rect(GetAvailableRect()); gfx 420 ui/views/controls/label.cc gfx::Size text_size(GetTextSize()); gfx 423 ui/views/controls/label.cc gfx::Insets insets = GetInsets(); gfx 424 ui/views/controls/label.cc gfx::Point text_origin(insets.left(), insets.top()); gfx 426 ui/views/controls/label.cc case gfx::ALIGN_LEFT: gfx 428 ui/views/controls/label.cc case gfx::ALIGN_CENTER: gfx 436 ui/views/controls/label.cc case gfx::ALIGN_RIGHT: gfx 445 ui/views/controls/label.cc return gfx::Rect(text_origin, text_size); gfx 453 ui/views/controls/label.cc flags |= gfx::Canvas::NO_SUBPIXEL_RENDERING; gfx 459 ui/views/controls/label.cc flags |= gfx::Canvas::FORCE_RTL_DIRECTIONALITY; gfx 461 ui/views/controls/label.cc flags |= gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 465 ui/views/controls/label.cc case gfx::ALIGN_LEFT: gfx 466 ui/views/controls/label.cc flags |= gfx::Canvas::TEXT_ALIGN_LEFT; gfx 468 ui/views/controls/label.cc case gfx::ALIGN_CENTER: gfx 469 ui/views/controls/label.cc flags |= gfx::Canvas::TEXT_ALIGN_CENTER; gfx 471 ui/views/controls/label.cc case gfx::ALIGN_RIGHT: gfx 472 ui/views/controls/label.cc flags |= gfx::Canvas::TEXT_ALIGN_RIGHT; gfx 479 ui/views/controls/label.cc flags |= gfx::Canvas::MULTI_LINE; gfx 486 ui/views/controls/label.cc flags |= gfx::Canvas::NO_ELLIPSIS; gfx 489 ui/views/controls/label.cc flags |= gfx::Canvas::CHARACTER_BREAK; gfx 494 ui/views/controls/label.cc gfx::Rect Label::GetAvailableRect() const { gfx 495 ui/views/controls/label.cc gfx::Rect bounds(size()); gfx 501 ui/views/controls/label.cc gfx::Rect* text_bounds, gfx 510 ui/views/controls/label.cc *paint_text = gfx::ElideText(layout_text(), gfx 513 ui/views/controls/label.cc gfx::ELIDE_AT_BEGINNING); gfx 515 ui/views/controls/label.cc *paint_text = gfx::ElideText(layout_text(), gfx 518 ui/views/controls/label.cc gfx::ELIDE_IN_MIDDLE); gfx 520 ui/views/controls/label.cc *paint_text = gfx::ElideText(layout_text(), gfx 523 ui/views/controls/label.cc gfx::ELIDE_AT_END); gfx 527 ui/views/controls/label.cc gfx::ElideEmail(layout_text(), font_list_, GetAvailableRect().width()); gfx 533 ui/views/controls/label.cc *flags |= gfx::Canvas::NO_ELLIPSIS; gfx 556 ui/views/controls/label.cc cached_heights_[i] = gfx::Size(); gfx 561 ui/views/controls/label.cc gfx::GetStringWidth(layout_text(), font_list_) > gfx 62 ui/views/controls/label.h Label(const base::string16& text, const gfx::FontList& font_list); gfx 66 ui/views/controls/label.h const gfx::FontList& font_list() const { return font_list_; } gfx 67 ui/views/controls/label.h virtual void SetFontList(const gfx::FontList& font_list); gfx 107 ui/views/controls/label.h void SetHorizontalAlignment(gfx::HorizontalAlignment alignment); gfx 109 ui/views/controls/label.h gfx::HorizontalAlignment horizontal_alignment() const { gfx 173 ui/views/controls/label.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 176 ui/views/controls/label.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 178 ui/views/controls/label.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 184 ui/views/controls/label.h virtual View* GetTooltipHandlerForPoint(const gfx::Point& point) OVERRIDE; gfx 185 ui/views/controls/label.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 191 ui/views/controls/label.h virtual bool GetTooltipText(const gfx::Point& p, gfx 197 ui/views/controls/label.h virtual void PaintText(gfx::Canvas* canvas, gfx 199 ui/views/controls/label.h const gfx::Rect& text_bounds, gfx 202 ui/views/controls/label.h virtual gfx::Size GetTextSize() const; gfx 208 ui/views/controls/label.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 209 ui/views/controls/label.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 228 ui/views/controls/label.h void Init(const base::string16& text, const gfx::FontList& font_list); gfx 233 ui/views/controls/label.h gfx::Rect GetTextBounds() const; gfx 237 ui/views/controls/label.h gfx::Rect GetAvailableRect() const; gfx 241 ui/views/controls/label.h gfx::Rect* text_bounds, gfx 255 ui/views/controls/label.h gfx::FontList font_list_; gfx 268 ui/views/controls/label.h mutable gfx::Size text_size_; gfx 275 ui/views/controls/label.h gfx::HorizontalAlignment horizontal_alignment_; gfx 289 ui/views/controls/label.h gfx::Point shadow_offset_; gfx 295 ui/views/controls/label.h std::vector<gfx::Size> cached_heights_; gfx 25 ui/views/controls/label_unittest.cc gfx::Font font(font_name, 26); gfx 26 ui/views/controls/label_unittest.cc label.SetFontList(gfx::FontList(font)); gfx 27 ui/views/controls/label_unittest.cc gfx::Font font_used = label.font_list().GetPrimaryFont(); gfx 35 ui/views/controls/label_unittest.cc gfx::Font font(font_name, 30); gfx 36 ui/views/controls/label_unittest.cc label.SetFontList(gfx::FontList(font)); gfx 37 ui/views/controls/label_unittest.cc gfx::Font font_used = label.font_list().GetPrimaryFont(); gfx 61 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 62 ui/views/controls/label_unittest.cc EXPECT_EQ(reverse_alignment ? gfx::ALIGN_LEFT : gfx::ALIGN_RIGHT, gfx 64 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 65 ui/views/controls/label_unittest.cc EXPECT_EQ(reverse_alignment ? gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT, gfx 67 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 68 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::ALIGN_CENTER, label.horizontal_alignment()); gfx 73 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 74 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::ALIGN_RIGHT, label.horizontal_alignment()); gfx 75 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 76 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::ALIGN_LEFT, label.horizontal_alignment()); gfx 77 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 78 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::ALIGN_CENTER, label.horizontal_alignment()); gfx 144 ui/views/controls/label_unittest.cc EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 149 ui/views/controls/label_unittest.cc EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 154 ui/views/controls/label_unittest.cc EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 160 ui/views/controls/label_unittest.cc EXPECT_FALSE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 164 ui/views/controls/label_unittest.cc EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 171 ui/views/controls/label_unittest.cc EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 175 ui/views/controls/label_unittest.cc EXPECT_FALSE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 179 ui/views/controls/label_unittest.cc EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 183 ui/views/controls/label_unittest.cc EXPECT_FALSE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 187 ui/views/controls/label_unittest.cc EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); gfx 211 ui/views/controls/label_unittest.cc gfx::Size required_size = label.GetPreferredSize(); gfx 216 ui/views/controls/label_unittest.cc gfx::Insets border(10, 20, 30, 40); gfx 222 ui/views/controls/label_unittest.cc gfx::Size required_size_with_border = label.GetPreferredSize(); gfx 241 ui/views/controls/label_unittest.cc gfx::Size required_size = label.GetPreferredSize(); gfx 256 ui/views/controls/label_unittest.cc gfx::Size required_size = label.GetPreferredSize(); gfx 295 ui/views/controls/label_unittest.cc gfx::Insets border(10, 20, 30, 40); gfx 322 ui/views/controls/label_unittest.cc gfx::Size required_size_with_border = label.GetPreferredSize(); gfx 336 ui/views/controls/label_unittest.cc gfx::Size required_size(label.GetPreferredSize()); gfx 337 ui/views/controls/label_unittest.cc gfx::Size extra(22, 8); gfx 344 ui/views/controls/label_unittest.cc gfx::Rect text_bounds; gfx 347 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::FORCE_RTL_DIRECTIONALITY, gfx 348 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::FORCE_RTL_DIRECTIONALITY | gfx 349 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY)); gfx 361 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::FORCE_LTR_DIRECTIONALITY, gfx 362 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::FORCE_RTL_DIRECTIONALITY | gfx 363 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY)); gfx 376 ui/views/controls/label_unittest.cc gfx::Size required_size(label.GetPreferredSize()); gfx 377 ui/views/controls/label_unittest.cc gfx::Size extra(22, 8); gfx 385 ui/views/controls/label_unittest.cc gfx::Rect text_bounds; gfx 396 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_CENTER, gfx 397 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 398 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 399 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 402 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 412 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_LEFT, gfx 413 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 414 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 415 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 418 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 428 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_RIGHT, gfx 429 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 430 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 431 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 434 ui/views/controls/label_unittest.cc gfx::Insets border(39, 34, 8, 96); gfx 438 ui/views/controls/label_unittest.cc gfx::Size required_size_with_border(label.GetPreferredSize()); gfx 449 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 459 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_CENTER, gfx 460 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 461 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 462 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 465 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 475 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_LEFT, gfx 476 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 477 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 478 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 481 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 491 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_RIGHT, gfx 492 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 493 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 494 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 512 ui/views/controls/label_unittest.cc gfx::Size extra(50, 10); gfx 520 ui/views/controls/label_unittest.cc gfx::Rect text_bounds; gfx 528 ui/views/controls/label_unittest.cc int expected_flags = gfx::Canvas::MULTI_LINE | gfx 529 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 530 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 534 ui/views/controls/label_unittest.cc EXPECT_EQ(expected_flags | gfx::Canvas::NO_ELLIPSIS, flags); gfx 536 ui/views/controls/label_unittest.cc gfx::Rect center_bounds(text_bounds); gfx 538 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 547 ui/views/controls/label_unittest.cc expected_flags = gfx::Canvas::MULTI_LINE | gfx 548 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_LEFT | gfx 549 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 553 ui/views/controls/label_unittest.cc EXPECT_EQ(expected_flags | gfx::Canvas::NO_ELLIPSIS, flags); gfx 556 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 565 ui/views/controls/label_unittest.cc expected_flags = gfx::Canvas::MULTI_LINE | gfx 566 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT | gfx 567 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 571 ui/views/controls/label_unittest.cc EXPECT_EQ(expected_flags | gfx::Canvas::NO_ELLIPSIS, flags); gfx 575 ui/views/controls/label_unittest.cc gfx::Insets border(19, 92, 23, 2); gfx 584 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 593 ui/views/controls/label_unittest.cc expected_flags = gfx::Canvas::MULTI_LINE | gfx 594 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 595 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 599 ui/views/controls/label_unittest.cc EXPECT_EQ(expected_flags | gfx::Canvas::NO_ELLIPSIS, flags); gfx 602 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 611 ui/views/controls/label_unittest.cc expected_flags = gfx::Canvas::MULTI_LINE | gfx 612 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_LEFT | gfx 613 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 617 ui/views/controls/label_unittest.cc EXPECT_EQ(expected_flags | gfx::Canvas::NO_ELLIPSIS, flags); gfx 620 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 629 ui/views/controls/label_unittest.cc expected_flags = gfx::Canvas::MULTI_LINE | gfx 630 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT | gfx 631 ui/views/controls/label_unittest.cc gfx::Canvas::FORCE_LTR_DIRECTIONALITY; gfx 635 ui/views/controls/label_unittest.cc EXPECT_EQ(expected_flags | gfx::Canvas::NO_ELLIPSIS, flags); gfx 648 ui/views/controls/label_unittest.cc gfx::Size required_size(label.GetPreferredSize()); gfx 649 ui/views/controls/label_unittest.cc gfx::Size extra(22, 8); gfx 657 ui/views/controls/label_unittest.cc gfx::Rect text_bounds; gfx 668 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_CENTER, gfx 669 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 670 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 671 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 674 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 684 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_RIGHT, gfx 685 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 686 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 687 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 690 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 700 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_LEFT, gfx 701 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 702 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 703 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 707 ui/views/controls/label_unittest.cc gfx::Insets border(39, 34, 8, 96); gfx 711 ui/views/controls/label_unittest.cc gfx::Size required_size_with_border(label.GetPreferredSize()); gfx 722 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 732 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_CENTER, gfx 733 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 734 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 735 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 738 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 748 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_RIGHT, gfx 749 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 750 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 751 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 754 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 764 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::TEXT_ALIGN_LEFT, gfx 765 ui/views/controls/label_unittest.cc flags & (gfx::Canvas::TEXT_ALIGN_LEFT | gfx 766 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 767 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT)); gfx 788 ui/views/controls/label_unittest.cc gfx::Size extra(50, 10); gfx 796 ui/views/controls/label_unittest.cc gfx::Rect text_bounds; gfx 805 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_CENTER, flags); gfx 808 ui/views/controls/label_unittest.cc gfx::Canvas::MULTI_LINE | gfx 809 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 810 ui/views/controls/label_unittest.cc gfx::Canvas::NO_ELLIPSIS, gfx 813 ui/views/controls/label_unittest.cc gfx::Rect center_bounds(text_bounds); gfx 815 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 825 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_RIGHT, flags); gfx 828 ui/views/controls/label_unittest.cc gfx::Canvas::MULTI_LINE | gfx 829 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT | gfx 830 ui/views/controls/label_unittest.cc gfx::Canvas::NO_ELLIPSIS, gfx 834 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 844 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_LEFT, flags); gfx 847 ui/views/controls/label_unittest.cc gfx::Canvas::MULTI_LINE | gfx 848 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_LEFT | gfx 849 ui/views/controls/label_unittest.cc gfx::Canvas::NO_ELLIPSIS, gfx 854 ui/views/controls/label_unittest.cc gfx::Insets border(19, 92, 23, 2); gfx 863 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 873 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_CENTER, flags); gfx 876 ui/views/controls/label_unittest.cc gfx::Canvas::MULTI_LINE | gfx 877 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 878 ui/views/controls/label_unittest.cc gfx::Canvas::NO_ELLIPSIS, gfx 882 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 892 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_RIGHT, flags); gfx 895 ui/views/controls/label_unittest.cc gfx::Canvas::MULTI_LINE | gfx 896 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_RIGHT | gfx 897 ui/views/controls/label_unittest.cc gfx::Canvas::NO_ELLIPSIS, gfx 901 ui/views/controls/label_unittest.cc label.SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 911 ui/views/controls/label_unittest.cc EXPECT_EQ(gfx::Canvas::MULTI_LINE | gfx::Canvas::TEXT_ALIGN_LEFT, flags); gfx 914 ui/views/controls/label_unittest.cc gfx::Canvas::MULTI_LINE | gfx 915 ui/views/controls/label_unittest.cc gfx::Canvas::TEXT_ALIGN_LEFT | gfx 916 ui/views/controls/label_unittest.cc gfx::Canvas::NO_ELLIPSIS, gfx 930 ui/views/controls/label_unittest.cc 0, label.ComputeDrawStringFlags() & gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 934 ui/views/controls/label_unittest.cc gfx::Canvas::NO_SUBPIXEL_RENDERING, gfx 935 ui/views/controls/label_unittest.cc label.ComputeDrawStringFlags() & gfx::Canvas::NO_SUBPIXEL_RENDERING); gfx 945 ui/views/controls/label_unittest.cc EXPECT_EQ(&label, label.GetTooltipHandlerForPoint(gfx::Point(2, 2))); gfx 949 ui/views/controls/label_unittest.cc EXPECT_FALSE(label.GetTooltipHandlerForPoint(gfx::Point(2, 2))); gfx 954 ui/views/controls/label_unittest.cc EXPECT_EQ(&label, label.GetTooltipHandlerForPoint(gfx::Point(2, 2))); gfx 958 ui/views/controls/label_unittest.cc EXPECT_FALSE(label.GetTooltipHandlerForPoint(gfx::Point(2, 51))); gfx 959 ui/views/controls/label_unittest.cc EXPECT_FALSE(label.GetTooltipHandlerForPoint(gfx::Point(-1, 20))); gfx 963 ui/views/controls/label_unittest.cc EXPECT_EQ(&label, label.GetTooltipHandlerForPoint(gfx::Point(1, 5))); gfx 964 ui/views/controls/label_unittest.cc EXPECT_FALSE(label.GetTooltipHandlerForPoint(gfx::Point(3, 11))); gfx 47 ui/views/controls/link.cc gfx::NativeCursor Link::GetCursor(const ui::MouseEvent& event) { gfx 49 ui/views/controls/link.cc return gfx::kNullCursor; gfx 53 ui/views/controls/link.cc bool Link::HitTestRect(const gfx::Rect& rect) const { gfx 155 ui/views/controls/link.cc void Link::SetFontList(const gfx::FontList& font_list) { gfx 223 ui/views/controls/link.cc (style | gfx::Font::UNDERLINE) : (style & ~gfx::Font::UNDERLINE); gfx 38 ui/views/controls/link.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 39 ui/views/controls/link.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 52 ui/views/controls/link.h virtual void SetFontList(const gfx::FontList& font_list) OVERRIDE; gfx 24 ui/views/controls/menu/display_change_listener_aura.cc const gfx::Rect& old_bounds, gfx 25 ui/views/controls/menu/display_change_listener_aura.cc const gfx::Rect& new_bounds) OVERRIDE; gfx 50 ui/views/controls/menu/display_change_listener_aura.cc const gfx::Rect& old_bounds, gfx 51 ui/views/controls/menu/display_change_listener_aura.cc const gfx::Rect& new_bounds) { gfx 28 ui/views/controls/menu/menu.cc const gfx::ImageSkia& Menu::Delegate::GetIcon(int id) const { gfx 60 ui/views/controls/menu/menu.cc const gfx::ImageSkia& Menu::Delegate::GetEmptyIcon() const { gfx 61 ui/views/controls/menu/menu.cc static const gfx::ImageSkia* empty_icon = new gfx::ImageSkia(); gfx 91 ui/views/controls/menu/menu.cc AddMenuItemInternal(index, item_id, label, gfx::ImageSkia(), type); gfx 99 ui/views/controls/menu/menu.cc return AddSubMenuWithIcon(index, item_id, label, gfx::ImageSkia()); gfx 104 ui/views/controls/menu/menu.cc const gfx::ImageSkia& icon) { gfx 132 ui/views/controls/menu/menu.cc const gfx::ImageSkia& icon) { gfx 139 ui/views/controls/menu/menu.cc const gfx::ImageSkia& icon) { gfx 15 ui/views/controls/menu/menu.h namespace gfx { gfx 56 ui/views/controls/menu/menu.h virtual const gfx::ImageSkia& GetIcon(int id) const; gfx 73 ui/views/controls/menu/menu.h const gfx::Point& p, gfx 103 ui/views/controls/menu/menu.h const gfx::ImageSkia& GetEmptyIcon() const; gfx 134 ui/views/controls/menu/menu.h gfx::NativeView parent); gfx 138 ui/views/controls/menu/menu.h static Menu* GetSystemMenu(gfx::NativeWindow parent); gfx 173 ui/views/controls/menu/menu.h const gfx::ImageSkia& icon); gfx 177 ui/views/controls/menu/menu.h const gfx::ImageSkia& icon) = 0; gfx 200 ui/views/controls/menu/menu.h const gfx::ImageSkia& icon); gfx 204 ui/views/controls/menu/menu.h const gfx::ImageSkia& icon); gfx 216 ui/views/controls/menu/menu.h virtual bool SetIcon(const gfx::ImageSkia& icon, int item_id) = 0; gfx 240 ui/views/controls/menu/menu.h const gfx::ImageSkia& icon, gfx 24 ui/views/controls/menu/menu_2.cc void Menu2::RunMenuAt(const gfx::Point& point, Alignment alignment) { gfx 28 ui/views/controls/menu/menu_2.cc void Menu2::RunContextMenuAt(const gfx::Point& point) { gfx 14 ui/views/controls/menu/menu_2.h namespace gfx { gfx 50 ui/views/controls/menu/menu_2.h void RunMenuAt(const gfx::Point& point, Alignment alignment); gfx 51 ui/views/controls/menu/menu_2.h void RunContextMenuAt(const gfx::Point& point); gfx 27 ui/views/controls/menu/menu_config.h gfx::FontList font_list; gfx 37 ui/views/controls/menu/menu_config_views.cc gfx::ImageSkia check = GetMenuCheckImage(false); gfx 38 ui/views/controls/menu/menu_config_win.cc font_list = gfx::FontList(gfx::Font(new_font)); gfx 43 ui/views/controls/menu/menu_config_win.cc gfx::Size check_size = NativeThemeWin::instance()->GetPartSize( gfx 54 ui/views/controls/menu/menu_config_win.cc gfx::Size radio_size = NativeThemeWin::instance()->GetPartSize( gfx 61 ui/views/controls/menu/menu_config_win.cc gfx::Size arrow_size = NativeThemeWin::instance()->GetPartSize( gfx 280 ui/views/controls/menu/menu_controller.cc gfx::Rect vis_rect = submenu_->GetVisibleBounds(); gfx 359 ui/views/controls/menu/menu_controller.cc const gfx::Rect& bounds, gfx 368 ui/views/controls/menu/menu_controller.cc menu_start_mouse_press_loc_ = gfx::Point(); gfx 380 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc( gfx 615 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); gfx 617 ui/views/controls/menu/menu_controller.cc gfx::Vector2d moved = screen_loc - menu_start_mouse_press_loc_; gfx 736 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); gfx 754 ui/views/controls/menu/menu_controller.cc gfx::Point menu_item_loc(event.location()); gfx 856 ui/views/controls/menu/menu_controller.cc gfx::Point point = GetScreen()->GetCursorScreenPoint(); gfx 987 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); gfx 1026 ui/views/controls/menu/menu_controller.cc const gfx::Point& location) { gfx 1032 ui/views/controls/menu/menu_controller.cc gfx::Point press_loc(location); gfx 1035 ui/views/controls/menu/menu_controller.cc gfx::Point widget_loc(press_loc); gfx 1037 ui/views/controls/menu/menu_controller.cc scoped_ptr<gfx::Canvas> canvas(GetCanvasForDragImage( gfx 1038 ui/views/controls/menu/menu_controller.cc source->GetWidget(), gfx::Size(item->width(), item->height()))); gfx 1208 ui/views/controls/menu/menu_controller.cc const gfx::Rect& bounds, gfx 1237 ui/views/controls/menu/menu_controller.cc gfx::Rect monitor_area = GetScreen()->GetDisplayNearestPoint( gfx 1258 ui/views/controls/menu/menu_controller.cc const gfx::Point& mouse_location) { gfx 1271 ui/views/controls/menu/menu_controller.cc gfx::NativeWindow window_under_mouse = GetScreen()->GetWindowUnderCursor(); gfx 1278 ui/views/controls/menu/menu_controller.cc gfx::Point screen_point(mouse_location); gfx 1308 ui/views/controls/menu/menu_controller.cc gfx::Point screen_menu_loc; gfx 1314 ui/views/controls/menu/menu_controller.cc UpdateInitialLocation(gfx::Rect(screen_menu_loc.x(), screen_menu_loc.y(), gfx 1335 ui/views/controls/menu/menu_controller.cc gfx::Point loc(event.location()); gfx 1362 ui/views/controls/menu/menu_controller.cc View* child_under_mouse = source->GetEventHandlerForPoint(gfx::Point(x, y)); gfx 1375 ui/views/controls/menu/menu_controller.cc View* child_under_mouse = source->GetEventHandlerForPoint(gfx::Point(x, y)); gfx 1389 ui/views/controls/menu/menu_controller.cc scroll_view->GetEventHandlerForPoint(gfx::Point(x, y)); gfx 1405 ui/views/controls/menu/menu_controller.cc const gfx::Point& source_loc) { gfx 1406 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(source_loc); gfx 1413 ui/views/controls/menu/menu_controller.cc const gfx::Point& screen_loc) { gfx 1427 ui/views/controls/menu/menu_controller.cc const gfx::Point& screen_loc, gfx 1430 ui/views/controls/menu/menu_controller.cc gfx::Point scroll_view_loc = screen_loc; gfx 1448 ui/views/controls/menu/menu_controller.cc gfx::Point menu_loc = screen_loc; gfx 1465 ui/views/controls/menu/menu_controller.cc const gfx::Point& screen_loc) { gfx 1466 ui/views/controls/menu/menu_controller.cc gfx::Point view_loc = screen_loc; gfx 1468 ui/views/controls/menu/menu_controller.cc gfx::Rect vis_rect = submenu->GetVisibleBounds(); gfx 1577 ui/views/controls/menu/menu_controller.cc gfx::Rect bounds = MenuItemView::IsBubble(state_.anchor) ? gfx 1671 ui/views/controls/menu/menu_controller.cc gfx::Rect MenuController::CalculateMenuBounds(MenuItemView* item, gfx 1679 ui/views/controls/menu/menu_controller.cc gfx::Size pref = submenu->GetScrollViewContainer()->GetPreferredSize(); gfx 1799 ui/views/controls/menu/menu_controller.cc gfx::Point item_loc; gfx 1846 ui/views/controls/menu/menu_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); gfx 1849 ui/views/controls/menu/menu_controller.cc gfx::Rect MenuController::CalculateBubbleMenuBounds(MenuItemView* item, gfx 1861 ui/views/controls/menu/menu_controller.cc gfx::Size pref = submenu->GetScrollViewContainer()->GetPreferredSize(); gfx 1862 ui/views/controls/menu/menu_controller.cc const gfx::Rect& owner_bounds = pending_state_.initial_bounds; gfx 1926 ui/views/controls/menu/menu_controller.cc return gfx::Rect(x, y, pref.width(), pref.height()); gfx 2117 ui/views/controls/menu/menu_controller.cc gfx::Point screen_loc(event.location()); gfx 2120 ui/views/controls/menu/menu_controller.cc gfx::NativeView native_view = source->GetWidget()->GetNativeView(); gfx 2121 ui/views/controls/menu/menu_controller.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(native_view); gfx 2122 ui/views/controls/menu/menu_controller.cc gfx::NativeWindow window = screen->GetWindowAtScreenPoint(screen_loc); gfx 2131 ui/views/controls/menu/menu_controller.cc gfx::NativeView view = submenu->GetWidget()->GetNativeView(); gfx 2199 ui/views/controls/menu/menu_controller.cc gfx::Point target_menu_loc(event.location()); gfx 2218 ui/views/controls/menu/menu_controller.cc gfx::Point target_point(target_menu_loc); gfx 2235 ui/views/controls/menu/menu_controller.cc gfx::Point target_point(target_menu_loc); gfx 2251 ui/views/controls/menu/menu_controller.cc gfx::Point target_loc(event.location()); gfx 2316 ui/views/controls/menu/menu_controller.cc const gfx::Point& mouse_location) { gfx 2347 ui/views/controls/menu/menu_controller.cc gfx::Screen* MenuController::GetScreen() { gfx 2349 ui/views/controls/menu/menu_controller.cc return root ? gfx::Screen::GetScreenFor(root) gfx 2350 ui/views/controls/menu/menu_controller.cc : gfx::Screen::GetNativeScreen(); gfx 25 ui/views/controls/menu/menu_controller.h namespace gfx { gfx 78 ui/views/controls/menu/menu_controller.h const gfx::Rect& bounds, gfx 195 ui/views/controls/menu/menu_controller.h gfx::Rect initial_bounds; gfx 204 ui/views/controls/menu/menu_controller.h gfx::Rect monitor_bounds; gfx 255 ui/views/controls/menu/menu_controller.h void StartDrag(SubmenuView* source, const gfx::Point& location); gfx 278 ui/views/controls/menu/menu_controller.h void UpdateInitialLocation(const gfx::Rect& bounds, gfx 286 ui/views/controls/menu/menu_controller.h bool ShowSiblingMenu(SubmenuView* source, const gfx::Point& mouse_location); gfx 318 ui/views/controls/menu/menu_controller.h MenuPart GetMenuPart(SubmenuView* source, const gfx::Point& source_loc); gfx 323 ui/views/controls/menu/menu_controller.h const gfx::Point& screen_loc); gfx 329 ui/views/controls/menu/menu_controller.h const gfx::Point& screen_loc, gfx 335 ui/views/controls/menu/menu_controller.h const gfx::Point& screen_loc); gfx 382 ui/views/controls/menu/menu_controller.h gfx::Rect CalculateMenuBounds(MenuItemView* item, gfx 388 ui/views/controls/menu/menu_controller.h gfx::Rect CalculateBubbleMenuBounds(MenuItemView* item, gfx 476 ui/views/controls/menu/menu_controller.h const gfx::Point& mouse_location); gfx 479 ui/views/controls/menu/menu_controller.h gfx::Screen* GetScreen(); gfx 545 ui/views/controls/menu/menu_controller.h gfx::Point press_pt_; gfx 550 ui/views/controls/menu/menu_controller.h gfx::Point drop_pt_; gfx 582 ui/views/controls/menu/menu_controller.h gfx::Point menu_start_mouse_press_loc_; gfx 20 ui/views/controls/menu/menu_delegate.cc const gfx::FontList* MenuDelegate::GetLabelFontList(int id) const { gfx 42 ui/views/controls/menu/menu_delegate.cc const gfx::Point& screen_loc) const { gfx 52 ui/views/controls/menu/menu_delegate.cc const gfx::Point& p, gfx 133 ui/views/controls/menu/menu_delegate.cc const gfx::Point& screen_point, gfx 19 ui/views/controls/menu/menu_delegate.h namespace gfx { gfx 67 ui/views/controls/menu/menu_delegate.h virtual const gfx::FontList* GetLabelFontList(int id) const; gfx 96 ui/views/controls/menu/menu_delegate.h const gfx::Point& screen_loc) const; gfx 112 ui/views/controls/menu/menu_delegate.h const gfx::Point& p, gfx 215 ui/views/controls/menu/menu_delegate.h const gfx::Point& screen_point, gfx 38 ui/views/controls/menu/menu_host.cc const gfx::Rect& bounds, gfx 97 ui/views/controls/menu/menu_host.cc void MenuHost::SetMenuHostBounds(const gfx::Rect& bounds) { gfx 34 ui/views/controls/menu/menu_host.h const gfx::Rect& bounds, gfx 52 ui/views/controls/menu/menu_host.h void SetMenuHostBounds(const gfx::Rect& bounds); gfx 36 ui/views/controls/menu/menu_image_util.cc class RadioButtonImageSource : public gfx::CanvasImageSource { gfx 39 ui/views/controls/menu/menu_image_util.cc : CanvasImageSource(gfx::Size(kIndicatorSize + 2, kIndicatorSize + 2), gfx 45 ui/views/controls/menu/menu_image_util.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 46 ui/views/controls/menu/menu_image_util.cc canvas->Translate(gfx::Vector2d(1, 1)); gfx 101 ui/views/controls/menu/menu_image_util.cc class SubmenuArrowImageSource : public gfx::CanvasImageSource { gfx 104 ui/views/controls/menu/menu_image_util.cc : gfx::CanvasImageSource(ui::ResourceBundle::GetSharedInstance(). gfx 109 ui/views/controls/menu/menu_image_util.cc virtual void Draw(gfx::Canvas* canvas) OVERRIDE { gfx 111 ui/views/controls/menu/menu_image_util.cc const gfx::ImageSkia* r = rb.GetImageNamed(image_id_).ToImageSkia(); gfx 117 ui/views/controls/menu/menu_image_util.cc static gfx::Size GetSubmenuArrowSize() { gfx 127 ui/views/controls/menu/menu_image_util.cc gfx::ImageSkia GetRtlSubmenuArrowImage(bool rtl, gfx 137 ui/views/controls/menu/menu_image_util.cc static gfx::ImageSkia* kRtlArrow = NULL; gfx 138 ui/views/controls/menu/menu_image_util.cc static gfx::ImageSkia* kRtlArrowDarkBg = NULL; gfx 139 ui/views/controls/menu/menu_image_util.cc gfx::ImageSkia** image = dark_background ? &kRtlArrowDarkBg : &kRtlArrow; gfx 143 ui/views/controls/menu/menu_image_util.cc *image = new gfx::ImageSkia(source, source->size()); gfx 153 ui/views/controls/menu/menu_image_util.cc gfx::ImageSkia GetMenuCheckImage(bool dark_background) { gfx 160 ui/views/controls/menu/menu_image_util.cc gfx::ImageSkia GetRadioButtonImage(bool selected) { gfx 166 ui/views/controls/menu/menu_image_util.cc gfx::ImageSkia GetSubmenuArrowImage(bool dark_background) { gfx 8 ui/views/controls/menu/menu_image_util.h namespace gfx { gfx 18 ui/views/controls/menu/menu_image_util.h gfx::ImageSkia GetMenuCheckImage(bool dark_background); gfx 24 ui/views/controls/menu/menu_image_util.h gfx::ImageSkia GetRadioButtonImage(bool selected); gfx 29 ui/views/controls/menu/menu_image_util.h gfx::ImageSkia GetSubmenuArrowImage(bool dark_background); gfx 52 ui/views/controls/menu/menu_item_view.cc virtual bool GetTooltipText(const gfx::Point& p, gfx 121 ui/views/controls/menu/menu_item_view.cc bool MenuItemView::GetTooltipText(const gfx::Point& p, gfx 147 ui/views/controls/menu/menu_item_view.cc gfx::Point location(p); gfx 234 ui/views/controls/menu/menu_item_view.cc const gfx::ImageSkia& icon, gfx 280 ui/views/controls/menu/menu_item_view.cc gfx::ImageSkia(), type, ui::NORMAL_SEPARATOR); gfx 286 ui/views/controls/menu/menu_item_view.cc gfx::ImageSkia(), SUBMENU, ui::NORMAL_SEPARATOR); gfx 291 ui/views/controls/menu/menu_item_view.cc const gfx::ImageSkia& icon) { gfx 308 ui/views/controls/menu/menu_item_view.cc gfx::ImageSkia(), SEPARATOR, ui::NORMAL_SEPARATOR); gfx 313 ui/views/controls/menu/menu_item_view.cc const gfx::ImageSkia& icon) { gfx 323 ui/views/controls/menu/menu_item_view.cc const gfx::ImageSkia& icon, gfx 371 ui/views/controls/menu/menu_item_view.cc void MenuItemView::SetIcon(const gfx::ImageSkia& icon, int item_id) { gfx 377 ui/views/controls/menu/menu_item_view.cc void MenuItemView::SetIcon(const gfx::ImageSkia& icon) { gfx 402 ui/views/controls/menu/menu_item_view.cc void MenuItemView::OnPaint(gfx::Canvas* canvas) { gfx 406 ui/views/controls/menu/menu_item_view.cc gfx::Size MenuItemView::GetPreferredSize() { gfx 408 ui/views/controls/menu/menu_item_view.cc return gfx::Size(dimensions.standard_width + dimensions.children_width, gfx 518 ui/views/controls/menu/menu_item_view.cc gfx::Size size = child->GetPreferredSize(); gfx 536 ui/views/controls/menu/menu_item_view.cc gfx::Size size = icon_view_->GetPreferredSize(); gfx 543 ui/views/controls/menu/menu_item_view.cc icon_view_->SetPosition(gfx::Point(x, y)); gfx 678 ui/views/controls/menu/menu_item_view.cc flags |= gfx::Canvas::TEXT_ALIGN_RIGHT; gfx 680 ui/views/controls/menu/menu_item_view.cc flags |= gfx::Canvas::TEXT_ALIGN_LEFT; gfx 684 ui/views/controls/menu/menu_item_view.cc flags |= gfx::Canvas::SHOW_PREFIX; gfx 686 ui/views/controls/menu/menu_item_view.cc flags |= gfx::Canvas::HIDE_PREFIX; gfx 692 ui/views/controls/menu/menu_item_view.cc const gfx::FontList& MenuItemView::GetFontList() { gfx 695 ui/views/controls/menu/menu_item_view.cc const gfx::FontList* font_list = delegate->GetLabelFontList(GetCommand()); gfx 734 ui/views/controls/menu/menu_item_view.cc void MenuItemView::AdjustBoundsForRTLUI(gfx::Rect* rect) const { gfx 738 ui/views/controls/menu/menu_item_view.cc void MenuItemView::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { gfx 756 ui/views/controls/menu/menu_item_view.cc gfx::Rect item_bounds(0, 0, width(), height()); gfx 773 ui/views/controls/menu/menu_item_view.cc gfx::ImageSkia check = GetMenuCheckImage(IsSelected()); gfx 776 ui/views/controls/menu/menu_item_view.cc gfx::Rect check_bounds(icon_x, gfx 783 ui/views/controls/menu/menu_item_view.cc gfx::ImageSkia image = gfx 785 ui/views/controls/menu/menu_item_view.cc gfx::Rect radio_bounds(icon_x, gfx 814 ui/views/controls/menu/menu_item_view.cc const gfx::FontList& font_list = GetFontList(); gfx 822 ui/views/controls/menu/menu_item_view.cc gfx::Rect text_bounds(label_start, top_margin, width, gfx 828 ui/views/controls/menu/menu_item_view.cc flags |= gfx::Canvas::NO_SUBPIXEL_RENDERING; gfx 837 ui/views/controls/menu/menu_item_view.cc text_bounds + gfx::Vector2d(0, font_list.GetHeight()), gfx 845 ui/views/controls/menu/menu_item_view.cc gfx::ImageSkia arrow = GetSubmenuArrowImage(IsSelected()); gfx 846 ui/views/controls/menu/menu_item_view.cc gfx::Rect arrow_bounds(this->width() - config.arrow_width - gfx 856 ui/views/controls/menu/menu_item_view.cc void MenuItemView::PaintMinorText(gfx::Canvas* canvas, gfx 868 ui/views/controls/menu/menu_item_view.cc gfx::Rect accel_bounds(width() - accel_right_margin - max_accel_width, gfx 872 ui/views/controls/menu/menu_item_view.cc flags &= ~(gfx::Canvas::TEXT_ALIGN_RIGHT | gfx::Canvas::TEXT_ALIGN_LEFT); gfx 874 ui/views/controls/menu/menu_item_view.cc flags |= gfx::Canvas::TEXT_ALIGN_LEFT; gfx 876 ui/views/controls/menu/menu_item_view.cc flags |= gfx::Canvas::TEXT_ALIGN_RIGHT; gfx 918 ui/views/controls/menu/menu_item_view.cc gfx::Size MenuItemView::GetChildPreferredSize() { gfx 920 ui/views/controls/menu/menu_item_view.cc return gfx::Size(); gfx 942 ui/views/controls/menu/menu_item_view.cc return gfx::Size(width, height); gfx 946 ui/views/controls/menu/menu_item_view.cc gfx::Size child_size = GetChildPreferredSize(); gfx 965 ui/views/controls/menu/menu_item_view.cc const gfx::FontList& font_list = GetFontList(); gfx 980 ui/views/controls/menu/menu_item_view.cc int string_width = gfx::GetStringWidth(title_, font_list); gfx 983 ui/views/controls/menu/menu_item_view.cc gfx::GetStringWidth(subtitle_, font_list)); gfx 991 ui/views/controls/menu/menu_item_view.cc minor_text.empty() ? 0 : gfx::GetStringWidth(minor_text, font_list); gfx 26 ui/views/controls/menu/menu_item_view.h namespace gfx { gfx 134 ui/views/controls/menu/menu_item_view.h virtual bool GetTooltipText(const gfx::Point& p, gfx 163 ui/views/controls/menu/menu_item_view.h const gfx::ImageSkia& icon, gfx 192 ui/views/controls/menu/menu_item_view.h const gfx::ImageSkia& icon); gfx 211 ui/views/controls/menu/menu_item_view.h const gfx::ImageSkia& icon); gfx 218 ui/views/controls/menu/menu_item_view.h const gfx::ImageSkia& icon, gfx 260 ui/views/controls/menu/menu_item_view.h void SetIcon(const gfx::ImageSkia& icon, int item_id); gfx 263 ui/views/controls/menu/menu_item_view.h void SetIcon(const gfx::ImageSkia& icon); gfx 277 ui/views/controls/menu/menu_item_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 280 ui/views/controls/menu/menu_item_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 347 ui/views/controls/menu/menu_item_view.h virtual gfx::Size GetChildPreferredSize(); gfx 379 ui/views/controls/menu/menu_item_view.h const gfx::FontList& GetFontList(); gfx 391 ui/views/controls/menu/menu_item_view.h void AdjustBoundsForRTLUI(gfx::Rect* rect) const; gfx 395 ui/views/controls/menu/menu_item_view.h void PaintButton(gfx::Canvas* canvas, PaintButtonMode mode); gfx 398 ui/views/controls/menu/menu_item_view.h void PaintMinorText(gfx::Canvas* canvas, bool render_selection); gfx 29 ui/views/controls/menu/menu_message_pump_dispatcher_win.cc gfx::Point screen_loc(0, item->height()); gfx 60 ui/views/controls/menu/menu_model_adapter.cc gfx::Image icon; gfx 87 ui/views/controls/menu/menu_model_adapter.cc icon = gfx::Image(); gfx 109 ui/views/controls/menu/menu_model_adapter.cc icon.IsEmpty() ? gfx::ImageSkia() : *icon.ToImageSkia(), gfx 184 ui/views/controls/menu/menu_model_adapter.cc const gfx::FontList* MenuModelAdapter::GetLabelFontList(int id) const { gfx 188 ui/views/controls/menu/menu_model_adapter.cc const gfx::FontList* font_list = model->GetLabelFontListAt(index); gfx 72 ui/views/controls/menu/menu_model_adapter.h virtual const gfx::FontList* GetLabelFontList(int id) const OVERRIDE; gfx 63 ui/views/controls/menu/menu_model_adapter_unittest.cc virtual const gfx::FontList* GetLabelFontListAt(int index) const OVERRIDE { gfx 80 ui/views/controls/menu/menu_model_adapter_unittest.cc virtual bool GetIconAt(int index, gfx::Image* icon) OVERRIDE { gfx 45 ui/views/controls/menu/menu_runner.cc const gfx::Rect& bounds, gfx 146 ui/views/controls/menu/menu_runner.cc const gfx::Rect& bounds, gfx 302 ui/views/controls/menu/menu_runner.cc const gfx::Rect& bounds, gfx 105 ui/views/controls/menu/menu_runner.h const gfx::Rect& bounds, gfx 23 ui/views/controls/menu/menu_runner_handler.h const gfx::Rect& bounds, gfx 43 ui/views/controls/menu/menu_scroll_view_container.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 44 ui/views/controls/menu/menu_scroll_view_container.cc return gfx::Size( gfx 73 ui/views/controls/menu/menu_scroll_view_container.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 77 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Rect item_bounds(0, 0, width(), height()); gfx 142 ui/views/controls/menu/menu_scroll_view_container.cc virtual void ScrollRectToVisible(const gfx::Rect& rect) OVERRIDE { gfx 205 ui/views/controls/menu/menu_scroll_view_container.cc void MenuScrollViewContainer::OnPaintBackground(gfx::Canvas* canvas) { gfx 211 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Rect bounds(0, 0, width(), height()); gfx 220 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Insets insets = GetInsets(); gfx 231 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Size pref = scroll_up_button_->GetPreferredSize(); gfx 246 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Size MenuScrollViewContainer::GetPreferredSize() { gfx 247 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Size prefsize = scroll_view_->GetContents()->GetPreferredSize(); gfx 248 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Insets insets = GetInsets(); gfx 266 ui/views/controls/menu/menu_scroll_view_container.cc const gfx::Rect& previous_bounds) { gfx 267 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Size content_pref = scroll_view_->GetContents()->GetPreferredSize(); gfx 302 ui/views/controls/menu/menu_scroll_view_container.cc gfx::Insets(top, left, bottom, right))); gfx 34 ui/views/controls/menu/menu_scroll_view_container.h virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; gfx 36 ui/views/controls/menu/menu_scroll_view_container.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 41 ui/views/controls/menu/menu_scroll_view_container.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 23 ui/views/controls/menu/menu_separator.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 24 ui/views/controls/menu/menu_separator.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 27 ui/views/controls/menu/menu_separator.h void OnPaintAura(gfx::Canvas* canvas); gfx 28 ui/views/controls/menu/menu_separator.h gfx::Size GetPreferredSizeAura(); gfx 22 ui/views/controls/menu/menu_separator_views.cc void MenuSeparator::OnPaint(gfx::Canvas* canvas) { gfx 26 ui/views/controls/menu/menu_separator_views.cc gfx::Size MenuSeparator::GetPreferredSize() { gfx 31 ui/views/controls/menu/menu_separator_views.cc void MenuSeparator::OnPaintAura(gfx::Canvas* canvas) { gfx 45 ui/views/controls/menu/menu_separator_views.cc canvas->FillRect(gfx::Rect(0, pos, width(), kSeparatorHeight), gfx 50 ui/views/controls/menu/menu_separator_views.cc gfx::Size MenuSeparator::GetPreferredSizeAura() { gfx 67 ui/views/controls/menu/menu_separator_views.cc return gfx::Size(10, // Just in case we're the only item in a menu. gfx 20 ui/views/controls/menu/menu_separator_win.cc void MenuSeparator::OnPaint(gfx::Canvas* canvas) { gfx 32 ui/views/controls/menu/menu_separator_win.cc gfx::Rect gutter_bounds(MenuItemView::label_start() - gfx 42 ui/views/controls/menu/menu_separator_win.cc gfx::Rect separator_bounds(start_x, 0, width(), height()); gfx 50 ui/views/controls/menu/menu_separator_win.cc gfx::Size MenuSeparator::GetPreferredSize() { gfx 56 ui/views/controls/menu/menu_separator_win.cc return gfx::Size(10, // Just in case we're the only item in a menu. gfx 11 ui/views/controls/menu/menu_wrapper.h namespace gfx { gfx 41 ui/views/controls/menu/menu_wrapper.h virtual void RunMenuAt(const gfx::Point& point, int alignment) = 0; gfx 84 ui/views/controls/menu/native_menu_win.cc gfx::CheckWindowCreated(hwnd_); gfx 85 ui/views/controls/menu/native_menu_win.cc gfx::SetWindowUserData(hwnd_, this); gfx 175 ui/views/controls/menu/native_menu_win.cc gfx::FontList font_list; gfx 177 ui/views/controls/menu/native_menu_win.cc gfx::GetStringWidth(data->label, font_list) + gfx 184 ui/views/controls/menu/native_menu_win.cc measure_item_struct->itemWidth += gfx::GetStringWidth(L" ", font_list); gfx 230 ui/views/controls/menu/native_menu_win.cc gfx::FontList font_list; gfx 259 ui/views/controls/menu/native_menu_win.cc gfx::Image icon; gfx 262 ui/views/controls/menu/native_menu_win.cc const gfx::ImageSkia* skia_icon = icon.ToImageSkia(); gfx 264 ui/views/controls/menu/native_menu_win.cc gfx::Canvas canvas( gfx 290 ui/views/controls/menu/native_menu_win.cc gfx::Canvas canvas(gfx::Size(config.check_width, config.check_height), gfx 295 ui/views/controls/menu/native_menu_win.cc gfx::Rect bounds(0, 0, config.check_width, config.check_height); gfx 354 ui/views/controls/menu/native_menu_win.cc reinterpret_cast<MenuHostWindow*>(gfx::GetWindowUserData(window)); gfx 418 ui/views/controls/menu/native_menu_win.cc void NativeMenuWin::RunMenuAt(const gfx::Point& point, int alignment) { gfx 36 ui/views/controls/menu/native_menu_win.h virtual void RunMenuAt(const gfx::Point& point, int alignment) OVERRIDE; gfx 90 ui/views/controls/menu/submenu_view.cc gfx::Rect bounds = controller->CalculateMenuBounds(item, false, &dir); gfx 109 ui/views/controls/menu/submenu_view.cc gfx::Insets insets = GetInsets(); gfx 116 ui/views/controls/menu/submenu_view.cc gfx::Size child_pref_size = child->GetPreferredSize(); gfx 123 ui/views/controls/menu/submenu_view.cc gfx::Size SubmenuView::GetPreferredSize() { gfx 125 ui/views/controls/menu/submenu_view.cc return gfx::Size(); gfx 149 ui/views/controls/menu/submenu_view.cc gfx::Size child_pref_size = gfx 150 ui/views/controls/menu/submenu_view.cc child->visible() ? child->GetPreferredSize() : gfx::Size(); gfx 159 ui/views/controls/menu/submenu_view.cc gfx::Insets insets = GetInsets(); gfx 160 ui/views/controls/menu/submenu_view.cc return gfx::Size( gfx 179 ui/views/controls/menu/submenu_view.cc void SubmenuView::PaintChildren(gfx::Canvas* canvas) { gfx 225 ui/views/controls/menu/submenu_view.cc gfx::Rect vis_bounds = GetVisibleBounds(); gfx 265 ui/views/controls/menu/submenu_view.cc ScrollRectToVisible(gfx::Rect(gfx::Point(0, scroll_target), gfx 337 ui/views/controls/menu/submenu_view.cc const gfx::Rect& bounds, gfx 359 ui/views/controls/menu/submenu_view.cc void SubmenuView::Reposition(const gfx::Rect& bounds) { gfx 432 ui/views/controls/menu/submenu_view.cc void SubmenuView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 436 ui/views/controls/menu/submenu_view.cc void SubmenuView::PaintDropIndicator(gfx::Canvas* canvas, gfx 442 ui/views/controls/menu/submenu_view.cc gfx::Rect bounds = CalculateDropIndicatorBounds(item, position); gfx 459 ui/views/controls/menu/submenu_view.cc gfx::Rect SubmenuView::CalculateDropIndicatorBounds( gfx 463 ui/views/controls/menu/submenu_view.cc gfx::Rect item_bounds = item->bounds(); gfx 477 ui/views/controls/menu/submenu_view.cc return gfx::Rect(); gfx 482 ui/views/controls/menu/submenu_view.cc const gfx::Rect& vis_bounds = GetVisibleBounds(); gfx 483 ui/views/controls/menu/submenu_view.cc const gfx::Rect& full_bounds = bounds(); gfx 486 ui/views/controls/menu/submenu_view.cc int y = gfx::ToRoundedInt(y_f); gfx 491 ui/views/controls/menu/submenu_view.cc gfx::Rect new_vis_bounds(x, y, vis_bounds.width(), vis_bounds.height()); gfx 58 ui/views/controls/menu/submenu_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 65 ui/views/controls/menu/submenu_view.h virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; gfx 96 ui/views/controls/menu/submenu_view.h void ShowAt(Widget* parent, const gfx::Rect& bounds, bool do_capture); gfx 99 ui/views/controls/menu/submenu_view.h void Reposition(const gfx::Rect& bounds); gfx 164 ui/views/controls/menu/submenu_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 171 ui/views/controls/menu/submenu_view.h void PaintDropIndicator(gfx::Canvas* canvas, gfx 179 ui/views/controls/menu/submenu_view.h gfx::Rect CalculateDropIndicatorBounds(MenuItemView* item, gfx 96 ui/views/controls/message_box_view.cc void MessageBoxView::SetIcon(const gfx::ImageSkia& icon) { gfx 128 ui/views/controls/message_box_view.cc link_->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 184 ui/views/controls/message_box_view.cc gfx::HorizontalAlignment alignment = gfx 186 ui/views/controls/message_box_view.cc gfx::ALIGN_RIGHT : gfx::ALIGN_LEFT; gfx 201 ui/views/controls/message_box_view.cc message_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 220 ui/views/controls/message_box_view.cc gfx::Size icon_size; gfx 13 ui/views/controls/message_box_view.h namespace gfx { gfx 71 ui/views/controls/message_box_view.h void SetIcon(const gfx::ImageSkia& icon); gfx 38 ui/views/controls/native/native_view_host.cc void NativeViewHost::Attach(gfx::NativeView native_view) { gfx 59 ui/views/controls/native/native_view_host.cc void NativeViewHost::SetPreferredSize(const gfx::Size& size) { gfx 73 ui/views/controls/native/native_view_host.cc gfx::Size NativeViewHost::GetPreferredSize() { gfx 81 ui/views/controls/native/native_view_host.cc gfx::Rect vis_bounds = GetVisibleBounds(); gfx 104 ui/views/controls/native/native_view_host.cc gfx::Rect local_bounds = ConvertRectToWidget(GetContentsBounds()); gfx 114 ui/views/controls/native/native_view_host.cc void NativeViewHost::OnPaint(gfx::Canvas* canvas) { gfx 184 ui/views/controls/native/native_view_host.cc gfx::NativeViewAccessible NativeViewHost::GetNativeViewAccessible() { gfx 186 ui/views/controls/native/native_view_host.cc gfx::NativeViewAccessible accessible_view = gfx 195 ui/views/controls/native/native_view_host.cc gfx::NativeCursor NativeViewHost::GetCursor(const ui::MouseEvent& event) { gfx 43 ui/views/controls/native/native_view_host.h void Attach(gfx::NativeView native_view); gfx 51 ui/views/controls/native/native_view_host.h void SetPreferredSize(const gfx::Size& size); gfx 78 ui/views/controls/native/native_view_host.h gfx::NativeView native_view() const { return native_view_; } gfx 83 ui/views/controls/native/native_view_host.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 85 ui/views/controls/native/native_view_host.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 88 ui/views/controls/native/native_view_host.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 89 ui/views/controls/native/native_view_host.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 111 ui/views/controls/native/native_view_host.h gfx::NativeView native_view_; gfx 118 ui/views/controls/native/native_view_host.h gfx::Size preferred_size_; gfx 85 ui/views/controls/native/native_view_host_aura.cc host_->native_view()->SetBounds(gfx::Rect(x, y, w, h)); gfx 100 ui/views/controls/native/native_view_host_aura.cc gfx::NativeViewAccessible NativeViewHostAura::GetNativeViewAccessible() { gfx 104 ui/views/controls/native/native_view_host_aura.cc gfx::NativeCursor NativeViewHostAura::GetCursor(int x, int y) { gfx 106 ui/views/controls/native/native_view_host_aura.cc return host_->native_view()->GetCursor(gfx::Point(x, y)); gfx 107 ui/views/controls/native/native_view_host_aura.cc return gfx::kNullCursor; gfx 36 ui/views/controls/native/native_view_host_aura.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 37 ui/views/controls/native/native_view_host_aura.h virtual gfx::NativeCursor GetCursor(int x, int y) OVERRIDE; gfx 109 ui/views/controls/native/native_view_host_aura_unittest.cc ui::MouseEvent move_event(ui::ET_MOUSE_MOVED, gfx::Point(0, 0), gfx 110 ui/views/controls/native/native_view_host_aura_unittest.cc gfx::Point(0, 0), 0, 0); gfx 34 ui/views/controls/native/native_view_host_unittest.cc Widget* CreateChildForHost(gfx::NativeView native_parent_view, gfx 110 ui/views/controls/native/native_view_host_unittest.cc gfx::NativeView parent_before = native_view() ? gfx 113 ui/views/controls/native/native_view_host_unittest.cc gfx::NativeView parent_after = native_view() ? gfx 63 ui/views/controls/native/native_view_host_wrapper.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0; gfx 67 ui/views/controls/native/native_view_host_wrapper.h virtual gfx::NativeCursor GetCursor(int x, int y) = 0; gfx 19 ui/views/controls/prefix_selector.cc void ConvertRectToScreen(const views::View* src, gfx::Rect* r) { gfx 22 ui/views/controls/prefix_selector.cc gfx::Point new_origin = r->origin(); gfx 58 ui/views/controls/prefix_selector.cc gfx::NativeWindow PrefixSelector::GetAttachedWindow() const { gfx 74 ui/views/controls/prefix_selector.cc gfx::Rect PrefixSelector::GetCaretBounds() const { gfx 75 ui/views/controls/prefix_selector.cc gfx::Rect rect(prefix_delegate_->GetVisibleBounds().origin(), gfx::Size()); gfx 83 ui/views/controls/prefix_selector.cc gfx::Rect* rect) const { gfx 94 ui/views/controls/prefix_selector.cc bool PrefixSelector::GetTextRange(gfx::Range* range) const { gfx 95 ui/views/controls/prefix_selector.cc *range = gfx::Range(); gfx 99 ui/views/controls/prefix_selector.cc bool PrefixSelector::GetCompositionTextRange(gfx::Range* range) const { gfx 100 ui/views/controls/prefix_selector.cc *range = gfx::Range(); gfx 104 ui/views/controls/prefix_selector.cc bool PrefixSelector::GetSelectionRange(gfx::Range* range) const { gfx 105 ui/views/controls/prefix_selector.cc *range = gfx::Range(); gfx 109 ui/views/controls/prefix_selector.cc bool PrefixSelector::SetSelectionRange(const gfx::Range& range) { gfx 113 ui/views/controls/prefix_selector.cc bool PrefixSelector::DeleteRange(const gfx::Range& range) { gfx 117 ui/views/controls/prefix_selector.cc bool PrefixSelector::GetTextFromRange(const gfx::Range& range, gfx 134 ui/views/controls/prefix_selector.cc void PrefixSelector::EnsureCaretInRect(const gfx::Rect& rect) { gfx 34 ui/views/controls/prefix_selector.h virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; gfx 38 ui/views/controls/prefix_selector.h virtual gfx::Rect GetCaretBounds() const OVERRIDE; gfx 40 ui/views/controls/prefix_selector.h gfx::Rect* rect) const OVERRIDE; gfx 42 ui/views/controls/prefix_selector.h virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; gfx 43 ui/views/controls/prefix_selector.h virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; gfx 44 ui/views/controls/prefix_selector.h virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; gfx 45 ui/views/controls/prefix_selector.h virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; gfx 46 ui/views/controls/prefix_selector.h virtual bool DeleteRange(const gfx::Range& range) OVERRIDE; gfx 47 ui/views/controls/prefix_selector.h virtual bool GetTextFromRange(const gfx::Range& range, gfx 53 ui/views/controls/prefix_selector.h virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; gfx 62 ui/views/controls/progress_bar.cc void FillRoundRect(gfx::Canvas* canvas, gfx 90 ui/views/controls/progress_bar.cc void FillRoundRect(gfx::Canvas* canvas, gfx 112 ui/views/controls/progress_bar.cc void StrokeRoundRect(gfx::Canvas* canvas, gfx 174 ui/views/controls/progress_bar.cc bool ProgressBar::GetTooltipText(const gfx::Point& p, gfx 186 ui/views/controls/progress_bar.cc gfx::Size ProgressBar::GetPreferredSize() { gfx 187 ui/views/controls/progress_bar.cc gfx::Size pref_size(100, 11); gfx 188 ui/views/controls/progress_bar.cc gfx::Insets insets = GetInsets(); gfx 197 ui/views/controls/progress_bar.cc void ProgressBar::OnPaint(gfx::Canvas* canvas) { gfx 198 ui/views/controls/progress_bar.cc gfx::Rect content_bounds = GetContentsBounds(); gfx 306 ui/views/controls/progress_bar.cc canvas->DrawRect(gfx::Rect(highlight_left, 0, gfx 41 ui/views/controls/progress_bar.h virtual bool GetTooltipText(const gfx::Point& p, gfx 49 ui/views/controls/progress_bar.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 51 ui/views/controls/progress_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 16 ui/views/controls/progress_bar_unittest.cc EXPECT_FALSE(bar.GetTooltipText(gfx::Point(), &tooltip)); gfx 20 ui/views/controls/progress_bar_unittest.cc EXPECT_TRUE(bar.GetTooltipText(gfx::Point(), &tooltip)); gfx 32 ui/views/controls/resize_area.cc gfx::NativeCursor ResizeArea::GetCursor(const ui::MouseEvent& event) { gfx 33 ui/views/controls/resize_area.cc return enabled() ? ui::kCursorEastWestResize : gfx::kNullCursor; gfx 43 ui/views/controls/resize_area.cc gfx::Point point(event.x(), 0); gfx 71 ui/views/controls/resize_area.cc gfx::Point point(resize_amount, 0); gfx 30 ui/views/controls/resize_area.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 92 ui/views/controls/scroll_view.cc virtual void ScrollRectToVisible(const gfx::Rect& rect) OVERRIDE { gfx 97 ui/views/controls/scroll_view.cc gfx::Rect scroll_rect(rect); gfx 161 ui/views/controls/scroll_view.cc gfx::Rect ScrollView::GetVisibleRect() const { gfx 163 ui/views/controls/scroll_view.cc return gfx::Rect(); gfx 164 ui/views/controls/scroll_view.cc return gfx::Rect(-contents_->x(), -contents_->y(), gfx 197 ui/views/controls/scroll_view.cc gfx::Size ScrollView::GetPreferredSize() { gfx 201 ui/views/controls/scroll_view.cc gfx::Size size = contents()->GetPreferredSize(); gfx 202 ui/views/controls/scroll_view.cc size.SetToMax(gfx::Size(size.width(), min_height_)); gfx 203 ui/views/controls/scroll_view.cc size.SetToMin(gfx::Size(size.width(), max_height_)); gfx 204 ui/views/controls/scroll_view.cc gfx::Insets insets = GetInsets(); gfx 213 ui/views/controls/scroll_view.cc gfx::Insets insets = GetInsets(); gfx 227 ui/views/controls/scroll_view.cc if (contents()->bounds().size() != gfx::Size(content_width, content_height)) gfx 239 ui/views/controls/scroll_view.cc gfx::Rect viewport_bounds = GetContentsBounds(); gfx 254 ui/views/controls/scroll_view.cc gfx::Size viewport_size = viewport_bounds.size(); gfx 272 ui/views/controls/scroll_view.cc gfx::Size content_size = contents_->size(); gfx 458 ui/views/controls/scroll_view.cc void ScrollView::ScrollContentsRegionToBeVisible(const gfx::Rect& rect) { gfx 482 ui/views/controls/scroll_view.cc const gfx::Rect vis_rect = GetVisibleRect(); gfx 483 ui/views/controls/scroll_view.cc if (vis_rect.Contains(gfx::Rect(x, y, max_x - x, max_y - y))) gfx 506 ui/views/controls/scroll_view.cc void ScrollView::ComputeScrollBarsVisibility(const gfx::Size& vp_size, gfx 507 ui/views/controls/scroll_view.cc const gfx::Size& content_size, gfx 50 ui/views/controls/scroll_view.h gfx::Rect GetVisibleRect() const; gfx 78 ui/views/controls/scroll_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 105 ui/views/controls/scroll_view.h void ScrollContentsRegionToBeVisible(const gfx::Rect& rect); gfx 109 ui/views/controls/scroll_view.h void ComputeScrollBarsVisibility(const gfx::Size& viewport_size, gfx 110 ui/views/controls/scroll_view.h const gfx::Size& content_size, gfx 24 ui/views/controls/scroll_view_unittest.cc void SetPreferredSize(const gfx::Size& size) { gfx 29 ui/views/controls/scroll_view_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { return preferred_size_; } gfx 32 ui/views/controls/scroll_view_unittest.cc gfx::Size pref = GetPreferredSize(); gfx 43 ui/views/controls/scroll_view_unittest.cc gfx::Size preferred_size_; gfx 55 ui/views/controls/scroll_view_unittest.cc scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 65 ui/views/controls/scroll_view_unittest.cc scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 108 ui/views/controls/scroll_view_unittest.cc scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 116 ui/views/controls/scroll_view_unittest.cc header->SetPreferredSize(gfx::Size(10, 20)); gfx 135 ui/views/controls/scroll_view_unittest.cc scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 137 ui/views/controls/scroll_view_unittest.cc header->SetPreferredSize(gfx::Size(10, 20)); gfx 195 ui/views/controls/scroll_view_unittest.cc contents->SetPreferredSize(gfx::Size(500, 500)); gfx 199 ui/views/controls/scroll_view_unittest.cc header->SetPreferredSize(gfx::Size(500, 20)); gfx 201 ui/views/controls/scroll_view_unittest.cc scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 225 ui/views/controls/scroll_view_unittest.cc contents->SetPreferredSize(gfx::Size(500, 1000)); gfx 227 ui/views/controls/scroll_view_unittest.cc scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 233 ui/views/controls/scroll_view_unittest.cc contents->ScrollRectToVisible(gfx::Rect(0, 405, 10, 10)); gfx 238 ui/views/controls/scroll_view_unittest.cc contents->ScrollRectToVisible(gfx::Rect(0, -contents->y(), 10, 10)); gfx 251 ui/views/controls/scroll_view_unittest.cc new views::StaticSizedView(gfx::Size(kWidth, kNormalContentHeight))); gfx 253 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kNormalContentHeight), gfx 259 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kNormalContentHeight), gfx 261 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kNormalContentHeight), scroll_view.size()); gfx 273 ui/views/controls/scroll_view_unittest.cc new views::StaticSizedView(gfx::Size(kWidth, kShortContentHeight))); gfx 275 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kMinHeight), scroll_view.GetPreferredSize()); gfx 280 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kShortContentHeight), gfx 282 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kMinHeight), scroll_view.size()); gfx 298 ui/views/controls/scroll_view_unittest.cc new views::StaticSizedView(gfx::Size(kWidth, kTallContentHeight))); gfx 300 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kMaxHeight), scroll_view.GetPreferredSize()); gfx 305 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kTallContentHeight), gfx 307 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kMaxHeight), scroll_view.size()); gfx 322 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(0, kMinHeight), scroll_view.GetPreferredSize()); gfx 324 ui/views/controls/scroll_view_unittest.cc gfx::Size new_size(kWidth, scroll_view.GetHeightForWidth(kWidth)); gfx 332 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(gfx::Size(kWidth, kMaxHeight), scroll_view.size()); gfx 243 ui/views/controls/scrollbar/base_scroll_bar.cc scroll_amount = gfx::ToRoundedInt(scroll_amount_f); gfx 247 ui/views/controls/scrollbar/base_scroll_bar.cc scroll_amount = gfx::ToRoundedInt(scroll_amount_f); gfx 287 ui/views/controls/scrollbar/base_scroll_bar.cc const gfx::Point& p, gfx 290 ui/views/controls/scrollbar/base_scroll_bar.cc gfx::Rect widget_bounds = widget->GetWindowBoundsInScreen(); gfx 291 ui/views/controls/scrollbar/base_scroll_bar.cc gfx::Point temp_pt(p.x() - widget_bounds.x(), p.y() - widget_bounds.y()); gfx 308 ui/views/controls/scrollbar/base_scroll_bar.cc if (menu_runner_->RunMenuAt(GetWidget(), NULL, gfx::Rect(p, gfx::Size()), gfx 453 ui/views/controls/scrollbar/base_scroll_bar.cc gfx::Rect thumb_bounds = thumb_->bounds(); gfx 487 ui/views/controls/scrollbar/base_scroll_bar.cc gfx::Rect track_bounds = GetTrackBounds(); gfx 35 ui/views/controls/scrollbar/base_scroll_bar.h virtual gfx::Rect GetTrackBounds() const = 0; gfx 67 ui/views/controls/scrollbar/base_scroll_bar.h virtual gfx::Size GetPreferredSize() OVERRIDE = 0; gfx 92 ui/views/controls/scrollbar/base_scroll_bar.h const gfx::Point& point, gfx 102 ui/views/controls/scrollbar/base_scroll_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE = 0; gfx 185 ui/views/controls/scrollbar/base_scroll_bar.h gfx::Vector2dF roundoff_error_; gfx 39 ui/views/controls/scrollbar/base_scroll_bar_button.cc gfx::Point cursor_point = gfx 40 ui/views/controls/scrollbar/base_scroll_bar_button.cc gfx::Screen::GetNativeScreen()->GetCursorScreenPoint(); gfx 32 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc gfx::Size prefsize = GetPreferredSize(); gfx 35 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc gfx::Rect thumb_bounds = bounds(); gfx 51 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc gfx::Rect thumb_bounds = bounds(); gfx 52 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc gfx::Rect track_bounds = scroll_bar_->GetTrackBounds(); gfx 62 ui/views/controls/scrollbar/base_scroll_bar_thumb.cc gfx::Rect track_bounds = scroll_bar_->GetTrackBounds(); gfx 13 ui/views/controls/scrollbar/base_scroll_bar_thumb.h namespace gfx { gfx 47 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual gfx::Size GetPreferredSize() OVERRIDE = 0; gfx 51 ui/views/controls/scrollbar/base_scroll_bar_thumb.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE = 0; gfx 31 ui/views/controls/scrollbar/kennedy_scroll_bar.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 32 ui/views/controls/scrollbar/kennedy_scroll_bar.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 45 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Size KennedyScrollBarThumb::GetPreferredSize() { gfx 46 ui/views/controls/scrollbar/kennedy_scroll_bar.cc return gfx::Size(kThumbMinimumSize, kThumbMinimumSize); gfx 49 ui/views/controls/scrollbar/kennedy_scroll_bar.cc void KennedyScrollBarThumb::OnPaint(gfx::Canvas* canvas) { gfx 50 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Rect local_bounds(GetLocalBounds()); gfx 68 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Rect KennedyScrollBar::GetTrackBounds() const { gfx 69 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Rect local_bounds(GetLocalBounds()); gfx 70 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Size track_size = local_bounds.size(); gfx 80 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Size KennedyScrollBar::GetPreferredSize() { gfx 85 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Rect thumb_bounds = GetTrackBounds(); gfx 97 ui/views/controls/scrollbar/kennedy_scroll_bar.cc void KennedyScrollBar::OnPaint(gfx::Canvas* canvas) { gfx 101 ui/views/controls/scrollbar/kennedy_scroll_bar.cc gfx::Rect local_bounds(GetLocalBounds()); gfx 22 ui/views/controls/scrollbar/kennedy_scroll_bar.h virtual gfx::Rect GetTrackBounds() const OVERRIDE; gfx 28 ui/views/controls/scrollbar/kennedy_scroll_bar.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 30 ui/views/controls/scrollbar/kennedy_scroll_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 45 ui/views/controls/scrollbar/native_scroll_bar.cc gfx::Size NativeScrollBar::GetPreferredSize() { gfx 48 ui/views/controls/scrollbar/native_scroll_bar.cc return gfx::Size(); gfx 43 ui/views/controls/scrollbar/native_scroll_bar.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 35 ui/views/controls/scrollbar/native_scroll_bar_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 41 ui/views/controls/scrollbar/native_scroll_bar_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 57 ui/views/controls/scrollbar/native_scroll_bar_views.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 63 ui/views/controls/scrollbar/native_scroll_bar_views.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 86 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size ScrollBarButton::GetPreferredSize() { gfx 92 ui/views/controls/scrollbar/native_scroll_bar_views.cc void ScrollBarButton::OnPaint(gfx::Canvas* canvas) { gfx 93 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Rect bounds(GetPreferredSize()); gfx 167 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size ScrollBarThumb::GetPreferredSize() { gfx 173 ui/views/controls/scrollbar/native_scroll_bar_views.cc void ScrollBarThumb::OnPaint(gfx::Canvas* canvas) { gfx 174 ui/views/controls/scrollbar/native_scroll_bar_views.cc const gfx::Rect local_bounds(GetLocalBounds()); gfx 266 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size size = prev_button_->GetPreferredSize(); gfx 280 ui/views/controls/scrollbar/native_scroll_bar_views.cc void NativeScrollBarViews::OnPaint(gfx::Canvas* canvas) { gfx 281 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Rect bounds = GetTrackBounds(); gfx 295 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size NativeScrollBarViews::GetPreferredSize() { gfx 298 ui/views/controls/scrollbar/native_scroll_bar_views.cc return gfx::Size(0, GetHorizontalScrollBarHeight(theme)); gfx 299 ui/views/controls/scrollbar/native_scroll_bar_views.cc return gfx::Size(GetVerticalScrollBarWidth(theme), 0); gfx 307 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size size = prev_button_->GetPreferredSize(); gfx 353 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Rect NativeScrollBarViews::GetTrackBounds() const { gfx 354 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Rect bounds = GetLocalBounds(); gfx 355 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size size = prev_button_->GetPreferredSize(); gfx 387 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size button_size = theme->GetPartSize( gfx 394 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size track_size = theme->GetPartSize( gfx 409 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size button_size = theme->GetPartSize( gfx 416 ui/views/controls/scrollbar/native_scroll_bar_views.cc gfx::Size track_size = theme->GetPartSize( gfx 16 ui/views/controls/scrollbar/native_scroll_bar_views.h namespace gfx { gfx 38 ui/views/controls/scrollbar/native_scroll_bar_views.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 39 ui/views/controls/scrollbar/native_scroll_bar_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 62 ui/views/controls/scrollbar/native_scroll_bar_views.h virtual gfx::Rect GetTrackBounds() const OVERRIDE; gfx 26 ui/views/controls/scrollbar/overlay_scroll_bar.cc public gfx::AnimationDelegate { gfx 33 ui/views/controls/scrollbar/overlay_scroll_bar.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 34 ui/views/controls/scrollbar/overlay_scroll_bar.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 37 ui/views/controls/scrollbar/overlay_scroll_bar.cc virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 56 ui/views/controls/scrollbar/overlay_scroll_bar.cc gfx::Size OverlayScrollBarThumb::GetPreferredSize() { gfx 57 ui/views/controls/scrollbar/overlay_scroll_bar.cc return gfx::Size(kThumbMinimumSize, kThumbMinimumSize); gfx 60 ui/views/controls/scrollbar/overlay_scroll_bar.cc void OverlayScrollBarThumb::OnPaint(gfx::Canvas* canvas) { gfx 61 ui/views/controls/scrollbar/overlay_scroll_bar.cc gfx::Rect local_bounds(GetLocalBounds()); gfx 78 ui/views/controls/scrollbar/overlay_scroll_bar.cc const gfx::Animation* animation) { gfx 94 ui/views/controls/scrollbar/overlay_scroll_bar.cc gfx::Rect OverlayScrollBar::GetTrackBounds() const { gfx 95 ui/views/controls/scrollbar/overlay_scroll_bar.cc gfx::Rect local_bounds(GetLocalBounds()); gfx 103 ui/views/controls/scrollbar/overlay_scroll_bar.cc gfx::Size track_size = local_bounds.size(); gfx 141 ui/views/controls/scrollbar/overlay_scroll_bar.cc gfx::Size OverlayScrollBar::GetPreferredSize() { gfx 142 ui/views/controls/scrollbar/overlay_scroll_bar.cc return gfx::Size(); gfx 146 ui/views/controls/scrollbar/overlay_scroll_bar.cc gfx::Rect thumb_bounds = GetTrackBounds(); gfx 158 ui/views/controls/scrollbar/overlay_scroll_bar.cc void OverlayScrollBar::OnPaint(gfx::Canvas* canvas) { gfx 21 ui/views/controls/scrollbar/overlay_scroll_bar.h virtual gfx::Rect GetTrackBounds() const OVERRIDE; gfx 31 ui/views/controls/scrollbar/overlay_scroll_bar.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 33 ui/views/controls/scrollbar/overlay_scroll_bar.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 36 ui/views/controls/scrollbar/overlay_scroll_bar.h gfx::SlideAnimation animation_; gfx 64 ui/views/controls/scrollbar/scrollbar_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 31 ui/views/controls/separator.cc gfx::Size Separator::GetPreferredSize() { gfx 33 ui/views/controls/separator.cc return gfx::Size(width(), kSeparatorHeight); gfx 34 ui/views/controls/separator.cc return gfx::Size(kSeparatorHeight, height()); gfx 41 ui/views/controls/separator.cc void Separator::Paint(gfx::Canvas* canvas) { gfx 31 ui/views/controls/separator.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 33 ui/views/controls/separator.h virtual void Paint(gfx::Canvas* canvas) OVERRIDE; gfx 41 ui/views/controls/single_split_view.cc gfx::Rect leading_bounds; gfx 42 ui/views/controls/single_split_view.cc gfx::Rect trailing_bounds; gfx 67 ui/views/controls/single_split_view.cc gfx::Size SingleSplitView::GetPreferredSize() { gfx 72 ui/views/controls/single_split_view.cc gfx::Size pref = view->GetPreferredSize(); gfx 85 ui/views/controls/single_split_view.cc return gfx::Size(width, height); gfx 88 ui/views/controls/single_split_view.cc gfx::NativeCursor SingleSplitView::GetCursor(const ui::MouseEvent& event) { gfx 90 ui/views/controls/single_split_view.cc return gfx::kNullCursor; gfx 102 ui/views/controls/single_split_view.cc const gfx::Rect& bounds, gfx 103 ui/views/controls/single_split_view.cc gfx::Rect* leading_bounds, gfx 104 ui/views/controls/single_split_view.cc gfx::Rect* trailing_bounds) const { gfx 109 ui/views/controls/single_split_view.cc *leading_bounds = gfx::Rect(); gfx 110 ui/views/controls/single_split_view.cc *trailing_bounds = gfx::Rect(); gfx 129 ui/views/controls/single_split_view.cc *leading_bounds = gfx::Rect(0, 0, divider_at, bounds.height()); gfx 131 ui/views/controls/single_split_view.cc gfx::Rect(divider_at + divider_size, 0, gfx 135 ui/views/controls/single_split_view.cc *leading_bounds = gfx::Rect(0, 0, bounds.width(), divider_at); gfx 137 ui/views/controls/single_split_view.cc gfx::Rect(0, divider_at + divider_size, bounds.width(), gfx 164 ui/views/controls/single_split_view.cc gfx::Size min = child_at(0)->GetMinimumSize(); gfx 193 ui/views/controls/single_split_view.cc void SingleSplitView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 198 ui/views/controls/single_split_view.cc bool SingleSplitView::IsPointInDivider(const gfx::Point& p) { gfx 221 ui/views/controls/single_split_view.cc const gfx::Rect& previous_bounds, gfx 222 ui/views/controls/single_split_view.cc const gfx::Rect& new_bounds) const { gfx 243 ui/views/controls/single_split_view.cc const gfx::Rect& bounds) const { gfx 41 ui/views/controls/single_split_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 44 ui/views/controls/single_split_view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 76 ui/views/controls/single_split_view.h void CalculateChildrenBounds(const gfx::Rect& bounds, gfx 77 ui/views/controls/single_split_view.h gfx::Rect* leading_bounds, gfx 78 ui/views/controls/single_split_view.h gfx::Rect* trailing_bounds) const; gfx 87 ui/views/controls/single_split_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 94 ui/views/controls/single_split_view.h bool IsPointInDivider(const gfx::Point& p); gfx 99 ui/views/controls/single_split_view.h const gfx::Rect& previous_bounds, gfx 100 ui/views/controls/single_split_view.h const gfx::Rect& new_bounds) const; gfx 104 ui/views/controls/single_split_view.h int NormalizeDividerOffset(int divider_offset, const gfx::Rect& bounds) const; gfx 63 ui/views/controls/single_split_view_unittest.cc MinimumSizedView(gfx::Size min_size) : min_size_(min_size) {} gfx 66 ui/views/controls/single_split_view_unittest.cc gfx::Size min_size_; gfx 67 ui/views/controls/single_split_view_unittest.cc virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 70 ui/views/controls/single_split_view_unittest.cc gfx::Size MinimumSizedView::GetMinimumSize() { gfx 155 ui/views/controls/single_split_view_unittest.cc new MinimumSizedView(gfx::Size(5, kMinimumChildSize)); gfx 157 ui/views/controls/single_split_view_unittest.cc new MinimumSizedView(gfx::Size(5, kMinimumChildSize)); gfx 170 ui/views/controls/single_split_view_unittest.cc gfx::Point press_point(7, kInitialDividerOffset + kMouseOffset); gfx 178 ui/views/controls/single_split_view_unittest.cc gfx::Point drag_1_point( gfx 187 ui/views/controls/single_split_view_unittest.cc gfx::Point drag_2_point( gfx 196 ui/views/controls/single_split_view_unittest.cc gfx::Point drag_3_point( gfx 206 ui/views/controls/single_split_view_unittest.cc gfx::Point drag_4_point( gfx 215 ui/views/controls/single_split_view_unittest.cc gfx::Point release_point( gfx 48 ui/views/controls/slide_out_view.cc gfx::Transform transform; gfx 74 ui/views/controls/slide_out_view.cc layer()->SetTransform(gfx::Transform()); gfx 86 ui/views/controls/slide_out_view.cc gfx::Transform transform; gfx 98 ui/views/controls/slider.cc move_animation_.reset(new gfx::SlideAnimation(this)); gfx 111 ui/views/controls/slider.cc void Slider::PrepareForMove(const gfx::Point& point) { gfx 113 ui/views/controls/slider.cc gfx::Insets inset = GetInsets(); gfx 114 ui/views/controls/slider.cc gfx::Rect content = GetContentsBounds(); gfx 137 ui/views/controls/slider.cc void Slider::MoveButtonTo(const gfx::Point& point) { gfx 138 ui/views/controls/slider.cc gfx::Insets inset = GetInsets(); gfx 174 ui/views/controls/slider.cc void Slider::OnPaintFocus(gfx::Canvas* canvas) { gfx 182 ui/views/controls/slider.cc gfx::Rect(1, 1, width() - 3, height() - 3), gfx 187 ui/views/controls/slider.cc gfx::Size Slider::GetPreferredSize() { gfx 192 ui/views/controls/slider.cc return gfx::Size(std::max(width(), kSizeMajor), kSizeMinor); gfx 193 ui/views/controls/slider.cc return gfx::Size(kSizeMinor, std::max(height(), kSizeMajor)); gfx 196 ui/views/controls/slider.cc void Slider::OnPaint(gfx::Canvas* canvas) { gfx 197 ui/views/controls/slider.cc gfx::Rect content = GetContentsBounds(); gfx 215 ui/views/controls/slider.cc canvas->Translate(gfx::Vector2d(kBarInsetX, bar_cy)); gfx 249 ui/views/controls/slider.cc canvas->FillRect(gfx::Rect(x, content.y() + kButtonRadius, gfx 252 ui/views/controls/slider.cc canvas->FillRect(gfx::Rect(x, content.y() + empty + 2 * kButtonRadius, gfx 321 ui/views/controls/slider.cc void Slider::AnimationProgressed(const gfx::Animation* animation) { gfx 14 ui/views/controls/slider.h namespace gfx { gfx 44 ui/views/controls/slider.h class VIEWS_EXPORT Slider : public View, public gfx::AnimationDelegate { gfx 77 ui/views/controls/slider.h void PrepareForMove(const gfx::Point& point); gfx 80 ui/views/controls/slider.h void MoveButtonTo(const gfx::Point& point); gfx 82 ui/views/controls/slider.h void OnPaintFocus(gfx::Canvas* canvas); gfx 85 ui/views/controls/slider.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 86 ui/views/controls/slider.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 97 ui/views/controls/slider.h virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; gfx 102 ui/views/controls/slider.h scoped_ptr<gfx::SlideAnimation> move_animation_; gfx 114 ui/views/controls/slider.h gfx::Point initial_button_offset_; gfx 118 ui/views/controls/slider.h const gfx::ImageSkia* thumb_; gfx 119 ui/views/controls/slider.h const gfx::ImageSkia* images_[4]; gfx 17 ui/views/controls/slider_unittest.cc gfx::Point point(x, y); gfx 33 ui/views/controls/slider_unittest.cc gfx::Size size = view->GetPreferredSize(); gfx 46 ui/views/controls/slider_unittest.cc gfx::Size size = view->GetPreferredSize(); gfx 62 ui/views/controls/slider_unittest.cc gfx::Size size = view->GetPreferredSize(); gfx 26 ui/views/controls/styled_label.cc int CalculateLineHeight(const gfx::FontList& font_list) { gfx 34 ui/views/controls/styled_label.cc const gfx::FontList& font_list, gfx 42 ui/views/controls/styled_label.cc link->SetUnderline((style_info.font_style & gfx::Font::UNDERLINE) != 0); gfx 53 ui/views/controls/styled_label.cc if (style_info.font_style != gfx::Font::NORMAL) { gfx 67 ui/views/controls/styled_label.cc : font_style(gfx::Font::NORMAL), gfx 112 ui/views/controls/styled_label.cc void StyledLabel::SetBaseFontList(const gfx::FontList& font_list) { gfx 117 ui/views/controls/styled_label.cc void StyledLabel::AddStyleRange(const gfx::Range& range, gfx 121 ui/views/controls/styled_label.cc DCHECK(gfx::Range(0, text_.size()).Contains(range)); gfx 141 ui/views/controls/styled_label.cc gfx::Insets StyledLabel::GetInsets() const { gfx 142 ui/views/controls/styled_label.cc gfx::Insets insets = View::GetInsets(); gfx 149 ui/views/controls/styled_label.cc const gfx::Insets focus_border_padding( gfx 171 ui/views/controls/styled_label.cc calculated_size_ = gfx::Size(); gfx 180 ui/views/controls/styled_label.cc gfx::Size StyledLabel::CalculateAndDoLayout(int width, bool dry_run) { gfx 188 ui/views/controls/styled_label.cc return gfx::Size(); gfx 210 ui/views/controls/styled_label.cc gfx::Range range(gfx::Range::InvalidRange()); gfx 216 ui/views/controls/styled_label.cc const gfx::Rect chunk_bounds(x, 0, width - x, 2 * line_height); gfx 218 ui/views/controls/styled_label.cc gfx::FontList text_font_list = font_list_; gfx 226 ui/views/controls/styled_label.cc gfx::ElideRectangleText(remaining_string, gfx 230 ui/views/controls/styled_label.cc gfx::IGNORE_LONG_WORDS, gfx 289 ui/views/controls/styled_label.cc gfx::Insets focus_border_insets(label->GetInsets()); gfx 291 ui/views/controls/styled_label.cc const gfx::Size view_size = label->GetPreferredSize(); gfx 294 ui/views/controls/styled_label.cc label->SetBoundsRect(gfx::Rect( gfx 295 ui/views/controls/styled_label.cc gfx::Point(GetInsets().left() + x - focus_border_insets.left(), gfx 306 ui/views/controls/styled_label.cc return gfx::Size(width, (line + 1) * line_height + GetInsets().height()); gfx 66 ui/views/controls/styled_label.h void SetBaseFontList(const gfx::FontList& font_list); gfx 70 ui/views/controls/styled_label.h void AddStyleRange(const gfx::Range& range, const RangeStyleInfo& style_info); gfx 89 ui/views/controls/styled_label.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 99 ui/views/controls/styled_label.h StyleRange(const gfx::Range& range, gfx 108 ui/views/controls/styled_label.h gfx::Range range; gfx 117 ui/views/controls/styled_label.h gfx::Size CalculateAndDoLayout(int width, bool dry_run); gfx 123 ui/views/controls/styled_label.h gfx::FontList font_list_; gfx 137 ui/views/controls/styled_label.h std::map<View*, gfx::Range> link_targets_; gfx 141 ui/views/controls/styled_label.h gfx::Size calculated_size_; gfx 10 ui/views/controls/styled_label_listener.h namespace gfx { gfx 19 ui/views/controls/styled_label_listener.h virtual void StyledLabelLinkClicked(const gfx::Range& range, gfx 28 ui/views/controls/styled_label_unittest.cc virtual void StyledLabelLinkClicked(const gfx::Range& range, gfx 53 ui/views/controls/styled_label_unittest.cc const gfx::Size label_preferred_size = label.GetPreferredSize(); gfx 91 ui/views/controls/styled_label_unittest.cc gfx::Size label_preferred_size = label.GetPreferredSize(); gfx 107 ui/views/controls/styled_label_unittest.cc gfx::Size label_preferred_size = label.GetPreferredSize(); gfx 133 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(0, 1), gfx 135 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(1, 2), gfx 137 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(10, 11), gfx 139 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(12, 13), gfx 156 ui/views/controls/styled_label_unittest.cc gfx::Range(text.size(), text.size() + link_text.size()), gfx 160 ui/views/controls/styled_label_unittest.cc gfx::Size label_preferred_size = label.GetPreferredSize(); gfx 181 ui/views/controls/styled_label_unittest.cc gfx::Range(text.size(), text.size() + unbreakable_text.size()), gfx 186 ui/views/controls/styled_label_unittest.cc gfx::Size label_preferred_size = label.GetPreferredSize(); gfx 203 ui/views/controls/styled_label_unittest.cc style_info.font_style = gfx::Font::UNDERLINE; gfx 205 ui/views/controls/styled_label_unittest.cc gfx::Range(text.size(), text.size() + underlined_text.size()), gfx 215 ui/views/controls/styled_label_unittest.cc gfx::Font::UNDERLINE, gfx 226 ui/views/controls/styled_label_unittest.cc style_info.font_style = gfx::Font::BOLD; gfx 227 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(0, bold_text.size()), style_info); gfx 232 ui/views/controls/styled_label_unittest.cc const gfx::Size normal_label_size = label.GetPreferredSize(); gfx 233 ui/views/controls/styled_label_unittest.cc label.SetFontList(label.font_list().DeriveWithStyle(gfx::Font::BOLD)); gfx 234 ui/views/controls/styled_label_unittest.cc const gfx::Size bold_label_size = label.GetPreferredSize(); gfx 259 ui/views/controls/styled_label_unittest.cc gfx::Font::BOLD, gfx 264 ui/views/controls/styled_label_unittest.cc gfx::Font::BOLD, gfx 269 ui/views/controls/styled_label_unittest.cc gfx::Font::NORMAL, gfx 287 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(0, text_red.size()), style_info_red); gfx 291 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(text_red.size(), gfx 345 ui/views/controls/styled_label_unittest.cc gfx::Range(tooltip_start, tooltip_start + tooltip_text.size()), gfx 347 ui/views/controls/styled_label_unittest.cc styled()->AddStyleRange(gfx::Range(link_start, link_start + link_text.size()), gfx 353 ui/views/controls/styled_label_unittest.cc gfx::Size label_preferred_size = label.GetPreferredSize(); gfx 377 ui/views/controls/styled_label_unittest.cc styled()->child_at(1)->GetTooltipText(gfx::Point(1, 1), &tooltip)); gfx 380 ui/views/controls/styled_label_unittest.cc styled()->child_at(2)->GetTooltipText(gfx::Point(1, 1), &tooltip)); gfx 388 ui/views/controls/styled_label_unittest.cc gfx::Font font(font_name, 30); gfx 389 ui/views/controls/styled_label_unittest.cc styled()->SetBaseFontList(gfx::FontList(font)); gfx 390 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text), gfx::FontList(font)); gfx 50 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 64 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size preferred_title_size_; gfx 79 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 81 ui/views/controls/tabbed_pane/tabbed_pane.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 142 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size Tab::GetPreferredSize() { gfx 143 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size size(preferred_title_size_); gfx 152 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Rect bounds = GetLocalBounds(); gfx 185 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size TabStrip::GetPreferredSize() { gfx 186 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size size; gfx 188 ui/views/controls/tabbed_pane/tabbed_pane.cc const gfx::Size child_size = child_at(i)->GetPreferredSize(); gfx 199 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size ps = child_at(i)->GetPreferredSize(); gfx 205 ui/views/controls/tabbed_pane/tabbed_pane.cc void TabStrip::OnPaint(gfx::Canvas* canvas) { gfx 311 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size TabbedPane::GetPreferredSize() { gfx 312 ui/views/controls/tabbed_pane/tabbed_pane.cc gfx::Size size; gfx 324 ui/views/controls/tabbed_pane/tabbed_pane.cc const gfx::Size size = tab_strip_->GetPreferredSize(); gfx 57 ui/views/controls/tabbed_pane/tabbed_pane.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 21 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc explicit FixedSizeView(const gfx::Size& size) gfx 25 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 30 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc const gfx::Size size_; gfx 40 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc View* child1 = new FixedSizeView(gfx::Size(20, 10)); gfx 42 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc View* child2 = new FixedSizeView(gfx::Size(5, 5)); gfx 50 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc gfx::Size pref(tabbed_pane->GetPreferredSize()); gfx 57 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc gfx::Rect bounds(child1->bounds()); gfx 61 ui/views/controls/table/table_header.cc void TableHeader::OnPaint(gfx::Canvas* canvas) { gfx 67 ui/views/controls/table/table_header.cc canvas->DrawLine(gfx::Point(0, height() - 1), gfx 68 ui/views/controls/table/table_header.cc gfx::Point(width(), height() - 1), border_color); gfx 77 ui/views/controls/table/table_header.cc canvas->DrawLine(gfx::Point(separator_x, kSeparatorPadding), gfx 78 ui/views/controls/table/table_header.cc gfx::Point(separator_x, height() - kSeparatorPadding), gfx 88 ui/views/controls/table/table_header.cc gfx::GetStringWidth(columns[i].column.title, font_list_); gfx 100 ui/views/controls/table/table_header.cc gfx::Rect(GetMirroredXWithWidthInView(x, width), kVerticalPadding, gfx 161 ui/views/controls/table/table_header.cc gfx::Size TableHeader::GetPreferredSize() { gfx 162 ui/views/controls/table/table_header.cc return gfx::Size(1, kVerticalPadding * 2 + font_list_.GetHeight()); gfx 165 ui/views/controls/table/table_header.cc gfx::NativeCursor TableHeader::GetCursor(const ui::MouseEvent& event) { gfx 28 ui/views/controls/table/table_header.h const gfx::FontList& font_list() const { return font_list_; } gfx 32 ui/views/controls/table/table_header.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 33 ui/views/controls/table/table_header.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 34 ui/views/controls/table/table_header.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 73 ui/views/controls/table/table_header.h const gfx::FontList font_list_; gfx 17 ui/views/controls/table/table_utils.cc int WidthForContent(const gfx::FontList& header_font_list, gfx 18 ui/views/controls/table/table_utils.cc const gfx::FontList& content_font_list, gfx 25 ui/views/controls/table/table_utils.cc width = gfx::GetStringWidth(column.title, header_font_list) + gfx 30 ui/views/controls/table/table_utils.cc gfx::GetStringWidth(model->GetText(i, column.id), content_font_list); gfx 39 ui/views/controls/table/table_utils.cc const gfx::FontList& header_font_list, gfx 40 ui/views/controls/table/table_utils.cc const gfx::FontList& content_font_list, gfx 54 ui/views/controls/table/table_utils.cc content_widths[i] = gfx::GetStringWidth(column.title, header_font_list) gfx 97 ui/views/controls/table/table_utils.cc return gfx::Canvas::TEXT_ALIGN_LEFT; gfx 99 ui/views/controls/table/table_utils.cc return gfx::Canvas::TEXT_ALIGN_CENTER; gfx 101 ui/views/controls/table/table_utils.cc return gfx::Canvas::TEXT_ALIGN_RIGHT; gfx 104 ui/views/controls/table/table_utils.cc return gfx::Canvas::TEXT_ALIGN_LEFT; gfx 13 ui/views/controls/table/table_utils.h namespace gfx { gfx 26 ui/views/controls/table/table_utils.h VIEWS_EXPORT int WidthForContent(const gfx::FontList& header_font_list, gfx 27 ui/views/controls/table/table_utils.h const gfx::FontList& content_font_list, gfx 41 ui/views/controls/table/table_utils.h const gfx::FontList& header_font_list, gfx 42 ui/views/controls/table/table_utils.h const gfx::FontList& content_font_list, gfx 43 ui/views/controls/table/table_utils_unittest.cc gfx::FontList font_list; gfx 66 ui/views/controls/table/table_utils_unittest.cc gfx::FontList font_list; gfx 83 ui/views/controls/table/table_utils_unittest.cc gfx::FontList font_list; gfx 311 ui/views/controls/table/table_view.cc gfx::Size pref = GetPreferredSize(); gfx 321 ui/views/controls/table/table_view.cc gfx::Size TableView::GetPreferredSize() { gfx 325 ui/views/controls/table/table_view.cc return gfx::Size(width, RowCount() * row_height_); gfx 407 ui/views/controls/table/table_view.cc bool TableView::GetTooltipText(const gfx::Point& p, gfx 412 ui/views/controls/table/table_view.cc bool TableView::GetTooltipTextOrigin(const gfx::Point& p, gfx 413 ui/views/controls/table/table_view.cc gfx::Point* loc) const { gfx 455 ui/views/controls/table/table_view.cc gfx::Point TableView::GetKeyboardContextMenuLocation() { gfx 457 ui/views/controls/table/table_view.cc gfx::Rect vis_bounds(GetVisibleBounds()); gfx 460 ui/views/controls/table/table_view.cc gfx::Rect cell_bounds(GetRowBounds(first_selected)); gfx 466 ui/views/controls/table/table_view.cc gfx::Point screen_loc(0, y); gfx 473 ui/views/controls/table/table_view.cc void TableView::OnPaint(gfx::Canvas* canvas) { gfx 505 ui/views/controls/table/table_view.cc const gfx::Rect cell_bounds(GetCellBounds(i, j)); gfx 514 ui/views/controls/table/table_view.cc gfx::ImageSkia image = model_->GetIcon(model_index); gfx 529 ui/views/controls/table/table_view.cc gfx::Rect(GetMirroredXWithWidthInView( gfx 560 ui/views/controls/table/table_view.cc const gfx::Rect start_cell_bounds(GetCellBounds(start, 0)); gfx 562 ui/views/controls/table/table_view.cc const gfx::Rect last_cell_bounds(GetCellBounds(last, 0)); gfx 563 ui/views/controls/table/table_view.cc canvas->FillRect(gfx::Rect( gfx 569 ui/views/controls/table/table_view.cc canvas->DrawCircle(gfx::Point(group_indicator_x, gfx 573 ui/views/controls/table/table_view.cc canvas->DrawCircle(gfx::Point(group_indicator_x, gfx 639 ui/views/controls/table/table_view.cc gfx::Rect TableView::GetRowBounds(int row) const { gfx 640 ui/views/controls/table/table_view.cc return gfx::Rect(0, row * row_height_, width(), row_height_); gfx 643 ui/views/controls/table/table_view.cc gfx::Rect TableView::GetCellBounds(int row, int visible_column_index) const { gfx 647 ui/views/controls/table/table_view.cc return gfx::Rect(vis_col.x, row * row_height_, vis_col.width, row_height_); gfx 651 ui/views/controls/table/table_view.cc gfx::Rect* bounds) const { gfx 701 ui/views/controls/table/table_view.cc const gfx::Rect& bounds) const { gfx 734 ui/views/controls/table/table_view.cc gfx::Rect TableView::GetPaintBounds(gfx::Canvas* canvas) const { gfx 737 ui/views/controls/table/table_view.cc return gfx::ToEnclosingRect(gfx::SkRectToRectF(sk_clip_rect)); gfx 782 ui/views/controls/table/table_view.cc gfx::Rect vis_rect(GetVisibleBounds()); gfx 874 ui/views/controls/table/table_view.cc bool TableView::GetTooltipImpl(const gfx::Point& location, gfx 876 ui/views/controls/table/table_view.cc gfx::Point* tooltip_origin) const { gfx 892 ui/views/controls/table/table_view.cc gfx::Rect cell_bounds(GetCellBounds(row, column)); gfx 896 ui/views/controls/table/table_view.cc gfx::GetStringWidth(text, font_list_) <= (right - cell_bounds.x())) gfx 169 ui/views/controls/table/table_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 173 ui/views/controls/table/table_view.h virtual bool GetTooltipText(const gfx::Point& p, gfx 175 ui/views/controls/table/table_view.h virtual bool GetTooltipTextOrigin(const gfx::Point& p, gfx 176 ui/views/controls/table/table_view.h gfx::Point* loc) const OVERRIDE; gfx 186 ui/views/controls/table/table_view.h virtual gfx::Point GetKeyboardContextMenuLocation() OVERRIDE; gfx 187 ui/views/controls/table/table_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 233 ui/views/controls/table/table_view.h gfx::Rect GetRowBounds(int row) const; gfx 237 ui/views/controls/table/table_view.h gfx::Rect GetCellBounds(int row, int visible_column_index) const; gfx 243 ui/views/controls/table/table_view.h gfx::Rect* bounds) const; gfx 253 ui/views/controls/table/table_view.h PaintRegion GetPaintRegion(const gfx::Rect& bounds) const; gfx 257 ui/views/controls/table/table_view.h gfx::Rect GetPaintBounds(gfx::Canvas* canvas) const; gfx 293 ui/views/controls/table/table_view.h bool GetTooltipImpl(const gfx::Point& location, gfx 295 ui/views/controls/table/table_view.h gfx::Point* tooltip_origin) const; gfx 319 ui/views/controls/table/table_view.h gfx::FontList font_list_; gfx 10 ui/views/controls/table/table_view_row_background_painter.h namespace gfx { gfx 23 ui/views/controls/table/table_view_row_background_painter.h const gfx::Rect& row_bounds, gfx 24 ui/views/controls/table/table_view_row_background_painter.h gfx::Canvas* canvas) = 0; gfx 22 ui/views/controls/table/table_view_unittest.cc std::string GetPaintRegion(const gfx::Rect& bounds) { gfx 192 ui/views/controls/table/table_view_unittest.cc const ui::MouseEvent pressed(ui::ET_MOUSE_PRESSED, gfx::Point(0, y), gfx 193 ui/views/controls/table/table_view_unittest.cc gfx::Point(0, y), gfx 251 ui/views/controls/table/table_view_unittest.cc helper_->GetPaintRegion(gfx::Rect(0, 0, 1, table_->height()))); gfx 292 ui/views/controls/table/table_view_unittest.cc const ui::MouseEvent pressed(ui::ET_MOUSE_PRESSED, gfx::Point(x, 0), gfx 293 ui/views/controls/table/table_view_unittest.cc gfx::Point(x, 0), ui::EF_LEFT_MOUSE_BUTTON, gfx 296 ui/views/controls/table/table_view_unittest.cc const ui::MouseEvent dragged(ui::ET_MOUSE_DRAGGED, gfx::Point(x - 1, 0), gfx 297 ui/views/controls/table/table_view_unittest.cc gfx::Point(x - 1, 0), ui::EF_LEFT_MOUSE_BUTTON, gfx 383 ui/views/controls/table/table_view_unittest.cc const ui::MouseEvent pressed(ui::ET_MOUSE_PRESSED, gfx::Point(x, 0), gfx 384 ui/views/controls/table/table_view_unittest.cc gfx::Point(x, 0), ui::EF_LEFT_MOUSE_BUTTON, gfx 388 ui/views/controls/table/table_view_unittest.cc const ui::MouseEvent release(ui::ET_MOUSE_RELEASED, gfx::Point(x, 0), gfx 389 ui/views/controls/table/table_view_unittest.cc gfx::Point(x, 0), ui::EF_LEFT_MOUSE_BUTTON, gfx 30 ui/views/controls/table/test_table_model.cc gfx::ImageSkia TestTableModel::GetIcon(int row) { gfx 33 ui/views/controls/table/test_table_model.cc return gfx::ImageSkia::CreateFrom1xBitmap(bitmap); gfx 19 ui/views/controls/table/test_table_model.h virtual gfx::ImageSkia GetIcon(int row) OVERRIDE; gfx 58 ui/views/controls/textfield/textfield.cc void ConvertRectToScreen(const View* src, gfx::Rect* r) { gfx 61 ui/views/controls/textfield/textfield.cc gfx::Point new_origin = r->origin(); gfx 384 ui/views/controls/textfield/textfield.cc const gfx::FontList& Textfield::GetFontList() const { gfx 388 ui/views/controls/textfield/textfield.cc void Textfield::SetFontList(const gfx::FontList& font_list) { gfx 406 ui/views/controls/textfield/textfield.cc const gfx::Range& Textfield::GetSelectedRange() const { gfx 410 ui/views/controls/textfield/textfield.cc void Textfield::SelectRange(const gfx::Range& range) { gfx 415 ui/views/controls/textfield/textfield.cc const gfx::SelectionModel& Textfield::GetSelectionModel() const { gfx 419 ui/views/controls/textfield/textfield.cc void Textfield::SelectSelectionModel(const gfx::SelectionModel& sel) { gfx 433 ui/views/controls/textfield/textfield.cc void Textfield::ApplyColor(SkColor value, const gfx::Range& range) { gfx 438 ui/views/controls/textfield/textfield.cc void Textfield::SetStyle(gfx::TextStyle style, bool value) { gfx 443 ui/views/controls/textfield/textfield.cc void Textfield::ApplyStyle(gfx::TextStyle style, gfx 445 ui/views/controls/textfield/textfield.cc const gfx::Range& range) { gfx 477 ui/views/controls/textfield/textfield.cc gfx::Size Textfield::GetPreferredSize() { gfx 478 ui/views/controls/textfield/textfield.cc const gfx::Insets& insets = GetInsets(); gfx 479 ui/views/controls/textfield/textfield.cc return gfx::Size(GetFontList().GetExpectedTextWidth(default_width_in_chars_) + gfx 487 ui/views/controls/textfield/textfield.cc gfx::NativeCursor Textfield::GetCursor(const ui::MouseEvent& event) { gfx 561 ui/views/controls/textfield/textfield.cc gfx::Range selection = GetRenderText()->selection(); gfx 749 ui/views/controls/textfield/textfield.cc gfx::RenderText* render_text = GetRenderText(); gfx 750 ui/views/controls/textfield/textfield.cc const gfx::Range& selection = render_text->selection(); gfx 753 ui/views/controls/textfield/textfield.cc selection.Contains(gfx::Range(drop_cursor_position_.caret_pos())); gfx 783 ui/views/controls/textfield/textfield.cc gfx::RenderText* render_text = GetRenderText(); gfx 789 ui/views/controls/textfield/textfield.cc gfx::SelectionModel drop_destination_model = gfx 800 ui/views/controls/textfield/textfield.cc pos -= render_text->selection().Intersect(gfx::Range(0, pos)).length(); gfx 827 ui/views/controls/textfield/textfield.cc const gfx::Range range = GetSelectedRange(); gfx 838 ui/views/controls/textfield/textfield.cc void Textfield::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 856 ui/views/controls/textfield/textfield.cc void Textfield::OnPaint(gfx::Canvas* canvas) { gfx 897 ui/views/controls/textfield/textfield.cc gfx::Point Textfield::GetKeyboardContextMenuLocation() { gfx 917 ui/views/controls/textfield/textfield.cc const gfx::Point& point, gfx 921 ui/views/controls/textfield/textfield.cc gfx::Rect(point, gfx::Size()), MenuItemView::TOPLEFT, source_type, gfx 929 ui/views/controls/textfield/textfield.cc const gfx::Point& press_pt, gfx 936 ui/views/controls/textfield/textfield.cc gfx::Size size(label.GetPreferredSize()); gfx 937 ui/views/controls/textfield/textfield.cc gfx::NativeView native_view = GetWidget()->GetNativeView(); gfx 938 ui/views/controls/textfield/textfield.cc gfx::Display display = gfx::Screen::GetScreenFor(native_view)-> gfx 940 ui/views/controls/textfield/textfield.cc size.SetToMin(gfx::Size(display.size().width(), height())); gfx 941 ui/views/controls/textfield/textfield.cc label.SetBoundsRect(gfx::Rect(size)); gfx 942 ui/views/controls/textfield/textfield.cc scoped_ptr<gfx::Canvas> canvas( gfx 950 ui/views/controls/textfield/textfield.cc const gfx::Vector2d kOffset(-15, 0); gfx 956 ui/views/controls/textfield/textfield.cc int Textfield::GetDragOperationsForView(View* sender, const gfx::Point& p) { gfx 971 ui/views/controls/textfield/textfield.cc const gfx::Point& press_pt, gfx 972 ui/views/controls/textfield/textfield.cc const gfx::Point& p) { gfx 979 ui/views/controls/textfield/textfield.cc void Textfield::SelectRect(const gfx::Point& start, const gfx::Point& end) { gfx 983 ui/views/controls/textfield/textfield.cc gfx::SelectionModel start_caret = GetRenderText()->FindCursorPosition(start); gfx 984 ui/views/controls/textfield/textfield.cc gfx::SelectionModel end_caret = GetRenderText()->FindCursorPosition(end); gfx 985 ui/views/controls/textfield/textfield.cc gfx::SelectionModel selection( gfx 986 ui/views/controls/textfield/textfield.cc gfx::Range(start_caret.caret_pos(), end_caret.caret_pos()), gfx 994 ui/views/controls/textfield/textfield.cc void Textfield::MoveCaretTo(const gfx::Point& point) { gfx 998 ui/views/controls/textfield/textfield.cc void Textfield::GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) { gfx 999 ui/views/controls/textfield/textfield.cc gfx::RenderText* render_text = GetRenderText(); gfx 1000 ui/views/controls/textfield/textfield.cc const gfx::SelectionModel& sel = render_text->selection_model(); gfx 1001 ui/views/controls/textfield/textfield.cc gfx::SelectionModel start_sel = gfx 1007 ui/views/controls/textfield/textfield.cc gfx::Rect Textfield::GetBounds() { gfx 1011 ui/views/controls/textfield/textfield.cc gfx::NativeView Textfield::GetNativeView() const { gfx 1015 ui/views/controls/textfield/textfield.cc void Textfield::ConvertPointToScreen(gfx::Point* point) { gfx 1019 ui/views/controls/textfield/textfield.cc void Textfield::ConvertPointFromScreen(gfx::Point* point) { gfx 1027 ui/views/controls/textfield/textfield.cc void Textfield::OpenContextMenu(const gfx::Point& anchor) { gfx 1098 ui/views/controls/textfield/textfield.cc gfx::VisualCursorDirection begin = rtl ? gfx::CURSOR_RIGHT : gfx::CURSOR_LEFT; gfx 1099 ui/views/controls/textfield/textfield.cc gfx::VisualCursorDirection end = rtl ? gfx::CURSOR_LEFT : gfx::CURSOR_RIGHT; gfx 1100 ui/views/controls/textfield/textfield.cc gfx::Range selection_range = GetSelectedRange(); gfx 1132 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, end, true); gfx 1136 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, begin, true); gfx 1140 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, begin, true); gfx 1144 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, end, true); gfx 1148 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); gfx 1151 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 1154 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 1157 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 1160 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, false); gfx 1163 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 1166 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); gfx 1169 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 1172 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, begin, false); gfx 1175 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, begin, true); gfx 1178 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, end, false); gfx 1181 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, end, true); gfx 1279 ui/views/controls/textfield/textfield.cc gfx::NativeWindow Textfield::GetAttachedWindow() const { gfx 1308 ui/views/controls/textfield/textfield.cc gfx::Rect Textfield::GetCaretBounds() const { gfx 1309 ui/views/controls/textfield/textfield.cc gfx::Rect rect = GetRenderText()->GetUpdatedCursorBounds(); gfx 1315 ui/views/controls/textfield/textfield.cc gfx::Rect* rect) const { gfx 1319 ui/views/controls/textfield/textfield.cc gfx::RenderText* render_text = GetRenderText(); gfx 1320 ui/views/controls/textfield/textfield.cc const gfx::Range& composition_range = render_text->GetCompositionRange(); gfx 1328 ui/views/controls/textfield/textfield.cc text_index, gfx::CURSOR_BACKWARD); gfx 1332 ui/views/controls/textfield/textfield.cc const gfx::SelectionModel caret(text_index, gfx::CURSOR_BACKWARD); gfx 1342 ui/views/controls/textfield/textfield.cc bool Textfield::GetTextRange(gfx::Range* range) const { gfx 1350 ui/views/controls/textfield/textfield.cc bool Textfield::GetCompositionTextRange(gfx::Range* range) const { gfx 1358 ui/views/controls/textfield/textfield.cc bool Textfield::GetSelectionRange(gfx::Range* range) const { gfx 1365 ui/views/controls/textfield/textfield.cc bool Textfield::SetSelectionRange(const gfx::Range& range) { gfx 1374 ui/views/controls/textfield/textfield.cc bool Textfield::DeleteRange(const gfx::Range& range) { gfx 1388 ui/views/controls/textfield/textfield.cc bool Textfield::GetTextFromRange(const gfx::Range& range, gfx 1393 ui/views/controls/textfield/textfield.cc gfx::Range text_range; gfx 1408 ui/views/controls/textfield/textfield.cc const gfx::DirectionalityMode mode = direction == base::i18n::RIGHT_TO_LEFT ? gfx 1409 ui/views/controls/textfield/textfield.cc gfx::DIRECTIONALITY_FORCE_RTL : gfx::DIRECTIONALITY_FORCE_LTR; gfx 1411 ui/views/controls/textfield/textfield.cc GetRenderText()->SetDirectionalityMode(gfx::DIRECTIONALITY_FROM_TEXT); gfx 1419 ui/views/controls/textfield/textfield.cc gfx::Range range = GetRenderText()->selection(); gfx 1424 ui/views/controls/textfield/textfield.cc gfx::Range text_range; gfx 1429 ui/views/controls/textfield/textfield.cc void Textfield::EnsureCaretInRect(const gfx::Rect& rect) {} gfx 1440 ui/views/controls/textfield/textfield.cc gfx::RenderText* Textfield::GetRenderText() const { gfx 1469 ui/views/controls/textfield/textfield.cc gfx::RenderText* render_text = GetRenderText(); gfx 1509 ui/views/controls/textfield/textfield.cc gfx::Rect r(GetRenderText()->GetUpdatedCursorBounds()); gfx 1514 ui/views/controls/textfield/textfield.cc void Textfield::PaintTextAndCursor(gfx::Canvas* canvas) { gfx 1519 ui/views/controls/textfield/textfield.cc gfx::RenderText* render_text = GetRenderText(); gfx 1537 ui/views/controls/textfield/textfield.cc void Textfield::MoveCursorTo(const gfx::Point& point, bool select) { gfx 1664 ui/views/controls/textfield/textfield.cc gfx::Range range = GetSelectionModel().selection(); gfx 1665 ui/views/controls/textfield/textfield.cc gfx::LogicalCursorDirection affinity = GetSelectionModel().caret_affinity(); gfx 1666 ui/views/controls/textfield/textfield.cc const gfx::SelectionModel mouse = gfx 1673 ui/views/controls/textfield/textfield.cc range = gfx::Range(range.start() + length, range.end() + length); gfx 1675 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(gfx::SelectionModel(range, affinity)); gfx 115 ui/views/controls/textfield/textfield.h const gfx::FontList& GetFontList() const; gfx 116 ui/views/controls/textfield/textfield.h void SetFontList(const gfx::FontList& font_list); gfx 141 ui/views/controls/textfield/textfield.h const gfx::Range& GetSelectedRange() const; gfx 144 ui/views/controls/textfield/textfield.h void SelectRange(const gfx::Range& range); gfx 147 ui/views/controls/textfield/textfield.h const gfx::SelectionModel& GetSelectionModel() const; gfx 150 ui/views/controls/textfield/textfield.h void SelectSelectionModel(const gfx::SelectionModel& sel); gfx 158 ui/views/controls/textfield/textfield.h void ApplyColor(SkColor value, const gfx::Range& range); gfx 163 ui/views/controls/textfield/textfield.h void SetStyle(gfx::TextStyle style, bool value); gfx 164 ui/views/controls/textfield/textfield.h void ApplyStyle(gfx::TextStyle style, bool value, const gfx::Range& range); gfx 182 ui/views/controls/textfield/textfield.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 184 ui/views/controls/textfield/textfield.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; gfx 203 ui/views/controls/textfield/textfield.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 207 ui/views/controls/textfield/textfield.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 210 ui/views/controls/textfield/textfield.h virtual gfx::Point GetKeyboardContextMenuLocation() OVERRIDE; gfx 218 ui/views/controls/textfield/textfield.h const gfx::Point& point, gfx 223 ui/views/controls/textfield/textfield.h const gfx::Point& press_pt, gfx 226 ui/views/controls/textfield/textfield.h const gfx::Point& p) OVERRIDE; gfx 228 ui/views/controls/textfield/textfield.h const gfx::Point& press_pt, gfx 229 ui/views/controls/textfield/textfield.h const gfx::Point& p) OVERRIDE; gfx 232 ui/views/controls/textfield/textfield.h virtual void SelectRect(const gfx::Point& start, gfx 233 ui/views/controls/textfield/textfield.h const gfx::Point& end) OVERRIDE; gfx 234 ui/views/controls/textfield/textfield.h virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE; gfx 235 ui/views/controls/textfield/textfield.h virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE; gfx 236 ui/views/controls/textfield/textfield.h virtual gfx::Rect GetBounds() OVERRIDE; gfx 237 ui/views/controls/textfield/textfield.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 238 ui/views/controls/textfield/textfield.h virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE; gfx 239 ui/views/controls/textfield/textfield.h virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE; gfx 241 ui/views/controls/textfield/textfield.h virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE; gfx 258 ui/views/controls/textfield/textfield.h virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; gfx 262 ui/views/controls/textfield/textfield.h virtual gfx::Rect GetCaretBounds() const OVERRIDE; gfx 264 ui/views/controls/textfield/textfield.h gfx::Rect* rect) const OVERRIDE; gfx 266 ui/views/controls/textfield/textfield.h virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; gfx 267 ui/views/controls/textfield/textfield.h virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; gfx 268 ui/views/controls/textfield/textfield.h virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; gfx 269 ui/views/controls/textfield/textfield.h virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; gfx 270 ui/views/controls/textfield/textfield.h virtual bool DeleteRange(const gfx::Range& range) OVERRIDE; gfx 271 ui/views/controls/textfield/textfield.h virtual bool GetTextFromRange(const gfx::Range& range, gfx 277 ui/views/controls/textfield/textfield.h virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; gfx 284 ui/views/controls/textfield/textfield.h gfx::RenderText* GetRenderText() const; gfx 286 ui/views/controls/textfield/textfield.h gfx::Point last_click_location() const { return last_click_location_; } gfx 315 ui/views/controls/textfield/textfield.h void PaintTextAndCursor(gfx::Canvas* canvas); gfx 318 ui/views/controls/textfield/textfield.h void MoveCursorTo(const gfx::Point& point, bool select); gfx 412 ui/views/controls/textfield/textfield.h gfx::SelectionModel drop_cursor_position_; gfx 420 ui/views/controls/textfield/textfield.h gfx::Point last_click_location_; gfx 421 ui/views/controls/textfield/textfield.h gfx::Range double_click_word_; gfx 272 ui/views/controls/textfield/textfield_model.cc gfx::Range GetFirstEmphasizedRange(const ui::CompositionText& composition) { gfx 276 ui/views/controls/textfield/textfield_model.cc return gfx::Range(underline.start_offset, underline.end_offset); gfx 278 ui/views/controls/textfield/textfield_model.cc return gfx::Range::InvalidRange(); gfx 300 ui/views/controls/textfield/textfield_model.cc render_text_(gfx::RenderText::CreateInstance()), gfx 340 ui/views/controls/textfield/textfield_model.cc MoveCursor(gfx::LINE_BREAK, gfx 361 ui/views/controls/textfield/textfield_model.cc cursor_position, gfx::CURSOR_FORWARD); gfx 362 ui/views/controls/textfield/textfield_model.cc ExecuteAndRecordDelete(gfx::Range(cursor_position, next_grapheme_index), gfx 382 ui/views/controls/textfield/textfield_model.cc size_t previous_char = gfx::UTF16OffsetToIndex(text(), cursor_position, -1); gfx 383 ui/views/controls/textfield/textfield_model.cc ExecuteAndRecordDelete(gfx::Range(cursor_position, previous_char), true); gfx 393 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::MoveCursor(gfx::BreakType break_type, gfx 394 ui/views/controls/textfield/textfield_model.cc gfx::VisualCursorDirection direction, gfx 401 ui/views/controls/textfield/textfield_model.cc bool TextfieldModel::MoveCursorTo(const gfx::SelectionModel& model) { gfx 406 ui/views/controls/textfield/textfield_model.cc gfx::Range range(render_text_->selection().start(), model.caret_pos()); gfx 410 ui/views/controls/textfield/textfield_model.cc gfx::SelectionModel(model.caret_pos(), model.caret_affinity())); gfx 415 ui/views/controls/textfield/textfield_model.cc bool TextfieldModel::MoveCursorTo(const gfx::Point& point, bool select) { gfx 426 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::SelectRange(const gfx::Range& range) { gfx 432 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::SelectSelectionModel(const gfx::SelectionModel& sel) { gfx 516 ui/views/controls/textfield/textfield_model.cc const gfx::Range& selection = render_text_->selection(); gfx 517 ui/views/controls/textfield/textfield_model.cc render_text_->SelectRange(gfx::Range(selection.end(), selection.start())); gfx 567 ui/views/controls/textfield/textfield_model.cc base::string16 TextfieldModel::GetTextFromRange(const gfx::Range& range) const { gfx 573 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::GetTextRange(gfx::Range* range) const { gfx 574 ui/views/controls/textfield/textfield_model.cc *range = gfx::Range(0, text().length()); gfx 590 ui/views/controls/textfield/textfield_model.cc gfx::Range range(cursor, cursor + composition.text.length()); gfx 592 ui/views/controls/textfield/textfield_model.cc gfx::Range emphasized_range = GetFirstEmphasizedRange(composition); gfx 602 ui/views/controls/textfield/textfield_model.cc render_text_->SelectRange(gfx::Range( gfx 606 ui/views/controls/textfield/textfield_model.cc render_text_->SelectRange(gfx::Range( gfx 616 ui/views/controls/textfield/textfield_model.cc gfx::Range range = render_text_->GetCompositionRange(); gfx 629 ui/views/controls/textfield/textfield_model.cc gfx::Range range = render_text_->GetCompositionRange(); gfx 639 ui/views/controls/textfield/textfield_model.cc render_text_->SetCompositionRange(gfx::Range::InvalidRange()); gfx 642 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::GetCompositionTextRange(gfx::Range* range) const { gfx 643 ui/views/controls/textfield/textfield_model.cc *range = gfx::Range(render_text_->GetCompositionRange()); gfx 677 ui/views/controls/textfield/textfield_model.cc const gfx::SelectionModel& model = render_text_->selection_model(); gfx 681 ui/views/controls/textfield/textfield_model.cc render_text_->IndexOfAdjacentGrapheme(cursor, gfx::CURSOR_FORWARD); gfx 685 ui/views/controls/textfield/textfield_model.cc render_text_->SelectRange(gfx::Range(next, model.caret_pos())); gfx 704 ui/views/controls/textfield/textfield_model.cc void TextfieldModel::ExecuteAndRecordDelete(gfx::Range range, bool mergeable) { gfx 21 ui/views/controls/textfield/textfield_model.h namespace gfx { gfx 75 ui/views/controls/textfield/textfield_model.h gfx::RenderText* render_text() { return render_text_.get(); } gfx 122 ui/views/controls/textfield/textfield_model.h void MoveCursor(gfx::BreakType break_type, gfx 123 ui/views/controls/textfield/textfield_model.h gfx::VisualCursorDirection direction, gfx 130 ui/views/controls/textfield/textfield_model.h bool MoveCursorTo(const gfx::SelectionModel& selection); gfx 133 ui/views/controls/textfield/textfield_model.h bool MoveCursorTo(const gfx::Point& point, bool select); gfx 143 ui/views/controls/textfield/textfield_model.h void SelectRange(const gfx::Range& range); gfx 147 ui/views/controls/textfield/textfield_model.h void SelectSelectionModel(const gfx::SelectionModel& sel); gfx 202 ui/views/controls/textfield/textfield_model.h base::string16 GetTextFromRange(const gfx::Range& range) const; gfx 205 ui/views/controls/textfield/textfield_model.h void GetTextRange(gfx::Range* range) const; gfx 222 ui/views/controls/textfield/textfield_model.h void GetCompositionTextRange(gfx::Range* range) const; gfx 254 ui/views/controls/textfield/textfield_model.h void ExecuteAndRecordDelete(gfx::Range range, bool mergeable); gfx 286 ui/views/controls/textfield/textfield_model.h scoped_ptr<gfx::RenderText> render_text_; gfx 42 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursorTo(gfx::SelectionModel(pos, gfx::CURSOR_FORWARD)); gfx 82 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 101 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 105 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 237 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 247 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 249 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 261 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 262 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 264 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 267 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); gfx 269 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, true); gfx 277 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(0, 5), model.render_text()->selection()); gfx 282 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(5, 0), model.render_text()->selection()); gfx 285 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1U, 3U)); gfx 287 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); gfx 289 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1U, 3U)); gfx 290 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 295 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); gfx 298 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 315 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 316 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 318 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 319 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 3), model.render_text()->selection()); gfx 322 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 323 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 7), model.render_text()->selection()); gfx 327 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 328 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 3), model.render_text()->selection()); gfx 331 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 332 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 10), model.render_text()->selection()); gfx 347 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 350 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 353 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 356 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 358 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 361 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 364 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 367 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 368 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 369 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 370 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 373 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 374 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 375 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 376 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 388 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 389 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 390 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "EL" gfx 395 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 396 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "LO" gfx 400 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "I" gfx 403 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 404 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "H" gfx 407 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 408 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 409 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); // "ELL" gfx 418 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); gfx 420 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); gfx 422 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); gfx 423 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); gfx 427 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 432 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 433 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 434 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 437 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 443 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); // leave 2. gfx 444 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 447 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 449 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 450 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 451 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); // Now at start. gfx 454 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 464 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 471 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 493 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 526 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 527 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 543 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 566 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 593 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 623 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 625 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 636 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 637 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range range = model.render_text()->selection(); gfx 642 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 649 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 655 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 662 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 668 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 675 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 682 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 689 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); gfx 700 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range range(0, 6); gfx 705 ui/views/controls/textfield/textfield_model_unittest.cc range = gfx::Range(6, 1); gfx 710 ui/views/controls/textfield/textfield_model_unittest.cc range = gfx::Range(2, 1000); gfx 715 ui/views/controls/textfield/textfield_model_unittest.cc range = gfx::Range(1000, 3); gfx 720 ui/views/controls/textfield/textfield_model_unittest.cc range = gfx::Range(0, 0); gfx 725 ui/views/controls/textfield/textfield_model_unittest.cc range = gfx::Range(3, 3); gfx 730 ui/views/controls/textfield/textfield_model_unittest.cc range = gfx::Range(1000, 100); gfx 735 ui/views/controls/textfield/textfield_model_unittest.cc range = gfx::Range(1000, 1000); gfx 744 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 745 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range selection = model.render_text()->selection(); gfx 746 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(0), selection); gfx 748 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 750 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(0, 5), selection); gfx 752 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 754 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(0, 4), selection); gfx 756 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 758 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(0), selection); gfx 761 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 763 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(11), selection); gfx 765 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); gfx 767 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(11, 6), selection); gfx 769 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); gfx 771 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(11, 7), selection); gfx 773 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); gfx 775 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(11), selection); gfx 778 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); gfx 780 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(11, 0), selection); gfx 786 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(0, 6), gfx 787 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_BACKWARD)); gfx 790 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(6, 1), gfx 791 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD)); gfx 794 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(2, 1000), gfx 795 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_BACKWARD)); gfx 798 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(1000, 3), gfx 799 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD)); gfx 802 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(0, gfx::CURSOR_FORWARD)); gfx 805 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(3, gfx::CURSOR_FORWARD)); gfx 808 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(1000, 100), gfx 809 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD)); gfx 812 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(1000, gfx::CURSOR_BACKWARD)); gfx 819 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(5, 5)); gfx 823 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range range; gfx 825 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(0, 7), range); gfx 832 ui/views/controls/textfield/textfield_model_unittest.cc composition.selection = gfx::Range(3, 3); gfx 842 ui/views/controls/textfield/textfield_model_unittest.cc composition.selection = gfx::Range(0, 2); gfx 849 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(5, 7), model.render_text()->selection()); gfx 856 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(5, 8), range); gfx 858 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("456", model.GetTextFromRange(gfx::Range(3, 6))); gfx 859 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(5, 7), model.render_text()->selection()); gfx 874 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 886 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); gfx 918 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); gfx 925 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 932 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, false); gfx 939 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); gfx 944 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); gfx 950 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 956 ui/views/controls/textfield/textfield_model_unittest.cc gfx::SelectionModel sel( gfx 957 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range(model.render_text()->selection().start(), 0), gfx 958 ui/views/controls/textfield/textfield_model_unittest.cc gfx::CURSOR_FORWARD); gfx 965 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(0, 3)); gfx 1065 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 1098 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 1)); gfx 1102 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 2)); gfx 1106 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 3)); gfx 1110 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 4)); gfx 1161 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 1180 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1243 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1247 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 1)); gfx 1249 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 1266 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1300 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1303 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 1315 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); gfx 1316 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); gfx 1384 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1391 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); gfx 1398 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1405 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); gfx 1413 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1420 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); gfx 1427 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); gfx 1434 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); gfx 1445 ui/views/controls/textfield/textfield_model_unittest.cc composition.selection = gfx::Range(2, 3); gfx 1448 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 1471 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); gfx 1487 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 1502 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); gfx 182 ui/views/controls/textfield/textfield_unittest.cc params.bounds = gfx::Rect(100, 100, 100, 100); gfx 257 ui/views/controls/textfield/textfield_unittest.cc gfx::SelectionModel(cursor_pos, gfx::CURSOR_FORWARD), false).x(); gfx 261 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect GetCursorBounds() { gfx 266 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect GetCursorBounds(const gfx::SelectionModel& sel) { gfx 270 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect GetDisplayRect() { gfx 276 ui/views/controls/textfield/textfield_unittest.cc void MouseClick(const gfx::Rect bound, int x_offset) { gfx 277 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point(bound.x() + x_offset, bound.y() + bound.height() / 2); gfx 288 ui/views/controls/textfield/textfield_unittest.cc ui::MouseEvent click(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), gfx 292 ui/views/controls/textfield/textfield_unittest.cc ui::MouseEvent release(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), gfx 414 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5)); gfx 650 ui/views/controls/textfield/textfield_unittest.cc ui::MouseEvent click(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), gfx 682 ui/views/controls/textfield/textfield_unittest.cc ui::MouseEvent click(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), gfx 684 ui/views/controls/textfield/textfield_unittest.cc ui::MouseEvent release(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), gfx 687 ui/views/controls/textfield/textfield_unittest.cc ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(), gfx 715 ui/views/controls/textfield/textfield_unittest.cc gfx::Point start_point(kStart, 0); gfx 716 ui/views/controls/textfield/textfield_unittest.cc gfx::Point end_point(kEnd, 0); gfx 721 ui/views/controls/textfield/textfield_unittest.cc ui::MouseEvent drag_left(ui::ET_MOUSE_DRAGGED, gfx::Point(), gfx::Point(), gfx 779 ui/views/controls/textfield/textfield_unittest.cc gfx::Point drop_point(GetCursorPositionX(6), 0); gfx 807 ui/views/controls/textfield/textfield_unittest.cc const gfx::Range kStringRange(6, 12); gfx 809 ui/views/controls/textfield/textfield_unittest.cc const gfx::Point kStringPoint(GetCursorPositionX(9), 0); gfx 835 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetDragOperationsForView(NULL, gfx::Point())); gfx 836 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->CanStartDragForView(NULL, gfx::Point(), gfx 837 ui/views/controls/textfield/textfield_unittest.cc gfx::Point())); gfx 841 ui/views/controls/textfield/textfield_unittest.cc gfx::Point())); gfx 858 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(1, 5)); gfx 859 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point(GetCursorPositionX(3), 0); gfx 864 ui/views/controls/textfield/textfield_unittest.cc gfx::Point())); gfx 877 ui/views/controls/textfield/textfield_unittest.cc const gfx::Point kDropPoint(GetCursorPositionX(7), 0); gfx 911 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5, 10)); gfx 912 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point(GetCursorPositionX(7), 0); gfx 917 ui/views/controls/textfield/textfield_unittest.cc gfx::Point())); gfx 931 ui/views/controls/textfield/textfield_unittest.cc gfx::Point drop_point(GetCursorPositionX(1), 0); gfx 958 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(6, 10)); gfx 959 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point(GetCursorPositionX(8), 0); gfx 967 ui/views/controls/textfield/textfield_unittest.cc gfx::Point drop_point(GetCursorPositionX(2), 0); gfx 972 ui/views/controls/textfield/textfield_unittest.cc gfx::Point drag_point(GetCursorPositionX(9), 0); gfx 1056 ui/views/controls/textfield/textfield_unittest.cc gfx::Range range; gfx 1061 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(client->SetSelectionRange(gfx::Range(1, 4))); gfx 1063 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(1, 4), range); gfx 1092 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(1, 4), range); gfx 1129 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(client->SetSelectionRange(gfx::Range(5, 5))); gfx 1442 ui/views/controls/textfield/textfield_unittest.cc std::vector<gfx::Rect> cursor_bounds; gfx 1445 ui/views/controls/textfield/textfield_unittest.cc gfx::SelectionModel sel(0, gfx::CURSOR_FORWARD); gfx 1448 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(1, gfx::CURSOR_BACKWARD); gfx 1449 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect bound = GetCursorBounds(sel); gfx 1450 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(1, gfx::CURSOR_FORWARD); gfx 1456 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(2, gfx::CURSOR_BACKWARD); gfx 1458 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(4, gfx::CURSOR_BACKWARD); gfx 1462 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(3, gfx::CURSOR_BACKWARD); gfx 1464 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(3, gfx::CURSOR_FORWARD); gfx 1468 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(2, gfx::CURSOR_FORWARD); gfx 1470 ui/views/controls/textfield/textfield_unittest.cc sel = gfx::SelectionModel(4, gfx::CURSOR_FORWARD); gfx 1501 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect bound = GetCursorBounds(); gfx 1535 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect bound = GetCursorBounds(); gfx 1629 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect rect; gfx 1633 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect char_rect_in_screen_coord[char_count]; gfx 1634 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect prev_cursor = GetCursorBounds(); gfx 1636 ui/views/controls/textfield/textfield_unittest.cc composition.selection = gfx::Range(0, i+1); gfx 1639 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect cursor_bounds = GetCursorBounds(); gfx 1640 ui/views/controls/textfield/textfield_unittest.cc gfx::Point top_left(prev_cursor.x(), prev_cursor.y()); gfx 1641 ui/views/controls/textfield/textfield_unittest.cc gfx::Point bottom_right(cursor_bounds.x(), prev_cursor.bottom()); gfx 1651 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect actual_rect; gfx 1686 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect rects[kUtf16CharsCount]; gfx 1687 ui/views/controls/textfield/textfield_unittest.cc gfx::Rect prev_cursor = GetCursorBounds(); gfx 1705 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5, 5)); gfx 1706 ui/views/controls/textfield/textfield_unittest.cc const gfx::Rect middle_cursor = GetCursorBounds(); gfx 1707 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(0, 0)); gfx 1708 ui/views/controls/textfield/textfield_unittest.cc const gfx::Point beginning = GetCursorBounds().origin(); gfx 1712 ui/views/controls/textfield/textfield_unittest.cc const gfx::Point middle(middle_cursor.x(), gfx 1718 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(4, 7), textfield_->GetSelectedRange()); gfx 1724 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(7, 0), textfield_->GetSelectedRange()); gfx 1731 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point_1(GetCursorPositionX(1), 0); gfx 1732 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point_2(GetCursorPositionX(2), 0); gfx 1733 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point_3(GetCursorPositionX(3), 0); gfx 1734 ui/views/controls/textfield/textfield_unittest.cc gfx::Point point_4(GetCursorPositionX(4), 0); gfx 1746 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(1, 3), textfield_->GetSelectedRange()); gfx 1751 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 4), textfield_->GetSelectedRange()); gfx 1763 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 2), textfield_->GetSelectedRange()); gfx 1776 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 0), textfield_->GetSelectedRange()); gfx 1784 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 0), textfield_->GetSelectedRange()); gfx 1788 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5, 5)); gfx 1791 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(9, 9), textfield_->GetSelectedRange()); gfx 1794 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(7, 9)); gfx 1797 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(11, 13), textfield_->GetSelectedRange()); gfx 1800 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(2, 6)); gfx 1803 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(6, 6), textfield_->GetSelectedRange()); gfx 1808 ui/views/controls/textfield/textfield_unittest.cc gfx::Point word(GetCursorPositionX(4), 0); gfx 1821 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(3, 5), textfield_->GetSelectedRange()); gfx 1825 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 8), textfield_->GetSelectedRange()); gfx 1924 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(6, 12)); gfx 1925 ui/views/controls/textfield/textfield_unittest.cc const gfx::Point kStringPoint(GetCursorPositionX(9), 0); gfx 57 ui/views/controls/throbber.cc void Throbber::SetFrames(const gfx::ImageSkia* frames) { gfx 71 ui/views/controls/throbber.cc gfx::Size Throbber::GetPreferredSize() { gfx 72 ui/views/controls/throbber.cc return gfx::Size(frames_->height(), frames_->height()); gfx 75 ui/views/controls/throbber.cc void Throbber::OnPaint(gfx::Canvas* canvas) { gfx 154 ui/views/controls/throbber.cc void CheckmarkThrobber::OnPaint(gfx::Canvas* canvas) { gfx 14 ui/views/controls/throbber.h namespace gfx { gfx 29 ui/views/controls/throbber.h Throbber(int frame_time_ms, bool paint_while_stopped, gfx::ImageSkia* frames); gfx 37 ui/views/controls/throbber.h void SetFrames(const gfx::ImageSkia* frames); gfx 40 ui/views/controls/throbber.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 41 ui/views/controls/throbber.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 53 ui/views/controls/throbber.h const gfx::ImageSkia* frames_; // Frames images. gfx 67 ui/views/controls/throbber.h SmoothedThrobber(int frame_delay_ms, gfx::ImageSkia* frames); gfx 111 ui/views/controls/throbber.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 120 ui/views/controls/throbber.h const gfx::ImageSkia* checkmark_; gfx 354 ui/views/controls/tree/tree_view.cc gfx::Size TreeView::GetPreferredSize() { gfx 386 ui/views/controls/tree/tree_view.cc void TreeView::ShowContextMenu(const gfx::Point& p, gfx 393 ui/views/controls/tree/tree_view.cc gfx::Point local_point(p); gfx 400 ui/views/controls/tree/tree_view.cc gfx::Rect bounds(GetBoundsForNodeImpl(node, row, depth)); gfx 533 ui/views/controls/tree/tree_view.cc gfx::Point TreeView::GetKeyboardContextMenuLocation() { gfx 536 ui/views/controls/tree/tree_view.cc gfx::Rect node_bounds(GetBoundsForNode(selected_node_)); gfx 537 ui/views/controls/tree/tree_view.cc gfx::Rect vis_bounds(GetVisibleBounds()); gfx 543 ui/views/controls/tree/tree_view.cc gfx::Point screen_loc(0, y); gfx 591 ui/views/controls/tree/tree_view.cc void TreeView::OnPaint(gfx::Canvas* canvas) { gfx 601 ui/views/controls/tree/tree_view.cc gfx::Rect clip_rect = gfx::ToEnclosingRect( gfx 602 ui/views/controls/tree/tree_view.cc gfx::SkRectToRectF(sk_clip_rect)); gfx 606 ui/views/controls/tree/tree_view.cc gfx::Rect vis_bounds = GetVisibleBounds(); gfx 645 ui/views/controls/tree/tree_view.cc gfx::Rect bounds(GetBoundsForNodeImpl(node, row, depth)); gfx 698 ui/views/controls/tree/tree_view.cc gfx::Canvas::SizeStringInt(node->model_node()->GetTitle(), font_list_, gfx 699 ui/views/controls/tree/tree_view.cc &width, &height, 0, gfx::Canvas::NO_ELLIPSIS); gfx 710 ui/views/controls/tree/tree_view.cc preferred_size_ = gfx::Size(); gfx 726 ui/views/controls/tree/tree_view.cc gfx::Rect row_bounds = GetBoundsForNode(selected_node_); gfx 746 ui/views/controls/tree/tree_view.cc void TreeView::PaintRows(gfx::Canvas* canvas, gfx 765 ui/views/controls/tree/tree_view.cc void TreeView::PaintRow(gfx::Canvas* canvas, gfx 769 ui/views/controls/tree/tree_view.cc gfx::Rect bounds(GetBoundsForNodeImpl(node, row, depth)); gfx 775 ui/views/controls/tree/tree_view.cc gfx::ImageSkia icon; gfx 794 ui/views/controls/tree/tree_view.cc gfx::Rect text_bounds(bounds.x() + text_offset_, bounds.y(), gfx 807 ui/views/controls/tree/tree_view.cc const gfx::Rect internal_bounds( gfx 818 ui/views/controls/tree/tree_view.cc void TreeView::PaintExpandControl(gfx::Canvas* canvas, gfx 819 ui/views/controls/tree/tree_view.cc const gfx::Rect& node_bounds, gfx 835 ui/views/controls/tree/tree_view.cc canvas->FillRect(gfx::Rect(center_x + delta * (2 - i), gfx 842 ui/views/controls/tree/tree_view.cc canvas->FillRect(gfx::Rect(center_x - (3 - i), center_y + i, gfx 866 ui/views/controls/tree/tree_view.cc gfx::Rect TreeView::GetBoundsForNode(InternalNode* node) { gfx 872 ui/views/controls/tree/tree_view.cc gfx::Rect TreeView::GetBoundsForNodeImpl(InternalNode* node, gfx 875 ui/views/controls/tree/tree_view.cc gfx::Rect rect(depth * kIndent + kHorizontalInset, gfx 21 ui/views/controls/tree/tree_view.h namespace gfx { gfx 124 ui/views/controls/tree/tree_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 129 ui/views/controls/tree/tree_view.h virtual void ShowContextMenu(const gfx::Point& p, gfx 166 ui/views/controls/tree/tree_view.h virtual gfx::Point GetKeyboardContextMenuLocation() OVERRIDE; gfx 168 ui/views/controls/tree/tree_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 276 ui/views/controls/tree/tree_view.h void PaintRows(gfx::Canvas* canvas, gfx 284 ui/views/controls/tree/tree_view.h void PaintRow(gfx::Canvas* canvas, gfx 290 ui/views/controls/tree/tree_view.h void PaintExpandControl(gfx::Canvas* canvas, gfx 291 ui/views/controls/tree/tree_view.h const gfx::Rect& node_bounds, gfx 301 ui/views/controls/tree/tree_view.h gfx::Rect GetBoundsForNode(InternalNode* node); gfx 305 ui/views/controls/tree/tree_view.h gfx::Rect GetBoundsForNodeImpl(InternalNode* node, int row, int depth); gfx 339 ui/views/controls/tree/tree_view.h gfx::ImageSkia closed_icon_; gfx 340 ui/views/controls/tree/tree_view.h gfx::ImageSkia open_icon_; gfx 343 ui/views/controls/tree/tree_view.h std::vector<gfx::ImageSkia> icons_; gfx 359 ui/views/controls/tree/tree_view.h gfx::Size empty_editor_size_; gfx 381 ui/views/controls/tree/tree_view.h gfx::Size preferred_size_; gfx 384 ui/views/controls/tree/tree_view.h gfx::FontList font_list_; gfx 70 ui/views/controls/webview/web_dialog_view.cc gfx::Size WebDialogView::GetPreferredSize() { gfx 71 ui/views/controls/webview/web_dialog_view.cc gfx::Size out; gfx 77 ui/views/controls/webview/web_dialog_view.cc gfx::Size WebDialogView::GetMinimumSize() { gfx 78 ui/views/controls/webview/web_dialog_view.cc gfx::Size out; gfx 203 ui/views/controls/webview/web_dialog_view.cc void WebDialogView::GetDialogSize(gfx::Size* size) const { gfx 208 ui/views/controls/webview/web_dialog_view.cc void WebDialogView::GetMinimumDialogSize(gfx::Size* size) const { gfx 270 ui/views/controls/webview/web_dialog_view.cc void WebDialogView::MoveContents(WebContents* source, const gfx::Rect& pos) { gfx 315 ui/views/controls/webview/web_dialog_view.cc const gfx::Rect& initial_pos, gfx 55 ui/views/controls/webview/web_dialog_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 56 ui/views/controls/webview/web_dialog_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 82 ui/views/controls/webview/web_dialog_view.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 83 ui/views/controls/webview/web_dialog_view.h virtual void GetMinimumDialogSize(gfx::Size* size) const OVERRIDE; gfx 99 ui/views/controls/webview/web_dialog_view.h const gfx::Rect& pos) OVERRIDE; gfx 110 ui/views/controls/webview/web_dialog_view.h const gfx::Rect& initial_pos, gfx 94 ui/views/controls/webview/webview.cc void WebView::SetPreferredSize(const gfx::Size& preferred_size) { gfx 106 ui/views/controls/webview/webview.cc void WebView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 110 ui/views/controls/webview/webview.cc gfx::Rect holder_bounds(bounds().size()); gfx 126 ui/views/controls/webview/webview.cc const gfx::Size capture_size = web_contents()->GetPreferredSize(); gfx 141 ui/views/controls/webview/webview.cc holder_bounds.ClampToCenteredSize(gfx::Size( gfx 144 ui/views/controls/webview/webview.cc holder_bounds.ClampToCenteredSize(gfx::Size( gfx 198 ui/views/controls/webview/webview.cc gfx::NativeViewAccessible WebView::GetNativeViewAccessible() { gfx 208 ui/views/controls/webview/webview.cc gfx::Size WebView::GetPreferredSize() { gfx 209 ui/views/controls/webview/webview.cc if (preferred_size_ == gfx::Size()) gfx 263 ui/views/controls/webview/webview.cc const gfx::NativeView view_to_attach = is_embedding_fullscreen_widget_ ? gfx 93 ui/views/controls/webview/webview.h void SetPreferredSize(const gfx::Size& preferred_size); gfx 100 ui/views/controls/webview/webview.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 109 ui/views/controls/webview/webview.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 110 ui/views/controls/webview/webview.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 149 ui/views/controls/webview/webview.h gfx::Size preferred_size_; gfx 37 ui/views/corewm/capture_controller_unittest.cc second_host_.reset(aura::WindowTreeHost::Create(gfx::Rect(0, 0, 800, 600))); gfx 40 ui/views/corewm/capture_controller_unittest.cc second_host_->SetBounds(gfx::Rect(800, 600)); gfx 100 ui/views/corewm/capture_controller_unittest.cc ui::MouseEvent mouse_pressed_event(ui::ET_MOUSE_PRESSED, gfx::Point(5, 5), gfx 101 ui/views/corewm/capture_controller_unittest.cc gfx::Point(5, 5), 0, 0); gfx 162 ui/views/corewm/capture_controller_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(), 0, 0, ui::EventTimeForNow(), 1.0f, gfx 36 ui/views/corewm/desktop_capture_controller_unittest.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 79 ui/views/corewm/desktop_capture_controller_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 100); gfx 124 ui/views/corewm/desktop_capture_controller_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 136 ui/views/corewm/desktop_capture_controller_unittest.cc v1->SetBoundsRect(gfx::Rect(0, 0, 300, 300)); gfx 144 ui/views/corewm/desktop_capture_controller_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 157 ui/views/corewm/desktop_capture_controller_unittest.cc v2->SetBoundsRect(gfx::Rect(0, 0, 300, 300)); gfx 15 ui/views/corewm/tooltip.h namespace gfx { gfx 31 ui/views/corewm/tooltip.h const gfx::Point& location) = 0; gfx 59 ui/views/corewm/tooltip_aura.cc TooltipAura::TooltipAura(gfx::ScreenType screen_type) gfx 74 ui/views/corewm/tooltip_aura.cc void TooltipAura::TrimTooltipToFit(const gfx::FontList& font_list, gfx 104 ui/views/corewm/tooltip_aura.cc int word_width = gfx::GetStringWidth(word, font_list); gfx 122 ui/views/corewm/tooltip_aura.cc result_lines[kMaxLines - 1] = gfx::TruncateString( gfx 133 ui/views/corewm/tooltip_aura.cc int line_width = gfx::GetStringWidth(*l, font_list); gfx 139 ui/views/corewm/tooltip_aura.cc result.append(gfx::ElideText(*l, font_list, available_width, gfx 140 ui/views/corewm/tooltip_aura.cc gfx::ELIDE_AT_END)); gfx 149 ui/views/corewm/tooltip_aura.cc int TooltipAura::GetMaxWidth(const gfx::Point& location) const { gfx 152 ui/views/corewm/tooltip_aura.cc gfx::Rect display_bounds = GetBoundsForTooltip(location); gfx 156 ui/views/corewm/tooltip_aura.cc gfx::Rect TooltipAura::GetBoundsForTooltip( gfx 157 ui/views/corewm/tooltip_aura.cc const gfx::Point& origin) const { gfx 159 ui/views/corewm/tooltip_aura.cc gfx::Rect widget_bounds; gfx 162 ui/views/corewm/tooltip_aura.cc if (screen_type_ == gfx::SCREEN_TYPE_NATIVE && gfx 163 ui/views/corewm/tooltip_aura.cc gfx::SCREEN_TYPE_NATIVE != gfx::SCREEN_TYPE_ALTERNATE) { gfx 166 ui/views/corewm/tooltip_aura.cc gfx::Screen* screen = gfx::Screen::GetScreenByType(screen_type_); gfx 167 ui/views/corewm/tooltip_aura.cc gfx::Rect bounds(screen->GetDisplayNearestPoint(origin).bounds()); gfx 173 ui/views/corewm/tooltip_aura.cc void TooltipAura::SetTooltipBounds(const gfx::Point& mouse_pos, gfx 176 ui/views/corewm/tooltip_aura.cc gfx::Rect tooltip_rect(mouse_pos.x(), mouse_pos.y(), tooltip_width, gfx 180 ui/views/corewm/tooltip_aura.cc gfx::Rect display_bounds = GetBoundsForTooltip(mouse_pos); gfx 224 ui/views/corewm/tooltip_aura.cc const gfx::Point& location) { gfx 13 ui/views/corewm/tooltip_aura.h namespace gfx { gfx 26 ui/views/corewm/tooltip_aura.h explicit TooltipAura(gfx::ScreenType screen_type); gfx 33 ui/views/corewm/tooltip_aura.h static void TrimTooltipToFit(const gfx::FontList& font_list, gfx 41 ui/views/corewm/tooltip_aura.h int GetMaxWidth(const gfx::Point& location) const; gfx 44 ui/views/corewm/tooltip_aura.h gfx::Rect GetBoundsForTooltip(const gfx::Point& origin) const; gfx 48 ui/views/corewm/tooltip_aura.h void SetTooltipBounds(const gfx::Point& mouse_pos, gfx 61 ui/views/corewm/tooltip_aura.h const gfx::Point& location) OVERRIDE; gfx 69 ui/views/corewm/tooltip_aura.h const gfx::ScreenType screen_type_; gfx 23 ui/views/corewm/tooltip_aura_unittest.cc const gfx::FontList font_list; gfx 33 ui/views/corewm/tooltip_aura_unittest.cc int error_in_pixel_width = gfx::GetStringWidth(ASCIIToUTF16("tooltip"), gfx 40 ui/views/corewm/tooltip_aura_unittest.cc for (; gfx::GetStringWidth(tooltip, font_list) <= gfx 54 ui/views/corewm/tooltip_aura_unittest.cc for (; gfx::GetStringWidth(tooltip, font_list) <= gfx 66 ui/views/corewm/tooltip_aura_unittest.cc for (; gfx::GetStringWidth(tooltip, font_list) <= gfx 88 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_EQ(gfx::ElideText(UTF8ToUTF16(std::string('a', max_pixel_width)), gfx 90 ui/views/corewm/tooltip_aura_unittest.cc max_pixel_width, gfx::ELIDE_AT_END), tooltip); gfx 99 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_EQ(gfx::GetStringWidth(ASCIIToUTF16("Small Tooltip"), font_list), gfx 110 ui/views/corewm/tooltip_aura_unittest.cc int expected_width = gfx::GetStringWidth(ASCIIToUTF16("Multi line"), gfx 113 ui/views/corewm/tooltip_aura_unittest.cc gfx::GetStringWidth(ASCIIToUTF16("Tooltip"), gfx 125 ui/views/corewm/tooltip_aura_unittest.cc EXPECT_EQ(gfx::GetStringWidth(ASCIIToUTF16("Small Tool t\tip"), font_list), gfx 50 ui/views/corewm/tooltip_controller.cc gfx::Point* location) { gfx 86 ui/views/corewm/tooltip_controller.cc gfx::Point screen_loc(event.location()); gfx 89 ui/views/corewm/tooltip_controller.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(event_target); gfx 93 ui/views/corewm/tooltip_controller.cc gfx::Point target_loc(screen_loc); gfx 296 ui/views/corewm/tooltip_controller.cc gfx::Point widget_loc = curr_mouse_loc_ + gfx 55 ui/views/corewm/tooltip_controller.h const gfx::Point& mouse_location() const { return curr_mouse_loc_; } gfx 98 ui/views/corewm/tooltip_controller.h gfx::Point curr_mouse_loc_; gfx 57 ui/views/corewm/tooltip_controller_test_helper.cc bool TooltipTestView::GetTooltipText(const gfx::Point& p, gfx 59 ui/views/corewm/tooltip_controller_test_helper.h virtual bool GetTooltipText(const gfx::Point& p, gfx 59 ui/views/corewm/tooltip_controller_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 100); gfx 84 ui/views/corewm/tooltip_controller_unittest.cc new views::corewm::TooltipAura(gfx::SCREEN_TYPE_ALTERNATE)))); gfx 362 ui/views/corewm/tooltip_controller_unittest.cc gfx::Rect view_bounds(view_->GetLocalBounds()); gfx 372 ui/views/corewm/tooltip_controller_unittest.cc gfx::Point v1_point(1, 1); gfx 384 ui/views/corewm/tooltip_controller_unittest.cc gfx::Point v2_point(1, 1); gfx 413 ui/views/corewm/tooltip_controller_unittest.cc gfx::Point* point) OVERRIDE { gfx 416 ui/views/corewm/tooltip_controller_unittest.cc gfx::Point* point) OVERRIDE { gfx 419 ui/views/corewm/tooltip_controller_unittest.cc gfx::Point* point) OVERRIDE { gfx 423 ui/views/corewm/tooltip_controller_unittest.cc const gfx::Rect& bounds, gfx 424 ui/views/corewm/tooltip_controller_unittest.cc const gfx::Display& display) OVERRIDE { gfx 445 ui/views/corewm/tooltip_controller_unittest.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, gfx 452 ui/views/corewm/tooltip_controller_unittest.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen()); gfx 461 ui/views/corewm/tooltip_controller_unittest.cc scoped_ptr<gfx::Screen> desktop_screen_; gfx 497 ui/views/corewm/tooltip_controller_unittest.cc widget_->SetBounds(gfx::Rect(0, 0, 200, 200)); gfx 505 ui/views/corewm/tooltip_controller_unittest.cc widget2->SetBounds(gfx::Rect(0, 0, 200, 200)); gfx 669 ui/views/corewm/tooltip_controller_unittest.cc const gfx::Point& location) OVERRIDE { gfx 735 ui/views/corewm/tooltip_controller_unittest.cc window->SetBounds(gfx::Rect(0, 0, 300, 300)); gfx 748 ui/views/corewm/tooltip_controller_unittest.cc window->SetBounds(gfx::Rect(0, 0, 300, 300)); gfx 81 ui/views/corewm/tooltip_win.cc gfx::Display display( gfx 82 ui/views/corewm/tooltip_win.cc gfx::Screen::GetNativeScreen()->GetDisplayNearestPoint(location_)); gfx 90 ui/views/corewm/tooltip_win.cc gfx::Rect tooltip_bounds(location_.x(), initial_y + 20, gfx 98 ui/views/corewm/tooltip_win.cc tooltip_bounds = gfx::win::DIPToScreenRect(tooltip_bounds); gfx 105 ui/views/corewm/tooltip_win.cc const gfx::Point& location) { gfx 125 ui/views/corewm/tooltip_win.cc gfx::Display display( gfx 126 ui/views/corewm/tooltip_win.cc gfx::Screen::GetNativeScreen()->GetDisplayNearestPoint(location_)); gfx 127 ui/views/corewm/tooltip_win.cc const gfx::Rect monitor_bounds = display.bounds(); gfx 42 ui/views/corewm/tooltip_win.h const gfx::Point& location) OVERRIDE; gfx 62 ui/views/corewm/tooltip_win.h gfx::Point location_; gfx 10 ui/views/drag_controller.h namespace gfx { gfx 28 ui/views/drag_controller.h const gfx::Point& press_pt, gfx 34 ui/views/drag_controller.h const gfx::Point& p) = 0; gfx 40 ui/views/drag_controller.h const gfx::Point& press_pt, gfx 41 ui/views/drag_controller.h const gfx::Point& p) = 0; gfx 22 ui/views/drag_utils.cc gfx::NativeView view = widget->GetNativeView(); gfx 23 ui/views/drag_utils.cc gfx::Display display = gfx::Screen::GetScreenFor(view)-> gfx 32 ui/views/drag_utils.cc void RunShellDrag(gfx::NativeView view, gfx 34 ui/views/drag_utils.cc const gfx::Point& location, gfx 37 ui/views/drag_utils.cc gfx::Point root_location(location); gfx 46 ui/views/drag_utils.cc gfx::Canvas* GetCanvasForDragImage(views::Widget* widget, gfx 47 ui/views/drag_utils.cc const gfx::Size& canvas_size) { gfx 49 ui/views/drag_utils.cc return new gfx::Canvas(canvas_size, device_scale, false); gfx 12 ui/views/drag_utils.h namespace gfx { gfx 26 ui/views/drag_utils.h VIEWS_EXPORT void RunShellDrag(gfx::NativeView view, gfx 28 ui/views/drag_utils.h const gfx::Point& location, gfx 34 ui/views/drag_utils.h VIEWS_EXPORT gfx::Canvas* GetCanvasForDragImage(Widget* widget, gfx 35 ui/views/drag_utils.h const gfx::Size& canvas_size); gfx 22 ui/views/event_utils.h VIEWS_EXPORT bool RepostLocatedEvent(gfx::NativeWindow window, gfx 20 ui/views/event_utils_aura.cc bool RepostLocatedEvent(gfx::NativeWindow window, gfx 44 ui/views/event_utils_aura.cc gfx::Point root_loc(event.location()); gfx 23 ui/views/event_utils_win.cc const gfx::Point screen_loc = event.location(); gfx 104 ui/views/examples/button_example.cc text_button_->SetIcon(gfx::ImageSkia()); gfx 159 ui/views/examples/button_example.cc *icon_ : gfx::ImageSkia()); gfx 162 ui/views/examples/button_example.cc static_cast<gfx::HorizontalAlignment>( gfx 175 ui/views/examples/button_example.cc label_button_->set_min_size(gfx::Size()); gfx 44 ui/views/examples/button_example.h const gfx::ImageSkia* icon_; gfx 52 ui/views/examples/content_client/examples_browser_main_parts.cc gfx::NativeView window_context = NULL; gfx 54 ui/views/examples/content_client/examples_browser_main_parts.cc gfx::Screen::SetScreenInstance( gfx 55 ui/views/examples/content_client/examples_browser_main_parts.cc gfx::SCREEN_TYPE_NATIVE, aura::TestScreen::Create()); gfx 57 ui/views/examples/content_client/examples_browser_main_parts.cc wm_test_helper_.reset(new wm::WMTestHelper(gfx::Size(800, 600))); gfx 64 ui/views/examples/content_client/examples_browser_main_parts.cc gfx::Screen::SetScreenInstance( gfx 65 ui/views/examples/content_client/examples_browser_main_parts.cc gfx::SCREEN_TYPE_NATIVE, CreateDesktopScreen()); gfx 25 ui/views/examples/double_split_view_example.cc virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 42 ui/views/examples/double_split_view_example.cc gfx::Size SplittedView::GetMinimumSize() { gfx 43 ui/views/examples/double_split_view_example.cc return gfx::Size(10, 10); gfx 49 ui/views/examples/examples_main.cc gfx::GLSurface::InitializeOneOff(); gfx 77 ui/views/examples/examples_main.cc scoped_ptr<gfx::Screen> desktop_screen(views::CreateDesktopScreen()); gfx 78 ui/views/examples/examples_main.cc gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, gfx 222 ui/views/examples/examples_window.cc params.bounds = gfx::Rect(0, 0, 850, 300); gfx 15 ui/views/examples/examples_window_with_content.cc gfx::NativeView window_context) { gfx 23 ui/views/examples/examples_window_with_content.h gfx::NativeView window_context); gfx 28 ui/views/examples/label_example.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 40 ui/views/examples/label_example.cc gfx::Size PreferredSizeLabel::GetPreferredSize() { return gfx::Size(100, 40); } gfx 57 ui/views/examples/label_example.cc label->SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 61 ui/views/examples/label_example.cc label->SetHorizontalAlignment(gfx::ALIGN_RIGHT); gfx 65 ui/views/examples/label_example.cc label->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 70 ui/views/examples/label_example.cc label->SetFontList(gfx::FontList("Courier, 18px")); gfx 69 ui/views/examples/menu_example.cc const gfx::Point& point) OVERRIDE; gfx 189 ui/views/examples/menu_example.cc const gfx::Point& point) { gfx 193 ui/views/examples/menu_example.cc gfx::Rect(point, gfx::Size()), MenuItemView::TOPRIGHT, gfx 26 ui/views/examples/multiline_example.cc RenderTextView() : render_text_(gfx::RenderText::CreateInstance()) { gfx 27 ui/views/examples/multiline_example.cc render_text_->SetHorizontalAlignment(gfx::ALIGN_CENTER); gfx 33 ui/views/examples/multiline_example.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 38 ui/views/examples/multiline_example.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 42 ui/views/examples/multiline_example.cc gfx::Size size(render_text_->GetContentWidth(), gfx 53 ui/views/examples/multiline_example.cc const gfx::Rect old_rect = render_text_->display_rect(); gfx 54 ui/views/examples/multiline_example.cc gfx::Rect rect = old_rect; gfx 64 ui/views/examples/multiline_example.cc gfx::Range test_range(1, 21); gfx 71 ui/views/examples/multiline_example.cc render_text_->SetStyle(gfx::DIAGONAL_STRIKE, false); gfx 72 ui/views/examples/multiline_example.cc render_text_->ApplyStyle(gfx::DIAGONAL_STRIKE, true, test_range); gfx 73 ui/views/examples/multiline_example.cc render_text_->SetStyle(gfx::UNDERLINE, false); gfx 74 ui/views/examples/multiline_example.cc render_text_->ApplyStyle(gfx::UNDERLINE, true, test_range); gfx 79 ui/views/examples/multiline_example.cc virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE { gfx 80 ui/views/examples/multiline_example.cc gfx::Rect bounds = GetLocalBounds(); gfx 85 ui/views/examples/multiline_example.cc scoped_ptr<gfx::RenderText> render_text_; gfx 30 ui/views/examples/scroll_view_example.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 31 ui/views/examples/scroll_view_example.cc return gfx::Size(width(), height()); gfx 40 ui/views/examples/scroll_view_example.cc gfx::Size size = view->GetPreferredSize(); gfx 111 ui/views/examples/scroll_view_example.cc gfx::Rect(20, 500, 1000, 500)); gfx 25 ui/views/examples/single_split_view_example.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 26 ui/views/examples/single_split_view_example.cc virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 43 ui/views/examples/single_split_view_example.cc gfx::Size SplittedView::GetPreferredSize() { gfx 44 ui/views/examples/single_split_view_example.cc return gfx::Size(width(), height()); gfx 47 ui/views/examples/single_split_view_example.cc gfx::Size SplittedView::GetMinimumSize() { gfx 48 ui/views/examples/single_split_view_example.cc return gfx::Size(10, 10); gfx 126 ui/views/examples/table_example.cc gfx::ImageSkia TableExample::GetIcon(int row) { gfx 128 ui/views/examples/table_example.cc return gfx::ImageSkia::CreateFrom1xBitmap(row_icon); gfx 19 ui/views/examples/table_example.h namespace gfx { gfx 44 ui/views/examples/table_example.h virtual gfx::ImageSkia GetIcon(int row) OVERRIDE; gfx 91 ui/views/examples/text_example.cc fade_mode_(gfx::Canvas::TruncateFadeTail) { gfx 94 ui/views/examples/text_example.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 96 ui/views/examples/text_example.cc const gfx::Rect bounds = GetContentsBounds(); gfx 122 ui/views/examples/text_example.cc gfx::Canvas::TruncateFadeMode fade_mode() const { return fade_mode_; } gfx 123 ui/views/examples/text_example.cc void set_fade_mode(gfx::Canvas::TruncateFadeMode mode) { fade_mode_ = mode; } gfx 134 ui/views/examples/text_example.cc gfx::FontList font_list_; gfx 151 ui/views/examples/text_example.cc gfx::Canvas::TruncateFadeMode fade_mode_; gfx 247 ui/views/examples/text_example.cc SetFlagFromCheckbox(multiline_checkbox_, &flags, gfx::Canvas::MULTI_LINE); gfx 248 ui/views/examples/text_example.cc SetFlagFromCheckbox(break_checkbox_, &flags, gfx::Canvas::CHARACTER_BREAK); gfx 249 ui/views/examples/text_example.cc SetFlagFromCheckbox(bold_checkbox_, &style, gfx::Font::BOLD); gfx 250 ui/views/examples/text_example.cc SetFlagFromCheckbox(italic_checkbox_, &style, gfx::Font::ITALIC); gfx 251 ui/views/examples/text_example.cc SetFlagFromCheckbox(underline_checkbox_, &style, gfx::Font::UNDERLINE); gfx 261 ui/views/examples/text_example.cc text_flags &= ~(gfx::Canvas::TEXT_ALIGN_LEFT | gfx 262 ui/views/examples/text_example.cc gfx::Canvas::TEXT_ALIGN_CENTER | gfx 263 ui/views/examples/text_example.cc gfx::Canvas::TEXT_ALIGN_RIGHT); gfx 268 ui/views/examples/text_example.cc text_flags |= gfx::Canvas::TEXT_ALIGN_LEFT; gfx 271 ui/views/examples/text_example.cc text_flags |= gfx::Canvas::TEXT_ALIGN_CENTER; gfx 274 ui/views/examples/text_example.cc text_flags |= gfx::Canvas::TEXT_ALIGN_RIGHT; gfx 298 ui/views/examples/text_example.cc text_flags &= ~gfx::Canvas::NO_ELLIPSIS; gfx 302 ui/views/examples/text_example.cc text_flags |= gfx::Canvas::NO_ELLIPSIS; gfx 306 ui/views/examples/text_example.cc text_view_->set_fade_mode(gfx::Canvas::TruncateFadeTail); gfx 310 ui/views/examples/text_example.cc text_view_->set_fade_mode(gfx::Canvas::TruncateFadeHead); gfx 315 ui/views/examples/text_example.cc text_flags &= ~(gfx::Canvas::SHOW_PREFIX | gfx::Canvas::HIDE_PREFIX); gfx 320 ui/views/examples/text_example.cc text_flags |= gfx::Canvas::SHOW_PREFIX; gfx 323 ui/views/examples/text_example.cc text_flags |= gfx::Canvas::HIDE_PREFIX; gfx 124 ui/views/examples/textfield_example.cc name_->SetStyle(gfx::BOLD, true); gfx 128 ui/views/examples/textfield_example.cc const gfx::Range big_range(1 * fifth, 4 * fifth); gfx 129 ui/views/examples/textfield_example.cc name_->ApplyStyle(gfx::BOLD, false, big_range); gfx 130 ui/views/examples/textfield_example.cc name_->ApplyStyle(gfx::UNDERLINE, true, big_range); gfx 133 ui/views/examples/textfield_example.cc const gfx::Range small_range(2 * fifth, 3 * fifth); gfx 134 ui/views/examples/textfield_example.cc name_->ApplyStyle(gfx::ITALIC, true, small_range); gfx 135 ui/views/examples/textfield_example.cc name_->ApplyStyle(gfx::UNDERLINE, false, small_range); gfx 136 ui/views/examples/textfield_example.cc name_->ApplyStyle(gfx::DIAGONAL_STRIKE, true, small_range); gfx 28 ui/views/examples/throbber_example.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 29 ui/views/examples/throbber_example.cc return gfx::Size(width(), height()); gfx 34 ui/views/examples/throbber_example.cc gfx::Size ps = child->GetPreferredSize(); gfx 128 ui/views/examples/tree_view_example.cc const gfx::Point& point, gfx 136 ui/views/examples/tree_view_example.cc gfx::Rect(point, gfx::Size()), MenuItemView::TOPLEFT, source_type, 0) == gfx 59 ui/views/examples/tree_view_example.h const gfx::Point& point, gfx 91 ui/views/examples/widget_example.cc params.bounds = gfx::Rect(sender->GetBoundsInScreen().CenterPoint(), gfx 92 ui/views/examples/widget_example.cc gfx::Size(300, 200)); gfx 39 ui/views/focus/focus_manager_test.cc params.bounds = gfx::Rect(0, 0, 1024, 768); gfx 138 ui/views/focus/focus_manager_test.cc gfx::NativeView focused_before, gfx 139 ui/views/focus/focus_manager_test.cc gfx::NativeView focused_now) { gfx 79 ui/views/focus/focus_manager_test.h typedef std::pair<gfx::NativeView, gfx::NativeView> NativeViewPair; gfx 93 ui/views/focus/focus_manager_test.h virtual void OnNativeFocusChange(gfx::NativeView focused_before, gfx 94 ui/views/focus/focus_manager_test.h gfx::NativeView focused_now) OVERRIDE; gfx 125 ui/views/focus/focus_manager_unittest.cc params.bounds = gfx::Rect(10, 10, 100, 100); gfx 137 ui/views/focus/focus_manager_unittest.cc gfx::NativeView native_view1 = widget1->GetNativeView(); gfx 144 ui/views/focus/focus_manager_unittest.cc gfx::NativeView native_view2 = widget2->GetNativeView(); gfx 539 ui/views/focus/focus_manager_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 824 ui/views/focus/focus_manager_unittest.cc params.bounds = gfx::Rect(10, 10, 100, 100); gfx 447 ui/views/focus/focus_traversal_unittest.cc link->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 531 ui/views/focus/focus_traversal_unittest.cc link->SetHorizontalAlignment(gfx::ALIGN_LEFT); gfx 28 ui/views/focus/widget_focus_manager.cc void WidgetFocusManager::OnWidgetFocusEvent(gfx::NativeView focused_before, gfx 29 ui/views/focus/widget_focus_manager.cc gfx::NativeView focused_now) { gfx 24 ui/views/focus/widget_focus_manager.h virtual void OnNativeFocusChange(gfx::NativeView focused_before, gfx 25 ui/views/focus/widget_focus_manager.h gfx::NativeView focused_now) = 0; gfx 46 ui/views/focus/widget_focus_manager.h void OnWidgetFocusEvent(gfx::NativeView focused_before, gfx 47 ui/views/focus/widget_focus_manager.h gfx::NativeView focused_now); gfx 82 ui/views/ime/input_method_base.cc bool InputMethodBase::GetCaretBoundsInWidget(gfx::Rect* rect) const { gfx 88 ui/views/ime/input_method_base.cc gfx::Rect caret_bounds = client->GetCaretBounds(); gfx 89 ui/views/ime/input_method_base.cc gfx::Point caret_origin = caret_bounds.origin(); gfx 14 ui/views/ime/input_method_base.h namespace gfx { gfx 63 ui/views/ime/input_method_base.h bool GetCaretBoundsInWidget(gfx::Rect* rect) const; gfx 213 ui/views/ime/input_method_bridge.cc gfx::NativeWindow InputMethodBridge::GetAttachedWindow() const { gfx 216 ui/views/ime/input_method_bridge.cc client->GetAttachedWindow() : static_cast<gfx::NativeWindow>(NULL); gfx 234 ui/views/ime/input_method_bridge.cc gfx::Rect InputMethodBridge::GetCaretBounds() const { gfx 237 ui/views/ime/input_method_bridge.cc return gfx::Rect(); gfx 243 ui/views/ime/input_method_bridge.cc gfx::Rect* rect) const { gfx 257 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::GetTextRange(gfx::Range* range) const { gfx 262 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::GetCompositionTextRange(gfx::Range* range) const { gfx 267 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::GetSelectionRange(gfx::Range* range) const { gfx 272 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::SetSelectionRange(const gfx::Range& range) { gfx 277 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::DeleteRange(const gfx::Range& range) { gfx 282 ui/views/ime/input_method_bridge.cc bool InputMethodBridge::GetTextFromRange(const gfx::Range& range, gfx 307 ui/views/ime/input_method_bridge.cc void InputMethodBridge::EnsureCaretInRect(const gfx::Rect& rect) { gfx 59 ui/views/ime/input_method_bridge.h virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; gfx 63 ui/views/ime/input_method_bridge.h virtual gfx::Rect GetCaretBounds() const OVERRIDE; gfx 65 ui/views/ime/input_method_bridge.h gfx::Rect* rect) const OVERRIDE; gfx 67 ui/views/ime/input_method_bridge.h virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; gfx 68 ui/views/ime/input_method_bridge.h virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; gfx 69 ui/views/ime/input_method_bridge.h virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; gfx 70 ui/views/ime/input_method_bridge.h virtual bool SetSelectionRange(const gfx::Range& range) OVERRIDE; gfx 71 ui/views/ime/input_method_bridge.h virtual bool DeleteRange(const gfx::Range& range) OVERRIDE; gfx 72 ui/views/ime/input_method_bridge.h virtual bool GetTextFromRange(const gfx::Range& range, gfx 78 ui/views/ime/input_method_bridge.h virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; gfx 29 ui/views/layout/box_layout.cc gfx::Rect child_area(host->GetLocalBounds()); gfx 67 ui/views/layout/box_layout.cc gfx::Rect bounds(x, y, child_area.width(), child_area.height()); gfx 84 ui/views/layout/box_layout.cc gfx::Size BoxLayout::GetPreferredSize(View* host) { gfx 105 ui/views/layout/box_layout.cc gfx::Size BoxLayout::GetPreferredSizeForChildWidth(View* host, gfx 107 ui/views/layout/box_layout.cc gfx::Rect child_area_bounds; gfx 119 ui/views/layout/box_layout.cc gfx::Size size(child->GetPreferredSize()); gfx 123 ui/views/layout/box_layout.cc gfx::Rect child_bounds(position, 0, size.width(), size.height()); gfx 145 ui/views/layout/box_layout.cc gfx::Size non_child_size = NonChildSize(host); gfx 146 ui/views/layout/box_layout.cc return gfx::Size(child_area_bounds.width() + non_child_size.width(), gfx 150 ui/views/layout/box_layout.cc gfx::Size BoxLayout::NonChildSize(View* host) { gfx 151 ui/views/layout/box_layout.cc gfx::Insets insets(host->GetInsets()); gfx 152 ui/views/layout/box_layout.cc return gfx::Size(insets.width() + inside_border_insets_.width(), gfx 13 ui/views/layout/box_layout.h namespace gfx { gfx 49 ui/views/layout/box_layout.h virtual gfx::Size GetPreferredSize(View* host) OVERRIDE; gfx 54 ui/views/layout/box_layout.h gfx::Size GetPreferredSizeForChildWidth(View* host, int child_area_width); gfx 58 ui/views/layout/box_layout.h gfx::Size NonChildSize(View* host); gfx 63 ui/views/layout/box_layout.h gfx::Insets inside_border_insets_; gfx 29 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Size(20, 20), layout_->GetPreferredSize(host_.get())); gfx 34 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size(10, 20)); gfx 36 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); gfx 38 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Size(20, 20), layout_->GetPreferredSize(host_.get())); gfx 41 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 10, 20), v1->bounds()); gfx 42 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(10, 0, 10, 20), v2->bounds()); gfx 47 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size(20, 10)); gfx 49 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); gfx 51 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Size(20, 20), layout_->GetPreferredSize(host_.get())); gfx 54 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 20, 10), v1->bounds()); gfx 55 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 10, 20, 10), v2->bounds()); gfx 60 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size(10, 20)); gfx 62 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 20)); gfx 64 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Size(42, 34), layout_->GetPreferredSize(host_.get())); gfx 67 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(7, 7, 10, 86), v1->bounds()); gfx 68 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(25, 7, 10, 86), v2->bounds()); gfx 73 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size(20, 20)); gfx 75 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 20)); gfx 79 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 10, 10), v1->bounds()); gfx 80 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0), v2->bounds()); gfx 85 ui/views/layout/box_layout_unittest.cc View* childView = new StaticSizedView(gfx::Size(20, 20)); gfx 89 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 0, 0), childView->bounds()); gfx 94 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size(20, 20)); gfx 97 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); gfx 99 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Size(30, 30), layout_->GetPreferredSize(host_.get())); gfx 102 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 10, 10), v2->bounds()); gfx 109 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size(20, 20)); gfx 111 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); gfx 113 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Size(60, 40), layout_->GetPreferredSize(host_.get())); gfx 117 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 40, 20).ToString(), v1->bounds().ToString()); gfx 118 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(60, 10, 30, 20).ToString(), v2->bounds().ToString()); gfx 123 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size(20, 10)); gfx 127 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Size(20, 50), layout_->GetPreferredSize(host_.get())); gfx 131 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 20, 10), v1->bounds()); gfx 132 ui/views/layout/box_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 10, 20, 40), v2->bounds()); gfx 143 ui/views/layout/box_layout_unittest.cc View* v1 = new StaticSizedView(gfx::Size()); gfx 145 ui/views/layout/box_layout_unittest.cc View* v2 = new StaticSizedView(gfx::Size(10, 10)); gfx 23 ui/views/layout/fill_layout.cc gfx::Size FillLayout::GetPreferredSize(View* host) { gfx 25 ui/views/layout/fill_layout.cc return gfx::Size(); gfx 27 ui/views/layout/fill_layout.cc gfx::Rect rect(host->child_at(0)->GetPreferredSize()); gfx 36 ui/views/layout/fill_layout.cc const gfx::Insets insets = host->GetInsets(); gfx 28 ui/views/layout/fill_layout.h virtual gfx::Size GetPreferredSize(View* host) OVERRIDE; gfx 607 ui/views/layout/grid_layout.cc gfx::Size pref; gfx 691 ui/views/layout/grid_layout.cc void GridLayout::SetInsets(const gfx::Insets& insets) { gfx 811 ui/views/layout/grid_layout.cc gfx::Size pref; gfx 840 ui/views/layout/grid_layout.cc gfx::Size GridLayout::GetPreferredSize(View* host) { gfx 842 ui/views/layout/grid_layout.cc gfx::Size out; gfx 851 ui/views/layout/grid_layout.cc gfx::Size pref; gfx 857 ui/views/layout/grid_layout.cc gfx::Size* pref) { gfx 110 ui/views/layout/grid_layout.h void SetInsets(const gfx::Insets& insets); gfx 181 ui/views/layout/grid_layout.h virtual gfx::Size GetPreferredSize(View* host) OVERRIDE; gfx 185 ui/views/layout/grid_layout.h void set_minimum_size(const gfx::Size& size) { minimum_size_ = size; } gfx 192 ui/views/layout/grid_layout.h void SizeRowsAndColumns(bool layout, int width, int height, gfx::Size* pref); gfx 241 ui/views/layout/grid_layout.h gfx::Insets insets_; gfx 256 ui/views/layout/grid_layout.h gfx::Size minimum_size_; gfx 23 ui/views/layout/grid_layout_unittest.cc explicit SettableSizeView(const gfx::Size& pref) { gfx 27 ui/views/layout/grid_layout_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 32 ui/views/layout/grid_layout_unittest.cc gfx::Size pref_; gfx 42 ui/views/layout/grid_layout_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 43 ui/views/layout/grid_layout_unittest.cc return gfx::Size(0, circumference_ / 2); gfx 67 ui/views/layout/grid_layout_unittest.cc gfx::Size pref; gfx 68 ui/views/layout/grid_layout_unittest.cc gfx::Rect bounds; gfx 76 ui/views/layout/grid_layout_unittest.cc : v1(gfx::Size(10, 20)), gfx 84 ui/views/layout/grid_layout_unittest.cc void TestAlignment(GridLayout::Alignment alignment, gfx::Rect* bounds) { gfx 89 ui/views/layout/grid_layout_unittest.cc gfx::Size pref = layout.GetPreferredSize(&host); gfx 90 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(10, 20), pref); gfx 103 ui/views/layout/grid_layout_unittest.cc gfx::Rect bounds; gfx 105 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 100, 100), bounds); gfx 109 ui/views/layout/grid_layout_unittest.cc gfx::Rect bounds; gfx 111 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 10, 20), bounds); gfx 115 ui/views/layout/grid_layout_unittest.cc gfx::Rect bounds; gfx 117 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Rect(45, 40, 10, 20), bounds); gfx 121 ui/views/layout/grid_layout_unittest.cc gfx::Rect bounds; gfx 123 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Rect(90, 80, 10, 20), bounds); gfx 127 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(10, 20)); gfx 128 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(20, 20)); gfx 139 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(30, 20), pref); gfx 150 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(100, 20)); gfx 151 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 40)); gfx 163 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 60), pref); gfx 174 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(100, 20)); gfx 175 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 20)); gfx 188 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 40), pref); gfx 199 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(100, 20)); gfx 200 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 20)); gfx 201 ui/views/layout/grid_layout_unittest.cc SettableSizeView v3(gfx::Size(10, 20)); gfx 214 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 40), pref); gfx 234 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(10, 10)); gfx 235 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); gfx 236 ui/views/layout/grid_layout_unittest.cc SettableSizeView v3(gfx::Size(25, 20)); gfx 244 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(25, 30), pref); gfx 267 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(10, 10)); gfx 268 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(20, 10)); gfx 275 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(30, 10), pref); gfx 286 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(50, 20)); gfx 287 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); gfx 298 ui/views/layout/grid_layout_unittest.cc gfx::Size pref = layout.GetPreferredSize(&host); gfx 299 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(100, 20), pref); gfx 310 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(50, 20)); gfx 311 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); gfx 330 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(50, 20)); gfx 331 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); gfx 352 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(10, 10)); gfx 353 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); gfx 354 ui/views/layout/grid_layout_unittest.cc SettableSizeView v3(gfx::Size(10, 10)); gfx 377 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(50, 20)); gfx 378 ui/views/layout/grid_layout_unittest.cc SettableSizeView v2(gfx::Size(10, 10)); gfx 388 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(50, 30), pref); gfx 399 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(10, 20)); gfx 408 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(16, 24), pref); gfx 440 ui/views/layout/grid_layout_unittest.cc layout.AddView(new SettableSizeView(gfx::Size(pref_width, pref_height))); gfx 458 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(column_count * title_width + 4, gfx 473 ui/views/layout/grid_layout_unittest.cc layout.AddView(new SettableSizeView(gfx::Size(10, 10)), 1, 2); gfx 494 ui/views/layout/grid_layout_unittest.cc layout.AddView(new SettableSizeView(gfx::Size(20, 10))); gfx 495 ui/views/layout/grid_layout_unittest.cc layout.AddView(new SettableSizeView(gfx::Size(20, 40)), 1, 2); gfx 497 ui/views/layout/grid_layout_unittest.cc View* s3 = new SettableSizeView(gfx::Size(20, 10)); gfx 501 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(40, 40), pref); gfx 517 ui/views/layout/grid_layout_unittest.cc layout.AddView(new SettableSizeView(gfx::Size(20, 20))); gfx 518 ui/views/layout/grid_layout_unittest.cc View* s3 = new SettableSizeView(gfx::Size(64, 64)); gfx 524 ui/views/layout/grid_layout_unittest.cc layout.AddView(new SettableSizeView(gfx::Size(10, 20))); gfx 527 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(84, 64), pref); gfx 543 ui/views/layout/grid_layout_unittest.cc View* view = new SettableSizeView(gfx::Size(30, 40)); gfx 564 ui/views/layout/grid_layout_unittest.cc View* view = new SettableSizeView(gfx::Size(30, 40)); gfx 588 ui/views/layout/grid_layout_unittest.cc View* span_view = new SettableSizeView(gfx::Size(12, 40)); gfx 592 ui/views/layout/grid_layout_unittest.cc View* view1 = new SettableSizeView(gfx::Size(2, 40)); gfx 593 ui/views/layout/grid_layout_unittest.cc View* view2 = new SettableSizeView(gfx::Size(4, 40)); gfx 636 ui/views/layout/grid_layout_unittest.cc View* view2 = new SettableSizeView(gfx::Size(20, 20)); gfx 648 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(20, 50), layout.GetPreferredSize(&host)); gfx 652 ui/views/layout/grid_layout_unittest.cc SettableSizeView v1(gfx::Size(10, 20)); gfx 660 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(10, 20), pref); gfx 662 ui/views/layout/grid_layout_unittest.cc layout.set_minimum_size(gfx::Size(40, 40)); gfx 664 ui/views/layout/grid_layout_unittest.cc EXPECT_EQ(gfx::Size(40, 40), pref); gfx 10 ui/views/layout/layout_manager.h namespace gfx { gfx 45 ui/views/layout/layout_manager.h virtual gfx::Size GetPreferredSize(View* host) = 0; gfx 22 ui/views/linux_ui/linux_ui.h namespace gfx { gfx 45 ui/views/linux_ui/linux_ui.h public gfx::LinuxFontDelegate, gfx 64 ui/views/linux_ui/linux_ui.h virtual gfx::Image GetThemeImageNamed(int id) const = 0; gfx 97 ui/views/linux_ui/linux_ui.h const gfx::ImageSkia& image, gfx 103 ui/views/linux_ui/linux_ui.h virtual gfx::Image GetIconForContentType( gfx 11 ui/views/linux_ui/status_icon_linux.h namespace gfx { gfx 39 ui/views/linux_ui/status_icon_linux.h virtual void SetImage(const gfx::ImageSkia& image) = 0; gfx 40 ui/views/linux_ui/status_icon_linux.h virtual void SetPressedImage(const gfx::ImageSkia& image) = 0; gfx 14 ui/views/mouse_watcher.h namespace gfx { gfx 45 ui/views/mouse_watcher.h virtual bool Contains(const gfx::Point& screen_point, gfx 14 ui/views/mouse_watcher_view_host.cc const gfx::Insets& hot_zone_insets) gfx 23 ui/views/mouse_watcher_view_host.cc const gfx::Point& screen_point, gfx 33 ui/views/mouse_watcher_view_host.cc bool MouseWatcherViewHost::IsCursorInViewZone(const gfx::Point& screen_point) { gfx 34 ui/views/mouse_watcher_view_host.cc gfx::Rect bounds = view_->GetLocalBounds(); gfx 35 ui/views/mouse_watcher_view_host.cc gfx::Point view_topleft(bounds.origin()); gfx 52 ui/views/mouse_watcher_view_host.cc return gfx::Screen::GetScreenFor(widget->GetNativeView())-> gfx 21 ui/views/mouse_watcher_view_host.h MouseWatcherViewHost(View* view, const gfx::Insets& hot_zone_insets); gfx 25 ui/views/mouse_watcher_view_host.h virtual bool Contains(const gfx::Point& screen_point, gfx 29 ui/views/mouse_watcher_view_host.h bool IsCursorInViewZone(const gfx::Point& screen_point); gfx 35 ui/views/mouse_watcher_view_host.h const gfx::Insets hot_zone_insets_; gfx 29 ui/views/native_theme_delegate.h virtual gfx::Rect GetThemePaintRect() const = 0; gfx 37 ui/views/native_theme_delegate.h virtual const gfx::Animation* GetThemeAnimation() const = 0; gfx 29 ui/views/painter.cc explicit DashedFocusPainter(const gfx::Insets& insets); gfx 33 ui/views/painter.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 34 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; gfx 37 ui/views/painter.cc const gfx::Insets insets_; gfx 42 ui/views/painter.cc DashedFocusPainter::DashedFocusPainter(const gfx::Insets& insets) gfx 49 ui/views/painter.cc gfx::Size DashedFocusPainter::GetMinimumSize() const { gfx 50 ui/views/painter.cc return gfx::Size(); gfx 53 ui/views/painter.cc void DashedFocusPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { gfx 54 ui/views/painter.cc gfx::Rect rect(size); gfx 63 ui/views/painter.cc SolidFocusPainter(SkColor color, const gfx::Insets& insets); gfx 67 ui/views/painter.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 68 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; gfx 72 ui/views/painter.cc const gfx::Insets insets_; gfx 78 ui/views/painter.cc const gfx::Insets& insets) gfx 86 ui/views/painter.cc gfx::Size SolidFocusPainter::GetMinimumSize() const { gfx 87 ui/views/painter.cc return gfx::Size(); gfx 90 ui/views/painter.cc void SolidFocusPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { gfx 91 ui/views/painter.cc gfx::Rect rect(size); gfx 107 ui/views/painter.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 108 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; gfx 140 ui/views/painter.cc gfx::Size GradientPainter::GetMinimumSize() const { gfx 141 ui/views/painter.cc return gfx::Size(); gfx 144 ui/views/painter.cc void GradientPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { gfx 173 ui/views/painter.cc ImagePainter(const gfx::ImageSkia& image, const gfx::Insets& insets); gfx 178 ui/views/painter.cc virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 179 ui/views/painter.cc virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; gfx 182 ui/views/painter.cc scoped_ptr<gfx::NineImagePainter> nine_painter_; gfx 191 ui/views/painter.cc ImagePainter::ImagePainter(const gfx::ImageSkia& image, gfx 192 ui/views/painter.cc const gfx::Insets& insets) gfx 193 ui/views/painter.cc : nine_painter_(new gfx::NineImagePainter(image, insets)) { gfx 199 ui/views/painter.cc gfx::Size ImagePainter::GetMinimumSize() const { gfx 203 ui/views/painter.cc void ImagePainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { gfx 204 ui/views/painter.cc nine_painter_->Paint(canvas, gfx::Rect(size)); gfx 219 ui/views/painter.cc void Painter::PaintPainterAt(gfx::Canvas* canvas, gfx 221 ui/views/painter.cc const gfx::Rect& rect) { gfx 231 ui/views/painter.cc gfx::Canvas* canvas, gfx 263 ui/views/painter.cc Painter* Painter::CreateImagePainter(const gfx::ImageSkia& image, gfx 264 ui/views/painter.cc const gfx::Insets& insets) { gfx 275 ui/views/painter.cc return scoped_ptr<Painter>(new DashedFocusPainter(gfx::Insets())).Pass(); gfx 280 ui/views/painter.cc const gfx::Insets& insets) { gfx 287 ui/views/painter.cc const gfx::Insets& insets) { gfx 304 ui/views/painter.cc gfx::Size HorizontalPainter::GetMinimumSize() const { gfx 305 ui/views/painter.cc return gfx::Size( gfx 310 ui/views/painter.cc void HorizontalPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { gfx 15 ui/views/painter.h namespace gfx { gfx 37 ui/views/painter.h static void PaintPainterAt(gfx::Canvas* canvas, gfx 39 ui/views/painter.h const gfx::Rect& rect); gfx 44 ui/views/painter.h gfx::Canvas* canvas, gfx 63 ui/views/painter.h static Painter* CreateImagePainter(const gfx::ImageSkia& image, gfx 64 ui/views/painter.h const gfx::Insets& insets); gfx 76 ui/views/painter.h const gfx::Insets& insets); gfx 78 ui/views/painter.h const gfx::Insets& insets); gfx 82 ui/views/painter.h virtual gfx::Size GetMinimumSize() const = 0; gfx 85 ui/views/painter.h virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) = 0; gfx 103 ui/views/painter.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 104 ui/views/painter.h virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; gfx 115 ui/views/painter.h const gfx::ImageSkia* images_[3]; gfx 12 ui/views/rect_based_targeting_utils.cc bool UsePointBasedTargeting(const gfx::Rect& rect) { gfx 16 ui/views/rect_based_targeting_utils.cc float PercentCoveredBy(const gfx::Rect& rect_1, const gfx::Rect& rect_2) { gfx 17 ui/views/rect_based_targeting_utils.cc gfx::Rect intersection(rect_1); gfx 25 ui/views/rect_based_targeting_utils.cc int DistanceSquaredFromCenterToPoint(const gfx::Point& point, gfx 26 ui/views/rect_based_targeting_utils.cc const gfx::Rect& rect) { gfx 27 ui/views/rect_based_targeting_utils.cc gfx::Point center_point = rect.CenterPoint(); gfx 10 ui/views/rect_based_targeting_utils.h namespace gfx { gfx 18 ui/views/rect_based_targeting_utils.h VIEWS_EXPORT bool UsePointBasedTargeting(const gfx::Rect& rect); gfx 21 ui/views/rect_based_targeting_utils.h VIEWS_EXPORT float PercentCoveredBy(const gfx::Rect& rect_1, gfx 22 ui/views/rect_based_targeting_utils.h const gfx::Rect& rect_2); gfx 25 ui/views/rect_based_targeting_utils.h VIEWS_EXPORT int DistanceSquaredFromCenterToPoint(const gfx::Point& point, gfx 26 ui/views/rect_based_targeting_utils.h const gfx::Rect& rect); gfx 13 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_1(gfx::Point(-22, 30), gfx::Size(1, 1)); gfx 14 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_2(gfx::Point(0, 0), gfx::Size(34, 55)); gfx 15 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_3(gfx::Point(12, 12), gfx::Size(1, 0)); gfx 16 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_4(gfx::Point(12, 120), gfx::Size(0, 0)); gfx 25 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_1(gfx::Point(0, 0), gfx::Size(300, 120)); gfx 26 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_2(gfx::Point(20, 10), gfx::Size(30, 90)); gfx 27 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_3(gfx::Point(160, 50), gfx::Size(150, 85)); gfx 28 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_4(gfx::Point(20, 55), gfx::Size(0, 15)); gfx 52 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_1(gfx::Point(0, 0), gfx::Size(10, 10)); gfx 53 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_2(gfx::Point(20, 0), gfx::Size(80, 10)); gfx 54 ui/views/rect_based_targeting_utils_unittest.cc gfx::Rect rect_3(gfx::Point(0, 20), gfx::Size(10, 20)); gfx 56 ui/views/rect_based_targeting_utils_unittest.cc gfx::Point point_1(5, 5); gfx 57 ui/views/rect_based_targeting_utils_unittest.cc gfx::Point point_2(25, 5); gfx 58 ui/views/rect_based_targeting_utils_unittest.cc gfx::Point point_3(11, 15); gfx 59 ui/views/rect_based_targeting_utils_unittest.cc gfx::Point point_4(33, 44); gfx 21 ui/views/round_rect_painter.cc gfx::Size RoundRectPainter::GetMinimumSize() const { gfx 22 ui/views/round_rect_painter.cc return gfx::Size(1, 1); gfx 25 ui/views/round_rect_painter.cc void RoundRectPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) { gfx 31 ui/views/round_rect_painter.cc gfx::Rect rect(size); gfx 33 ui/views/round_rect_painter.cc SkRect skia_rect = gfx::RectToSkRect(rect); gfx 12 ui/views/round_rect_painter.h namespace gfx { gfx 27 ui/views/round_rect_painter.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 28 ui/views/round_rect_painter.h virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) OVERRIDE; gfx 22 ui/views/run_all_unittests.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 30 ui/views/shadow_border.cc void ShadowBorder::Paint(const views::View& view, gfx::Canvas* canvas) { gfx 32 ui/views/shadow_border.cc std::vector<gfx::ShadowValue> shadows; gfx 33 ui/views/shadow_border.cc shadows.push_back(gfx::ShadowValue(gfx::Point(), blur_, color_)); gfx 34 ui/views/shadow_border.cc skia::RefPtr<SkDrawLooper> looper = gfx::CreateShadowDrawLooper(shadows); gfx 38 ui/views/shadow_border.cc gfx::Rect bounds(view.size()); gfx 41 ui/views/shadow_border.cc bounds.Inset(gfx::Insets(blur_ / 2, blur_ / 2, blur_ / 2, blur_ / 2)); gfx 45 ui/views/shadow_border.cc gfx::Insets ShadowBorder::GetInsets() const { gfx 46 ui/views/shadow_border.cc return gfx::Insets(blur_ / 2 - vertical_offset_, gfx 52 ui/views/shadow_border.cc gfx::Size ShadowBorder::GetMinimumSize() const { gfx 53 ui/views/shadow_border.cc return gfx::Size(blur_, blur_); gfx 25 ui/views/shadow_border.h virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE; gfx 26 ui/views/shadow_border.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 27 ui/views/shadow_border.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 48 ui/views/test/child_modal_window.cc void CreateChildModalParent(gfx::NativeView context) { gfx 52 ui/views/test/child_modal_window.cc gfx::Rect(kWindowLeft, kWindowTop, kWindowWidth, kWindowHeight))->Show(); gfx 63 ui/views/test/child_modal_window.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 64 ui/views/test/child_modal_window.cc virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 86 ui/views/test/child_modal_window.cc void ChildModalWindow::OnPaint(gfx::Canvas* canvas) { gfx 90 ui/views/test/child_modal_window.cc gfx::Size ChildModalWindow::GetPreferredSize() { gfx 91 ui/views/test/child_modal_window.cc return gfx::Size(kChildWindowWidth, kChildWindowHeight); gfx 110 ui/views/test/child_modal_window.cc ChildModalParent::ChildModalParent(gfx::NativeView context) gfx 140 ui/views/test/child_modal_window.cc gfx::NativeWindow ChildModalParent::GetModalParent() const { gfx 144 ui/views/test/child_modal_window.cc gfx::NativeWindow ChildModalParent::GetChild() const { gfx 20 ui/views/test/child_modal_window.h void CreateChildModalParent(gfx::NativeView context); gfx 26 ui/views/test/child_modal_window.h ChildModalParent(gfx::NativeView context); gfx 30 ui/views/test/child_modal_window.h gfx::NativeWindow GetModalParent() const; gfx 31 ui/views/test/child_modal_window.h gfx::NativeWindow GetChild() const; gfx 64 ui/views/test/child_modal_window.h gfx::NativeWindow modal_parent_; gfx 9 ui/views/test/test_views.cc StaticSizedView::StaticSizedView(const gfx::Size& size) : size_(size) {} gfx 13 ui/views/test/test_views.cc gfx::Size StaticSizedView::GetPreferredSize() { gfx 15 ui/views/test/test_views.h explicit StaticSizedView(const gfx::Size& size); gfx 18 ui/views/test/test_views.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 21 ui/views/test/test_views.h gfx::Size size_; gfx 36 ui/views/test/test_views_delegate.cc const gfx::Rect& bounds, gfx 43 ui/views/test/test_views_delegate.cc gfx::Rect* bounds, gfx 49 ui/views/test/test_views_delegate.cc gfx::ImageSkia* TestViewsDelegate::GetDefaultWindowIcon() const { gfx 37 ui/views/test/test_views_delegate.h const gfx::Rect& bounds, gfx 42 ui/views/test/test_views_delegate.h gfx::Rect* bounds, gfx 58 ui/views/test/test_views_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) const { gfx 62 ui/views/test/test_views_delegate.h virtual gfx::ImageSkia* GetDefaultWindowIcon() const OVERRIDE; gfx 77 ui/views/test/ui_controls_factory_desktop_aurax11.cc return XInternAtom(gfx::GetXDisplay(), "marker_event", False); gfx 89 ui/views/test/ui_controls_factory_desktop_aurax11.cc : x_display_(gfx::GetXDisplay()), gfx 107 ui/views/test/ui_controls_factory_desktop_aurax11.cc virtual bool SendKeyPress(gfx::NativeWindow window, gfx 119 ui/views/test/ui_controls_factory_desktop_aurax11.cc gfx::NativeWindow window, gfx 166 ui/views/test/ui_controls_factory_desktop_aurax11.cc gfx::Point screen_location(screen_x, screen_y); gfx 167 ui/views/test/ui_controls_factory_desktop_aurax11.cc gfx::Point root_location = screen_location; gfx 178 ui/views/test/ui_controls_factory_desktop_aurax11.cc gfx::Point root_current_location; gfx 209 ui/views/test/ui_controls_factory_desktop_aurax11.cc gfx::Point mouse_loc = aura::Env::GetInstance()->last_mouse_location(); gfx 266 ui/views/test/ui_controls_factory_desktop_aurax11.cc aura::Window* RootWindowForPoint(const gfx::Point& point) { gfx 82 ui/views/test/views_test_base.cc gfx::NativeView ViewsTestBase::GetContext() { gfx 66 ui/views/test/views_test_base.h gfx::NativeView GetContext(); gfx 62 ui/views/test/widget_test.cc gfx::NativeView parent_native_view) { gfx 54 ui/views/test/widget_test.h Widget* CreateChildPlatformWidget(gfx::NativeView parent_native_view); gfx 42 ui/views/touchui/touch_editing_menu.cc gfx::Rect anchor_rect, gfx 43 ui/views/touchui/touch_editing_menu.cc gfx::NativeView context) gfx 49 ui/views/touchui/touch_editing_menu.cc set_margins(gfx::Insets(kMenuMargin, kMenuMargin, kMenuMargin, kMenuMargin)); gfx 66 ui/views/touchui/touch_editing_menu.cc gfx::Rect anchor_rect, gfx 67 ui/views/touchui/touch_editing_menu.cc gfx::NativeView context) { gfx 100 ui/views/touchui/touch_editing_menu.cc void TouchEditingMenuView::OnPaint(gfx::Canvas* canvas) { gfx 107 ui/views/touchui/touch_editing_menu.cc canvas->FillRect(gfx::Rect(x, 0, 1, child->height()), gfx 131 ui/views/touchui/touch_editing_menu.cc base::string16 label = gfx::RemoveAcceleratorChar(title, '&', NULL, NULL); gfx 135 ui/views/touchui/touch_editing_menu.cc const gfx::FontList& font_list = gfx 141 ui/views/touchui/touch_editing_menu.cc int h_border = (kMenuButtonWidth - gfx::GetStringWidth(label, font_list)) / 2; gfx 143 ui/views/touchui/touch_editing_menu.cc gfx::Insets(v_border, h_border, v_border, h_border)); gfx 13 ui/views/touchui/touch_editing_menu.h namespace gfx { gfx 48 ui/views/touchui/touch_editing_menu.h gfx::Rect anchor_rect, gfx 49 ui/views/touchui/touch_editing_menu.h gfx::NativeView context); gfx 55 ui/views/touchui/touch_editing_menu.h gfx::Rect anchor_rect, gfx 56 ui/views/touchui/touch_editing_menu.h gfx::NativeView context); gfx 65 ui/views/touchui/touch_editing_menu.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 65 ui/views/touchui/touch_selection_controller_impl.cc gfx::NativeView context, gfx 79 ui/views/touchui/touch_selection_controller_impl.cc gfx::Image* GetHandleImage() { gfx 80 ui/views/touchui/touch_selection_controller_impl.cc static gfx::Image* handle_image = NULL; gfx 88 ui/views/touchui/touch_selection_controller_impl.cc gfx::Size GetHandleImageSize() { gfx 93 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect Union(const gfx::Rect& r1, const gfx::Rect& r2) { gfx 99 ui/views/touchui/touch_selection_controller_impl.cc return gfx::Rect(rx, ry, rr - rx, rb - ry); gfx 107 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect ConvertFromScreen(ui::TouchEditable* client, const gfx::Rect& rect) { gfx 108 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point origin = rect.origin(); gfx 110 ui/views/touchui/touch_selection_controller_impl.cc return gfx::Rect(origin, rect.size()); gfx 129 ui/views/touchui/touch_selection_controller_impl.cc gfx::Path* mask) const OVERRIDE; gfx 141 ui/views/touchui/touch_selection_controller_impl.cc gfx::NativeView context) gfx 166 ui/views/touchui/touch_selection_controller_impl.cc virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE { gfx 167 ui/views/touchui/touch_selection_controller_impl.cc gfx::Size image_size = GetHandleImageSize(); gfx 179 ui/views/touchui/touch_selection_controller_impl.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 182 ui/views/touchui/touch_selection_controller_impl.cc gfx::Size image_size = GetHandleImageSize(); gfx 188 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect(cursor_pos_x, 0, gfx 207 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point drag_pos(event->location().x(), gfx 222 ui/views/touchui/touch_selection_controller_impl.cc virtual gfx::Size GetPreferredSize() OVERRIDE { gfx 223 ui/views/touchui/touch_selection_controller_impl.cc gfx::Size image_size = GetHandleImageSize(); gfx 224 ui/views/touchui/touch_selection_controller_impl.cc return gfx::Size(image_size.width() + 2 * kSelectionHandleHorizPadding, gfx 246 ui/views/touchui/touch_selection_controller_impl.cc void SetSelectionRectInScreen(const gfx::Rect& rect) { gfx 247 ui/views/touchui/touch_selection_controller_impl.cc gfx::Size image_size = GetHandleImageSize(); gfx 249 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect widget_bounds( gfx 257 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point GetScreenPosition() { gfx 268 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Rect& selection_rect() const { return selection_rect_; } gfx 273 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect selection_rect_; gfx 297 ui/views/touchui/touch_selection_controller_impl.cc gfx::Path* mask) const { gfx 298 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Rect& selection_rect = handle_view_->selection_rect(); gfx 299 ui/views/touchui/touch_selection_controller_impl.cc gfx::Size image_size = GetHandleImageSize(); gfx 332 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect r1, r2; gfx 334 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point screen_pos_1(r1.origin()); gfx 336 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point screen_pos_2(r2.origin()); gfx 338 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect screen_rect_1(screen_pos_1, r1.size()); gfx 339 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect screen_rect_2(screen_pos_2, r2.size()); gfx 417 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Point& drag_pos) { gfx 422 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point drag_pos_in_client = drag_pos; gfx 431 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect fixed_handle_rect = selection_end_point_1_; gfx 436 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point p2 = fixed_handle_rect.origin(); gfx 447 ui/views/touchui/touch_selection_controller_impl.cc EditingHandleView* source, gfx::Point* point) { gfx 454 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Rect& rect, gfx 455 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Rect& rect_in_screen) { gfx 473 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Rect rect = context_menu_->GetAnchorRect(); gfx 474 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Point anchor(rect.CenterPoint().x(), rect.y()); gfx 491 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Rect& new_bounds) { gfx 499 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect end_rect_1_in_screen; gfx 500 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect end_rect_2_in_screen; gfx 510 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect end_rect_1(ConvertFromScreen(client_view_, end_rect_1_in_screen)); gfx 511 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect end_rect_2(ConvertFromScreen(client_view_, end_rect_2_in_screen)); gfx 516 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect menu_anchor; gfx 517 ui/views/touchui/touch_selection_controller_impl.cc gfx::Rect client_bounds = client_view_->GetBounds(); gfx 543 ui/views/touchui/touch_selection_controller_impl.cc void TouchSelectionControllerImpl::UpdateContextMenu(const gfx::Point& p1, gfx 544 ui/views/touchui/touch_selection_controller_impl.cc const gfx::Point& p2) { gfx 557 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point TouchSelectionControllerImpl::GetSelectionHandle1Position() { gfx 561 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point TouchSelectionControllerImpl::GetSelectionHandle2Position() { gfx 565 ui/views/touchui/touch_selection_controller_impl.cc gfx::Point TouchSelectionControllerImpl::GetCursorHandlePosition() { gfx 44 ui/views/touchui/touch_selection_controller_impl.h void SelectionHandleDragged(const gfx::Point& drag_pos); gfx 48 ui/views/touchui/touch_selection_controller_impl.h void ConvertPointToClientView(EditingHandleView* source, gfx::Point* point); gfx 52 ui/views/touchui/touch_selection_controller_impl.h void SetHandleSelectionRect(EditingHandleView* handle, const gfx::Rect& rect, gfx 53 ui/views/touchui/touch_selection_controller_impl.h const gfx::Rect& rect_in_screen); gfx 66 ui/views/touchui/touch_selection_controller_impl.h const gfx::Rect& new_bounds) OVERRIDE; gfx 74 ui/views/touchui/touch_selection_controller_impl.h void UpdateContextMenu(const gfx::Point& p1, const gfx::Point& p2); gfx 80 ui/views/touchui/touch_selection_controller_impl.h gfx::Point GetSelectionHandle1Position(); gfx 81 ui/views/touchui/touch_selection_controller_impl.h gfx::Point GetSelectionHandle2Position(); gfx 82 ui/views/touchui/touch_selection_controller_impl.h gfx::Point GetCursorHandlePosition(); gfx 107 ui/views/touchui/touch_selection_controller_impl.h gfx::Rect selection_end_point_1_; gfx 108 ui/views/touchui/touch_selection_controller_impl.h gfx::Rect selection_end_point_2_; gfx 30 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Image* GetHandleImage() { gfx 31 ui/views/touchui/touch_selection_controller_impl_unittest.cc static gfx::Image* handle_image = NULL; gfx 39 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Size GetHandleImageSize() { gfx 71 ui/views/touchui/touch_selection_controller_impl_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 85 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point GetCursorPosition(const gfx::SelectionModel& sel) { gfx 86 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::RenderText* render_text = textfield_->GetRenderText(); gfx 87 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Rect cursor_bounds = render_text->GetCursorBounds(sel, true); gfx 88 ui/views/touchui/touch_selection_controller_impl_unittest.cc return gfx::Point(cursor_bounds.x(), cursor_bounds.y()); gfx 96 ui/views/touchui/touch_selection_controller_impl_unittest.cc void SimulateSelectionHandleDrag(gfx::Point p, int selection_handle) { gfx 113 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point GetSelectionHandle1Position() { gfx 117 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point GetSelectionHandle2Position() { gfx 121 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point GetCursorHandlePosition() { gfx 137 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::RenderText* GetRenderText() { gfx 156 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::SelectionModel sel = textfield_->GetSelectionModel(); \ gfx 161 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::SelectionModel sel_start = GetRenderText()-> \ gfx 163 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point selection_start = GetCursorPosition(sel_start); \ gfx 164 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point selection_end = GetCursorPosition(sel); \ gfx 165 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point sh1 = GetSelectionHandle1Position(); \ gfx 166 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point sh2 = GetSelectionHandle2Position(); \ gfx 180 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point cursor_pos = GetCursorPosition(sel); \ gfx 181 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point ch_pos = GetCursorHandlePosition(); \ gfx 198 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 7)); gfx 231 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::SelectionModel(3, gfx::CURSOR_BACKWARD)); gfx 235 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(2, 3)); gfx 238 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 2)); gfx 241 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 4)); gfx 244 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(4, 3)); gfx 247 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 6)); gfx 250 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(6, 3)); gfx 254 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(0, 6)); gfx 257 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(6, 0)); gfx 260 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(1, 4)); gfx 263 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(4, 1)); gfx 276 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 7)); gfx 282 ui/views/touchui/touch_selection_controller_impl_unittest.cc const gfx::FontList& font_list = textfield_->GetFontList(); gfx 283 ui/views/touchui/touch_selection_controller_impl_unittest.cc int x = gfx::Canvas::GetStringWidth(ASCIIToUTF16("ld "), font_list); gfx 284 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 2); gfx 290 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(-50, 0), 1); gfx 295 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(ASCIIToUTF16("textfield with "), font_list); gfx 296 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 1); gfx 301 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(ASCIIToUTF16("with selected "), font_list); gfx 302 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 2); gfx 316 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(2, 3)); gfx 321 ui/views/touchui/touch_selection_controller_impl_unittest.cc const gfx::FontList& font_list = textfield_->GetFontList(); gfx 322 ui/views/touchui/touch_selection_controller_impl_unittest.cc int x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e3"), font_list); gfx 323 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 2); gfx 328 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"b"), font_list); gfx 329 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(-x, 0), 1); gfx 334 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 2)); gfx 339 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e3"), font_list); gfx 340 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 1); gfx 345 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"b"), font_list); gfx 346 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(-x, 0), 2); gfx 351 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 4)); gfx 371 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"d"), font_list); gfx 372 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 1); gfx 377 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(4, 3)); gfx 390 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"d"), font_list); gfx 391 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 2); gfx 396 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(5, 6)); gfx 401 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"c"), font_list); gfx 402 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(-x, 0), 2); gfx 407 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e2"), font_list); gfx 408 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 1); gfx 413 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(6, 5)); gfx 418 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"c"), font_list); gfx 419 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(-x, 0), 1); gfx 424 ui/views/touchui/touch_selection_controller_impl_unittest.cc x = gfx::Canvas::GetStringWidth(WideToUTF16(L"\x05e2"), font_list); gfx 425 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(x, 0), 2); gfx 445 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(10, textfield_text.length())); gfx 450 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(gfx::Range(10, textfield_text.length()), gfx 457 ui/views/touchui/touch_selection_controller_impl_unittest.cc SimulateSelectionHandleDrag(gfx::Point(-10, 0), 2); gfx 473 ui/views/touchui/touch_selection_controller_impl_unittest.cc generator.GestureTapAt(gfx::Point(10, 10)); gfx 482 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::Point cursor_pos = GetCursorHandlePosition(); gfx 118 ui/views/view.cc gfx::Point location(event->location()); gfx 311 ui/views/view.cc SetBoundsRect(gfx::Rect(x, y, std::max(0, width), std::max(0, height))); gfx 314 ui/views/view.cc void View::SetBoundsRect(const gfx::Rect& bounds) { gfx 330 ui/views/view.cc gfx::Rect prev = bounds_; gfx 335 ui/views/view.cc void View::SetSize(const gfx::Size& size) { gfx 339 ui/views/view.cc void View::SetPosition(const gfx::Point& position) { gfx 351 ui/views/view.cc gfx::Rect View::GetContentsBounds() const { gfx 352 ui/views/view.cc gfx::Rect contents_bounds(GetLocalBounds()); gfx 358 ui/views/view.cc gfx::Rect View::GetLocalBounds() const { gfx 359 ui/views/view.cc return gfx::Rect(size()); gfx 362 ui/views/view.cc gfx::Rect View::GetLayerBoundsInPixel() const { gfx 366 ui/views/view.cc gfx::Insets View::GetInsets() const { gfx 367 ui/views/view.cc return border_.get() ? border_->GetInsets() : gfx::Insets(); gfx 370 ui/views/view.cc gfx::Rect View::GetVisibleBounds() const { gfx 372 ui/views/view.cc return gfx::Rect(); gfx 373 ui/views/view.cc gfx::Rect vis_bounds(GetLocalBounds()); gfx 374 ui/views/view.cc gfx::Rect ancestor_bounds; gfx 376 ui/views/view.cc gfx::Transform transform; gfx 380 ui/views/view.cc gfx::Transform translation; gfx 392 ui/views/view.cc return gfx::Rect(); gfx 399 ui/views/view.cc gfx::RectF views_vis_bounds(vis_bounds); gfx 402 ui/views/view.cc return gfx::ToEnclosingRect(views_vis_bounds); gfx 405 ui/views/view.cc gfx::Rect View::GetBoundsInScreen() const { gfx 406 ui/views/view.cc gfx::Point origin; gfx 408 ui/views/view.cc return gfx::Rect(origin, size()); gfx 411 ui/views/view.cc gfx::Size View::GetPreferredSize() { gfx 414 ui/views/view.cc return gfx::Size(); gfx 422 ui/views/view.cc gfx::Size prefsize = GetPreferredSize(); gfx 427 ui/views/view.cc gfx::Size View::GetMinimumSize() { gfx 431 ui/views/view.cc gfx::Size View::GetMaximumSize() { gfx 432 ui/views/view.cc return gfx::Size(); gfx 481 ui/views/view.cc gfx::Transform View::GetTransform() const { gfx 482 ui/views/view.cc return layer() ? layer()->transform() : gfx::Transform(); gfx 485 ui/views/view.cc void View::SetTransform(const gfx::Transform& transform) { gfx 513 ui/views/view.cc gfx::Rect View::GetMirroredBounds() const { gfx 514 ui/views/view.cc gfx::Rect bounds(bounds_); gfx 519 ui/views/view.cc gfx::Point View::GetMirroredPosition() const { gfx 520 ui/views/view.cc return gfx::Point(GetMirroredX(), y()); gfx 527 ui/views/view.cc int View::GetMirroredXForRect(const gfx::Rect& bounds) const { gfx 653 ui/views/view.cc gfx::Point* point) { gfx 672 ui/views/view.cc gfx::RectF* rect) { gfx 689 ui/views/view.cc void View::ConvertPointToWidget(const View* src, gfx::Point* p) { gfx 697 ui/views/view.cc void View::ConvertPointFromWidget(const View* dest, gfx::Point* p) { gfx 705 ui/views/view.cc void View::ConvertPointToScreen(const View* src, gfx::Point* p) { gfx 718 ui/views/view.cc void View::ConvertPointFromScreen(const View* dst, gfx::Point* p) { gfx 729 ui/views/view.cc gfx::Rect View::ConvertRectToParent(const gfx::Rect& rect) const { gfx 730 ui/views/view.cc gfx::RectF x_rect = rect; gfx 734 ui/views/view.cc return gfx::ToEnclosingRect(x_rect); gfx 737 ui/views/view.cc gfx::Rect View::ConvertRectToWidget(const gfx::Rect& rect) const { gfx 738 ui/views/view.cc gfx::Rect x_rect = rect; gfx 750 ui/views/view.cc void View::SchedulePaintInRect(const gfx::Rect& rect) { gfx 763 ui/views/view.cc void View::Paint(gfx::Canvas* canvas) { gfx 766 ui/views/view.cc gfx::ScopedCanvas scoped_canvas(canvas); gfx 775 ui/views/view.cc gfx::Rect clip_rect = bounds(); gfx 809 ui/views/view.cc View* View::GetEventHandlerForPoint(const gfx::Point& point) { gfx 810 ui/views/view.cc return GetEventHandlerForRect(gfx::Rect(point, gfx::Size(1, 1))); gfx 813 ui/views/view.cc View* View::GetEventHandlerForRect(const gfx::Rect& rect) { gfx 832 ui/views/view.cc gfx::RectF rect_in_child_coords_f(rect); gfx 834 ui/views/view.cc gfx::Rect rect_in_child_coords = gfx::ToEnclosingRect( gfx 844 ui/views/view.cc gfx::RectF cur_view_bounds_f(cur_view->GetLocalBounds()); gfx 846 ui/views/view.cc gfx::Rect cur_view_bounds = gfx::ToEnclosingRect( gfx 851 ui/views/view.cc gfx::Point touch_center(rect.CenterPoint()); gfx 861 ui/views/view.cc gfx::Point point_in_child_coords(rect_in_child_coords.CenterPoint()); gfx 872 ui/views/view.cc gfx::Rect local_bounds(GetLocalBounds()); gfx 874 ui/views/view.cc gfx::Point touch_center(rect.CenterPoint()); gfx 884 ui/views/view.cc View* View::GetTooltipHandlerForPoint(const gfx::Point& point) { gfx 895 ui/views/view.cc gfx::Point point_in_child_coords(point); gfx 904 ui/views/view.cc gfx::NativeCursor View::GetCursor(const ui::MouseEvent& event) { gfx 911 ui/views/view.cc return gfx::kNullCursor; gfx 915 ui/views/view.cc bool View::HitTestPoint(const gfx::Point& point) const { gfx 916 ui/views/view.cc return HitTestRect(gfx::Rect(point, gfx::Size(1, 1))); gfx 919 ui/views/view.cc bool View::HitTestRect(const gfx::Rect& rect) const { gfx 922 ui/views/view.cc gfx::Path mask; gfx 951 ui/views/view.cc gfx::Point cursor_pos(gfx::Screen::GetScreenFor( gfx 1225 ui/views/view.cc bool View::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const { gfx 1229 ui/views/view.cc bool View::GetTooltipTextOrigin(const gfx::Point& p, gfx::Point* loc) const { gfx 1235 ui/views/view.cc void View::ShowContextMenu(const gfx::Point& p, gfx 1283 ui/views/view.cc bool View::ExceededDragThreshold(const gfx::Vector2d& delta) { gfx 1290 ui/views/view.cc gfx::NativeViewAccessible View::GetNativeViewAccessible() { gfx 1314 ui/views/view.cc void View::ScrollRectToVisible(const gfx::Rect& rect) { gfx 1318 ui/views/view.cc gfx::Rect scroll_rect(rect); gfx 1339 ui/views/view.cc void View::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 1375 ui/views/view.cc void View::PaintChildren(gfx::Canvas* canvas) { gfx 1382 ui/views/view.cc void View::OnPaint(gfx::Canvas* canvas) { gfx 1388 ui/views/view.cc void View::OnPaintBackground(gfx::Canvas* canvas) { gfx 1397 ui/views/view.cc void View::OnPaintBorder(gfx::Canvas* canvas) { gfx 1414 ui/views/view.cc gfx::Vector2d View::CalculateOffsetToAncestorWithLayer( gfx 1419 ui/views/view.cc return gfx::Vector2d(); gfx 1422 ui/views/view.cc return gfx::Vector2d(); gfx 1424 ui/views/view.cc return gfx::Vector2d(GetMirroredX(), y()) + gfx 1433 ui/views/view.cc gfx::Vector2d offset(GetMirroredX(), y()); gfx 1442 ui/views/view.cc const gfx::Point& point) { gfx 1443 ui/views/view.cc gfx::Point local_point(point); gfx 1448 ui/views/view.cc SetLayerBounds(gfx::Rect(local_point.x(), local_point.y(), gfx 1473 ui/views/view.cc void View::UpdateChildLayerBounds(const gfx::Vector2d& offset) { gfx 1480 ui/views/view.cc offset + gfx::Vector2d(child->GetMirroredX(), child->y())); gfx 1485 ui/views/view.cc void View::OnPaintLayer(gfx::Canvas* canvas) { gfx 1546 ui/views/view.cc void View::GetHitTestMask(HitTestSource source, gfx::Path* mask) const { gfx 1593 ui/views/view.cc gfx::Point View::GetKeyboardContextMenuLocation() { gfx 1594 ui/views/view.cc gfx::Rect vis_bounds = GetVisibleBounds(); gfx 1595 ui/views/view.cc gfx::Point screen_point(vis_bounds.x() + vis_bounds.width() / 2, gfx 1603 ui/views/view.cc int View::GetDragOperations(const gfx::Point& press_pt) { gfx 1609 ui/views/view.cc void View::WriteDragData(const gfx::Point& press_pt, OSExchangeData* data) { gfx 1665 ui/views/view.cc gfx::DecomposedTransform decomp; gfx 1667 ui/views/view.cc gfx::DecomposeTransform(&decomp, GetTransform())) { gfx 1734 ui/views/view.cc start_pt = gfx::Point(); gfx 1737 ui/views/view.cc void View::DragInfo::PossibleDrag(const gfx::Point& p) { gfx 1761 ui/views/view.cc void View::PaintCommon(gfx::Canvas* canvas) { gfx 1771 ui/views/view.cc gfx::ScopedCanvas scoped(canvas); gfx 1773 ui/views/view.cc canvas->Translate(gfx::Vector2d(width(), 0)); gfx 1900 ui/views/view.cc void View::BoundsChanged(const gfx::Rect& previous_bounds) { gfx 1911 ui/views/view.cc gfx::Vector2d(GetMirroredX(), y()) + gfx 1993 ui/views/view.cc void View::SetLayerBounds(const gfx::Rect& bounds) { gfx 2000 ui/views/view.cc gfx::Transform* transform) const { gfx 2005 ui/views/view.cc gfx::Transform translation; gfx 2019 ui/views/view.cc gfx::Point* point) const { gfx 2020 ui/views/view.cc gfx::Transform trans; gfx 2023 ui/views/view.cc gfx::Point3F p(*point); gfx 2025 ui/views/view.cc *point = gfx::ToFlooredPoint(p.AsPointF()); gfx 2030 ui/views/view.cc gfx::Point* point) const { gfx 2031 ui/views/view.cc gfx::Transform trans; gfx 2033 ui/views/view.cc gfx::Point3F p(*point); gfx 2035 ui/views/view.cc *point = gfx::ToFlooredPoint(p.AsPointF()); gfx 2040 ui/views/view.cc gfx::RectF* rect) const { gfx 2041 ui/views/view.cc gfx::Transform trans; gfx 2049 ui/views/view.cc gfx::RectF* rect) const { gfx 2050 ui/views/view.cc gfx::Transform trans; gfx 2107 ui/views/view.cc void View::ReparentLayer(const gfx::Vector2d& offset, ui::Layer* parent_layer) { gfx 2113 ui/views/view.cc MoveLayerToParent(layer(), gfx::Point()); gfx 2160 ui/views/view.cc gfx::Point location(event.location()); gfx 2202 ui/views/view.cc gfx::Point location(event.location()); gfx 2334 ui/views/view.cc const gfx::Point& press_pt, gfx 2355 ui/views/view.cc gfx::Point widget_location(event.location()); gfx 42 ui/views/view.h namespace gfx { gfx 219 ui/views/view.h void SetBoundsRect(const gfx::Rect& bounds); gfx 220 ui/views/view.h void SetSize(const gfx::Size& size); gfx 221 ui/views/view.h void SetPosition(const gfx::Point& position); gfx 226 ui/views/view.h const gfx::Rect& bounds() const { return bounds_; } gfx 231 ui/views/view.h const gfx::Size& size() const { return bounds_.size(); } gfx 235 ui/views/view.h gfx::Rect GetContentsBounds() const; gfx 239 ui/views/view.h gfx::Rect GetLocalBounds() const; gfx 242 ui/views/view.h gfx::Rect GetLayerBoundsInPixel() const; gfx 246 ui/views/view.h virtual gfx::Insets GetInsets() const; gfx 255 ui/views/view.h gfx::Rect GetVisibleBounds() const; gfx 258 ui/views/view.h gfx::Rect GetBoundsInScreen() const; gfx 265 ui/views/view.h virtual gfx::Size GetPreferredSize(); gfx 272 ui/views/view.h virtual gfx::Size GetMinimumSize(); gfx 276 ui/views/view.h virtual gfx::Size GetMaximumSize(); gfx 312 ui/views/view.h gfx::Transform GetTransform() const; gfx 315 ui/views/view.h void set_clip_insets(gfx::Insets clip_insets) { clip_insets_ = clip_insets; } gfx 318 ui/views/view.h void SetTransform(const gfx::Transform& transform); gfx 337 ui/views/view.h gfx::Rect GetMirroredBounds() const; gfx 338 ui/views/view.h gfx::Point GetMirroredPosition() const; gfx 348 ui/views/view.h int GetMirroredXForRect(const gfx::Rect& rect) const; gfx 456 ui/views/view.h gfx::Point* point); gfx 466 ui/views/view.h gfx::RectF* rect); gfx 469 ui/views/view.h static void ConvertPointToWidget(const View* src, gfx::Point* point); gfx 473 ui/views/view.h static void ConvertPointFromWidget(const View* dest, gfx::Point* p); gfx 476 ui/views/view.h static void ConvertPointToScreen(const View* src, gfx::Point* point); gfx 479 ui/views/view.h static void ConvertPointFromScreen(const View* dst, gfx::Point* point); gfx 483 ui/views/view.h gfx::Rect ConvertRectToParent(const gfx::Rect& rect) const; gfx 487 ui/views/view.h gfx::Rect ConvertRectToWidget(const gfx::Rect& rect) const; gfx 498 ui/views/view.h virtual void SchedulePaintInRect(const gfx::Rect& r); gfx 504 ui/views/view.h virtual void Paint(gfx::Canvas* canvas); gfx 562 ui/views/view.h View* GetEventHandlerForPoint(const gfx::Point& point); gfx 571 ui/views/view.h virtual View* GetEventHandlerForRect(const gfx::Rect& rect); gfx 576 ui/views/view.h virtual View* GetTooltipHandlerForPoint(const gfx::Point& point); gfx 583 ui/views/view.h virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event); gfx 587 ui/views/view.h bool HitTestPoint(const gfx::Point& point) const; gfx 590 ui/views/view.h virtual bool HitTestRect(const gfx::Rect& rect) const; gfx 828 ui/views/view.h virtual bool GetTooltipText(const gfx::Point& p, gfx 834 ui/views/view.h virtual bool GetTooltipTextOrigin(const gfx::Point& p, gfx::Point* loc) const; gfx 853 ui/views/view.h virtual void ShowContextMenu(const gfx::Point& p, gfx 927 ui/views/view.h static bool ExceededDragThreshold(const gfx::Vector2d& delta); gfx 935 ui/views/view.h virtual gfx::NativeViewAccessible GetNativeViewAccessible(); gfx 954 ui/views/view.h virtual void ScrollRectToVisible(const gfx::Rect& rect); gfx 991 ui/views/view.h void PossibleDrag(const gfx::Point& p); gfx 997 ui/views/view.h gfx::Point start_pt; gfx 1003 ui/views/view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds); gfx 1067 ui/views/view.h virtual void PaintChildren(gfx::Canvas* canvas); gfx 1072 ui/views/view.h virtual void OnPaint(gfx::Canvas* canvas); gfx 1077 ui/views/view.h virtual void OnPaintBackground(gfx::Canvas* canvas); gfx 1080 ui/views/view.h virtual void OnPaintBorder(gfx::Canvas* canvas); gfx 1086 ui/views/view.h virtual gfx::Vector2d CalculateOffsetToAncestorWithLayer( gfx 1099 ui/views/view.h void MoveLayerToParent(ui::Layer* parent_layer, const gfx::Point& point); gfx 1103 ui/views/view.h void UpdateChildLayerBounds(const gfx::Vector2d& offset); gfx 1106 ui/views/view.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; gfx 1133 ui/views/view.h virtual void GetHitTestMask(HitTestSource source, gfx::Path* mask) const; gfx 1177 ui/views/view.h virtual gfx::Point GetKeyboardContextMenuLocation(); gfx 1185 ui/views/view.h virtual int GetDragOperations(const gfx::Point& press_pt); gfx 1186 ui/views/view.h virtual void WriteDragData(const gfx::Point& press_pt, OSExchangeData* data); gfx 1242 ui/views/view.h void PaintCommon(gfx::Canvas* canvas); gfx 1291 ui/views/view.h void BoundsChanged(const gfx::Rect& previous_bounds); gfx 1309 ui/views/view.h void SetLayerBounds(const gfx::Rect& bounds_in_dip); gfx 1317 ui/views/view.h gfx::Transform* transform) const; gfx 1324 ui/views/view.h bool ConvertPointForAncestor(const View* ancestor, gfx::Point* point) const; gfx 1330 ui/views/view.h bool ConvertPointFromAncestor(const View* ancestor, gfx::Point* point) const; gfx 1335 ui/views/view.h bool ConvertRectForAncestor(const View* ancestor, gfx::RectF* rect) const; gfx 1341 ui/views/view.h bool ConvertRectFromAncestor(const View* ancestor, gfx::RectF* rect) const; gfx 1355 ui/views/view.h void ReparentLayer(const gfx::Vector2d& offset, ui::Layer* parent_layer); gfx 1421 ui/views/view.h const gfx::Point& press_pt, gfx 1453 ui/views/view.h gfx::Rect bounds_; gfx 1487 ui/views/view.h gfx::Insets clip_insets_; gfx 59 ui/views/view_model.h void set_ideal_bounds(int index, const gfx::Rect& bounds) { gfx 64 ui/views/view_model.h const gfx::Rect& ideal_bounds(int index) const { gfx 78 ui/views/view_model.h gfx::Rect ideal_bounds; gfx 45 ui/views/view_model_unittest.cc gfx::Rect v1_bounds(1, 2, 3, 4); gfx 76 ui/views/view_model_unittest.cc model.set_ideal_bounds(0, gfx::Rect(10, 0, 1, 2)); gfx 77 ui/views/view_model_unittest.cc model.set_ideal_bounds(1, gfx::Rect(11, 0, 1, 2)); gfx 78 ui/views/view_model_unittest.cc model.set_ideal_bounds(2, gfx::Rect(12, 0, 1, 2)); gfx 71 ui/views/view_model_utils.cc const gfx::Rect& bounds(model.ideal_bounds(i)); gfx 18 ui/views/view_model_utils_unittest.cc gfx::Rect v1_bounds(1, 2, 3, 4); gfx 31 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(0, gfx::Rect(0, 0, 10, 10)); gfx 32 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(1, gfx::Rect(10, 0, 1000, 10)); gfx 33 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(2, gfx::Rect(1010, 0, 2, 10)); gfx 54 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(0, gfx::Rect(0, 0, 10, 10)); gfx 55 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(1, gfx::Rect(0, 10, 10, 1000)); gfx 56 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(2, gfx::Rect(0, 1010, 10, 2)); gfx 233 ui/views/view_unittest.cc virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 243 ui/views/view_unittest.cc virtual void Paint(gfx::Canvas* canvas) OVERRIDE; gfx 244 ui/views/view_unittest.cc virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; gfx 249 ui/views/view_unittest.cc gfx::Rect new_bounds_; gfx 253 ui/views/view_unittest.cc gfx::Point location_; gfx 259 ui/views/view_unittest.cc std::vector<gfx::Rect> scheduled_paint_rects_; gfx 323 ui/views/view_unittest.cc void TestView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 331 ui/views/view_unittest.cc gfx::Rect prev_rect(0, 0, 200, 200); gfx 332 ui/views/view_unittest.cc gfx::Rect new_rect(100, 100, 250, 250); gfx 376 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(0, 0, 300, 300)); gfx 379 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); gfx 384 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 395 ui/views/view_unittest.cc gfx::Point p1(110, 120); gfx 408 ui/views/view_unittest.cc gfx::Point p2(50, 40); gfx 421 ui/views/view_unittest.cc ui::MouseEvent released(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), 0, gfx 436 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(0, 0, 300, 300)); gfx 439 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); gfx 447 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 455 ui/views/view_unittest.cc gfx::Point point(110, 120); gfx 474 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(0, 0, 300, 300)); gfx 477 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); gfx 480 ui/views/view_unittest.cc v3->SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 485 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 511 ui/views/view_unittest.cc EXPECT_EQ(gfx::Point(10, 10), v2->location_); gfx 531 ui/views/view_unittest.cc EXPECT_EQ(gfx::Point(80, 80), v1->location_); gfx 552 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(0, 0, 300, 300)); gfx 555 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 100, 100)); gfx 558 ui/views/view_unittest.cc v3->SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 563 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 589 ui/views/view_unittest.cc EXPECT_EQ(gfx::Point(10, 10), v2->location_); gfx 645 ui/views/view_unittest.cc EXPECT_EQ(gfx::Point(80, 80), v1->location_); gfx 667 ui/views/view_unittest.cc void TestView::Paint(gfx::Canvas* canvas) { gfx 671 ui/views/view_unittest.cc void TestView::SchedulePaintInRect(const gfx::Rect& rect) { gfx 785 ui/views/view_unittest.cc gfx::Path* mask) const OVERRIDE { gfx 805 ui/views/view_unittest.cc gfx::Point ConvertPointToView(View* view, const gfx::Point& p) { gfx 806 ui/views/view_unittest.cc gfx::Point tmp(p); gfx 811 ui/views/view_unittest.cc gfx::Rect ConvertRectToView(View* view, const gfx::Rect& r) { gfx 812 ui/views/view_unittest.cc gfx::Rect tmp(r); gfx 817 ui/views/view_unittest.cc void RotateCounterclockwise(gfx::Transform* transform) { gfx 823 ui/views/view_unittest.cc void RotateClockwise(gfx::Transform* transform) { gfx 836 ui/views/view_unittest.cc root_view->SetBoundsRect(gfx::Rect(0, 0, 500, 500)); gfx 838 ui/views/view_unittest.cc gfx::Rect v1_bounds = gfx::Rect(0, 0, 100, 100); gfx 843 ui/views/view_unittest.cc gfx::Rect v2_bounds = gfx::Rect(105, 0, 100, 100); gfx 848 ui/views/view_unittest.cc gfx::Point v1_centerpoint = v1_bounds.CenterPoint(); gfx 849 ui/views/view_unittest.cc gfx::Point v2_centerpoint = v2_bounds.CenterPoint(); gfx 850 ui/views/view_unittest.cc gfx::Point v1_origin = v1_bounds.origin(); gfx 851 ui/views/view_unittest.cc gfx::Point v2_origin = v2_bounds.origin(); gfx 853 ui/views/view_unittest.cc gfx::Rect r1(10, 10, 110, 15); gfx 854 ui/views/view_unittest.cc gfx::Rect r2(106, 1, 98, 98); gfx 855 ui/views/view_unittest.cc gfx::Rect r3(0, 0, 300, 300); gfx 856 ui/views/view_unittest.cc gfx::Rect r4(115, 342, 200, 10); gfx 905 ui/views/view_unittest.cc root_view->SetBoundsRect(gfx::Rect(0, 0, 500, 500)); gfx 963 ui/views/view_unittest.cc gfx::Rect touch_rect(105, 105, 30, 45); gfx 1214 ui/views/view_unittest.cc root_view->SetBoundsRect(gfx::Rect(0, 0, 500, 500)); gfx 1263 ui/views/view_unittest.cc gfx::Point p1(6, 6); gfx 1274 ui/views/view_unittest.cc gfx::Point p2(65, 21); gfx 1285 ui/views/view_unittest.cc gfx::Point p3(1, 1); gfx 1296 ui/views/view_unittest.cc gfx::Point p4(121, 15); gfx 1309 ui/views/view_unittest.cc gfx::Point p5(21, 0); gfx 1319 ui/views/view_unittest.cc gfx::Point p6(15, 15); gfx 1331 ui/views/view_unittest.cc gfx::Point p7(21, 0); gfx 1348 ui/views/view_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 1385 ui/views/view_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 1497 ui/views/view_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 1560 ui/views/view_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 1588 ui/views/view_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 100); gfx 1617 ui/views/view_unittest.cc virtual gfx::Size GetPreferredSize() { gfx 1618 ui/views/view_unittest.cc return gfx::Size(100, 10000); gfx 1664 ui/views/view_unittest.cc gfx::Rect(0, 0, 100, 100)); gfx 1670 ui/views/view_unittest.cc gfx::Rect(200, 200, 100, 100)); gfx 1771 ui/views/view_unittest.cc scheduled_paint_rect_ = gfx::Rect(); gfx 1774 ui/views/view_unittest.cc gfx::Rect scheduled_paint_rect() const { return scheduled_paint_rect_; } gfx 1777 ui/views/view_unittest.cc virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE { gfx 1778 ui/views/view_unittest.cc gfx::Rect xrect = ConvertRectToParent(rect); gfx 1783 ui/views/view_unittest.cc gfx::Rect scheduled_paint_rect_; gfx 1790 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(0, 0, 500, 300)); gfx 1793 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 200, 100)); gfx 1797 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 1809 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(100, 100, 200, 100), v1->scheduled_paint_rect()); gfx 1812 ui/views/view_unittest.cc gfx::Transform transform; gfx 1822 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(100, 200, 100, 200), v1->scheduled_paint_rect()); gfx 1829 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(0, 0, 500, 300)); gfx 1832 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(100, 100, 200, 100)); gfx 1836 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 1846 ui/views/view_unittest.cc gfx::Transform transform(v1->GetTransform()); gfx 1855 ui/views/view_unittest.cc gfx::Point p1(110, 210); gfx 1864 ui/views/view_unittest.cc ui::MouseEvent released(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(), 0, gfx 1880 ui/views/view_unittest.cc gfx::Point point2(110, 320); gfx 1891 ui/views/view_unittest.cc v1->SetTransform(gfx::Transform()); gfx 1892 ui/views/view_unittest.cc v2->SetTransform(gfx::Transform()); gfx 1895 ui/views/view_unittest.cc v3->SetBoundsRect(gfx::Rect(10, 10, 20, 30)); gfx 1916 ui/views/view_unittest.cc gfx::Point point(112, 110); gfx 1927 ui/views/view_unittest.cc v1->SetTransform(gfx::Transform()); gfx 1928 ui/views/view_unittest.cc v2->SetTransform(gfx::Transform()); gfx 1929 ui/views/view_unittest.cc v3->SetTransform(gfx::Transform()); gfx 1942 ui/views/view_unittest.cc gfx::Transform scale; gfx 1955 ui/views/view_unittest.cc gfx::Point point3(124, 125); gfx 1970 ui/views/view_unittest.cc gfx::Rect viewport_bounds(0, 0, 100, 100); gfx 1984 ui/views/view_unittest.cc contents->SetBoundsRect(gfx::Rect(0, 0, 100, 200)); gfx 1988 ui/views/view_unittest.cc child->SetBoundsRect(gfx::Rect(10, 90, 50, 50)); gfx 1989 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(0, 0, 50, 10), child->GetVisibleBounds()); gfx 1992 ui/views/view_unittest.cc gfx::Transform transform; gfx 1996 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(40, 0, 10, 50), child->GetVisibleBounds()); gfx 2029 ui/views/view_unittest.cc gfx::Rect viewport_bounds(0, 0, 100, 100); gfx 2043 ui/views/view_unittest.cc contents->SetBoundsRect(gfx::Rect(0, 0, 100, 200)); gfx 2049 ui/views/view_unittest.cc child->SetBoundsRect(gfx::Rect(10, 110, 50, 50)); gfx 2077 ui/views/view_unittest.cc top_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 2079 ui/views/view_unittest.cc child_view->SetBoundsRect(gfx::Rect(10, 10, 20, 20)); gfx 2083 ui/views/view_unittest.cc child_view->SetBoundsRect(gfx::Rect(30, 30, 20, 20)); gfx 2087 ui/views/view_unittest.cc gfx::Rect paint_rect = top_view.scheduled_paint_rects_[0]; gfx 2089 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 40, 40), paint_rect); gfx 2097 ui/views/view_unittest.cc parent_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 2099 ui/views/view_unittest.cc child_view1->SetBoundsRect(gfx::Rect(0, 0, 20, 20)); gfx 2120 ui/views/view_unittest.cc view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 2123 ui/views/view_unittest.cc view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); gfx 2129 ui/views/view_unittest.cc gfx::Rect viewport_bounds(0, 0, 100, 100); gfx 2146 ui/views/view_unittest.cc child_view->SetBoundsRect(gfx::Rect(0, 0, 20, 20)); gfx 2174 ui/views/view_unittest.cc top_view.SetBoundsRect(gfx::Rect(0, 0, 1000, 1000)); gfx 2176 ui/views/view_unittest.cc child->SetBoundsRect(gfx::Rect(7, 19, 500, 500)); gfx 2177 ui/views/view_unittest.cc gfx::Transform transform; gfx 2181 ui/views/view_unittest.cc child_child->SetBoundsRect(gfx::Rect(17, 13, 100, 100)); gfx 2187 ui/views/view_unittest.cc child_2->SetBoundsRect(gfx::Rect(700, 725, 100, 100)); gfx 2194 ui/views/view_unittest.cc gfx::Transform transform; gfx 2211 ui/views/view_unittest.cc gfx::Transform transform; gfx 2213 ui/views/view_unittest.cc gfx::Transform t2; gfx 2215 ui/views/view_unittest.cc gfx::Transform t3; gfx 2233 ui/views/view_unittest.cc gfx::Point point(5, 5); gfx 2238 ui/views/view_unittest.cc gfx::RectF rect(5.0f, 5.0f, 10.0f, 20.0f); gfx 2260 ui/views/view_unittest.cc gfx::Point point(5, 5); gfx 2265 ui/views/view_unittest.cc gfx::RectF rect(5.0f, 5.0f, 10.0f, 20.0f); gfx 2287 ui/views/view_unittest.cc gfx::Point point(5, 5); gfx 2292 ui/views/view_unittest.cc gfx::RectF rect(5.0f, 5.0f, 10.0f, 20.0f); gfx 2315 ui/views/view_unittest.cc gfx::Point point(6, 18); gfx 2321 ui/views/view_unittest.cc gfx::RectF rect(6.0f, 18.0f, 10.0f, 39.0f); gfx 2331 ui/views/view_unittest.cc gfx::RectF rect(50.0f, 55.0f, 20.0f, 30.0f); gfx 2352 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 2358 ui/views/view_unittest.cc gfx::Transform t; gfx 2362 ui/views/view_unittest.cc gfx::Point point_in_screen(100, 90); gfx 2363 ui/views/view_unittest.cc gfx::Point point_in_child(80,60); gfx 2365 ui/views/view_unittest.cc gfx::Point point = point_in_screen; gfx 2378 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 650, 650); gfx 2387 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(10, 10, 500, 500)); gfx 2388 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(20, 20, 100, 200)); gfx 2391 ui/views/view_unittest.cc gfx::Rect rect(5, 5, 15, 40); gfx 2392 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(25, 25, 15, 40), v2->ConvertRectToParent(rect)); gfx 2393 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(35, 35, 15, 40), v2->ConvertRectToWidget(rect)); gfx 2396 ui/views/view_unittest.cc gfx::Transform t2; gfx 2402 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(25, 100, 40, 15), v2->ConvertRectToParent(rect)); gfx 2403 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(35, 110, 40, 15), v2->ConvertRectToWidget(rect)); gfx 2406 ui/views/view_unittest.cc gfx::Transform t1; gfx 2411 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(25, 100, 40, 15), v2->ConvertRectToParent(rect)); gfx 2414 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(22, 60, 21, 8).ToString(), gfx 2860 ui/views/view_unittest.cc const gfx::Rect& last_bounds() const { return last_bounds_; } gfx 2863 ui/views/view_unittest.cc virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 2869 ui/views/view_unittest.cc gfx::Rect last_bounds_; gfx 2878 ui/views/view_unittest.cc void TestLayerAnimator::SetBounds(const gfx::Rect& bounds) { gfx 2900 ui/views/view_unittest.cc params.bounds = gfx::Rect(50, 50, 200, 200); gfx 2929 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(20, 30, 140, 150)); gfx 2933 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(20, 30, 140, 150), v1->layer()->bounds()); gfx 2939 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(10, 20, 30, 40)); gfx 2943 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds()); gfx 2955 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 50, 30, 40), v2->layer()->bounds()); gfx 2958 ui/views/view_unittest.cc gfx::Transform transform; gfx 2969 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 20, 30, 40), v2->layer()->bounds()); gfx 2980 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(20, 30, 140, 150)); gfx 3008 ui/views/view_unittest.cc gfx::Rect bounds(1, 2, 3, 4); gfx 3023 ui/views/view_unittest.cc v1->SetBoundsRect(gfx::Rect(20, 30, 140, 150)); gfx 3026 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(10, 11, 40, 50)); gfx 3030 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 41, 40, 50), v2->layer()->bounds()); gfx 3032 ui/views/view_unittest.cc v1->SetPosition(gfx::Point(25, 36)); gfx 3033 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(35, 47, 40, 50), v2->layer()->bounds()); gfx 3035 ui/views/view_unittest.cc v2->SetPosition(gfx::Point(11, 12)); gfx 3036 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(36, 48, 40, 50), v2->layer()->bounds()); gfx 3040 ui/views/view_unittest.cc v1->SetPosition(gfx::Point(20, 30)); gfx 3041 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(31, 42, 40, 50), v2->layer()->bounds()); gfx 3044 ui/views/view_unittest.cc v2->SetBoundsRect(gfx::Rect(10, 11, 20, 30)); gfx 3045 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(30, 41, 20, 30), v2->layer()->bounds()); gfx 3063 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(10, 10, 20, 10), gfx 3069 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(content_width - 30, 10, 20, 10), gfx 3071 ui/views/view_unittest.cc gfx::Rect l1bounds = v1->layer()->bounds(); gfx 3080 ui/views/view_unittest.cc EXPECT_EQ(gfx::Rect(content_width - 80, 10, 30, 10), gfx 3082 ui/views/view_unittest.cc gfx::Rect l2bounds = v2->layer()->bounds(); gfx 3110 ui/views/view_unittest.cc gfx::Transform transform; gfx 3126 ui/views/view_unittest.cc gfx::Transform transform; gfx 3215 ui/views/view_unittest.cc virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { gfx 3233 ui/views/view_unittest.cc GetRootLayer()->SchedulePaint(gfx::Rect(0, 0, 10, 10)); gfx 3243 ui/views/view_unittest.cc content_view->layer()->SchedulePaint(gfx::Rect(0, 0, 10, 10)); gfx 3478 ui/views/view_unittest.cc Widget* CreateControlWidget(aura::Window* parent, const gfx::Rect& bounds) { gfx 3489 ui/views/view_unittest.cc View* CreateViewWithLayer(const gfx::Rect& bounds, gfx 3514 ui/views/view_unittest.cc Widget* w1 = CreateControlWidget(GetContext(), gfx::Rect(0, 0, 100, 100)); gfx 3523 ui/views/view_unittest.cc View* v1 = CreateViewWithLayer(gfx::Rect(0, 3, 100, 103), "v1"); gfx 3528 ui/views/view_unittest.cc View* v4 = CreateViewWithLayer(gfx::Rect(0, 4, 100, 104), "v4"); gfx 3533 ui/views/view_unittest.cc View* v7 = CreateViewWithLayer(gfx::Rect(0, 4, 100, 104), "v7"); gfx 3537 ui/views/view_unittest.cc View* v8 = CreateViewWithLayer(gfx::Rect(0, 4, 100, 104), "v8"); gfx 3541 ui/views/view_unittest.cc View* v9 = CreateViewWithLayer(gfx::Rect(0, 4, 100, 104), "v9"); gfx 3546 ui/views/view_unittest.cc gfx::Rect(0, 5, 100, 105)); gfx 3550 ui/views/view_unittest.cc View* v5 = CreateViewWithLayer(gfx::Rect(0, 6, 100, 106), "v5"); gfx 3552 ui/views/view_unittest.cc View* v6 = CreateViewWithLayer(gfx::Rect(0, 7, 100, 107), "v6"); gfx 31 ui/views/views_delegate.h namespace gfx { gfx 66 ui/views/views_delegate.h const gfx::Rect& bounds, gfx 74 ui/views/views_delegate.h gfx::Rect* bounds, gfx 94 ui/views/views_delegate.h virtual bool IsWindowInMetro(gfx::NativeWindow window) const = 0; gfx 96 ui/views/views_delegate.h virtual gfx::ImageSkia* GetDefaultWindowIcon() const = 0; gfx 15 ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h namespace gfx { gfx 41 ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h virtual void OnDisplayUpdated(const gfx::Display& display, gfx 36 ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc gfx::Point point; gfx 62 ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc const gfx::Display& display, gfx 22 ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h virtual void OnDisplayUpdated(const gfx::Display& display, gfx 85 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point screen_loc) gfx 123 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point screen_loc_; gfx 132 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc void FindWindowFor(const gfx::Point& screen_point, gfx 177 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const gfx::Point& screen_point); gfx 223 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point screen_point_; gfx 276 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc XSelectInput(gfx::GetXDisplay(), source_window_, PropertyChangeMask); gfx 280 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc XSync(gfx::GetXDisplay(), False); gfx 306 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const gfx::Point& screen_point) { gfx 328 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc XConvertSelection(gfx::GetXDisplay(), gfx 507 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point(x_root_window, y_root_window)); gfx 557 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point p = it->second.first; gfx 624 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const gfx::Point& root_location, gfx 666 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc move_loop_.SetDragImage(gfx::ImageSkia(), gfx::Vector2dF()); gfx 703 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point screen_point(event->x_root, event->y_root); gfx 790 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const gfx::Point& root_window_location, gfx 794 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point root_location = root_window_location; gfx 816 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc gfx::Point location = root_location; gfx 883 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const gfx::Point& screen_point) { gfx 962 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc const gfx::Point& screen_point, gfx 30 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h namespace gfx { gfx 81 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h const gfx::Point& root_location, gfx 122 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h typedef std::map< ::Window, std::pair<gfx::Point, unsigned long> > gfx 128 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h void DragTranslate(const gfx::Point& root_window_location, gfx 158 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h const gfx::Point& screen_point); gfx 163 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h const gfx::Point& screen_point, gfx 196 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h gfx::Point target_window_location_; gfx 197 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h gfx::Point target_window_root_location_; gfx 241 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h gfx::NativeCursor grab_cursor_; gfx 242 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h gfx::NativeCursor copy_grab_cursor_; gfx 243 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.h gfx::NativeCursor move_grab_cursor_; gfx 31 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc const gfx::Point& root_location, gfx 31 ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h const gfx::Point& root_location, gfx 97 ui/views/widget/desktop_aura/desktop_drop_target_win.cc gfx::Point location(position.x, position.y); gfx 98 ui/views/widget/desktop_aura/desktop_drop_target_win.cc gfx::Point root_location = location; gfx 10 ui/views/widget/desktop_aura/desktop_factory_ozone.h namespace gfx { gfx 42 ui/views/widget/desktop_aura/desktop_factory_ozone.h virtual gfx::Screen* CreateDesktopScreen() = 0; gfx 25 ui/views/widget/desktop_aura/desktop_focus_rules_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 25 ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc gfx::NativeCursor DesktopNativeCursorManager::GetInitializedCursor(int type) { gfx 26 ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc gfx::NativeCursor cursor(type); gfx 40 ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc const gfx::Display& display, gfx 52 ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc gfx::NativeCursor cursor, gfx 54 ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc gfx::NativeCursor new_cursor = cursor; gfx 72 ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc gfx::NativeCursor invisible_cursor(ui::kCursorNone); gfx 41 ui/views/widget/desktop_aura/desktop_native_cursor_manager.h gfx::NativeCursor GetInitializedCursor(int type); gfx 52 ui/views/widget/desktop_aura/desktop_native_cursor_manager.h const gfx::Display& display, gfx 55 ui/views/widget/desktop_aura/desktop_native_cursor_manager.h gfx::NativeCursor cursor, gfx 81 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Rect& bounds, gfx 88 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc child_window->SetBounds(gfx::Rect(bounds.size())); gfx 140 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Rect& old_bounds, gfx 141 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 174 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Rect& bounds) OVERRIDE { gfx 258 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc cursor_(gfx::kNullCursor), gfx 563 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::NativeView DesktopNativeWidgetAura::GetNativeView() const { gfx 567 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::NativeWindow DesktopNativeWidgetAura::GetNativeWindow() const { gfx 641 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::CenterWindow(const gfx::Size& size) { gfx 647 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect* bounds, gfx 659 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 660 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::ImageSkia& app_icon) { gfx 672 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect DesktopNativeWidgetAura::GetWindowBoundsInScreen() const { gfx 674 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc desktop_window_tree_host_->GetWindowBoundsInScreen() : gfx::Rect(); gfx 677 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect DesktopNativeWidgetAura::GetClientAreaBoundsInScreen() const { gfx 679 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc desktop_window_tree_host_->GetClientAreaBoundsInScreen() : gfx::Rect(); gfx 682 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect DesktopNativeWidgetAura::GetRestoredBounds() const { gfx 684 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc desktop_window_tree_host_->GetRestoredBounds() : gfx::Rect(); gfx 687 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::SetBounds(const gfx::Rect& bounds) { gfx 697 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc scale = gfx::Screen::GetScreenFor(root)-> gfx 700 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect bounds_in_pixels( gfx 701 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::ToCeiledPoint(gfx::ScalePoint(bounds.origin(), scale)), gfx 702 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::ToFlooredSize(gfx::ScaleSize(bounds.size(), scale))); gfx 706 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::SetSize(const gfx::Size& size) { gfx 711 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::StackAbove(gfx::NativeView native_view) { gfx 719 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::StackBelow(gfx::NativeView native_view) { gfx 722 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::SetShape(gfx::NativeRegion shape) { gfx 757 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Rect& restored_bounds) { gfx 851 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Point& location, gfx 857 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::SchedulePaintInRect(const gfx::Rect& rect) { gfx 862 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::SetCursor(gfx::NativeCursor cursor) { gfx 887 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect DesktopNativeWidgetAura::GetWorkAreaBoundsInScreen() const { gfx 889 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc desktop_window_tree_host_->GetWorkAreaBoundsInScreen() : gfx::Rect(); gfx 893 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Vector2d& drag_offset, gfx 925 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Size DesktopNativeWidgetAura::GetMinimumSize() const { gfx 929 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Size DesktopNativeWidgetAura::GetMaximumSize() const { gfx 933 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::NativeCursor DesktopNativeWidgetAura::GetCursor(const gfx::Point& point) { gfx 938 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Point& point) const { gfx 944 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Point& location) { gfx 958 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::OnPaint(gfx::Canvas* canvas) { gfx 983 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc void DesktopNativeWidgetAura::GetHitTestMask(gfx::Path* mask) const { gfx 1143 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::Rect new_bounds = gfx::Rect(host->window()->bounds().size()); gfx 1152 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc const gfx::Point& new_origin) { gfx 108 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 109 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; gfx 124 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void CenterWindow(const gfx::Size& size) OVERRIDE; gfx 126 ui/views/widget/desktop_aura/desktop_native_widget_aura.h gfx::Rect* bounds, gfx 129 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 130 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const gfx::ImageSkia& app_icon) OVERRIDE; gfx 132 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; gfx 133 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; gfx 134 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 135 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 136 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 137 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; gfx 139 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; gfx 140 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; gfx 146 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const gfx::Rect& restored_bounds) OVERRIDE; gfx 167 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const gfx::Point& location, gfx 170 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; gfx 171 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; gfx 174 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; gfx 176 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const gfx::Vector2d& drag_offset, gfx 185 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 186 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::Size GetMaximumSize() const OVERRIDE; gfx 187 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 188 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const gfx::Rect& new_bounds) OVERRIDE {} gfx 189 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; gfx 190 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; gfx 193 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const gfx::Point& location) OVERRIDE; gfx 196 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 202 ui/views/widget/desktop_aura/desktop_native_widget_aura.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 234 ui/views/widget/desktop_aura/desktop_native_widget_aura.h const gfx::Point& new_origin) OVERRIDE; gfx 301 ui/views/widget/desktop_aura/desktop_native_widget_aura.h gfx::NativeCursor cursor_; gfx 26 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 43 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc gfx::Rect bounds(0, 0, 100, 100); gfx 53 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc gfx::Rect new_bounds(0, 0, 200, 200); gfx 200 ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 10 ui/views/widget/desktop_aura/desktop_screen.h namespace gfx { gfx 18 ui/views/widget/desktop_aura/desktop_screen.h VIEWS_EXPORT gfx::Screen* CreateDesktopScreen(); gfx 12 ui/views/widget/desktop_aura/desktop_screen_ozone.cc gfx::Screen* CreateDesktopScreen() { gfx 17 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::Point GetOrigin(const aura::Window* root_window) { gfx 18 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::Point origin_in_pixels = gfx 21 ui/views/widget/desktop_aura/desktop_screen_position_client.cc float scale = gfx::Screen::GetScreenFor(window)-> gfx 23 ui/views/widget/desktop_aura/desktop_screen_position_client.cc return gfx::ToFlooredPoint( gfx 24 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::ScalePoint(origin_in_pixels, 1 / scale)); gfx 50 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const aura::Window* window, gfx::Point* point) { gfx 53 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::Point origin = GetOrigin(root_window); gfx 58 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const aura::Window* window, gfx::Point* point) { gfx 60 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::Point origin = GetOrigin(root_window); gfx 66 ui/views/widget/desktop_aura/desktop_screen_position_client.cc aura::Window* window, gfx::Point* point) { gfx 73 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const gfx::Rect& bounds, gfx 74 ui/views/widget/desktop_aura/desktop_screen_position_client.cc const gfx::Display& display) { gfx 83 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::Point origin = bounds.origin(); gfx 86 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::Point host_origin = GetOrigin(root); gfx 88 ui/views/widget/desktop_aura/desktop_screen_position_client.cc window->SetBounds(gfx::Rect(origin, bounds.size())); gfx 23 ui/views/widget/desktop_aura/desktop_screen_position_client.h gfx::Point* point) OVERRIDE; gfx 25 ui/views/widget/desktop_aura/desktop_screen_position_client.h gfx::Point* point) OVERRIDE; gfx 27 ui/views/widget/desktop_aura/desktop_screen_position_client.h gfx::Point* point) OVERRIDE; gfx 29 ui/views/widget/desktop_aura/desktop_screen_position_client.h const gfx::Rect& bounds, gfx 30 ui/views/widget/desktop_aura/desktop_screen_position_client.h const gfx::Display& display) OVERRIDE; gfx 20 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc init_params.bounds = gfx::Rect(10, 11, 200, 200); gfx 33 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc dialog->SetBounds(gfx::Rect(11, 12, 200, 200)); gfx 43 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc gfx::Point origin = gfx::Point(16, 16); gfx 57 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc params1.bounds = gfx::Rect(origin, gfx::Size(700, 600)); gfx 64 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc params2.bounds = gfx::Rect(origin, gfx::Size(600, 500)); gfx 75 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc params3.bounds = gfx::Rect(origin, gfx::Size(500, 400)); gfx 79 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc gfx::Point expected_origin(origin.x() * 3, origin.y() * 3); gfx 80 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc gfx::Rect expected_bounds(expected_origin, gfx::Size(500, 400)); gfx 81 ui/views/widget/desktop_aura/desktop_screen_position_client_unittest.cc gfx::Rect actual_bounds(widget3.GetWindowBoundsInScreen()); gfx 24 ui/views/widget/desktop_aura/desktop_screen_win.cc gfx::Display GetDisplay(MONITORINFO& monitor_info) { gfx 26 ui/views/widget/desktop_aura/desktop_screen_win.cc gfx::Display display(0, gfx::Rect(monitor_info.rcMonitor)); gfx 27 ui/views/widget/desktop_aura/desktop_screen_win.cc display.set_work_area(gfx::Rect(monitor_info.rcWork)); gfx 51 ui/views/widget/desktop_aura/desktop_screen_win.cc gfx::Display DesktopScreenWin::GetDisplayMatching( gfx 52 ui/views/widget/desktop_aura/desktop_screen_win.cc const gfx::Rect& match_rect) const { gfx 56 ui/views/widget/desktop_aura/desktop_screen_win.cc HWND DesktopScreenWin::GetHWNDFromNativeView(gfx::NativeView window) const { gfx 61 ui/views/widget/desktop_aura/desktop_screen_win.cc gfx::NativeWindow DesktopScreenWin::GetNativeWindowFromHWND(HWND hwnd) const { gfx 68 ui/views/widget/desktop_aura/desktop_screen_win.cc gfx::Screen* CreateDesktopScreen() { gfx 13 ui/views/widget/desktop_aura/desktop_screen_win.h class VIEWS_EXPORT DesktopScreenWin : public gfx::ScreenWin { gfx 21 ui/views/widget/desktop_aura/desktop_screen_win.h virtual gfx::Display GetDisplayMatching( gfx 22 ui/views/widget/desktop_aura/desktop_screen_win.h const gfx::Rect& match_rect) const OVERRIDE; gfx 23 ui/views/widget/desktop_aura/desktop_screen_win.h virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const OVERRIDE; gfx 24 ui/views/widget/desktop_aura/desktop_screen_win.h virtual gfx::NativeWindow GetNativeWindowFromHWND(HWND hwnd) const OVERRIDE; gfx 46 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display> GetFallbackDisplayList() { gfx 47 ui/views/widget/desktop_aura/desktop_screen_x11.cc ::XDisplay* display = gfx::GetXDisplay(); gfx 51 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Size physical_size(WidthMMOfScreen(screen), HeightMMOfScreen(screen)); gfx 53 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Rect bounds_in_pixels(0, 0, width, height); gfx 54 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Display gfx_display(0, bounds_in_pixels); gfx 55 ui/views/widget/desktop_aura/desktop_screen_x11.cc if (!gfx::Display::HasForceDeviceScaleFactor() && gfx 63 ui/views/widget/desktop_aura/desktop_screen_x11.cc return std::vector<gfx::Display>(1, gfx_display); gfx 77 ui/views/widget/desktop_aura/desktop_screen_x11.cc aura::Window* FindAt(const gfx::Point& screen_loc) { gfx 108 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Point screen_loc_; gfx 156 ui/views/widget/desktop_aura/desktop_screen_x11.cc const std::vector<gfx::Display>& incoming) { gfx 157 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display> old_displays = displays_; gfx 160 ui/views/widget/desktop_aura/desktop_screen_x11.cc typedef std::vector<gfx::Display>::const_iterator DisplayIt; gfx 161 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display>::const_iterator old_it = old_displays.begin(); gfx 164 ui/views/widget/desktop_aura/desktop_screen_x11.cc for (std::vector<gfx::Display>::const_iterator new_it = gfx 173 ui/views/widget/desktop_aura/desktop_screen_x11.cc FOR_EACH_OBSERVER(gfx::DisplayObserver, observer_list_, gfx 178 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display>::const_iterator new_it = displays_.begin(); gfx 181 ui/views/widget/desktop_aura/desktop_screen_x11.cc for (std::vector<gfx::Display>::const_iterator old_it = gfx 185 ui/views/widget/desktop_aura/desktop_screen_x11.cc FOR_EACH_OBSERVER(gfx::DisplayObserver, observer_list_, gfx 195 ui/views/widget/desktop_aura/desktop_screen_x11.cc FOR_EACH_OBSERVER(gfx::DisplayObserver, observer_list_, gfx 208 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Point DesktopScreenX11::GetCursorScreenPoint() { gfx 211 ui/views/widget/desktop_aura/desktop_screen_x11.cc XDisplay* display = gfx::GetXDisplay(); gfx 226 ui/views/widget/desktop_aura/desktop_screen_x11.cc return gfx::Point(root_x, root_y); gfx 229 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::NativeWindow DesktopScreenX11::GetWindowUnderCursor() { gfx 233 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::NativeWindow DesktopScreenX11::GetWindowAtScreenPoint( gfx 234 ui/views/widget/desktop_aura/desktop_screen_x11.cc const gfx::Point& point) { gfx 243 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display> DesktopScreenX11::GetAllDisplays() const { gfx 247 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Display DesktopScreenX11::GetDisplayNearestWindow( gfx 248 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::NativeView window) const { gfx 269 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Display DesktopScreenX11::GetDisplayNearestPoint( gfx 270 ui/views/widget/desktop_aura/desktop_screen_x11.cc const gfx::Point& point) const { gfx 271 ui/views/widget/desktop_aura/desktop_screen_x11.cc for (std::vector<gfx::Display>::const_iterator it = displays_.begin(); gfx 280 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Display DesktopScreenX11::GetDisplayMatching( gfx 281 ui/views/widget/desktop_aura/desktop_screen_x11.cc const gfx::Rect& match_rect) const { gfx 283 ui/views/widget/desktop_aura/desktop_screen_x11.cc const gfx::Display* matching = NULL; gfx 284 ui/views/widget/desktop_aura/desktop_screen_x11.cc for (std::vector<gfx::Display>::const_iterator it = displays_.begin(); gfx 286 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Rect intersect = gfx::IntersectRects(it->bounds(), match_rect); gfx 297 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Display DesktopScreenX11::GetPrimaryDisplay() const { gfx 301 ui/views/widget/desktop_aura/desktop_screen_x11.cc void DesktopScreenX11::AddObserver(gfx::DisplayObserver* observer) { gfx 305 ui/views/widget/desktop_aura/desktop_screen_x11.cc void DesktopScreenX11::RemoveObserver(gfx::DisplayObserver* observer) { gfx 335 ui/views/widget/desktop_aura/desktop_screen_x11.cc const std::vector<gfx::Display>& test_displays) gfx 343 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display> DesktopScreenX11::BuildDisplaysFromXRandRInfo() { gfx 344 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display> displays; gfx 353 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Rect work_area; gfx 357 ui/views/widget/desktop_aura/desktop_screen_x11.cc work_area = gfx::Rect(value[0], value[1], value[2], value[3]); gfx 385 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Rect crtc_bounds(crtc->x, crtc->y, crtc->width, crtc->height); gfx 386 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Display display(display_id, crtc_bounds); gfx 388 ui/views/widget/desktop_aura/desktop_screen_x11.cc if (!gfx::Display::HasForceDeviceScaleFactor()) { gfx 390 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Size(output_info->mm_width, output_info->mm_height))) { gfx 401 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Rect intersection = crtc_bounds; gfx 423 ui/views/widget/desktop_aura/desktop_screen_x11.cc std::vector<gfx::Display> new_displays = BuildDisplaysFromXRandRInfo(); gfx 429 ui/views/widget/desktop_aura/desktop_screen_x11.cc gfx::Screen* CreateDesktopScreen() { gfx 14 ui/views/widget/desktop_aura/desktop_screen_x11.h namespace gfx { gfx 26 ui/views/widget/desktop_aura/desktop_screen_x11.h class VIEWS_EXPORT DesktopScreenX11 : public gfx::Screen, gfx 35 ui/views/widget/desktop_aura/desktop_screen_x11.h void ProcessDisplayChange(const std::vector<gfx::Display>& displays); gfx 39 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual gfx::Point GetCursorScreenPoint() OVERRIDE; gfx 40 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual gfx::NativeWindow GetWindowUnderCursor() OVERRIDE; gfx 41 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) gfx 44 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE; gfx 45 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual gfx::Display GetDisplayNearestWindow( gfx 46 ui/views/widget/desktop_aura/desktop_screen_x11.h gfx::NativeView window) const OVERRIDE; gfx 47 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual gfx::Display GetDisplayNearestPoint( gfx 48 ui/views/widget/desktop_aura/desktop_screen_x11.h const gfx::Point& point) const OVERRIDE; gfx 49 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual gfx::Display GetDisplayMatching( gfx 50 ui/views/widget/desktop_aura/desktop_screen_x11.h const gfx::Rect& match_rect) const OVERRIDE; gfx 51 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; gfx 52 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual void AddObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 53 ui/views/widget/desktop_aura/desktop_screen_x11.h virtual void RemoveObserver(gfx::DisplayObserver* observer) OVERRIDE; gfx 62 ui/views/widget/desktop_aura/desktop_screen_x11.h DesktopScreenX11(const std::vector<gfx::Display>& test_displays); gfx 66 ui/views/widget/desktop_aura/desktop_screen_x11.h std::vector<gfx::Display> BuildDisplaysFromXRandRInfo(); gfx 82 ui/views/widget/desktop_aura/desktop_screen_x11.h std::vector<gfx::Display> displays_; gfx 88 ui/views/widget/desktop_aura/desktop_screen_x11.h ObserverList<gfx::DisplayObserver> observer_list_; gfx 34 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc : x_root_window_(DefaultRootWindow(gfx::GetXDisplay())), gfx 41 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc atom_cache_.reset(new ui::X11AtomCache(gfx::GetXDisplay(), kAtomToCache)); gfx 86 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc public gfx::DisplayObserver { gfx 95 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 96 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 107 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> changed_display_; gfx 108 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> added_display_; gfx 109 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> removed_display_; gfx 119 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc Widget* BuildTopLevelDesktopWidget(const gfx::Rect& bounds) { gfx 133 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE { gfx 137 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE { gfx 141 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE { gfx 151 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 152 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 1024, 768))); gfx 161 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 162 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 163 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx 164 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 173 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 174 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx::Rect(0, 0, 1024, 768))); gfx 175 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(1024, 0, 640, 480))); gfx 184 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 185 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 186 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx 187 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 193 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 202 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 203 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 204 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx 205 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 211 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx::Rect(0, 0, 1024, 768))); gfx 220 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 221 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 222 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx 223 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 227 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetDisplayNearestPoint(gfx::Point(650, 10)).id()); gfx 229 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetDisplayNearestPoint(gfx::Point(10, 10)).id()); gfx 231 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetDisplayNearestPoint(gfx::Point(10000, 10000)).id()); gfx 235 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 236 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 237 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx 238 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 242 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetDisplayMatching(gfx::Rect(700, 20, 100, 100)).id()); gfx 246 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 247 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 248 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx 249 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 253 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetDisplayMatching(gfx::Rect(630, 20, 100, 100)).id()); gfx 257 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 258 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx 259 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 260 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx::Rect(0, 0, 640, 480))); gfx 269 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc Widget* window_one = BuildTopLevelDesktopWidget(gfx::Rect(110, 110, 10, 10)); gfx 270 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc Widget* window_two = BuildTopLevelDesktopWidget(gfx::Rect(150, 150, 10, 10)); gfx 272 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc BuildTopLevelDesktopWidget(gfx::Rect(115, 115, 20, 20)); gfx 283 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetWindowAtScreenPoint(gfx::Point(115, 115))); gfx 285 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetWindowAtScreenPoint(gfx::Point(155, 155))); gfx 287 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetWindowAtScreenPoint(gfx::Point(200, 200))); gfx 296 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc screen()->GetWindowAtScreenPoint(gfx::Point(115, 115))); gfx 305 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc std::vector<gfx::Display> displays; gfx 306 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kFirstDisplay, gfx::Rect(0, 0, 640, 480))); gfx 307 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc displays.push_back(gfx::Display(kSecondDisplay, gfx 308 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc gfx::Rect(640, 0, 1024, 768))); gfx 311 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc Widget* window_one = BuildTopLevelDesktopWidget(gfx::Rect(10, 10, 10, 10)); gfx 312 ui/views/widget/desktop_aura/desktop_screen_x11_unittest.cc Widget* window_two = BuildTopLevelDesktopWidget(gfx::Rect(650, 50, 10, 10)); gfx 23 ui/views/widget/desktop_aura/desktop_window_tree_host.h namespace gfx { gfx 79 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; gfx 83 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual void SetSize(const gfx::Size& size) = 0; gfx 85 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual void CenterWindow(const gfx::Size& size) = 0; gfx 86 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual void GetWindowPlacement(gfx::Rect* bounds, gfx 88 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual gfx::Rect GetWindowBoundsInScreen() const = 0; gfx 89 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual gfx::Rect GetClientAreaBoundsInScreen() const = 0; gfx 90 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual gfx::Rect GetRestoredBounds() const = 0; gfx 92 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; gfx 96 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual void SetShape(gfx::NativeRegion native_region) = 0; gfx 120 ui/views/widget/desktop_aura/desktop_window_tree_host.h const gfx::Vector2d& drag_offset, gfx 140 ui/views/widget/desktop_aura/desktop_window_tree_host.h virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 141 ui/views/widget/desktop_aura/desktop_window_tree_host.h const gfx::ImageSkia& app_icon) = 0; gfx 48 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size GetExpandedWindowSize(DWORD window_style, gfx::Size size) { gfx 54 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size expanded(std::max(size.width(), 64), std::max(size.height(), 64)); gfx 58 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void InsetBottomRight(gfx::Rect* rect, gfx::Vector2d vector) { gfx 140 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(params.bounds); gfx 212 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::Rect& restored_bounds) { gfx 213 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(restored_bounds); gfx 221 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::SetSize(const gfx::Size& size) { gfx 222 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size size_in_pixels = gfx::win::DIPToScreenSize(size); gfx 223 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size expanded = GetExpandedWindowSize( gfx 226 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Vector2d(expanded.width() - size_in_pixels.width(), gfx 235 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::CenterWindow(const gfx::Size& size) { gfx 236 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size size_in_pixels = gfx::win::DIPToScreenSize(size); gfx 237 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size expanded_size; gfx 241 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Vector2d(expanded_size.width() - size_in_pixels.width(), gfx 247 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect* bounds, gfx 251 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc *bounds = gfx::win::ScreenToDIPRect(*bounds); gfx 254 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect DesktopWindowTreeHostWin::GetWindowBoundsInScreen() const { gfx 255 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect pixel_bounds = message_handler_->GetWindowBoundsInScreen(); gfx 257 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return gfx::win::ScreenToDIPRect(pixel_bounds); gfx 260 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect DesktopWindowTreeHostWin::GetClientAreaBoundsInScreen() const { gfx 261 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect pixel_bounds = message_handler_->GetClientAreaBoundsInScreen(); gfx 263 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return gfx::win::ScreenToDIPRect(pixel_bounds); gfx 266 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect DesktopWindowTreeHostWin::GetRestoredBounds() const { gfx 267 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect pixel_bounds = message_handler_->GetRestoredBounds(); gfx 269 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return gfx::win::ScreenToDIPRect(pixel_bounds); gfx 272 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect DesktopWindowTreeHostWin::GetWorkAreaBoundsInScreen() const { gfx 278 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect pixel_bounds = gfx::Rect(monitor_info.rcWork); gfx 279 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return gfx::win::ScreenToDIPRect(pixel_bounds); gfx 282 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::SetShape(gfx::NativeRegion native_region) { gfx 284 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc message_handler_->SetRegion(gfx::CreateHRGNFromSkRegion(*native_region)); gfx 349 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::Vector2d& drag_offset, gfx 410 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::ImageSkia& window_icon, const gfx::ImageSkia& app_icon) { gfx 439 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::AcceleratedWidget DesktopWindowTreeHostWin::GetAcceleratedWidget() { gfx 459 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect DesktopWindowTreeHostWin::GetBounds() const { gfx 460 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect bounds(message_handler_->GetClientAreaBounds()); gfx 465 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect without_expansion( gfx 475 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::SetBounds(const gfx::Rect& bounds) { gfx 479 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size old_hwnd_size(message_handler_->GetClientAreaBounds().size()); gfx 480 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size old_content_size = GetBounds().size(); gfx 482 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect expanded( gfx 488 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect new_expanded( gfx 493 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Vector2d(new_expanded.width() - expanded.width(), gfx 503 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Insets DesktopWindowTreeHostWin::GetInsets() const { gfx 504 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc return gfx::Insets(); gfx 507 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::SetInsets(const gfx::Insets& insets) { gfx 510 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Point DesktopWindowTreeHostWin::GetLocationOnNativeScreen() const { gfx 522 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc bool DesktopWindowTreeHostWin::QueryMouseLocation(gfx::Point* location_return) { gfx 526 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc *location_return = gfx::Point(0, 0); gfx 532 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Point(static_cast<int>(pt.x), static_cast<int>(pt.y)); gfx 554 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::SetCursorNative(gfx::NativeCursor cursor) { gfx 568 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::MoveCursorToNative(const gfx::Point& location) { gfx 585 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::Vector2d& top_left_delta, gfx 586 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::Vector2d& bottom_right_delta) { gfx 587 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect bounds_without_expansion = GetBounds(); gfx 669 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::Point& point) const { gfx 670 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Point dip_position = gfx::win::ScreenToDIPPoint(point); gfx 674 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::GetWindowMask(const gfx::Size& size, gfx 675 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Path* path) { gfx 679 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Rect bounds(WidgetSizeIsClientSize() gfx 687 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc bool DesktopWindowTreeHostWin::GetClientAreaInsets(gfx::Insets* insets) const { gfx 691 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::GetMinMaxSize(gfx::Size* min_size, gfx 692 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size* max_size) const { gfx 697 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::Size DesktopWindowTreeHostWin::GetRootViewSize() const { gfx 705 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::PaintLayeredWindow(gfx::Canvas* canvas) { gfx 709 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc gfx::NativeViewAccessible DesktopWindowTreeHostWin::GetNativeViewAccessible() { gfx 818 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::Size& new_size) { gfx 879 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc target_event.set_location(gfx::Point(target_location)); gfx 909 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc const gfx::Rect& invalid_rect) { gfx 913 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc void DesktopWindowTreeHostWin::HandlePaint(gfx::Canvas* canvas) { gfx 914 ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc compositor()->ScheduleRedrawRect(gfx::Rect()); gfx 59 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h const gfx::Rect& restored_bounds) OVERRIDE; gfx 61 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 63 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void CenterWindow(const gfx::Size& size) OVERRIDE; gfx 65 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h gfx::Rect* bounds, gfx 67 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; gfx 68 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; gfx 69 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 70 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; gfx 71 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE; gfx 87 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h const gfx::Vector2d& drag_offset, gfx 99 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 100 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h const gfx::ImageSkia& app_icon) OVERRIDE; gfx 109 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 113 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 114 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 115 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 116 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; gfx 117 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 120 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 125 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; gfx 127 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 134 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h const gfx::Vector2d& top_left_delta, gfx 135 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h const gfx::Vector2d& bottom_right_delta) OVERRIDE; gfx 155 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; gfx 156 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void GetWindowMask(const gfx::Size& size, gfx::Path* path) OVERRIDE; gfx 157 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE; gfx 158 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void GetMinMaxSize(gfx::Size* min_size, gfx 159 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h gfx::Size* max_size) const OVERRIDE; gfx 160 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::Size GetRootViewSize() const OVERRIDE; gfx 162 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void PaintLayeredWindow(gfx::Canvas* canvas) OVERRIDE; gfx 163 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; gfx 185 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void HandleClientSizeChanged(const gfx::Size& new_size) OVERRIDE; gfx 199 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) OVERRIDE; gfx 200 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h virtual void HandlePaint(gfx::Canvas* canvas) OVERRIDE; gfx 244 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h gfx::Vector2d window_expansion_top_left_delta_; gfx 245 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h gfx::Vector2d window_expansion_bottom_right_delta_; gfx 249 ui/views/widget/desktop_aura/desktop_window_tree_host_win.h gfx::Vector2d window_enlargement_; gfx 45 ui/views/widget/desktop_aura/desktop_window_tree_host_win_unittest.cc params.bounds = gfx::Rect(0, 0, 200, 200); gfx 124 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc xdisplay_(gfx::GetXDisplay()), gfx 175 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect DesktopWindowTreeHostX11::GetX11RootWindowBounds() const { gfx 253 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc new corewm::TooltipAura(gfx::SCREEN_TYPE_NATIVE)); gfx 342 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc const gfx::Rect& restored_bounds) { gfx 351 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::SetSize(const gfx::Size& size) { gfx 363 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::CenterWindow(const gfx::Size& size) { gfx 364 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect parent_bounds = GetWorkAreaBoundsInScreen(); gfx 369 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect transient_parent_rect = gfx 377 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect window_bounds( gfx 390 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect* bounds, gfx 407 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect DesktopWindowTreeHostX11::GetWindowBoundsInScreen() const { gfx 411 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect DesktopWindowTreeHostX11::GetClientAreaBoundsInScreen() const { gfx 423 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect DesktopWindowTreeHostX11::GetRestoredBounds() const { gfx 434 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect DesktopWindowTreeHostX11::GetWorkAreaBoundsInScreen() const { gfx 438 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return gfx::Rect(value[0], value[1], value[2], value[3]); gfx 449 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return gfx::Rect(0, 0, 10, 10); gfx 452 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return gfx::Rect(x, y, width, height); gfx 455 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::SetShape(gfx::NativeRegion native_region) { gfx 458 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc custom_window_shape_ = gfx::CreateRegionFromSkRegion(*native_region); gfx 567 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc const gfx::Vector2d& drag_offset, gfx 642 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc const gfx::ImageSkia& window_icon, const gfx::ImageSkia& app_icon) { gfx 706 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Size minimum = native_widget_delegate_->GetMinimumSize(); gfx 715 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Size maximum = native_widget_delegate_->GetMaximumSize(); gfx 745 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::AcceleratedWidget DesktopWindowTreeHostX11::GetAcceleratedWidget() { gfx 766 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect DesktopWindowTreeHostX11::GetBounds() const { gfx 770 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::SetBounds(const gfx::Rect& bounds) { gfx 806 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc compositor()->ScheduleRedrawRect(gfx::Rect(bounds.size())); gfx 809 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Insets DesktopWindowTreeHostX11::GetInsets() const { gfx 810 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc return gfx::Insets(); gfx 813 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::SetInsets(const gfx::Insets& insets) { gfx 816 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Point DesktopWindowTreeHostX11::GetLocationOnNativeScreen() const { gfx 842 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Point* location_return) { gfx 846 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc *location_return = gfx::Point(0, 0); gfx 860 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc *location_return = gfx::Point( gfx 876 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::SetCursorNative(gfx::NativeCursor cursor) { gfx 880 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc void DesktopWindowTreeHostX11::MoveCursorToNative(const gfx::Point& location) { gfx 912 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Point point(xevent.xmotion.x, xevent.xmotion.y); gfx 1090 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::ImageSkia* window_icon = ViewsDelegate::views_delegate ? gfx 1093 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc SetWindowIcons(gfx::ImageSkia(), *window_icon); gfx 1203 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Path window_mask; gfx 1210 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc Region region = gfx::CreateRegionFromSkPath(window_mask); gfx 1241 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc const gfx::ImageSkiaRep& rep, gfx 1330 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect damage_rect(xev->xexpose.x, xev->xexpose.y, gfx 1392 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc gfx::Rect bounds(translated_x, translated_y, gfx 1561 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc restored_bounds_ = gfx::Rect(); gfx 21 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h namespace gfx { gfx 57 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h gfx::Rect GetX11RootWindowBounds() const; gfx 82 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h const gfx::Rect& restored_bounds) OVERRIDE; gfx 84 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 86 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void CenterWindow(const gfx::Size& size) OVERRIDE; gfx 88 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h gfx::Rect* bounds, gfx 90 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; gfx 91 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; gfx 92 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 93 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; gfx 94 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE; gfx 110 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h const gfx::Vector2d& drag_offset, gfx 122 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 123 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h const gfx::ImageSkia& app_icon) OVERRIDE; gfx 132 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; gfx 136 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::Rect GetBounds() const OVERRIDE; gfx 137 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 138 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::Insets GetInsets() const OVERRIDE; gfx 139 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; gfx 140 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; gfx 143 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; gfx 148 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE; gfx 149 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h virtual void MoveCursorToNative(const gfx::Point& location) OVERRIDE; gfx 197 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h void SerializeImageRepresentation(const gfx::ImageSkiaRep& rep, gfx 225 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h gfx::Rect bounds_; gfx 233 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h gfx::Rect previous_bounds_; gfx 236 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h gfx::Rect restored_bounds_; gfx 256 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h gfx::NativeCursor current_cursor_; gfx 45 ui/views/widget/desktop_aura/x11_desktop_handler.cc : xdisplay_(gfx::GetXDisplay()), gfx 72 ui/views/widget/desktop_aura/x11_desktop_handler.cc DCHECK_EQ(gfx::GetXDisplay(), xdisplay_); gfx 153 ui/views/widget/desktop_aura/x11_desktop_handler.cc gfx::X11ErrorTracker error_tracker; gfx 50 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc gfx::Point cursor_point(event->x_root, event->y_root); gfx 51 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc gfx::Point system_loc = cursor_point - window_offset_; gfx 53 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc gfx::Rect target_rect(system_loc, host_->GetBounds().size()); gfx 76 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc const gfx::Vector2d& drag_offset, gfx 93 ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc void X11DesktopWindowMoveClient::SetHostBounds(const gfx::Rect& rect) { gfx 24 ui/views/widget/desktop_aura/x11_desktop_window_move_client.h namespace gfx { gfx 46 ui/views/widget/desktop_aura/x11_desktop_window_move_client.h const gfx::Vector2d& drag_offset, gfx 52 ui/views/widget/desktop_aura/x11_desktop_window_move_client.h void SetHostBounds(const gfx::Rect& rect); gfx 63 ui/views/widget/desktop_aura/x11_desktop_window_move_client.h gfx::Vector2d window_offset_; gfx 19 ui/views/widget/desktop_aura/x11_scoped_capture.cc int status = XGrabPointer(gfx::GetXDisplay(), window, True, event_mask, gfx 27 ui/views/widget/desktop_aura/x11_scoped_capture.cc XUngrabPointer(gfx::GetXDisplay(), CurrentTime); gfx 88 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc gfx::Screen* screen = gfx::Screen::GetNativeScreen(); gfx 89 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc gfx::Point location = gfx::ToFlooredPoint( gfx 91 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc drag_widget_->SetBounds(gfx::Rect(location, drag_image_.size())); gfx 129 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc gfx::NativeCursor cursor) { gfx 142 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc XDisplay* display = gfx::GetXDisplay(); gfx 175 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc void X11WholeScreenMoveLoop::UpdateCursor(gfx::NativeCursor cursor) { gfx 203 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc XDisplay* display = gfx::GetXDisplay(); gfx 217 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc void X11WholeScreenMoveLoop::SetDragImage(const gfx::ImageSkia& image, gfx 218 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc gfx::Vector2dF offset) { gfx 226 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc bool X11WholeScreenMoveLoop::GrabPointerAndKeyboard(gfx::NativeCursor cursor) { gfx 227 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc XDisplay* display = gfx::GetXDisplay(); gfx 292 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc gfx::Point location = gfx::ToFlooredPoint( gfx 293 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc gfx::Screen::GetNativeScreen()->GetCursorScreenPoint() - drag_offset_); gfx 294 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc params.bounds = gfx::Rect(location, drag_image_.size()); gfx 40 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h bool RunMoveLoop(aura::Window* window, gfx::NativeCursor cursor); gfx 43 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h void UpdateCursor(gfx::NativeCursor cursor); gfx 49 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h void SetDragImage(const gfx::ImageSkia& image, gfx::Vector2dF offset); gfx 54 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h bool GrabPointerAndKeyboard(gfx::NativeCursor cursor); gfx 86 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h gfx::ImageSkia drag_image_; gfx 87 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h gfx::Vector2dF drag_offset_; gfx 65 ui/views/widget/desktop_aura/x11_window_event_filter.cc : xdisplay_(gfx::GetXDisplay()), gfx 83 ui/views/widget/desktop_aura/x11_window_event_filter.cc XChangeProperty(gfx::GetXDisplay(), gfx 132 ui/views/widget/desktop_aura/x11_window_event_filter.cc const gfx::Point x_root_location = gfx 144 ui/views/widget/desktop_aura/x11_window_event_filter.cc const gfx::Point& screen_location) { gfx 21 ui/views/widget/desktop_aura/x11_window_event_filter.h namespace gfx { gfx 45 ui/views/widget/desktop_aura/x11_window_event_filter.h const gfx::Point& screen_location); gfx 30 ui/views/widget/drop_helper.cc const gfx::Point& root_view_location, gfx 51 ui/views/widget/drop_helper.cc const gfx::Point& root_view_location, gfx 63 ui/views/widget/drop_helper.cc gfx::Point view_location(root_view_location); gfx 72 ui/views/widget/drop_helper.cc const gfx::Point& root_view_location, gfx 80 ui/views/widget/drop_helper.cc const gfx::Point& root_view_location, gfx 122 ui/views/widget/drop_helper.cc const gfx::Point& root_view_location, gfx 127 ui/views/widget/drop_helper.cc gfx::Point target_view_location(root_view_location); gfx 137 ui/views/widget/drop_helper.cc const gfx::Point& root_view_location, gfx 142 ui/views/widget/drop_helper.cc gfx::Point target_view_location(root_view_location); gfx 10 ui/views/widget/drop_helper.h namespace gfx { gfx 50 ui/views/widget/drop_helper.h const gfx::Point& root_view_location, gfx 63 ui/views/widget/drop_helper.h const gfx::Point& root_view_location, gfx 70 ui/views/widget/drop_helper.h View* CalculateTargetView(const gfx::Point& root_view_location, gfx 78 ui/views/widget/drop_helper.h View* CalculateTargetViewImpl(const gfx::Point& root_view_location, gfx 86 ui/views/widget/drop_helper.h const gfx::Point& root_view_location, gfx 89 ui/views/widget/drop_helper.h const gfx::Point& root_view_location, gfx 15 ui/views/widget/monitor_win.cc gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect) { gfx 22 ui/views/widget/monitor_win.cc return gfx::Rect(mi.rcWork); gfx 25 ui/views/widget/monitor_win.cc return gfx::Rect(); gfx 12 ui/views/widget/monitor_win.h namespace gfx { gfx 20 ui/views/widget/monitor_win.h VIEWS_EXPORT gfx::Rect GetMonitorBoundsForRect(const gfx::Rect& rect); gfx 63 ui/views/widget/native_widget_aura.cc void SetRestoreBounds(aura::Window* window, const gfx::Rect& bounds) { gfx 64 ui/views/widget/native_widget_aura.cc window->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds)); gfx 79 ui/views/widget/native_widget_aura.cc cursor_(gfx::kNullCursor), gfx 86 ui/views/widget/native_widget_aura.cc gfx::FontList NativeWidgetAura::GetWindowTitleFontList() { gfx 92 ui/views/widget/native_widget_aura.cc return gfx::FontList(gfx::Font(caption_font)); gfx 94 ui/views/widget/native_widget_aura.cc return gfx::FontList(); gfx 128 ui/views/widget/native_widget_aura.cc gfx::Rect window_bounds = params.bounds; gfx 129 ui/views/widget/native_widget_aura.cc gfx::NativeView parent = params.parent; gfx 130 ui/views/widget/native_widget_aura.cc gfx::NativeView context = params.context; gfx 143 ui/views/widget/native_widget_aura.cc if (parent && window_bounds == gfx::Rect()) { gfx 147 ui/views/widget/native_widget_aura.cc gfx::Rect bounds = gfx::Screen::GetScreenFor(parent)-> gfx 220 ui/views/widget/native_widget_aura.cc gfx::NativeView NativeWidgetAura::GetNativeView() const { gfx 224 ui/views/widget/native_widget_aura.cc gfx::NativeWindow NativeWidgetAura::GetNativeWindow() const { gfx 294 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::CenterWindow(const gfx::Size& size) { gfx 298 ui/views/widget/native_widget_aura.cc gfx::Rect parent_bounds(window_->parent()->GetBoundsInRootWindow()); gfx 302 ui/views/widget/native_widget_aura.cc gfx::Rect work_area = gfx::Screen::GetScreenFor(window_)-> gfx 308 ui/views/widget/native_widget_aura.cc gfx::Point origin = work_area.origin(); gfx 319 ui/views/widget/native_widget_aura.cc gfx::Rect transient_parent_rect = gfx 327 ui/views/widget/native_widget_aura.cc gfx::Rect window_bounds( gfx 337 ui/views/widget/native_widget_aura.cc gfx::Point origin = window_bounds.origin(); gfx 345 ui/views/widget/native_widget_aura.cc gfx::Rect* bounds, gfx 362 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 363 ui/views/widget/native_widget_aura.cc const gfx::ImageSkia& app_icon) { gfx 372 ui/views/widget/native_widget_aura.cc gfx::Rect NativeWidgetAura::GetWindowBoundsInScreen() const { gfx 373 ui/views/widget/native_widget_aura.cc return window_ ? window_->GetBoundsInScreen() : gfx::Rect(); gfx 376 ui/views/widget/native_widget_aura.cc gfx::Rect NativeWidgetAura::GetClientAreaBoundsInScreen() const { gfx 379 ui/views/widget/native_widget_aura.cc return window_ ? window_->GetBoundsInScreen() : gfx::Rect(); gfx 382 ui/views/widget/native_widget_aura.cc gfx::Rect NativeWidgetAura::GetRestoredBounds() const { gfx 384 ui/views/widget/native_widget_aura.cc return gfx::Rect(); gfx 391 ui/views/widget/native_widget_aura.cc gfx::Rect* restore_bounds = gfx 399 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::SetBounds(const gfx::Rect& bounds) { gfx 408 ui/views/widget/native_widget_aura.cc gfx::Display dst_display = gfx 409 ui/views/widget/native_widget_aura.cc gfx::Screen::GetScreenFor(window_)->GetDisplayMatching(bounds); gfx 417 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::SetSize(const gfx::Size& size) { gfx 419 ui/views/widget/native_widget_aura.cc window_->SetBounds(gfx::Rect(window_->bounds().origin(), size)); gfx 422 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::StackAbove(gfx::NativeView native_view) { gfx 433 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::StackBelow(gfx::NativeView native_view) { gfx 439 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::SetShape(gfx::NativeRegion region) { gfx 478 ui/views/widget/native_widget_aura.cc const gfx::Rect& restored_bounds) { gfx 602 ui/views/widget/native_widget_aura.cc const gfx::Point& location, gfx 609 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::SchedulePaintInRect(const gfx::Rect& rect) { gfx 614 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::SetCursor(gfx::NativeCursor cursor) { gfx 636 ui/views/widget/native_widget_aura.cc gfx::Rect NativeWidgetAura::GetWorkAreaBoundsInScreen() const { gfx 638 ui/views/widget/native_widget_aura.cc return gfx::Rect(); gfx 639 ui/views/widget/native_widget_aura.cc return gfx::Screen::GetScreenFor(window_)-> gfx 644 ui/views/widget/native_widget_aura.cc const gfx::Vector2d& drag_offset, gfx 707 ui/views/widget/native_widget_aura.cc gfx::Size NativeWidgetAura::GetMinimumSize() const { gfx 711 ui/views/widget/native_widget_aura.cc gfx::Size NativeWidgetAura::GetMaximumSize() const { gfx 715 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnBoundsChanged(const gfx::Rect& old_bounds, gfx 716 ui/views/widget/native_widget_aura.cc const gfx::Rect& new_bounds) { gfx 721 ui/views/widget/native_widget_aura.cc (old_bounds == gfx::Rect(0, 0, 0, 0) && !new_bounds.IsEmpty())) { gfx 728 ui/views/widget/native_widget_aura.cc gfx::NativeCursor NativeWidgetAura::GetCursor(const gfx::Point& point) { gfx 732 ui/views/widget/native_widget_aura.cc int NativeWidgetAura::GetNonClientComponent(const gfx::Point& point) const { gfx 738 ui/views/widget/native_widget_aura.cc const gfx::Point& location) { gfx 779 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::OnPaint(gfx::Canvas* canvas) { gfx 809 ui/views/widget/native_widget_aura.cc void NativeWidgetAura::GetHitTestMask(gfx::Path* mask) const { gfx 1011 ui/views/widget/native_widget_aura.cc gfx::Rect* rect) { gfx 1028 ui/views/widget/native_widget_aura.cc gfx::NativeView native_view) { gfx 1035 ui/views/widget/native_widget_aura.cc gfx::NativeWindow native_window) { gfx 1042 ui/views/widget/native_widget_aura.cc gfx::NativeView native_view) { gfx 1055 ui/views/widget/native_widget_aura.cc void NativeWidgetPrivate::GetAllChildWidgets(gfx::NativeView native_view, gfx 1073 ui/views/widget/native_widget_aura.cc void NativeWidgetPrivate::GetAllOwnedWidgets(gfx::NativeView native_view, gfx 1088 ui/views/widget/native_widget_aura.cc void NativeWidgetPrivate::ReparentNativeView(gfx::NativeView native_view, gfx 1089 ui/views/widget/native_widget_aura.cc gfx::NativeView new_parent) { gfx 1092 ui/views/widget/native_widget_aura.cc gfx::NativeView previous_parent = native_view->parent(); gfx 24 ui/views/widget/native_widget_aura.h namespace gfx { gfx 47 ui/views/widget/native_widget_aura.h static gfx::FontList GetWindowTitleFontList(); gfx 63 ui/views/widget/native_widget_aura.h virtual gfx::NativeView GetNativeView() const OVERRIDE; gfx 64 ui/views/widget/native_widget_aura.h virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; gfx 79 ui/views/widget/native_widget_aura.h virtual void CenterWindow(const gfx::Size& size) OVERRIDE; gfx 81 ui/views/widget/native_widget_aura.h gfx::Rect* bounds, gfx 84 ui/views/widget/native_widget_aura.h virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 85 ui/views/widget/native_widget_aura.h const gfx::ImageSkia& app_icon) OVERRIDE; gfx 87 ui/views/widget/native_widget_aura.h virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; gfx 88 ui/views/widget/native_widget_aura.h virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; gfx 89 ui/views/widget/native_widget_aura.h virtual gfx::Rect GetRestoredBounds() const OVERRIDE; gfx 90 ui/views/widget/native_widget_aura.h virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; gfx 91 ui/views/widget/native_widget_aura.h virtual void SetSize(const gfx::Size& size) OVERRIDE; gfx 92 ui/views/widget/native_widget_aura.h virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; gfx 94 ui/views/widget/native_widget_aura.h virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; gfx 95 ui/views/widget/native_widget_aura.h virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; gfx 101 ui/views/widget/native_widget_aura.h const gfx::Rect& restored_bounds) OVERRIDE; gfx 122 ui/views/widget/native_widget_aura.h const gfx::Point& location, gfx 125 ui/views/widget/native_widget_aura.h virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; gfx 126 ui/views/widget/native_widget_aura.h virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; gfx 129 ui/views/widget/native_widget_aura.h virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; gfx 131 ui/views/widget/native_widget_aura.h const gfx::Vector2d& drag_offset, gfx 143 ui/views/widget/native_widget_aura.h virtual gfx::Size GetMinimumSize() const OVERRIDE; gfx 144 ui/views/widget/native_widget_aura.h virtual gfx::Size GetMaximumSize() const OVERRIDE; gfx 145 ui/views/widget/native_widget_aura.h virtual void OnBoundsChanged(const gfx::Rect& old_bounds, gfx 146 ui/views/widget/native_widget_aura.h const gfx::Rect& new_bounds) OVERRIDE; gfx 147 ui/views/widget/native_widget_aura.h virtual gfx::NativeCursor GetCursor(const gfx::Point& point) OVERRIDE; gfx 148 ui/views/widget/native_widget_aura.h virtual int GetNonClientComponent(const gfx::Point& point) const OVERRIDE; gfx 151 ui/views/widget/native_widget_aura.h const gfx::Point& location) OVERRIDE; gfx 154 ui/views/widget/native_widget_aura.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 160 ui/views/widget/native_widget_aura.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 218 ui/views/widget/native_widget_aura.h gfx::NativeCursor cursor_; gfx 43 ui/views/widget/native_widget_aura_unittest.cc host()->SetBounds(gfx::Rect(640, 480)); gfx 58 ui/views/widget/native_widget_aura_unittest.cc parent->SetBounds(gfx::Rect(0, 0, 1024, 800)); gfx 62 ui/views/widget/native_widget_aura_unittest.cc window->CenterWindow(gfx::Size(100, 100)); gfx 63 ui/views/widget/native_widget_aura_unittest.cc EXPECT_EQ(gfx::Rect( (640 - 100) / 2, gfx 75 ui/views/widget/native_widget_aura_unittest.cc parent->SetBounds(gfx::Rect(0, 0, 480, 320)); gfx 79 ui/views/widget/native_widget_aura_unittest.cc window->CenterWindow(gfx::Size(100, 100)); gfx 80 ui/views/widget/native_widget_aura_unittest.cc EXPECT_EQ(gfx::Rect( (480 - 100) / 2, gfx 93 ui/views/widget/native_widget_aura_unittest.cc parent->SetBounds(gfx::Rect(20, 40, 480, 320)); gfx 96 ui/views/widget/native_widget_aura_unittest.cc window->CenterWindow(gfx::Size(500, 600)); gfx 112 ui/views/widget/native_widget_aura_unittest.cc SetChildBoundsDirect(child, gfx::Rect(0, 0, 300, 300)); gfx 122 ui/views/widget/native_widget_aura_unittest.cc const gfx::Rect& requested_bounds) OVERRIDE { gfx 142 ui/views/widget/native_widget_aura_unittest.cc virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE { gfx 152 ui/views/widget/native_widget_aura_unittest.cc gfx::Size last_size_; gfx 162 ui/views/widget/native_widget_aura_unittest.cc root_window()->SetBounds(gfx::Rect(0, 0, 640, 480)); gfx 170 ui/views/widget/native_widget_aura_unittest.cc params.bounds = gfx::Rect(10, 10, 100, 200); gfx 186 ui/views/widget/native_widget_aura_unittest.cc gfx::Rect client_bounds = widget->GetClientAreaBoundsInScreen(); gfx 246 ui/views/widget/native_widget_aura_unittest.cc params.bounds = gfx::Rect(0, 0, 100, 200); gfx 251 ui/views/widget/native_widget_aura_unittest.cc ui::TouchEvent press(ui::ET_TOUCH_PRESSED, gfx::Point(41, 51), 1, gfx 266 ui/views/widget/native_widget_aura_unittest.cc ui::TouchEvent release(ui::ET_TOUCH_RELEASED, gfx::Point(250, 251), 1, gfx 290 ui/views/widget/native_widget_aura_unittest.cc parent->SetBounds(gfx::Rect(0, 0, 400, 400)); gfx 298 ui/views/widget/native_widget_aura_unittest.cc child->SetBounds(gfx::Rect(0, 0, 200, 200)); gfx 304 ui/views/widget/native_widget_aura_unittest.cc gfx::Point(50, 50))); gfx 315 ui/views/widget/native_widget_aura_unittest.cc gfx::Point(20, 20))); gfx 323 ui/views/widget/native_widget_aura_unittest.cc gfx::Point(20, 20))); gfx 328 ui/views/widget/native_widget_aura_unittest.cc gfx::Point(70, 70))); gfx 335 ui/views/widget/native_widget_aura_unittest.cc gfx::Point(20, 20))); gfx 365 ui/views/widget/native_widget_aura_unittest.cc parent->SetBounds(gfx::Rect(0, 0, 480, 320)); gfx 402 ui/views/widget/native_widget_aura_unittest.cc gfx::Rect(10, 10, 100, 200)); gfx 407 ui/views/widget/native_widget_aura_unittest.cc widget->SetBounds(gfx::Rect(0, 0, 500, 500)); gfx 13 ui/views/widget/native_widget_delegate.h namespace gfx { gfx 61 ui/views/widget/native_widget_delegate.h virtual void OnNativeFocus(gfx::NativeView focused_view) = 0; gfx 62 ui/views/widget/native_widget_delegate.h virtual void OnNativeBlur(gfx::NativeView focused_view) = 0; gfx 83 ui/views/widget/native_widget_delegate.h virtual gfx::Size GetMinimumSize() = 0; gfx 86 ui/views/widget/native_widget_delegate.h virtual gfx::Size GetMaximumSize() = 0; gfx 92 ui/views/widget/native_widget_delegate.h virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) = 0; gfx 104 ui/views/widget/native_widget_delegate.h const gfx::Rect& dirty_region) = 0; gfx 108 ui/views/widget/native_widget_delegate.h virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) = 0; gfx 112 ui/views/widget/native_widget_delegate.h virtual int GetNonClientComponent(const gfx::Point& point) = 0; gfx 137 ui/views/widget/native_widget_delegate.h virtual void GetHitTestMask(gfx::Path* mask) const = 0; gfx 14 ui/views/widget/native_widget_private.h namespace gfx { gfx 53 ui/views/widget/native_widget_private.h gfx::NativeView native_view); gfx 55 ui/views/widget/native_widget_private.h gfx::NativeWindow native_window); gfx 60 ui/views/widget/native_widget_private.h gfx::NativeView native_view); gfx 62 ui/views/widget/native_widget_private.h static void GetAllChildWidgets(gfx::NativeView native_view, gfx 64 ui/views/widget/native_widget_private.h static void GetAllOwnedWidgets(gfx::NativeView native_view, gfx 66 ui/views/widget/native_widget_private.h static void ReparentNativeView(gfx::NativeView native_view, gfx 67 ui/views/widget/native_widget_private.h gfx::NativeView new_parent); gfx 92 ui/views/widget/native_widget_private.h virtual gfx::NativeView GetNativeView() const = 0; gfx 93 ui/views/widget/native_widget_private.h virtual gfx::NativeWindow GetNativeWindow() const = 0; gfx 147 ui/views/widget/native_widget_private.h virtual void CenterWindow(const gfx::Size& size) = 0; gfx 152 ui/views/widget/native_widget_private.h gfx::Rect* bounds, gfx 161 ui/views/widget/native_widget_private.h virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 162 ui/views/widget/native_widget_private.h const gfx::ImageSkia& app_icon) = 0; gfx 170 ui/views/widget/native_widget_private.h virtual gfx::Rect GetWindowBoundsInScreen() const = 0; gfx 171 ui/views/widget/native_widget_private.h virtual gfx::Rect GetClientAreaBoundsInScreen() const = 0; gfx 172 ui/views/widget/native_widget_private.h virtual gfx::Rect GetRestoredBounds() const = 0; gfx 173 ui/views/widget/native_widget_private.h virtual void SetBounds(const gfx::Rect& bounds) = 0; gfx 174 ui/views/widget/native_widget_private.h virtual void SetSize(const gfx::Size& size) = 0; gfx 175 ui/views/widget/native_widget_private.h virtual void StackAbove(gfx::NativeView native_view) = 0; gfx 177 ui/views/widget/native_widget_private.h virtual void StackBelow(gfx::NativeView native_view) = 0; gfx 178 ui/views/widget/native_widget_private.h virtual void SetShape(gfx::NativeRegion shape) = 0; gfx 185 ui/views/widget/native_widget_private.h virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; gfx 206 ui/views/widget/native_widget_private.h const gfx::Point& location, gfx 209 ui/views/widget/native_widget_private.h virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; gfx 210 ui/views/widget/native_widget_private.h virtual void SetCursor(gfx::NativeCursor cursor) = 0; gfx 213 ui/views/widget/native_widget_private.h virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; gfx 215 ui/views/widget/native_widget_private.h const gfx::Vector2d& drag_offset, gfx 46 ui/views/widget/native_widget_unittest.cc params.bounds = gfx::Rect(10, 10, 200, 200); gfx 79 ui/views/widget/root_view.cc gfx::Point location = v->GetKeyboardContextMenuLocation(); gfx 81 ui/views/widget/root_view.cc const gfx::Rect& parent_bounds = parent->GetBoundsInScreen(); gfx 247 ui/views/widget/root_view.cc void RootView::SchedulePaintInRect(const gfx::Rect& rect) { gfx 251 ui/views/widget/root_view.cc gfx::Rect xrect = ConvertRectToParent(rect); gfx 252 ui/views/widget/root_view.cc gfx::Rect invalid_rect = gfx::IntersectRects(GetLocalBounds(), xrect); gfx 377 ui/views/widget/root_view.cc gfx::Point last_point(last_mouse_event_x_, last_mouse_event_y_); gfx 455 ui/views/widget/root_view.cc widget_->SetCursor(gfx::kNullCursor); gfx 502 ui/views/widget/root_view.cc ReparentLayer(gfx::Vector2d(GetMirroredX(), y()), widget_->GetLayer()); gfx 591 ui/views/widget/root_view.cc gfx::Rect touch_rect(event->details().bounding_box()); gfx 679 ui/views/widget/root_view.cc void RootView::OnPaint(gfx::Canvas* canvas) { gfx 686 ui/views/widget/root_view.cc gfx::Vector2d RootView::CalculateOffsetToAncestorWithLayer( gfx 688 ui/views/widget/root_view.cc gfx::Vector2d offset(View::CalculateOffsetToAncestorWithLayer(layer_parent)); gfx 100 ui/views/widget/root_view.h virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; gfx 119 ui/views/widget/root_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 120 ui/views/widget/root_view.h virtual gfx::Vector2d CalculateOffsetToAncestorWithLayer( gfx 139 ui/views/widget/root_view_unittest.cc const gfx::Point& point, gfx 19 ui/views/widget/tooltip_manager.cc int TooltipManager::GetMaxWidth(int x, int y, gfx::NativeView context) { gfx 20 ui/views/widget/tooltip_manager.cc return GetMaxWidth(gfx::Screen::GetScreenFor(context)->GetDisplayNearestPoint( gfx 21 ui/views/widget/tooltip_manager.cc gfx::Point(x, y))); gfx 25 ui/views/widget/tooltip_manager.cc int TooltipManager::GetMaxWidth(const gfx::Display& display) { gfx 33 ui/views/widget/tooltip_manager.cc *text = gfx::TruncateString(*text, kMaxTooltipLength); gfx 15 ui/views/widget/tooltip_manager.h namespace gfx { gfx 48 ui/views/widget/tooltip_manager.h static int GetMaxWidth(int x, int y, gfx::NativeView context); gfx 51 ui/views/widget/tooltip_manager.h static int GetMaxWidth(const gfx::Display& display); gfx 58 ui/views/widget/tooltip_manager.h virtual const gfx::FontList& GetFontList() const = 0; gfx 38 ui/views/widget/tooltip_manager_aura.cc const gfx::FontList& TooltipManagerAura::GetDefaultFontList() { gfx 52 ui/views/widget/tooltip_manager_aura.cc gfx::Point screen_loc( gfx 59 ui/views/widget/tooltip_manager_aura.cc gfx::Screen* screen = gfx::Screen::GetScreenFor(root_window); gfx 63 ui/views/widget/tooltip_manager_aura.cc gfx::Point target_loc(screen_loc); gfx 87 ui/views/widget/tooltip_manager_aura.cc const gfx::FontList& TooltipManagerAura::GetFontList() const { gfx 94 ui/views/widget/tooltip_manager_aura.cc gfx::Point view_point = gfx 105 ui/views/widget/tooltip_manager_aura.cc gfx::Point view_point = gfx 115 ui/views/widget/tooltip_manager_aura.cc View* TooltipManagerAura::GetViewUnderPoint(const gfx::Point& point) { gfx 123 ui/views/widget/tooltip_manager_aura.cc const gfx::Point& point, gfx 126 ui/views/widget/tooltip_manager_aura.cc gfx::Point view_point = point; gfx 17 ui/views/widget/tooltip_manager_aura.h namespace gfx { gfx 38 ui/views/widget/tooltip_manager_aura.h static const gfx::FontList& GetDefaultFontList(); gfx 41 ui/views/widget/tooltip_manager_aura.h virtual const gfx::FontList& GetFontList() const OVERRIDE; gfx 46 ui/views/widget/tooltip_manager_aura.h View* GetViewUnderPoint(const gfx::Point& point); gfx 48 ui/views/widget/tooltip_manager_aura.h const gfx::Point& point, gfx 201 ui/views/widget/widget.cc return CreateWindowWithBounds(delegate, gfx::Rect()); gfx 206 ui/views/widget/widget.cc const gfx::Rect& bounds) { gfx 218 ui/views/widget/widget.cc gfx::NativeWindow parent) { gfx 219 ui/views/widget/widget.cc return CreateWindowWithParentAndBounds(delegate, parent, gfx::Rect()); gfx 224 ui/views/widget/widget.cc gfx::NativeWindow parent, gfx 225 ui/views/widget/widget.cc const gfx::Rect& bounds) { gfx 237 ui/views/widget/widget.cc gfx::NativeView context) { gfx 238 ui/views/widget/widget.cc return CreateWindowWithContextAndBounds(delegate, context, gfx::Rect()); gfx 243 ui/views/widget/widget.cc gfx::NativeView context, gfx 244 ui/views/widget/widget.cc const gfx::Rect& bounds) { gfx 256 ui/views/widget/widget.cc gfx::NativeView parent) { gfx 271 ui/views/widget/widget.cc Widget* Widget::GetWidgetForNativeView(gfx::NativeView native_view) { gfx 278 ui/views/widget/widget.cc Widget* Widget::GetWidgetForNativeWindow(gfx::NativeWindow native_window) { gfx 286 ui/views/widget/widget.cc Widget* Widget::GetTopLevelWidgetForNativeView(gfx::NativeView native_view) { gfx 294 ui/views/widget/widget.cc void Widget::GetAllChildWidgets(gfx::NativeView native_view, gfx 300 ui/views/widget/widget.cc void Widget::GetAllOwnedWidgets(gfx::NativeView native_view, gfx 306 ui/views/widget/widget.cc void Widget::ReparentNativeView(gfx::NativeView native_view, gfx 307 ui/views/widget/widget.cc gfx::NativeView new_parent) { gfx 324 ui/views/widget/widget.cc gfx::Size Widget::GetLocalizedContentsSize(int col_resource_id, gfx 326 ui/views/widget/widget.cc return gfx::Size(GetLocalizedContentsWidth(col_resource_id), gfx 396 ui/views/widget/widget.cc gfx::NativeView Widget::GetNativeView() const { gfx 400 ui/views/widget/widget.cc gfx::NativeWindow Widget::GetNativeWindow() const { gfx 481 ui/views/widget/widget.cc gfx::Rect Widget::GetWindowBoundsInScreen() const { gfx 485 ui/views/widget/widget.cc gfx::Rect Widget::GetClientAreaBoundsInScreen() const { gfx 489 ui/views/widget/widget.cc gfx::Rect Widget::GetRestoredBounds() const { gfx 493 ui/views/widget/widget.cc void Widget::SetBounds(const gfx::Rect& bounds) { gfx 497 ui/views/widget/widget.cc void Widget::SetSize(const gfx::Size& size) { gfx 501 ui/views/widget/widget.cc void Widget::CenterWindow(const gfx::Size& size) { gfx 505 ui/views/widget/widget.cc void Widget::SetBoundsConstrained(const gfx::Rect& bounds) { gfx 506 ui/views/widget/widget.cc gfx::Rect work_area = gfx 507 ui/views/widget/widget.cc gfx::Screen::GetScreenFor(GetNativeView())->GetDisplayNearestPoint( gfx 524 ui/views/widget/widget.cc const gfx::Vector2d& drag_offset, gfx 538 ui/views/widget/widget.cc void Widget::StackAbove(gfx::NativeView native_view) { gfx 546 ui/views/widget/widget.cc void Widget::StackBelow(gfx::NativeView native_view) { gfx 550 ui/views/widget/widget.cc void Widget::SetShape(gfx::NativeRegion shape) { gfx 772 ui/views/widget/widget.cc const gfx::Point& location, gfx 785 ui/views/widget/widget.cc void Widget::SchedulePaintInRect(const gfx::Rect& rect) { gfx 789 ui/views/widget/widget.cc void Widget::SetCursor(gfx::NativeCursor cursor) { gfx 953 ui/views/widget/widget.cc gfx::Rect Widget::GetWorkAreaBoundsInScreen() const { gfx 1010 ui/views/widget/widget.cc void Widget::OnNativeFocus(gfx::NativeView old_focused_view) { gfx 1015 ui/views/widget/widget.cc void Widget::OnNativeBlur(gfx::NativeView new_focused_view) { gfx 1062 ui/views/widget/widget.cc gfx::Size Widget::GetMinimumSize() { gfx 1063 ui/views/widget/widget.cc return non_client_view_ ? non_client_view_->GetMinimumSize() : gfx::Size(); gfx 1066 ui/views/widget/widget.cc gfx::Size Widget::GetMaximumSize() { gfx 1067 ui/views/widget/widget.cc return non_client_view_ ? non_client_view_->GetMaximumSize() : gfx::Size(); gfx 1077 ui/views/widget/widget.cc void Widget::OnNativeWidgetSizeChanged(const gfx::Size& new_size) { gfx 1103 ui/views/widget/widget.cc bool Widget::OnNativeWidgetPaintAccelerated(const gfx::Rect& dirty_region) { gfx 1112 ui/views/widget/widget.cc void Widget::OnNativeWidgetPaint(gfx::Canvas* canvas) { gfx 1119 ui/views/widget/widget.cc int Widget::GetNonClientComponent(const gfx::Point& point) { gfx 1267 ui/views/widget/widget.cc void Widget::GetHitTestMask(gfx::Path* mask) const { gfx 1357 ui/views/widget/widget.cc gfx::Rect bounds; gfx 1362 ui/views/widget/widget.cc void Widget::SetInitialBounds(const gfx::Rect& bounds) { gfx 1366 ui/views/widget/widget.cc gfx::Rect saved_bounds; gfx 1388 ui/views/widget/widget.cc void Widget::SetInitialBoundsForFramelessWindow(const gfx::Rect& bounds) { gfx 1394 ui/views/widget/widget.cc gfx::Size size = contents_view->GetPreferredSize(); gfx 1403 ui/views/widget/widget.cc bool Widget::GetSavedWindowPlacement(gfx::Rect* bounds, gfx 1417 ui/views/widget/widget.cc gfx::Size minimum_size = GetMinimumSize(); gfx 38 ui/views/widget/widget.h namespace gfx { gfx 202 ui/views/widget/widget.h gfx::NativeView parent; gfx 207 ui/views/widget/widget.h gfx::Rect bounds; gfx 230 ui/views/widget/widget.h gfx::NativeView context; gfx 254 ui/views/widget/widget.h const gfx::Rect& bounds); gfx 258 ui/views/widget/widget.h gfx::NativeWindow parent); gfx 260 ui/views/widget/widget.h gfx::NativeWindow parent, gfx 261 ui/views/widget/widget.h const gfx::Rect& bounds); gfx 265 ui/views/widget/widget.h gfx::NativeView context); gfx 267 ui/views/widget/widget.h gfx::NativeView context, gfx 268 ui/views/widget/widget.h const gfx::Rect& bounds); gfx 272 ui/views/widget/widget.h gfx::NativeView parent); gfx 284 ui/views/widget/widget.h gfx::Rect* rect); gfx 289 ui/views/widget/widget.h static Widget* GetWidgetForNativeView(gfx::NativeView native_view); gfx 290 ui/views/widget/widget.h static Widget* GetWidgetForNativeWindow(gfx::NativeWindow native_window); gfx 297 ui/views/widget/widget.h static Widget* GetTopLevelWidgetForNativeView(gfx::NativeView native_view); gfx 301 ui/views/widget/widget.h static void GetAllChildWidgets(gfx::NativeView native_view, gfx 305 ui/views/widget/widget.h static void GetAllOwnedWidgets(gfx::NativeView native_view, gfx 310 ui/views/widget/widget.h static void ReparentNativeView(gfx::NativeView native_view, gfx 311 ui/views/widget/widget.h gfx::NativeView new_parent); gfx 320 ui/views/widget/widget.h static gfx::Size GetLocalizedContentsSize(int col_resource_id, gfx 329 ui/views/widget/widget.h gfx::NativeView GetNativeView() const; gfx 334 ui/views/widget/widget.h gfx::NativeWindow GetNativeWindow() const; gfx 373 ui/views/widget/widget.h gfx::Rect GetWindowBoundsInScreen() const; gfx 376 ui/views/widget/widget.h gfx::Rect GetClientAreaBoundsInScreen() const; gfx 379 ui/views/widget/widget.h gfx::Rect GetRestoredBounds() const; gfx 382 ui/views/widget/widget.h void SetBounds(const gfx::Rect& bounds); gfx 383 ui/views/widget/widget.h void SetSize(const gfx::Size& size); gfx 386 ui/views/widget/widget.h void CenterWindow(const gfx::Size& size); gfx 391 ui/views/widget/widget.h void SetBoundsConstrained(const gfx::Rect& bounds); gfx 402 ui/views/widget/widget.h MoveLoopResult RunMoveLoop(const gfx::Vector2d& drag_offset, gfx 411 ui/views/widget/widget.h void StackAbove(gfx::NativeView native_view); gfx 415 ui/views/widget/widget.h void StackBelow(gfx::NativeView native_view); gfx 419 ui/views/widget/widget.h void SetShape(gfx::NativeRegion shape); gfx 540 ui/views/widget/widget.h const gfx::Point& location, gfx 550 ui/views/widget/widget.h virtual void SchedulePaintInRect(const gfx::Rect& rect); gfx 554 ui/views/widget/widget.h void SetCursor(gfx::NativeCursor cursor); gfx 692 ui/views/widget/widget.h gfx::Rect GetWorkAreaBoundsInScreen() const; gfx 715 ui/views/widget/widget.h virtual void OnNativeFocus(gfx::NativeView old_focused_view) OVERRIDE; gfx 716 ui/views/widget/widget.h virtual void OnNativeBlur(gfx::NativeView new_focused_view) OVERRIDE; gfx 722 ui/views/widget/widget.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 723 ui/views/widget/widget.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 725 ui/views/widget/widget.h virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; gfx 730 ui/views/widget/widget.h const gfx::Rect& dirty_region) OVERRIDE; gfx 731 ui/views/widget/widget.h virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; gfx 732 ui/views/widget/widget.h virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; gfx 742 ui/views/widget/widget.h virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; gfx 779 ui/views/widget/widget.h void SetInitialBounds(const gfx::Rect& bounds); gfx 782 ui/views/widget/widget.h void SetInitialBoundsForFramelessWindow(const gfx::Rect& bounds); gfx 786 ui/views/widget/widget.h bool GetSavedWindowPlacement(gfx::Rect* bounds, gfx 852 ui/views/widget/widget.h gfx::Rect initial_restored_bounds_; gfx 882 ui/views/widget/widget.h gfx::Point last_mouse_event_position_; gfx 88 ui/views/widget/widget_delegate.cc gfx::ImageSkia WidgetDelegate::GetWindowAppIcon() { gfx 94 ui/views/widget/widget_delegate.cc gfx::ImageSkia WidgetDelegate::GetWindowIcon() { gfx 95 ui/views/widget/widget_delegate.cc return gfx::ImageSkia(); gfx 110 ui/views/widget/widget_delegate.cc void WidgetDelegate::SaveWindowPlacement(const gfx::Rect& bounds, gfx 122 ui/views/widget/widget_delegate.cc gfx::Rect* bounds, gfx 162 ui/views/widget/widget_delegate.cc void WidgetDelegate::GetWidgetHitTestMask(gfx::Path* mask) const { gfx 171 ui/views/widget/widget_delegate.cc gfx::NativeView child, gfx 172 ui/views/widget/widget_delegate.cc const gfx::Point& location) { gfx 15 ui/views/widget/widget_delegate.h namespace gfx { gfx 83 ui/views/widget/widget_delegate.h virtual gfx::ImageSkia GetWindowAppIcon(); gfx 86 ui/views/widget/widget_delegate.h virtual gfx::ImageSkia GetWindowIcon(); gfx 102 ui/views/widget/widget_delegate.h virtual void SaveWindowPlacement(const gfx::Rect& bounds, gfx 108 ui/views/widget/widget_delegate.h gfx::Rect* bounds, gfx 161 ui/views/widget/widget_delegate.h virtual void GetWidgetHitTestMask(gfx::Path* mask) const; gfx 171 ui/views/widget/widget_delegate.h gfx::NativeView child, gfx 172 ui/views/widget/widget_delegate.h const gfx::Point& location); gfx 156 ui/views/widget/widget_interactive_uitest.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 184 ui/views/widget/widget_interactive_uitest.cc init_params.bounds = gfx::Rect(0, 0, 200, 200); gfx 204 ui/views/widget/widget_interactive_uitest.cc init_params2.bounds = gfx::Rect(0, 0, 200, 200); gfx 243 ui/views/widget/widget_interactive_uitest.cc gfx::Point click_location(45, 15); gfx 275 ui/views/widget/widget_interactive_uitest.cc toplevel->SetSize(gfx::Size(100, 100)); gfx 289 ui/views/widget/widget_interactive_uitest.cc gfx::Point click_location(45, 15); gfx 335 ui/views/widget/widget_interactive_uitest.cc first->SetSize(gfx::Size(100, 100)); gfx 338 ui/views/widget/widget_interactive_uitest.cc gfx::Point location(20, 20); gfx 362 ui/views/widget/widget_interactive_uitest.cc toplevel->SetBounds(gfx::Rect(0, 0, 500, 500)); gfx 364 ui/views/widget/widget_interactive_uitest.cc child1->SetBounds(gfx::Rect(10, 10, 300, 300)); gfx 369 ui/views/widget/widget_interactive_uitest.cc child2->SetBounds(gfx::Rect(200, 10, 200, 200)); gfx 378 ui/views/widget/widget_interactive_uitest.cc gfx::Point p1(45, 45); gfx 398 ui/views/widget/widget_interactive_uitest.cc gfx::Point p2(315, 45); gfx 422 ui/views/widget/widget_interactive_uitest.cc toplevel->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 432 ui/views/widget/widget_interactive_uitest.cc gfx::Point p1(200, 200); gfx 440 ui/views/widget/widget_interactive_uitest.cc gfx::Point p2(95, 95); gfx 448 ui/views/widget/widget_interactive_uitest.cc gfx::Point p3(102, 95); gfx 501 ui/views/widget/widget_interactive_uitest.cc init_params.bounds = gfx::Rect(0, 0, 200, 200); gfx 553 ui/views/widget/widget_interactive_uitest.cc gfx::Rect initial_bounds(0, 0, 500, 500); gfx 571 ui/views/widget/widget_interactive_uitest.cc modal_dialog_widget->SetBounds(gfx::Rect(100, 100, 200, 200)); gfx 590 ui/views/widget/widget_interactive_uitest.cc gfx::Rect initial_bounds(0, 0, 500, 500); gfx 611 ui/views/widget/widget_interactive_uitest.cc modal_dialog_widget->SetBounds(gfx::Rect(100, 100, 200, 200)); gfx 659 ui/views/widget/widget_interactive_uitest.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 802 ui/views/widget/widget_interactive_uitest.cc ui::MouseEvent mouse_event(ui::ET_MOUSE_EXITED, gfx::Point(), gfx::Point(), gfx 10 ui/views/widget/widget_observer.h namespace gfx { gfx 46 ui/views/widget/widget_observer.h const gfx::Rect& new_bounds) {} gfx 122 ui/views/widget/widget_unittest.cc virtual gfx::Size GetMinimumSize() OVERRIDE { gfx 123 ui/views/widget/widget_unittest.cc return gfx::Size(300, 400); gfx 210 ui/views/widget/widget_unittest.cc gfx::NativeView parent = toplevel->GetNativeView(); gfx 251 ui/views/widget/widget_unittest.cc gfx::NativeView parent = toplevel->GetNativeView(); gfx 589 ui/views/widget/widget_unittest.cc widget->SetBounds(gfx::Rect(0, 0, 100, 80)); gfx 590 ui/views/widget/widget_unittest.cc widget->SetSize(gfx::Size(10, 11)); gfx 591 ui/views/widget/widget_unittest.cc widget->SetBoundsConstrained(gfx::Rect(0, 0, 120, 140)); gfx 616 ui/views/widget/widget_unittest.cc widget->SchedulePaintInRect(gfx::Rect(0, 0, 1, 2)); gfx 706 ui/views/widget/widget_unittest.cc const gfx::Rect& new_bounds) OVERRIDE { gfx 821 ui/views/widget/widget_unittest.cc child1->OnNativeWidgetSizeChanged(gfx::Size()); gfx 824 ui/views/widget/widget_unittest.cc child2->OnNativeWidgetSizeChanged(gfx::Size()); gfx 931 ui/views/widget/widget_unittest.cc init_params.bounds = gfx::Rect(0, 0, 200, 200); gfx 999 ui/views/widget/widget_unittest.cc gfx::Rect initial_bounds(0, 0, 300, 400); gfx 1040 ui/views/widget/widget_unittest.cc virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE { gfx 1062 ui/views/widget/widget_unittest.cc init_params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1082 ui/views/widget/widget_unittest.cc init_params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1129 ui/views/widget/widget_unittest.cc void CreateTopLevelWindow(const gfx::Rect& bounds, bool fullscreen) { gfx 1152 ui/views/widget/widget_unittest.cc gfx::Rect(0, 0, 1900, 1600)); gfx 1208 ui/views/widget/widget_unittest.cc gfx::Rect(0, 0, 200, 200), true)); gfx 1220 ui/views/widget/widget_unittest.cc gfx::Rect(0, 0, 200, 200), true)); gfx 1231 ui/views/widget/widget_unittest.cc gfx::Rect(0, 0, 200, 200), false)); gfx 1244 ui/views/widget/widget_unittest.cc gfx::Rect(0, 0, 200, 200), false)); gfx 1246 ui/views/widget/widget_unittest.cc gfx::Rect new_size(0, 0, 400, 400); gfx 1264 ui/views/widget/widget_unittest.cc gfx::Rect initial_bounds(0, 0, 300, 400); gfx 1287 ui/views/widget/widget_unittest.cc const gfx::Rect screen_bounds(widget->GetWindowBoundsInScreen()); gfx 1305 ui/views/widget/widget_unittest.cc gfx::Point end_point(screen_bounds.CenterPoint()); gfx 1327 ui/views/widget/widget_unittest.cc params.bounds = gfx::Rect(0, 0, 50, 100); gfx 1357 ui/views/widget/widget_unittest.cc gfx::Point(65, 5), gfx 1371 ui/views/widget/widget_unittest.cc gfx::Point(5, 5), gfx 1460 ui/views/widget/widget_unittest.cc widget->SetBounds(gfx::Rect(0, 0, 100, 100)); gfx 1480 ui/views/widget/widget_unittest.cc gfx::Point(5, 5), gfx 1505 ui/views/widget/widget_unittest.cc gfx::Point cursor_location(5, 5); gfx 1552 ui/views/widget/widget_unittest.cc init_params.bounds = gfx::Rect(0, 0, 200, 200); gfx 1668 ui/views/widget/widget_unittest.cc widget->SetSize(gfx::Size(100, 100)); gfx 1688 ui/views/widget/widget_unittest.cc widget->SetSize(gfx::Size(100, 100)); gfx 1825 ui/views/widget/widget_unittest.cc widget->SetBounds(gfx::Rect(0, 0, 300, 300)); gfx 1835 ui/views/widget/widget_unittest.cc gfx::Point click_location(45, 15); gfx 1846 ui/views/widget/widget_unittest.cc gfx::Point move_location(45, 15); gfx 1882 ui/views/widget/widget_unittest.cc widget->SetBounds(gfx::Rect(0, 0, 300, 300)); gfx 2046 ui/views/widget/widget_unittest.cc gfx::Rect initial_bounds(0, 0, 500, 500); gfx 2059 ui/views/widget/widget_unittest.cc gfx::Point cursor_location_main(5, 5); gfx 2080 ui/views/widget/widget_unittest.cc modal_dialog_widget->SetBounds(gfx::Rect(100, 100, 200, 200)); gfx 2087 ui/views/widget/widget_unittest.cc gfx::Point cursor_location_dialog(100, 100); gfx 2100 ui/views/widget/widget_unittest.cc gfx::Point cursor_location_main2(6, 6); gfx 2121 ui/views/widget/widget_unittest.cc init_params.bounds = gfx::Rect(0, 0, 500, 500); gfx 2201 ui/views/widget/widget_unittest.cc gfx::Rect initial_bounds(0, 0, 500, 500); gfx 2223 ui/views/widget/widget_unittest.cc modal_dialog_widget->SetBounds(gfx::Rect(100, 100, 200, 200)); gfx 2309 ui/views/widget/widget_unittest.cc virtual gfx::Rect GetBoundsForClientView() const OVERRIDE { gfx 2310 ui/views/widget/widget_unittest.cc return gfx::Rect(); gfx 2312 ui/views/widget/widget_unittest.cc virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 2313 ui/views/widget/widget_unittest.cc const gfx::Rect& client_bounds) const OVERRIDE { gfx 2314 ui/views/widget/widget_unittest.cc return gfx::Rect(); gfx 2316 ui/views/widget/widget_unittest.cc virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE { gfx 2319 ui/views/widget/widget_unittest.cc virtual void GetWindowMask(const gfx::Size& size, gfx 2320 ui/views/widget/widget_unittest.cc gfx::Path* window_mask) OVERRIDE {} gfx 20 ui/views/widget/window_reorderer_unittest.cc Widget* CreateControlWidget(aura::Window* parent, const gfx::Rect& bounds) { gfx 56 ui/views/widget/window_reorderer_unittest.cc gfx::Rect(0, 0, 100, 100))); gfx 72 ui/views/widget/window_reorderer_unittest.cc gfx::Rect(0, 1, 100, 101))); gfx 76 ui/views/widget/window_reorderer_unittest.cc gfx::Rect(0, 2, 100, 102))); gfx 134 ui/views/widget/window_reorderer_unittest.cc gfx::Rect(0, 0, 100, 100))); gfx 195 ui/views/widget/window_reorderer_unittest.cc gfx::Rect(0, 0, 100, 100))); gfx 221 ui/views/widget/window_reorderer_unittest.cc gfx::Rect(0, 1, 100, 101))); gfx 41 ui/views/win/fullscreen_handler.cc gfx::Rect FullscreenHandler::GetRestoreBounds() const { gfx 42 ui/views/win/fullscreen_handler.cc return gfx::Rect(saved_window_info_.window_rect); gfx 81 ui/views/win/fullscreen_handler.cc gfx::Rect window_rect(monitor_info.rcMonitor); gfx 95 ui/views/win/fullscreen_handler.cc gfx::Rect new_rect(saved_window_info_.window_rect); gfx 14 ui/views/win/fullscreen_handler.h namespace gfx { gfx 30 ui/views/win/fullscreen_handler.h gfx::Rect GetRestoreBounds() const; gfx 176 ui/views/win/hwnd_message_handler.cc gfx::Rect* monitor_rect, gfx 177 ui/views/win/hwnd_message_handler.cc gfx::Rect* work_area) { gfx 187 ui/views/win/hwnd_message_handler.cc *monitor_rect = gfx::Rect(monitor_info.rcMonitor); gfx 188 ui/views/win/hwnd_message_handler.cc *work_area = gfx::Rect(monitor_info.rcWork); gfx 372 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::Init(HWND parent, const gfx::Rect& bounds) { gfx 453 ui/views/win/hwnd_message_handler.cc gfx::Rect HWNDMessageHandler::GetWindowBoundsInScreen() const { gfx 456 ui/views/win/hwnd_message_handler.cc return gfx::Rect(r); gfx 459 ui/views/win/hwnd_message_handler.cc gfx::Rect HWNDMessageHandler::GetClientAreaBoundsInScreen() const { gfx 464 ui/views/win/hwnd_message_handler.cc return gfx::Rect(point.x, point.y, r.right - r.left, r.bottom - r.top); gfx 467 ui/views/win/hwnd_message_handler.cc gfx::Rect HWNDMessageHandler::GetRestoredBounds() const { gfx 473 ui/views/win/hwnd_message_handler.cc gfx::Rect bounds; gfx 478 ui/views/win/hwnd_message_handler.cc gfx::Rect HWNDMessageHandler::GetClientAreaBounds() const { gfx 480 ui/views/win/hwnd_message_handler.cc return gfx::Rect(); gfx 487 ui/views/win/hwnd_message_handler.cc gfx::Rect* bounds, gfx 502 ui/views/win/hwnd_message_handler.cc *bounds = gfx::Rect(wp.rcNormalPosition); gfx 510 ui/views/win/hwnd_message_handler.cc *bounds = gfx::Rect(wp.rcNormalPosition); gfx 528 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::SetBounds(const gfx::Rect& bounds_in_pixels) { gfx 537 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::SetSize(const gfx::Size& size) { gfx 542 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::CenterWindow(const gfx::Size& size) { gfx 546 ui/views/win/hwnd_message_handler.cc gfx::CenterAndSizeWindow(parent, hwnd(), size); gfx 618 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::ShowMaximizedWithBounds(const gfx::Rect& bounds) { gfx 694 ui/views/win/hwnd_message_handler.cc bool HWNDMessageHandler::RunMoveLoop(const gfx::Vector2d& drag_offset, gfx 818 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::SchedulePaintInRect(const gfx::Rect& rect) { gfx 847 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 848 ui/views/win/hwnd_message_handler.cc const gfx::ImageSkia& app_icon) { gfx 965 ui/views/win/hwnd_message_handler.cc gfx::Point(CR_GET_X_LPARAM(l_param), CR_GET_Y_LPARAM(l_param))); gfx 1070 ui/views/win/hwnd_message_handler.cc gfx::Size s = GetClientAreaBounds().size(); gfx 1073 ui/views/win/hwnd_message_handler.cc layered_window_contents_.reset(new gfx::Canvas(s, 1.0f, false)); gfx 1076 ui/views/win/hwnd_message_handler.cc bool HWNDMessageHandler::GetClientAreaInsets(gfx::Insets* insets) const { gfx 1094 ui/views/win/hwnd_message_handler.cc *insets = gfx::Insets( gfx 1099 ui/views/win/hwnd_message_handler.cc *insets = gfx::Insets(); gfx 1137 ui/views/win/hwnd_message_handler.cc gfx::Path window_mask; gfx 1138 ui/views/win/hwnd_message_handler.cc delegate_->GetWindowMask(gfx::Size(window_rect.right - window_rect.left, gfx 1141 ui/views/win/hwnd_message_handler.cc new_region = gfx::CreateHRGNFromSkPath(window_mask); gfx 1207 ui/views/win/hwnd_message_handler.cc double scale = gfx::win::GetDeviceScaleFactor(); gfx 1346 ui/views/win/hwnd_message_handler.cc const gfx::Size& screen_size) { gfx 1403 ui/views/win/hwnd_message_handler.cc gfx::Size min_window_size; gfx 1404 ui/views/win/hwnd_message_handler.cc gfx::Size max_window_size; gfx 1549 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::OnMove(const gfx::Point& point) { gfx 1630 ui/views/win/hwnd_message_handler.cc gfx::Insets insets; gfx 1710 ui/views/win/hwnd_message_handler.cc LRESULT HWNDMessageHandler::OnNCHitTest(const gfx::Point& point) { gfx 1730 ui/views/win/hwnd_message_handler.cc int component = delegate_->GetNonClientComponent(gfx::Point(temp)); gfx 1799 ui/views/win/hwnd_message_handler.cc gfx::Size root_view_size = delegate_->GetRootViewSize(); gfx 1800 ui/views/win/hwnd_message_handler.cc if (gfx::Size(window_rect.right - window_rect.left, gfx 1841 ui/views/win/hwnd_message_handler.cc gfx::Rect old_paint_region = invalid_rect_; gfx 1851 ui/views/win/hwnd_message_handler.cc SchedulePaintInRect(gfx::Rect(dirty_region)); gfx 1856 ui/views/win/hwnd_message_handler.cc if (!delegate_->HandlePaintAccelerated(gfx::Rect(dirty_region))) { gfx 1857 ui/views/win/hwnd_message_handler.cc gfx::CanvasSkiaPaint canvas(dc, gfx 1907 ui/views/win/hwnd_message_handler.cc !delegate_->HandlePaintAccelerated(gfx::Rect(ps.rcPaint))) { gfx 2012 ui/views/win/hwnd_message_handler.cc void HWNDMessageHandler::OnSize(UINT param, const gfx::Size& size) { gfx 2033 ui/views/win/hwnd_message_handler.cc const gfx::Point& point) { gfx 2111 ui/views/win/hwnd_message_handler.cc gfx::win::GetUndocumentedDPITouchScale(); gfx 2113 ui/views/win/hwnd_message_handler.cc gfx::win::GetUndocumentedDPITouchScale(); gfx 2157 ui/views/win/hwnd_message_handler.cc gfx::Point(point.x, point.y), gfx 2201 ui/views/win/hwnd_message_handler.cc gfx::Rect monitor_rect, work_area; gfx 2218 ui/views/win/hwnd_message_handler.cc gfx::Rect new_window_rect; gfx 2226 ui/views/win/hwnd_message_handler.cc new_window_rect = gfx::Rect(window_rect); gfx 2328 ui/views/win/hwnd_message_handler.cc gfx::ShowSystemMenuAtPoint(hwnd(), gfx::Point(screen_point)); gfx 30 ui/views/win/hwnd_message_handler.h namespace gfx { gfx 111 ui/views/win/hwnd_message_handler.h public gfx::WindowImpl, gfx 118 ui/views/win/hwnd_message_handler.h void Init(HWND parent, const gfx::Rect& bounds); gfx 124 ui/views/win/hwnd_message_handler.h gfx::Rect GetWindowBoundsInScreen() const; gfx 125 ui/views/win/hwnd_message_handler.h gfx::Rect GetClientAreaBoundsInScreen() const; gfx 126 ui/views/win/hwnd_message_handler.h gfx::Rect GetRestoredBounds() const; gfx 128 ui/views/win/hwnd_message_handler.h gfx::Rect GetClientAreaBounds() const; gfx 130 ui/views/win/hwnd_message_handler.h void GetWindowPlacement(gfx::Rect* bounds, gfx 133 ui/views/win/hwnd_message_handler.h void SetBounds(const gfx::Rect& bounds_in_pixels); gfx 134 ui/views/win/hwnd_message_handler.h void SetSize(const gfx::Size& size); gfx 135 ui/views/win/hwnd_message_handler.h void CenterWindow(const gfx::Size& size); gfx 144 ui/views/win/hwnd_message_handler.h void ShowMaximizedWithBounds(const gfx::Rect& bounds); gfx 162 ui/views/win/hwnd_message_handler.h bool RunMoveLoop(const gfx::Vector2d& drag_offset, bool hide_on_escape); gfx 187 ui/views/win/hwnd_message_handler.h void SchedulePaintInRect(const gfx::Rect& rect); gfx 190 ui/views/win/hwnd_message_handler.h void SetWindowIcons(const gfx::ImageSkia& window_icon, gfx 191 ui/views/win/hwnd_message_handler.h const gfx::ImageSkia& app_icon); gfx 264 ui/views/win/hwnd_message_handler.h bool GetClientAreaInsets(gfx::Insets* insets) const; gfx 405 ui/views/win/hwnd_message_handler.h void OnDisplayChange(UINT bits_per_pixel, const gfx::Size& screen_size); gfx 421 ui/views/win/hwnd_message_handler.h void OnMove(const gfx::Point& point); gfx 425 ui/views/win/hwnd_message_handler.h LRESULT OnNCHitTest(const gfx::Point& point); gfx 439 ui/views/win/hwnd_message_handler.h void OnSize(UINT param, const gfx::Size& size); gfx 440 ui/views/win/hwnd_message_handler.h void OnSysCommand(UINT notification_code, const gfx::Point& point); gfx 530 ui/views/win/hwnd_message_handler.h gfx::Rect last_monitor_rect_, last_work_area_; gfx 551 ui/views/win/hwnd_message_handler.h scoped_ptr<gfx::Canvas> layered_window_contents_; gfx 560 ui/views/win/hwnd_message_handler.h gfx::Rect invalid_rect_; gfx 10 ui/views/win/hwnd_message_handler_delegate.h namespace gfx { gfx 65 ui/views/win/hwnd_message_handler_delegate.h virtual int GetNonClientComponent(const gfx::Point& point) const = 0; gfx 66 ui/views/win/hwnd_message_handler_delegate.h virtual void GetWindowMask(const gfx::Size& size, gfx::Path* mask) = 0; gfx 71 ui/views/win/hwnd_message_handler_delegate.h virtual bool GetClientAreaInsets(gfx::Insets* insets) const = 0; gfx 75 ui/views/win/hwnd_message_handler_delegate.h virtual void GetMinMaxSize(gfx::Size* min_size, gfx 76 ui/views/win/hwnd_message_handler_delegate.h gfx::Size* max_size) const = 0; gfx 79 ui/views/win/hwnd_message_handler_delegate.h virtual gfx::Size GetRootViewSize() const = 0; gfx 83 ui/views/win/hwnd_message_handler_delegate.h virtual void PaintLayeredWindow(gfx::Canvas* canvas) = 0; gfx 87 ui/views/win/hwnd_message_handler_delegate.h virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0; gfx 164 ui/views/win/hwnd_message_handler_delegate.h virtual void HandleClientSizeChanged(const gfx::Size& new_size) = 0; gfx 204 ui/views/win/hwnd_message_handler_delegate.h virtual bool HandlePaintAccelerated(const gfx::Rect& invalid_rect) = 0; gfx 207 ui/views/win/hwnd_message_handler_delegate.h virtual void HandlePaint(gfx::Canvas* canvas) = 0; gfx 24 ui/views/win/hwnd_util.h VIEWS_EXPORT HWND HWNDForNativeView(const gfx::NativeView view); gfx 27 ui/views/win/hwnd_util.h VIEWS_EXPORT HWND HWNDForNativeWindow(const gfx::NativeWindow window); gfx 29 ui/views/win/hwnd_util.h VIEWS_EXPORT gfx::Rect GetWindowBoundsForClientBounds( gfx 30 ui/views/win/hwnd_util.h View* view, const gfx::Rect& client_bounds); gfx 21 ui/views/win/hwnd_util_aurawin.cc HWND HWNDForNativeView(const gfx::NativeView view) { gfx 26 ui/views/win/hwnd_util_aurawin.cc HWND HWNDForNativeWindow(const gfx::NativeWindow window) { gfx 31 ui/views/win/hwnd_util_aurawin.cc gfx::Rect GetWindowBoundsForClientBounds(View* view, gfx 32 ui/views/win/hwnd_util_aurawin.cc const gfx::Rect& client_bounds) { gfx 41 ui/views/win/hwnd_util_aurawin.cc return gfx::Rect(rect); gfx 26 ui/views/window/client_view.cc int ClientView::NonClientHitTest(const gfx::Point& point) { gfx 48 ui/views/window/client_view.cc gfx::Size ClientView::GetPreferredSize() { gfx 51 ui/views/window/client_view.cc return contents_view_ ? contents_view_->GetPreferredSize() : gfx::Size(); gfx 54 ui/views/window/client_view.cc gfx::Size ClientView::GetMaximumSize() { gfx 57 ui/views/window/client_view.cc return contents_view_ ? contents_view_->GetMaximumSize() : gfx::Size(); gfx 60 ui/views/window/client_view.cc gfx::Size ClientView::GetMinimumSize() { gfx 63 ui/views/window/client_view.cc return contents_view_ ? contents_view_->GetMinimumSize() : gfx::Size(); gfx 81 ui/views/window/client_view.cc void ClientView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 57 ui/views/window/client_view.h virtual int NonClientHitTest(const gfx::Point& point); gfx 60 ui/views/window/client_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 61 ui/views/window/client_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 62 ui/views/window/client_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 69 ui/views/window/client_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 64 ui/views/window/custom_frame_view.cc const gfx::FontList& GetTitleFontList() { gfx 65 ui/views/window/custom_frame_view.cc static const gfx::FontList title_font_list = gfx 119 ui/views/window/custom_frame_view.cc gfx::Rect CustomFrameView::GetBoundsForClientView() const { gfx 123 ui/views/window/custom_frame_view.cc gfx::Rect CustomFrameView::GetWindowBoundsForClientBounds( gfx 124 ui/views/window/custom_frame_view.cc const gfx::Rect& client_bounds) const { gfx 127 ui/views/window/custom_frame_view.cc return gfx::Rect(client_bounds.x() - border_thickness, gfx 133 ui/views/window/custom_frame_view.cc int CustomFrameView::NonClientHitTest(const gfx::Point& point) { gfx 142 ui/views/window/custom_frame_view.cc gfx::Rect sysmenu_rect(IconBounds()); gfx 173 ui/views/window/custom_frame_view.cc void CustomFrameView::GetWindowMask(const gfx::Size& size, gfx 174 ui/views/window/custom_frame_view.cc gfx::Path* window_mask) { gfx 201 ui/views/window/custom_frame_view.cc void CustomFrameView::OnPaint(gfx::Canvas* canvas) { gfx 223 ui/views/window/custom_frame_view.cc gfx::Size CustomFrameView::GetPreferredSize() { gfx 225 ui/views/window/custom_frame_view.cc gfx::Rect(frame_->client_view()->GetPreferredSize())).size(); gfx 228 ui/views/window/custom_frame_view.cc gfx::Size CustomFrameView::GetMinimumSize() { gfx 230 ui/views/window/custom_frame_view.cc gfx::Rect(frame_->client_view()->GetMinimumSize())).size(); gfx 233 ui/views/window/custom_frame_view.cc gfx::Size CustomFrameView::GetMaximumSize() { gfx 234 ui/views/window/custom_frame_view.cc gfx::Size max_size = frame_->client_view()->GetMaximumSize(); gfx 235 ui/views/window/custom_frame_view.cc gfx::Size converted_size = gfx 237 ui/views/window/custom_frame_view.cc gfx::Rect(max_size)).size(); gfx 238 ui/views/window/custom_frame_view.cc return gfx::Size(max_size.width() == 0 ? 0 : converted_size.width(), gfx 296 ui/views/window/custom_frame_view.cc gfx::Rect CustomFrameView::IconBounds() const { gfx 316 ui/views/window/custom_frame_view.cc return gfx::Rect(frame_thickness + kIconLeftSpacing, y, size, size); gfx 335 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintRestoredFrameBorder(gfx::Canvas* canvas) { gfx 337 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* frame_image = GetFrameImage(); gfx 357 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintMaximizedFrameBorder(gfx::Canvas* canvas) { gfx 358 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* frame_image = GetFrameImage(); gfx 368 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* titlebar_bottom = rb.GetImageNamed( gfx 376 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintTitleBar(gfx::Canvas* canvas) { gfx 385 ui/views/window/custom_frame_view.cc gfx::Rect rect = title_bounds_; gfx 391 ui/views/window/custom_frame_view.cc void CustomFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) { gfx 392 ui/views/window/custom_frame_view.cc gfx::Rect client_area_bounds = frame_->client_view()->bounds(); gfx 398 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* top_left = rb.GetImageSkiaNamed(IDR_APP_TOP_LEFT); gfx 399 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* top_center = rb.GetImageSkiaNamed(IDR_APP_TOP_CENTER); gfx 400 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* top_right = rb.GetImageSkiaNamed(IDR_APP_TOP_RIGHT); gfx 413 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* right = rb.GetImageSkiaNamed(IDR_CONTENT_RIGHT_SIDE); gfx 424 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* bottom_left = gfx 426 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* bottom_center = gfx 428 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* bottom_right = gfx 445 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* left = rb.GetImageSkiaNamed(IDR_CONTENT_LEFT_SIDE); gfx 453 ui/views/window/custom_frame_view.cc canvas->FillRect(gfx::Rect(client_area_bounds.x() - 1, gfx 464 ui/views/window/custom_frame_view.cc const gfx::ImageSkia* CustomFrameView::GetFrameImage() const { gfx 479 ui/views/window/custom_frame_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); gfx 500 ui/views/window/custom_frame_view.cc gfx::Size visible_button_size = visible_button->GetPreferredSize(); gfx 513 ui/views/window/custom_frame_view.cc gfx::Size minimize_button_size = minimize_button_->GetPreferredSize(); gfx 536 ui/views/window/custom_frame_view.cc gfx::Rect icon_bounds(IconBounds()); gfx 14 ui/views/window/custom_frame_view.h namespace gfx { gfx 41 ui/views/window/custom_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 42 ui/views/window/custom_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 43 ui/views/window/custom_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 44 ui/views/window/custom_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 45 ui/views/window/custom_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 46 ui/views/window/custom_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 52 ui/views/window/custom_frame_view.h virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; gfx 54 ui/views/window/custom_frame_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 55 ui/views/window/custom_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 56 ui/views/window/custom_frame_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 87 ui/views/window/custom_frame_view.h gfx::Rect IconBounds() const; gfx 98 ui/views/window/custom_frame_view.h void PaintRestoredFrameBorder(gfx::Canvas* canvas); gfx 99 ui/views/window/custom_frame_view.h void PaintMaximizedFrameBorder(gfx::Canvas* canvas); gfx 100 ui/views/window/custom_frame_view.h void PaintTitleBar(gfx::Canvas* canvas); gfx 101 ui/views/window/custom_frame_view.h void PaintRestoredClientEdge(gfx::Canvas* canvas); gfx 105 ui/views/window/custom_frame_view.h const gfx::ImageSkia* GetFrameImage() const; gfx 120 ui/views/window/custom_frame_view.h gfx::Rect client_view_bounds_; gfx 123 ui/views/window/custom_frame_view.h gfx::Rect title_bounds_; gfx 38 ui/views/window/dialog_client_view.cc void LayoutButton(LabelButton* button, gfx::Rect* row_bounds) { gfx 42 ui/views/window/dialog_client_view.cc const gfx::Size size = button->GetPreferredSize(); gfx 178 ui/views/window/dialog_client_view.cc gfx::Size DialogClientView::GetPreferredSize() { gfx 180 ui/views/window/dialog_client_view.cc gfx::Size size( gfx 193 ui/views/window/dialog_client_view.cc const gfx::Insets insets = GetButtonRowInsets(); gfx 199 ui/views/window/dialog_client_view.cc gfx::Size contents_size = contents_view()->GetPreferredSize(); gfx 205 ui/views/window/dialog_client_view.cc gfx::Size footnote_size = footnote_view_->GetPreferredSize(); gfx 217 ui/views/window/dialog_client_view.cc gfx::Rect bounds = GetContentsBounds(); gfx 232 ui/views/window/dialog_client_view.cc gfx::Rect row_bounds(bounds.x(), bounds.bottom() - height, gfx 253 ui/views/window/dialog_client_view.cc const gfx::Rect contents_bounds = GetContentsBounds(); gfx 386 ui/views/window/dialog_client_view.cc button->set_min_size(gfx::Size(kDialogMinButtonWidth, 0)); gfx 412 ui/views/window/dialog_client_view.cc gfx::Insets DialogClientView::GetButtonRowInsets() const { gfx 414 ui/views/window/dialog_client_view.cc return GetButtonsAndExtraViewRowHeight() == 0 ? gfx::Insets() : gfx 415 ui/views/window/dialog_client_view.cc gfx::Insets(0, kButtonHEdgeMarginNew, gfx 60 ui/views/window/dialog_client_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 102 ui/views/window/dialog_client_view.h gfx::Insets GetButtonRowInsets() const; gfx 53 ui/views/window/dialog_client_view_unittest.cc contents_.reset(new StaticSizedView(gfx::Size(100, 200))); gfx 66 ui/views/window/dialog_client_view_unittest.cc gfx::Rect GetUpdatedClientBounds() { gfx 75 ui/views/window/dialog_client_view_unittest.cc const gfx::Rect client_bounds = GetUpdatedClientBounds(); gfx 76 ui/views/window/dialog_client_view_unittest.cc const gfx::Size preferred_size = contents_->GetPreferredSize(); gfx 179 ui/views/window/dialog_client_view_unittest.cc gfx::Size no_extra_view_size = client_view()->bounds().size(); gfx 181 ui/views/window/dialog_client_view_unittest.cc View* extra_view = new StaticSizedView(gfx::Size(200, 200)); gfx 195 ui/views/window/dialog_client_view_unittest.cc client_view()->SetBoundsRect(gfx::Rect(gfx::Point(0, 0), no_extra_view_size)); gfx 203 ui/views/window/dialog_client_view_unittest.cc gfx::Size no_footnote_size = client_view()->bounds().size(); gfx 205 ui/views/window/dialog_client_view_unittest.cc View* footnote_view = new StaticSizedView(gfx::Size(200, 200)); gfx 210 ui/views/window/dialog_client_view_unittest.cc gfx::Size with_footnote_size = client_view()->bounds().size(); gfx 217 ui/views/window/dialog_client_view_unittest.cc gfx::Size with_footnote_and_button_size = client_view()->bounds().size(); gfx 229 ui/views/window/dialog_client_view_unittest.cc gfx::Size no_footnote_size = client_view()->bounds().size(); gfx 28 ui/views/window/dialog_delegate.cc gfx::NativeWindow context, gfx 29 ui/views/window/dialog_delegate.cc gfx::NativeWindow parent) { gfx 158 ui/views/window/dialog_delegate.cc BubbleFrameView* frame = new BubbleFrameView(gfx::Insets()); gfx 36 ui/views/window/dialog_delegate.h gfx::NativeWindow context, gfx 37 ui/views/window/dialog_delegate.h gfx::NativeWindow parent); gfx 40 ui/views/window/dialog_delegate_unittest.cc virtual gfx::Size GetPreferredSize() OVERRIDE { return gfx::Size(200, 200); } gfx 202 ui/views/window/dialog_delegate_unittest.cc gfx::Point point(cases[i].point, cases[i].point); gfx 35 ui/views/window/frame_background.cc void FrameBackground::SetSideImages(const gfx::ImageSkia* left, gfx 36 ui/views/window/frame_background.cc const gfx::ImageSkia* top, gfx 37 ui/views/window/frame_background.cc const gfx::ImageSkia* right, gfx 38 ui/views/window/frame_background.cc const gfx::ImageSkia* bottom) { gfx 45 ui/views/window/frame_background.cc void FrameBackground::SetCornerImages(const gfx::ImageSkia* top_left, gfx 46 ui/views/window/frame_background.cc const gfx::ImageSkia* top_right, gfx 47 ui/views/window/frame_background.cc const gfx::ImageSkia* bottom_left, gfx 48 ui/views/window/frame_background.cc const gfx::ImageSkia* bottom_right) { gfx 55 ui/views/window/frame_background.cc void FrameBackground::PaintRestored(gfx::Canvas* canvas, View* view) const { gfx 123 ui/views/window/frame_background.cc void FrameBackground::PaintMaximized(gfx::Canvas* canvas, View* view) const { gfx 130 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, 0, view->width(), top_area_height_), gfx 145 ui/views/window/frame_background.cc void FrameBackground::PaintFrameColor(gfx::Canvas* canvas, View* view) const { gfx 147 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, 0, view->width(), top_area_height_), gfx 156 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(0, top_area_height_, left_edge_->width(), gfx 158 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(view->width() - right_edge_->width(), gfx 169 ui/views/window/frame_background.cc canvas->FillRect(gfx::Rect(left_edge_->width(), gfx 12 ui/views/window/frame_background.h namespace gfx { gfx 34 ui/views/window/frame_background.h void set_theme_image(const gfx::ImageSkia* image) { theme_image_ = image; } gfx 39 ui/views/window/frame_background.h void set_theme_overlay_image(gfx::ImageSkia* image) { gfx 52 ui/views/window/frame_background.h void SetSideImages(const gfx::ImageSkia* left, gfx 53 ui/views/window/frame_background.h const gfx::ImageSkia* top, gfx 54 ui/views/window/frame_background.h const gfx::ImageSkia* right, gfx 55 ui/views/window/frame_background.h const gfx::ImageSkia* bottom); gfx 59 ui/views/window/frame_background.h void SetCornerImages(const gfx::ImageSkia* top_left, gfx 60 ui/views/window/frame_background.h const gfx::ImageSkia* top_right, gfx 61 ui/views/window/frame_background.h const gfx::ImageSkia* bottom_left, gfx 62 ui/views/window/frame_background.h const gfx::ImageSkia* bottom_right); gfx 67 ui/views/window/frame_background.h void PaintRestored(gfx::Canvas* canvas, View* view) const; gfx 71 ui/views/window/frame_background.h void PaintMaximized(gfx::Canvas* canvas, View* view) const; gfx 75 ui/views/window/frame_background.h void PaintFrameColor(gfx::Canvas* canvas, View* view) const; gfx 78 ui/views/window/frame_background.h const gfx::ImageSkia* theme_image_; gfx 79 ui/views/window/frame_background.h gfx::ImageSkia* theme_overlay_image_; gfx 83 ui/views/window/frame_background.h const gfx::ImageSkia* left_edge_; gfx 84 ui/views/window/frame_background.h const gfx::ImageSkia* top_edge_; gfx 85 ui/views/window/frame_background.h const gfx::ImageSkia* right_edge_; gfx 86 ui/views/window/frame_background.h const gfx::ImageSkia* bottom_edge_; gfx 89 ui/views/window/frame_background.h const gfx::ImageSkia* top_left_corner_; gfx 90 ui/views/window/frame_background.h const gfx::ImageSkia* top_right_corner_; gfx 91 ui/views/window/frame_background.h const gfx::ImageSkia* bottom_left_corner_; gfx 92 ui/views/window/frame_background.h const gfx::ImageSkia* bottom_right_corner_; gfx 30 ui/views/window/native_frame_view.cc gfx::Rect NativeFrameView::GetBoundsForClientView() const { gfx 31 ui/views/window/native_frame_view.cc return gfx::Rect(0, 0, width(), height()); gfx 34 ui/views/window/native_frame_view.cc gfx::Rect NativeFrameView::GetWindowBoundsForClientBounds( gfx 35 ui/views/window/native_frame_view.cc const gfx::Rect& client_bounds) const { gfx 45 ui/views/window/native_frame_view.cc int NativeFrameView::NonClientHitTest(const gfx::Point& point) { gfx 49 ui/views/window/native_frame_view.cc void NativeFrameView::GetWindowMask(const gfx::Size& size, gfx 50 ui/views/window/native_frame_view.cc gfx::Path* window_mask) { gfx 70 ui/views/window/native_frame_view.cc gfx::Size NativeFrameView::GetPreferredSize() { gfx 74 ui/views/window/native_frame_view.cc gfx::Size NativeFrameView::GetMinimumSize() { gfx 78 ui/views/window/native_frame_view.cc gfx::Size NativeFrameView::GetMaximumSize() { gfx 20 ui/views/window/native_frame_view.h virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; gfx 21 ui/views/window/native_frame_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 22 ui/views/window/native_frame_view.h const gfx::Rect& client_bounds) const OVERRIDE; gfx 23 ui/views/window/native_frame_view.h virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; gfx 24 ui/views/window/native_frame_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 25 ui/views/window/native_frame_view.h gfx::Path* window_mask) OVERRIDE; gfx 31 ui/views/window/native_frame_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 32 ui/views/window/native_frame_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 33 ui/views/window/native_frame_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 88 ui/views/window/non_client_view.cc gfx::Rect NonClientView::GetWindowBoundsForClientBounds( gfx 89 ui/views/window/non_client_view.cc const gfx::Rect client_bounds) const { gfx 93 ui/views/window/non_client_view.cc int NonClientView::NonClientHitTest(const gfx::Point& point) { gfx 98 ui/views/window/non_client_view.cc void NonClientView::GetWindowMask(const gfx::Size& size, gfx 99 ui/views/window/non_client_view.cc gfx::Path* window_mask) { gfx 137 ui/views/window/non_client_view.cc gfx::Size NonClientView::GetPreferredSize() { gfx 141 ui/views/window/non_client_view.cc gfx::Rect client_bounds(gfx::Point(), client_view_->GetPreferredSize()); gfx 145 ui/views/window/non_client_view.cc gfx::Size NonClientView::GetMinimumSize() { gfx 149 ui/views/window/non_client_view.cc gfx::Size NonClientView::GetMaximumSize() { gfx 189 ui/views/window/non_client_view.cc views::View* NonClientView::GetEventHandlerForRect(const gfx::Rect& rect) { gfx 204 ui/views/window/non_client_view.cc gfx::RectF rect_in_child_coords_f(rect); gfx 206 ui/views/window/non_client_view.cc gfx::Rect rect_in_child_coords = gfx::ToEnclosingRect( gfx 215 ui/views/window/non_client_view.cc views::View* NonClientView::GetTooltipHandlerForPoint(const gfx::Point& point) { gfx 221 ui/views/window/non_client_view.cc gfx::Point point_in_child_coords(point); gfx 254 ui/views/window/non_client_view.cc int NonClientFrameView::GetHTComponentForFrame(const gfx::Point& point, gfx 306 ui/views/window/non_client_view.cc bool NonClientFrameView::HitTestRect(const gfx::Rect& rect) const { gfx 323 ui/views/window/non_client_view.cc void NonClientFrameView::OnBoundsChanged(const gfx::Rect& previous_bounds) { gfx 10 ui/views/window/non_client_view.h namespace gfx { gfx 56 ui/views/window/non_client_view.h int GetHTComponentForFrame(const gfx::Point& point, gfx 65 ui/views/window/non_client_view.h virtual gfx::Rect GetBoundsForClientView() const = 0; gfx 67 ui/views/window/non_client_view.h virtual gfx::Rect GetWindowBoundsForClientBounds( gfx 68 ui/views/window/non_client_view.h const gfx::Rect& client_bounds) const = 0; gfx 74 ui/views/window/non_client_view.h virtual int NonClientHitTest(const gfx::Point& point) = 0; gfx 75 ui/views/window/non_client_view.h virtual void GetWindowMask(const gfx::Size& size, gfx 76 ui/views/window/non_client_view.h gfx::Path* window_mask) = 0; gfx 82 ui/views/window/non_client_view.h virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; gfx 87 ui/views/window/non_client_view.h virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; gfx 169 ui/views/window/non_client_view.h gfx::Rect GetWindowBoundsForClientBounds(const gfx::Rect client_bounds) const; gfx 173 ui/views/window/non_client_view.h int NonClientHitTest(const gfx::Point& point); gfx 177 ui/views/window/non_client_view.h void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask); gfx 208 ui/views/window/non_client_view.h virtual gfx::Size GetPreferredSize() OVERRIDE; gfx 209 ui/views/window/non_client_view.h virtual gfx::Size GetMinimumSize() OVERRIDE; gfx 210 ui/views/window/non_client_view.h virtual gfx::Size GetMaximumSize() OVERRIDE; gfx 215 ui/views/window/non_client_view.h virtual views::View* GetEventHandlerForRect(const gfx::Rect& rect) OVERRIDE; gfx 217 ui/views/window/non_client_view.h const gfx::Point& point) OVERRIDE; gfx 8 ui/views/window/window_resources.h namespace gfx { gfx 28 ui/views/window/window_resources.h virtual gfx::ImageSkia* GetPartImage(FramePartImage part) const = 0; gfx 12 ui/views/window/window_shape.cc void GetDefaultWindowMask(const gfx::Size &size, gfx::Path *window_mask) { gfx 10 ui/views/window/window_shape.h namespace gfx { gfx 19 ui/views/window/window_shape.h VIEWS_EXPORT void GetDefaultWindowMask(const gfx::Size& size, gfx 20 ui/views/window/window_shape.h gfx::Path* window_mask); gfx 27 ui/web_dialogs/test/test_web_contents_handler.cc const gfx::Rect& initial_pos, gfx 31 ui/web_dialogs/test/test_web_contents_handler.h const gfx::Rect& initial_pos, gfx 39 ui/web_dialogs/test/test_web_dialog_delegate.cc void TestWebDialogDelegate::GetDialogSize(gfx::Size* size) const { gfx 33 ui/web_dialogs/test/test_web_dialog_delegate.h virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; gfx 42 ui/web_dialogs/test/test_web_dialog_delegate.h gfx::Size size_; gfx 13 ui/web_dialogs/web_dialog_delegate.cc void WebDialogDelegate::GetMinimumDialogSize(gfx::Size* size) const { gfx 42 ui/web_dialogs/web_dialog_delegate.cc const gfx::Rect& initial_pos, gfx 27 ui/web_dialogs/web_dialog_delegate.h namespace gfx { gfx 58 ui/web_dialogs/web_dialog_delegate.h virtual void GetDialogSize(gfx::Size* size) const = 0; gfx 61 ui/web_dialogs/web_dialog_delegate.h virtual void GetMinimumDialogSize(gfx::Size* size) const; gfx 124 ui/web_dialogs/web_dialog_delegate.h const gfx::Rect& initial_pos, gfx 128 ui/web_dialogs/web_dialog_delegate.h virtual void StoreDialogSize(const gfx::Size& dialog_size) {} gfx 25 ui/web_dialogs/web_dialog_ui.h namespace gfx { gfx 45 ui/web_dialogs/web_dialog_web_contents_delegate.cc WindowOpenDisposition disposition, const gfx::Rect& initial_pos, gfx 34 ui/web_dialogs/web_dialog_web_contents_delegate.h const gfx::Rect& initial_pos, gfx 62 ui/web_dialogs/web_dialog_web_contents_delegate.h const gfx::Rect& initial_pos, gfx 115 ui/wm/core/compound_event_filter.cc gfx::NativeCursor CompoundEventFilter::CursorForWindowComponent( gfx 163 ui/wm/core/compound_event_filter.cc gfx::NativeCursor cursor = target->GetCursor(event->location()); gfx 46 ui/wm/core/compound_event_filter.h static gfx::NativeCursor CursorForWindowComponent(int window_component); gfx 59 ui/wm/core/compound_event_filter_unittest.cc gfx::Rect(5, 5, 100, 100), root_window())); gfx 71 ui/wm/core/compound_event_filter_unittest.cc ui::MouseEvent enter(ui::ET_MOUSE_ENTERED, gfx::Point(10, 10), gfx 72 ui/wm/core/compound_event_filter_unittest.cc gfx::Point(10, 10), 0, 0); gfx 77 ui/wm/core/compound_event_filter_unittest.cc ui::MouseEvent move(ui::ET_MOUSE_MOVED, gfx::Point(10, 10), gfx 78 ui/wm/core/compound_event_filter_unittest.cc gfx::Point(10, 10), 0, 0); gfx 83 ui/wm/core/compound_event_filter_unittest.cc ui::MouseEvent real_move(ui::ET_MOUSE_MOVED, gfx::Point(10, 10), gfx 84 ui/wm/core/compound_event_filter_unittest.cc gfx::Point(10, 10), 0, 0); gfx 93 ui/wm/core/compound_event_filter_unittest.cc ui::MouseEvent exit(ui::ET_MOUSE_EXITED, gfx::Point(10, 10), gfx 94 ui/wm/core/compound_event_filter_unittest.cc gfx::Point(10, 10), 0, 0); gfx 109 ui/wm/core/compound_event_filter_unittest.cc gfx::Rect(5, 5, 100, 100), root_window())); gfx 115 ui/wm/core/compound_event_filter_unittest.cc ui::MouseEvent mouse0(ui::ET_MOUSE_MOVED, gfx::Point(10, 10), gfx 116 ui/wm/core/compound_event_filter_unittest.cc gfx::Point(10, 10), 0, 0); gfx 123 ui/wm/core/compound_event_filter_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(90, 90), 1, GetTime()); gfx 127 ui/wm/core/compound_event_filter_unittest.cc ui::TouchEvent move(ui::ET_TOUCH_MOVED, gfx::Point(10, 10), 1, GetTime()); gfx 132 ui/wm/core/compound_event_filter_unittest.cc ui::ET_TOUCH_RELEASED, gfx::Point(10, 10), 1, GetTime()); gfx 136 ui/wm/core/compound_event_filter_unittest.cc ui::MouseEvent mouse1(ui::ET_MOUSE_MOVED, gfx::Point(10, 10), gfx 137 ui/wm/core/compound_event_filter_unittest.cc gfx::Point(10, 10), 0, 0); gfx 144 ui/wm/core/compound_event_filter_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(90, 90), 1, GetTime()); gfx 163 ui/wm/core/compound_event_filter_unittest.cc gfx::Rect(5, 5, 100, 100), root_window())); gfx 171 ui/wm/core/compound_event_filter_unittest.cc aura::test::EventGenerator generator(root_window(), gfx::Point(50, 50)); gfx 188 ui/wm/core/compound_event_filter_unittest.cc gfx::Rect(5, 5, 100, 100), root_window())); gfx 215 ui/wm/core/compound_event_filter_unittest.cc gfx::Rect(5, 5, 100, 100), root_window())); gfx 223 ui/wm/core/compound_event_filter_unittest.cc ui::MouseEvent mouse0(ui::ET_MOUSE_MOVED, gfx::Point(10, 10), gfx 224 ui/wm/core/compound_event_filter_unittest.cc gfx::Point(10, 10), 0, 0); gfx 30 ui/wm/core/cursor_manager.cc gfx::NativeCursor cursor() const { return cursor_; } gfx 31 ui/wm/core/cursor_manager.cc void set_cursor(gfx::NativeCursor cursor) { cursor_ = cursor; } gfx 66 ui/wm/core/cursor_manager.cc gfx::NativeCursor cursor_; gfx 90 ui/wm/core/cursor_manager.cc void CursorManager::SetCursor(gfx::NativeCursor cursor) { gfx 98 ui/wm/core/cursor_manager.cc gfx::NativeCursor CursorManager::GetCursor() const { gfx 168 ui/wm/core/cursor_manager.cc void CursorManager::SetDisplay(const gfx::Display& display) { gfx 209 ui/wm/core/cursor_manager.cc void CursorManager::CommitCursor(gfx::NativeCursor cursor) { gfx 19 ui/wm/core/cursor_manager.h namespace gfx { gfx 42 ui/wm/core/cursor_manager.h virtual void SetCursor(gfx::NativeCursor) OVERRIDE; gfx 43 ui/wm/core/cursor_manager.h virtual gfx::NativeCursor GetCursor() const OVERRIDE; gfx 54 ui/wm/core/cursor_manager.h virtual void SetDisplay(const gfx::Display& display) OVERRIDE; gfx 65 ui/wm/core/cursor_manager.h virtual void CommitCursor(gfx::NativeCursor cursor) OVERRIDE; gfx 17 ui/wm/core/cursor_manager_unittest.cc const gfx::Display& display, gfx 21 ui/wm/core/cursor_manager_unittest.cc gfx::NativeCursor cursor, gfx 16 ui/wm/core/easy_resize_window_targeter.cc const gfx::Insets& mouse_extend, gfx 17 ui/wm/core/easy_resize_window_targeter.cc const gfx::Insets& touch_extend) gfx 32 ui/wm/core/easy_resize_window_targeter.cc gfx::Point point = event.location(); gfx 36 ui/wm/core/easy_resize_window_targeter.cc gfx::Rect bounds(window->bounds().size()); gfx 20 ui/wm/core/easy_resize_window_targeter.h const gfx::Insets& mouse_extend, gfx 21 ui/wm/core/easy_resize_window_targeter.h const gfx::Insets& touch_extend); gfx 26 ui/wm/core/easy_resize_window_targeter.h void set_mouse_extend(const gfx::Insets& mouse_extend) { gfx 30 ui/wm/core/easy_resize_window_targeter.h void set_touch_extend(const gfx::Insets& touch_extend) { gfx 45 ui/wm/core/easy_resize_window_targeter.h gfx::Insets mouse_extend_; gfx 46 ui/wm/core/easy_resize_window_targeter.h gfx::Insets touch_extend_; gfx 372 ui/wm/core/focus_controller_unittest.cc gfx::Rect(0, 0, 50, 50), root_window()); gfx 375 ui/wm/core/focus_controller_unittest.cc gfx::Rect(5, 5, 10, 10), w1); gfx 378 ui/wm/core/focus_controller_unittest.cc gfx::Rect(15, 15, 10, 10), w1); gfx 381 ui/wm/core/focus_controller_unittest.cc gfx::Rect(75, 75, 50, 50), root_window()); gfx 384 ui/wm/core/focus_controller_unittest.cc gfx::Rect(5, 5, 10, 10), w2); gfx 387 ui/wm/core/focus_controller_unittest.cc gfx::Rect(1, 1, 5, 5), w21); gfx 390 ui/wm/core/focus_controller_unittest.cc gfx::Rect(125, 125, 50, 50), root_window()); gfx 25 ui/wm/core/image_grid.cc gfx::RectF ImageGrid::TestAPI::GetTransformedLayerBounds( gfx 27 ui/wm/core/image_grid.cc gfx::RectF bounds = layer.bounds(); gfx 47 ui/wm/core/image_grid.cc void ImageGrid::SetImages(const gfx::Image* top_left_image, gfx 48 ui/wm/core/image_grid.cc const gfx::Image* top_image, gfx 49 ui/wm/core/image_grid.cc const gfx::Image* top_right_image, gfx 50 ui/wm/core/image_grid.cc const gfx::Image* left_image, gfx 51 ui/wm/core/image_grid.cc const gfx::Image* center_image, gfx 52 ui/wm/core/image_grid.cc const gfx::Image* right_image, gfx 53 ui/wm/core/image_grid.cc const gfx::Image* bottom_left_image, gfx 54 ui/wm/core/image_grid.cc const gfx::Image* bottom_image, gfx 55 ui/wm/core/image_grid.cc const gfx::Image* bottom_right_image) { gfx 88 ui/wm/core/image_grid.cc void ImageGrid::SetSize(const gfx::Size& size) { gfx 94 ui/wm/core/image_grid.cc gfx::Rect updated_bounds = layer_->bounds(); gfx 112 ui/wm/core/image_grid.cc gfx::Size center_size_in_pixels = gfx::ToFlooredSize(gfx::ScaleSize( gfx 113 ui/wm/core/image_grid.cc gfx::Size(center_width, center_height), layer_->device_scale_factor())); gfx 117 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 126 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 136 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 145 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 157 ui/wm/core/image_grid.cc LayerExceedsSize(top_left_layer_.get(), gfx::Size(left, top)) ? gfx 158 ui/wm/core/image_grid.cc gfx::Rect(gfx::Rect(0, 0, left, top)) : gfx 159 ui/wm/core/image_grid.cc gfx::Rect(), gfx 163 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 167 ui/wm/core/image_grid.cc LayerExceedsSize(top_right_layer_.get(), gfx::Size(right, top)) ? gfx 168 ui/wm/core/image_grid.cc gfx::Rect(top_right_layer_->bounds().width() - right, 0, gfx 170 ui/wm/core/image_grid.cc gfx::Rect(), gfx 174 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 179 ui/wm/core/image_grid.cc LayerExceedsSize(bottom_left_layer_.get(), gfx::Size(left, bottom)) ? gfx 180 ui/wm/core/image_grid.cc gfx::Rect(0, bottom_left_layer_->bounds().height() - bottom, gfx 182 ui/wm/core/image_grid.cc gfx::Rect(), gfx 186 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 192 ui/wm/core/image_grid.cc LayerExceedsSize(bottom_right_layer_.get(), gfx::Size(right, bottom)) ? gfx 193 ui/wm/core/image_grid.cc gfx::Rect(bottom_right_layer_->bounds().width() - right, gfx 196 ui/wm/core/image_grid.cc gfx::Rect(), gfx 202 ui/wm/core/image_grid.cc gfx::Transform transform; gfx 212 ui/wm/core/image_grid.cc void ImageGrid::SetContentBounds(const gfx::Rect& content_bounds) { gfx 214 ui/wm/core/image_grid.cc SetSize(gfx::Size( gfx 219 ui/wm/core/image_grid.cc gfx::Rect(content_bounds.x() - left_image_width_, gfx 225 ui/wm/core/image_grid.cc void ImageGrid::ImagePainter::SetClipRect(const gfx::Rect& clip_rect, gfx 233 ui/wm/core/image_grid.cc void ImageGrid::ImagePainter::OnPaintLayer(gfx::Canvas* canvas) { gfx 249 ui/wm/core/image_grid.cc gfx::Size ImageGrid::GetImageSize(const gfx::Image* image) { gfx 251 ui/wm/core/image_grid.cc gfx::Size(image->ToImageSkia()->width(), image->ToImageSkia()->height()) : gfx 252 ui/wm/core/image_grid.cc gfx::Size(); gfx 257 ui/wm/core/image_grid.cc const gfx::Size& size) { gfx 262 ui/wm/core/image_grid.cc void ImageGrid::SetImage(const gfx::Image* image, gfx 278 ui/wm/core/image_grid.cc const gfx::Size size = GetImageSize(image); gfx 279 ui/wm/core/image_grid.cc layer_ptr->get()->SetBounds(gfx::Rect(0, 0, size.width(), size.height())); gfx 288 ui/wm/core/image_grid.cc void ImageGrid::ScaleWidth(gfx::Size center, gfx 290 ui/wm/core/image_grid.cc gfx::Transform& transform) { gfx 297 ui/wm/core/image_grid.cc void ImageGrid::ScaleHeight(gfx::Size center, gfx 299 ui/wm/core/image_grid.cc gfx::Transform& transform) { gfx 17 ui/wm/core/image_grid.h namespace gfx { gfx 66 ui/wm/core/image_grid.h gfx::Rect top_left_clip_rect() const { gfx 69 ui/wm/core/image_grid.h gfx::Rect top_right_clip_rect() const { gfx 72 ui/wm/core/image_grid.h gfx::Rect bottom_left_clip_rect() const { gfx 75 ui/wm/core/image_grid.h gfx::Rect bottom_right_clip_rect() const { gfx 80 ui/wm/core/image_grid.h gfx::RectF GetTransformedLayerBounds(const ui::Layer& layer); gfx 111 ui/wm/core/image_grid.h void SetImages(const gfx::Image* top_left_image, gfx 112 ui/wm/core/image_grid.h const gfx::Image* top_image, gfx 113 ui/wm/core/image_grid.h const gfx::Image* top_right_image, gfx 114 ui/wm/core/image_grid.h const gfx::Image* left_image, gfx 115 ui/wm/core/image_grid.h const gfx::Image* center_image, gfx 116 ui/wm/core/image_grid.h const gfx::Image* right_image, gfx 117 ui/wm/core/image_grid.h const gfx::Image* bottom_left_image, gfx 118 ui/wm/core/image_grid.h const gfx::Image* bottom_image, gfx 119 ui/wm/core/image_grid.h const gfx::Image* bottom_right_image); gfx 121 ui/wm/core/image_grid.h void SetSize(const gfx::Size& size); gfx 125 ui/wm/core/image_grid.h void SetContentBounds(const gfx::Rect& content_bounds_in_dip); gfx 131 ui/wm/core/image_grid.h ImagePainter(const gfx::Image* image) : image_(image) {} gfx 136 ui/wm/core/image_grid.h void SetClipRect(const gfx::Rect& clip_rect, ui::Layer* layer); gfx 139 ui/wm/core/image_grid.h virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE; gfx 146 ui/wm/core/image_grid.h const gfx::Image* image_; // not owned gfx 148 ui/wm/core/image_grid.h gfx::Rect clip_rect_; gfx 154 ui/wm/core/image_grid.h static gfx::Size GetImageSize(const gfx::Image* image); gfx 157 ui/wm/core/image_grid.h static bool LayerExceedsSize(const ui::Layer* layer, const gfx::Size& size); gfx 162 ui/wm/core/image_grid.h void SetImage(const gfx::Image* image, gfx 169 ui/wm/core/image_grid.h void ScaleWidth(gfx::Size center, gfx 171 ui/wm/core/image_grid.h gfx::Transform& transform); gfx 172 ui/wm/core/image_grid.h void ScaleHeight(gfx::Size center, gfx 174 ui/wm/core/image_grid.h gfx::Transform& transform); gfx 180 ui/wm/core/image_grid.h gfx::Size size_; gfx 18 ui/wm/core/image_grid_unittest.cc gfx::Image* CreateImage(const gfx::Size& size) { gfx 21 ui/wm/core/image_grid_unittest.cc return new gfx::Image(gfx::ImageSkia::CreateFrom1xBitmap(bitmap)); gfx 34 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_1x1(CreateImage(gfx::Size(1, 1))); gfx 35 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_1xB(CreateImage(gfx::Size(1, kBorder))); gfx 36 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_Bx1(CreateImage(gfx::Size(kBorder, 1))); gfx 37 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_BxB(CreateImage(gfx::Size(kBorder, kBorder))); gfx 55 ui/wm/core/image_grid_unittest.cc const gfx::Size size(20, 30); gfx 59 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF(0, 0, kBorder, kBorder).ToString(), gfx 65 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 71 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF(size.width() - kBorder, 0, kBorder, kBorder).ToString(), gfx 77 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 83 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 91 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 99 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF(0, size.height() - kBorder, kBorder, kBorder).ToString(), gfx 105 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 113 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 126 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_1x1(CreateImage(gfx::Size(1, 1))); gfx 127 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_1xB(CreateImage(gfx::Size(1, kBorder))); gfx 128 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_Bx1(CreateImage(gfx::Size(kBorder, 1))); gfx 129 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image_BxB(CreateImage(gfx::Size(kBorder, kBorder))); gfx 138 ui/wm/core/image_grid_unittest.cc const gfx::Point origin(5, 10); gfx 139 ui/wm/core/image_grid_unittest.cc const gfx::Size size(20, 30); gfx 140 ui/wm/core/image_grid_unittest.cc grid.SetContentBounds(gfx::Rect(origin, size)); gfx 144 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF(origin.x() - kBorder, gfx 154 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image(CreateImage(gfx::Size(kBorder, kBorder))); gfx 172 ui/wm/core/image_grid_unittest.cc const gfx::Size kSize(10, 10); gfx 177 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF(0, 0, kSize.width(), kBorder).ToString(), gfx 186 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> image(CreateImage(gfx::Size(kBorder, kBorder))); gfx 228 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> top_left_image( gfx 229 ui/wm/core/image_grid_unittest.cc CreateImage(gfx::Size(kCorner, kCorner))); gfx 230 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> top_image(CreateImage(gfx::Size(kEdge, kEdge))); gfx 231 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> top_right_image( gfx 232 ui/wm/core/image_grid_unittest.cc CreateImage(gfx::Size(kCorner, kCorner))); gfx 233 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> left_image(CreateImage(gfx::Size(kEdge, kEdge))); gfx 234 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> right_image(CreateImage(gfx::Size(kEdge, kEdge))); gfx 242 ui/wm/core/image_grid_unittest.cc const gfx::Size kSize(20, 30); gfx 247 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 254 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 261 ui/wm/core/image_grid_unittest.cc EXPECT_EQ(gfx::RectF( gfx 275 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> top_left_image( gfx 276 ui/wm/core/image_grid_unittest.cc CreateImage(gfx::Size(kCorner, kCorner))); gfx 277 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> top_image(CreateImage(gfx::Size(kEdge, kEdge))); gfx 278 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> top_right_image( gfx 279 ui/wm/core/image_grid_unittest.cc CreateImage(gfx::Size(kCorner, kCorner))); gfx 280 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> left_image(CreateImage(gfx::Size(kEdge, kEdge))); gfx 281 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> center_image(CreateImage(gfx::Size(kCenter, kCenter))); gfx 282 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> right_image(CreateImage(gfx::Size(kEdge, kEdge))); gfx 283 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> bottom_left_image( gfx 284 ui/wm/core/image_grid_unittest.cc CreateImage(gfx::Size(kCorner, kCorner))); gfx 285 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> bottom_image(CreateImage(gfx::Size(kEdge, kEdge))); gfx 286 ui/wm/core/image_grid_unittest.cc scoped_ptr<gfx::Image> bottom_right_image( gfx 287 ui/wm/core/image_grid_unittest.cc CreateImage(gfx::Size(kCorner, kCorner))); gfx 297 ui/wm/core/image_grid_unittest.cc const gfx::Size kSmallSize(kCorner + kCorner - 3, kCorner + kCorner - 5); gfx 322 ui/wm/core/image_grid_unittest.cc const gfx::Size kLargeSize(kCorner + kCorner + kCenter, gfx 19 ui/wm/core/input_method_event_filter.cc InputMethodEventFilter::InputMethodEventFilter(gfx::AcceleratedWidget widget) gfx 29 ui/wm/core/input_method_event_filter.h explicit InputMethodEventFilter(gfx::AcceleratedWidget widget); gfx 66 ui/wm/core/input_method_event_filter_unittest.cc gfx::Rect(), gfx 22 ui/wm/core/masked_window_targeter.cc gfx::Path mask; gfx 26 ui/wm/core/masked_window_targeter.cc gfx::Size size = window->bounds().size(); gfx 30 ui/wm/core/masked_window_targeter.cc gfx::Point point = event.location(); gfx 11 ui/wm/core/masked_window_targeter.h namespace gfx { gfx 25 ui/wm/core/masked_window_targeter.h virtual bool GetHitTestMask(aura::Window* window, gfx::Path* mask) const = 0; gfx 12 ui/wm/core/native_cursor_manager.h namespace gfx { gfx 28 ui/wm/core/native_cursor_manager.h const gfx::Display& display, gfx 35 ui/wm/core/native_cursor_manager.h gfx::NativeCursor cursor, gfx 22 ui/wm/core/native_cursor_manager_delegate.h virtual gfx::NativeCursor GetCursor() const = 0; gfx 25 ui/wm/core/native_cursor_manager_delegate.h virtual void CommitCursor(gfx::NativeCursor cursor) = 0; gfx 69 ui/wm/core/shadow.cc void Shadow::SetContentBounds(const gfx::Rect& content_bounds) { gfx 188 ui/wm/core/shadow.cc gfx::Rect image_grid_bounds = content_bounds_; gfx 49 ui/wm/core/shadow.h const gfx::Rect& content_bounds() const { return content_bounds_; } gfx 53 ui/wm/core/shadow.h void SetContentBounds(const gfx::Rect& content_bounds); gfx 75 ui/wm/core/shadow.h gfx::Rect content_bounds_; gfx 95 ui/wm/core/shadow_controller.cc const gfx::Rect& old_bounds, gfx 96 ui/wm/core/shadow_controller.cc const gfx::Rect& new_bounds) OVERRIDE; gfx 168 ui/wm/core/shadow_controller.cc const gfx::Rect& old_bounds, gfx 169 ui/wm/core/shadow_controller.cc const gfx::Rect& new_bounds) { gfx 172 ui/wm/core/shadow_controller.cc shadow->SetContentBounds(gfx::Rect(new_bounds.size())); gfx 231 ui/wm/core/shadow_controller.cc shadow->SetContentBounds(gfx::Rect(window->bounds().size())); gfx 22 ui/wm/core/shadow_controller.h namespace gfx { gfx 103 ui/wm/core/shadow_controller_unittest.cc const gfx::Rect kOldBounds(20, 30, 400, 300); gfx 112 ui/wm/core/shadow_controller_unittest.cc EXPECT_EQ(gfx::Rect(kOldBounds.size()).ToString(), gfx 116 ui/wm/core/shadow_controller_unittest.cc gfx::Rect kNewBounds(50, 60, 500, 400); gfx 118 ui/wm/core/shadow_controller_unittest.cc EXPECT_EQ(gfx::Rect(kNewBounds.size()).ToString(), gfx 130 ui/wm/core/shadow_controller_unittest.cc window1->SetBounds(gfx::Rect(10, 20, 300, 400)); gfx 144 ui/wm/core/shadow_controller_unittest.cc window2->SetBounds(gfx::Rect(11, 21, 301, 401)); gfx 163 ui/wm/core/shadow_controller_unittest.cc tooltip_window->SetBounds(gfx::Rect(10, 20, 300, 400)); gfx 174 ui/wm/core/shadow_controller_unittest.cc menu_window->SetBounds(gfx::Rect(10, 20, 300, 400)); gfx 191 ui/wm/core/shadow_controller_unittest.cc window1->SetBounds(gfx::Rect(10, 20, 300, 400)); gfx 207 ui/wm/core/shadow_controller_unittest.cc window2->SetBounds(gfx::Rect(11, 21, 301, 401)); gfx 74 ui/wm/core/transient_window_manager_unittest.cc aura::client::ParentWindowWithContext(window, root_window(), gfx::Rect()); gfx 414 ui/wm/core/transient_window_manager_unittest.cc const gfx::Rect& requested_bounds) OVERRIDE { gfx 91 ui/wm/core/user_activity_detector_unittest.cc ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), ui::EF_NONE, ui::EF_NONE); gfx 132 ui/wm/core/user_activity_detector_unittest.cc ui::ET_TOUCH_PRESSED, gfx::Point(), 0, base::TimeDelta()); gfx 191 ui/wm/core/user_activity_detector_unittest.cc ui::ET_MOUSE_MOVED, gfx::Point(), gfx::Point(), ui::EF_IS_SYNTHESIZED, gfx 35 ui/wm/core/visibility_controller_unittest.cc &d, -2, gfx::Rect(0, 0, 50, 50), root_window())); gfx 148 ui/wm/core/window_animations.cc void GetTransformRelativeToRoot(ui::Layer* layer, gfx::Transform* transform) { gfx 155 ui/wm/core/window_animations.cc gfx::Rect GetLayerWorldBoundsAfterTransform(ui::Layer* layer, gfx 156 ui/wm/core/window_animations.cc const gfx::Transform& transform) { gfx 157 ui/wm/core/window_animations.cc gfx::Transform in_world = transform; gfx 160 ui/wm/core/window_animations.cc gfx::RectF transformed = layer->bounds(); gfx 163 ui/wm/core/window_animations.cc return gfx::ToEnclosingRect(transformed); gfx 169 ui/wm/core/window_animations.cc const gfx::Transform& end_transform) { gfx 175 ui/wm/core/window_animations.cc const gfx::Rect& world_at_start = window->bounds(); gfx 176 ui/wm/core/window_animations.cc gfx::Rect world_at_end = gfx 178 ui/wm/core/window_animations.cc gfx::Rect union_in_window_space = gfx 179 ui/wm/core/window_animations.cc gfx::UnionRects(world_at_start, world_at_end); gfx 183 ui/wm/core/window_animations.cc gfx::Vector2d top_left_delta(world_at_start.x() - union_in_window_space.x(), gfx 186 ui/wm/core/window_animations.cc gfx::Vector2d bottom_right_delta( gfx 202 ui/wm/core/window_animations.cc const gfx::Transform& start_transform, gfx 203 ui/wm/core/window_animations.cc const gfx::Transform& end_transform) { gfx 225 ui/wm/core/window_animations.cc const gfx::Transform& end_transform) { gfx 239 ui/wm/core/window_animations.cc static gfx::Transform GetScaleForWindow(aura::Window* window) { gfx 240 ui/wm/core/window_animations.cc gfx::Rect bounds = window->bounds(); gfx 241 ui/wm/core/window_animations.cc gfx::Transform scale = gfx::GetScaleTransform( gfx 242 ui/wm/core/window_animations.cc gfx::Point(kWindowAnimation_TranslateFactor * bounds.width(), gfx 250 ui/wm/core/window_animations.cc AnimateShowWindowCommon(window, GetScaleForWindow(window), gfx::Transform()); gfx 259 ui/wm/core/window_animations.cc gfx::Transform transform; gfx 262 ui/wm/core/window_animations.cc AnimateShowWindowCommon(window, transform, gfx::Transform()); gfx 266 ui/wm/core/window_animations.cc gfx::Transform transform; gfx 274 ui/wm/core/window_animations.cc AnimateShowWindowCommon(window, gfx::Transform(), gfx::Transform()); gfx 278 ui/wm/core/window_animations.cc AnimateHideWindowCommon(window, gfx::Transform()); gfx 284 ui/wm/core/window_animations.cc gfx::Point3F(kWindowAnimation_Bounce_Scale, gfx 287 ui/wm/core/window_animations.cc gfx::Point3F(1, 1, 1))); gfx 290 ui/wm/core/window_animations.cc gfx::Point(window->bounds().width() * 0.5, gfx 300 ui/wm/core/window_animations.cc transition->set_tween_type(grow ? gfx::Tween::EASE_OUT : gfx::Tween::EASE_IN); gfx 342 ui/wm/core/window_animations.cc opacity->set_tween_type(gfx::Tween::EASE_IN_OUT); gfx 348 ui/wm/core/window_animations.cc gfx::Transform transform; gfx 359 ui/wm/core/window_animations.cc gfx::Point(xcenter, kWindowAnimation_Rotate_TranslateY), gfx 363 ui/wm/core/window_animations.cc new ui::InterpolatedTranslation(gfx::Point(), gfx::Point( gfx 368 ui/wm/core/window_animations.cc gfx::Vector3dF(1, 0, 0), 0, kWindowAnimation_Rotate_DegreesX)); gfx 399 ui/wm/core/window_animations.cc window->layer()->SetTransform(gfx::Transform()); gfx 428 ui/wm/core/window_animations.cc window->layer()->SetTransform(gfx::Transform()); gfx 602 ui/wm/core/window_animations.cc return (!gfx::Animation::ShouldRenderRichAnimation() || (window && gfx 19 ui/wm/core/window_animations.h namespace gfx { gfx 91 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); gfx 113 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); gfx 124 ui/wm/core/window_animations_unittest.cc EXPECT_EQ(gfx::Transform(), window->layer()->transform()); gfx 266 ui/wm/core/window_animations_unittest.cc const gfx::Vector2d& top_left, gfx 267 ui/wm/core/window_animations_unittest.cc const gfx::Vector2d& bottom_right) OVERRIDE {} gfx 11 ui/wm/public/animation_host.h namespace gfx { gfx 31 ui/wm/public/animation_host.h const gfx::Vector2d& top_left_delta, gfx 32 ui/wm/public/animation_host.h const gfx::Vector2d& bottom_right_delta) = 0; gfx 12 ui/wm/public/drag_drop_client.h namespace gfx { gfx 36 ui/wm/public/drag_drop_client.h const gfx::Point& root_location, gfx 11 ui/wm/public/window_move_client.h namespace gfx { gfx 38 ui/wm/public/window_move_client.h const gfx::Vector2d& drag_offset, gfx 22 ui/wm/test/run_all_unittests.cc gfx::GLSurface::InitializeOneOffForTests(); gfx 17 ui/wm/test/wm_test_helper.cc WMTestHelper::WMTestHelper(const gfx::Size& default_window_size) { gfx 19 ui/wm/test/wm_test_helper.cc host_.reset(aura::WindowTreeHost::Create(gfx::Rect(default_window_size))); gfx 48 ui/wm/test/wm_test_helper.cc const gfx::Rect& bounds) { gfx 23 ui/wm/test/wm_test_helper.h namespace gfx { gfx 40 ui/wm/test/wm_test_helper.h explicit WMTestHelper(const gfx::Size& default_window_size); gfx 48 ui/wm/test/wm_test_helper.h const gfx::Rect& bounds) OVERRIDE; gfx 77 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::AcceleratedWidget window) { gfx 78 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone); gfx 99 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::kNullAcceleratedWidget)); gfx 113 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::kNullAcceleratedWidget /* window. Not used. */)); gfx 122 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::AcceleratedWidget window) gfx 168 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::GpuPreference gpu_preference = gfx::PreferDiscreteGpu; gfx 178 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc gfx::Size(1, 1), gfx 56 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h gfx::AcceleratedWidget window); gfx 578 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h gfx::AcceleratedWidget window); gfx 590 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h gfx::AcceleratedWidget window_; gfx 43 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Point ScrollbarImpl::Location() const { gfx 48 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect thumb_rect = geometry_->thumbRect(scrollbar_.get()); gfx 55 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect thumb_rect = geometry_->thumbRect(scrollbar_.get()); gfx 61 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect ScrollbarImpl::TrackRect() const { gfx 67 webkit/renderer/compositor_bindings/scrollbar_impl.cc const gfx::Rect& content_rect) { gfx 77 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect back_button_start_paint_rect = gfx 81 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect back_button_end_paint_rect = gfx 85 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect forward_button_start_paint_rect = gfx 90 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect forward_button_end_paint_rect = gfx 95 webkit/renderer/compositor_bindings/scrollbar_impl.cc gfx::Rect track_paint_rect = geometry_->trackRect(scrollbar_.get()); gfx 32 webkit/renderer/compositor_bindings/scrollbar_impl.h virtual gfx::Point Location() const OVERRIDE; gfx 35 webkit/renderer/compositor_bindings/scrollbar_impl.h virtual gfx::Rect TrackRect() const OVERRIDE; gfx 38 webkit/renderer/compositor_bindings/scrollbar_impl.h const gfx::Rect& content_rect) OVERRIDE; gfx 57 webkit/renderer/compositor_bindings/web_content_layer_impl.cc const gfx::Rect& clip, gfx 58 webkit/renderer/compositor_bindings/web_content_layer_impl.cc gfx::RectF* opaque) { gfx 40 webkit/renderer/compositor_bindings/web_content_layer_impl.h const gfx::Rect& clip, gfx 41 webkit/renderer/compositor_bindings/web_content_layer_impl.h gfx::RectF* opaque) OVERRIDE; gfx 29 webkit/renderer/compositor_bindings/web_image_layer_impl.cc gfx::Size(bitmap.width(), bitmap.height())); gfx 164 webkit/renderer/compositor_bindings/web_layer_impl.cc gfx::Transform transform; gfx 249 webkit/renderer/compositor_bindings/web_layer_impl.cc layer_->SetScrollOffset(gfx::Point(position).OffsetFromOrigin()); gfx 253 webkit/renderer/compositor_bindings/web_layer_impl.cc return gfx::PointAtOffsetFromOrigin(layer_->scroll_offset()); gfx 42 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc if (original_bounds_ != gfx::Size(bounds)) { gfx 53 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc gfx::Transform transform; gfx 62 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc void WebLayerImplFixedBounds::SetFixedBounds(gfx::Size fixed_bounds) { gfx 70 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc const gfx::Transform& transform) { gfx 91 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc gfx::Transform transform_with_bounds_scale(original_transform_); gfx 34 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h WEBKIT_COMPOSITOR_BINDINGS_EXPORT void SetFixedBounds(gfx::Size bounds); gfx 37 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h void SetTransformInternal(const gfx::Transform& transform); gfx 40 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h gfx::Transform original_transform_; gfx 41 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h gfx::Size original_bounds_; gfx 42 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h gfx::Size fixed_bounds_; gfx 26 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc layer->SetFixedBounds(gfx::Size(100, 100)); gfx 29 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_EQ(gfx::Size(100, 100), layer->layer()->bounds()); gfx 30 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc EXPECT_EQ(gfx::Transform(), layer->layer()->transform()); gfx 33 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::Point3F TransformPoint(const gfx::Transform& transform, gfx 34 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc const gfx::Point3F& point) { gfx 35 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::Point3F result = point; gfx 42 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc const gfx::Size& fixed_bounds) { gfx 51 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::Point3F original_point(10, 20, 1); gfx 52 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::Point3F scaled_point( gfx 65 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc CheckBoundsScaleSimple(layer.get(), WebSize(100, 200), gfx::Size(150, 250)); gfx 67 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc CheckBoundsScaleSimple(layer.get(), WebSize(100, 200), gfx::Size(75, 100)); gfx 69 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc CheckBoundsScaleSimple(layer.get(), WebSize(300, 100), gfx::Size(75, 100)); gfx 73 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::RectF layer1_rect_in_target(layer1->content_bounds()); gfx 76 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::RectF layer2_rect_in_target(layer2->content_bounds()); gfx 83 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc const gfx::Transform& transform) { gfx 84 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc const gfx::Size kDeviceViewportSize(800, 600); gfx 90 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::Size fixed_bounds(160, 70); gfx 128 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc fixed_bounds_layer->SetFixedBounds(gfx::Size(fixed_bounds.width() / 2, gfx 149 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::Transform()); gfx 155 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc gfx::Transform transform; gfx 159 webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc transform.RotateAbout(gfx::Vector3dF(33, 44, 55), 99); gfx 42 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc nine_patch->SetAperture(gfx::Rect(aperture)); gfx 48 webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.cc nine_patch->SetBorder(gfx::Rect(border)); gfx 21 webkit/renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.cc gfx::Vector2dF(target_value.x, target_value.y), gfx 33 webkit/renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.cc curve_->SetInitialValue(gfx::Vector2dF(initial_value.x, initial_value.y)); gfx 37 webkit/renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.cc gfx::Vector2dF value = curve_->GetValue(time); gfx 51 webkit/renderer/compositor_bindings/web_transform_operations_impl.cc gfx::Transform transform(gfx::Transform::kSkipInitialization); gfx 672 win8/metro_driver/chrome_app_view_ash.cc gfx::NativeViewId(core_window_hwnd_))); gfx 65 win8/viewer/metro_viewer_process_host.h virtual void OnSetTargetSurface(gfx::NativeViewId target_surface) = 0;