Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginTabBase.h

Issue 6567422169448448: Issue 119 - Switch to injecting CSS for element hiding (Closed)
Patch Set: rebase Created Dec. 1, 2015, 11:29 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginTabBase.h
diff --git a/src/plugin/PluginTabBase.h b/src/plugin/PluginTabBase.h
index 33d6caedfa1355594cd37807dc367fa2fcc1e1f6..068805754353804c8847833cb8c7ce7fd8c579d5 100644
--- a/src/plugin/PluginTabBase.h
+++ b/src/plugin/PluginTabBase.h
@@ -1,20 +1,20 @@
-/*
- * This file is part of Adblock Plus <https://adblockplus.org/>,
- * Copyright (C) 2006-2015 Eyeo GmbH
- *
- * Adblock Plus is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
- * published by the Free Software Foundation.
- *
- * Adblock Plus is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
- */
-
+/*
+ * This file is part of Adblock Plus <https://adblockplus.org/>,
+ * Copyright (C) 2006-2015 Eyeo GmbH
+ *
+ * Adblock Plus is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 3 as
+ * published by the Free Software Foundation.
+ *
+ * Adblock Plus is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#ifndef _PLUGIN_TAB_BASE_H_
#define _PLUGIN_TAB_BASE_H_
@@ -59,6 +59,8 @@ private:
std::wstring m_cacheDomain;
void SetDocumentUrl(const std::wstring& url);
void InjectABP(IWebBrowser2* browser);
+ bool IsTraverserEnabled();
+ bool IsCSSInjectionEnabled();
public:
CPluginTabBase(CPluginClass* plugin);
@@ -83,14 +85,14 @@ public:
* This is the definition previously in AdblockPlusTab.h
* Defining this class during refactoring alleviates the need to rename CPluginTabBase in the first change set.
*/
-class CPluginTab : public CPluginTabBase
-{
-
-public:
- CPluginTab(CPluginClass* plugin) : CPluginTabBase(plugin) {};
- ~CPluginTab() {};
-};
-
+class CPluginTab : public CPluginTabBase
+{
+
+public:
+ CPluginTab(CPluginClass* plugin) : CPluginTabBase(plugin) {};
+ ~CPluginTab() {};
+};
+
#endif // _PLUGIN_TAB_BASE_H_
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginTabBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld