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

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

Issue 11013110: Cleanup (Closed)
Left Patch Set: More refactoring. Removing main thread, tab counting. Implementing SetPref and GetPref. Addressing … Created July 9, 2013, 12:59 p.m.
Right Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/PluginSystem.cpp ('k') | src/plugin/PluginTabBase.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
(no file at all)
1 #ifndef _PLUGIN_TAB_BASE_H_ 1 #ifndef _PLUGIN_TAB_BASE_H_
2 #define _PLUGIN_TAB_BASE_H_ 2 #define _PLUGIN_TAB_BASE_H_
3 3
4 4
5 #ifdef SUPPORT_DOM_TRAVERSER 5 #ifdef SUPPORT_DOM_TRAVERSER
6 class CPluginDomTraverser; 6 class CPluginDomTraverser;
7 #endif 7 #endif
8 8
9 #include "PluginUserSettings.h" 9 #include "PluginUserSettings.h"
10 #include "PluginFilter.h" 10 #include "PluginFilter.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 public: 64 public:
65 65
66 CPluginTabBase(CPluginClass* plugin); 66 CPluginTabBase(CPluginClass* plugin);
67 ~CPluginTabBase(); 67 ~CPluginTabBase();
68 68
69 CString GetDocumentDomain(); 69 CString GetDocumentDomain();
70 CString GetDocumentUrl(); 70 CString GetDocumentUrl();
71 71
72 virtual void OnActivate(); 72 virtual void OnActivate();
73 virtual void OnUpdate(); 73 virtual void OnUpdate();
74 virtual bool OnUpdateSettings(bool forceUpdate);
75 virtual bool OnUpdateConfig();
76 virtual void OnNavigate(const CString& url); 74 virtual void OnNavigate(const CString& url);
77 virtual void OnDownloadComplete(IWebBrowser2* browser); 75 virtual void OnDownloadComplete(IWebBrowser2* browser);
78 virtual void OnDocumentComplete(IWebBrowser2* browser, const CString& url, boo l isDocumentBrowser); 76 virtual void OnDocumentComplete(IWebBrowser2* browser, const CString& url, boo l isDocumentBrowser);
79 77
80 static DWORD WINAPI TabThreadProc(LPVOID pParam); 78 static DWORD WINAPI TabThreadProc(LPVOID pParam);
81 79
82 #ifdef SUPPORT_FRAME_CACHING 80 #ifdef SUPPORT_FRAME_CACHING
83 void CacheFrame(const CString& url); 81 void CacheFrame(const CString& url);
84 bool IsFrameCached(const CString& url); 82 bool IsFrameCached(const CString& url);
85 void ClearFrameCache(const CString& domain=""); 83 void ClearFrameCache(const CString& domain="");
86 #endif 84 #endif
87 85
88 }; 86 };
89 87
90 88
91 #endif // _PLUGIN_TAB_BASE_H_ 89 #endif // _PLUGIN_TAB_BASE_H_
LEFTRIGHT

Powered by Google App Engine
This is Rietveld