summaryrefslogtreecommitdiff
path: root/indra/newview/llmediactrl.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-17 12:16:07 -0700
committerRichard Linden <none@none>2010-09-17 12:16:07 -0700
commitf3cdc9b01deb6c789d909b39914d11a6184946cd (patch)
treef8eb19badaee0f27ef48a9624464d964faa4ebbf /indra/newview/llmediactrl.h
parente66585aa4fce98d4e58656cadfdbb65b3d808cfa (diff)
allow_popups is now driven by trusted content flag
trusted content is now a const attribute of LLMediaCtrl, set in constructor params
Diffstat (limited to 'indra/newview/llmediactrl.h')
-rw-r--r--indra/newview/llmediactrl.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llmediactrl.h b/indra/newview/llmediactrl.h
index dc18a1130e..f010e5f4c8 100644
--- a/indra/newview/llmediactrl.h
+++ b/indra/newview/llmediactrl.h
@@ -52,7 +52,7 @@ public:
ignore_ui_scale,
hide_loading,
decouple_texture_size,
- always_allow_popups;
+ trusted_content;
Optional<S32> texture_width,
texture_height;
@@ -105,8 +105,6 @@ public:
// Javascript or some other mechanism. However, we need the search
// floater and login page to handle these URLs. Those are safe
// because we control the page content. See DEV-9530. JC.
- void setTrusted( bool valIn );
-
void setHomePageUrl( const std::string& urlIn, const std::string& mime_type = LLStringUtil::null );
std::string getHomePageUrl();
@@ -177,7 +175,7 @@ public:
LLViewBorder* mBorder;
bool mFrequentUpdates;
bool mForceUpdate;
- bool mTrusted;
+ const bool mTrusted;
std::string mHomePageUrl;
std::string mHomePageMimeType;
std::string mCurrentNavUrl;
@@ -194,7 +192,6 @@ public:
S32 mTextureWidth;
S32 mTextureHeight;
bool mClearCache;
- bool mAlwaysAllowPopups;
boost::shared_ptr<class LLNotification> mCurNotification;
};