| 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 <stddef.h> | 10 #include <stddef.h> |
| 11 #include <stdint.h> | 11 #include <stdint.h> |
| 12 #include <list> | 12 #include <list> |
| 13 #include <map> | 13 #include <map> |
| 14 #include <set> | 14 #include <set> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <utility> | 16 #include <utility> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "base/mac/scoped_nsobject.h" | 19 #include "base/mac/scoped_nsobject.h" |
| 20 #include "base/macros.h" | 20 #include "base/macros.h" |
| 21 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
| 22 #include "base/memory/weak_ptr.h" | 22 #include "base/memory/weak_ptr.h" |
| 23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
| 24 #include "cc/surfaces/surface_id.h" | 24 #include "cc/surfaces/surface_id.h" |
| 25 #include "content/browser/compositor/browser_compositor_view_mac.h" | 25 #include "content/browser/renderer_host/browser_compositor_view_mac.h" |
| 26 #include "content/browser/compositor/delegated_frame_host.h" | 26 #include "content/browser/renderer_host/delegated_frame_host.h" |
| 27 #include "content/browser/renderer_host/input/mouse_wheel_rails_filter_mac.h" | 27 #include "content/browser/renderer_host/input/mouse_wheel_rails_filter_mac.h" |
| 28 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 28 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
| 29 #include "content/common/content_export.h" | 29 #include "content/common/content_export.h" |
| 30 #include "content/common/cursors/webcursor.h" | 30 #include "content/common/cursors/webcursor.h" |
| 31 #include "content/common/edit_command.h" | 31 #include "content/common/edit_command.h" |
| 32 #include "ipc/ipc_sender.h" | 32 #include "ipc/ipc_sender.h" |
| 33 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 33 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
| 34 #include "ui/accelerated_widget_mac/accelerated_widget_mac.h" | 34 #include "ui/accelerated_widget_mac/accelerated_widget_mac.h" |
| 35 #include "ui/accelerated_widget_mac/display_link_mac.h" | 35 #include "ui/accelerated_widget_mac/display_link_mac.h" |
| 36 #import "ui/base/cocoa/command_dispatcher.h" | 36 #import "ui/base/cocoa/command_dispatcher.h" |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 | 620 |
| 621 // Factory used to safely scope delayed calls to ShutdownHost(). | 621 // Factory used to safely scope delayed calls to ShutdownHost(). |
| 622 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; | 622 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; |
| 623 | 623 |
| 624 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); | 624 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); |
| 625 }; | 625 }; |
| 626 | 626 |
| 627 } // namespace content | 627 } // namespace content |
| 628 | 628 |
| 629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ | 629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ |
| OLD | NEW |