Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1038)

Unified Diff: content/browser/tab_contents/popup_menu_helper_mac.mm

Issue 8724004: [Mac] Move ScopedSendingEvent from content/common/mac to base/mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CrAppControlProtocol support to CrDrtApplication Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/tab_contents/popup_menu_helper_mac.mm
diff --git a/content/browser/tab_contents/popup_menu_helper_mac.mm b/content/browser/tab_contents/popup_menu_helper_mac.mm
index db861b6af7c94971e094ed5c3702d6d32533f6de..29f502a72987f4eb74d07231f56747190c5fa60e 100644
--- a/content/browser/tab_contents/popup_menu_helper_mac.mm
+++ b/content/browser/tab_contents/popup_menu_helper_mac.mm
@@ -6,11 +6,11 @@
#include "content/browser/tab_contents/popup_menu_helper_mac.h"
+#import "base/mac/scoped_sending_event.h"
#include "base/memory/scoped_nsobject.h"
#include "base/message_loop.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/renderer_host/render_widget_host_view_mac.h"
-#import "content/common/mac/scoped_sending_event.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
#import "ui/base/cocoa/base_view.h"
@@ -54,7 +54,7 @@ void PopupMenuHelper::ShowPopupMenu(
// setting flags in -[CrApplication sendEvent:], but since
// web-content menus are initiated by IPC message the setup has to
// be done manually.
- content::mac::ScopedSendingEvent sending_event_scoper;
+ base::mac::ScopedSendingEvent sending_event_scoper;
// Now run a SYNCHRONOUS NESTED EVENT LOOP until the pop-up is finished.
[menu_runner runMenuInView:cocoa_view

Powered by Google App Engine
This is Rietveld 408576698