OLD | NEW |
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 <list> | 10 #include <list> |
11 #include <map> | 11 #include <map> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/mac/scoped_nsobject.h" | 17 #include "base/mac/scoped_nsobject.h" |
| 18 #include "base/macros.h" |
18 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
19 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
20 #include "base/time/time.h" | 21 #include "base/time/time.h" |
21 #include "content/browser/compositor/browser_compositor_view_mac.h" | 22 #include "content/browser/compositor/browser_compositor_view_mac.h" |
22 #include "content/browser/compositor/delegated_frame_host.h" | 23 #include "content/browser/compositor/delegated_frame_host.h" |
23 #include "content/browser/renderer_host/input/mouse_wheel_rails_filter_mac.h" | 24 #include "content/browser/renderer_host/input/mouse_wheel_rails_filter_mac.h" |
24 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 25 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
25 #include "content/common/content_export.h" | 26 #include "content/common/content_export.h" |
26 #include "content/common/cursors/webcursor.h" | 27 #include "content/common/cursors/webcursor.h" |
27 #include "content/common/edit_command.h" | 28 #include "content/common/edit_command.h" |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 | 605 |
605 // Factory used to safely scope delayed calls to ShutdownHost(). | 606 // Factory used to safely scope delayed calls to ShutdownHost(). |
606 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 607 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
607 | 608 |
608 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 609 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
609 }; | 610 }; |
610 | 611 |
611 } // namespace content | 612 } // namespace content |
612 | 613 |
613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 614 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
OLD | NEW |