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

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

Issue 789583002: Updates subpixel positioning and hinting when DSF is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 6 years 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 | « no previous file | ash/display/display_manager.cc » ('j') | ui/gfx/platform_font_pango.h » ('J')
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_DISPLAY_DISPLAY_MANAGER_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_MANAGER_H_
6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_ 6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 // Initializes displays using command line flag. Returns false 116 // Initializes displays using command line flag. Returns false
117 // if no command line flag was provided. 117 // if no command line flag was provided.
118 bool InitFromCommandLine(); 118 bool InitFromCommandLine();
119 119
120 // Initialize default display. 120 // Initialize default display.
121 void InitDefaultDisplay(); 121 void InitDefaultDisplay();
122 122
123 // Initializes font related params that depends on display 123 // Initializes font related params that depends on display
124 // configuration. 124 // configuration.
125 void InitFontParams(); 125 void RefreshFontParams();
126 126
127 // True if the given |display| is currently connected. 127 // True if the given |display| is currently connected.
128 bool IsActiveDisplay(const gfx::Display& display) const; 128 bool IsActiveDisplay(const gfx::Display& display) const;
129 129
130 // True if there is an internal display. 130 // True if there is an internal display.
131 bool HasInternalDisplay() const; 131 bool HasInternalDisplay() const;
132 132
133 bool IsInternalDisplayId(int64 id) const; 133 bool IsInternalDisplayId(int64 id) const;
134 134
135 // Returns the display layout used for current displays. 135 // Returns the display layout used for current displays.
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 gfx::Display::Rotation registered_internal_display_rotation_; 403 gfx::Display::Rotation registered_internal_display_rotation_;
404 404
405 base::WeakPtrFactory<DisplayManager> weak_ptr_factory_; 405 base::WeakPtrFactory<DisplayManager> weak_ptr_factory_;
406 406
407 DISALLOW_COPY_AND_ASSIGN(DisplayManager); 407 DISALLOW_COPY_AND_ASSIGN(DisplayManager);
408 }; 408 };
409 409
410 } // namespace ash 410 } // namespace ash
411 411
412 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_ 412 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/display/display_manager.cc » ('j') | ui/gfx/platform_font_pango.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698