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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mac.h

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 30 matching lines...) Expand all
41 41
42 namespace content { 42 namespace content {
43 class RenderWidgetHost; 43 class RenderWidgetHost;
44 class RenderWidgetHostImpl; 44 class RenderWidgetHostImpl;
45 class RenderWidgetHostViewMac; 45 class RenderWidgetHostViewMac;
46 class RenderWidgetHostViewMacEditCommandHelper; 46 class RenderWidgetHostViewMacEditCommandHelper;
47 class WebContents; 47 class WebContents;
48 struct TextInputState; 48 struct TextInputState;
49 } 49 }
50 50
51 namespace ui {
52 class Compositor;
53 class Layer;
54 }
55
56 @class FullscreenWindowManager; 51 @class FullscreenWindowManager;
57 @protocol RenderWidgetHostViewMacDelegate; 52 @protocol RenderWidgetHostViewMacDelegate;
58 53
59 @protocol RenderWidgetHostViewMacOwner 54 @protocol RenderWidgetHostViewMacOwner
60 - (content::RenderWidgetHostViewMac*)renderWidgetHostViewMac; 55 - (content::RenderWidgetHostViewMac*)renderWidgetHostViewMac;
61 @end 56 @end
62 57
63 // This is the view that lives in the Cocoa view hierarchy. In Windows-land, 58 // This is the view that lives in the Cocoa view hierarchy. In Windows-land,
64 // RenderWidgetHostViewWin is both the view and the delegate. We split the roles 59 // RenderWidgetHostViewWin is both the view and the delegate. We split the roles
65 // but that means that the view needs to own the delegate and will dispose of it 60 // but that means that the view needs to own the delegate and will dispose of it
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 552
558 // Factory used to safely scope delayed calls to ShutdownHost(). 553 // Factory used to safely scope delayed calls to ShutdownHost().
559 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 554 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
560 555
561 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 556 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
562 }; 557 };
563 558
564 } // namespace content 559 } // namespace content
565 560
566 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 561 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698