Clean-up CSP, allow-navigation feature
authorJihoon Chung <jihoon.chung@samsung.com>
Sun, 28 Apr 2013 05:05:05 +0000 (14:05 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Sun, 28 Apr 2013 05:13:35 +0000 (14:13 +0900)
[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] Clean-up CSP, allow-navigation feature
[SCMRequest] N/A

Change-Id: I25ad7b03a17a64eec724c736632d4f1a53205c2e

src/configuration_parser/widget_parser.cpp

index 0c054e2..983d64b 100644 (file)
@@ -2434,8 +2434,10 @@ WidgetParser::WidgetParser(ConfigParserData& data) :
             &WidgetParser::
                 OnCspReportOnlyElement);
 #endif
+#ifdef ALLOW_NAVIGATION_ENABLED
     m_map[L"allow-navigation"] =
         DPL::MakeDelegate(this, &WidgetParser::OnAllowNavigationElement);
+#endif
     m_map[L"account"] = DPL::MakeDelegate(this, &WidgetParser::OnAccountElement);
 }