Lines Matching defs:display
34 // If there is a single display, get its id and return true, otherwise return
36 bool GetSoleDisplayId(CGDirectDisplayID* display);
48 CGDirectDisplayID display;
49 if (!base::mac::IsOSSnowLeopard() && GetSoleDisplayId(&display)) {
50 CGRect rect = CGDisplayBounds(display);
67 CGDirectDisplayID display;
68 if (base::mac::IsOSSnowLeopard() || !GetSoleDisplayId(&display)) {
112 CGDisplaySetDisplayMode(display, best_mode, NULL);
123 CGDirectDisplayID display;
124 if (!GetSoleDisplayId(&display)) {
129 CGDisplayCopyAllDisplayModes(display, NULL));
155 bool DesktopResizerMac::GetSoleDisplayId(CGDirectDisplayID* display) {
156 // This code only supports a single display, but allocates space for two
165 *display = displays[0];