/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_commands_global_registry_apitest.cc | 41 Display* display = gfx::GetXDisplay(); local 42 KeyCode ctrl_key_code = XKeysymToKeycode(display, XK_Control_L); 43 KeyCode shift_key_code = XKeysymToKeycode(display, XK_Shift_L); 44 KeyCode alt_key_code = XKeysymToKeycode(display, XK_Alt_L); 49 XTestFakeKeyEvent(display, ctrl_key_code, False, CurrentTime); 50 XTestFakeKeyEvent(display, shift_key_code, False, CurrentTime); 51 XTestFakeKeyEvent(display, alt_key_code, False, CurrentTime); 62 key_codes.push_back(XKeysymToKeycode(display, 67 XTestFakeKeyEvent(display, *it, True, CurrentTime); 71 XTestFakeKeyEvent(display, *i [all...] |
H A D | path_util.cc | 25 // Retrieves the localized display name for the base name of the given path. 60 // Break down the incoming path into components, and grab the display name 63 // Don't grab the display name of the first component, i.e., "/", as it'll 77 std::string display = GetDisplayBaseName(actual_path); local 78 display_path = display_path.Append(display);
|
/external/chromium_org/chrome/browser/net/ |
H A D | client_hints.cc | 19 // TODO(bengr): Consider multi-display scenarios. 20 gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); local 21 return display.device_scale_factor();
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_positioner.cc | 13 AppListPositioner::AppListPositioner(const gfx::Display& display, argument 16 : display_(display), 145 // If we can't find the shelf, return SCREEN_EDGE_UNKNOWN. If the display
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | chrome_launcher_controller.cc | 116 gfx::Display display = gfx::Screen::GetScreenFor( local 118 DCHECK(display.is_valid()); 120 return base::Int64ToString(display.id()); 141 // Returns a pref value in |pref_service| for the display of |root_window|. The 143 // per-display preferences and the value can be specified by policy. Here is 147 // * A user-set value for the specified display. 148 // * A user-set value in |local_path| or |path|, if no per-display settings are 177 // If the pref for the specified display is not found, scan the whole prefs 178 // and check if the prefs for other display is already specified. 421 // TODO(mukai): Allows it to observe display chang [all...] |
H A D | chrome_launcher_controller_browsertest.cc | 8 #include "ash/display/display_controller.h" 1729 // display environment. 1768 gfx::Display display = local 1770 const gfx::Point& origin = display.bounds().origin();
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | autofill_popup_controller_unittest.cc | 26 #include "ui/gfx/display.h" 82 void set_display(const gfx::Display& display) { argument 83 test_controller_common_->set_display(display); 313 // Set up some visible display so the text values are kept. 314 gfx::Display display(0, gfx::Rect(0, 0, 100, 100)); 315 autofill_popup_controller_->set_display(display); 515 // Ensure the popup will be too small to display all of the first row.
|
H A D | test_popup_controller_common.h | 10 #include "ui/gfx/display.h" 19 void set_display(const gfx::Display& display) { display_ = display; } argument
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | x11_input_method_context_impl_gtk2.cc | 155 Display* display = gfx::GetXDisplay(); local 156 const XModifierKeymap* modmap = XGetModifierMapping(display); 160 XDisplayKeycodes(display, &min_keycode, &max_keycode); 162 display, min_keycode, max_keycode - min_keycode + 1, 207 GdkDisplay* display = gdk_x11_lookup_xdisplay(xkey.display); local 208 if (!display) { 209 // Fall back to the default display. 210 display = gdk_display_get_default(); 212 if (!display) { [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
H A D | display_settings_provider.cc | 13 // The polling interval to check any display settings change, like full-screen 79 gfx::Display display = gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); local 80 gfx::Rect display_area = display.bounds(); 81 gfx::Rect work_area = display.work_area(); 104 gfx::Display display = screen->GetDisplayMatching(bounds); local 105 if (display.bounds() == screen->GetPrimaryDisplay().bounds()) 107 return display.work_area();
|
/external/chromium_org/chrome/browser/ui/views/app_list/linux/ |
H A D | app_list_linux.cc | 15 const gfx::Display& display) { 18 // display edge and work area do not match up, but there can be more than one 20 // largest delta between the display edge and the work area edge. Ties are 22 const gfx::Rect work_area = display.work_area(); 23 const gfx::Rect display_bounds = display.bounds(); 54 const gfx::Display& display, 58 AppListPositioner positioner(display, view_size, 0); 89 gfx::Display display = screen->GetDisplayNearestPoint(cursor); local 106 edge = ShelfLocationInDisplay(display); 108 display, 14 ShelfLocationInDisplay( const gfx::Display& display) argument 53 FindAnchorPoint(const gfx::Size& view_size, const gfx::Display& display, const gfx::Point& cursor, AppListPositioner::ScreenEdge edge, bool center_window) argument [all...] |
/external/chromium_org/chrome/browser/ui/views/app_list/win/ |
H A D | app_list_win.cc | 47 const gfx::Display& display, 51 AppListPositioner positioner(display, view_size, kMinDistanceFromEdge); 53 // Subtract the taskbar area since the display's default work_area will not 85 gfx::Display display = screen->GetDisplayNearestPoint(cursor); local 91 display, 46 FindAnchorPoint(const gfx::Size& view_size, const gfx::Display& display, const gfx::Point& cursor, const gfx::Rect& taskbar_rect, bool center_window) argument
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | chrome_views_delegate.cc | 199 gfx::Display display = gfx::Screen::GetScreenFor(window)-> local 201 bounds->AdjustToFit(display.work_area());
|
/external/chromium_org/chrome/browser/ui/views/link_disambiguation/ |
H A D | link_disambiguation_popup.cc | 12 #include "ui/gfx/display.h" 168 // work area in the current display. Since |target_rect| is provided in 182 const gfx::Display display = local 184 window_bounds.AdjustToFit(display.work_area());
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | tab_strip.cc | 42 #include "ui/gfx/display.h" 2205 gfx::Display display = screen->GetDisplayMatching(drop_bounds); local 2206 *is_beneath = !display.bounds().Contains(drop_bounds); 2506 // The display order doesn't necessarily match the child list order, so we 2507 // walk the display list hit-testing Tabs. Since the active tab always
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
H A D | toolbar_button.cc | 13 #include "ui/gfx/display.h" 188 // Use the left bound of the display on which 191 gfx::Display display = gfx::Screen::GetScreenFor( local 193 int left_bound = display.bounds().x(); 199 gfx::Display display = screen->GetDisplayNearestPoint( local 201 int left_bound = display.bounds().x();
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | browser_options_handler.cc | 1224 // Update our sync/signin status display. 1379 // Cannot display signin status when running in guest mode on chromeos 1824 bool display = manager && local 1826 base::FundamentalValue value(display);
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
H A D | display_options_handler.cc | 9 #include "ash/display/display_configurator_animation.h" 10 #include "ash/display/display_controller.h" 11 #include "ash/display/display_manager.h" 12 #include "ash/display/resolution_notification_controller.h" 19 #include "chrome/browser/chromeos/display/display_preferences.h" 25 #include "ui/gfx/display.h" 41 // Assumes the display ID is specified as the first argument. 50 LOG(ERROR) << "Invalid display id: " << id_value; 274 const gfx::Display& display = displays[i]; local 276 display_manager->GetDisplayInfo(display [all...] |
H A D | display_overscan_handler.cc | 9 #include "ash/display/display_controller.h" 16 #include "chrome/browser/chromeos/display/overscan_calibrator.h" 20 #include "ui/gfx/display.h" 118 const gfx::Display& display = ash::ScreenUtil::GetDisplayForId(display_id); local 119 DCHECK(display.is_valid()); 120 if (!display.is_valid()) 126 display,
|
/external/chromium_org/chrome/browser/ui/window_sizer/ |
H A D | window_sizer.cc | 152 // we should get the display for the corresponding root window created for 153 // ASH. This ensures that the display gets the correct workarea, etc. 165 // Use the target display on ash. 306 void WindowSizer::GetDefaultWindowBounds(const gfx::Display& display, argument 312 *default_bounds = ash::WindowPositioner::GetDefaultWindowBounds(display); 316 gfx::Rect work_area = display.work_area(); 332 // computer display. 347 const gfx::Display& display, 355 GetDefaultWindowBounds(display, &default_bounds); 366 gfx::Rect work_area = display 346 AdjustBoundsToBeVisibleOnDisplay( const gfx::Display& display, const gfx::Rect& saved_work_area, gfx::Rect* bounds) const argument [all...] |
H A D | window_sizer_ash.cc | 53 gfx::Display display = screen_->GetDisplayMatching(*bounds); local 54 gfx::Rect work_area = display.work_area(); 62 *bounds = ash::WindowPositioner::GetDefaultWindowBounds(display); 80 gfx::Display display; local 82 display = screen_->GetDisplayMatching(*bounds_in_screen); 85 // target display. 86 display = target_display_provider_->GetTargetDisplay(screen_, 88 *bounds_in_screen = ash::WindowPositioner::GetDefaultWindowBounds(display); 102 bounds_in_screen->AdjustToFit(display.work_area());
|
H A D | window_sizer_ash_uitest.cc | 60 gfx::Display display = local 62 const gfx::Point& origin = display.bounds().origin(); 96 // A new browser must be created on 2nd display. 108 // A new browser must be created on 1st display. 184 // A new browser must be created on 2nd display. 192 // Next new browser must be created on 1st display.
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/ |
H A D | utilities.js | 32 view.display = []; 37 this.display = []; 42 this.display.push([]); 47 this.display.push([ 55 this.display.pop(); 60 var last = this.display[this.display.length - 1]; 70 return this.display; 210 * horizontal separators expected in the display. '[accumulator]' arrays 436 var display variable [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
H A D | keycode_text_conversion_x.cc | 152 bool GetXModifierMask(Display* display, int modifier, int* x_modifier) { argument 153 XModifierKeymap* mod_map = XGetModifierMapping(display); 159 int keysym = XkbKeycodeToKeysym(display, key, 0, 0); 193 XDisplay* display = gfx::GetXDisplay(); local 194 if (!display) { 196 "an X display is required for keycode conversions, consider using Xvfb"; 200 key_event->display = display; 210 GetXModifierMask(display, kAltKeyModifierMask, &x_modifier)) { 214 GetXModifierMask(display, kMetaKeyModifierMas [all...] |
/external/chromium_org/content/browser/accessibility/ |
H A D | browser_accessibility_win.cc | 2538 base::string16 display; 2540 !GetString16Attribute(ui::AX_ATTR_DISPLAY, &display)) { 2546 style_properties[0] = SysAllocString(L"display"); 2547 style_values[0] = SysAllocString(display.c_str()); 2568 if (name == L"display") { 2569 base::string16 display = GetString16Attribute( local 2571 style_values[i] = SysAllocString(display.c_str()); 2910 // Expose the "display" and "tag" attributes. 2911 StringAttributeToIA2(ui::AX_ATTR_DISPLAY, "display");
|