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

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

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 years, 7 months 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_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 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <list> 11 #include <list>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/shared_memory.h" 17 #include "base/memory/shared_memory.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/sequenced_task_runner_helpers.h" 19 #include "base/sequenced_task_runner_helpers.h"
20 #include "base/strings/string16.h" 20 #include "base/strings/string16.h"
21 #include "build/build_config.h" 21 #include "build/build_config.h"
22 #include "cc/resources/shared_bitmap_manager.h" 22 #include "cc/resources/shared_bitmap_manager.h"
23 #include "components/display_compositor/host_shared_bitmap_manager.h" 23 #include "components/viz/display_compositor/host_shared_bitmap_manager.h"
24 #include "content/common/cache_storage/cache_storage_types.h" 24 #include "content/common/cache_storage/cache_storage_types.h"
25 #include "content/common/render_message_filter.mojom.h" 25 #include "content/common/render_message_filter.mojom.h"
26 #include "content/public/browser/browser_associated_interface.h" 26 #include "content/public/browser/browser_associated_interface.h"
27 #include "content/public/browser/browser_message_filter.h" 27 #include "content/public/browser/browser_message_filter.h"
28 #include "gpu/config/gpu_info.h" 28 #include "gpu/config/gpu_info.h"
29 #include "ipc/message_filter.h" 29 #include "ipc/message_filter.h"
30 #include "third_party/WebKit/public/web/WebPopupType.h" 30 #include "third_party/WebKit/public/web/WebPopupType.h"
31 #include "ui/gfx/geometry/rect.h" 31 #include "ui/gfx/geometry/rect.h"
32 #include "ui/gfx/gpu_memory_buffer.h" 32 #include "ui/gfx/gpu_memory_buffer.h"
33 #include "ui/gfx/native_widget_types.h" 33 #include "ui/gfx/native_widget_types.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 void OnMediaLogEvents(const std::vector<media::MediaLogEvent>&); 152 void OnMediaLogEvents(const std::vector<media::MediaLogEvent>&);
153 153
154 bool CheckBenchmarkingEnabled() const; 154 bool CheckBenchmarkingEnabled() const;
155 bool CheckPreparsedJsCachingEnabled() const; 155 bool CheckPreparsedJsCachingEnabled() const;
156 156
157 // Cached resource request dispatcher host, guaranteed to be non-null. We do 157 // Cached resource request dispatcher host, guaranteed to be non-null. We do
158 // not own it; it is managed by the BrowserProcess, which has a wider scope 158 // not own it; it is managed by the BrowserProcess, which has a wider scope
159 // than we do. 159 // than we do.
160 ResourceDispatcherHostImpl* resource_dispatcher_host_; 160 ResourceDispatcherHostImpl* resource_dispatcher_host_;
161 161
162 display_compositor::HostSharedBitmapManagerClient bitmap_manager_client_; 162 viz::HostSharedBitmapManagerClient bitmap_manager_client_;
163 163
164 // Contextual information to be used for requests created here. 164 // Contextual information to be used for requests created here.
165 scoped_refptr<net::URLRequestContextGetter> request_context_; 165 scoped_refptr<net::URLRequestContextGetter> request_context_;
166 166
167 // The ResourceContext which is to be used on the IO thread. 167 // The ResourceContext which is to be used on the IO thread.
168 ResourceContext* resource_context_; 168 ResourceContext* resource_context_;
169 169
170 scoped_refptr<RenderWidgetHelper> render_widget_helper_; 170 scoped_refptr<RenderWidgetHelper> render_widget_helper_;
171 171
172 scoped_refptr<DOMStorageContextWrapper> dom_storage_context_; 172 scoped_refptr<DOMStorageContextWrapper> dom_storage_context_;
173 173
174 int render_process_id_; 174 int render_process_id_;
175 175
176 MediaInternals* media_internals_; 176 MediaInternals* media_internals_;
177 CacheStorageContextImpl* cache_storage_context_; 177 CacheStorageContextImpl* cache_storage_context_;
178 178
179 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; 179 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_;
180 180
181 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); 181 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
182 }; 182 };
183 183
184 } // namespace content 184 } // namespace content
185 185
186 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 186 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698