summaryrefslogtreecommitdiffstats
path: root/dom/ipc/TabContext.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2021-01-25 17:19:43 -0500
committerMatt A. Tobin <email@mattatobin.com>2021-01-25 17:38:49 -0500
commit7702d1f3fa94d77931a1fd76a7b8a3288f98ce60 (patch)
tree2390bda35f6b3bcdd31956b3e71cee66bae3b6c9 /dom/ipc/TabContext.h
parent1126548deecfd736755f1e1b7e7d551b42e73780 (diff)
downloadUXP-7702d1f3fa94d77931a1fd76a7b8a3288f98ce60.tar
UXP-7702d1f3fa94d77931a1fd76a7b8a3288f98ce60.tar.gz
UXP-7702d1f3fa94d77931a1fd76a7b8a3288f98ce60.tar.lz
UXP-7702d1f3fa94d77931a1fd76a7b8a3288f98ce60.tar.xz
UXP-7702d1f3fa94d77931a1fd76a7b8a3288f98ce60.zip
Issue #1390 - Clean up presentation api leftovers
Diffstat (limited to 'dom/ipc/TabContext.h')
-rw-r--r--dom/ipc/TabContext.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/dom/ipc/TabContext.h b/dom/ipc/TabContext.h
index 1507a0dc8..e0b6f0d96 100644
--- a/dom/ipc/TabContext.h
+++ b/dom/ipc/TabContext.h
@@ -125,12 +125,6 @@ public:
*/
const DocShellOriginAttributes& OriginAttributesRef() const;
- /**
- * Returns the presentation URL associated with the tab if this tab is
- * created for presented content
- */
- const nsAString& PresentationURL() const;
-
UIStateChangeType ShowAccelerators() const;
UIStateChangeType ShowFocusRings() const;
@@ -169,8 +163,7 @@ protected:
mozIApplication* aAppFrameOwnerApp,
UIStateChangeType aShowAccelerators,
UIStateChangeType aShowFocusRings,
- const DocShellOriginAttributes& aOriginAttributes,
- const nsAString& aPresentationURL);
+ const DocShellOriginAttributes& aOriginAttributes);
/**
* Modify this TabContext to match the given TabContext. This is a special
@@ -226,11 +219,6 @@ private:
DocShellOriginAttributes mOriginAttributes;
/**
- * The requested presentation URL.
- */
- nsString mPresentationURL;
-
- /**
* Keyboard indicator state (focus rings, accelerators).
*/
UIStateChangeType mShowAccelerators;
@@ -257,8 +245,7 @@ public:
mozIApplication* aAppFrameOwnerApp,
UIStateChangeType aShowAccelerators,
UIStateChangeType aShowFocusRings,
- const DocShellOriginAttributes& aOriginAttributes,
- const nsAString& aPresentationURL = EmptyString())
+ const DocShellOriginAttributes& aOriginAttributes)
{
return TabContext::SetTabContext(aIsMozBrowserElement,
aIsPrerendered,
@@ -266,8 +253,7 @@ public:
aAppFrameOwnerApp,
aShowAccelerators,
aShowFocusRings,
- aOriginAttributes,
- aPresentationURL);
+ aOriginAttributes);
}
};