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

Side by Side Diff: Shared/PluginTabBase.cpp

Issue 9998007: Initial libadblockplus integration (Closed)
Patch Set: Created April 1, 2013, 9:55 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 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "PluginClient.h" 3 #include "PluginClient.h"
4 #include "PluginSettings.h" 4 #include "PluginSettings.h"
5 #include "PluginDictionary.h" 5 #include "PluginDictionary.h"
6 #ifdef SUPPORT_CONFIG 6 #ifdef SUPPORT_CONFIG
7 #include "PluginConfig.h" 7 #include "PluginConfig.h"
8 #endif 8 #endif
9 #include "PluginTab.h" 9 #include "PluginTab.h"
10 #include "PluginDomTraverser.h" 10 #include "PluginDomTraverser.h"
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 client->ClearWhiteListCache(); 405 client->ClearWhiteListCache();
406 isChanged = true; 406 isChanged = true;
407 } 407 }
408 #endif // SUPPORT_WHITELIST 408 #endif // SUPPORT_WHITELIST
409 409
410 #ifdef SUPPORT_FILTER 410 #ifdef SUPPORT_FILTER
411 int newFilterVersion = settings->GetTabVersion(SETTING_TAB_FILTER_VERSIO N); 411 int newFilterVersion = settings->GetTabVersion(SETTING_TAB_FILTER_VERSIO N);
412 if (s_filterVersion != newFilterVersion) 412 if (s_filterVersion != newFilterVersion)
413 { 413 {
414 s_filterVersion = newFilterVersion; 414 s_filterVersion = newFilterVersion;
415 client->ReadFilters(); 415 client->LoadFilters();
416 isChanged = true; 416 isChanged = true;
417 } 417 }
418 #endif 418 #endif
419 if (isChanged) 419 if (isChanged)
420 { 420 {
421 tab->m_plugin->UpdateStatusBar(); 421 tab->m_plugin->UpdateStatusBar();
422 } 422 }
423 423
424 tab->m_isActivated = false; 424 tab->m_isActivated = false;
425 } 425 }
(...skipping 14 matching lines...) Expand all
440 440
441 // Non-hanging sleep 441 // Non-hanging sleep
442 Sleep(50); 442 Sleep(50);
443 } 443 }
444 444
445 tabLoopIteration++; 445 tabLoopIteration++;
446 } 446 }
447 447
448 return 0; 448 return 0;
449 } 449 }
OLDNEW
« Shared/PluginSettings.cpp ('K') | « Shared/PluginStdAfx.h ('k') | Shared/abp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld