"index.svg",
"index.xhtml",
"index.xht"};
-const char kWidgetEntryPagePattern[] = "index.*";
} // namespace
namespace application {
if (entry_point_used_ != AppMainKey) {
NativeAppWindow::CreateParams params;
params.net_wm_pid = launch_params.launcher_pid;
+ params.state = launch_params.window_state;
+
main_runtime_->AttachWindow(params);
}
base::FileEnumerator iter(application_data_->Path(), true,
base::FileEnumerator::FILES,
- FILE_PATH_LITERAL(kWidgetEntryPagePattern));
+ FILE_PATH_LITERAL("index.*"));
int priority = arraysize(kDefaultWidgetEntryPage);
for (base::FilePath file = iter.Next(); !file.empty(); file = iter.Next()) {
runtimes_.erase(runtime);
if (runtimes_.empty()) {
-#if defined(OS_TIZEN)
+#if defined(OS_TIZEN_MOBILE)
runtime->CloseRootWindow();
#endif
base::MessageLoop::current()->PostTask(FROM_HERE,