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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/url_data_source.cc ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "ipc/ipc_message.h" 12 #include "ipc/ipc_message.h"
13 #include "content/public/common/content_client.h" 13 #include "content/public/common/content_client.h"
14 #include "content/public/common/page_transition_types.h" 14 #include "content/public/common/page_transition_types.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h " 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h "
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationType.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h"
18 #include "v8/include/v8.h" 18 #include "v8/include/v8.h"
19 19
20 class GURL; 20 class GURL;
21 class MessageLoop;
22 class SkBitmap; 21 class SkBitmap;
23 22
24 namespace base { 23 namespace base {
25 class FilePath; 24 class FilePath;
25 class MessageLoop;
26 } 26 }
27 27
28 namespace WebKit { 28 namespace WebKit {
29 class WebClipboard; 29 class WebClipboard;
30 class WebFrame; 30 class WebFrame;
31 class WebHyphenator; 31 class WebHyphenator;
32 class WebMediaPlayerClient; 32 class WebMediaPlayerClient;
33 class WebMediaStreamCenter; 33 class WebMediaStreamCenter;
34 class WebMediaStreamCenterClient; 34 class WebMediaStreamCenterClient;
35 class WebMimeRegistry; 35 class WebMimeRegistry;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 virtual void RegisterPPAPIInterfaceFactories( 225 virtual void RegisterPPAPIInterfaceFactories(
226 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {} 226 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {}
227 227
228 // Returns whether BrowserPlugin should be allowed within the |container|. 228 // Returns whether BrowserPlugin should be allowed within the |container|.
229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; 229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const;
230 230
231 // Allow the embedder to specify a different renderer compositor MessageLoop. 231 // Allow the embedder to specify a different renderer compositor MessageLoop.
232 // If not NULL, the returned MessageLoop must be valid for the lifetime of 232 // If not NULL, the returned MessageLoop must be valid for the lifetime of
233 // RenderThreadImpl. If NULL, then a new thread will be created. 233 // RenderThreadImpl. If NULL, then a new thread will be created.
234 virtual MessageLoop* OverrideCompositorMessageLoop() const; 234 virtual base::MessageLoop* OverrideCompositorMessageLoop() const;
235 235
236 // Allow the embedder to disable input event filtering by the compositor. 236 // Allow the embedder to disable input event filtering by the compositor.
237 virtual bool ShouldCreateCompositorInputHandler() const; 237 virtual bool ShouldCreateCompositorInputHandler() const;
238 }; 238 };
239 239
240 } // namespace content 240 } // namespace content
241 241
242 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 242 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/url_data_source.cc ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698