| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ |
| 6 #define UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ | 6 #define UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 DisplayStateList cached_displays_; | 396 DisplayStateList cached_displays_; |
| 397 | 397 |
| 398 // Most-recently-used framebuffer size. | 398 // Most-recently-used framebuffer size. |
| 399 gfx::Size framebuffer_size_; | 399 gfx::Size framebuffer_size_; |
| 400 | 400 |
| 401 base::ObserverList<Observer> observers_; | 401 base::ObserverList<Observer> observers_; |
| 402 | 402 |
| 403 // The timer to delay configuring displays. This is used to aggregate multiple | 403 // The timer to delay configuring displays. This is used to aggregate multiple |
| 404 // display configuration events when they are reported in short time spans. | 404 // display configuration events when they are reported in short time spans. |
| 405 // See comment for NativeDisplayEventDispatcherX11 for more details. | 405 // See comment for NativeDisplayEventDispatcherX11 for more details. |
| 406 base::OneShotTimer<DisplayConfigurator> configure_timer_; | 406 base::OneShotTimer configure_timer_; |
| 407 | 407 |
| 408 // Id for next display protection client. | 408 // Id for next display protection client. |
| 409 ContentProtectionClientId next_display_protection_client_id_; | 409 ContentProtectionClientId next_display_protection_client_id_; |
| 410 | 410 |
| 411 // Display protection requests of each client. | 411 // Display protection requests of each client. |
| 412 ProtectionRequests client_protection_requests_; | 412 ProtectionRequests client_protection_requests_; |
| 413 | 413 |
| 414 // Display controlled by an external entity. | 414 // Display controlled by an external entity. |
| 415 bool display_externally_controlled_; | 415 bool display_externally_controlled_; |
| 416 | 416 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 427 | 427 |
| 428 // This must be the last variable. | 428 // This must be the last variable. |
| 429 base::WeakPtrFactory<DisplayConfigurator> weak_ptr_factory_; | 429 base::WeakPtrFactory<DisplayConfigurator> weak_ptr_factory_; |
| 430 | 430 |
| 431 DISALLOW_COPY_AND_ASSIGN(DisplayConfigurator); | 431 DISALLOW_COPY_AND_ASSIGN(DisplayConfigurator); |
| 432 }; | 432 }; |
| 433 | 433 |
| 434 } // namespace ui | 434 } // namespace ui |
| 435 | 435 |
| 436 #endif // UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ | 436 #endif // UI_DISPLAY_CHROMEOS_DISPLAY_CONFIGURATOR_H_ |
| OLD | NEW |