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

Side by Side Diff: src/plugin/PluginTabBase.h

Issue 29332455: Issue #1596, #1720 - Make status bar menu consistent with plugin abilities (Closed)
Patch Set: address comments Created Dec. 9, 2015, 12:50 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 std::wstring GetDocumentUrl(); 68 std::wstring GetDocumentUrl();
69 virtual void OnActivate(); 69 virtual void OnActivate();
70 virtual void OnUpdate(); 70 virtual void OnUpdate();
71 virtual void OnNavigate(const std::wstring& url); 71 virtual void OnNavigate(const std::wstring& url);
72 virtual void OnDownloadComplete(IWebBrowser2* browser); 72 virtual void OnDownloadComplete(IWebBrowser2* browser);
73 virtual void OnDocumentComplete(IWebBrowser2* browser, const std::wstring& url , bool isDocumentBrowser); 73 virtual void OnDocumentComplete(IWebBrowser2* browser, const std::wstring& url , bool isDocumentBrowser);
74 static DWORD WINAPI TabThreadProc(LPVOID pParam); 74 static DWORD WINAPI TabThreadProc(LPVOID pParam);
75 void CacheFrame(const std::wstring& url); 75 void CacheFrame(const std::wstring& url);
76 bool IsFrameCached(const std::wstring& url); 76 bool IsFrameCached(const std::wstring& url);
77 void ClearFrameCache(const std::wstring& domain=L""); 77 void ClearFrameCache(const std::wstring& domain=L"");
78 78 /**
79 * Is it possible to disable the current content of the present tab on a per-s ite basis?
80 */
81 bool IsPossibleToDisableOnSite();
79 }; 82 };
80 83
81 /** 84 /**
82 * Temporary class used during refactoring. 85 * Temporary class used during refactoring.
83 * This is the definition previously in AdblockPlusTab.h 86 * This is the definition previously in AdblockPlusTab.h
84 * Defining this class during refactoring alleviates the need to rename CPluginT abBase in the first change set. 87 * Defining this class during refactoring alleviates the need to rename CPluginT abBase in the first change set.
85 */ 88 */
86 class CPluginTab : public CPluginTabBase 89 class CPluginTab : public CPluginTabBase
87 { 90 {
88 91
89 public: 92 public:
90 CPluginTab(CPluginClass* plugin) : CPluginTabBase(plugin) {}; 93 CPluginTab(CPluginClass* plugin) : CPluginTabBase(plugin) {};
91 ~CPluginTab() {}; 94 ~CPluginTab() {};
92 }; 95 };
93 96
94 97
95 98
96 #endif // _PLUGIN_TAB_BASE_H_ 99 #endif // _PLUGIN_TAB_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld