19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_SPLIT_HTML_HELPER_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_SPLIT_HTML_HELPER_FILTER_H_
22 #include "base/logging.h"
28 namespace net_instaweb {
32 class SplitHtmlConfig;
48 virtual void DetermineEnabled(GoogleString* disabled_reason);
51 virtual void EndDocument();
53 virtual void StartElementImpl(HtmlElement* element);
54 virtual void EndElementImpl(HtmlElement* element);
56 const HtmlElement* current_panel_element()
const {
57 return current_panel_element_;
60 void set_current_panel_element(
const HtmlElement* element) {
61 DCHECK(element == NULL || current_panel_element_ == NULL);
62 current_panel_element_ = element;
65 virtual const char* Name()
const {
return "SplitHtmlHelperFilter"; }
69 void EndPanelInstance();
72 void StartPanelInstance(HtmlElement* element,
const GoogleString& panelid);
76 scoped_ptr<SplitHtmlState> state_;
80 const HtmlElement* current_panel_element_;
virtual void StartDocumentImpl()
Definition: common_filter.h:48
Definition: split_html_config.h:50
Definition: rewrite_driver.h:98
Definition: split_html_helper_filter.h:43