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

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

Issue 685793002: Move all event related devices from ui/events/ to ui/events/devices/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internal-touchscreens
Patch Set: fix ozone 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 unified diff | Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/display/display_change_observer_chromeos.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H_
6 #define ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H_ 6 #define ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/shell_observer.h" 11 #include "ash/shell_observer.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "ui/display/chromeos/display_configurator.h" 13 #include "ui/display/chromeos/display_configurator.h"
14 #include "ui/events/input_device_event_observer.h" 14 #include "ui/events/devices/input_device_event_observer.h"
15 15
16 namespace ash { 16 namespace ash {
17 17
18 class DisplayInfo; 18 class DisplayInfo;
19 struct DisplayMode; 19 struct DisplayMode;
20 20
21 // An object that observes changes in display configuration and 21 // An object that observes changes in display configuration and
22 // update DisplayManagers. 22 // update DisplayManagers.
23 class DisplayChangeObserver : public ui::DisplayConfigurator::StateController, 23 class DisplayChangeObserver : public ui::DisplayConfigurator::StateController,
24 public ui::DisplayConfigurator::Observer, 24 public ui::DisplayConfigurator::Observer,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Exposed for testing. 57 // Exposed for testing.
58 ASH_EXPORT static float FindDeviceScaleFactor(float dpi); 58 ASH_EXPORT static float FindDeviceScaleFactor(float dpi);
59 59
60 private: 60 private:
61 DISALLOW_COPY_AND_ASSIGN(DisplayChangeObserver); 61 DISALLOW_COPY_AND_ASSIGN(DisplayChangeObserver);
62 }; 62 };
63 63
64 } // namespace ash 64 } // namespace ash
65 65
66 #endif // ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H_ 66 #endif // ASH_DISPLAY_DISPLAY_CHANGE_OBSERVER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/display/display_change_observer_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698