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

Side by Side Diff: chrome/renderer/render_thread.h

Issue 21272: janitorial: browser_render_process_host header/lint cleanup. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « chrome/renderer/render_process.h ('k') | chrome/renderer/render_thread.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_RENDERER_RENDER_THREAD_H_ 5 #ifndef CHROME_RENDERER_RENDER_THREAD_H_
6 #define CHROME_RENDERER_RENDER_THREAD_H_ 6 #define CHROME_RENDERER_RENDER_THREAD_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_path.h"
11 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
12 #include "base/ref_counted.h"
13 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
14 #include "base/task.h" 12 #include "base/task.h"
15 #include "base/thread.h" 13 #include "base/thread.h"
16 #include "build/build_config.h" 14 #include "build/build_config.h"
17 #include "chrome/common/ipc_sync_channel.h" 15 #include "chrome/common/ipc_sync_channel.h"
18 #include "chrome/common/message_router.h" 16 #include "chrome/common/message_router.h"
19 #include "chrome/common/modal_dialog_event.h"
20 17
18 class FilePath;
19 class NotificationService;
20 class RenderDnsMaster;
21 class SkBitmap; 21 class SkBitmap;
22 class UserScriptSlave;
22 class VisitedLinkSlave; 23 class VisitedLinkSlave;
24 struct ModalDialogEvent;
23 struct WebPreferences; 25 struct WebPreferences;
24 class RenderDnsMaster;
25 class NotificationService;
26 class UserScriptSlave;
27 26
28 // The RenderThreadBase is the minimal interface that a RenderView/Widget 27 // The RenderThreadBase is the minimal interface that a RenderView/Widget
29 // expects from a render thread. The interface basically abstracts a way to send 28 // expects from a render thread. The interface basically abstracts a way to send
30 // and receive messages. 29 // and receive messages.
31 class RenderThreadBase : public IPC::Message::Sender { 30 class RenderThreadBase : public IPC::Message::Sender {
32 public: 31 public:
33 virtual ~RenderThreadBase() {} 32 virtual ~RenderThreadBase() {}
34 33
35 // True if currently sending a message. 34 // True if currently sending a message.
36 virtual bool InSend() const = 0; 35 virtual bool InSend() const = 0;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 int in_send_; 142 int in_send_;
144 143
145 DISALLOW_COPY_AND_ASSIGN(RenderThread); 144 DISALLOW_COPY_AND_ASSIGN(RenderThread);
146 }; 145 };
147 146
148 // The global RenderThread object for this process. Note that this should only 147 // The global RenderThread object for this process. Note that this should only
149 // be accessed when running on the render thread itself. 148 // be accessed when running on the render thread itself.
150 extern RenderThread* g_render_thread; 149 extern RenderThread* g_render_thread;
151 150
152 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 151 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_process.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698