Introduce Editor::Command::CanExecute().
This CL introduces Editor::Command::CanExecute(), and move the predicate in Editor::Command::Execute() to it, make Editor::Command::Execute() simple and improve code health. Signed-off-by:Zhuoyu Qian <zhuoyu.qian@samsung.com> Change-Id: Iae25f9ebd4d7554e83a9a819c562fae85c2dedc6 Reviewed-on: https://chromium-review.googlesource.com/954773Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#543999}
Showing
Please register or sign in to comment