Chromium Code Reviews| Index: ash/display/display_manager.h |
| diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h |
| index f865ba9f877dcb35770bfdbedc284881272c21bd..4f6b30fb87ad581cfa3ff03ea5e634023980f51b 100644 |
| --- a/ash/display/display_manager.h |
| +++ b/ash/display/display_manager.h |
| @@ -245,12 +245,12 @@ class ASH_EXPORT DisplayManager |
| // displays that will be removed if |UpdateDisplaysWith| is currently |
| // executing. |
| // See https://crbug.com/632755 |
| - const display::DisplayList& active_only_display_list() const { |
| + const display::Displays& active_only_display_list() const { |
|
msw
2016/09/06 20:14:27
I can rename identifiers using the Displays type i
|
| return is_updating_display_list_ ? active_only_display_list_ |
| : active_display_list(); |
| } |
| - const display::DisplayList& active_display_list() const { |
| + const display::Displays& active_display_list() const { |
| return active_display_list_; |
| } |
| @@ -265,7 +265,7 @@ class ASH_EXPORT DisplayManager |
| // Returns the mirroring status. |
| bool IsInMirrorMode() const; |
| int64_t mirroring_display_id() const { return mirroring_display_id_; } |
| - const display::DisplayList& software_mirroring_display_list() const { |
| + const display::Displays& software_mirroring_display_list() const { |
| return software_mirroring_display_list_; |
| } |
| @@ -406,7 +406,7 @@ class ASH_EXPORT DisplayManager |
| // the layout registered for the display pair. For more than 2 displays, |
| // the bounds are updated using horizontal layout. |
| void UpdateNonPrimaryDisplayBoundsForLayout( |
| - display::DisplayList* display_list, |
| + display::Displays* display_list, |
| std::vector<size_t>* updated_indices); |
| void CreateMirrorWindowIfAny(); |
| @@ -416,7 +416,7 @@ class ASH_EXPORT DisplayManager |
| // Applies the |layout| and updates the bounds of displays in |display_list|. |
| // |updated_ids| contains the ids for displays whose bounds have changed. |
| void ApplyDisplayLayout(const display::DisplayLayout& layout, |
| - display::DisplayList* display_list, |
| + display::Displays* display_list, |
| std::vector<int64_t>* updated_ids); |
| Delegate* delegate_; // not owned. |
| @@ -428,11 +428,11 @@ class ASH_EXPORT DisplayManager |
| int64_t first_display_id_; |
| // List of current active displays. |
| - display::DisplayList active_display_list_; |
| + display::Displays active_display_list_; |
| // This list does not include the displays that will be removed if |
| // |UpdateDisplaysWith| is under execution. |
| // See https://crbug.com/632755 |
| - display::DisplayList active_only_display_list_; |
| + display::Displays active_only_display_list_; |
| // True if active_display_list is being modified and has displays that are not |
| // presently active. |
| @@ -460,7 +460,7 @@ class ASH_EXPORT DisplayManager |
| MultiDisplayMode current_default_multi_display_mode_; |
| int64_t mirroring_display_id_; |
| - display::DisplayList software_mirroring_display_list_; |
| + display::Displays software_mirroring_display_list_; |
| // User preference for rotation lock of the internal display. |
| bool registered_internal_display_rotation_lock_; |