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

Delta Between Two Patch Sets: src/plugin/PluginSettings.h

Issue 11369200: Disable everywhere fix (Closed)
Left Patch Set: Created Aug. 13, 2013, 2:18 p.m.
Right Patch Set: TogglePluginEnabled transfered to engine Created Aug. 20, 2013, 7:34 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/AdblockPlusClient.cpp ('k') | src/plugin/PluginSettings.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /** 1 /**
2 * This class contains all client functionality of the IE plugin 2 * This class contains all client functionality of the IE plugin
3 * 3 *
4 * Exception errors are tested by calls to ExceptionsTest from: Main ... 4 * Exception errors are tested by calls to ExceptionsTest from: Main ...
5 */ 5 */
6 6
7 #ifndef _PLUGIN_SETTINGS_H_ 7 #ifndef _PLUGIN_SETTINGS_H_
8 #define _PLUGIN_SETTINGS_H_ 8 #define _PLUGIN_SETTINGS_H_
9 9
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void SetWorkingThreadId(); 83 void SetWorkingThreadId();
84 void SetWorkingThreadId(DWORD id); 84 void SetWorkingThreadId(DWORD id);
85 bool IsWorkingThread(DWORD dwThread=0) const; 85 bool IsWorkingThread(DWORD dwThread=0) const;
86 86
87 static CString GetSystemLanguage(); 87 static CString GetSystemLanguage();
88 DWORD m_WindowsBuildNumber; 88 DWORD m_WindowsBuildNumber;
89 89
90 public: 90 public:
91 91
92 void TogglePluginEnabled(); 92 void TogglePluginEnabled();
93 void SetPluginDisabled();
94 void SetPluginEnabled();
95 bool GetPluginEnabled() const; 93 bool GetPluginEnabled() const;
96 94
97 void AddError(const CString& error, const CString& errorCode); 95 void AddError(const CString& error, const CString& errorCode);
98 96
99 // Settings whitelist 97 // Settings whitelist
100 #ifdef SUPPORT_WHITELIST 98 #ifdef SUPPORT_WHITELIST
101 99
102 private: 100 private:
103 std::vector<std::wstring> m_whitelistedDomains; 101 std::vector<std::wstring> m_whitelistedDomains;
104 102
(...skipping 13 matching lines...) Expand all
118 void SetSubscription(const std::wstring& url); 116 void SetSubscription(const std::wstring& url);
119 void SetDefaultSubscription(); 117 void SetDefaultSubscription();
120 CString GetSubscription(); 118 CString GetSubscription();
121 CString GetAppLocale(); 119 CString GetAppLocale();
122 CString GetDocumentationLink(); 120 CString GetDocumentationLink();
123 std::vector<SubscriptionDescription> m_subscriptions; 121 std::vector<SubscriptionDescription> m_subscriptions;
124 }; 122 };
125 123
126 124
127 #endif // _PLUGIN_SETTINGS_H_ 125 #endif // _PLUGIN_SETTINGS_H_
LEFTRIGHT

Powered by Google App Engine
This is Rietveld