Lines Matching refs:gfx
7 #include "ui/gfx/native_widget_types.h"
8 #include "ui/gfx/rect_conversions.h"
14 return new ScreenMojo(gfx::Rect(0, 0, 800, 600));
25 gfx::Point ScreenMojo::GetCursorScreenPoint() {
27 return gfx::Point();
30 gfx::NativeWindow ScreenMojo::GetWindowUnderCursor() {
34 gfx::NativeWindow ScreenMojo::GetWindowAtScreenPoint(const gfx::Point& point) {
43 std::vector<gfx::Display> ScreenMojo::GetAllDisplays() const {
44 return std::vector<gfx::Display>(1, display_);
47 gfx::Display ScreenMojo::GetDisplayNearestWindow(
48 gfx::NativeWindow window) const {
52 gfx::Display ScreenMojo::GetDisplayNearestPoint(const gfx::Point& point) const {
56 gfx::Display ScreenMojo::GetDisplayMatching(const gfx::Rect& match_rect) const {
60 gfx::Display ScreenMojo::GetPrimaryDisplay() const {
64 void ScreenMojo::AddObserver(gfx::DisplayObserver* observer) {
67 void ScreenMojo::RemoveObserver(gfx::DisplayObserver* observer) {
70 ScreenMojo::ScreenMojo(const gfx::Rect& screen_bounds) {