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

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

Issue 225009: Implementing chrome.i18n.getMessage call, that loads message from the extensi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void Init(); 133 void Init();
134 134
135 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); 135 void OnUpdateVisitedLinks(base::SharedMemoryHandle table);
136 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); 136 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints);
137 void OnResetVisitedLinks(); 137 void OnResetVisitedLinks();
138 138
139 void OnUpdateUserScripts(base::SharedMemoryHandle table); 139 void OnUpdateUserScripts(base::SharedMemoryHandle table);
140 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); 140 void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
141 void OnPageActionsUpdated(const std::string& extension_id, 141 void OnPageActionsUpdated(const std::string& extension_id,
142 const std::vector<std::string>& page_actions); 142 const std::vector<std::string>& page_actions);
143 void OnExtensionSetAPIPermissions(const std::string& extension_id, 143 void OnExtensionSetAPIPermissions(
144 const std::vector<std::string>& permissions) ; 144 const std::string& extension_id,
145 void OnExtensionSetHostPermissions(const GURL& extension_url, 145 const std::vector<std::string>& permissions);
146 const std::vector<URLPattern>& permissions) ; 146 void OnExtensionSetHostPermissions(
147 const GURL& extension_url,
148 const std::vector<URLPattern>& permissions);
149 void OnExtensionSetL10nMessages(
150 const std::string& extension_id,
151 const std::map<std::string, std::string>& l10n_messages);
147 void OnSetNextPageID(int32 next_page_id); 152 void OnSetNextPageID(int32 next_page_id);
148 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors); 153 void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors);
149 void OnCreateNewView(gfx::NativeViewId parent_hwnd, 154 void OnCreateNewView(gfx::NativeViewId parent_hwnd,
150 ModalDialogEvent modal_dialog_event, 155 ModalDialogEvent modal_dialog_event,
151 const RendererPreferences& renderer_prefs, 156 const RendererPreferences& renderer_prefs,
152 const WebPreferences& webkit_prefs, 157 const WebPreferences& webkit_prefs,
153 int32 view_id); 158 int32 view_id);
154 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 159 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
155 void OnSetCacheCapacities(size_t min_dead_capacity, 160 void OnSetCacheCapacities(size_t min_dead_capacity,
156 size_t max_dead_capacity, 161 size_t max_dead_capacity,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // The count of hidden RenderWidgets running through this thread. 209 // The count of hidden RenderWidgets running through this thread.
205 int hidden_widget_count_; 210 int hidden_widget_count_;
206 211
207 // The current value of the idle notification timer delay. 212 // The current value of the idle notification timer delay.
208 double idle_notification_delay_in_s_; 213 double idle_notification_delay_in_s_;
209 214
210 DISALLOW_COPY_AND_ASSIGN(RenderThread); 215 DISALLOW_COPY_AND_ASSIGN(RenderThread);
211 }; 216 };
212 217
213 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 218 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698