OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_METRICS_UI_SCREEN_INFO_METRICS_PROVIDER_H_ | 5 #ifndef COMPONENTS_METRICS_UI_SCREEN_INFO_METRICS_PROVIDER_H_ |
6 #define COMPONENTS_METRICS_UI_SCREEN_INFO_METRICS_PROVIDER_H_ | 6 #define COMPONENTS_METRICS_UI_SCREEN_INFO_METRICS_PROVIDER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "components/metrics/metrics_provider.h" | 9 #include "components/metrics/metrics_provider.h" |
10 #include "ui/gfx/geometry/size.h" | 10 #include "ui/gfx/geometry/size.h" |
11 | 11 |
12 namespace metrics { | 12 namespace metrics { |
13 | 13 |
14 // ScreenInfoMetricsProvider provides metrics related to screen info. | 14 // ScreenInfoMetricsProvider provides metrics related to screen info. |
15 class ScreenInfoMetricsProvider : public MetricsProvider { | 15 class ScreenInfoMetricsProvider : public MetricsProvider { |
16 public: | 16 public: |
17 ScreenInfoMetricsProvider(); | 17 ScreenInfoMetricsProvider(); |
18 ~ScreenInfoMetricsProvider() override; | 18 ~ScreenInfoMetricsProvider() override; |
(...skipping 14 matching lines...) Expand all Loading... |
33 // Returns the number of monitors the user is using. | 33 // Returns the number of monitors the user is using. |
34 virtual int GetScreenCount() const; | 34 virtual int GetScreenCount() const; |
35 | 35 |
36 private: | 36 private: |
37 DISALLOW_COPY_AND_ASSIGN(ScreenInfoMetricsProvider); | 37 DISALLOW_COPY_AND_ASSIGN(ScreenInfoMetricsProvider); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace metrics | 40 } // namespace metrics |
41 | 41 |
42 #endif // COMPONENTS_METRICS_UI_SCREEN_INFO_METRICS_PROVIDER_H_ | 42 #endif // COMPONENTS_METRICS_UI_SCREEN_INFO_METRICS_PROVIDER_H_ |
OLD | NEW |