Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsIMEPicker.h"
6 #include "AndroidBridge.h"
8 using namespace mozilla;
10 NS_IMPL_ISUPPORTS(nsIMEPicker, nsIIMEPicker)
12 nsIMEPicker::nsIMEPicker()
13 {
14 /* member initializers and constructor code */
15 }
17 nsIMEPicker::~nsIMEPicker()
18 {
19 /* destructor code */
20 }
22 /* void show (); */
23 NS_IMETHODIMP nsIMEPicker::Show()
24 {
25 mozilla::widget::android::GeckoAppShell::ShowInputMethodPicker();
26 return NS_OK;
27 }