| OLD | NEW |
| 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 "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "base/task.h" | 10 #include "base/task.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 // Indicates if RenderThread::Send() is on the call stack. | 87 // Indicates if RenderThread::Send() is on the call stack. |
| 88 virtual bool InSend() const { return in_send_ != 0; } | 88 virtual bool InSend() const { return in_send_ != 0; } |
| 89 | 89 |
| 90 protected: | 90 protected: |
| 91 // Called by the thread base class | 91 // Called by the thread base class |
| 92 virtual void Init(); | 92 virtual void Init(); |
| 93 virtual void CleanUp(); | 93 virtual void CleanUp(); |
| 94 | 94 |
| 95 private: | 95 private: |
| 96 void OnUpdateVisitedLinks(SharedMemoryHandle table); | 96 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); |
| 97 void OnUpdateGreasemonkeyScripts(SharedMemoryHandle table); | 97 void OnUpdateGreasemonkeyScripts(base::SharedMemoryHandle table); |
| 98 | 98 |
| 99 void OnPluginMessage(const std::wstring& dll_path, | 99 void OnPluginMessage(const std::wstring& dll_path, |
| 100 const std::vector<uint8>& data); | 100 const std::vector<uint8>& data); |
| 101 void OnSetNextPageID(int32 next_page_id); | 101 void OnSetNextPageID(int32 next_page_id); |
| 102 void OnCreateNewView(HWND parent_hwnd, | 102 void OnCreateNewView(HWND parent_hwnd, |
| 103 HANDLE modal_dialog_event, | 103 HANDLE modal_dialog_event, |
| 104 const WebPreferences& webkit_prefs, | 104 const WebPreferences& webkit_prefs, |
| 105 int32 view_id); | 105 int32 view_id); |
| 106 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 106 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
| 107 void OnSetCacheCapacities(size_t min_dead_capacity, | 107 void OnSetCacheCapacities(size_t min_dead_capacity, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 134 | 134 |
| 135 scoped_ptr<NotificationService> notification_service_; | 135 scoped_ptr<NotificationService> notification_service_; |
| 136 | 136 |
| 137 int in_send_; | 137 int in_send_; |
| 138 | 138 |
| 139 DISALLOW_EVIL_CONSTRUCTORS(RenderThread); | 139 DISALLOW_EVIL_CONSTRUCTORS(RenderThread); |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 #endif // CHROME_RENDERER_RENDER_THREAD_H__ | 142 #endif // CHROME_RENDERER_RENDER_THREAD_H__ |
| 143 | 143 |
| OLD | NEW |