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

Side by Side Diff: ash/screen_ash.h

Issue 10827022: Fix coordinates in tab detach &drag code and multi window resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 5 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 | « no previous file | ash/wm/toplevel_window_event_filter.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_SCREEN_ASH_H_ 5 #ifndef ASH_SCREEN_ASH_H_
6 #define ASH_SCREEN_ASH_H_ 6 #define ASH_SCREEN_ASH_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/gfx/insets.h"
11 #include "ui/gfx/rect.h"
12 #include "ui/gfx/screen_impl.h" 10 #include "ui/gfx/screen_impl.h"
13 11
12 namespace gfx {
13 class Rect;
14 }
15
14 namespace ash { 16 namespace ash {
15 17
16 // Aura implementation of gfx::Screen. Implemented here to avoid circular 18 // Aura implementation of gfx::Screen. Implemented here to avoid circular
17 // dependencies. 19 // dependencies.
18 class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl { 20 class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl {
19 public: 21 public:
20 ScreenAsh(); 22 ScreenAsh();
21 virtual ~ScreenAsh(); 23 virtual ~ScreenAsh();
22 24
23 // Returns the bounds for maximized windows in parent coordinates. 25 // Returns the bounds for maximized windows in parent coordinates.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const gfx::Rect& match_rect) const OVERRIDE; 59 const gfx::Rect& match_rect) const OVERRIDE;
58 virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; 60 virtual gfx::Display GetPrimaryDisplay() const OVERRIDE;
59 61
60 private: 62 private:
61 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); 63 DISALLOW_COPY_AND_ASSIGN(ScreenAsh);
62 }; 64 };
63 65
64 } // namespace ash 66 } // namespace ash
65 67
66 #endif // ASH_SCREEN_ASH_H_ 68 #endif // ASH_SCREEN_ASH_H_
OLDNEW
« no previous file with comments | « no previous file | ash/wm/toplevel_window_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698