| 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_GPU_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 void BeginFrameSubscriptionInternal( | 74 void BeginFrameSubscriptionInternal( |
| 75 linked_ptr<FrameSubscription> subscription); | 75 linked_ptr<FrameSubscription> subscription); |
| 76 void EndFrameSubscriptionInternal( | 76 void EndFrameSubscriptionInternal( |
| 77 linked_ptr<FrameSubscription> subscription); | 77 linked_ptr<FrameSubscription> subscription); |
| 78 | 78 |
| 79 int gpu_process_id_; | 79 int gpu_process_id_; |
| 80 int render_process_id_; | 80 int render_process_id_; |
| 81 | 81 |
| 82 scoped_refptr<RenderWidgetHelper> render_widget_helper_; | 82 scoped_refptr<RenderWidgetHelper> render_widget_helper_; |
| 83 | 83 |
| 84 base::WeakPtrFactory<GpuMessageFilter> weak_ptr_factory_; | |
| 85 | |
| 86 typedef std::vector<linked_ptr<FrameSubscription> > FrameSubscriptionList; | 84 typedef std::vector<linked_ptr<FrameSubscription> > FrameSubscriptionList; |
| 87 FrameSubscriptionList frame_subscription_list_; | 85 FrameSubscriptionList frame_subscription_list_; |
| 88 | 86 |
| 87 base::WeakPtrFactory<GpuMessageFilter> weak_ptr_factory_; |
| 88 |
| 89 DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter); | 89 DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace content | 92 } // namespace content |
| 93 | 93 |
| 94 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ | 94 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ |
| OLD | NEW |