diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 23:34:56 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 23:34:56 +0000 |
commit | 047f6227bb49d5e315c2da557255035eb22c846f (patch) | |
tree | 7ec2e6410c837e08ba057d18984f13494a789448 /chrome/browser/browser_process_impl.cc | |
parent | 650e6918651545098d70fc85d37336bca49c74bf (diff) | |
download | chromium_src-047f6227bb49d5e315c2da557255035eb22c846f.zip chromium_src-047f6227bb49d5e315c2da557255035eb22c846f.tar.gz chromium_src-047f6227bb49d5e315c2da557255035eb22c846f.tar.bz2 |
There is no need for the browser process to have an accelerator handler.This CL cleans this up.BUG=NoneTEST=Accelerator should work in Chrome and in the first run window.
Review URL: http://codereview.chromium.org/160301
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r-- | chrome/browser/browser_process_impl.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index 46d86f1..552e171 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -36,7 +36,6 @@ #include "chrome/browser/automation/automation_provider_list.h" #include "chrome/browser/printing/print_job_manager.h" #include "views/focus/view_storage.h" -#include "views/widget/accelerator_handler.h" #elif defined(OS_POSIX) // TODO(port): Remove the temporary scaffolding as we port the above headers. #include "chrome/common/temp_scaffolding_stubs.h" @@ -390,17 +389,6 @@ void BrowserProcessImpl::CreateDevToolsManager() { devtools_manager_ = new DevToolsManager(); } -void BrowserProcessImpl::CreateAcceleratorHandler() { -#if defined(OS_WIN) - DCHECK(accelerator_handler_.get() == NULL); - scoped_ptr<views::AcceleratorHandler> accelerator_handler( - new views::AcceleratorHandler); - accelerator_handler_.swap(accelerator_handler); -#else - // TODO(port): remove this completely, it has no business being here. -#endif -} - void BrowserProcessImpl::CreateGoogleURLTracker() { DCHECK(google_url_tracker_.get() == NULL); scoped_ptr<GoogleURLTracker> google_url_tracker(new GoogleURLTracker); |