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

Side by Side Diff: content/browser/renderer_host/popup_menu_helper_mac.mm

Issue 19618002: Use a direct include of the message_loop header in content/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <Carbon/Carbon.h> 5 #import <Carbon/Carbon.h>
6 6
7 #include "content/browser/renderer_host/popup_menu_helper_mac.h" 7 #include "content/browser/renderer_host/popup_menu_helper_mac.h"
8 8
9 #include "base/mac/scoped_nsobject.h" 9 #include "base/mac/scoped_nsobject.h"
10 #import "base/mac/scoped_sending_event.h" 10 #import "base/mac/scoped_sending_event.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "content/browser/renderer_host/render_view_host_impl.h" 12 #include "content/browser/renderer_host/render_view_host_impl.h"
13 #include "content/browser/renderer_host/render_widget_host_view_mac.h" 13 #include "content/browser/renderer_host/render_widget_host_view_mac.h"
14 #include "content/browser/renderer_host/webmenurunner_mac.h" 14 #include "content/browser/renderer_host/webmenurunner_mac.h"
15 #include "content/public/browser/notification_source.h" 15 #include "content/public/browser/notification_source.h"
16 #include "content/public/browser/notification_types.h" 16 #include "content/public/browser/notification_types.h"
17 #import "ui/base/cocoa/base_view.h" 17 #import "ui/base/cocoa/base_view.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 namespace { 21 namespace {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 void PopupMenuHelper::Observe(int type, 104 void PopupMenuHelper::Observe(int type,
105 const NotificationSource& source, 105 const NotificationSource& source,
106 const NotificationDetails& details) { 106 const NotificationDetails& details) {
107 DCHECK(type == NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED); 107 DCHECK(type == NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED);
108 DCHECK(Source<RenderWidgetHost>(source).ptr() == render_view_host_); 108 DCHECK(Source<RenderWidgetHost>(source).ptr() == render_view_host_);
109 render_view_host_ = NULL; 109 render_view_host_ = NULL;
110 } 110 }
111 111
112 } // namespace content 112 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_udp.h ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698