Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3004)

Unified Diff: ash/display/screen_ash.h

Issue 737093003: [Cleanup] Remove unused static methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/display/screen_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/screen_ash.h
diff --git a/ash/display/screen_ash.h b/ash/display/screen_ash.h
index 859cb400e00c7115240b8b04f161ca69f7e57d03..d30ad3607439500d209287879ace528ca258cfb9 100644
--- a/ash/display/screen_ash.h
+++ b/ash/display/screen_ash.h
@@ -27,39 +27,6 @@ class ASH_EXPORT ScreenAsh : public gfx::Screen {
ScreenAsh();
~ScreenAsh() override;
- // Finds the display that contains |point| in screeen coordinates.
- // Returns invalid display if there is no display that can satisfy
- // the condition.
- static gfx::Display FindDisplayContainingPoint(const gfx::Point& point);
-
- // Returns the bounds for maximized windows in parent coordinates.
- // Maximized windows trigger auto-hiding the shelf.
- static gfx::Rect GetMaximizedWindowBoundsInParent(aura::Window* window);
-
- // Returns the display bounds in parent coordinates.
- static gfx::Rect GetDisplayBoundsInParent(aura::Window* window);
-
- // Returns the display's work area bounds in parent coordinates.
- static gfx::Rect GetDisplayWorkAreaBoundsInParent(aura::Window* window);
-
- // Converts |rect| from |window|'s coordinates to the virtual screen
- // coordinates.
- static gfx::Rect ConvertRectToScreen(aura::Window* window,
- const gfx::Rect& rect);
-
- // Converts |rect| from virtual screen coordinates to the |window|'s
- // coordinates.
- static gfx::Rect ConvertRectFromScreen(aura::Window* window,
- const gfx::Rect& rect);
-
- // Returns a gfx::Display object for secondary display. Returns
- // invalid display if there is no secondary display connected.
- static const gfx::Display& GetSecondaryDisplay();
-
- // Returns a gfx::Display object for the specified id. Returns
- // invalid display if no such display is connected.
- static const gfx::Display& GetDisplayForId(int64 display_id);
-
// gfx::Screen overrides:
gfx::Point GetCursorScreenPoint() override;
gfx::NativeWindow GetWindowUnderCursor() override;
« no previous file with comments | « no previous file | ash/display/screen_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698