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

Side by Side Diff: ash/display/screen_position_controller.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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
« no previous file with comments | « ash/display/screen_ash.cc ('k') | ash/display/shared_display_edge_indicator.h » ('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_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_
6 #define ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ 6 #define ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "ui/aura/client/screen_position_client.h" 11 #include "ui/aura/client/screen_position_client.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 class ScreenPositionController : public aura::client::ScreenPositionClient { 15 class ScreenPositionController : public aura::client::ScreenPositionClient {
16 public: 16 public:
17 // Finds the root window at |location| in |window|'s coordinates 17 // Finds the root window at |location| in |window|'s coordinates
18 // from given |root_windows| and returns the found root window and 18 // from given |root_windows| and returns the found root window and
19 // location in that root window's coordinates. The function usually 19 // location in that root window's coordinates. The function usually
20 // returns |window->GetRootWindow()|, but if the mouse pointer is 20 // returns |window->GetRootWindow()|, but if the mouse pointer is
(...skipping 19 matching lines...) Expand all
40 const gfx::Rect& bounds, 40 const gfx::Rect& bounds,
41 const gfx::Display& display) override; 41 const gfx::Display& display) override;
42 42
43 private: 43 private:
44 DISALLOW_COPY_AND_ASSIGN(ScreenPositionController); 44 DISALLOW_COPY_AND_ASSIGN(ScreenPositionController);
45 }; 45 };
46 46
47 } // namespace ash 47 } // namespace ash
48 48
49 #endif // ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ 49 #endif // ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/screen_ash.cc ('k') | ash/display/shared_display_edge_indicator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698