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

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

Issue 42680: Add more of the server-side plumbing for extension APIs. Also (Closed)
Patch Set: Introduce SyncExtensionFunction Created 11 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
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/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
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 void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
110 void OnSetNextPageID(int32 next_page_id); 111 void OnSetNextPageID(int32 next_page_id);
111 void OnCreateNewView(gfx::NativeViewId parent_hwnd, 112 void OnCreateNewView(gfx::NativeViewId parent_hwnd,
112 ModalDialogEvent modal_dialog_event, 113 ModalDialogEvent modal_dialog_event,
113 const WebPreferences& webkit_prefs, 114 const WebPreferences& webkit_prefs,
114 int32 view_id); 115 int32 view_id);
115 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 116 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
116 void OnSetCacheCapacities(size_t min_dead_capacity, 117 void OnSetCacheCapacities(size_t min_dead_capacity,
117 size_t max_dead_capacity, 118 size_t max_dead_capacity,
118 size_t capacity); 119 size_t capacity);
119 void OnGetCacheResourceStats(); 120 void OnGetCacheResourceStats();
(...skipping 21 matching lines...) Expand all
141 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > cache_stats_factory_; 142 scoped_ptr<ScopedRunnableMethodFactory<RenderThread> > cache_stats_factory_;
142 143
143 scoped_ptr<NotificationService> notification_service_; 144 scoped_ptr<NotificationService> notification_service_;
144 145
145 scoped_ptr<RendererWebKitClientImpl> webkit_client_; 146 scoped_ptr<RendererWebKitClientImpl> webkit_client_;
146 147
147 DISALLOW_COPY_AND_ASSIGN(RenderThread); 148 DISALLOW_COPY_AND_ASSIGN(RenderThread);
148 }; 149 };
149 150
150 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 151 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698