mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 2b3ae3b8 (#394939)
This commit is contained in:
@@ -11,8 +11,11 @@
|
||||
|
||||
#include "ui/views/view.h"
|
||||
|
||||
namespace gfx {
|
||||
namespace display {
|
||||
class Display;
|
||||
}
|
||||
|
||||
namespace gfx {
|
||||
class Point;
|
||||
}
|
||||
|
||||
@@ -70,14 +73,14 @@ CefRefPtr<CefWindow> GetWindowFor(views::Widget* widget);
|
||||
|
||||
// Returns the Display nearest |point|. Set |input_pixel_coords| to true if
|
||||
// |point| is in pixel coordinates instead of density independent pixels (DIP).
|
||||
gfx::Display GetDisplayNearestPoint(const gfx::Point& point,
|
||||
bool input_pixel_coords);
|
||||
display::Display GetDisplayNearestPoint(const gfx::Point& point,
|
||||
bool input_pixel_coords);
|
||||
|
||||
// Returns the Display that most closely intersects |bounds|. Set
|
||||
// |input_pixel_coords| to true if |bounds| is in pixel coordinates instead of
|
||||
// density independent pixels (DIP).
|
||||
gfx::Display GetDisplayMatchingBounds(const gfx::Rect& bounds,
|
||||
bool input_pixel_coords);
|
||||
display::Display GetDisplayMatchingBounds(const gfx::Rect& bounds,
|
||||
bool input_pixel_coords);
|
||||
|
||||
// Convert |point| from pixel coordinates to density independent pixels (DIP)
|
||||
// using |device_scale_factor|.
|
||||
|
Reference in New Issue
Block a user