Home
last modified time | relevance | path

Searched refs:shortcut (Results 1 – 25 of 76) sorted by relevance

1234

/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Dcommand.js26 function KeyboardShortcut(shortcut) { argument
29 shortcut.split('-').forEach(function(part) {
124 get shortcut() { getter in Command
127 set shortcut(shortcut) { argument
129 if (shortcut !== oldShortcut) {
130 this.keyboardShortcuts_ = shortcut.split(/\s+/).map(function(shortcut) { argument
131 return new KeyboardShortcut(shortcut);
135 this.shortcut_ = shortcut;
/external/chromium/chrome/browser/importer/
Dfirefox_importer_unittest.cc107 string16 shortcut; in TEST() local
113 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
117 EXPECT_EQ(L"\x4E2D", UTF16ToWide(shortcut)); in TEST()
124 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
128 EXPECT_EQ(ASCIIToUTF16(""), shortcut); in TEST()
134 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
138 EXPECT_EQ(ASCIIToUTF16(""), shortcut); in TEST()
145 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
149 EXPECT_EQ(ASCIIToUTF16(""), shortcut); in TEST()
159 charset, &title, &url, &favicon, &shortcut, &add_date, &post_data); in TEST()
[all …]
Dfirefox2_importer.cc119 string16 shortcut; in LoadDefaultBookmarks() local
123 &favicon, &shortcut, &add_date, in LoadDefaultBookmarks()
187 string16 shortcut; in ImportBookmarksFile() local
195 &url, &favicon, &shortcut, &add_date, in ImportBookmarksFile()
237 TemplateURL* t_url = CreateTemplateURL(title, shortcut, url); in ImportBookmarksFile()
470 string16* shortcut, in ParseBookmarkFromLine() argument
476 shortcut->clear(); in ParseBookmarkFromLine()
520 base::OnStringConversionError::SKIP, shortcut); in ParseBookmarkFromLine()
521 HTMLUnescape(shortcut); in ParseBookmarkFromLine()
Die_importer.cc551 FilePath shortcut(*it); in ParseFavoritesFolder() local
552 if (!LowerCaseEqualsASCII(shortcut.Extension(), ".url")) in ParseFavoritesFolder()
565 shortcut.DirName().value().substr(favorites_path_len); in ParseFavoritesFolder()
572 entry.title = shortcut.RemoveExtension().BaseName().value(); in ParseFavoritesFolder()
Dfirefox2_importer.h102 string16* shortcut,
/external/chromium/chrome/browser/resources/
Dkeyboard_overlay.css53 .keyboard-overlay-key.is-shortcut {
60 .keyboard-overlay-key.is-shortcut.modifier-shift {
64 .keyboard-overlay-key.is-shortcut.modifier-ctrl {
68 .keyboard-overlay-key.is-shortcut.modifier-alt {
72 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl {
76 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-alt {
80 .keyboard-overlay-key.is-shortcut.modifier-ctrl.modifier-alt {
84 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl.modifier-alt {
142 .keyboard-overlay-shortcut-text {
/external/chromium/chrome/browser/
Dglobal_keyboard_shortcuts_mac.mm92 const KeyboardShortcutData& shortcut,
96 DCHECK((shortcut.key_char == 0) ^ (shortcut.vkey_code == 0));
97 if (shortcut.key_char) {
98 // The given shortcut key is to be matched by a keyboard character.
101 if (shortcut.command_key == command_key &&
102 shortcut.cntrl_key == cntrl_key &&
103 shortcut.key_char == key_char)
105 } else if (shortcut.vkey_code) {
106 // The given shortcut key is to be matched by a virtual key code.
107 if (shortcut.command_key == command_key &&
[all …]
Dshell_integration_win.cc154 for (FilePath shortcut = shortcuts_enum.Next(); !shortcut.empty(); in MigrateWin7ShortcutsInPath() local
155 shortcut = shortcuts_enum.Next()) { in MigrateWin7ShortcutsInPath()
167 FAILED(persist_file->Load(shortcut.value().c_str(), STGM_READ))) { in MigrateWin7ShortcutsInPath()
184 shortcut.value().c_str(), in MigrateWin7ShortcutsInPath()
Dglobal_keyboard_shortcuts_mac_unittest.mm14 // Test that an invalid shortcut translates into an invalid command id.
105 // Test that an invalid shortcut translates into an invalid command id.
124 // Test that an invalid shortcut translates into an invalid command id.
/external/webkit/Source/WebCore/inspector/front-end/
DConsoleView.js489 var shortcut = WebInspector.KeyboardShortcut;
490 var shortcutK = shortcut.makeDescriptor("k", WebInspector.KeyboardShortcut.Modifiers.Meta);
496 var shortcutL = shortcut.makeDescriptor("l", WebInspector.KeyboardShortcut.Modifiers.Ctrl);
504 shortcut.shortcutToString(shortcut.Keys.Tab),
505 shortcut.shortcutToString(shortcut.Keys.Tab, shortcut.Modifiers.Shift)
508 …section.addKey(shortcut.shortcutToString(shortcut.Keys.Right), WebInspector.UIString("Accept sugge…
510 shortcut.shortcutToString(shortcut.Keys.Down),
511 shortcut.shortcutToString(shortcut.Keys.Up)
515 shortcut.shortcutToString("N", shortcut.Modifiers.Alt),
516 shortcut.shortcutToString("P", shortcut.Modifiers.Alt)
[all …]
DStylesSidebarPane.js534 var shortcut = WebInspector.KeyboardShortcut;
536 shortcut.shortcutToString(shortcut.Keys.Tab),
537 shortcut.shortcutToString(shortcut.Keys.Tab, shortcut.Modifiers.Shift)
541 shortcut.shortcutToString(shortcut.Keys.Up),
542 shortcut.shortcutToString(shortcut.Keys.Down)
546 shortcut.shortcutToString(shortcut.Keys.Up, shortcut.Modifiers.Shift),
547 shortcut.shortcutToString(shortcut.Keys.Down, shortcut.Modifiers.Shift)
551 shortcut.shortcutToString(shortcut.Keys.PageUp),
552 shortcut.shortcutToString(shortcut.Keys.PageDown)
556 shortcut.shortcutToString(shortcut.Keys.PageUp, shortcut.Modifiers.Shift),
[all …]
DElementsPanel.js1044 var shortcut = WebInspector.KeyboardShortcut;
1047 shortcut.shortcutToString(shortcut.Keys.Up),
1048 shortcut.shortcutToString(shortcut.Keys.Down)
1052 shortcut.shortcutToString(shortcut.Keys.Right),
1053 shortcut.shortcutToString(shortcut.Keys.Left)
1056 …section.addKey(shortcut.shortcutToString(shortcut.Keys.Enter), WebInspector.UIString("Edit attribu…
Dinspector.js668 var shortcut = WebInspector.KeyboardShortcut;
671 shortcut.shortcutToString("]", shortcut.Modifiers.CtrlOrMeta),
672 shortcut.shortcutToString("[", shortcut.Modifiers.CtrlOrMeta)
675 …section.addKey(shortcut.shortcutToString(shortcut.Keys.Esc), WebInspector.UIString("Toggle console…
676 …section.addKey(shortcut.shortcutToString("f", shortcut.Modifiers.CtrlOrMeta), WebInspector.UIStrin…
679 shortcut.shortcutToString("g", shortcut.Modifiers.Meta),
680 shortcut.shortcutToString("g", shortcut.Modifiers.Meta | shortcut.Modifiers.Shift)
DCallStackSidebarPane.js88 var shortcut = WebInspector.KeyboardShortcut.makeKeyFromEvent(event);
89 var handler = this._shortcuts[shortcut];
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Duserdatarequest.ui79 <property name="shortcut" >
95 <property name="shortcut" >
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/pin/
DREADME2 shortcut (Ctrl + Shift + P) to toggle pinning and unpinning of the current tab.
/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c301 int shortcut=0; in optimize_b() local
342 shortcut = 1; in optimize_b()
344 shortcut = 0; in optimize_b()
346 if(shortcut) in optimize_b()
395 if(shortcut) in optimize_b()
/external/webkit/Source/WebKit/win/
DAccessibleBase.cpp346 HRESULT STDMETHODCALLTYPE AccessibleBase::get_accKeyboardShortcut(VARIANT vChild, BSTR* shortcut) in get_accKeyboardShortcut() argument
348 if (!shortcut) in get_accKeyboardShortcut()
351 *shortcut = 0; in get_accKeyboardShortcut()
378 *shortcut = BString(accessKeyModifiers + accessKey).release(); in get_accKeyboardShortcut()
/external/chromium/chrome/browser/resources/bookmark_manager/js/
Dmain.js1550 $('delete-command').shortcut = 'U+007F' +
1553 $('open-in-same-window-command').shortcut = cr.isMac ? 'Meta-Down' :
1556 $('open-in-new-window-command').shortcut = 'Shift-Enter';
1557 $('open-in-background-tab-command').shortcut = cr.isMac ? 'Meta-Enter' :
1559 $('open-in-new-tab-command').shortcut = cr.isMac ? 'Shift-Meta-Enter' :
1562 $('rename-folder-command').shortcut = $('edit-command').shortcut =
/external/webkit/Tools/DumpRenderTree/win/
DLayoutTestControllerWin.cpp663 COMPtr<IShellLink> shortcut(Create, CLSID_ShellLink); in followShortcuts() local
664 if (!shortcut) in followShortcuts()
666 COMPtr<IPersistFile> persistFile(Query, shortcut); in followShortcuts()
667 if (!shortcut) in followShortcuts()
671 if (FAILED(shortcut->Resolve(0, 0))) in followShortcuts()
675 if (FAILED(shortcut->GetPath(targetPath, targetPathLen, 0, 0))) in followShortcuts()
/external/chromium/base/
Dfile_util.h237 BASE_API bool TaskbarPinShortcutLink(const wchar_t* shortcut);
241 BASE_API bool TaskbarUnpinShortcutLink(const wchar_t* shortcut);
Dfile_util_win.cc519 bool TaskbarPinShortcutLink(const wchar_t* shortcut) { in TaskbarPinShortcutLink() argument
526 int result = reinterpret_cast<int>(ShellExecute(NULL, L"taskbarpin", shortcut, in TaskbarPinShortcutLink()
531 bool TaskbarUnpinShortcutLink(const wchar_t* shortcut) { in TaskbarUnpinShortcutLink() argument
539 shortcut, NULL, NULL, 0)); in TaskbarUnpinShortcutLink()
/external/bison/m4/
Dwarn-on-use.m442 dnl shortcut - if the raw declaration exists, then set a cache
/external/chromium/chrome/browser/ui/cocoa/
Dchrome_event_processing_window_unittest.mm89 // Verify that an unhandled shortcut does not get forwarded via
Dhtml_dialog_window_controller.mm187 // shortcut, e.g. Commmand-Esc for Front Row) but no other modifiers
208 // This gets called whenever a chrome-specific keyboard shortcut is performed

1234