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_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
10 #include <windows.h> | 10 #include <windows.h> |
11 #endif | 11 #endif |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/file_path.h" | 16 #include "base/file_path.h" |
17 #include "base/memory/linked_ptr.h" | 17 #include "base/memory/linked_ptr.h" |
18 #include "base/message_loop_helpers.h" | 18 #include "base/message_loop_helpers.h" |
19 #include "base/shared_memory.h" | 19 #include "base/shared_memory.h" |
20 #include "base/string16.h" | 20 #include "base/string16.h" |
21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
22 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | 22 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" |
23 #include "content/public/browser/browser_message_filter.h" | 23 #include "content/public/browser/browser_message_filter.h" |
24 #include "media/base/channel_layout.h" | 24 #include "media/base/channel_layout.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
26 #include "ui/gfx/native_widget_types.h" | 26 #include "ui/gfx/native_widget_types.h" |
27 #include "ui/gfx/surface/transport_dib.h" | 27 #include "ui/surface/transport_dib.h" |
28 | 28 |
29 #if defined(OS_MACOSX) | 29 #if defined(OS_MACOSX) |
30 #include "content/common/mac/font_loader.h" | 30 #include "content/common/mac/font_loader.h" |
31 #endif | 31 #endif |
32 | 32 |
33 class DOMStorageContextImpl; | 33 class DOMStorageContextImpl; |
34 class PluginServiceImpl; | 34 class PluginServiceImpl; |
35 class RenderWidgetHelper; | 35 class RenderWidgetHelper; |
36 struct FontDescriptor; | 36 struct FontDescriptor; |
37 struct ViewHostMsg_CreateWindow_Params; | 37 struct ViewHostMsg_CreateWindow_Params; |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 int cpu_usage_; | 271 int cpu_usage_; |
272 // Used for sampling CPU usage of the renderer process. | 272 // Used for sampling CPU usage of the renderer process. |
273 scoped_ptr<base::ProcessMetrics> process_metrics_; | 273 scoped_ptr<base::ProcessMetrics> process_metrics_; |
274 | 274 |
275 content::MediaObserver* media_observer_; | 275 content::MediaObserver* media_observer_; |
276 | 276 |
277 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 277 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
278 }; | 278 }; |
279 | 279 |
280 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 280 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |