| Index: chrome/browser/tab_contents/tab_contents.h
|
| diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
|
| index e974f8e8bcf8e77b0d9786ddc30d104ef0c833bf..8c78225497bdfc6de8b46a4847dd3f75ff2af7b4 100644
|
| --- a/chrome/browser/tab_contents/tab_contents.h
|
| +++ b/chrome/browser/tab_contents/tab_contents.h
|
| @@ -33,6 +33,7 @@
|
| #include "chrome/common/notification_registrar.h"
|
| #include "chrome/common/page_action.h"
|
| #include "chrome/common/property_bag.h"
|
| +#include "chrome/common/renderer_preferences.h"
|
| #include "net/base/load_states.h"
|
| #include "webkit/glue/password_form.h"
|
| #include "webkit/glue/webpreferences.h"
|
| @@ -564,6 +565,10 @@ class TabContents : public PageNavigator,
|
| return blocked_popups_;
|
| }
|
|
|
| + RendererPreferences* GetMutableRendererPrefs() {
|
| + return &renderer_preferences_;
|
| + }
|
| +
|
| private:
|
| friend class NavigationController;
|
| // Used to access the child_windows_ (ConstrainedWindowList) for testing
|
| @@ -1078,6 +1083,9 @@ class TabContents : public PageNavigator,
|
| // reset on navigations to false on navigations.
|
| bool suppress_javascript_messages_;
|
|
|
| + // Settings that get passed to the renderer process.
|
| + RendererPreferences renderer_preferences_;
|
| +
|
| // ---------------------------------------------------------------------------
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TabContents);
|
|
|