Home | History | Annotate | Download | only in extensions

Lines Matching refs:UserScript

47       current_location_(UserScript::UNDEFINED),
50 for (int i = UserScript::UNDEFINED; i < UserScript::RUN_LOCATION_LAST; ++i) {
51 pending_execution_map_[static_cast<UserScript::RunLocation>(i)] =
61 UserScript::RunLocation run_at =
62 static_cast<UserScript::RunLocation>(params.run_at);
74 current_location_ = UserScript::DOCUMENT_START;
79 current_location_ = UserScript::DOCUMENT_END;
89 current_location_ = UserScript::DOCUMENT_IDLE;
99 current_location_ = UserScript::UNDEFINED;
102 std::map<UserScript::RunLocation, ExecutionQueue>::iterator itr =
112 current_location_ = UserScript::DOCUMENT_IDLE;
117 if (current_location_ == UserScript::UNDEFINED)
120 if (!has_run_idle_ && current_location_ == UserScript::DOCUMENT_IDLE) {
123 frame_, UserScript::DOCUMENT_IDLE);
127 for (int i = UserScript::DOCUMENT_START;
129 UserScript::RunLocation run_time = static_cast<UserScript::RunLocation>(i);