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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 8403024: Set extension-related webkit preferences in a common location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 virtual net::NetLog* GetNetLog() = 0; 290 virtual net::NetLog* GetNetLog() = 0;
291 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; 291 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0;
292 292
293 // Creates a new AccessTokenStore for gelocation. 293 // Creates a new AccessTokenStore for gelocation.
294 virtual AccessTokenStore* CreateAccessTokenStore() = 0; 294 virtual AccessTokenStore* CreateAccessTokenStore() = 0;
295 295
296 // Returns true if fast shutdown is possible. 296 // Returns true if fast shutdown is possible.
297 virtual bool IsFastShutdownPossible() = 0; 297 virtual bool IsFastShutdownPossible() = 0;
298 298
299 // Returns the WebKit preferences that are used by the renderer. 299 // Returns the WebKit preferences that are used by the renderer.
300 virtual WebPreferences GetWebkitPrefs(BrowserContext* browser_context, 300 // TODO(aa): Can is_web_ui be derived from just render_view_host? If so, it
301 // can be removed.
302 virtual WebPreferences GetWebkitPrefs(RenderViewHost* render_view_host,
301 bool is_web_ui) = 0; 303 bool is_web_ui) = 0;
302 304
303 // Inspector setting was changed and should be persisted. 305 // Inspector setting was changed and should be persisted.
304 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 306 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
305 const std::string& key, 307 const std::string& key,
306 const std::string& value) = 0; 308 const std::string& value) = 0;
307 309
308 // Clear the Inspector settings. 310 // Clear the Inspector settings.
309 virtual void ClearInspectorSettings(RenderViewHost* rvh) = 0; 311 virtual void ClearInspectorSettings(RenderViewHost* rvh) = 0;
310 312
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // This is called on a worker thread. 344 // This is called on a worker thread.
343 virtual 345 virtual
344 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 346 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
345 const GURL& url) = 0; 347 const GURL& url) = 0;
346 #endif 348 #endif
347 }; 349 };
348 350
349 } // namespace content 351 } // namespace content
350 352
351 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 353 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« content/browser/tab_contents/tab_contents.cc ('K') | « content/browser/tab_contents/tab_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698