diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 20:29:59 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 20:29:59 +0000 |
commit | 5f449baa69a92ea2ce4f62f5d10732e5c5dfc1ce (patch) | |
tree | e7b39a9171bfc521601b285e5a0ad63d5595f2fa /chrome/browser/browser_main_posix.cc | |
parent | ce90764f028433b53539089a97590f47d5607e34 (diff) | |
download | chromium_src-5f449baa69a92ea2ce4f62f5d10732e5c5dfc1ce.zip chromium_src-5f449baa69a92ea2ce4f62f5d10732e5c5dfc1ce.tar.gz chromium_src-5f449baa69a92ea2ce4f62f5d10732e5c5dfc1ce.tar.bz2 |
Add new chromeos specific message loop observer to map Alt-Click to
right click.
BUG=chromium-os:7239
TEST=Hold Alt key while clicking (or tapping with that enabled)
Context menu should appear.
Ensure it works in tabs, empty part of tab strip, web content,
text input areas, links.
Review URL: http://codereview.chromium.org/3551019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62008 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main_posix.cc')
-rw-r--r-- | chrome/browser/browser_main_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_main_posix.cc b/chrome/browser/browser_main_posix.cc index e6675f6..c2fc98c 100644 --- a/chrome/browser/browser_main_posix.cc +++ b/chrome/browser/browser_main_posix.cc @@ -219,8 +219,8 @@ void BrowserMainPartsPosix::PostMainMessageLoopStart() { } } -// Mac further subclasses BrowserMainPartsPosix -#if !defined(OS_MACOSX) +// Mac and Chromeos further subclass BrowserMainPartsPosix. +#if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) // static BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( const MainFunctionParams& parameters) { |