diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 20:58:15 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 20:58:15 +0000 |
commit | 4b59ae60479a8766e4d0d8a9a8ddd9e32aa84e41 (patch) | |
tree | cbf27b5d434d9f0cd7ccf4e9f69ef7a3c413c67f /webkit/tools/test_shell/layout_test_controller.cc | |
parent | cc2ae59c5f959e973b0122081a1e54b3921859ef (diff) | |
download | chromium_src-4b59ae60479a8766e4d0d8a9a8ddd9e32aa84e41.zip chromium_src-4b59ae60479a8766e4d0d8a9a8ddd9e32aa84e41.tar.gz chromium_src-4b59ae60479a8766e4d0d8a9a8ddd9e32aa84e41.tar.bz2 |
Some cleanup around WebCore EditCommands:
Renamed CoreCommand -> EditCommand
Renamed the ViewMsg_HandleExecuteEditCommand IPC message to ViewMsg_ExecuteEditCommand
Review URL: http://codereview.chromium.org/147034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.cc')
-rw-r--r-- | webkit/tools/test_shell/layout_test_controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc index fb0c4c0..02797a1 100644 --- a/webkit/tools/test_shell/layout_test_controller.cc +++ b/webkit/tools/test_shell/layout_test_controller.cc @@ -526,7 +526,7 @@ void LayoutTestController::execCommand( value = args[2].ToString(); // Note: webkit's version does not return the boolean, so neither do we. - shell_->webView()->GetFocusedFrame()->ExecuteCoreCommandByName(command, + shell_->webView()->GetFocusedFrame()->ExecuteEditCommandByName(command, value); } result->SetNull(); @@ -540,7 +540,7 @@ void LayoutTestController::isCommandEnabled( } std::string command = args[0].ToString(); - bool rv = shell_->webView()->GetFocusedFrame()->IsCoreCommandEnabled(command); + bool rv = shell_->webView()->GetFocusedFrame()->IsEditCommandEnabled(command); result->Set(rv); } |