| Index: chrome/browser/ui/views/wrench_menu.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/wrench_menu.cc (revision 70876)
|
| +++ chrome/browser/ui/views/wrench_menu.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -11,6 +11,7 @@
|
| #include "base/string_number_conversions.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| +#include "chrome/browser/metrics/user_metrics.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/tab_contents/tab_contents.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -589,6 +590,7 @@
|
| gfx::Point screen_loc;
|
| views::View::ConvertPointToScreen(host, &screen_loc);
|
| gfx::Rect bounds(screen_loc, host->size());
|
| + UserMetrics::RecordAction(UserMetricsAction("ShowAppMenu"));
|
| root_->RunMenuAt(host->GetWindow()->GetNativeWindow(), host, bounds,
|
| base::i18n::IsRTL() ? MenuItemView::TOPLEFT : MenuItemView::TOPRIGHT,
|
| true);
|
|
|