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

Side by Side Diff: ash/screen_ash.h

Issue 10540123: Rename gfx::Screen::GetMonitorXXXX to gfx::Screen::GetDisplayXXX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/monitor/multi_monitor_manager_unittest.cc ('k') | ash/screen_ash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SCREEN_ASH_H_ 5 #ifndef ASH_SCREEN_ASH_H_
6 #define ASH_SCREEN_ASH_H_ 6 #define ASH_SCREEN_ASH_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 14 matching lines...) Expand all
25 // auto-hiding the shelf. 25 // auto-hiding the shelf.
26 static gfx::Rect GetMaximizedWindowBounds(aura::Window* window); 26 static gfx::Rect GetMaximizedWindowBounds(aura::Window* window);
27 27
28 // Returns work area when a maximized window is not present. 28 // Returns work area when a maximized window is not present.
29 static gfx::Rect GetUnmaximizedWorkAreaBounds(aura::Window* window); 29 static gfx::Rect GetUnmaximizedWorkAreaBounds(aura::Window* window);
30 30
31 protected: 31 protected:
32 virtual gfx::Point GetCursorScreenPoint() OVERRIDE; 32 virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
33 virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE; 33 virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE;
34 34
35 virtual int GetNumMonitors() OVERRIDE; 35 virtual int GetNumDisplays() OVERRIDE;
36 virtual gfx::Display GetMonitorNearestWindow( 36 virtual gfx::Display GetDisplayNearestWindow(
37 gfx::NativeView view) const OVERRIDE; 37 gfx::NativeView view) const OVERRIDE;
38 virtual gfx::Display GetMonitorNearestPoint( 38 virtual gfx::Display GetDisplayNearestPoint(
39 const gfx::Point& point) const OVERRIDE; 39 const gfx::Point& point) const OVERRIDE;
40 virtual gfx::Display GetPrimaryMonitor() const OVERRIDE; 40 virtual gfx::Display GetPrimaryDisplay() const OVERRIDE;
41 41
42 private: 42 private:
43 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); 43 DISALLOW_COPY_AND_ASSIGN(ScreenAsh);
44 }; 44 };
45 45
46 } // namespace ash 46 } // namespace ash
47 47
48 #endif // ASH_SCREEN_ASH_H_ 48 #endif // ASH_SCREEN_ASH_H_
OLDNEW
« no previous file with comments | « ash/monitor/multi_monitor_manager_unittest.cc ('k') | ash/screen_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698