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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/gfx/native_widget_types.h" | 10 #include "base/gfx/native_widget_types.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 private: | 101 private: |
102 virtual void OnControlMessageReceived(const IPC::Message& msg); | 102 virtual void OnControlMessageReceived(const IPC::Message& msg); |
103 | 103 |
104 // Called by the thread base class | 104 // Called by the thread base class |
105 virtual void Init(); | 105 virtual void Init(); |
106 virtual void CleanUp(); | 106 virtual void CleanUp(); |
107 | 107 |
108 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); | 108 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); |
109 void OnUpdateUserScripts(base::SharedMemoryHandle table); | 109 void OnUpdateUserScripts(base::SharedMemoryHandle table); |
110 | |
111 void OnPluginMessage(const FilePath& plugin_path, | |
112 const std::vector<uint8>& data); | |
113 void OnSetNextPageID(int32 next_page_id); | 110 void OnSetNextPageID(int32 next_page_id); |
114 void OnCreateNewView(gfx::NativeViewId parent_hwnd, | 111 void OnCreateNewView(gfx::NativeViewId parent_hwnd, |
115 ModalDialogEvent modal_dialog_event, | 112 ModalDialogEvent modal_dialog_event, |
116 const WebPreferences& webkit_prefs, | 113 const WebPreferences& webkit_prefs, |
117 int32 view_id); | 114 int32 view_id); |
118 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 115 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
119 void OnSetCacheCapacities(size_t min_dead_capacity, | 116 void OnSetCacheCapacities(size_t min_dead_capacity, |
120 size_t max_dead_capacity, | 117 size_t max_dead_capacity, |
121 size_t capacity); | 118 size_t capacity); |
122 void OnGetCacheResourceStats(); | 119 void OnGetCacheResourceStats(); |
(...skipping 21 matching lines...) Expand all Loading... |
144 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > cache_stats_factory_; | 141 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > cache_stats_factory_; |
145 | 142 |
146 scoped_ptr<NotificationService> notification_service_; | 143 scoped_ptr<NotificationService> notification_service_; |
147 | 144 |
148 scoped_ptr<RendererWebKitClientImpl> webkit_client_; | 145 scoped_ptr<RendererWebKitClientImpl> webkit_client_; |
149 | 146 |
150 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 147 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
151 }; | 148 }; |
152 | 149 |
153 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 150 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |