Changeset 173860 in webkit
- Timestamp:
- Sep 22, 2014 6:05:55 PM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r173851 r173860 1 2014-09-22 Rohit Kumar <kumar.rohit@samsung.com> 2 3 [EFL][WK2] Minibrowser : Add keyboard support for page reload while ignoring cache 4 https://bugs.webkit.org/show_bug.cgi?id=136813 5 6 Reviewed by Gyuyoung Kim. 7 8 Ctrl+r is used for page reload along with F5. Ctrl+Shift+r and Ctrl+F5 is used for page reload while ignoring cache. 9 10 * MiniBrowser/efl/main.c: 11 (on_key_down): 12 1 13 2014-09-22 Daniel Bates <dabates@apple.com> 2 14 -
trunk/Tools/MiniBrowser/efl/main.c
r173750 r173860 523 523 Eina_Bool ctrlPressed = evas_key_modifier_is_set(mod, "Control"); 524 524 Eina_Bool altPressed = evas_key_modifier_is_set(mod, "Alt"); 525 Eina_Bool shiftPressed = evas_key_modifier_is_set(mod, "Shift"); 525 526 526 527 if (!strcmp(ev->key, "Left") && altPressed) { … … 539 540 info("Set encoding (F3) pressed. New encoding to %s", encodings[currentEncoding]); 540 541 ewk_view_custom_encoding_set(ewk_view, encodings[currentEncoding]); 541 } else if (!strcmp(ev->key, "F5")) { 542 info("Reload (F5) was pressed, reloading."); 542 } else if ((!strcmp(ev->key, "F5") && ctrlPressed) || (!strcmp(ev->key, "r") && (shiftPressed & ctrlPressed))) { 543 info("Reload ignoring cache (Ctrl+F5 or Ctrl+Shift+r) was pressed, reloading and bypassing cache..."); 544 ewk_view_reload_bypass_cache(ewk_view); 545 } else if (!strcmp(ev->key, "F5") || (!strcmp(ev->key, "r") && ctrlPressed)) { 546 info("Reload (F5 or Ctrl+r) was pressed, reloading..."); 543 547 ewk_view_reload(ewk_view); 544 548 } else if (!strcmp(ev->key, "F6") || !strcmp(ev->key, "Escape")) {
Note: See TracChangeset
for help on using the changeset viewer.