Hi Mason&Joey,in the current patch, I only addressed the cases in `renderer/core` to minimize the risk of bugs and ensure we don’t introduce any side effects before extending to other scopes in `blink/`. PTAL!
Then we can
AtomicString comparison intead of character-by-character comparison.Zhou, ShuangshuangPlease fix this WARNING reported by Spellchecker: "intead" is a possible misspelling of "instead".
To bypass Spellchecker, add a ...
"intead" is a possible misspelling of "instead".
To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER
Done
if (op == "copy")
return kDragOperationCopy;
if (op == "link")
return kDragOperationLink;
if (op == "move")
return kDragOperationMove;
if (op == "copyLink") {
return static_cast<DragOperationsMask>(kDragOperationCopy |
kDragOperationLink);
}
if (op == "copyMove") {
return static_cast<DragOperationsMask>(kDragOperationCopy |
kDragOperationMove);
}
if (op == "linkMove") {
return static_cast<DragOperationsMask>(kDragOperationLink |
kDragOperationMove);
}
if (op == "all")
return kDragOperationEvery;
return std::nullopt;Zhou, ShuangshuangPerhaps while you're here, you could move all of the other values to keywords?
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
friendly ping! Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Friendly ping, thanks!
Hi Philip, also add you in reviewers, PTAL when you have time. This is a clean-up patch. Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi Philip, also add you in reviewers, PTAL when you have time. This is a clean-up patch. Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
friendly ping! Thanks! Hey Philip and Joey, would you like to take a look on this?
| Code-Review | +1 |
LGTM
#include "build/build_config.h"Do you need to include keywords.h?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi Philip&Mason&Jeoy, thanks for the comments, PTAL!
Do you need to include keywords.h?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |